Date: Sat, 27 Jan 2001 19:25:15 +0100 From: Gergely Nagy <8@free.bsd.hu> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/24682: pop3lite port update Message-ID: <20010127192515.B12455@iluvatar>
next in thread | raw e-mail | index | archive | help
>Number: 24682 >Category: ports >Synopsis: pop3lite port is out of date >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Jan 27 10:30:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Gergely Nagy >Release: FreeBSD 5.0-CURRENT i386 >Organization: The MadHouse Project >Environment: System: FreeBSD fearbsd.bonehunter.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Jan 22 12:47:33 CET 2001 root@fearbsd.bonehunter.org:/usr/obj/usr/src/sys/FEAR i386 >Description: The POP3Lite port in FreeBSD 5.0-CURRENT is slightly out of date, as 0.1.90 is out now. Also, the port does not honour NOPORTDOCS, and it has some other minor flaws. >How-To-Repeat: cd /usr/ports/mail/pop3lite && make package NOPORTDOCS=1 This will work but will install documentation too, despite NOPORTDOCS=1. >Fix: Here is a patch that corrects all of the above problems: diff -urNad pop3lite-0.1.4.2/Makefile pop3lite-0.1.90/Makefile --- pop3lite-0.1.4.2/Makefile Fri Jan 26 17:19:34 2001 +++ pop3lite-0.1.90/Makefile Sat Jan 27 14:42:34 2001 @@ -6,22 +6,63 @@ # PORTNAME= pop3lite -PORTVERSION= 0.1.4.2 +PORTVERSION= 0.1.90 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= greid@ukug.uk.freebsd.org +INSTALL_TARGET= install-strip + USE_GLIB= yes USE_GMAKE= yes USE_LIBTOOL= yes -INSTALLS_SHLIB= yes -MAN5= pop3lite.conf.5 -MAN8= pop3lite.8 +.if defined(NOPORTDOCS) +PLIST= ${PKGDIR}/pkg-plist.nodoc +.else +MAN5= pop3lite.conf.5 +MAN8= pop3lite.8 +.endif -post-patch: - @ ${RM} ${WRKSRC}/doc/*.info +PGDIR?= ${PREFIX}/pgsql +CONFIGURE_ARGS= --with-builtin-modules=connectlog,mailbox,pam \ + --with-layout=bsd --disable-static + +.if defined(USE_PGSQL) +CONFIGURE_ARGS+= --with-pgsql-libs=${PGDIR}/lib \ + --with-pgsql-headers=${PGDIR}/include +LIB_DEPENDS+= pq.2:${PORTSDIR}/databases/postgresql7 +.if !defined(NOPORTDOCS) +PLIST_SUB= SQLDOC=share/doc/pop3lite/modules/SQLCONF +.endif +PLIST_SUB+= SQLMOD=lib/pop3lite/sqlconf.so +.else +PLIST_SUB= SQLDOC= SQLMOD= +CONFIGURE_ARGS+= --with-disabled-modules=sqlconf +.endif + +pre-fetch: +.if !defined(USE_PGSQL) + @${ECHO_MSG} "To build POP3Lite with PostgreSQL support, type:" + @${ECHO_MSG} " make USE_PGSQL=yes" +.else + @${ECHO_MSG} "Building POP3Lite with PostgreSQL support." +.endif + +do-install: + ${GMAKE} ${INSTALL_TARGET} -C ${WRKSRC}/gnu + ${GMAKE} ${INSTALL_TARGET} -C ${WRKSRC}/includes + ${GMAKE} ${INSTALL_TARGET} -C ${WRKSRC}/src +.if !defined(NOPORTDOCS) + ${GMAKE} ${INSTALL_TARGET} -C ${WRKSRC}/modules + ${GMAKE} ${INSTALL_TARGET} -C ${WRKSRC}/doc + ${GMAKE} ${INSTALL_TARGET} -C ${WRKSRC}/man + ${GMAKE} ${INSTALL_TARGET} -C ${WRKSRC} SUBDIRS= +.else + ${GMAKE} ${INSTALL_TARGET} -C ${WRKSRC}/modules MODULE_DOCS= + ${GMAKE} ${INSTALL_TARGET} -C ${WRKSRC} SUBDIRS= doc_DATA= +.endif .include <bsd.port.mk> diff -urNad pop3lite-0.1.4.2/distinfo pop3lite-0.1.90/distinfo --- pop3lite-0.1.4.2/distinfo Fri Jan 26 17:19:34 2001 +++ pop3lite-0.1.90/distinfo Sat Jan 27 19:23:55 2001 @@ -1 +1 @@ -MD5 (pop3lite-0.1.4.2.tar.gz) = d706c0fe23d55881ae051693474d54ff +MD5 (pop3lite-0.1.90.tar.gz) = b69f80bbea564214c37d34e0311915cd diff -urNad pop3lite-0.1.4.2/pkg-descr pop3lite-0.1.90/pkg-descr --- pop3lite-0.1.4.2/pkg-descr Mon Jan 1 23:24:51 2001 +++ pop3lite-0.1.90/pkg-descr Mon Jan 15 16:08:19 2001 @@ -1,10 +1,9 @@ -This is POP3Lite, a flexible, RFC 1939 compliant Post Office -Protocol 3 daemon. +The POP3Lite POP3 daemon was designed to be as flexible as possible. +To accomplish this goal, almost every part of the base daemon can be +replaced or extended. -It implements everything mentioned in the RFC (either -natively, or via modules), and some other things that are not -strictly POP3 related capabilities (such as modules, PAM -support, SQL configuration, etc). +PAM and Mailbox support are compiled into the base daemon, just as +the connection logging module. - George Reid greid@ukug.uk.freebsd.org diff -urNad pop3lite-0.1.4.2/pkg-plist pop3lite-0.1.90/pkg-plist --- pop3lite-0.1.4.2/pkg-plist Fri Jan 26 17:19:35 2001 +++ pop3lite-0.1.90/pkg-plist Tue Jan 23 16:10:48 2001 @@ -3,29 +3,21 @@ include/pop3lite/apop.h include/pop3lite/mailbox.h include/pop3lite/userconf.h +@unexec install-info --delete %D/info/pop3lite-admin %D/info/dir +info/pop3lite-admin.info +@exec install-info %D/info/pop3lite-admin.info %D/info/dir lib/pop3lite/alias.so lib/pop3lite/apop.so lib/pop3lite/capa.so -lib/pop3lite/connectlog.so lib/pop3lite/disable.so lib/pop3lite/expire.so lib/pop3lite/filelog.so lib/pop3lite/homebox.so -lib/pop3lite/pam.so lib/pop3lite/sabotage.so +%%SQLMOD%% lib/pop3lite/userconf.so lib/pop3lite/vhost.so -sbin/pop3lite -share/doc/pop3lite/AUTHORS -share/doc/pop3lite/BUGS -share/doc/pop3lite/COPYING -share/doc/pop3lite/COPYING.DOC -share/doc/pop3lite/ChangeLog -share/doc/pop3lite/MACHINES -share/doc/pop3lite/NEWS -share/doc/pop3lite/README -share/doc/pop3lite/THANKS -share/doc/pop3lite/TODO +libexec/pop3lite share/doc/pop3lite/modules/ALIAS share/doc/pop3lite/modules/APOP share/doc/pop3lite/modules/CAPA @@ -36,9 +28,20 @@ share/doc/pop3lite/modules/HOMEBOX share/doc/pop3lite/modules/MAILBOX share/doc/pop3lite/modules/PAM +%%SQLDOC%% share/doc/pop3lite/modules/SABOTAGE share/doc/pop3lite/modules/USERCONF share/doc/pop3lite/modules/VHOST +share/doc/pop3lite/AUTHORS +share/doc/pop3lite/BUGS +share/doc/pop3lite/COPYING +share/doc/pop3lite/COPYING.DOC +share/doc/pop3lite/ChangeLog +share/doc/pop3lite/MACHINES +share/doc/pop3lite/NEWS +share/doc/pop3lite/README +share/doc/pop3lite/TODO +share/doc/pop3lite/THANKS @dirrm include/pop3lite @dirrm lib/pop3lite @dirrm share/doc/pop3lite/modules diff -urNad pop3lite-0.1.4.2/pkg-plist.nodoc pop3lite-0.1.90/pkg-plist.nodoc --- pop3lite-0.1.4.2/pkg-plist.nodoc Thu Jan 1 01:00:00 1970 +++ pop3lite-0.1.90/pkg-plist.nodoc Tue Jan 23 15:38:51 2001 @@ -0,0 +1,19 @@ +include/pop3lite.h +include/pop3lite/alias.h +include/pop3lite/apop.h +include/pop3lite/mailbox.h +include/pop3lite/userconf.h +lib/pop3lite/alias.so +lib/pop3lite/apop.so +lib/pop3lite/capa.so +lib/pop3lite/disable.so +lib/pop3lite/expire.so +lib/pop3lite/filelog.so +lib/pop3lite/homebox.so +lib/pop3lite/sabotage.so +%%SQLMOD%% +lib/pop3lite/userconf.so +lib/pop3lite/vhost.so +libexec/pop3lite +@dirrm include/pop3lite +@dirrm lib/pop3lite >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010127192515.B12455>