diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2002-01-18 14:41:58 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2002-01-18 14:41:58 +0000 |
commit | dba58398c02942c6cf1d92e8e51f98182f1db7aa (patch) | |
tree | 281b362761896b05080d507efeed05214f2ff980 /mail/popd | |
parent | 85883dc146860a623343ae28246030461e7d1276 (diff) | |
download | FreeBSD-ports-dba58398c02942c6cf1d92e8e51f98182f1db7aa.zip FreeBSD-ports-dba58398c02942c6cf1d92e8e51f98182f1db7aa.tar.gz |
Update to popd-2.0:
* SSL support
* Wire-format option for mailboxes.
* Mailbox support cleanup (esp. Maildir)
Note that bulletins are non-functional in this release.
Diffstat (limited to 'mail/popd')
-rw-r--r-- | mail/popd/Makefile | 11 | ||||
-rw-r--r-- | mail/popd/distinfo | 2 | ||||
-rw-r--r-- | mail/popd/files/patch-lib::Makefile | 16 | ||||
-rw-r--r-- | mail/popd/files/patch-mbox_maildir.c | 10 | ||||
-rw-r--r-- | mail/popd/files/patch-mbox_mbf.c | 11 | ||||
-rw-r--r-- | mail/popd/files/patch-popd.8 | 23 | ||||
-rw-r--r-- | mail/popd/files/patch-popd.c | 19 | ||||
-rw-r--r-- | mail/popd/files/patch-src::Makefile | 27 | ||||
-rw-r--r-- | mail/popd/pkg-descr | 6 | ||||
-rw-r--r-- | mail/popd/pkg-plist | 5 |
10 files changed, 59 insertions, 71 deletions
diff --git a/mail/popd/Makefile b/mail/popd/Makefile index d7d8180..2de6c94 100644 --- a/mail/popd/Makefile +++ b/mail/popd/Makefile @@ -6,8 +6,7 @@ # PORTNAME= popd -PORTVERSION= 1.03 -PORTREVISION= 1 +PORTVERSION= 2.0 CATEGORIES= mail MASTER_SITES= ftp://ftp3.za.freebsd.org/pub/popd/ @@ -15,10 +14,10 @@ MAINTAINER= ianf@za.uu.net MAN8= popd.8 -do-build: - cd ${WRKSRC}; make -DNOMANCOMPRESS +INSTALLS_SHLIB= yes +NOMANCOMPRESS= yes -do-install: - cd ${WRKSRC}; make -DNOMANCOMPRESS BINDIR=${PREFIX}/libexec MANDIR=${PREFIX}/man/man install +post-extract: + ${MV} ${WRKSRC}/src/popd.8 ${WRKSRC}/src/popd.mdoc .include <bsd.port.mk> diff --git a/mail/popd/distinfo b/mail/popd/distinfo index e06090f..356f2ec 100644 --- a/mail/popd/distinfo +++ b/mail/popd/distinfo @@ -1 +1 @@ -MD5 (popd-1.03.tar.gz) = 8fd4416b908577178ae476a260617509 +MD5 (popd-2.0.tar.gz) = 1955bdc845b5a87bc599151859e81962 diff --git a/mail/popd/files/patch-lib::Makefile b/mail/popd/files/patch-lib::Makefile new file mode 100644 index 0000000..51db44a --- /dev/null +++ b/mail/popd/files/patch-lib::Makefile @@ -0,0 +1,16 @@ +--- lib/Makefile.orig Fri Dec 7 15:34:54 2001 ++++ lib/Makefile Fri Jan 18 15:48:02 2002 +@@ -3,10 +3,11 @@ + LIB=poputil + SRCS= funcs.c lockfile.c mailbox.c mbox_maildir.c mbox_mailidx.c mbox_mbf.c + INCS=poputil.h +-CFLAGS = -g -Wall -O -pipe -fPIC -shared -DUSE_SSL ++CFLAGS+= -Wall -DUSE_SSL + SHLIB_MAJOR= 1 + SHLIB_MINOR= 0 +-DESTDIR=/usr/local/ ++DESTDIR= ${PREFIX}/ ++PREFIX?= /usr/local + LIBDIR=lib + INCDIR=include + diff --git a/mail/popd/files/patch-mbox_maildir.c b/mail/popd/files/patch-mbox_maildir.c deleted file mode 100644 index 699ad66..0000000 --- a/mail/popd/files/patch-mbox_maildir.c +++ /dev/null @@ -1,10 +0,0 @@ ---- mbox_maildir.c.orig Tue Apr 17 05:09:26 2001 -+++ mbox_maildir.c Wed May 16 08:52:34 2001 -@@ -212,6 +212,7 @@ - continue; - } - } -+ facility = LOG_INFO; - syslog(facility, "%s: retr %d leave %d %d byte%s %d error%s D%d(%d) " - "E%d(%d) R%d(%d)", - user->auth_string, ret, user->mbx.mail.num - del - exp - rem, diff --git a/mail/popd/files/patch-mbox_mbf.c b/mail/popd/files/patch-mbox_mbf.c deleted file mode 100644 index 0df30b9..0000000 --- a/mail/popd/files/patch-mbox_mbf.c +++ /dev/null @@ -1,11 +0,0 @@ ---- mbox_mbf.c.orig Tue Apr 17 05:09:26 2001 -+++ mbox_mbf.c Wed May 16 08:52:34 2001 -@@ -178,7 +178,7 @@ - size_t left, bytes, len; - char buffer[MAXBUFLEN]; - -- facility = LOG_NOTICE; -+ facility = LOG_INFO; - ret = del = exp = rem = errors = 0; - dst = -1; - for (i = 0; i <= user->mbx.num; i++) { diff --git a/mail/popd/files/patch-popd.8 b/mail/popd/files/patch-popd.8 deleted file mode 100644 index 30f94ac..0000000 --- a/mail/popd/files/patch-popd.8 +++ /dev/null @@ -1,23 +0,0 @@ ---- popd.8 2001/04/09 12:16:39 1.16 -+++ popd.8 2001/05/30 08:36:04 -@@ -538,6 +538,20 @@ - Exit status as defined in - .Xr sysexits 3 - are returned. -+.Pp -+.Nm -+reports status messages, warnings and errors via -+.Xr syslog 3 -+using the -+.Dv LOG_DAEMON -+facility. -+Warnings and errors are logged using the -+.Dv LOG_NOTICE -+and -+.Dv LOG_CRIT -+priorities, -+while connections, authentication and sessions are logged at -+.Dv LOG_INFO . - .Sh HISTORY - .Nm - was originally written for UUNET South Africa in 1999. diff --git a/mail/popd/files/patch-popd.c b/mail/popd/files/patch-popd.c deleted file mode 100644 index 6176902..0000000 --- a/mail/popd/files/patch-popd.c +++ /dev/null @@ -1,19 +0,0 @@ ---- popd.c.orig Tue Apr 17 05:09:26 2001 -+++ popd.c Wed May 16 09:00:39 2001 -@@ -501,6 +503,7 @@ - closesigpipe(); - opensigpipe(); - setsignals(); -+ facility = LOG_INFO; - if (config.daemonise || config.debug) - getnameinfo((struct sockaddr *)&addr, addr.ss_len, - ip, sizeof(ip), NULL, 0, -@@ -518,6 +521,8 @@ - sendline("+OK %s ready %s", IDENT, config.timestamp); - switch (authenticate(&user)) { - case TRUE: -+ syslog(facility, "Login user=%s host=[%s]", -+ user->username, ip); - if (!config.proxy) - transaction(user); - else diff --git a/mail/popd/files/patch-src::Makefile b/mail/popd/files/patch-src::Makefile new file mode 100644 index 0000000..0da20f3 --- /dev/null +++ b/mail/popd/files/patch-src::Makefile @@ -0,0 +1,27 @@ +--- src/Makefile.orig Thu Dec 27 12:13:00 2001 ++++ src/Makefile Fri Jan 18 16:14:29 2002 +@@ -3,14 +3,19 @@ + # + + PROG= popd +-CFLAGS+= -Wall -Werror -pedantic -I../lib -L../lib -L/usr/local/lib \ ++CFLAGS+= -Wall -Werror -pedantic -I../lib -L../lib \ + -DUSE_SSL -DUSE_IPV6 + LDADD= -lcrypt -lmd -lradius -lpoputil -lssl -lcrypto +-DPSDD= ${LIBCRYPT} ${LIBMD} ++DPADD= ${LIBCRYPT} ${LIBMD} ${LIBRADIUS} ${LIBSSL} ${LIBCRYPTO} \ ++ ../lib/libpoputil.a + SRCS= popd.c authenticate.c transaction.c signals.c proxy.c + MAN8= popd.8 +-DESTDIR=/usr/local/ +-BINDIR=bin +-MANDIR=share/man ++DESTDIR= ${PREFIX}/ ++PREFIX?= /usr/local ++BINDIR=libexec ++MANDIR=man/man ++ ++popd.8: popd.mdoc ++ sed -e "s,XX_PREFIX_XX,${PREFIX},g" < popd.mdoc > popd.8 + + .include <bsd.prog.mk> diff --git a/mail/popd/pkg-descr b/mail/popd/pkg-descr index 3bfcc69..8b286ed 100644 --- a/mail/popd/pkg-descr +++ b/mail/popd/pkg-descr @@ -1,6 +1,10 @@ -The popd server is a fast, full RFC1939 implimentation. +The popd server is a fast, full, BSD-licensed RFC1939 implementation. Popd allows mail for users in multiple domains to be served from one server in `virtual' mode. It allows for mail to be expired from the server when users collect mail older than a specified time, falsification of UIDL information and removal of old mail. + +Additional features include SSL and proxy support, as well as +support for a variety of mailbox formats. The bulletin feature +is nonfunctional in this release. diff --git a/mail/popd/pkg-plist b/mail/popd/pkg-plist index 42cc797..5d534f6 100644 --- a/mail/popd/pkg-plist +++ b/mail/popd/pkg-plist @@ -1 +1,6 @@ +include/poputil.h libexec/popd +libpoputil.a +libpoputil.so +libpoputil.so.1 +libpoputil_p.a |