pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/autorespond Update to 2.0.5. From the changelog:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/944e7a175237
branches:  trunk
changeset: 478334:944e7a175237
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Jul 21 23:42:04 2004 +0000

description:
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@localhost for
                        identifying further invalid exit situations.

pkgsrc changes:
* Express post-patch using subst.mk instead.
* Add dependency on qmail or netqmail.
* Take MAINTAINER.

diffstat:

 mail/autorespond/Makefile |  23 ++++++++++++++---------
 mail/autorespond/PLIST    |   7 +++++--
 mail/autorespond/distinfo |   6 +++---
 3 files changed, 22 insertions(+), 14 deletions(-)

diffs (62 lines):

diff -r b20f454d0e11 -r 944e7a175237 mail/autorespond/Makefile
--- a/mail/autorespond/Makefile Wed Jul 21 23:32:43 2004 +0000
+++ b/mail/autorespond/Makefile Wed Jul 21 23:42:04 2004 +0000
@@ -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@localhost
+MAINTAINER=    schmonz%NetBSD.org@localhost
 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 -r b20f454d0e11 -r 944e7a175237 mail/autorespond/PLIST
--- a/mail/autorespond/PLIST    Wed Jul 21 23:32:43 2004 +0000
+++ b/mail/autorespond/PLIST    Wed Jul 21 23:42:04 2004 +0000
@@ -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 -r b20f454d0e11 -r 944e7a175237 mail/autorespond/distinfo
--- a/mail/autorespond/distinfo Wed Jul 21 23:32:43 2004 +0000
+++ b/mail/autorespond/distinfo Wed Jul 21 23:42:04 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index