summaryrefslogtreecommitdiff
path: root/net/couriertcpd
diff options
context:
space:
mode:
authorrillig <rillig>2007-02-15 21:51:51 +0000
committerrillig <rillig>2007-02-15 21:51:51 +0000
commit591ec95134130cf4d1a844de36f0b22b4f9d44e4 (patch)
treefe5b16e5338fb57cf49902b14d80d415073804f3 /net/couriertcpd
parentc00273471db8ac2c6a03c78ee92d76ada71925d5 (diff)
downloadpkgsrc-591ec95134130cf4d1a844de36f0b22b4f9d44e4.tar.gz
Made an error message friendlier (patch-ab).
Fixed pkglint warnings.
Diffstat (limited to 'net/couriertcpd')
-rw-r--r--net/couriertcpd/Makefile7
-rw-r--r--net/couriertcpd/distinfo3
-rw-r--r--net/couriertcpd/patches/patch-ab13
3 files changed, 19 insertions, 4 deletions
diff --git a/net/couriertcpd/Makefile b/net/couriertcpd/Makefile
index 1eb4012bb0b..70ba431a46a 100644
--- a/net/couriertcpd/Makefile
+++ b/net/couriertcpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/10/09 01:34:10 ben Exp $
+# $NetBSD: Makefile,v 1.5 2007/02/15 21:51:51 rillig Exp $
DISTNAME= courier-${COURIER_VERSION}
PKGNAME= ${DISTNAME:S/-/tcpd-/}
@@ -43,14 +43,15 @@ INSTALLATION_DIRS= bin sbin ${PKGMANDIR}/man1 ${DOCDIR}
REQD_DIRS= ${DOCDIR}
MAKE_DIRS+= ${VARBASE}/run ${COURIER_STATEDIR}
+BUILD_DEFS+= VARBASE
.include "../../security/openssl/buildlink3.mk"
SUBST_CLASSES+= bdb
-SUBST_MESSAGE.bdb= Configuring to use $(BDB_LIBS)
+SUBST_MESSAGE.bdb= Configuring to use ${BDB_LIBS}
SUBST_STAGE.bdb= post-patch
SUBST_FILES.bdb= configure bdbobj/configure.in bdbobj/configure
-SUBST_SED.bdb= -e "s,-ldb,${BDB_LIBS},g"
+SUBST_SED.bdb= -e s,-ldb,${BDB_LIBS:M*:Q},g
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcpd/couriertcpd \
diff --git a/net/couriertcpd/distinfo b/net/couriertcpd/distinfo
index 5da3a32a8fd..df96ca89937 100644
--- a/net/couriertcpd/distinfo
+++ b/net/couriertcpd/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2006/10/09 01:34:10 ben Exp $
+$NetBSD: distinfo,v 1.3 2007/02/15 21:51:51 rillig Exp $
SHA1 (courier-0.53.2.tar.bz2) = 89c6a9a57467adf8c1ac815a5ffacf47e5e694a3
RMD160 (courier-0.53.2.tar.bz2) = a6efce3a8d6572923190ea49ed6085906317ebd8
Size (courier-0.53.2.tar.bz2) = 6942557 bytes
SHA1 (patch-aa) = 5e3d549c96a0d25f963ecd08f8bf9f077263cd38
+SHA1 (patch-ab) = f0fd449e2784e171ee7ad8c19359d5cb95605e38
diff --git a/net/couriertcpd/patches/patch-ab b/net/couriertcpd/patches/patch-ab
new file mode 100644
index 00000000000..591c7da6a39
--- /dev/null
+++ b/net/couriertcpd/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2007/02/15 21:51:52 rillig Exp $
+
+--- courier/courier.c.orig 2005-01-30 06:22:51.000000000 +0100
++++ courier/courier.c 2006-06-25 18:16:00.000000000 +0200
+@@ -200,7 +200,7 @@ int main(int argc, char **argv)
+ #endif
+ execl( DATADIR "/courierctl.start",
+ "courierctl.start", (char *)0);
+- perror("exec");
++ perror("exec: " DATADIR "/courierctl.start");
+ _exit(1);
+ }
+ _exit(0);