Date: 1 Jan 2003 17:49:08 -0000 From: Sergei Kolobov <sergei@kolobov.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/46669: [MAINTAINER] Update mail/anubis to 3.6.2 Message-ID: <20030101174908.51976.qmail@outpost.globcon.net>
next in thread | raw e-mail | index | archive | help
>Number: 46669 >Category: ports >Synopsis: [MAINTAINER] Update mail/anubis to 3.6.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jan 01 09:50:02 PST 2003 >Closed-Date: >Last-Modified: >Originator: Sergei Kolobov >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD outpost.globcon.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Oct 14 02:23:23 MSD 2002 sgk@outpost.globcon.net:/data/FreeBSD/obj/data/FreeBSD/src/sys/OUTPOST i386 >Description: - Update to 3.6.2 - Add WITH_GNUTLS knob to use GnuTLS instead of OpenSSL - Automatically detect and use PAM and TCP wrappers (support for these was previously in a form of compile-time WITH_* knobs) Supercedes: ports/45722 (update mail/anubis to 3.6.1) Requires: security/gnutls (ports/45348) and security/libtasn1 (ports/45347) >How-To-Repeat: >Fix: --- anubis-3.6.2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/anubis/Makefile,v retrieving revision 1.12 diff -u -r1.12 Makefile --- Makefile 2002/11/11 08:27:46 1.12 +++ Makefile 2003/01/01 17:42:34 @@ -9,16 +9,16 @@ # # Following compile-time options are available: # -# WITHOUT_OPENSSL=yes Disable the OpenSSL library support +# WITH_GNUTLS=yes Enable GnuTLS API instead of default OpenSSL API +# WITHOUT_OPENSSL=yes Disable the OpenSSL support; unless WITH_GNUTLS +# is specified, this will disables TLS/SSL suport # WITHOUT_GPGME=yes Disable the GnuPG (GPGME library) support # WITH_PCRE=yes Enable the PCRE library support -# WITH_PAM=yes Enable the Pluggable Authentication Modules support -# WITH_TCP_WRAPPERS=yes Enable the libwrap (TCP wrappers) support # ########################################################################### PORTNAME= anubis -PORTVERSION= 3.6.0 +PORTVERSION= 3.6.2 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -29,14 +29,20 @@ USE_REINPLACE= yes GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" \ MAKEINFO="makeinfo --no-split" -# OpenSSL -.if !defined(WITHOUT_OPENSSL) +# Select TLS/SSL API: either OpenSSL (default), GnuTLS, or none +.if defined(WITH_GNUTLS) +USE_GNUTLS= yes +LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls +.elif !defined(WITHOUT_OPENSSL) USE_OPENSSL= yes CONFIGURE_ARGS+= --with-openssl +.else +CONFIGURE_ARGS+= --without-gnutls .endif # GPGME @@ -53,49 +59,45 @@ .endif # PAM -.if defined(WITH_PAM) +.if exists(/usr/lib/libpam.so) +USE_PAM= yes CONFIGURE_ARGS+= --with-pam -PLIST_SUB+= PAM="" +PLIST_SUB+= PAM="" .else -PLIST_SUB+= PAM="@comment " +PLIST_SUB+= PAM="@comment " .endif # TCP Wrappers -.if defined(WITH_TCP_WRAPPERS) +.if exists(/usr/include/tcpd.h) +USE_TCP_WRAPPERS= yes CONFIGURE_ARGS+= --with-tcp-wrappers .endif MAN1= anubis.1 DOCS= AUTHORS INSTALL NEWS README THANKS TODO -pre-fetch: +pre-configure: @${ECHO_MSG} "" -.if defined(WITHOUT_OPENSSL) - @${ECHO_MSG} "Building Anubis without OpenSSL support" +.if defined(USE_OPENSSL) + @${ECHO_MSG} "Using OpenSSL as TLS/SSL API" +.elif defined(USE_GNUTLS) + @${ECHO_MSG} "Using GnuTLS as TLS/SSL API" .else - @${ECHO_MSG} "Building Anubis with OpenSSL support (default)" - @${ECHO_MSG} "-- You could define WITHOUT_OPENSSL to disable OpenSSL support" + @${ECHO_MSG} "Disabling TLS/SSL support" .endif .if defined(WITHOUT_GPGME) - @${ECHO_MSG} "Building Anubis without GnuPG (GPGME library) support" -.else - @${ECHO_MSG} "Building Anubis with GnuPG (GPGME library) support (default)" - @${ECHO_MSG} "-- You could define WITHOUT_GPGME to disable GPGME support" + @${ECHO_MSG} "Disabling GnuPG (GPGME) support" .endif .if defined(WITH_PCRE) - @${ECHO_MSG} "Building Anubis with PCRE library support" + @${ECHO_MSG} "Enabling PCRE support" .else - @${ECHO_MSG} "You could define WITH_PCRE to build Anubis with PCRE support" + @${ECHO_MSG} "You could define WITH_PCRE to enable PCRE support" .endif -.if defined(WITH_PAM) - @${ECHO_MSG} "Building Anubis with PAM library support" -.else - @${ECHO_MSG} "You could define WITH_PAM to build Anubis with PAM support" +.if defined(USE_PAM) + @${ECHO_MSG} "Enabling PAM support" .endif -.if defined(WITH_TCP_WRAPPERS) - @${ECHO_MSG} "Building Anubis with TCP wrappers support" -.else - @${ECHO_MSG} "You could define WITH_TCP_WRAPPERS to build Anubis with TCP wrappers support" +.if defined(USE_TCP_WRAPPERS) + @${ECHO_MSG} "Enabling TCP wrappers support" .endif @${ECHO_MSG} "" @@ -108,10 +110,10 @@ @${RM} -f ${WRKSRC}/doc/anubis.info* post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/anubis.sh ${PREFIX}/etc/rc.d + ${INSTALL_SCRIPT} ${WRKSRC}/anubis.sh ${PREFIX}/etc/rc.d/anubis.sh.sample @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*rc ${EXAMPLESDIR} -.if defined(WITH_PAM) +.if defined(USE_PAM) @${MKDIR} ${EXAMPLESDIR}/pam ${INSTALL_DATA} ${WRKSRC}/examples/pam/* ${EXAMPLESDIR}/pam .endif Index: distinfo =================================================================== RCS file: /home/ncvs/ports/mail/anubis/distinfo,v retrieving revision 1.7 diff -u -r1.7 distinfo --- distinfo 2002/11/11 08:27:46 1.7 +++ distinfo 2003/01/01 17:42:34 @@ -1 +1 @@ -MD5 (anubis-3.6.0.tar.gz) = 048382b1b52b1fb7a7762614fe75290b +MD5 (anubis-3.6.2.tar.gz) = 9e705e38cafe4a57025a6ad89fd73226 Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/mail/anubis/pkg-plist,v retrieving revision 1.4 diff -u -r1.4 pkg-plist --- pkg-plist 2002/10/15 15:08:35 1.4 +++ pkg-plist 2003/01/01 17:42:34 @@ -1,6 +1,6 @@ @comment $FreeBSD: ports/mail/anubis/pkg-plist,v 1.4 2002/10/15 15:08:35 naddy Exp $ sbin/anubis -etc/rc.d/anubis.sh +etc/rc.d/anubis.sh.sample @unexec install-info --delete %D/info/anubis.info %D/info/dir info/anubis.info @exec install-info %D/info/anubis.info %D/info/dir @@ -13,10 +13,10 @@ %%PORTDOCS%%@dirrm share/doc/anubis share/examples/anubis/1anubisrc share/examples/anubis/2anubisrc -share/examples/anubis/redhat-defaultrc %%PAM%%share/examples/anubis/pam/anubis %%PAM%%share/examples/anubis/pam/anubis.allow %%PAM%%share/examples/anubis/pam/anubis.deny %%PAM%%@dirrm share/examples/anubis/pam @dirrm share/examples/anubis share/locale/fr/LC_MESSAGES/anubis.mo +share/locale/tr/LC_MESSAGES/anubis.mo --- anubis-3.6.2.patch ends here --- >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?20030101174908.51976.qmail>