summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2004-07-21 23:42:04 +0000
committerschmonz <schmonz@pkgsrc.org>2004-07-21 23:42:04 +0000
commita51d4d69e2b228c352dabb1c049309649f28f607 (patch)
tree16eeda55243510ac5e50e051df754670d23bf9de /mail
parent36d7c3719ed33388ea7fe77e950a0d321ebb5eac (diff)
downloadpkgsrc-a51d4d69e2b228c352dabb1c049309649f28f607.tar.gz
Update to 2.0.5. From the changelog:
KJ 08/24/2003 2.0.4 From Woody Security team * Non-maintainer upload by the Security Team * Fix buffer overflow with EXT and HOST environment variables (CAN-2003-0654) JK 09/18/2003 2.0.5 fixed invalid exit codes in several places that cause qmail to bounce messages wrongly. Thanks to Flavio Curti fcu-autoresp@no-way.org for identifying further invalid exit situations. pkgsrc changes: * Express post-patch using subst.mk instead. * Add dependency on qmail or netqmail. * Take MAINTAINER.
Diffstat (limited to 'mail')
-rw-r--r--mail/autorespond/Makefile23
-rw-r--r--mail/autorespond/PLIST7
-rw-r--r--mail/autorespond/distinfo6
3 files changed, 22 insertions, 14 deletions
diff --git a/mail/autorespond/Makefile b/mail/autorespond/Makefile
index 4a217028e38..699efa984f6 100644
--- a/mail/autorespond/Makefile
+++ b/mail/autorespond/Makefile
@@ -1,21 +1,26 @@
-# $NetBSD: Makefile,v 1.3 2003/07/21 16:56:41 martti Exp $
+# $NetBSD: Makefile,v 1.4 2004/07/21 23:42:04 schmonz Exp $
#
-DISTNAME= autorespond-2.0.2
+DISTNAME= autorespond-2.0.5
CATEGORIES= mail
-MASTER_SITES= http://www.inter7.com/devel/
+MASTER_SITES= ${HOMEPAGE}
-MAINTAINER= zuntum@NetBSD.org
+MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://www.inter7.com/devel/
COMMENT= Simple autoresponder add-on package for qmail
-post-patch:
- ${SED} "s,\/var\/qmail,${QMAILDIR}," ${WRKSRC}/autorespond.c \
- > ${WRKSRC}/autorespond.c.done
- ${MV} ${WRKSRC}/autorespond.c.done ${WRKSRC}/autorespond.c
+DEPENDS+= {qmail>=1.03,netqmail>=1.05}:../../mail/qmail
+
+SUBST_CLASSES+= qmaildir
+SUBST_STAGE.qmaildir= do-configure
+SUBST_FILES.qmaildir= autorespond.c
+SUBST_SED.qmaildir= -e 's|/var/qmail|${QMAILDIR}|g'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/autorespond ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/autorespond.README
+ ${INSTALL_MAN} ${WRKSRC}/autorespond.1 ${PREFIX}/man/man1
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/autorespond
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/autorespond
+ ${INSTALL_DATA} ${WRKSRC}/qmail-auto ${PREFIX}/share/doc/autorespond
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/autorespond/PLIST b/mail/autorespond/PLIST
index 7157845568c..9e92618ab20 100644
--- a/mail/autorespond/PLIST
+++ b/mail/autorespond/PLIST
@@ -1,3 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/28 22:29:49 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/07/21 23:42:04 schmonz Exp $
bin/autorespond
-share/doc/autorespond.README
+man/man1/autorespond.1
+share/doc/autorespond/README
+share/doc/autorespond/qmail-auto
+@dirrm share/doc/autorespond
diff --git a/mail/autorespond/distinfo b/mail/autorespond/distinfo
index 1a09e867be4..e61d7479e3c 100644
--- a/mail/autorespond/distinfo
+++ b/mail/autorespond/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/01/28 22:29:49 zuntum Exp $
+$NetBSD: distinfo,v 1.2 2004/07/21 23:42:04 schmonz Exp $
-SHA1 (autorespond-2.0.2.tar.gz) = 8d9a9c9c1c20263e94db196f78411fad2545dca7
-Size (autorespond-2.0.2.tar.gz) = 7300 bytes
+SHA1 (autorespond-2.0.5.tar.gz) = 9bdd160e93e886932b7679e915d72dca90d8de6a
+Size (autorespond-2.0.5.tar.gz) = 9707 bytes