summaryrefslogtreecommitdiff
path: root/mail/exim-monitor
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-10-02 16:49:21 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-10-02 16:49:21 +0000
commite8b351b15e25c60437910d309a63d51ef1c4595c (patch)
tree9bef0fc94d596eaaa0da8a8473284295ef42e9c4 /mail/exim-monitor
parent- Mark BROKEN with MySQL 4.0 and older (diff)
Readd exim-monitor with fixed/completed plist.
Notes
Notes: svn path=/head/; revision=143998
Diffstat (limited to 'mail/exim-monitor')
-rw-r--r--mail/exim-monitor/Makefile22
-rw-r--r--mail/exim-monitor/distinfo2
-rw-r--r--mail/exim-monitor/files/patch-OS::Makefile-Base12
-rw-r--r--mail/exim-monitor/files/patch-OS::Makefile-FreeBSD10
-rw-r--r--mail/exim-monitor/files/patch-src::EDITME55
-rw-r--r--mail/exim-monitor/pkg-descr9
-rw-r--r--mail/exim-monitor/pkg-message10
-rw-r--r--mail/exim-monitor/pkg-plist6
8 files changed, 126 insertions, 0 deletions
diff --git a/mail/exim-monitor/Makefile b/mail/exim-monitor/Makefile
new file mode 100644
index 000000000000..b7ffd7ca62d3
--- /dev/null
+++ b/mail/exim-monitor/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: exim-monitor
+# Date created: 27 August 2001
+# Whom: sheldonh@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PKGNAMESUFFIX= -monitor
+
+COMMENT= The Exim monitor for the Exim MTA
+
+MASTERDIR= ${.CURDIR}/../exim
+PKGDIR= ${.CURDIR}
+
+EXIMON_ONLY= yes
+
+# This dependency is disabled, because it prevents package users from
+# using the exim-monitor package with any of the exim slave packages.
+#
+#RUN_DEPENDS= ${LOCALBASE}/sbin/exim:${PORTSDIR}/mail/exim
+
+.include "${MASTERDIR}/Makefile"
diff --git a/mail/exim-monitor/distinfo b/mail/exim-monitor/distinfo
new file mode 100644
index 000000000000..c6fe1dc3df0a
--- /dev/null
+++ b/mail/exim-monitor/distinfo
@@ -0,0 +1,2 @@
+MD5 (exim/exim-4.20.tar.bz2) = 90f9e876b60d00c0a5dd53ece7c85338
+SIZE (exim/exim-4.20.tar.bz2) = 1199048
diff --git a/mail/exim-monitor/files/patch-OS::Makefile-Base b/mail/exim-monitor/files/patch-OS::Makefile-Base
new file mode 100644
index 000000000000..9dc53c993786
--- /dev/null
+++ b/mail/exim-monitor/files/patch-OS::Makefile-Base
@@ -0,0 +1,12 @@
+--- OS/Makefile-Base.orig Wed Aug 15 13:09:05 2001
++++ OS/Makefile-Base Mon Aug 27 14:59:04 2001
+@@ -19,7 +19,8 @@
+ # up-to-date. Then the os-specific source files and the C configuration file
+ # are set up, and finally it goes to the main Exim target.
+
+-all: $(EDITME) checklocalmake Makefile os.h os.c config.h allexim
++all: $(EDITME) checklocalmake Makefile os.h os.c config.h buildpcre \
++ eximon.bin
+
+ checklocalmake:
+ @if $(SHELL) $(SCRIPTS)/newer $(EDITME)-$(OSTYPE) $(EDITME) || \
diff --git a/mail/exim-monitor/files/patch-OS::Makefile-FreeBSD b/mail/exim-monitor/files/patch-OS::Makefile-FreeBSD
new file mode 100644
index 000000000000..58f6355e13d8
--- /dev/null
+++ b/mail/exim-monitor/files/patch-OS::Makefile-FreeBSD
@@ -0,0 +1,10 @@
+--- OS/Makefile-FreeBSD.orig Mon Jun 11 12:04:05 2001
++++ OS/Makefile-FreeBSD Mon Jun 11 12:04:33 2001
+@@ -5,6 +5,7 @@
+ PORTOBJFORMAT!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout
+
+ CHOWN_COMMAND=/usr/sbin/chown
++STRIP_COMMAND=/usr/bin/strip
+
+ HAVE_SA_LEN=YES
+
diff --git a/mail/exim-monitor/files/patch-src::EDITME b/mail/exim-monitor/files/patch-src::EDITME
new file mode 100644
index 000000000000..0ee15f3d818a
--- /dev/null
+++ b/mail/exim-monitor/files/patch-src::EDITME
@@ -0,0 +1,55 @@
+--- src/EDITME.orig Mon Aug 27 14:35:47 2001
++++ src/EDITME Mon Aug 27 14:37:31 2001
+@@ -98,7 +98,7 @@
+ # /usr/local/sbin. The installation script will try to create this directory,
+ # and any superior directories, if they do not exist.
+
+-BIN_DIRECTORY=/usr/exim/bin
++BIN_DIRECTORY=XX_PREFIX_XX/sbin
+
+
+ #------------------------------------------------------------------------------
+@@ -113,7 +113,7 @@
+ # directories if they don't exist. It will also install a default run time
+ # configuration if this file does not exist.
+
+-CONFIGURE_FILE=/usr/exim/configure
++CONFIGURE_FILE=XX_PREFIX_XX/etc/exim/configure
+
+
+ #------------------------------------------------------------------------------
+@@ -126,14 +126,14 @@
+ # owner of a local mailbox.) Specifying these values as root is very strongly
+ # discouraged. These values are compiled into the binary.
+
+-EXIM_USER=
++EXIM_USER=mailnull
+
+ # If the setting of EXIM_USER is numeric (e.g. EXIM_USER=42), there must
+ # also be a setting of EXIM_GROUP. If, on the other hand, you use a name
+ # for EXIM_USER (e.g. EXIM_USER=exim), you don't need to set EXIM_GROUP unless
+ # you want to use a group other than the default group for the given user.
+
+-# EXIM_GROUP=
++EXIM_GROUP=mail
+
+ # Many sites define a user called "exim", with an appropriate default group,
+ # and use
+@@ -371,7 +373,7 @@
+ # %s. This will be replaced by one of the strings "main", "panic", or "reject"
+ # to form the final file names. Some installations may want something like this:
+
+-# LOG_FILE_PATH=/var/log/exim_%slog
++LOG_FILE_PATH=/var/log/exim/%slog
+
+ # which results in files with names /var/log/exim_mainlog, etc. The directory
+ # in which the log files are placed must exist; Exim does not try to create
+@@ -695,7 +705,7 @@
+ # (process id) to a file so that it can easily be identified. The path of the
+ # file can be specified here. Some installations may want something like this:
+
+-# PID_FILE_PATH=/var/lock/exim.pid
++PID_FILE_PATH=/var/run/exim.pid
+
+ # If PID_FILE_PATH is not defined, Exim writes a file in its spool directory
+ # using the name "exim-daemon.pid".
diff --git a/mail/exim-monitor/pkg-descr b/mail/exim-monitor/pkg-descr
new file mode 100644
index 000000000000..ca4b105b5039
--- /dev/null
+++ b/mail/exim-monitor/pkg-descr
@@ -0,0 +1,9 @@
+The Exim monitor (eximon) is a graphical user interface for the Exim
+mail transfer agent for Unix systems. Eximon is distributed as part
+of the standard Exim distribution, but its dependency on XFree86
+annoys many administrators.
+
+For this reason, it is available as its own package to allow
+administrators to easily install Exim without installing XFree86.
+
+WWW: http://www.exim.org/
diff --git a/mail/exim-monitor/pkg-message b/mail/exim-monitor/pkg-message
new file mode 100644
index 000000000000..0ca36d7e844d
--- /dev/null
+++ b/mail/exim-monitor/pkg-message
@@ -0,0 +1,10 @@
+
+Although the Exim monitor has been correctly installed, please note
+that it is useless without the Exim MTA. Install one of the Exim
+packages available, which include documentation for the Exim monitor:
+
+ exim
+ exim-ldap2
+ exim-mysql
+ exim-postgresql
+
diff --git a/mail/exim-monitor/pkg-plist b/mail/exim-monitor/pkg-plist
new file mode 100644
index 000000000000..d932da943256
--- /dev/null
+++ b/mail/exim-monitor/pkg-plist
@@ -0,0 +1,6 @@
+@unexec if cmp -s %D/etc/exim/configure %D/etc/exim/configure.default; then rm -f %D/etc/exim/configure; fi
+etc/exim/configure.default
+@exec [ -f %B/configure ] || cp %B/%f %B/configure
+@unexec rmdir %B 2>/dev/null || true
+sbin/eximon
+sbin/eximon.bin