aboutsummaryrefslogtreecommitdiff
path: root/security/amavisd
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-24 03:58:28 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-24 03:58:28 +0000
commit1b914533bbd3f384c2972c0dd9d7b53e2f86393e (patch)
tree6d7d4ca6ea3c6118194ac84685c35928913f3283 /security/amavisd
parente87962c04200debc12bfa32ba74138602547c6db (diff)
downloadports-1b914533bbd3f384c2972c0dd9d7b53e2f86393e.tar.gz
ports-1b914533bbd3f384c2972c0dd9d7b53e2f86393e.zip
Notes
Diffstat (limited to 'security/amavisd')
-rw-r--r--security/amavisd/Makefile7
-rw-r--r--security/amavisd/files/amavisd-milter.sh4
-rw-r--r--security/amavisd/files/amavisd.sh4
3 files changed, 8 insertions, 7 deletions
diff --git a/security/amavisd/Makefile b/security/amavisd/Makefile
index cb47f7c6af74..170ee9cffdd3 100644
--- a/security/amavisd/Makefile
+++ b/security/amavisd/Makefile
@@ -7,9 +7,10 @@
PORTNAME= amavisd
PORTVERSION= 20020300
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
-MASTER_SITES= http://www.amavis.org/dist/perl/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= amavis
DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION}
MAINTAINER= gslin@ccca.nctu.edu.tw
@@ -29,7 +30,7 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/arc:${PORTSDIR}/archivers/arc \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/IO/AtomicFile.pm:${PORTSDIR}/devel/p5-IO-stringy \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/MIME/Body.pm:${PORTSDIR}/mail/p5-MIME-Tools \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/Telnet.pm:${PORTSDIR}/net/p5-Net-Telnet
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net
RUN_DEPENDS= ${BUILD_DEPENDS}
GNU_CONFIGURE= yes
diff --git a/security/amavisd/files/amavisd-milter.sh b/security/amavisd/files/amavisd-milter.sh
index 8ab574f4baca..eaefe61b9988 100644
--- a/security/amavisd/files/amavisd-milter.sh
+++ b/security/amavisd/files/amavisd-milter.sh
@@ -7,7 +7,7 @@ fi
case "$1" in
start)
- ( [ -x ${PREFIX}/sbin/amavisd ] && [ -x ${PREFIX}/sbin/amavis-milter ] ) || exit 1
+ ( [ -x ${PREFIX}/sbin/amavisd ] || [ -x ${PREFIX}/sbin/amavis-milter ] ) || exit 1
AMAVISD=$(/bin/ps -xU %%AMAVISUSER%% | grep amavisd | awk '{ print $1 }')
AMAVIS_MILTER=$(/bin/ps -xU %%AMAVISUSER%% | grep amavis-milter | awk '{ print $1 }')
( /bin/test "$AMAVISD" || /bin/test "$AMAVIS_MILTER" ) && \
@@ -17,7 +17,7 @@ start)
su - %%AMAVISUSER%% -c ${PREFIX}/sbin/amavisd > /dev/null 2>&1 && echo -n ' amavisd-milter'
;;
stop)
- ( [ -x ${PREFIX}/sbin/amavisd ] && [ -x ${PREFIX}/sbin/amavis-milter ] ) || exit 1
+ ( [ -x ${PREFIX}/sbin/amavisd ] || [ -x ${PREFIX}/sbin/amavis-milter ] ) || exit 1
AMAVISD=$(/bin/ps -xU %%AMAVISUSER%% | grep amavisd | awk '{ print $1 }')
AMAVIS_MILTER=$(/bin/ps -xU %%AMAVISUSER%% | grep amavis-milter | awk '{ print $1 }')
( /bin/test "$AMAVISD" || /bin/test "$AMAVIS_MILTER" ) && \
diff --git a/security/amavisd/files/amavisd.sh b/security/amavisd/files/amavisd.sh
index 823b03e4a905..1a9bbe947d38 100644
--- a/security/amavisd/files/amavisd.sh
+++ b/security/amavisd/files/amavisd.sh
@@ -7,7 +7,7 @@ fi
case "$1" in
start)
- ( [ -x ${PREFIX}/sbin/amavisd ] && [ -x ${PREFIX}/sbin/amavis-milter ] ) || exit 1
+ ( [ -x ${PREFIX}/sbin/amavisd ] || [ -x ${PREFIX}/sbin/amavis-milter ] ) || exit 1
AMAVISD=$(/bin/ps -xU %%AMAVISUSER%% | grep amavisd | awk '{ print $1 }')
( /bin/test "$AMAVISD" ) && \
su - %%AMAVISUSER%% -c "/bin/kill $AMAVISD" > /dev/null
@@ -15,7 +15,7 @@ start)
su - %%AMAVISUSER%% -c ${PREFIX}/sbin/amavisd > /dev/null 2>&1 && echo -n ' amavisd'
;;
stop)
- ( [ -x ${PREFIX}/sbin/amavisd ] && [ -x ${PREFIX}/sbin/amavis-milter ] ) || exit 1
+ ( [ -x ${PREFIX}/sbin/amavisd ] || [ -x ${PREFIX}/sbin/amavis-milter ] ) || exit 1
AMAVISD=$(/bin/ps -xU %%AMAVISUSER%% | grep amavisd | awk '{ print $1 }')
( /bin/test "$AMAVISD") && \
su - %%AMAVISUSER%% -c "/bin/kill $AMAVISD" > /dev/null && echo -n ' amavisd'