summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/couriertcpd/DEINSTALL13
-rw-r--r--net/couriertcpd/DESCR3
-rw-r--r--net/couriertcpd/Makefile61
-rw-r--r--net/couriertcpd/PLIST7
-rw-r--r--net/couriertcpd/distinfo5
5 files changed, 89 insertions, 0 deletions
diff --git a/net/couriertcpd/DEINSTALL b/net/couriertcpd/DEINSTALL
new file mode 100644
index 00000000000..ffddbed7fe7
--- /dev/null
+++ b/net/couriertcpd/DEINSTALL
@@ -0,0 +1,13 @@
+# $NetBSD: DEINSTALL,v 1.1.1.1 2006/06/09 22:11:03 jlam Exp $
+
+case ${STAGE} in
+POST-DEINSTALL)
+ couriersslcache="@COURIER_STATEDIR@/couriersslcache"
+ if ${TEST} -f "$couriersslcache"; then
+ # Unconditionally remove the SSL cache file.
+ ${ECHO} "Removing Courier SSL cache file:"
+ ${ECHO} " $couriersslcache"
+ ${RM} -f $couriersslcache
+ fi
+ ;;
+esac
diff --git a/net/couriertcpd/DESCR b/net/couriertcpd/DESCR
new file mode 100644
index 00000000000..58bf6359140
--- /dev/null
+++ b/net/couriertcpd/DESCR
@@ -0,0 +1,3 @@
+This package contains couriertcpd(1), used to daemonize the Courier
+services, and couriertls(1) used to provide TLS support for the Courier
+services that support them.
diff --git a/net/couriertcpd/Makefile b/net/couriertcpd/Makefile
new file mode 100644
index 00000000000..36e39a15f17
--- /dev/null
+++ b/net/couriertcpd/Makefile
@@ -0,0 +1,61 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/06/09 22:11:03 jlam Exp $
+
+DISTNAME= courier-${COURIER_VERSION}
+PKGNAME= ${DISTNAME:S/-/tcpd-/}
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= jlam@pkgsrc.org
+COMMENT= Courier TCP socket and TLS servers
+HOMEPAGE= http://www.courier-mta.org/
+
+CONFLICTS= courier-imap<4.11
+
+USE_TOOLS+= gmake
+USE_LANGUAGES= c c++
+
+.include "../../mail/courier-mta/Makefile.common"
+
+# This package doesn't need to depend on courier-authlib -- just fake
+# out the top-level configure script that thinks it needs
+# courierauthconfig.
+#
+CONFIGURE_ENV+= ac_cv_path_COURIERAUTHCONFIG=${TRUE:Q}
+
+# These are files required by the Courier configure scripts.
+WRKSRC_FILES= courier/courier.c config.guess config.sub \
+ configure depcomp install-sh ltmain.sh missing \
+ sysconftool
+WRKSRC_FILES+= Makefile.in courier.spec.in courier.lpspec.in \
+ dbobj.h.in dbobj.config.in courier.sysvinit.in
+
+# These are subdirectories containing libraries used by couriertcpd.
+WRKSRC_SUBDIRS= bdbobj numlib soxwrap md5 random128 rfc1035 \
+ liblock waitlib tcpd
+
+EXTRACT_ELEMENTS= ${WRKSRC_FILES:S/^/${DISTNAME}\//}
+EXTRACT_ELEMENTS+= ${WRKSRC_SUBDIRS:S/^/${DISTNAME}\//}
+
+BUILD_DIRS= ${WRKSRC_SUBDIRS:S/^/${WRKSRC}\//}
+INSTALLATION_DIRS= bin sbin ${PKGMANDIR}/man1 ${DOCDIR}
+
+REQD_DIRS= ${DOCDIR}
+MAKE_DIRS+= ${VARBASE}/run ${COURIER_STATEDIR}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tcpd/couriertcpd \
+ ${PREFIX}/bin/couriertcpd
+ ${INSTALL_MAN} ${WRKSRC}/tcpd/couriertcpd.1 \
+ ${PREFIX}/${PKGMANDIR}/man1/couriertcpd.1
+ ${INSTALL_DATA} ${WRKSRC}/tcpd/couriertcpd.html \
+ ${DOCDIR}/couriertcpd.html
+
+ ${INSTALL_PROGRAM} ${WRKSRC}/tcpd/couriertls \
+ ${PREFIX}/bin/couriertls
+ ${INSTALL_MAN} ${WRKSRC}/tcpd/couriertls.1 \
+ ${PREFIX}/${PKGMANDIR}/man1/couriertls.1
+ ${INSTALL_DATA} ${WRKSRC}/tcpd/couriertls.html \
+ ${DOCDIR}/couriertls.html
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/couriertcpd/PLIST b/net/couriertcpd/PLIST
new file mode 100644
index 00000000000..43ad496633c
--- /dev/null
+++ b/net/couriertcpd/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/06/09 22:11:03 jlam Exp $
+bin/couriertcpd
+bin/couriertls
+man/man1/couriertcpd.1
+man/man1/couriertls.1
+share/doc/courier/couriertcpd.html
+share/doc/courier/couriertls.html
diff --git a/net/couriertcpd/distinfo b/net/couriertcpd/distinfo
new file mode 100644
index 00000000000..495de9b1dc9
--- /dev/null
+++ b/net/couriertcpd/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/06/09 22:11:03 jlam 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