aboutsummaryrefslogtreecommitdiff
path: root/security/amavisd-new
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2005-12-09 00:10:26 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2005-12-09 00:10:26 +0000
commit1cde2645528a0ea5415f26541ae8e659a98ffc3f (patch)
treeef08001d209471b1799bb1ef602a29903ccce873 /security/amavisd-new
parent51532541d3be6ec076bdce97a32a12481689c51a (diff)
downloadports-1cde2645528a0ea5415f26541ae8e659a98ffc3f.tar.gz
ports-1cde2645528a0ea5415f26541ae8e659a98ffc3f.zip
- Create /var/amavis/var directory at install time [1]
- Install the amavisd-release script [2] - Drop maintainership [3] PR: ports/89723 [1], ports/90047 [2] Submitted by: Mipam <root@relay3.ordina.nl> [1], Dave Smith <david.smith@omnieng.co.uk> [2], Blaz Zupan <blaz@si.FreeBSD.org> (maintainer, by private email) [3]
Notes
Notes: svn path=/head/; revision=150693
Diffstat (limited to 'security/amavisd-new')
-rw-r--r--security/amavisd-new/Makefile6
-rw-r--r--security/amavisd-new/files/pkg-install.in2
-rw-r--r--security/amavisd-new/pkg-plist1
3 files changed, 7 insertions, 2 deletions
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile
index 00a309867534..10fd854a1b01 100644
--- a/security/amavisd-new/Makefile
+++ b/security/amavisd-new/Makefile
@@ -8,6 +8,7 @@
PORTNAME= amavisd-new
PORTVERSION= 2.3.3
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= security
MASTER_SITES= http://www.ijs.si/software/amavisd/ \
@@ -15,7 +16,7 @@ MASTER_SITES= http://www.ijs.si/software/amavisd/ \
http://ftp.cfu.net/pub/amavisd-new/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/-p/}
-MAINTAINER= blaz@si.FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Performance-enhanced daemonized version of amavis-perl
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog \
@@ -116,7 +117,7 @@ RUN_DEPENDS+= ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap
.endif
post-patch:
- @for f in amavisd.conf amavisd.conf-sample amavisd amavisd-agent amavisd-nanny; do \
+ @for f in amavisd.conf amavisd.conf-sample amavisd amavisd-agent amavisd-nanny amavisd-release; do \
${SED} ${SED_SCRIPT} < ${WRKSRC}/$${f} > ${WRKDIR}/$${f}; \
done
@@ -133,6 +134,7 @@ do-install:
${INSTALL_SCRIPT} ${WRKDIR}/amavisd ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKDIR}/amavisd-agent ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKDIR}/amavisd-nanny ${PREFIX}/sbin
+ ${INSTALL_SCRIPT} ${WRKDIR}/amavisd-release ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKDIR}/amavisd.conf ${PREFIX}/etc/amavisd.conf-dist
.if !exists(${PREFIX}/etc/amavisd.conf)
${INSTALL_SCRIPT} ${WRKDIR}/amavisd.conf ${PREFIX}/etc
diff --git a/security/amavisd-new/files/pkg-install.in b/security/amavisd-new/files/pkg-install.in
index fedfae9bd4a4..198bbc327084 100644
--- a/security/amavisd-new/files/pkg-install.in
+++ b/security/amavisd-new/files/pkg-install.in
@@ -46,6 +46,8 @@ if [ "$2" = "PRE-INSTALL" ]; then
echo "Created \"${DIR}/db\" directory."
/usr/bin/install -o ${USER} -g ${GROUP} -m 750 -d ${DIR}/tmp
echo "Created \"${DIR}/tmp\" directory."
+ /usr/bin/install -o ${USER} -g ${GROUP} -m 750 -d ${DIR}/var
+ echo "Created \"${DIR}/var\" directory."
/usr/bin/install -o ${USER} -g ${GROUP} -m 750 -d ${QUARANTINE}
echo "Created \"${QUARANTINE}\" directory."
fi
diff --git a/security/amavisd-new/pkg-plist b/security/amavisd-new/pkg-plist
index 0ac24359ebcc..0591ce43efd6 100644
--- a/security/amavisd-new/pkg-plist
+++ b/security/amavisd-new/pkg-plist
@@ -38,3 +38,4 @@ etc/amavisd.conf-sample
sbin/amavisd
sbin/amavisd-agent
sbin/amavisd-nanny
+sbin/amavisd-release