pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/pulsar Import pulsar, a simple POP3 daemon with b...
details: https://anonhg.NetBSD.org/pkgsrc/rev/31eaad51ccbc
branches: trunk
changeset: 471471:31eaad51ccbc
user: martin <martin%pkgsrc.org@localhost>
date: Sun Mar 28 21:02:15 2004 +0000
description:
Import pulsar, a simple POP3 daemon with built in SSL support.
diffstat:
mail/pulsar/DESCR | 2 +
mail/pulsar/Makefile | 24 +++++++++++++++
mail/pulsar/PLIST | 29 ++++++++++++++++++
mail/pulsar/distinfo | 11 ++++++
mail/pulsar/patches/patch-aa | 70 ++++++++++++++++++++++++++++++++++++++++++++
mail/pulsar/patches/patch-ab | 12 +++++++
mail/pulsar/patches/patch-ac | 30 ++++++++++++++++++
mail/pulsar/patches/patch-ad | 25 +++++++++++++++
mail/pulsar/patches/patch-ae | 21 +++++++++++++
mail/pulsar/patches/patch-af | 16 ++++++++++
mail/pulsar/patches/patch-ag | 17 ++++++++++
11 files changed, 257 insertions(+), 0 deletions(-)
diffs (truncated from 301 to 300 lines):
diff -r 733751a04cc8 -r 31eaad51ccbc mail/pulsar/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pulsar/DESCR Sun Mar 28 21:02:15 2004 +0000
@@ -0,0 +1,2 @@
+Pulsar is a small, simple to install POP3 daemon.
+It features built in SSL support and virtual hosts.
diff -r 733751a04cc8 -r 31eaad51ccbc mail/pulsar/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pulsar/Makefile Sun Mar 28 21:02:15 2004 +0000
@@ -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@localhost
+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 -r 733751a04cc8 -r 31eaad51ccbc mail/pulsar/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pulsar/PLIST Sun Mar 28 21:02:15 2004 +0000
@@ -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 -r 733751a04cc8 -r 31eaad51ccbc mail/pulsar/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pulsar/distinfo Sun Mar 28 21:02:15 2004 +0000
@@ -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 -r 733751a04cc8 -r 31eaad51ccbc mail/pulsar/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pulsar/patches/patch-aa Sun Mar 28 21:02:15 2004 +0000
@@ -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 -r 733751a04cc8 -r 31eaad51ccbc mail/pulsar/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pulsar/patches/patch-ab Sun Mar 28 21:02:15 2004 +0000
@@ -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 -r 733751a04cc8 -r 31eaad51ccbc mail/pulsar/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pulsar/patches/patch-ac Sun Mar 28 21:02:15 2004 +0000
@@ -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 -r 733751a04cc8 -r 31eaad51ccbc mail/pulsar/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pulsar/patches/patch-ad Sun Mar 28 21:02:15 2004 +0000
@@ -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 -r 733751a04cc8 -r 31eaad51ccbc mail/pulsar/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pulsar/patches/patch-ae Sun Mar 28 21:02:15 2004 +0000
@@ -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 -r 733751a04cc8 -r 31eaad51ccbc mail/pulsar/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pulsar/patches/patch-af Sun Mar 28 21:02:15 2004 +0000
@@ -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 -r 733751a04cc8 -r 31eaad51ccbc mail/pulsar/patches/patch-ag
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pulsar/patches/patch-ag Sun Mar 28 21:02:15 2004 +0000
@@ -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) {
Home |
Main Index |
Thread Index |
Old Index