From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 8 19:10:03 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D70616A4E6 for ; Sun, 8 May 2005 19:10:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BCA643D66 for ; Sun, 8 May 2005 19:10:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j48JA2vh046585 for ; Sun, 8 May 2005 19:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j48JA2iZ046584; Sun, 8 May 2005 19:10:02 GMT (envelope-from gnats) Resent-Date: Sun, 8 May 2005 19:10:02 GMT Resent-Message-Id: <200505081910.j48JA2iZ046584@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Radim Kolar Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3340516A4E6 for ; Sun, 8 May 2005 19:03:36 +0000 (GMT) Received: from smtp4.vol.cz (smtp4.vol.cz [195.250.128.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0674443D41 for ; Sun, 8 May 2005 19:03:35 +0000 (GMT) (envelope-from hsn@netmag.cz) Received: from sanatana.dharma (volny-ipt-4-76.dialup.vol.cz [62.177.67.76]) by smtp4.vol.cz (8.12.11/8.12.9) with ESMTP id j48J3UuN055303 for ; Sun, 8 May 2005 21:03:30 +0200 (CEST) (envelope-from hsn@netmag.cz) Received: from hsn@localhost by sanatana.dharma (Exim 4.51_0 FreeBSD) id 1DUqas-000O3h-5Z ; Sun, 08 May 2005 20:33:34 +0200 Message-Id: Date: Sun, 08 May 2005 20:33:34 +0200 From: Radim Kolar To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: hsn@sd.FreeBSD.ORG Subject: ports/80794: [PATCH] mail/qpopper: update to 4.0.7 + use OPTIONS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 May 2005 19:10:03 -0000 >Number: 80794 >Category: ports >Synopsis: [PATCH] mail/qpopper: update to 4.0.7 + use OPTIONS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun May 08 19:10:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Radim Kolar >Release: FreeBSD 5.4-STABLE i386 >Organization: Sanatana Dharma >Environment: System: FreeBSD sanatana.dharma 5.4-STABLE FreeBSD 5.4-STABLE #7: Sun May 8 12:50:59 CEST >Description: - Update to 4.0.7 - removed -y patch -> now included in distro - BSD port now supports OPTIONS - ipv6 patch adapted to 4.0.7 version Note: I would be happy if someone moves ipv6 patch out of my flaky server. Removed file(s): - files/extra-patch-popper::main.c - files/extra-patch-popper::pop_init.c - files/patch-popper::pop_updt.c Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- qpopper-4.0.7.patch begins here --- diff -ruN --exclude=CVS /usr/ports/mail/qpopper/Makefile /home/hsn/hacked/qpopper/Makefile --- /usr/ports/mail/qpopper/Makefile Sun Mar 6 16:41:33 2005 +++ /home/hsn/hacked/qpopper/Makefile Sun May 8 20:29:18 2005 @@ -6,31 +6,20 @@ # PORTNAME= qpopper -PORTVERSION= 4.0.5 -PORTREVISION= 2 +PORTVERSION= 4.0.7 +PORTREVISION= 0 CATEGORIES= mail ipv6 -MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/%SUBDIR%/ -MASTER_SITE_SUBDIR= . old +MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/ \ + http://core.ring.gr.jp/archives/net/mail/qpopper/ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Berkeley POP 3 server (now maintained by Qualcomm) -.if !defined(WITHOUT_SSL) -USE_OPENSSL= yes -.endif - -.include - -.if ${OSVERSION} >= 400014 && !defined(WITHOUT_IPV6) -PATCH_SITES= http://www.imasy.or.jp/~ume/ipv6/ -PATCHFILES= qpopper4.0.5-ipv6-20030313.diff.gz -PATCH_DIST_STRIP= -p1 -.endif - -USE_AUTOCONF_VER= 213 +USE_AUTOCONF_VER= 259 USE_REINPLACE= yes GNU_CONFIGURE= yes +USE_OPENSSL= yes CONFIGURE_ENV= LIBS="-lcrypt -lmd -lutil -L${LOCALBASE}/lib" \ OS_DEFS="-DSETPROCTITLE ${OS_DEFS}" CONFIGURE_ARGS= --enable-nonauth-file=${POPUSERS_FILE} \ @@ -56,48 +45,32 @@ # PKGDEINSTALL= ${PKGINSTALL} -pre-everything:: -.if defined(APOP_ONLY) - @${ECHO_MSG} "==> The APOP_ONLY option is deprecated, please use" - @${ECHO_MSG} " WITH_APOP_ONLY instead." - @${ECHO_MSG} "==> The APOP_ONLY option will work in this version but" - @${ECHO_MSG} " not on future ones." -.endif -.if defined(FULL_POPD_DEBUG) - @${ECHO_MSG} "==> The FULL_POPD_DEBUG option is deprecated, please" - @${ECHO_MSG} " use WITH_FULL_POPD_DEBUG instead." - @${ECHO_MSG} "==> The FULL_POPD_DEBUG option will work in this version but" - @${ECHO_MSG} " not on future ones." -.endif - @${ECHO_MSG} "" - @${ECHO_MSG} "You may use the following build options:" - @${ECHO_MSG} "" - @${ECHO_MSG} "WITH_APOP_ONLY=yes builds with APOP authentication only" - @${ECHO_MSG} "WITHOUT_APOP=yes builds without APOP authentication" - @${ECHO_MSG} "WITH_DOCUMENTATION=yes installs pdf documentation" - @${ECHO_MSG} "WITH_DRAC=yes builds with Dynamic Relay Authorization" - @${ECHO_MSG} " Control support" - @${ECHO_MSG} "WITHOUT_IPV6=yes builds without IPv6 support" - @${ECHO_MSG} "WITH_FULL_POPD_DEBUG=yes builds with more verbose debugging" - @${ECHO_MSG} "WITH_PAM=yes builds with PAM authentication" - @${ECHO_MSG} "WITH_POPPASSD=yes builds the poppassd daemon" - @${ECHO_MSG} "WITHOUT_QPOPAUTH_SETUID=yes does not install qpopauth setuid to pop user" - @${ECHO_MSG} "WITH_SAMPLE_POPUSERS_FILE=yes builds a default (otherwise," - @${ECHO_MSG} " use an empty file) reject file" - @${ECHO_MSG} "WITH_SHY_ENABLED=yes enables shy mode, don't present" - @${ECHO_MSG} " qpopper version number in POP3 session" - @${ECHO_MSG} "WITHOUT_SSL=yes builds without SSL/TLS support" - @${ECHO_MSG} "WITH_STANDALONE_MODE=yes builds qpopper to be run without inetd" - @${ECHO_MSG} "WITHOUT_U_OPTION=yes forbids daemon command line option" - @${ECHO_MSG} " -u which allows, after a user authenticates," - @${ECHO_MSG} " process options to be read from a file called" - @${ECHO_MSG} " .qpopper-options in the user's home directory" - @${ECHO_MSG} " This file can be owned by and writable by the" - @${ECHO_MSG} " user. If improperly written, may cause a buffer" - @${ECHO_MSG} " overflow which may remove such user's mail box" - @${ECHO_MSG} "WITH_Y_OPTION=yes enables daemon command line option" - @${ECHO_MSG} " -y which allows the user to specify a different" - @${ECHO_MSG} " logging facility" +OPTIONS= APOP_ONLY "builds with APOP authentication only" OFF \ + APOP "builds with APOP" ON \ + DOCUMENTATION "installs pdf documentation" OFF \ + DRAC "builds with Dynamic Relay Authorization" OFF \ + IPV6 "builds with IPv6 support" ON \ + FULL_POPD_DEBUG "builds with more verbose debugging" OFF \ + PAM "builds with PAM authentication" OFF \ + POPPASSD "builds the poppassd daemon" OFF \ + QPOPAUTH_SETUID "install qpopauth setuid to pop user" ON \ + SAMPLE_POPUSERS "builds a default reject file" OFF \ + SHY_ENABLED "hide qpopper version in POP3 banner" OFF \ + SSL "builds with SSL/TLS support" ON \ + STANDALONE_MODE "builds qpopper to be run without inetd" OFF \ + U_OPTION "include support for user .qpopper-options" ON + +.include + +.if ${OSVERSION} < 400014 +WITHOUT_IPV6= yes +.endif + +.if !defined(WITHOUT_IPV6) +PATCH_SITES= http://home.tiscali.cz/~cz210552/bsdports/tarballs/ +PATCHFILES= qpopper4.0.7-inet6-20030313.diff.gz +PATCH_DIST_STRIP= -p2 +.endif .if defined(WITHOUT_APOP) QPOPAUTH= "@comment " @@ -108,7 +81,7 @@ QPOPAUTH= "" # If WITH_APOP_ONLY variable present in the environment, qpopper builds # with APOP authentication only. -.if defined(APOP_ONLY) || defined(WITH_APOP_ONLY) +.if defined(WITH_APOP_ONLY) OS_DEFS+= -DAPOP_ONLY .endif .endif @@ -128,7 +101,7 @@ # If WITH_FULL_POPD_DEBUG variable present in the environment, qpopper builds # with more verbose debugging. See also -d option to qpopper. -.if defined(FULL_POPD_DEBUG) || defined(WITH_FULL_POPD_DEBUG) +.if defined(WITH_FULL_POPD_DEBUG) CONFIGURE_ARGS+= --enable-debugging .endif @@ -160,15 +133,6 @@ CONFIGURE_ARGS+= --enable-standalone .endif -# If WITH_Y_OPTION variable present, qoppper daemon will -# accept -y command line option which allows the user to specify a -# different logging facility. -.if defined(WITH_Y_OPTION) -EXTRA_PATCHES+= \ - ${FILESDIR}/extra-patch-popper::pop_init.c \ - ${FILESDIR}/extra-patch-popper::main.c -.endif - # The default is to build without SSL/TLS support. .if !defined(WITHOUT_SSL) CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} @@ -221,7 +185,7 @@ # . install-conf-file: @if [ ! -f ${CONF_DIR}/${CONF_FILE}${SAMP_SUFX} ]; then \ - if [ -f /etc/ftpusers ] && [ -n "${WITH_SAMPLE_POPUSERS_FILE}" ]; then \ + if [ -f /etc/ftpusers ] && [ -n "${WITH_SAMPLE_POPUSERS}" ]; then \ ${INSTALL} -c -o ${POP_USER} -g ${POP_GROUP} -m ${POP_MODE_CONF} \ /etc/ftpusers ${POPUSERS_FILE}${SAMPLE_EXT} ; \ else \ diff -ruN --exclude=CVS /usr/ports/mail/qpopper/distinfo /home/hsn/hacked/qpopper/distinfo --- /usr/ports/mail/qpopper/distinfo Mon Feb 9 12:44:18 2004 +++ /home/hsn/hacked/qpopper/distinfo Sun May 8 20:14:23 2005 @@ -1,4 +1,4 @@ -MD5 (qpopper4.0.5.tar.gz) = e00853280c9e899711f0b0239d3d8f86 -SIZE (qpopper4.0.5.tar.gz) = 2281284 -MD5 (qpopper4.0.5-ipv6-20030313.diff.gz) = 1d4b68ab55b95fb1d12528c505f24e5a -SIZE (qpopper4.0.5-ipv6-20030313.diff.gz) = 53985 +MD5 (qpopper4.0.7.tar.gz) = c9e818cfca00cc196d4b883804f8c905 +SIZE (qpopper4.0.7.tar.gz) = 2350782 +MD5 (qpopper4.0.7-inet6-20030313.diff.gz) = 78d67bc88491219b83d1b4d323801a49 +SIZE (qpopper4.0.7-inet6-20030313.diff.gz) = 9015 diff -ruN --exclude=CVS /usr/ports/mail/qpopper/files/extra-patch-popper::main.c /home/hsn/hacked/qpopper/files/extra-patch-popper::main.c --- /usr/ports/mail/qpopper/files/extra-patch-popper::main.c Tue Dec 14 14:46:00 2004 +++ /home/hsn/hacked/qpopper/files/extra-patch-popper::main.c Thu Jan 1 01:00:00 1970 @@ -1,27 +0,0 @@ ---- popper/main.c.orig Thu Jan 2 00:38:40 2003 -+++ popper/main.c Tue Dec 14 11:32:49 2004 -@@ -343,6 +343,24 @@ - trace_name, fileno(trace_file) ); - break; - -+ case 'y': /* log facility */ -+ { -+ POP config; -+ POP *p = &config; -+ if ( set_option ( p, "log-facility", optarg ) == POP_SUCCESS ) { -+ closelog(); -+#ifdef SYSLOG42 -+ openlog ( pname, 0 ); -+#else -+ openlog ( pname, POP_LOGOPTS, p->log_facility ); -+#endif -+ } else { -+ fprintf ( stderr, "Error setting '-y' to %s\n", optarg ); -+ return 1; -+ } -+ } -+ break; -+ - default: - break; - } diff -ruN --exclude=CVS /usr/ports/mail/qpopper/files/extra-patch-popper::pop_init.c /home/hsn/hacked/qpopper/files/extra-patch-popper::pop_init.c --- /usr/ports/mail/qpopper/files/extra-patch-popper::pop_init.c Tue Dec 17 15:15:11 2002 +++ /home/hsn/hacked/qpopper/files/extra-patch-popper::pop_init.c Thu Jan 1 01:00:00 1970 @@ -1,18 +0,0 @@ ---- popper/pop_init.c.orig Sun Dec 1 13:49:35 2002 -+++ popper/pop_init.c Sun Dec 1 13:51:24 2002 -@@ -907,6 +907,7 @@ - fprintf ( stderr, "Error setting '-y' to %s\n", optarg ); - errflag++; - } -+ break; - - default: /* Unknown option received */ - errflag++; -@@ -979,6 +980,7 @@ - "[-u] " - "[-U] " - "[-v] " -+ "[-y log-facility] " - "\n", - argmessage[0], - xB, /* -B (or not) */ diff -ruN --exclude=CVS /usr/ports/mail/qpopper/files/patch-aa /home/hsn/hacked/qpopper/files/patch-aa --- /usr/ports/mail/qpopper/files/patch-aa Tue Apr 17 09:53:49 2001 +++ /home/hsn/hacked/qpopper/files/patch-aa Sat May 7 20:38:38 2005 @@ -1,9 +1,6 @@ - -$FreeBSD: ports/mail/qpopper/files/patch-aa,v 1.2 2001/04/17 07:53:49 sobomax Exp $ - ---- popper/Makefile.in.orig Wed Apr 4 03:23:22 2001 -+++ popper/Makefile.in Fri Apr 13 19:03:27 2001 -@@ -106,9 +106,9 @@ +--- popper/Makefile.in.orig Tue Apr 26 05:14:37 2005 ++++ popper/Makefile.in Sat May 7 20:37:09 2005 +@@ -119,9 +119,9 @@ pop_msg.o pop_parse.o pop_pass.o pop_quit.o \ pop_rset.o pop_send.o pop_stat.o pop_updt.o \ pop_user.o pop_xtnd.o pop_xmit.o popper.o \ @@ -15,8 +12,8 @@ + pop_extend.o scram.o hmac.o pop_util.o \ get_sub_opt.o msg_ptr.o drac.o pop_config.o pop_tls.o \ pop_tls_openssl.o pop_tls_sslplus.o sslplus_utils.o \ - main.o pop_cache.o genpath.o -@@ -119,17 +119,17 @@ + main.o pop_cache.o genpath.o +@@ -132,17 +132,17 @@ pop_msg.c pop_parse.c pop_pass.c pop_quit.c \ pop_rset.c pop_send.c pop_stat.c pop_updt.c \ pop_user.c pop_xtnd.c pop_xmit.c popper.c \ @@ -28,19 +25,19 @@ + pop_extend.c scram.c hmac.c pop_util.c \ get_sub_opt.c msg_ptr.c drac.c pop_config.c pop_tls.c \ pop_tls_openssl.c pop_tls_sslplus.c sslplus_utils.c \ - main.c pop_cache.c genpath.c + main.c pop_cache.c genpath.c -POPAUTHOBJS = base64.o scram.o md5.o \ +POPAUTHOBJS = scram.o \ - hmac.o popauth.o + hmac.o popauth.o -POPAUTHSRCS = base64.c scram.c md5.c \ +POPAUTHSRCS = scram.c \ hmac.c popauth.c INCLUDES = ${srcdir}/popper.h \ -@@ -180,7 +180,7 @@ - ${LIBS} +@@ -195,7 +195,7 @@ + ${LIBS} ${LDFLAGS} popauth: ${POPAUTHOBJS} - ${CC} -o popauth ${POPAUTHOBJS} ${NETWORK_LIBS} ${DBM_LIBS} \ diff -ruN --exclude=CVS /usr/ports/mail/qpopper/files/patch-popper::pop_updt.c /home/hsn/hacked/qpopper/files/patch-popper::pop_updt.c --- /usr/ports/mail/qpopper/files/patch-popper::pop_updt.c Tue Dec 14 20:24:27 2004 +++ /home/hsn/hacked/qpopper/files/patch-popper::pop_updt.c Thu Jan 1 01:00:00 1970 @@ -1,16 +0,0 @@ ---- popper/pop_updt.c.orig Tue Dec 14 17:18:10 2004 -+++ popper/pop_updt.c Tue Dec 14 17:18:57 2004 -@@ -531,11 +531,13 @@ - if ( fputs ( buffer, md ) == EOF ) - break; - -+ if ( p->bUpdate_status_hdrs ) { - sprintf ( buffer, "X-UIDL: %s", mp->uidl_str ); - if ( fputs ( buffer, md ) == EOF ) - break; - length += strlen ( buffer ) + 1; /* for CRLF */ - lines ++; -+ } - - for ( status_written = 0, inheader = 1; - fgets ( buffer, MAXMSGLINELEN, p->drop ); diff -ruN --exclude=CVS /usr/ports/mail/qpopper/pkg-descr /home/hsn/hacked/qpopper/pkg-descr --- /usr/ports/mail/qpopper/pkg-descr Tue May 23 10:56:48 2000 +++ /home/hsn/hacked/qpopper/pkg-descr Sat May 7 22:51:00 2005 @@ -3,4 +3,4 @@ Don't forget to edit /etc/inetd.conf to enable the server after installation. -WWW: http://www.eudora.com/qpopper/ +WWW: http://www.eudora.com/products/unsupported/qpopper/index.html diff -ruN --exclude=CVS /usr/ports/mail/qpopper/pkg-message /home/hsn/hacked/qpopper/pkg-message --- /usr/ports/mail/qpopper/pkg-message Fri Mar 30 15:15:38 2001 +++ /home/hsn/hacked/qpopper/pkg-message Sun May 8 11:43:19 2005 @@ -4,4 +4,3 @@ pop3 stream tcp nowait root /usr/local/libexec/qpopper qpopper -s **************************************************************************** - --- qpopper-4.0.7.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: