diff options
author | martin <martin> | 2004-03-28 21:02:15 +0000 |
---|---|---|
committer | martin <martin> | 2004-03-28 21:02:15 +0000 |
commit | 14ea65410dfbf7d683dd37cfe9a69976822836e7 (patch) | |
tree | e7ab7557526745ab05a95b908c94a5552162e3b0 /mail | |
parent | 41778d3cebffa5d48f5221a2da99aa4d9a23a163 (diff) | |
download | pkgsrc-14ea65410dfbf7d683dd37cfe9a69976822836e7.tar.gz |
Import pulsar, a simple POP3 daemon with built in SSL support.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/pulsar/DESCR | 2 | ||||
-rw-r--r-- | mail/pulsar/Makefile | 24 | ||||
-rw-r--r-- | mail/pulsar/PLIST | 29 | ||||
-rw-r--r-- | mail/pulsar/distinfo | 11 | ||||
-rw-r--r-- | mail/pulsar/patches/patch-aa | 70 | ||||
-rw-r--r-- | mail/pulsar/patches/patch-ab | 12 | ||||
-rw-r--r-- | mail/pulsar/patches/patch-ac | 30 | ||||
-rw-r--r-- | mail/pulsar/patches/patch-ad | 25 | ||||
-rw-r--r-- | mail/pulsar/patches/patch-ae | 21 | ||||
-rw-r--r-- | mail/pulsar/patches/patch-af | 16 | ||||
-rw-r--r-- | mail/pulsar/patches/patch-ag | 17 |
11 files changed, 257 insertions, 0 deletions
diff --git a/mail/pulsar/DESCR b/mail/pulsar/DESCR new file mode 100644 index 00000000000..6a4f27d82f8 --- /dev/null +++ b/mail/pulsar/DESCR @@ -0,0 +1,2 @@ +Pulsar is a small, simple to install POP3 daemon. +It features built in SSL support and virtual hosts. diff --git a/mail/pulsar/Makefile b/mail/pulsar/Makefile new file mode 100644 index 00000000000..98a5b9b9472 --- /dev/null +++ b/mail/pulsar/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/03/28 21:02:15 martin Exp $ +# + +DISTNAME= pulsar-0.1.1 +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pulsar/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= martin@NetBSD.org +HOMEPAGE= http://pulsar.sourceforge.net/ +COMMENT= Small, secure POP3 daemon, featuring native SSL support + +USE_BUILDLINK2= yes +GNU_CONFIGURE= yes +USE_GNU_TOOLS+= make + +MANCOMPRESSED= yes + +pre-configure: + cd ${WRKSRC}; ${AUTOCONF} + +.include "../../security/openssl/buildlink2.mk" +.include "../../mk/autoconf.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/mail/pulsar/PLIST b/mail/pulsar/PLIST new file mode 100644 index 00000000000..d532a7feb21 --- /dev/null +++ b/mail/pulsar/PLIST @@ -0,0 +1,29 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/28 21:02:15 martin Exp $ +man/man1/pulsar_crypt.1.gz +man/man5/maildir.5.gz +man/man5/pulsar.conf.5.gz +man/man8/pulsar.8.gz +man/man8/pulsar_deliver.8.gz +sbin/pulsar +sbin/pulsar_crypt +sbin/pulsar_deliver +share/doc/${PKGNAME}/CHANGES +share/doc/${PKGNAME}/COMPATIBILITY +share/doc/${PKGNAME}/INSTALL +share/doc/${PKGNAME}/LICENSE +share/doc/${PKGNAME}/SUPPORT +share/doc/${PKGNAME}/TODO +share/doc/${PKGNAME}/pulsar.conf +share/doc/${PKGNAME}/pulsar.init +share/doc/${PKGNAME}/pulsar.pamd +share/doc/${PKGNAME}/pulsar.xinetd +share/doc/${PKGNAME}/rfc1082.txt +share/doc/${PKGNAME}/rfc1734.txt +share/doc/${PKGNAME}/rfc1939.txt +share/doc/${PKGNAME}/rfc1957.txt +share/doc/${PKGNAME}/rfc2033.txt +share/doc/${PKGNAME}/rfc2195.txt +share/doc/${PKGNAME}/rfc2384.txt +share/doc/${PKGNAME}/rfc2595.txt +share/doc/${PKGNAME}/rfc822.txt +@dirrm share/doc/${PKGNAME} diff --git a/mail/pulsar/distinfo b/mail/pulsar/distinfo new file mode 100644 index 00000000000..c24c3cc61b1 --- /dev/null +++ b/mail/pulsar/distinfo @@ -0,0 +1,11 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/03/28 21:02:15 martin Exp $ + +SHA1 (pulsar-0.1.1.tar.bz2) = bc99f184809f42b312d23d76aa34f01db65ac823 +Size (pulsar-0.1.1.tar.bz2) = 149675 bytes +SHA1 (patch-aa) = 7b6ee91a55ec8c583df2bd0a407e9e43bd9e2c3f +SHA1 (patch-ab) = 9d6e97c0acf22b9da0de902c86ca46d091c16d54 +SHA1 (patch-ac) = 50c2f0a9af1dda1da9f538cfe188c025426ab79c +SHA1 (patch-ad) = 1639d523b3f50959a273344f55f818249fbe06d9 +SHA1 (patch-ae) = de62aeb31eaef019a02e2ecfdf91b31d8eca1fea +SHA1 (patch-af) = 4fe6b687d71f27dd7755ba4cf4608a4883ce3aa5 +SHA1 (patch-ag) = 5b257bf3d96283a3676cb8ed108a981a5f295b1b diff --git a/mail/pulsar/patches/patch-aa b/mail/pulsar/patches/patch-aa new file mode 100644 index 00000000000..627e3363061 --- /dev/null +++ b/mail/pulsar/patches/patch-aa @@ -0,0 +1,70 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/03/28 21:02:15 martin Exp $ + +--- configure.in.orig 2003-09-07 17:23:12.000000000 +0200 ++++ configure.in 2004-03-14 11:23:23.000000000 +0100 +@@ -178,7 +178,7 @@ + old_LDFLAGS=$LDFLAGS + LIBS="$LIBS $TCP_WRAPPERS_LIBS" + LDFLAGS="$LDFLAGS $TCP_WRAPPERS_LDFLAGS" +- AC_CHECK_LIB(wrap, request_init, ++ AC_TRY_LINK([ int allow_severity; int deny_severity; ], [ request_init(); ], + [ + AC_DEFINE(WITH_TCP_WRAPPERS) + AC_CHECK_LIB(nsl, yp_get_default_domain, +@@ -187,10 +187,17 @@ + ] + ) + chk_tcp_wrappers=yes ++ dnl ** we can't yet enable tcp wrappers, it would ++ dnl ** spoil future tests due to the badly broken ++ dnl ** api in that library ++ LIBS=$old_LIBS ++ LDFLAGS=$old_LDFLAGS + ], + [ + LIBS=$old_LIBS + LDFLAGS=$old_LDFLAGS ++ TCP_WRAPPERS_LIBS="" ++ TCP_WRAPPERS_LIBS="" + AC_MSG_RESULT([tcp wrappers library not found, support disabled]) + ] + ) +@@ -253,7 +260,7 @@ + *) + if test -d $with_ssl; then + SSL_LDFLAGS="-L$with_ssl" +- SSL_LIBS="-lssl" ++ SSL_LIBS="-lcrypto -lssl" + else + SSL_LIBS="$with_ssl" + fi +@@ -267,7 +274,7 @@ + ) + if test "$with_ssl" = "yes"; then + if test -z "$SSL_LIBS"; then +- SSL_LIBS="-lssl" ++ SSL_LIBS="-lcrypto -lssl" + fi + old_LIBS=$LIBS + old_LDFLAGS=$LDFLAGS +@@ -332,6 +339,11 @@ + ] + ) + fi ++ ++dnl ** now we are ready to enable tcp wrappers libs ** ++LIBS="$LIBS $TCP_WRAPPERS_LIBS" ++LDFLAGS="$LDFLAGS $TCP_WRAPPERS_LDFLAGS" ++ + dnl ******************************************************** + dnl ******************************************************** + dnl Output a list of included optional components +@@ -375,7 +387,7 @@ + docdir=${prefix}/share/doc/pulsar-${VERSION} + else + mandir=${prefix}/man +- docdir=${prefix}/doc/pulsar-${VERSION} ++ docdir=${prefix}/share/doc/pulsar-${VERSION} + fi + sbindir=${prefix}/sbin + AC_MSG_RESULT([Executables will go in: ] ${prefix}/sbin) diff --git a/mail/pulsar/patches/patch-ab b/mail/pulsar/patches/patch-ab new file mode 100644 index 00000000000..eee929e69f0 --- /dev/null +++ b/mail/pulsar/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/03/28 21:02:15 martin Exp $ + +--- doc/Makefile.in.orig Sun Jul 6 23:42:37 2003 ++++ doc/Makefile.in +@@ -50,5 +50,5 @@ clean: + @find . -name "*~" -exec rm -f {} ";" + + install: +- ${INSTALL} -m 0555 -g root -o root -d ${docdir}/ +- ${INSTALL} -m 0444 -g root -o root ${DOC_FILES} ${docdir}/ ++ ${INSTALL} -m 0555 -d ${docdir}/ ++ ${INSTALL} -m 0444 ${DOC_FILES} ${docdir}/ diff --git a/mail/pulsar/patches/patch-ac b/mail/pulsar/patches/patch-ac new file mode 100644 index 00000000000..2d323a01dd7 --- /dev/null +++ b/mail/pulsar/patches/patch-ac @@ -0,0 +1,30 @@ +$NetBSD: patch-ac,v 1.1.1.1 2004/03/28 21:02:15 martin Exp $ + +--- man/Makefile.in.orig 2002-09-06 02:08:49.000000000 +0200 ++++ man/Makefile.in 2004-03-14 10:24:47.000000000 +0100 +@@ -22,7 +22,7 @@ + .PHONY: all install clean distclean + .SUFFIXES: .man .gz + +-MAN_FILES = maildir.5.gz mbox.5.gz pulsar.8.gz pulsar.conf.5.gz \ ++MAN_FILES = maildir.5.gz pulsar.8.gz pulsar.conf.5.gz \ + pulsar_crypt.1.gz pulsar_deliver.8.gz + + srcdir = @srcdir@ +@@ -63,10 +63,10 @@ + pulsar_deliver.8.man + + install: ${MAN_FILES} +- ${INSTALL} -m 0555 -g root -o root -d ${mandir}/man1/ +- ${INSTALL} -m 0555 -g root -o root -d ${mandir}/man5/ +- ${INSTALL} -m 0555 -g root -o root -d ${mandir}/man8/ +- ${INSTALL} -m 0444 -g root -o root *.1.gz ${mandir}/man1/ +- ${INSTALL} -m 0444 -g root -o root *.5.gz ${mandir}/man5/ +- ${INSTALL} -m 0444 -g root -o root *.8.gz ${mandir}/man8/ ++ ${INSTALL} -m 0555 -d ${mandir}/man1/ ++ ${INSTALL} -m 0555 -d ${mandir}/man5/ ++ ${INSTALL} -m 0555 -d ${mandir}/man8/ ++ ${INSTALL} -m 0444 *.1.gz ${mandir}/man1/ ++ ${INSTALL} -m 0444 *.5.gz ${mandir}/man5/ ++ ${INSTALL} -m 0444 *.8.gz ${mandir}/man8/ + diff --git a/mail/pulsar/patches/patch-ad b/mail/pulsar/patches/patch-ad new file mode 100644 index 00000000000..8166746b929 --- /dev/null +++ b/mail/pulsar/patches/patch-ad @@ -0,0 +1,25 @@ +$NetBSD: patch-ad,v 1.1.1.1 2004/03/28 21:02:15 martin Exp $ + +--- src/Makefile.in.orig Thu Sep 4 20:15:21 2003 ++++ src/Makefile.in +@@ -25,7 +25,7 @@ + install-recursive clean-recursive distclean-recursive + + CC = @CC@ +-CFLAGS = -Wall @CFLAGS@ @DEFS@ -I./mailstore -I./cfg -I./users -I./util -I./md5 ++CFLAGS = -Wall @CFLAGS@ @DEFS@ -I./mailstore -I./cfg -I./users -I./util -I./md5 -I. + LDFLAGS = @LDFLAGS@ + LDLIBS = @LIBS@ + +@@ -198,7 +198,7 @@ distclean-recursive: + @set -e; for i in $(SUB_DIRS); do cd $$i; $(MAKE) distclean ; cd .. ; done + + install-files: +- ${INSTALL} -m 0755 -g root -o root -d ${sbindir} +- ${INSTALL} -m 0500 -g root -o root -s pulsar ${sbindir} +- ${INSTALL} -m 0555 -g root -o root -s pulsar_crypt ${sbindir} +- ${INSTALL} -m 0500 -g root -o root -s pulsar_deliver ${sbindir} ++ ${INSTALL} -m 0755 -d ${sbindir} ++ ${INSTALL} -m 0500 -s pulsar ${sbindir} ++ ${INSTALL} -m 0555 -s pulsar_crypt ${sbindir} ++ ${INSTALL} -m 0500 -s pulsar_deliver ${sbindir} diff --git a/mail/pulsar/patches/patch-ae b/mail/pulsar/patches/patch-ae new file mode 100644 index 00000000000..1dd95c53dcb --- /dev/null +++ b/mail/pulsar/patches/patch-ae @@ -0,0 +1,21 @@ +$NetBSD: patch-ae,v 1.1.1.1 2004/03/28 21:02:15 martin Exp $ + +--- support_files/Makefile.in.orig Sun Jul 6 23:42:05 2003 ++++ support_files/Makefile.in +@@ -36,11 +36,11 @@ clean: + @rm -f ../*.rpm + + install: +- ${INSTALL} -m 0555 -g root -o root -d ${sup_dir} +- ${INSTALL} -m 0644 -g root -o root pulsar.conf ${sup_dir} +- ${INSTALL} -m 0555 -g root -o root pulsar.init ${sup_dir} +- ${INSTALL} -m 0444 -g root -o root pulsar.pamd ${sup_dir} +- ${INSTALL} -m 0444 -g root -o root pulsar.xinetd ${sup_dir} ++ ${INSTALL} -m 0555 -d ${sup_dir} ++ ${INSTALL} -m 0644 pulsar.conf ${sup_dir} ++ ${INSTALL} -m 0555 pulsar.init ${sup_dir} ++ ${INSTALL} -m 0444 pulsar.pamd ${sup_dir} ++ ${INSTALL} -m 0444 pulsar.xinetd ${sup_dir} + + rpm: + @echo -en "Building RPM package:\t" diff --git a/mail/pulsar/patches/patch-af b/mail/pulsar/patches/patch-af new file mode 100644 index 00000000000..962b4b5a1b1 --- /dev/null +++ b/mail/pulsar/patches/patch-af @@ -0,0 +1,16 @@ +$NetBSD: patch-af,v 1.1.1.1 2004/03/28 21:02:15 martin Exp $ + +--- src/pulsar_crypt.c.orig 2003-09-06 13:15:07.000000000 +0200 ++++ src/pulsar_crypt.c 2004-03-14 12:02:37.000000000 +0100 +@@ -36,6 +36,11 @@ + #include <crypt.h> + #endif /* HAVE_CRYPT_H */ + ++#ifdef WITH_TCP_WRAPPERS ++int allow_severity; ++int deny_severity; ++#endif /* WITH_TCP_WRAPPERS */ ++ + #include "md5.h" + + char table[] = "./0123456789abcdefghijklnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; diff --git a/mail/pulsar/patches/patch-ag b/mail/pulsar/patches/patch-ag new file mode 100644 index 00000000000..7470e1d5148 --- /dev/null +++ b/mail/pulsar/patches/patch-ag @@ -0,0 +1,17 @@ +$NetBSD: patch-ag,v 1.1.1.1 2004/03/28 21:02:15 martin Exp $ + +--- src/pulsar_deliver.c.orig 2003-09-07 17:29:23.000000000 +0200 ++++ src/pulsar_deliver.c 2004-03-14 12:03:48.000000000 +0100 +@@ -35,6 +35,11 @@ + #include "users.h" + #include "error_facility.h" + ++#ifdef WITH_TCP_WRAPPERS ++int allow_severity; ++int deny_severity; ++#endif /* WITH_TCP_WRAPPERS */ ++ + strStaticData g; + //------------------------------------------------------------------------------------------------------------ + void help(const char *filename) { + |