FreeBSD Bugzilla – Attachment 125881 Details for
Bug 169575
[MAINTAINER] mail/anubis: Convert to optionsNG
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
2012-07-01-anubis.diff
2012-07-01-anubis.diff (text/plain), 4.56 KB, created by
Jason E. Hale
on 2012-07-01 13:40:06 UTC
(
hide
)
Description:
2012-07-01-anubis.diff
Filename:
MIME Type:
Creator:
Jason E. Hale
Created:
2012-07-01 13:40:06 UTC
Size:
4.56 KB
patch
obsolete
>diff -ruN anubis.orig/Makefile anubis/Makefile >--- anubis.orig/Makefile 2012-06-03 09:54:48.000000000 -0400 >+++ anubis/Makefile 2012-07-01 08:06:32.000000000 -0400 >@@ -15,14 +15,23 @@ > MAINTAINER= bsdkaffee@gmail.com > COMMENT= Outgoing SMTP mail processor > >+LICENSE= GPLv3 >+ >+OPTIONS_DEFINE= NLS EXAMPLES GUILE GPGME GNUTLS GSASL \ >+ GDBM MYSQL PGSQL PCRE PAM SOCKS LIBWRAP >+OPTIONS_DEFAULT=GUILE GPGME GNUTLS GSASL >+NO_OPTIONS_SORT=yes >+ >+GPGME_DESC= Enable GnuPG support via GPGME >+GSASL_DESC= Enable GSASL support (required for databases) >+GDBM_DESC= Enable GDBM backend >+SOCKS_DESC= Enable SOCKS proxy support >+ > USE_RC_SUBR= anubis > USE_AUTOTOOLS= aclocal autoheader autoconf automake > ACLOCAL_ARGS= -I m4 -I am > AUTOMAKE_ARGS= --force > >-LICENSE= GPLv3 >-LICENSE_FILE= ${WRKSRC}/COPYING >- > MAN1= anubis.1 > INFO= anubis > PORTEXAMPLES= 1anubisrc 2anubisrc >@@ -31,100 +40,81 @@ > LDFLAGS+= -L${LOCALBASE}/lib > MAKE_JOBS_UNSAFE= yes > >-OPTIONS= NLS "Native language support" on \ >- GUILE "Guile support" on \ >- GPGME "GPG support via gpgme" on \ >- GNUTLS "GNU TLS support" on \ >- GSASL "GSASL support (required for databases)" on \ >- GDBM "GDBM database support" off \ >- MYSQL "MySQL database support" off \ >- PGSQL "PostgreSQL database support" off \ >- PCRE "Perl-style regular expressions" off \ >- PAM "PAM support" off \ >- SOCKS "SOCKS proxy support" off \ >- TCPWRAP "TCP wrappers" off >- > .include <bsd.port.options.mk> > > # Default requirement for anubis rc script > _REQUIRE= mail > >-.if defined(WITHOUT_NLS) >-CONFIGURE_ARGS+=--disable-nls >-PLIST_SUB+= NLS="@comment " >-.else >+.if ${PORT_OPTIONS:MNLS} > USE_ICONV= yes > USE_GETTEXT= yes > PLIST_SUB+= NLS="" >+.else >+CONFIGURE_ARGS+=--disable-nls >+PLIST_SUB+= NLS="@comment " > .endif > >-.if defined(WITHOUT_GUILE) >-CONFIGURE_ARGS+=--without-guile >-PLIST_SUB+= GUILE="@comment " >-.else >+.if ${PORT_OPTIONS:MGUILE} > LIB_DEPENDS+= guile:${PORTSDIR}/lang/guile > PORTEXAMPLES+= anubis.scm anubisrc.guile > PLIST_SUB+= GUILE="" >+.else >+CONFIGURE_ARGS+=--without-guile >+PLIST_SUB+= GUILE="@comment " > .endif > >-.if defined(WITHOUT_GPGME) >-CONFIGURE_ARGS+=--without-gpgme >+.if ${PORT_OPTIONS:MGPGME} >+LIB_DEPENDS+= gpgme:${PORTSDIR}/security/gpgme > .else >-LIB_DEPENDS+= gpgme.19:${PORTSDIR}/security/gpgme >+CONFIGURE_ARGS+=--without-gpgme > .endif > >-.if defined(WITHOUT_GNUTLS) >+.if ${PORT_OPTIONS:MGNUTLS} >+LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls >+.else > CONFIGURE_ARGS+=--without-gnutls >+.endif >+ >+.if ${PORT_OPTIONS:MGSASL} || ${PORT_OPTIONS:MGDBM} || ${PORT_OPTIONS:MMYSQL} || ${PORT_OPTIONS:MPGSQL} >+LIB_DEPENDS+= gsasl:${PORTSDIR}/security/gsasl >+PLIST_SUB+= GSASL="" > .else >-LIB_DEPENDS+= gnutls.47:${PORTSDIR}/security/gnutls >+CONFIGURE_ARGS+=--without-gsasl >+PLIST_SUB+= GSASL="@comment " > .endif > >-.if defined(WITH_GDBM) >-.undef WITHOUT_GSASL >-WITH_GSASL= yes >+.if ${PORT_OPTIONS:MGDBM} > LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm > CONFIGURE_ARGS+=--with-gdbm > .endif > >-.if defined(WITH_MYSQL) >-.undef WITHOUT_GSASL >-WITH_GSASL= yes >+.if ${PORT_OPTIONS:MMYSQL} > USE_MYSQL= yes > CONFIGURE_ARGS+=--with-mysql > _REQUIRE+= mysql > .endif > >-.if defined(WITH_PGSQL) >-.undef WITHOUT_GSASL >-WITH_GSASL= yes >+.if ${PORT_OPTIONS:MPGSQL} > USE_PGSQL= yes > CONFIGURE_ARGS+=--with-postgres > _REQUIRE+= postgresql > .endif > >-.if defined(WITHOUT_GSASL) >-CONFIGURE_ARGS+=--without-gsasl >-PLIST_SUB+= GSASL="@comment " >-.else >-LIB_DEPENDS+= gsasl.16:${PORTSDIR}/security/gsasl >-PLIST_SUB+= GSASL="" >-.endif >- >-.if defined(WITH_PCRE) >+.if ${PORT_OPTIONS:MPCRE} > LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre > CONFIGURE_ARGS+=--with-pcre > .endif > >-.if defined(WITH_PAM) && exists(/usr/lib/libpam.so) >+.if ${PORT_OPTIONS:MPAM} && exists(/usr/lib/libpam.so) > CONFIGURE_ARGS+=--with-pam > PORTEXAMPLES+= pam > .endif > >-.if defined(WITH_TCPWRAP) && exists(/usr/include/tcpd.h) >+.if ${PORT_OPTIONS:MLIBWRAP} && exists(/usr/include/tcpd.h) > CONFIGURE_ARGS+=--with-tcp-wrappers > .endif > >-.if defined(WITH_SOCKS) >+.if ${PORT_OPTIONS:MSOCKS} > CONFIGURE_ARGS+=--with-socks-proxy > .endif > >@@ -133,18 +123,18 @@ > post-patch: > @${REINPLACE_CMD} -e "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/src/headers.h > >-.if !defined(NOPORTEXAMPLES) > post-install: >+.if ${PORT_OPTIONS:MEXAMPLES} > @${MKDIR} ${EXAMPLESDIR} > ${INSTALL_DATA} ${WRKSRC}/examples/*rc ${EXAMPLESDIR} >-.if defined(WITH_GUILE) >+. if ${PORT_OPTIONS:MGUILE} > cd ${WRKSRC}/examples && \ > ${INSTALL_DATA} anubis.scm anubisrc.guile ${EXAMPLESDIR} >-.endif >-.if defined(WITH_PAM) >+. endif >+. if ${PORT_OPTIONS:MPAM} > @${MKDIR} ${EXAMPLESDIR}/pam > ${INSTALL_DATA} ${WRKSRC}/examples/pam/anubis* ${EXAMPLESDIR}/pam >-.endif >+. endif > .endif > > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 169575
: 125881