Index: head/mail/balsa/Makefile =================================================================== --- head/mail/balsa/Makefile (revision 398832) +++ head/mail/balsa/Makefile (revision 398833) @@ -1,58 +1,58 @@ # Created by: Glenn Johnson # $FreeBSD$ # $MCom$ PORTNAME= balsa PORTVERSION= 2.5.1 PORTREVISION= 3 CATEGORIES= mail gnome MASTER_SITES= http://pawsa.fedorapeople.org/balsa/ MAINTAINER= gnome@FreeBSD.org COMMENT= Mail reader for the GNOME desktop BUILD_DEPENDS= gnome-keyring:${PORTSDIR}/security/gnome-keyring \ itstool:${PORTSDIR}/textproc/itstool \ yelp-tools>=0:${PORTSDIR}/textproc/yelp-tools LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \ libesmtp.so:${PORTSDIR}/mail/libesmtp \ libgmime-2.6.so:${PORTSDIR}/mail/gmime26 \ libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 RUN_DEPENDS= gnome-keyring:${PORTSDIR}/security/gnome-keyring -# Depends on gtkhtml4 (which is being abandonend). When our webkitgtk3 +# Depends on gtkhtml4 (which is being abandonend). When our webkitgtk3 # in ports gets updated to > 1.10.x, balsa should depend on it. USES= desktop-file-utils gettext gmake iconv pathfix \ perl5 pkgconfig tar:bzip2 USE_GNOME= gnomeprefix gtkhtml4 intlhack libxslt INSTALLS_ICONS= yes USE_OPENSSL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-threads \ --disable-more-warnings \ --with-ssl \ --without-nm \ --with-html-widget=gtkhtml4 \ --with-gmime=2.6 \ --with-canberra CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} OPTIONS_SUB= yes OPTIONS_DEFINE= LDAP GTKSPELL GTKSV NOTIFY GPG OPTIONS_DEFAULT=LDAP GTKSPELL GTKSV NOTIFY GTKSPELL_DESC= Spell checking support GTKSV_DESC= GtkSourceview support GPG_DESC= GnuPG support GPG_CONFIGURE_WITH= gpgme GPG_LIB_DEPENDS= libgpgme.so:${PORTSDIR}/security/gpgme LDAP_USE= OPENLDAP=yes LDAP_CONFIGURE_WITH= ldap GTKSPELL_CONFIGURE_WITH= gtkspell GTKSPELL_LIB_DEPENDS= libgtkspell3-3.so:${PORTSDIR}/textproc/gtkspell3 GTKSV_USE= GNOME=gtksourceview3 GTKSV_CONFIGURE_WITH= gtksourceview NOTIFY_CONFIGURE_WITH= libnotify NOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify .include Index: head/mail/cyrus-imapd23/Makefile =================================================================== --- head/mail/cyrus-imapd23/Makefile (revision 398832) +++ head/mail/cyrus-imapd23/Makefile (revision 398833) @@ -1,193 +1,193 @@ # $FreeBSD$ PORTNAME= cyrus-imapd PORTVERSION= 2.3.19 #PORTREVISION= 10 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.cyrusimap.org/cyrus-imapd/ PKGNAMESUFFIX= 23 MAINTAINER= ume@FreeBSD.org COMMENT= The cyrus mail server, supporting POP3 and IMAP4 protocols LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 \ libpcre.so:${PORTSDIR}/devel/pcre CONFLICTS= cyrus-1.* cyrus-imapd-2.[^3].* cyrus-imapd2[^3]-2.[^3].* USE_RC_SUBR= imapd USES= cpe perl5 USE_OPENSSL= yes GNU_CONFIGURE= yes CYRUS_PREFIX= ${PREFIX}/cyrus CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ --with-cyrus-prefix=${CYRUS_PREFIX} \ --with-cyrus-user=${CYRUS_USER} \ --with-cyrus-group=${CYRUS_GROUP} \ --with-sasl=${LOCALBASE} \ --with-bdb=${BDB_LIB_NAME} \ --with-com_err \ --with-openssl=${OPENSSLBASE} \ --with-perl=${PERL5} CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib MAKE_JOBS_UNSAFE= yes CPE_VENDOR= cmu CPE_PRODUCT= cyrus_imap_server OPTIONS_DEFINE= AUTOCREATE AUTOSIEVE BDB DRAC IDLED \ LDAP_PTLOADER LISTEXT MURDER MYSQL \ NETSCAPEHACK NNTP PGSQL REPLICATION SNMP_5 \ SQLITE DOCS EXAMPLES OPTIONS_DEFAULT= BDB OPTIONS_SUB= yes AUTOCREATE_DESC= Use autocreate INBOX patch (UoA) AUTOSIEVE_DESC= Use autosievefolder patch (UoA) BDB_USE= BDB=yes BDB_CONFIGURE_ON= --with-bdb-incdir=${BDB_INCLUDE_DIR} \ --with-bdb-libdir=${LOCALBASE}/lib DRAC_DESC= Enable DRAC support DRAC_CONFIGURE_ON= --with-drac=${LOCALBASE} DRAC_BUILD_DEPENDS= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac IDLED_DESC= Enable IMAP idled support IDLED_CONFIGURE_ENABLE= idled LDAP_PTLOADER_DESC= Enable LDAP ptloader LDAP_PTLOADER_USE= OPENLDAP=yes LDAP_PTLOADER_CONFIGURE_ON=--with-ldap=${LOCALBASE} LISTEXT_DESC= Enable IMAP List extensions LISTEXT_CONFIGURE_ENABLE=listext MURDER_DESC= Enable IMAP Murder support MURDER_CONFIGURE_ENABLE=murder MURDER_CFLAGS= MURDER_MAKE_ENV= PTHREAD_LIBS="-lpthread" MYSQL_USE= MYSQL=yes MYSQL_CONFIGURE_ON= --with-mysql=yes \ --with-mysql-libdir=${LOCALBASE}/lib/mysql \ --with-mysql-incdir=${LOCALBASE}/include/mysql NETSCAPEHACK_DESC= Enable X-NETSCAPE extensions NETSCAPEHACK_CONFIGURE_ENABLE=netscapehack NNTP_DESC= Enable NNTP support NNTP_CONFIGURE_ENABLE= nntp PGSQL_DESC= Enable PostgreSQL backend (experimental) PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE} REPLICATION_DESC= Enable replication REPLICATION_CONFIGURE_ENABLE=replication SNMP_5_DESC= Enable SNMP support SNMP_5_LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp SNMP_5_CONFIGURE_ON= --with-snmp=${LOCALBASE} SNMP_5_CONFIGURE_OFF= --with-snmp=no SQLITE_DESC= Enable SQLite backend (experimental) SQLITE_USE= SQLITE=yes SQLITE_CONFIGURE_ON= --with-sqlite=${LOCALBASE} # Autocreate Inbox and Autosieve patches from UoA # WWW: http://email.uoa.gr/projects/cyrus/ AUTOCREATE_VERSION= 0.10-0 AUTOCREATE_PATCH_SITES= http://email.uoa.gr/download/cyrus/${PORTNAME}-2.3.16/:autocreate AUTOCREATE_PATCHFILES= ${PORTNAME}-2.3.16-autocreate-${AUTOCREATE_VERSION}.diff:autocreate AUTOSIEVE_VERSION= 0.6.0 AUTOSIETE_PATCH_SITES= http://email.uoa.gr/download/cyrus/${PORTNAME}-2.3.16/:autosieve AUTOSIEVE_PATCHFILES= ${PORTNAME}-2.3.16-autosieve-${AUTOSIEVE_VERSION}.diff AUTOSIEVE_BROKEN= Not buildable with autosieve patch DRAC_EXTRA_PATCHES= ${WRKSRC}/contrib/drac_auth.patch \ ${FILESDIR}/extra-patch-configure.in \ ${FILESDIR}/extra-patch-cmulocal::ucdsnmp.m4 \ ${FILESDIR}/extra-patch-cmulocal::sasl2.m4 DRAC_USE= AUTOTOOLS=autoconf,autoheader MANDIRS= ${CYRUS_PREFIX}/man PORTDOCS= * PORTEXAMPLES= * SUB_FILES= pkg-message pkg-install pkg-deinstall cyrus-imapd-man.conf -SUB_LIST= CYRUS_USER=${CYRUS_USER} CYRUS_GROUP=${CYRUS_GROUP} +SUB_LIST= CYRUS_USER=${CYRUS_USER} CYRUS_GROUP=${CYRUS_GROUP} CYRUS_USER?= cyrus CYRUS_GROUP?= cyrus MAN_MAN1= imtest installsieve lmtptest mupdatetest nntptest pop3test \ sieveshell sivtest smtptest MAN_MAN3= imclient MAN_MAN5= cyrus.conf imapd.conf krb.equiv CYRUS_MAN8= arbitron chk_cyrus ctl_cyrusdb ctl_deliver ctl_mboxlist \ cvt_cyrusdb cyr_dbtool cyr_df cyr_expire cyr_synclog deliver \ fetchnews fud idled imapd ipurge lmtpd make_md5 make_sha1 \ master mbexamine mbpath nntpd notifyd pop3d quota reconstruct \ rmnews smmapd squatter sync_client sync_reset sync_server \ syncnews timsieved tls_prune unexpunge CYRUS_PERL_MAN1=cyradm CYRUS_PERL_MAN3=Cyrus::IMAP Cyrus::IMAP::Admin Cyrus::IMAP::IMSP \ Cyrus::IMAP::Shell Cyrus::SIEVE::managesieve .include .if ${PORT_OPTIONS:MBDB} INVALID_BDB_VER=2 .else BDB_LIB_NAME= no .endif .if !exists(/usr/lib/libkrb5.a) CONFIGURE_ARGS+=--disable-gssapi .endif post-patch: @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \ -e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \ -e "s|%%CYRUS_GROUP%%|${CYRUS_GROUP}|g" \ ${WRKSRC}/tools/mkimap @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|g" \ -e "s|/usr/sieve|/var/imap/sieve|g" \ ${WRKSRC}/tools/masssievec post-patch-DRAC-on: @${RM} -rf ${WRKSRC}/autom4te.cache post-install: ${INSTALL_DATA} ${FILESDIR}/imapd.conf \ ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/tools/mkimap \ ${STAGEDIR}${CYRUS_PREFIX}/bin/mkimap ${INSTALL_SCRIPT} ${WRKSRC}/tools/masssievec \ ${STAGEDIR}${CYRUS_PREFIX}/bin/masssievec ${INSTALL_DATA} ${WRKDIR}/cyrus-imapd-man.conf \ ${STAGEDIR}${PREFIX}/etc/man.d/cyrus-imapd.conf .for s in 1 3 5 . for m in ${MAN_MAN${s}} @${ECHO_CMD} man/man${s}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for s in 1 3 . for m in ${CYRUS_PERL_MAN${s}} @${ECHO_CMD} ${SITE_MAN${s}}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for m in ${CYRUS_MAN8} @${ECHO_CMD} ${CYRUS_PREFIX}/man/man8/${m}.8.gz >> ${TMPPLIST} .endfor post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! ( -name Makefile.dist -o -name Makefile -o -name .cvsignore )" # There are already files in EXAMPLESDIR at that point, so no # need to create it. post-install-EXAMPLES-on: cd ${WRKSRC}/master/conf && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR} .include Index: head/mail/cyrus-imapd24/Makefile =================================================================== --- head/mail/cyrus-imapd24/Makefile (revision 398832) +++ head/mail/cyrus-imapd24/Makefile (revision 398833) @@ -1,210 +1,210 @@ # $FreeBSD$ PORTNAME= cyrus-imapd PORTVERSION= 2.4.18 #PORTREVISION= 0 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.cyrusimap.org/cyrus-imapd/ \ http://cyrusimap.org/releases/ PKGNAMESUFFIX= 24 MAINTAINER= ume@FreeBSD.org COMMENT= The cyrus mail server, supporting POP3 and IMAP4 protocols LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 \ libpcre.so:${PORTSDIR}/devel/pcre CONFLICTS= cyrus-1.* cyrus-imapd-2.[^4].* cyrus-imapd2[^4]-2.[^4].* USE_RC_SUBR= imapd USES= cpe perl5 USE_OPENSSL= yes GNU_CONFIGURE= yes CYRUS_PREFIX= ${PREFIX}/cyrus CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ --with-cyrus-prefix=${CYRUS_PREFIX} \ --with-cyrus-user=${CYRUS_USER} \ --with-cyrus-group=${CYRUS_GROUP} \ --with-sasl=${LOCALBASE} \ --with-bdb=${BDB_LIB_NAME} \ --with-com_err \ --with-openssl=${OPENSSLBASE} \ --with-perl=${PERL5} CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib MAKE_JOBS_UNSAFE= yes CPE_VENDOR= cmu CPE_PRODUCT= cyrus_imap_server OPTIONS_DEFINE= AUTOCREATE AUTOSIEVE BDB DRAC IDLED LDAP \ MURDER MYSQL NETSCAPEHACK NNTP PGSQL \ REPLICATION SNMP SQLITE DOCS EXAMPLES OPTIONS_DEFAULT= BDB IDLED OPTIONS_SUB= yes AUTOCREATE_DESC= Use autocreate INBOX patch (UoA) AUTOSIEVE_DESC= Use autosievefolder patch (UoA) BDB_USE= BDB=yes BDB_CONFIGURE_ON= --with-bdb-incdir=${BDB_INCLUDE_DIR} \ --with-bdb-libdir=${LOCALBASE}/lib DRAC_DESC= Enable DRAC support DRAC_CONFIGURE_ON= --with-drac=${LOCALBASE} DRAC_BUILD_DEPENDS= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac IDLED_DESC= Enable IMAP idled support IDLED_CONFIGURE_ENABLE= idled LDAP_DESC= Enable LDAP support (experimental) LDAP_USE= OPENLDAP=yes LDAP_CONFIGURE_ON= --with-ldap=${LOCALBASE} MURDER_DESC= Enable IMAP Murder support MURDER_CONFIGURE_ENABLE=murder MURDER_CFLAGS= MURDER_MAKE_ENV= PTHREAD_LIBS="-lpthread" MYSQL_USE= MYSQL=yes MYSQL_CONFIGURE_ON= --with-mysql=yes \ --with-mysql-libdir=${LOCALBASE}/lib/mysql \ --with-mysql-incdir=${LOCALBASE}/include/mysql NETSCAPEHACK_DESC= Enable X-NETSCAPE extensions NETSCAPEHACK_CONFIGURE_ENABLE=netscapehack NNTP_DESC= Enable NNTP support NNTP_CONFIGURE_ENABLE= nntp PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE} REPLICATION_DESC= Enable replication (experimental) REPLICATION_CONFIGURE_ENABLE=replication SNMP_LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp SNMP_CONFIGURE_ON= --with-snmp=${LOCALBASE} SNMP_CONFIGURE_OFF= --with-snmp=no SQLITE_USE= SQLITE=yes SQLITE_CONFIGURE_ON= --with-sqlite=${LOCALBASE} OPTIONS_RADIO= GSSAPI OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT .if exists(/usr/lib/libkrb5.a) OPTIONS_RADIO_GSSAPI+= GSSAPI_BASE OPTIONS_DEFAULT+= GSSAPI_BASE .endif GSSAPI_BASE_DESC= Use Heimdal in base GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal GSSAPI_HEIMDAL_DESC= Use Heimdal from ports GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags GSSAPI_HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal GSSAPI_MIT_DESC= Use MIT Kerberos V5 GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=mit # Autocreate Inbox and Autosieve patches from UoA # http://email.uoa.gr/projects/cyrus/ # http://blog.vx.sk/archives/13-Cyrus-IMAP-UoA.html AUTOCREATE_VERSION= 0.10-0 AUTOCREATE_PATCH_SITES= LOCAL/mm:autocreate AUTOCREATE_PATCHFILES= ${PORTNAME}-2.4.4-autocreate-${AUTOCREATE_VERSION}.patch:-p1:autocreate AUTOSIEVE_VERSION= 0.6.0 AUTOSIEVE_PATCH_SITES= LOCAL/mm:autosieve AUTOSIEVE_PATCHFILES= ${PORTNAME}-2.4.12-autosieve-${AUTOSIEVE_VERSION}.patch:-p1:autosieve AUTOSIEVE_BROKEN= Not buildable with autosieve patch DRAC_EXTRA_PATCHES= ${FILESDIR}/extra-patch-cmulocal::sasl2.m4 DRAC_USE= AUTOTOOLS=autoconf,autoheader MANDIRS= ${CYRUS_PREFIX}/man PORTDOCS= * PORTEXAMPLES= * SUB_FILES= pkg-message pkg-install pkg-deinstall cyrus-imapd-man.conf -SUB_LIST= CYRUS_USER=${CYRUS_USER} CYRUS_GROUP=${CYRUS_GROUP} +SUB_LIST= CYRUS_USER=${CYRUS_USER} CYRUS_GROUP=${CYRUS_GROUP} CYRUS_USER?= cyrus CYRUS_GROUP?= cyrus MAN_MAN1= imtest installsieve lmtptest mupdatetest nntptest pop3test \ sieveshell sivtest smtptest MAN_MAN3= imclient MAN_MAN5= cyrus.conf imapd.conf krb.equiv CYRUS_MAN8= arbitron chk_cyrus ctl_cyrusdb ctl_deliver ctl_mboxlist \ cvt_cyrusdb cyr_dbtool cyr_df cyr_expire cyr_synclog deliver \ fetchnews fud idled imapd ipurge lmtpd master mbexamine \ mbpath nntpd notifyd pop3d quota reconstruct rmnews smmapd \ squatter sync_client sync_reset sync_server syncnews \ timsieved tls_prune unexpunge CYRUS_PERL_MAN1=cyradm CYRUS_PERL_MAN3=Cyrus::IMAP Cyrus::IMAP::Admin Cyrus::IMAP::IMSP \ Cyrus::IMAP::Shell Cyrus::SIEVE::managesieve .include .if ${PORT_OPTIONS:MBDB} INVALID_BDB_VER=2 .else BDB_LIB_NAME= no .endif .if !${PORT_OPTIONS:MGSSAPI_BASE} && !${PORT_OPTIONS:MGSSAPI_HEIMDAL} && \ !${PORT_OPTIONS:MGSSAPI_MIT} CONFIGURE_ARGS+=--disable-gssapi .endif pre-patch-DRAC-on: ${PATCH} -d ${PATCH_WRKSRC} --forward --quiet -E -p1 \ < ${WRKSRC}/contrib/drac_auth.patch post-patch: @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \ -e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \ -e "s|%%CYRUS_GROUP%%|${CYRUS_GROUP}|g" \ ${WRKSRC}/tools/mkimap @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|g" \ -e "s|/usr/sieve|/var/imap/sieve|g" \ ${WRKSRC}/tools/masssievec post-patch-DRAC-on: @${RM} -rf ${WRKSRC}/autom4te.cache post-install: ${INSTALL_DATA} ${FILESDIR}/imapd.conf \ ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/tools/mkimap \ ${STAGEDIR}${CYRUS_PREFIX}/bin/mkimap ${INSTALL_SCRIPT} ${WRKSRC}/tools/masssievec \ ${STAGEDIR}${CYRUS_PREFIX}/bin/masssievec ${INSTALL_DATA} ${WRKDIR}/cyrus-imapd-man.conf \ ${STAGEDIR}${PREFIX}/etc/man.d/cyrus-imapd.conf .for s in 1 3 5 . for m in ${MAN_MAN${s}} @${ECHO_CMD} man/man${s}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for s in 1 3 . for m in ${CYRUS_PERL_MAN${s}} @${ECHO_CMD} ${SITE_MAN${s}}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for m in ${CYRUS_MAN8} @${ECHO_CMD} ${CYRUS_PREFIX}/man/man8/${m}.8.gz >> ${TMPPLIST} .endfor post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! ( -name Makefile.dist -o -name Makefile -o -name .cvsignore )" # there are already files in examplesdir at that point, so no # need to create it. post-install-EXAMPLES-on: cd ${WRKSRC}/master/conf && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR} .include Index: head/mail/cyrus-imapd25/Makefile =================================================================== --- head/mail/cyrus-imapd25/Makefile (revision 398832) +++ head/mail/cyrus-imapd25/Makefile (revision 398833) @@ -1,237 +1,237 @@ # $FreeBSD$ PORTNAME= cyrus-imapd PORTVERSION= 2.5.6 #PORTREVISION= 0 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.cyrusimap.org/cyrus-imapd/ \ http://cyrusimap.org/releases/ PKGNAMESUFFIX= 25 MAINTAINER= ume@FreeBSD.org COMMENT= The cyrus mail server, supporting POP3 and IMAP4 protocols LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 \ libpcre.so:${PORTSDIR}/devel/pcre CONFLICTS= cyrus-1.* cyrus-imapd-2.[^5].* cyrus-imapd2[^5]-2.[^5].* USE_RC_SUBR= imapd USES= cpe libtool perl5 USE_OPENSSL= yes GNU_CONFIGURE= yes CYRUS_PREFIX= ${PREFIX}/cyrus CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ --with-cyrus-prefix=${CYRUS_PREFIX} \ --with-cyrus-user=${CYRUS_USER} \ --with-cyrus-group=${CYRUS_GROUP} \ --with-sasl=${LOCALBASE} \ --with-bdb=${BDB_LIB_NAME} \ --with-com_err \ --with-openssl=${OPENSSLBASE} \ --with-perl=${PERL5} CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CPPFLAGS+= -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes CPE_VENDOR= cmu CPE_PRODUCT= cyrus_imap_server OPTIONS_DEFINE= AUTOCREATE BDB HTTP IDLED LDAP MURDER MYSQL \ NETSCAPEHACK NNTP PGSQL REPLICATION SNMP SQLITE DOCS \ EXAMPLES #OPTIONS_DEFINE+= CLAMAV DRAC OPTIONS_DEFAULT= BDB IDLED OPTIONS_SUB= yes AUTOCREATE_DESC= Enable autocreate support AUTOCREATE_CONFIGURE_ENABLE= autocreate BDB_USE= BDB=yes BDB_CONFIGURE_ON= --with-bdb-incdir=${BDB_INCLUDE_DIR} \ --with-bdb-libdir=${LOCALBASE}/lib CLAMAV_DESC= Use ClamAV CLAMAV_CONFIGURE_WITH= clamav CLAMAV_LIB_DEPENDS= libclamav.so:${PORTSDIR}/security/clamav DRAC_DESC= Enable DRAC support DRAC_CONFIGURE_ON= --with-drac=${LOCALBASE} DRAC_BUILD_DEPENDS= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac HTTP_DESC= Enable HTTP (beta quality) HTTP_CONFIGURE_ENABLE= http HTTP_LIB_DEPENDS= libjansson.so:${PORTSDIR}/devel/jansson \ libical.so:${PORTSDIR}/devel/libical HTTP_USE= GNOME=libxml2 IDLED_DESC= Enable IMAP idled support IDLED_CONFIGURE_ENABLE= idled LDAP_DESC= Enable LDAP support (experimental) LDAP_USE= OPENLDAP=yes LDAP_CONFIGURE_ON= --with-ldap=${LOCALBASE} MURDER_DESC= Enable IMAP Murder support MURDER_CONFIGURE_ENABLE=murder MURDER_CFLAGS= MURDER_MAKE_ENV= PTHREAD_LIBS="-lpthread" MYSQL_USE= MYSQL=yes MYSQL_CONFIGURE_ON= --with-mysql=yes \ --with-mysql-libdir=${LOCALBASE}/lib/mysql \ --with-mysql-incdir=${LOCALBASE}/include/mysql NETSCAPEHACK_DESC= Enable X-NETSCAPE extensions NETSCAPEHACK_CONFIGURE_ENABLE=netscapehack NNTP_DESC= Enable NNTP support NNTP_CONFIGURE_ENABLE= nntp PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE} REPLICATION_DESC= Enable replication (experimental) REPLICATION_CONFIGURE_ENABLE=replication SNMP_LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp SNMP_CONFIGURE_ON= --with-snmp=${LOCALBASE} SNMP_CONFIGURE_OFF= --with-snmp=no SQLITE_CONFIGURE_ON= --with-sqlite=${LOCALBASE} UNAMER!= uname -r OSMAJOR= ${UNAMER:C/[.-].*//} OPTIONS_RADIO= GSSAPI OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT .if exists(/usr/lib/libkrb5.a) OPTIONS_RADIO_GSSAPI+= GSSAPI_BASE .if ${OSMAJOR} >= 9 OPTIONS_DEFAULT+= GSSAPI_BASE .endif .endif GSSAPI_BASE_DESC= Use Heimdal in base GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal GSSAPI_HEIMDAL_DESC= Use Heimdal from ports GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags GSSAPI_HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal GSSAPI_MIT_DESC= Use MIT Kerberos V5 GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=mit MANDIRS= ${CYRUS_PREFIX}/man PORTDOCS= * PORTEXAMPLES= * SUB_FILES= pkg-message pkg-install pkg-deinstall cyrus-imapd-man.conf -SUB_LIST= CYRUS_USER=${CYRUS_USER} CYRUS_GROUP=${CYRUS_GROUP} +SUB_LIST= CYRUS_USER=${CYRUS_USER} CYRUS_GROUP=${CYRUS_GROUP} CYRUS_USER?= cyrus CYRUS_GROUP?= cyrus MAN_MAN1= imtest installsieve lmtptest mupdatetest nntptest pop3test \ sieveshell sivtest smtptest MAN_MAN3= imclient MAN_MAN5= cyrus.conf imapd.conf krb.equiv CYRUS_MAN8= arbitron chk_cyrus ctl_cyrusdb ctl_deliver ctl_mboxlist \ cvt_cyrusdb cyr_dbtool cyr_deny cyr_df cyr_expire cyr_info \ cyr_synclog deliver fud idled imapd ipurge lmtpd master \ mbexamine mbpath notifyd pop3d quota reconstruct rmnews \ smmapd squatter sync_client sync_reset sync_server timsieved \ tls_prune unexpunge CYRUS_PERL_MAN1=cyradm CYRUS_PERL_MAN3=Cyrus::Annotator::Daemon Cyrus::Annotator::Message \ Cyrus::IMAP Cyrus::IMAP::Admin Cyrus::IMAP::IMSP \ Cyrus::IMAP::Shell Cyrus::SIEVE::managesieve .include .if ${PORT_OPTIONS:MBDB} INVALID_BDB_VER=2 .else BDB_LIB_NAME= no .endif .if ${PORT_OPTIONS:MCLAMAV} IGNORE= CLAMAV is not available yet .endif PLIST_SUB+= CLAMAV="@comment " .if ${PORT_OPTIONS:MDRAC} IGNORE= DRAC is not available # EXTRA_PATCHES+= ${FILESDIR}/extra-patch-cmulocal__sasl2.m4 # USE_AUTOTOOLS= autoconf autoheader .endif .if ${PORT_OPTIONS:MHTTP} || ${PORT_OPTIONS:MSQLITE} USE_SQLITE=yes .endif .if !${PORT_OPTIONS:MGSSAPI_BASE} && !${PORT_OPTIONS:MGSSAPI_HEIMDAL} && \ !${PORT_OPTIONS:MGSSAPI_MIT} CONFIGURE_ARGS+=--disable-gssapi .endif .if ${PORT_OPTIONS:MHTTP} CYRUS_MAN8+= ctl_zoneinfo httpd .endif .if ${PORT_OPTIONS:MNNTP} CYRUS_MAN8+= fetchnews nntpd .endif .if ${PORT_OPTIONS:MDRAC} pre-patch: ${PATCH} -d ${PATCH_WRKSRC} --forward --quiet -E -p1 \ < ${WRKSRC}/contrib/drac_auth.patch .endif post-patch: @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \ -e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \ -e "s|%%CYRUS_GROUP%%|${CYRUS_GROUP}|g" \ ${WRKSRC}/tools/mkimap @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|g" \ -e "s|/usr/sieve|/var/imap/sieve|g" \ ${WRKSRC}/tools/masssievec @${REINPLACE_CMD} \ -e 's|$$(libdir)/\(pkgconfig\)|${PREFIX}/libdata/\1|g' \ -e 's|$$(mandir)/\(man[8]\)|${PREFIX}/cyrus/man/\1|g' \ ${WRKSRC}/Makefile.in post-patch-DRAC-on: @${RM} -rf ${WRKSRC}/autom4te.cache post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${FILESDIR}/imapd.conf \ ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/tools/mkimap \ ${STAGEDIR}${CYRUS_PREFIX}/bin/mkimap ${INSTALL_SCRIPT} ${WRKSRC}/tools/masssievec \ ${STAGEDIR}${CYRUS_PREFIX}/bin/masssievec ${INSTALL_DATA} ${WRKDIR}/cyrus-imapd-man.conf \ ${STAGEDIR}${PREFIX}/etc/man.d/cyrus-imapd.conf .for s in 1 3 5 . for m in ${MAN_MAN${s}} @${ECHO_CMD} man/man${s}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for s in 1 3 . for m in ${CYRUS_PERL_MAN${s}} @${ECHO_CMD} ${SITE_MAN${s}}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for m in ${CYRUS_MAN8} @${ECHO_CMD} ${CYRUS_PREFIX}/man/man8/${m}.8.gz >> ${TMPPLIST} .endfor post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! ( -name Makefile.dist -o -name Makefile -o -name .gitignore )" # there are already files in examplesdir at that point, so no # need to create it. post-install-EXAMPLES-on: cd ${WRKSRC}/master/conf && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR} .include Index: head/mail/postfix-current/Makefile =================================================================== --- head/mail/postfix-current/Makefile (revision 398832) +++ head/mail/postfix-current/Makefile (revision 398833) @@ -1,398 +1,398 @@ # Created by: Torsten Blum # $FreeBSD$ PORTNAME= postfix DISTVERSION= 3.0-20150719 PORTEPOCH= 4 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/ \ http://de.postfix.org/ftpmirror/ \ http://cdn.postfix.johnriley.me/mirrors/postfix-release/ \ http://www.artfiles.org/postfix.org/postfix-release/ \ http://mirror.lhsolutions.nl/postfix-release/ \ ftp://postfix.mirrors.pair.com/ #MASTER_SITES:= ${MASTER_SITES:S|$|experimental/|} MASTER_SITES:= ${MASTER_SITES:S|$|official/|} PKGNAMESUFFIX= -current DISTNAME= ${PORTNAME}-3.0.2 DIST_SUBDIR= ${PORTNAME} MAINTAINER= ohauer@FreeBSD.org COMMENT= Secure alternative to widely-used Sendmail LICENSE= IPL10 LICENSE_NAME= IBM PUBLIC LICENSE VERSION 1.0 LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept CONFLICTS_INSTALL?= courier-0.* opensmtpd-[0-9]* \ postfix-2.* postfix-base-2.* \ postfix21?-* postfix-tls-* \ sendmail-8.* sendmail+*-8.* smail-3.* zmailer-2.* USERS= postfix GROUPS= mail maildrop postfix USES= perl5 shebangfix cpe SHEBANG_LANG= perl SHEBANG_FILES= auxiliary/qshape/qshape.pl USE_RC_SUBR= postfix USE_SUBMAKE= yes USE_PERL5= build SCRIPTS_ENV+= POSTFIX_DEFAULT_MTA="${POSTFIX_DEFAULT_MTA}" OPTIONS_SUB= yes OPTIONS_DEFINE= BDB CDB DOCS EAI INST_BASE LDAP LDAP_SASL LMDB MYSQL \ NIS PCRE PGSQL SASL SPF SQLITE TEST TLS VDA OPTIONS_RADIO= RG1 RG2 OPTIONS_RADIO_RG1= DOVECOT DOVECOT2 OPTIONS_RADIO_RG2= SASLKRB5 SASLKMIT OPTIONS_DEFAULT= PCRE TLS BDB_USE= BDB=yes CDB_LIB_DEPENDS= libcdb.so:${PORTSDIR}/databases/tinycdb EAI_LIB_DEPENDS= libicuuc.so:${PORTSDIR}/devel/icu LDAP_USE= OPENLDAP=yes LMDB_LIB_DEPENDS= liblmdb.so:${PORTSDIR}/databases/lmdb MYSQL_USE= MYSQL=yes PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre PGSQL_USES= pgsql SASLKMIT_LIB_DEPENDS= libkrb5.so:${PORTSDIR}/security/krb5 SASL_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 SPF_LIB_DEPENDS= libspf2.so:${PORTSDIR}/mail/libspf2 SQLITE_USE= SQLITE=yes TLS_USE= OPENSSL=yes CDB_DESC= CDB maps lookups EAI_DESC= Email Address Internationalization (EAI, RFC 6531..6533) INST_BASE_DESC= Install into /usr and /etc/postfix LDAP_DESC= LDAP maps (uses WITH_OPENLDAP_VER) LDAP_SASL_DESC= LDAP client-to-server SASL auth LMDB_DESC= LMDB maps SPF_DESC= SPF support (via libspf2 1.2.x) TEST_DESC= SMTP/LMTP test server and generator VDA_DESC= VDA (Virtual Delivery Agent) RG1_DESC= Dovecot SASL authentication methods DOVECOT_DESC= Dovecot 1.x SASL authentication method DOVECOT2_DESC= Dovecot 2.x SASL authentication method RG2_DESC= Kerberos network authentication protocol type SASLKRB5_DESC= If your SASL req. Kerberos5, select this SASLKMIT_DESC= If your SASL req. MIT Kerberos5, select this .include HTML1= body_checks.5.html bounce.5.html postfix-power.png \ scache.8.html tlsmgr.8.html STRIP_LIBEXEC= anvil bounce cleanup discard dnsblog error flush lmtp local master \ nqmgr oqmgr pickup pipe postscreen proxymap qmgr qmqpd scache showq \ smtp smtpd spawn tlsmgr tlsproxy trivial-rewrite verify virtual .if !defined(BATCH) && !defined(PACKAGE_BUILDING) && exists(/etc/mail/mailer.conf) OLD_MAILER!= ${GREP} -m 1 '^purgestat' /etc/mail/mailer.conf || ${ECHO_CMD} .if !empty(OLD_MAILER) IS_INTERACTIVE= yes .endif .endif .if !defined(DEBUG) MAKEFILEFLAGS+= DEBUG= .endif MAKEFILEFLAGS+= pie=yes CC="${CC}" OPT="${CFLAGS}" .if ${PORT_OPTIONS:MINST_BASE} PKGNAMESUFFIX= -base PREFIX= /usr ETCDIR= /etc/postfix PLIST_SUB+= BMAN="share/" .else PLIST_SUB+= BMAN="" .endif PLIST_SUB+= PFETC=${ETCDIR} .if ${PORT_OPTIONS:MDOCS} PORTDOCS= * READMEDIR= ${DOCSDIR} .else READMEDIR= no .endif # dynamic direcory location DAEMONDIR= ${PREFIX}/libexec/postfix SHLIB_DIRECTORY=${PREFIX}/lib/postfix # new proposed location is ETCDIR (see README_FILES/INSTALL) # keep compatiblity with Postfix 2.6 .. 2.11 and use DAEMOMDIR META_DIRECTORY= ${DAEMONDIR} SUB_LIST+= REQUIRE="${_REQUIRE}" READMEDIR="${READMEDIR}" \ DAEMONDIR="${DAEMONDIR}" META_DIRECTORY="${META_DIRECTORY}" SUB_FILES+= pkg-install pkg-message POSTFIX_CCARGS+= -DDEF_CONFIG_DIR=\\\"${ETCDIR}\\\" \ -DDEF_DAEMON_DIR=\\\"${DAEMONDIR}\\\" \ -DDEF_META_DIR=\\\"${META_DIRECTORY}\\\" \ -DDEF_COMMAND_DIR=\\\"${PREFIX}/sbin\\\" \ -DDEF_SENDMAIL_PATH=\\\"${PREFIX}/sbin/sendmail\\\" \ -DDEF_NEWALIAS_PATH=\\\"${PREFIX}/bin/newaliases\\\" \ -DDEF_MAILQ_PATH=\\\"${PREFIX}/bin/mailq\\\" \ -DDEF_MANPAGE_DIR=\\\"${MANPREFIX}/man\\\" \ -DDEF_README_DIR=\\\"${READMEDIR}\\\" \ -DDEF_HTML_DIR=\\\"${READMEDIR}\\\" \ -DDEF_QUEUE_DIR=\\\"/var/spool/postfix\\\" \ -DDEF_DATA_DIR=\\\"/var/db/postfix\\\" \ -DDEF_MAIL_OWNER=\\\"postfix\\\" \ -DDEF_SGID_GROUP=\\\"maildrop\\\" \ -Wmissing-prototypes -Wformat -Wno-comment # Default requirement for postfix rc script _REQUIRE= LOGIN cleanvar .if ${PORT_OPTIONS:MEAI} POSTFIX_CCARGS+= -DHAS_EAI -I${LOCALBASE}/include POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -licuuc .else POSTFIX_CCARGS+= -DNO_EAI .endif .if ${PORT_OPTIONS:MPCRE} DYN_EXT+= pcre POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include POSTFIX_DYN_AUXLIBS+= "AUXLIBS_PCRE=`${LOCALBASE}/bin/pcre-config --libs`" .else POSTFIX_CCARGS+= -DNO_PCRE .endif .if ${PORT_OPTIONS:MSASL} POSTFIX_CCARGS+= -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I${LOCALBASE}/include -I${LOCALBASE}/include/sasl POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lsasl2 -lpam -lcrypt .endif .if ${PORT_OPTIONS:MDOVECOT} || ${PORT_OPTIONS:MDOVECOT2} .if ${PORT_OPTIONS:MDOVECOT} RUN_DEPENDS+= dovecot:${PORTSDIR}/mail/dovecot .else RUN_DEPENDS+= dovecot:${PORTSDIR}/mail/dovecot2 .endif POSTFIX_CCARGS+= -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\" _REQUIRE+= dovecot .endif .if ${PORT_OPTIONS:MSASLKRB5} POSTFIX_AUXLIBS+= -lkrb5 -lhx509 -lcrypto -lcrypt -lcom_err -lasn1 -lroken .endif .if ${PORT_OPTIONS:MSASLKMIT} POSTFIX_AUXLIBS+= -Wl,--rpath,$${KRB5_HOME:-${LOCALBASE}}/lib -lkrb5 -lcrypto -lcrypt -lcom_err .endif .if ${PORT_OPTIONS:MTLS} POSTFIX_CCARGS+= -DUSE_TLS -I${OPENSSLINC} # XXX LDFLAGS possible breaks dynamic building POSTFIX_AUXLIBS+= -L${OPENSSLLIB} ${LDFLAGS} -lssl -lcrypto .else POSTFIX_CCARGS+= -DNO_TLS .endif .if ${PORT_OPTIONS:MSPF} BROKEN= At the moment, SPF support is unavailable for ${PORTNAME}-${DISTVERSION} PATCH_SITES+= LOCAL/mm PATCHFILES+= postfix-2.8.0-libspf2-1.2.x-0.patch.gz PATCH_DIST_STRIP= -p1 POSTFIX_CCARGS+= -DHAVE_NS_TYPE -DHAS_SPF -I${LOCALBASE}/include POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lspf2 .endif .if ${PORT_OPTIONS:MBDB} POSTFIX_CCARGS+= -I${BDB_INCLUDE_DIR} POSTFIX_AUXLIBS+= -L${BDB_LIB_DIR} -l${BDB_LIB_NAME} .endif .if ${PORT_OPTIONS:MMYSQL} DYN_EXT+= mysql POSTFIX_CCARGS+= -DHAS_MYSQL -I${LOCALBASE}/include/mysql POSTFIX_DYN_AUXLIBS+= "AUXLIBS_MYSQL=-L${LOCALBASE}/lib/mysql -lmysqlclient -lz -lm" _REQUIRE+= mysql .endif .if ${PORT_OPTIONS:MPGSQL} DYN_EXT+= pgsql POSTFIX_CCARGS+= -DHAS_PGSQL -I${LOCALBASE}/include POSTFIX_DYN_AUXLIBS+= "AUXLIBS_PGSQL=-L${LOCALBASE}/lib -lpq" _REQUIRE+= postgresql .endif .if ${PORT_OPTIONS:MSQLITE} DYN_EXT+= sqlite POSTFIX_CCARGS+= -DHAS_SQLITE -I${LOCALBASE}/include POSTFIX_DYN_AUXLIBS+= "AUXLIBS_SQLITE=-L${LOCALBASE}/lib -lsqlite3 -lpthread" .endif .if ${PORT_OPTIONS:MLDAP} DYN_EXT+= ldap . if defined(WITH_OPENLDAP_VER) WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER} . endif POSTFIX_CCARGS+= -DHAS_LDAP -I${LOCALBASE}/include POSTFIX_DYN_AUXLIBS+= "AUXLIBS_LDAP=-L${LOCALBASE}/lib -lldap -L${LOCALBASE}/lib -llber" _REQUIRE+= slapd . if ${PORT_OPTIONS:MLDAP_SASL} . if ! ${PORT_OPTIONS:MSASL} LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 . endif WANT_OPENLDAP_SASL= yes POSTFIX_CCARGS+= -I${LOCALBASE}/include/sasl -DUSE_LDAP_SASL . endif .endif .if ${PORT_OPTIONS:MCDB} DYN_EXT+= cdb POSTFIX_CCARGS+= -DHAS_CDB -I${LOCALBASE}/include POSTFIX_DYN_AUXLIBS+= "AUXLIBS_CDB=-L${LOCALBASE}/lib -lcdb" .endif .if ${PORT_OPTIONS:MNIS} POSTFIX_CCARGS+= -DHAS_NIS _REQUIRE+= ypserv .endif .if ${PORT_OPTIONS:MVDA} BROKEN= At the moment, VDA support is unavailable for ${PORTNAME}-${DISTVERSION} .endif .if ${PORT_OPTIONS:MTEST} BINTEST= qmqp-sink qmqp-source smtp-sink smtp-source MANTEST= qmqp-sink.1 qmqp-source.1 smtp-sink.1 smtp-source.1 .endif .if ${PORT_OPTIONS:MLMDB} DYN_EXT+= lmdb POSTFIX_CCARGS+= -DHAS_LMDB -I${LOCALBASE}/include POSTFIX_DYN_AUXLIBS+= "AUXLIBS_LMDB=-L${LOCALBASE}/lib -llmdb" .endif # sed script for files in ${WRKSRC}/README_FILES ${WRKSRC}/conf ${WRKSRC}/man REINPLACE= s!^PATH=.*!PATH=/bin:/sbin:/usr/bin:/usr/sbin:${PREFIX}/bin:${PREFIX}/sbin!;\ s!(_directory = )/usr/!\1${PREFIX}/!g;\ s!^(data_directory = /var/)lib/!\1db/!g;\ s!^\#(mynetworks_style = host)!\1!g;\ s!^(sendmail_path =)!\1 ${PREFIX}/sbin/sendmail!g;\ s!^(newaliases_path =)!\1 ${PREFIX}/bin/newaliases!g;\ s!^(mailq_path =)!\1 ${PREFIX}/bin/mailq!g;\ s!^(setgid_group =)!\1 maildrop!g;\ s!^(manpage_directory =)!\1 ${MANPREFIX}/man!g;\ s!^((html|readme)_directory =)!\1 ${READMEDIR}!g;\ \!^\#alias_database = dbm:/etc/mail/aliases$$!d;\ s!(:|= )/etc/postfix!\1$$config_directory!g;\ s!/etc/postfix!${ETCDIR}!g;\ s!^(sample_directory =)!\1 ${ETCDIR}!g;\ s!($config_directory/(access|aliases|canonical|generic|header_checks|relocated|transport|virtual):f:root:-:644:)p1!\1o!; pre-patch: .if ${PORT_OPTIONS:MSASL} && ! ${PORT_OPTIONS:MMYSQL} && exists(${LOCALBASE}/lib/libsasl2.a) @if /usr/bin/nm ${LOCALBASE}/lib/libsasl2.a | ${GREP} -wq "mysql_init"; then \ ${ECHO_MSG}; \ ${ECHO_MSG} "Your SASL library it's compiled with MYSQL"; \ ${ECHO_MSG} "If you use MYSQL in ${PORTNAME} consider CTRL+C and"; \ ${ECHO_MSG} "select MYSQL OPTION in config menu."; \ ${ECHO_MSG} "# make clean config"; \ ${ECHO_MSG}; \ sleep 5; \ fi .endif @${ECHO} 'See header_checks.5.html' \ > ${WRKSRC}/html/body_checks.5.html @${REINPLACE_CMD} -E -e 's![[:<:]]perl[[:>:]]!${PERL}!' \ ${WRKSRC}/src/bounce/Makefile.in @${REINPLACE_CMD} -E -e 's!^(#define DEF_SGID_GROUP[^"]+)"postdrop"$$!\1"maildrop"!' \ ${WRKSRC}/src/global/mail_params.h @${FIND} -X ${WRKSRC}/README_FILES ${WRKSRC}/conf ${WRKSRC}/man \ -type f -a ! \( -name INSTALL -o -name aliases \) | ${XARGS} \ ${REINPLACE_CMD} -E -e '${REINPLACE}' post-patch: .for f in ${HTML1} @${ECHO} '$$html_directory/$f:f:root:-:644' \ >> ${WRKSRC}/conf/postfix-files .endfor .if ${PORT_OPTIONS:MSPF} @${ECHO} '$$readme_directory/SPF_README:f:root:-:644' \ >> ${WRKSRC}/conf/postfix-files @${REINPLACE_CMD} -E -e '${REINPLACE}' \ ${WRKSRC}/README_FILES/SPF_README .endif @${ECHO} '$$manpage_directory/man1/posttls-finger.1:f:root:-:644' \ >> ${WRKSRC}/conf/postfix-files @${ECHO} '$$command_directory/posttls-finger:f:root:-:755' \ >> ${WRKSRC}/conf/postfix-files do-configure: (cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles \ ${MAKEFILEFLAGS} CCARGS="${POSTFIX_CCARGS}" \ shared=yes shlib_directory=${SHLIB_DIRECTORY} \ dynamicmaps=yes \ ${POSTFIX_DYN_AUXLIBS} \ AUXLIBS="${POSTFIX_AUXLIBS}" && \ ${ECHO} "all: default" >> Makefile) pre-install: .if ${PORT_OPTIONS:MINST_BASE} ${MKDIR} ${STAGEDIR}/etc/rc.d .endif do-install: @(cd ${WRKSRC} && ${MAKE} non-interactive-package \ install_root=${STAGEDIR} tempdir=${WRKDIR} \ shlib_directory=${SHLIB_DIRECTORY} \ config_directory=${ETCDIR} \ command_directory=${PREFIX}/sbin \ daemon_directory=${DAEMONDIR} \ meta_directory=${META_DIRECTORY} \ html_directory=${READMEDIR} \ mailq_path=${PREFIX}/bin/mailq \ manpage_directory=${MANPREFIX}/man \ newaliases_path=${PREFIX}/bin/newaliases \ readme_directory=${READMEDIR} \ sendmail_path=${PREFIX}/sbin/sendmail ) ${INSTALL_SCRIPT} ${WRKSRC}/auxiliary/rmail/rmail ${STAGEDIR}${PREFIX}/bin/rmail ${INSTALL_SCRIPT} ${WRKSRC}/auxiliary/qshape/qshape.pl ${STAGEDIR}${PREFIX}/bin/qshape ${INSTALL_MAN} ${WRKSRC}/man/man1/qshape.1 ${STAGEDIR}${MANPREFIX}/man/man1 .if ${PORT_OPTIONS:MTEST} ${INSTALL_PROGRAM} ${BINTEST:S|^|${WRKSRC}/bin/|} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${MANTEST:S|^|${WRKSRC}/man/man1/|} ${STAGEDIR}${MANPREFIX}/man/man1 .endif post-stage: # == do not overwrite existing config ${MV} ${STAGEDIR}${ETCDIR}/main.cf ${STAGEDIR}${ETCDIR}/main.cf.sample ${MV} ${STAGEDIR}${ETCDIR}/master.cf ${STAGEDIR}${ETCDIR}/master.cf.sample -# == chop dynamicmaps.cf entries into dedicated .cf files +# == chop dynamicmaps.cf entries into dedicated .cf files # for future sub-packages support .for f in ${DYN_EXT} -# adjust dynamicmaps.cf +# adjust dynamicmaps.cf ${GREP} -e "^#" -e "^${f}" ${STAGEDIR}${META_DIRECTORY}/dynamicmaps.cf \ > ${STAGEDIR}${META_DIRECTORY}/dynamicmaps.cf.d/${f}.cf && \ ${SED} -i '' -e '/${f}/d' ${STAGEDIR}${META_DIRECTORY}/dynamicmaps.cf # adjust / generate postfix-files for dynamic modules ${SED} -i '' -e '/postfix-${f}.so/d' ${STAGEDIR}${META_DIRECTORY}/postfix-files && \ ${PRINTF} '# Do not edit this file.\ \n$$shlib_directory/postfix-${f}.so:f:root:-:755\ \n$$meta_directory/postfix-files.d/${f}-files:f:root:-:644\ \n$$meta_directory/dynamicmaps.cf.d/${f}.cf:f:root:-:644\n' \ - > ${STAGEDIR}${META_DIRECTORY}/postfix-files.d/${f}-files + > ${STAGEDIR}${META_DIRECTORY}/postfix-files.d/${f}-files .endfor # Fix compressed man pages and strip executables ${SED} -i '' -E -e "s|(man[158]/.*.[158]):|\1.gz:|g" ${STAGEDIR}${META_DIRECTORY}/postfix-files -@${STRIP_CMD} ${STRIP_LIBEXEC:S|^|${STAGEDIR}${DAEMONDIR}/|} -@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/* -@${STRIP_CMD} ${STAGEDIR}${SHLIB_DIRECTORY}/*.so .include Index: head/mail/sendmail/Makefile =================================================================== --- head/mail/sendmail/Makefile (revision 398832) +++ head/mail/sendmail/Makefile (revision 398833) @@ -1,389 +1,389 @@ # $FreeBSD$ PORTNAME= sendmail PORTVERSION= 8.15.2 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ PKGNAMESUFFIX?= ${TLS_SUFFIX}${SASL_SUFFIX}${LDAP_SUFFIX}${BDB_SUFFIX}${PKGNAMESUFFIX2} DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= dinoex@FreeBSD.org COMMENT= Reliable, highly configurable mail transfer agent with utilities CONFLICTS?= courier-0.* postfix-1.* postfix-2.* smail-3.* zmailer-2.* opensmtpd-* USERS= smmsp GROUPS= smmsp USES= cpe uidfix MAKE_ARGS= UBINOWN=${UID} UBINGRP=${GID} \ SBINOWN=${UID} SBINGRP=${GID} \ GBINOWN=${UID} GBINGRP=${GID} \ MANOWN=${UID} MANGRP=${GID} \ LIBMODE=0644 UBINMODE=0755 GBINMODE=2755 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} DOCS= KNOWNBUGS LICENSE PGPKEYS README RELEASE_NOTES \ sendmail/TRACEFLAGS sendmail/SECURITY sendmail/TUNING PLIST_SUB+= PREFIX=${PREFIX:S=${PREFIX}/==} MANPREFIX=${MANPREFIX:S=$=/=:S=${PREFIX}==:S=^/==} PKGMESSAGE= ${WRKSRC}/pkg-message WCONF= ${WRKSRC}/devtools/Site SITE= ${FILESDIR}/site.config.m4.pre4 PLIST= ${WRKDIR}/.PLIST.more LMAN1= mailq.1 newaliases.1 vacation.1 LMAN5= aliases.5 LMAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \ mail.local.8 rmail.8 editmap.8 SENDMAIL= ${PREFIX}/sbin/sendmail BASEMAIL= /usr/libexec/sendmail/sendmail MILTER_SOVER?= 6 OPTIONS_DEFINE?= SHMEM SEM LA NIS IPV6 TLS SASL SASLAUTHD LDAP BDB SOCKETMAP CYRUSLOOKUP PICKY_HELO_CHECK MILTER MILTER_SHARED MILTER_POOL TLSEXT_PADDING DOCS OPTIONS_DEFAULT?= SHMEM SEM LA NIS IPV6 TLS SASL SASLAUTHD PICKY_HELO_CHECK MILTER MILTER_SHARED MILTER_POOL NO_OPTIONS_SORT=yes SHMEM_DESC= System V shared memory support LA_DESC= load averages support TLS_DESC= SMTP-TLS and SMTPS support SASLAUTHD_DESC= SASLAUTHD support BDB_DESC= Berkeley DB version 4 support SOCKETMAP_DESC= Enable socketmap feature CYRUSLOOKUP_DESC= Enable cyruslookup feature PICKY_HELO_CHECK_DESC= Enable picky HELO check MILTER_DESC= Build libmilter MILTER_SHARED_DESC= Build shared libmilter MILTER_POOL_DESC= Enable milter thread pools TLSEXT_PADDING_DESC= Enable TLSEXT padding BDB_USE= BDB=yes LDAP_USE= OPENLDAP=yes SASL_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 SASLAUTHD_RUN_DEPENDS= ${LOCALBASE}/sbin/saslauthd:${PORTSDIR}/security/cyrus-sasl2-saslauthd .include .if ${PORT_OPTIONS:MSHMEM} && !defined(BUILDING_INDEX) IPCCHECK!= ipcrm -q 0 2>&1 || true .if ${IPCCHECK:Mimplemented} IGNORE= your system does not support sysvipc .endif .endif .if ${PORT_OPTIONS:MBDB} BDB_SUFFIX= +${BDB_INCLUDE_DIR:S,^${LOCALBASE}/include/,,} CONFLICTS+= sendmail-ldap-8.* sendmail-sasl-8.* sendmail-sasl2-8.* sendmail-tls-8.* .endif .if ${PORT_OPTIONS:MLDAP} LDAP_SUFFIX?= +ldap CONFLICTS+= sendmail-sasl-8.* sendmail-sasl2-8.* sendmail-tls-8.* .endif .if ${PORT_OPTIONS:MSASL} SASL_SUFFIX?= +sasl2 CONFLICTS+= sendmail-ldap-8.* sendmail-sasl-8.* sendmail-tls-8.* .endif .if ${PORT_OPTIONS:MCYRUSLOOKUP} .if ! ${PORT_OPTIONS:MSOCKETMAP} IGNORE= option CYRUSLOOKUP requires option SOCKETMAP .else EXTRA_PATCHES+= ${FILESDIR}/cyruslookup.patch .endif .endif .if ${PORT_OPTIONS:MTLS} TLS_SUFFIX?= +tls CONFLICTS+= sendmail-ldap-8.* sendmail-sasl-8.* sendmail-sasl2-8.* .endif MAKE_PKGNAMES= for i in "" +tls; do \ for j in "" +sasl +sasl1 +sasl2; do \ for k in "" +ldap; do \ for l in "" +db2 +db3 +db4 +db41 +db42 +db43 +db44 +db45 +db46 +db47 +db48 +db49; do \ echo "sendmail$${i}$${j}$${k}$${l}-8.*" ;\ done done done done ALL_PKGNAMES!= ${MAKE_PKGNAMES} CONFLICTS2!= ${MAKE_PKGNAMES} | grep -v "${PORTNAME}${PKGNAMESUFFIX:S|${PKGNAMESUFFIX2}||}-8." CONFLICTS+= ${CONFLICTS2} # Build site.config.m4 SITE+= ${FILESDIR}/site.config.m4 .if ${PORT_OPTIONS:MIPV6} SITE+= ${FILESDIR}/site.config.m4.ipv6 .endif .if ${PORT_OPTIONS:MSASL} SITE+= ${FILESDIR}/site.config.m4.sasl2 .endif .if ${PORT_OPTIONS:MLDAP} SITE+= ${FILESDIR}/site.config.m4.ldap .endif .if ${PORT_OPTIONS:MMILTER} SITE+= ${FILESDIR}/site.config.m4.milter .endif .if ${PORT_OPTIONS:MTLS} USE_OPENSSL= yes .endif .if ${PORT_OPTIONS:MMILTER} .if ${PORT_OPTIONS:MMILTER_SHARED} PLIST_SUB+= MILTER_SHARED="" PLIST_SUB+= MILTER_SOVER=${MILTER_SOVER} MAKE_ENV+= MILTER_SOVER=${MILTER_SOVER} .else PLIST_SUB+= MILTER_SHARED="@comment " .endif .endif SED_SCRIPT= -e "s|\`-O\'|\`${CFLAGS}\'|" \ -e 's|%%CC%%|${CC}|' -e 's|%%LD%%|${LD}|' .if ! ${PORT_OPTIONS:MNIS} SED_SCRIPT+= -e "s;-DNIS ;;" .endif post-patch: @${SED} -e "s=%%PREFIX%%=${PREFIX}=g" \ -e "s=%%LOCALBASE%%=${LOCALBASE}=g" \ -e "s=%%PORTSDIR%%=${PORTSDIR}=g" \ ${PKGDIR}/pkg-message > ${WRKSRC}/pkg-message .if ${PORT_OPTIONS:MMILTER} && ${PORT_OPTIONS:MMILTER_SHARED} @${CP} -pR ${WRKSRC}/libmilter ${WRKSRC}/libsharedmilter ${CP} ${FILESDIR}/sharedlibrary.m4 \ ${WRKSRC}/devtools/M4/UNIX/sharedlibrary.m4 ${REINPLACE_CMD} -e 's=`library=`sharedlibrary=' \ ${WRKSRC}/libsharedmilter/Makefile.m4 .endif do-configure: ${REINPLACE_CMD} ${SED_SCRIPT} ${WRKSRC}/devtools/OS/FreeBSD ${SED} -e "s=%%PREFIX%%=${PREFIX}=g" \ -e "s=%%LOCALBASE%%=${LOCALBASE}=g" \ ${SITE} > ${WCONF}/site.config.m4 .if ${PORT_OPTIONS:MBDB} ${ECHO_CMD} \ 'APPENDDEF(`confENVDEF'\'', `-I${BDB_INCLUDE_DIR}'\'')' \ >> ${WCONF}/site.config.m4 ${ECHO_CMD} \ 'APPENDDEF(`confLIBDIRS'\'', `-L${LOCALBASE}/lib'\'')' \ >> ${WCONF}/site.config.m4 .for i in sendmail editmap makemap praliases vacation ${ECHO_CMD} \ 'APPENDDEF(`conf_${i}_LIBS'\'', `-l${BDB_LIB_NAME}'\'')' \ >> ${WCONF}/site.config.m4 .endfor .endif .if ${PORT_OPTIONS:MSOCKETMAP} ${ECHO_CMD} \ 'APPENDDEF(`conf_sendmail_ENVDEF'\'', `-DSOCKETMAP'\'')' \ >> ${WCONF}/site.config.m4 .endif .if ${PORT_OPTIONS:MPICKY_HELO_CHECK} ${ECHO_CMD} \ 'APPENDDEF(`conf_sendmail_ENVDEF'\'', `-DPICKY_HELO_CHECK'\'')' \ >> ${WCONF}/site.config.m4 .endif .if ! ${PORT_OPTIONS:MSHMEM} ${ECHO_CMD} \ 'APPENDDEF(`confENVDEF'\'', `-DSM_CONF_SHM=0'\'')' \ >> ${WCONF}/site.config.m4 .endif .if ! ${PORT_OPTIONS:MSEM} ${ECHO_CMD} \ 'APPENDDEF(`confENVDEF'\'', `-DSM_CONF_SEM=0'\'')' \ >> ${WCONF}/site.config.m4 .endif .if ! ${PORT_OPTIONS:MLA} ${ECHO_CMD} \ 'APPENDDEF(`confENVDEF'\'', `-DLA_TYPE=LA_ZERO'\'')' \ >> ${WCONF}/site.config.m4 .endif -.if ${PORT_OPTIONS:MMILTER} && ${PORT_OPTIONS:MMILTER_POOL} +.if ${PORT_OPTIONS:MMILTER} && ${PORT_OPTIONS:MMILTER_POOL} ${ECHO_CMD} \ 'APPENDDEF(`conf_libmilter_ENVDEF'\'', `-DSM_CONF_POLL=1'\'')' \ >> ${WCONF}/site.config.m4 ${ECHO_CMD} \ 'APPENDDEF(`conf_libmilter_ENVDEF'\'', `-D_FFR_WORKERS_POOL=1'\'')' \ >> ${WCONF}/site.config.m4 .endif post-build: (cd ${WRKSRC}/doc/op && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} op.txt) .if ${PORT_OPTIONS:MMILTER} (cd ${BUILD_WRKSRC}/libmilter; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) .if ${PORT_OPTIONS:MMILTER_SHARED} (cd ${BUILD_WRKSRC}/libsharedmilter; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) .endif .endif pre-install: ${MKDIR} ${STAGEDIR}/etc/mail @${CAT} ${PKGDIR}/pkg-plist >${PLIST} .if ${PORT_OPTIONS:MMILTER} @${CAT} ${FILESDIR}/pkg-milter >>${PLIST} .endif @cd ${WRKSRC} && ${FIND} cf -type f | \ ${AWK} '{print "share/sendmail/" $$1}' >>${PLIST} .if ${PORT_OPTIONS:MDOCS} .for i in ${DOCS} @${ECHO_CMD} `${BASENAME} ${i}` | \ ${AWK} '{print "%%DOCSDIR%%/" $$1}' >>${PLIST} .endfor .if ${PORT_OPTIONS:MCYRUSLOOKUP} @${ECHO_CMD} "share/doc/sendmail/CYRUS_LOOKUP" >>${PLIST} .endif .endif # We want mail.local and rmail for our system. # the build install catmans only, we have to fix this. post-install: (cd ${WRKSRC}/mail.local && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} force-install) (cd ${WRKSRC}/rmail && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} force-install) .if ${PORT_OPTIONS:MMILTER} ${MKDIR} ${STAGEDIR}${PREFIX}/include/libmilter ${INSTALL_DATA} ${WRKSRC}/include/libmilter/mfapi.h \ ${WRKSRC}/include/libmilter/mfdef.h \ ${STAGEDIR}${PREFIX}/include/libmilter/ ${INSTALL_DATA} \ ${WRKSRC}/obj.`${WRKSRC}/devtools/bin/Build -A`/libmilter/libmilter.a \ ${STAGEDIR}${PREFIX}/lib/ .if ${PORT_OPTIONS:MMILTER_SHARED} ${INSTALL_LIB} \ ${WRKSRC}/obj.`${WRKSRC}/devtools/bin/Build -A`/libsharedmilter/libmilter.so \ ${STAGEDIR}${PREFIX}/lib/libmilter.so.${MILTER_SOVER} ${LN} -sf libmilter.so.${MILTER_SOVER} \ ${STAGEDIR}${PREFIX}/lib/libmilter.so .endif .endif .for i in ${LMAN8} ${INSTALL_MAN} ${WRKSRC}/*/${i} ${STAGEDIR}${MANPREFIX}/man/man8/ .endfor .for i in ${LMAN5} ${INSTALL_MAN} ${WRKSRC}/*/${i} ${STAGEDIR}${MANPREFIX}/man/man5/ .endfor .for i in ${LMAN1} ${INSTALL_MAN} ${WRKSRC}/*/${i} ${STAGEDIR}${MANPREFIX}/man/man1/ .endfor ${MKDIR} ${STAGEDIR}${PREFIX}/share/sendmail ${TAR} -C ${WRKSRC} -cf - cf | \ ${TAR} -C ${STAGEDIR}${PREFIX}/share/sendmail -xf - .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/doc/op/op.ps ${STAGEDIR}${DOCSDIR}/op.ps ${INSTALL_DATA} ${WRKSRC}/doc/op/op.txt ${STAGEDIR}${DOCSDIR}/op.txt ${INSTALL_DATA} ${WRKSRC}/devtools/README ${STAGEDIR}${DOCSDIR}/DEVTOOLS ${INSTALL_DATA} ${WRKSRC}/sendmail/README ${STAGEDIR}${DOCSDIR}/SENDMAIL ${INSTALL_DATA} ${WRKSRC}/mail.local/README ${STAGEDIR}${DOCSDIR}/MAIL.LOCAL ${INSTALL_DATA} ${WRKSRC}/smrsh/README ${STAGEDIR}${DOCSDIR}/SMRSH .if ${PORT_OPTIONS:MMILTER} ${INSTALL_DATA} ${WRKSRC}/libmilter/README ${STAGEDIR}${DOCSDIR}/MILTER ${MKDIR} ${STAGEDIR}${DOCSDIR}/libmilter ${TAR} -C ${WRKSRC}/libmilter/docs -cf - . | \ ${TAR} -C ${STAGEDIR}${DOCSDIR}/libmilter -xf - .endif .if ${PORT_OPTIONS:MCYRUSLOOKUP} ${INSTALL_DATA} ${FILESDIR}/CYRUS_LOOKUP ${STAGEDIR}${DOCSDIR}/CYRUS_LOOKUP .endif .endif ${RM} ${STAGEDIR}${PREFIX}/man/cat*/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vacation ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rmail ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/* mailer.base: @${SED} \ -e "s=^sendmail[ ]*/.*$$=sendmail ${BASEMAIL}=" \ -e "s=^send-mail[ ]*/.*$$=send-mail ${BASEMAIL}=" \ -e "s=^mailq[ ]*/.*$$=mailq ${BASEMAIL}=" \ -e "s=^newaliases[ ]*/.*$$=newaliases ${BASEMAIL}=" \ -e "s=^hoststat[ ]*/.*$$=hoststat ${BASEMAIL}=" \ -e "s=^purgestat[ ]*/.*$$=purgestat ${BASEMAIL}=" \ ${DESTDIR}/etc/mail/mailer.conf > ${DESTDIR}/etc/mail/mailer.conf.new ${MV} ${DESTDIR}/etc/mail/mailer.conf.new \ ${DESTDIR}/etc/mail/mailer.conf mailer.conf: @${SED} \ -e "s=^sendmail[ ]*/.*$$=sendmail ${SENDMAIL}=" \ -e "s=^send-mail[ ]*/.*$$=send-mail ${SENDMAIL}=" \ -e "s=^mailq[ ]*/.*$$=mailq ${SENDMAIL}=" \ -e "s=^newaliases[ ]*/.*$$=newaliases ${SENDMAIL}=" \ -e "s=^hoststat[ ]*/.*$$=hoststat ${SENDMAIL}=" \ -e "s=^purgestat[ ]*/.*$$=purgestat ${SENDMAIL}=" \ ${DESTDIR}/etc/mail/mailer.conf > ${DESTDIR}/etc/mail/mailer.conf.new ${MV} ${DESTDIR}/etc/mail/mailer.conf.new \ ${DESTDIR}/etc/mail/mailer.conf # create sumbit.cf on older systems # submit.cf: ${DESTDIR}/etc/mail/submit.cf ${DESTDIR}/etc/mail/submit.mc: ${INSTALL_DATA} ${PREFIX}/share/sendmail/cf/cf/submit.mc \ ${DESTDIR}/etc/mail/submit.mc ${DESTDIR}/etc/mail/submit.cf: ${DESTDIR}/etc/mail/submit.mc @( cd ${DESTDIR}/etc/mail && ${MAKE} \ SENDMAIL_CF_DIR=${PREFIX}/share/sendmail/cf \ SENDMAIL_MC=submit ) # create basics for smtp-auth # howto-sasldb: @${ECHO_CMD} "# Links:" @${ECHO_CMD} "#" @${ECHO_CMD} "# http://www.sendmail.org/~gshapiro/" @${ECHO_CMD} "# http://www.sendmail.org/~ca/email/auth.html" @${ECHO_CMD} "# http://www.bme.ogi.edu/~pchytil/linux/sendmail/" @${ECHO_CMD} "# http://blue-labs.org/software/sm-pgsql/" @${ECHO_CMD} "# http://www.falkotimme.com/howtos/sendmail_smtp_auth_tls/" @${ECHO_CMD} "#" # create certificates for TLS/SSL # tls-install: ${SETENV} DESTDIR=${DESTDIR} FILESDIR=${FILESDIR} \ ${SH} ${FILESDIR}/tls-install.sh help: @${ECHO_CMD} "# additional targets:" @${ECHO_CMD} "#" @${ECHO_CMD} "# configure ${DESTDIR}/etc/mail/mailer.conf" @${ECHO_CMD} "# for sendmail from ports" @${ECHO_CMD} "make mailer.conf" @${ECHO_CMD} "# for sendmail in the base" @${ECHO_CMD} "make mailer.base" @${ECHO_CMD} "#" @${ECHO_CMD} "# show howto for configuring sasldb" @${ECHO_CMD} "make howto-sasldb" @${ECHO_CMD} "#" @${ECHO_CMD} "# create a self-signed certificate" @${ECHO_CMD} "make tls-install" @${ECHO_CMD} "#" .include .if ${PORT_OPTIONS:MTLS} .if !defined(WITH_OPENSSL_BASE) SITE+= ${FILESDIR}/site.config.m4.ssl .endif SITE+= ${FILESDIR}/site.config.m4.tls .endif .if exists(${FILESDIR}/site.config.m4.local) SITE+= ${FILESDIR}/site.config.m4.local .endif .if ${PREFIX} == "/usr" pre-everything:: @${ECHO_CMD} "#" @${ECHO_CMD} "# You can't override the base sendmail this way." @${ECHO_CMD} "# your version FreeBSD use mailwrapper." @${ECHO_CMD} "#" @${ECHO_CMD} "# Please install with normal PREFIX" @${ECHO_CMD} "# and activate the port version with" @${ECHO_CMD} "# cd ${PORTSDIR}/mail/sendmail && make mailer.conf" @${ECHO_CMD} "#" @${FALSE} .endif .include Index: head/math/clfft/Makefile =================================================================== --- head/math/clfft/Makefile (revision 398832) +++ head/math/clfft/Makefile (revision 398833) @@ -1,34 +1,34 @@ # Created by: Johannes Dieterich # $FreeBSD$ PORTNAME= clfft PORTVERSION= 2.6.1 DISTVERSIONPREFIX= v CATEGORIES= math MAINTAINER= dieterich@ogolem.org -COMMENT= Software library containing FFT functions written in OpenCL +COMMENT= Software library containing FFT functions written in OpenCL LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= opencl>=0:${PORTSDIR}/devel/opencl LIB_DEPENDS= libOpenCL.so:${PORTSDIR}/devel/ocl-icd RUN_DEPENDS= opencl>=0:${PORTSDIR}/devel/opencl ONLY_FOR_ARCHS= amd64 USE_GITHUB= yes GH_ACCOUNT= clMathLibraries GH_PROJECT= clFFT USE_LDCONFIG= yes USES= cmake CMAKE_ARGS+= -DBUILD_CLIENT=OFF \ -DBUILD_TEST=OFF \ -DSUFFIX_LIB="" CMAKE_SOURCE_PATH= ${WRKSRC}/src .include Property changes on: head/math/clfft/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/math/gri/Makefile =================================================================== --- head/math/gri/Makefile (revision 398832) +++ head/math/gri/Makefile (revision 398833) @@ -1,80 +1,80 @@ # Created by: M. L. Dodson, # $FreeBSD$ PORTNAME= gri PORTVERSION= 2.12.23 PORTREVISION= 4 CATEGORIES= math MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Extensible plotting language for producing scientific graphs LIB_DEPENDS= libnetcdf.so:${PORTSDIR}/science/netcdf USES= gmake readline shebangfix makeinfo SHEBANG_FILES= doc/examples/FEM.pl src/gri_merge src/gri_unpage GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-FreeBSD CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INFO= gri USE_TEX= formats:build dvipsk:build PORTDOCS= * PORTEXAMPLES= * PLIST_FILES= bin/gri bin/gri_merge bin/gri_unpage \ man/man1/gri.1.gz man/man1/gri_merge.1.gz \ man/man1/gri_unpage.1.gz \ share/emacs/site-lisp/gri-mode.el \ %%DATADIR%%/gri.cmd \ %%DATADIR%%/logo.dat \ %%DATADIR%%/rgb.txt \ %%DATADIR%%/startup.msg OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES} BUILD_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick .endif post-patch: @${REINPLACE_CMD} -e \ '/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ '/gzip/s|^|#| ; \ /EXAMPLES_DIR/s|^|#|' ${WRKSRC}/doc/Makefile.in post-build: .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES} (cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) .else (cd ${WRKSRC}/doc && makeinfo gri.texi) .endif post-install: .if ${PORT_OPTIONS:MDOCS} (cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .else ${INSTALL_MAN} ${WRKSRC}/doc/gri-manpage.1 \ - ${STAGEDIR}${MANPREFIX}/man/man1/gri.1 + ${STAGEDIR}${MANPREFIX}/man/man1/gri.1 ${INSTALL_MAN} ${WRKSRC}/doc/gri_merge.1-skel \ ${STAGEDIR}${MANPREFIX}/man/man1/gri_merge.1 ${INSTALL_MAN} ${WRKSRC}/doc/gri_unpage.1-skel \ ${STAGEDIR}${MANPREFIX}/man/man1/gri_unpage.1 ${INSTALL_DATA} ${WRKSRC}/doc/gri.info* ${STAGEDIR}${PREFIX}/${INFO_PATH} .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/doc/examples && ${INSTALL_DATA} model* *.dat *.gri e*.ps \ ${STAGEDIR}${EXAMPLESDIR}) (cd ${WRKSRC}/doc/examples \ && ${INSTALL_SCRIPT} FEM.pl ${STAGEDIR}${EXAMPLESDIR}) .endif .include Index: head/math/scalapack/files/Makefile =================================================================== --- head/math/scalapack/files/Makefile (revision 398832) +++ head/math/scalapack/files/Makefile (revision 398833) @@ -1,11 +1,11 @@ # Makefile of Sample program # Written by NAKATA, Maho # $FreeBSD$ all: densg densg2 densg: example1.f # f77 version mpif77 -o densg example1.f -L/usr/local/lib -lscalapack -lblacs -lblacsf77 -lblacs -lf77blas - + densg2: example1.cc # C++ version mpiCC -o densg2 example1.cc -I/usr/local/mpich/include -I/usr/local/include -L/usr/local/lib -lscalapack -lblacs -lblacsf77 -lblacs -lf77blas -lg2c -lm Index: head/misc/delay/Makefile =================================================================== --- head/misc/delay/Makefile (revision 398832) +++ head/misc/delay/Makefile (revision 398833) @@ -1,21 +1,21 @@ # Created by: gmarco@giovannelli.it # $FreeBSD$ PORTNAME= delay PORTVERSION= 1.6 CATEGORIES= misc MASTER_SITES= http://onegeek.org/~tom/software/delay/dl/ \ - http://utenti.gufi.org/~gmarco/files/distfiles/ + http://utenti.gufi.org/~gmarco/files/distfiles/ MAINTAINER= gmarco@gufi.org COMMENT= Delay program with feedback to the user GNU_CONFIGURE= yes PLIST_FILES= bin/delay man/man1/delay.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/delay ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/delay.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include Index: head/misc/elscreen/Makefile =================================================================== --- head/misc/elscreen/Makefile (revision 398832) +++ head/misc/elscreen/Makefile (revision 398833) @@ -1,35 +1,35 @@ # Created by: Yoichi NAKAYAMA # $FreeBSD$ PORTNAME= elscreen PORTVERSION= 1.4.6 PORTREVISION= 9 CATEGORIES= misc elisp MASTER_SITES= ftp://ftp.morishima.net/pub/morishima.net/naoto/ElScreen/%SUBDIR%/ MASTER_SITE_SUBDIR= . old MAINTAINER= kuriyama@FreeBSD.org COMMENT= GNU screen like utility on Emacsen USE_EMACS= yes .include .if (${EMACS_PORT_NAME} == "emacs20") DEPPORT_SUFFIX= -${EMACS_PORT_NAME} .else -DEPPORT_SUFFIX= +DEPPORT_SUFFIX= .endif RUN_DEPENDS= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/emu/emu.el:${PORTSDIR}/editors/apel${DEPPORT_SUFFIX} EMACS_NO_BUILD_DEPENDS= YES NO_BUILD= YES OPTIONS_DEFINE= DOCS do-install: ${INSTALL_DATA} ${WRKSRC}/elscreen.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ChangeLog README ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/misc/mc-light/Makefile =================================================================== --- head/misc/mc-light/Makefile (revision 398832) +++ head/misc/mc-light/Makefile (revision 398833) @@ -1,54 +1,54 @@ # Created by: Roman Y. Bogdanov # $FreeBSD$ PORTNAME= mc-light PORTVERSION= 4.1.40.p9 PORTREVISION= 11 CATEGORIES= misc shells MASTER_SITES= http://mc.linuxinside.com/Releases/ DISTNAME= mc-${PORTVERSION:S/.p9/-pre9/} MAINTAINER= ports@FreeBSD.org COMMENT= Lightweight Midnight Commander clone LICENSE= GPLv2 # or later LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk CONFLICTS= mc-4.7* USES= gmake iconv pkgconfig shebangfix SHEBANG_FILES= vfs/extfs/a vfs/extfs/deb \ vfs/extfs/iso vfs/extfs/mailfs GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-included-slang \ --with-gettext \ --with-vfs \ --with-netrc \ --without-gpm-mouse \ --with-edit OPTIONS_DEFINE= NLS SUBSHELL MC_IN_MC OPTIONS_SUB= yes SUBSHELL_DESC= Build with subshell support (only for bash!) SUBSHELL_CONFIGURE_WITH= subshell MC_IN_MC_DESC= Allow run mc inside mc (useful for mcedit) MC_IN_MC_CPPFLAGS= -DMC_IN_MC_ALLOWED NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext post-patch: @${REINPLACE_CMD} '/destdir/ s|gnulocaledir|DESTDIR)$$(&|' \ ${WRKSRC}/po/Makefile.in.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mcserv .for i in a arfs audio cpio deb esp ftplist hp48 iso lha lslR mailfs patchfs rar rpm trpm uarj uha zip zoo - ${CHMOD} 755 ${STAGEDIR}${PREFIX}/share/mc/extfs/${i} + ${CHMOD} 755 ${STAGEDIR}${PREFIX}/share/mc/extfs/${i} .endfor .include Index: head/misc/tkregexp/Makefile =================================================================== --- head/misc/tkregexp/Makefile (revision 398832) +++ head/misc/tkregexp/Makefile (revision 398833) @@ -1,31 +1,31 @@ # Created by: Patrick Seal # $FreeBSD$ PORTNAME= tkregexp PORTVERSION= 3.1 CATEGORIES= misc tk MASTER_SITES= http://laurent.riesterer.free.fr/regexp/ DISTNAME= visual_regexp-${PORTVERSION} EXTRACT_SUFX= .tcl -EXTRACT_ONLY= +EXTRACT_ONLY= MAINTAINER= tcltk@FreeBSD.org COMMENT= Interactive regexp design tool USES+= dos2unix tk DOS2UNIX_FILES= visual_regexp-${PORTVERSION}.tcl NO_BUILD= yes PLIST_FILES= bin/tkregexp WRKSRC= ${WRKDIR} post-extract: ${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR} post-patch: ${REINPLACE_CMD} -e "1s|^\(.*\)|#!${WISH}|; 2d" ${WRKDIR}/visual_regexp-${PORTVERSION}.tcl do-install: ${INSTALL_SCRIPT} ${WRKDIR}/visual_regexp-${PORTVERSION}.tcl ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/multimedia/audiopreview/Makefile =================================================================== --- head/multimedia/audiopreview/Makefile (revision 398832) +++ head/multimedia/audiopreview/Makefile (revision 398833) @@ -1,22 +1,22 @@ -# Created by: kevlo +# Created by: kevlo # $FreeBSD$ PORTNAME= audiopreview PORTVERSION= 0.6 PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://audiopreview.codealpha.net/files/ MAINTAINER= kevlo@FreeBSD.org COMMENT= Command-line tool to play previews of audio and video files USES= gettext gmake pkgconfig USE_GSTREAMER= core USE_GNOME= intltool GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib PLIST_FILES= bin/audiopreview man/man1/audiopreview.1.gz .include Index: head/multimedia/gstreamer-plugins/Makefile =================================================================== --- head/multimedia/gstreamer-plugins/Makefile (revision 398832) +++ head/multimedia/gstreamer-plugins/Makefile (revision 398833) @@ -1,172 +1,172 @@ # Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ # $MCom: ports/multimedia/gstreamer-plugins/Makefile,v 1.125 2010/03/16 19:33:10 mezz Exp $ PORTNAME= gstreamer PORTVERSION?= ${BASE_PORTVERSION} -# When chasing a shared library for a plug-in bump the PORTREVISION in the +# When chasing a shared library for a plug-in bump the PORTREVISION in the # plug-in port instead, like ${category}/gstreamer-plugin-${PLUGIN}. PORTREVISION?= 6 PORTEPOCH= 3 CATEGORIES?= multimedia audio MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-plugins-base/:base \ http://gstreamer.freedesktop.org/src/gst-plugins-bad/:bad \ http://gstreamer.freedesktop.org/src/gst-plugins-good/:good \ http://gstreamer.freedesktop.org/src/gst-plugins-ugly/:ugly PKGNAMESUFFIX?= -plugins${GST_PLUGIN_SUFFIX} MAINTAINER= multimedia@FreeBSD.org COMMENT?= GStreamer written collection of plugins handling several media types BUILD_DEPENDS+= v4l_compat>=1.0.20110720:${PORTSDIR}/multimedia/v4l_compat \ gstreamer>=0.10.36:${PORTSDIR}/multimedia/gstreamer \ orc>=0.4.14:${PORTSDIR}/devel/orc LIB_DEPENDS+= libgstreamer-0.10.so:${PORTSDIR}/multimedia/gstreamer \ liborc-0.4.so:${PORTSDIR}/devel/orc PORTSCOUT= limit:0\.10\..* CFLAGS:= ${CFLAGS} -O2 -Wno-format BASE_PORTVERSION= 0.10.36 BASE_DISTNAME= gst-plugins-base-${BASE_PORTVERSION} BASE_DISTFILE= ${BASE_DISTNAME}${EXTRACT_SUFX} BAD_PORTVERSION= 0.10.23 BAD_DISTNAME= gst-plugins-bad-${BAD_PORTVERSION} BAD_DISTFILE= ${BAD_DISTNAME}${EXTRACT_SUFX} GOOD_PORTVERSION= 0.10.31 GOOD_DISTNAME= gst-plugins-good-${GOOD_PORTVERSION} GOOD_DISTFILE= ${GOOD_DISTNAME}${EXTRACT_SUFX} UGLY_PORTVERSION= 0.10.19 UGLY_DISTNAME= gst-plugins-ugly-${UGLY_PORTVERSION} UGLY_DISTFILE= ${UGLY_DISTNAME}${EXTRACT_SUFX} DIST?= good SHLIB_VERSION= 1 VERSION= ${GST_VERSION} WANT_GSTREAMER= yes USE_GNOME+= introspection:build USES= gettext gmake libtool:keepla pathfix pkgconfig shebangfix tar:bzip2 GNU_CONFIGURE= yes GST_PLUGIN?= base INSTALL_TARGET= install-strip CONFIGURE_ARGS= --disable-option-checking CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${EXTRA_LIBS} CFLAGS+= -I${LOCALBASE}/include DEFAULT_AUDIOSINK?= osssink DEFAULT_AUDIOSRC?= osssrc # Include bsd.port.options.mk and not bsd.port.pre.mk to be able to use USES .include .if ${ARCH}=="i386" PLIST_SUB+= I386="" .else PLIST_SUB+= I386="@comment " .endif .if ${GST_PLUGIN} == "base" gst_base_DIST= base NO_GSTREAMER_COMMON= yes USE_LDCONFIG= yes USE_XORG= x11 xv xext videoproto xextproto PLIST_SUB+= VERSION="${VERSION}" \ SHLIB_VERSION="${SHLIB_VERSION}" SHEBANG_FILES= tools/gst-visualise-m.m .else USE_GSTREAMER= yes .endif .include "${MASTERDIR}/Makefile.common" .if ${DIST}=="base" EXTRACT_ONLY=${BASE_DISTFILE} WRKSRC=${WRKDIR}/${BASE_DISTNAME} PORTVERSION= ${BASE_PORTVERSION} DISTFILES+= ${BASE_DISTFILE}:base PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins/files .elif ${DIST}=="bad" EXTRACT_ONLY=${BAD_DISTFILE} WRKSRC=${WRKDIR}/${BAD_DISTNAME} PORTVERSION= ${BAD_PORTVERSION} DISTFILES+= ${BAD_DISTFILE}:bad PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins-bad/files .elif ${DIST}=="ugly" EXTRACT_ONLY=${UGLY_DISTFILE} WRKSRC=${WRKDIR}/${UGLY_DISTNAME} PORTVERSION= ${UGLY_PORTVERSION} DISTFILES+= ${UGLY_DISTFILE}:ugly PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins-ugly/files .elif ${DIST}=="makesum" DISTFILES+= ${BASE_DISTFILE}:base ${BAD_DISTFILE}:bad \ ${UGLY_DISTFILE}:ugly ${GOOD_DISTFILE}:good .else EXTRACT_ONLY=${GOOD_DISTFILE} WRKSRC=${WRKDIR}/${GOOD_DISTNAME} PORTVERSION= ${GOOD_PORTVERSION} DISTFILES+= ${GOOD_DISTFILE}:good PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins-good/files .endif # cdrom default device .ifdef(WITH_CDROM_DEVICE) DEFAULT_CDROM_DEVICE=${WITH_CDROM_DEVICE} .else DEFAULT_CDROM_DEVICE=/dev/acd0 .endif # dvd default device .ifdef(WITH_DVD_DEVICE) DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE} .else DEFAULT_DVD_DEVICE=/dev/acd0 .endif post-patch: .if ${DIST}=="bad" @${REINPLACE_CMD} -e 's|opencv <= 2.2.0|opencv <= 2.3.99|g' \ -e 's|GST_LIBVERSION=23:0:0|GST_LIBVERSION=0:0:0|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|g' \ ${WRKSRC}/ext/resindvd/resindvdbin.c \ ${WRKSRC}/ext/resindvd/resindvdsrc.c .endif @${FIND} ${WRKSRC}/ext -name Makefile.in | \ ${XARGS} -n 10 ${REINPLACE_CMD} -e \ 's|$$(top_builddir)/gst-libs/gst/tag/libgsttag-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgsttag-@GST_MAJORMINOR@.la|; \ s|$$(top_builddir)/gst-libs/gst/audio/libgstaudio-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstaudio-@GST_MAJORMINOR@.la|; \ s|$$(top_builddir)/gst-libs/gst/riff/libgstriff-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstriff-@GST_MAJORMINOR@.la|; \ s|$$(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstsignalprocessor-@GST_MAJORMINOR@.la|; \ s|$$(top_builddir)/gst-libs/gst/video/libgstbasevideo-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstbasevideo-@GST_MAJORMINOR@.la|; \ s|$$(top_builddir)/gst-libs/gst/video/libgstvideo-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstvideo-@GST_MAJORMINOR@.la|; \ s|$$(top_builddir)/gst-libs/gst/cdda/libgstcdda-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstcdda-@GST_MAJORMINOR@.la|' @${FIND} ${WRKSRC} -type f | \ ${XARGS} -n 10 ${REINPLACE_CMD} -e \ 's|= 901504 && ${OSVERSION} < 902502) || \ (${OSVERSION} >= 1000037 && ${OSVERSION} < 1000056)) USE_GCC= any .endif .endif .include Index: head/multimedia/libtheora/Makefile =================================================================== --- head/multimedia/libtheora/Makefile (revision 398832) +++ head/multimedia/libtheora/Makefile (revision 398833) @@ -1,35 +1,35 @@ # Created by: Koop Mast # $FreeBSD$ PORTNAME= libtheora PORTVERSION= 1.1.1 PORTREVISION= 6 CATEGORIES= multimedia MASTER_SITES= http://downloads.xiph.org/releases/theora/ \ http://distfiles.master.finkmirrors.net/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Theora video codec for the Ogg multimedia streaming system LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-sdltest \ --disable-examples -CPPFLAGS+= -I${LOCALBASE}/include +CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip USES= libtool tar:bzip2 USE_LDCONFIG= yes .include post-patch: @${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's, x86_64), x86_64|amd64),; \ /ac_lib/ s,compat,,' ${WRKSRC}/configure .if ${ARCH}=="amd64" @${REINPLACE_CMD} -e 's|#define OC_X86_ASM|#undef OC_X86_ASM|' ${WRKSRC}/configure .endif .include Index: head/multimedia/linux-f10-libtheora/Makefile =================================================================== --- head/multimedia/linux-f10-libtheora/Makefile (revision 398832) +++ head/multimedia/linux-f10-libtheora/Makefile (revision 398833) @@ -1,29 +1,29 @@ # Created by: bsam # $FreeBSD$ PORTNAME= libtheora PORTVERSION= 1.0rc1 PORTREVISION= 1 CATEGORIES= multimedia linux MASTER_SITES= LOCAL/ehaupt/rpm/${LINUX_RPM_ARCH}/fedora/${LINUX_DIST_VER} MAINTAINER= emulation@FreeBSD.org COMMENT= Theora Video Compression Codec (Linux Fedora 10) -CONFLICTS= linux-libtheora-[0-9]* +CONFLICTS= linux-libtheora-[0-9]* ONLY_FOR_ARCHS= i386 amd64 USE_LINUX= f10 USE_LINUX_RPM= yes RPMVERSION= 2.fc10 USE_LDCONFIG= yes PLIST_FILES= usr/lib/libtheora.so.0 usr/lib/libtheora.so.0.3.3 \ usr/lib/libtheoradec.so.1 usr/lib/libtheoradec.so.1.0.0 \ usr/lib/libtheoraenc.so.1 usr/lib/libtheoraenc.so.1.0.0 DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION} PORTDOCS= COPYING README DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr .include Index: head/multimedia/smtube/Makefile =================================================================== --- head/multimedia/smtube/Makefile (revision 398832) +++ head/multimedia/smtube/Makefile (revision 398833) @@ -1,32 +1,32 @@ # Created by: Pawel Pekala # $FreeBSD$ PORTNAME= smtube PORTVERSION= 15.9.0 CATEGORIES= multimedia MASTER_SITES= SF/smtube/SMTube/${PORTVERSION}/ MAINTAINER= pawel@FreeBSD.org COMMENT= SMPlayer YouTube browser RUN_DEPENDS= smplayer:${PORTSDIR}/multimedia/smplayer USES= gmake tar:bzip2 ALL_TARGET= #empty USE_QT4= linguisttools_build moc_build qmake_build \ rcc_build script uic_build webkit MAKE_ARGS= DATA_PATH=${DATADIR} DOC_PATH=${DOCSDIR} \ LRELEASE=${LRELEASE} MAKE=${MAKE_CMD} PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} '/^QMAKE/ s|qmake|${QMAKE} ${QMAKE_ARGS:S,\$(,\$\$(,g}|' \ ${WRKSRC}/Makefile post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/net/bwi-firmware-kmod/Makefile =================================================================== --- head/net/bwi-firmware-kmod/Makefile (revision 398832) +++ head/net/bwi-firmware-kmod/Makefile (revision 398833) @@ -1,49 +1,49 @@ # Created by: Andrew Thompson # $FreeBSD$ PORTNAME= bwi-firmware PORTVERSION= ${FWVERSION} CATEGORIES= net MASTER_SITES= http://downloads.openwrt.org/sources/ \ http://mirror2.openwrt.org/sources/ PKGNAMESUFFIX= -kmod DISTFILES= ${FWFILE} -EXTRACT_ONLY= +EXTRACT_ONLY= MAINTAINER= swhetzel@gmail.com COMMENT= Broadcom AirForce IEEE 802.11 Firmware Kernel Module BUILD_DEPENDS= b43-fwcutter:${PORTSDIR}/sysutils/b43-fwcutter FIRMWARES= ucode ucode11 ucode2 ucode4 ucode5 \ a0g0bsinitvals2 a0g0bsinitvals5 a0g0initvals2 \ a0g0initvals5 a0g1bsinitvals5 a0g1initvals5 \ b0g0bsinitvals2 b0g0bsinitvals5 b0g0initvals2 b0g0initvals5 \ pcm4 pcm5 WRKSRC= ${WRKDIR} FWNAME= bwi_v3 FWFILE= wl_apsta-${FWVERSION}.0.o FWVERSION= 3.130.20 KMODNAME= ${FWNAME}_ucode PLIST_SUB= KMODNAME="${KMODNAME}" NO_PACKAGE= this is a modified version of a restricted firmware USES= kmod uidfix do-build: cd ${WRKSRC} && \ b43-fwcutter -w ${WRKSRC} ${DISTDIR}/${FWFILE} ${TOUCH} ${WRKSRC}/v3/ucode.fw @${ECHO_CMD} "KMOD= ${KMODNAME}" > ${WRKSRC}/v3/Makefile @${ECHO_CMD} "FIRMWS= ${FIRMWARES:C/.*/&.fw:${FWNAME}_&/}" >> \ ${WRKSRC}/v3/Makefile @${ECHO_CMD} ".include " >> ${WRKSRC}/v3/Makefile @cd ${WRKSRC}/v3; make all do-install: @cd ${WRKSRC}/v3; ${SETENV} ${MAKE_ENV} KMODDIR="${STAGEDIR}${KMODDIR}" make install .include Index: head/net/bwn-firmware-kmod/Makefile =================================================================== --- head/net/bwn-firmware-kmod/Makefile (revision 398832) +++ head/net/bwn-firmware-kmod/Makefile (revision 398833) @@ -1,82 +1,82 @@ # Created by: Weongyo Jeong # $FreeBSD$ PORTNAME= bwn-firmware PORTVERSION= 0.1.0 CATEGORIES= net MASTER_SITES= http://downloads.openwrt.org/sources/ \ http://mirror2.openwrt.org/sources/ PKGNAMESUFFIX= -kmod DISTFILES= ${FWFILE} ${FWFILE_LP} -EXTRACT_ONLY= +EXTRACT_ONLY= MAINTAINER= swhetzel@gmail.com COMMENT= Broadcom AirForce IEEE 802.11 Firmware Kernel Module BUILD_DEPENDS= b43-fwcutter:${PORTSDIR}/sysutils/b43-fwcutter FIRMWARES= \ ucode ucode5 ucode11 ucode13 ucode14 ucode15 \ pcm5 a0g1initvals5 a0g0initvals5 \ b0g0initvals5 b0g0initvals13 a0g1bsinitvals5 a0g0bsinitvals5 \ b0g0bsinitvals5 \ lp0initvals13 lp0initvals14 lp0initvals15 lp0bsinitvals13 \ lp0bsinitvals14 lp0bsinitvals15 \ n0bsinitvals11 FIRMWARES_LP= \ ucode ucode5 ucode11 ucode13 ucode14 ucode15 \ pcm5 a0g1initvals5 a0g0initvals5 \ b0g0initvals5 b0g0initvals13 a0g1bsinitvals5 a0g0bsinitvals5 \ b0g0bsinitvals5 \ lp0initvals13 lp0initvals14 lp0initvals15 lp0bsinitvals13 \ lp0bsinitvals14 lp0bsinitvals15 \ n0bsinitvals11 WRKSRC= ${WRKDIR} FWNAME= bwn_v4 FWFILE= broadcom-wl-${FWVERSION}.tar.bz2 FWVERSION= 4.150.10.5 KMODNAME= ${FWNAME}_ucode FWNAME_LP= bwn_v4_lp FWFILE_LP= broadcom-wl-${FWVERSION_LP}.tar.bz2 FWVERSION_LP= 4.178.10.4 KMODNAME_LP= ${FWNAME_LP}_ucode PLIST_SUB= KMODNAME="${KMODNAME}" \ KMODNAME_LP="${KMODNAME_LP}" NO_PACKAGE= this is a modified version of a restricted firmware USES= kmod uidfix do-build: cd ${WRKSRC} && \ tar xjf ${DISTDIR}/${FWFILE} mkdir -p ${WRKSRC}/bg b43-fwcutter -w ${WRKSRC}/bg \ ${WRKSRC}/broadcom-wl-${FWVERSION}/driver/wl_apsta_mimo.o ${TOUCH} ${WRKSRC}/bg/v4/ucode.fw @${ECHO_CMD} "KMOD= ${KMODNAME}" > ${WRKSRC}/bg/v4/Makefile @${ECHO_CMD} "FIRMWS= ${FIRMWARES:C/.*/&.fw:${FWNAME}_&/}" >> \ ${WRKSRC}/bg/v4/Makefile @${ECHO_CMD} ".include " >> ${WRKSRC}/bg/v4/Makefile @cd ${WRKSRC}/bg/v4; make all cd ${WRKSRC} && \ tar xjf ${DISTDIR}/${FWFILE_LP} mkdir -p ${WRKSRC}/lp b43-fwcutter -w ${WRKSRC}/lp \ ${WRKSRC}/broadcom-wl-${FWVERSION_LP}/linux/wl_apsta.o ${TOUCH} ${WRKSRC}/lp/v4/ucode.fw @${ECHO_CMD} "KMOD= ${KMODNAME_LP}" > ${WRKSRC}/lp/v4/Makefile @${ECHO_CMD} "FIRMWS= ${FIRMWARES_LP:C/.*/&.fw:${FWNAME_LP}_&/}" >> \ ${WRKSRC}/lp/v4/Makefile @${ECHO_CMD} ".include " >> ${WRKSRC}/lp/v4/Makefile @cd ${WRKSRC}/lp/v4; make all do-install: @cd ${WRKSRC}/bg/v4; ${SETENV} ${MAKE_ENV} KMODDIR="${STAGEDIR}${KMODDIR}" make install @cd ${WRKSRC}/lp/v4; ${SETENV} ${MAKE_ENV} KMODDIR="${STAGEDIR}${KMODDIR}" make install .include Index: head/net/geoclue/Makefile =================================================================== --- head/net/geoclue/Makefile (revision 398832) +++ head/net/geoclue/Makefile (revision 398833) @@ -1,25 +1,25 @@ -# Created by: Gustau Perez i Querol +# Created by: Gustau Perez i Querol # $FreeBSD$ PORTNAME= geoclue PORTVERSION= 2.2.0 CATEGORIES= net devel gnome MASTER_SITES= http://www.freedesktop.org/software/geoclue/releases/${PORTVERSION:R}/ MAINTAINER= gnome@FreeBSD.org COMMENT= D-Bus service that provides location information LIB_DEPENDS= libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib \ libsoup-2.4.so:${PORTSDIR}/devel/libsoup - + USES= gettext gmake pathfix pkgconfig tar:xz -USE_GNOME= glib20 intlhack +USE_GNOME= glib20 intlhack GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-3g-source \ --disable-cdma-source \ --disable-modem-gps-source CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .include Index: head/net/geocode-glib/Makefile =================================================================== --- head/net/geocode-glib/Makefile (revision 398832) +++ head/net/geocode-glib/Makefile (revision 398833) @@ -1,26 +1,26 @@ -# Created by: Gustau Perez i Querol +# Created by: Gustau Perez i Querol # $FreeBSD$ PORTNAME= geocode-glib PORTVERSION= 3.16.2 CATEGORIES= net devel gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Convenience library for the geocoding and reverse geocoding LIB_DEPENDS= libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib \ libsoup-2.4.so:${PORTSDIR}/devel/libsoup PORTSCOUT= limitw:1,even USES= gettext gmake libtool pathfix pkgconfig tar:xz USE_GNOME= intlhack USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib MAKE_ENV= XDG_CACHE_HOME=${WRKDIR} INSTALL_TARGET= install-strip .include Index: head/net/grilo-plugins/Makefile =================================================================== --- head/net/grilo-plugins/Makefile (revision 398832) +++ head/net/grilo-plugins/Makefile (revision 398833) @@ -1,46 +1,46 @@ # Created by: Gustau Perez i Querol # $FreeBSD$ PORTNAME= grilo-plugins PORTVERSION= 0.2.14 CATEGORIES= net MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Plugins for net/grilo BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool LIB_DEPENDS= libgrilo-0.2.so:${PORTSDIR}/net/grilo \ libavahi-gobject.so:${PORTSDIR}/net/avahi-app \ libgdata.so:${PORTSDIR}/devel/libgdata USES= gettext gmake libtool pathfix pkgconfig tar:xz USE_LDCONFIG= yes USE_GNOME= glib20 intlhack libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-youtube \ --enable-vimeo \ --enable-freebox \ --enable-tmdb CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/grilo-0.2/ LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip OPTIONS_SUB= yes OPTIONS_DEFINE= TRACKER DLEYNA DMAP METADATA OPTIONS_DEFAULT= TRACKER METADATA TRACKER_DESC= Tracker support for grilo (used by gnome-music and possibly others) -TRACKER_CONFIGURE_ENABLE= tracker +TRACKER_CONFIGURE_ENABLE= tracker TRACKER_LIB_DEPENDS= libtracker-sparql-1.0.so:${PORTSDIR}/sysutils/tracker DMAP_DESC= DMAP (DAAP, DPAP & DACP) support with libdmapsharing DMAP_CONFIGURE_ENABLE= dmap DMAP_LIB_DEPENDS= libdmapsharing-3.0.so:${PORTSDIR}/net/libdmapsharing -DLEYNA_DESC= DLNA support for grilo +DLEYNA_DESC= DLNA support for grilo DLEYNA_CONFIGURE_ENABLE= dleyna DLEYNA_LIB_DEPENDS= libsoup-2.4.so:${PORTSDIR}/devel/libsoup METADATA_DESC= Enable Local-metadata plugin METADATA_CONFIGURE_ENABLE= localmetadata METADATA_LIB_DEPENDS= libmediaart-2.0.so:${PORTSDIR}/multimedia/libmediaart .include Index: head/net/icmpinfo/Makefile =================================================================== --- head/net/icmpinfo/Makefile (revision 398832) +++ head/net/icmpinfo/Makefile (revision 398833) @@ -1,25 +1,25 @@ # Created by: David O'Brien (obrien@FreeBSD.org) # $FreeBSD$ PORTNAME= icmpinfo PORTVERSION= 1.11 CATEGORIES= net sysutils MASTER_SITES= SUNSITE/system/network/admin MAINTAINER= ports@FreeBSD.org COMMENT= Looks at the icmp messages received by the host -ALL_TARGET= +ALL_TARGET= PLIST_FILES= "@(,,4555) bin/icmpinfo" \ man/man1/icmpinfo.man.gz PORTDOCS= README do-install: ${INSTALL_PROGRAM} ${WRKSRC}/icmpinfo ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/icmpinfo.man ${STAGEDIR}${PREFIX}/man/man1/${MAN1} post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Index: head/net/libproxy-python/Makefile =================================================================== --- head/net/libproxy-python/Makefile (revision 398832) +++ head/net/libproxy-python/Makefile (revision 398833) @@ -1,37 +1,37 @@ # Created by: Koop Mast # $FreeBSD$ # $MCom: ports/net/libproxy-python/Makefile,v 1.1 2011/01/12 13:10:54 kwm Exp $ PORTREVISION= 0 CATEGORIES= net lang PKGNAMESUFFIX= -python MAINTAINER= gnome@FreeBSD.org COMMENT= python binding for libproxy LIB_DEPENDS= libproxy.so:${PORTSDIR}/net/libproxy MASTERDIR= ${.CURDIR}/../libproxy DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist USES+= python LIBPROXY_SLAVE= python do-build: -# empty +# empty post-build: ${PYTHON_CMD} -Qold ${PYTHON_LIBDIR}/compileall.py \ ${WRKSRC}/bindings/python ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ ${WRKSRC}/bindings/python do-install: @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} .for file in libproxy.py libproxy.pyc libproxy.pyo ${INSTALL_DATA} ${WRKSRC}/bindings/python/${file} \ ${STAGEDIR}${PYTHON_SITELIBDIR} .endfor .include "${MASTERDIR}/Makefile" Index: head/net/liferea/Makefile =================================================================== --- head/net/liferea/Makefile (revision 398832) +++ head/net/liferea/Makefile (revision 398833) @@ -1,41 +1,41 @@ # Created by: Hye-Shik Chang # $FreeBSD$ PORTNAME= liferea PORTVERSION= 1.10.16 CATEGORIES= net gnome MASTER_SITES= https://github.com/lwindolf/liferea/releases/download/v${PORTVERSION}/ MAINTAINER= kwm@FreeBSD.org COMMENT= Simple RSS/RDF feed reader LICENSE= GPLv2 BUILD_DEPENDS= gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas LIB_DEPENDS= libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3 \ libpeas-1.0.so:${PORTSDIR}/devel/libpeas \ libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib RUN_DEPENDS= gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas \ ${PYTHON_PKGNAMEPREFIX}libpeas>=0:${PORTSDIR}/devel/py-libpeas USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \ python:2 tar:bzip2 USE_GNOME= dconf:run gtk30 intltool introspection:build \ libxslt:build libxml2 USE_SQLITE= 3 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip CONFIGURE_ARGS= --disable-libindicate --enable-introspection GLIB_SCHEMAS= net.sf.liferea.gschema.xml INSTALLS_ICONS= yes OPTIONS_DEFINE= NOTIFY OPTIONS_DEFAULT=NOTIFY NOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify -NOTIFY_CONFIGURE_ENABLE=libnotify +NOTIFY_CONFIGURE_ENABLE=libnotify .include Index: head/net/nepenthes/Makefile =================================================================== --- head/net/nepenthes/Makefile (revision 398832) +++ head/net/nepenthes/Makefile (revision 398833) @@ -1,53 +1,53 @@ # Created by: ryo # $FreeBSD$ PORTNAME= nepenthes PORTVERSION= 0.2.2 PORTREVISION= 8 CATEGORIES= net MASTER_SITES= SF/${PORTNAME}/Nepenthes%20development/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Determine the malware activity on a network LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \ libadns.so:${PORTSDIR}/dns/adns \ libcurl.so:${PORTSDIR}/ftp/curl \ libmagic.so:${PORTSDIR}/sysutils/file USES= dos2unix libtool perl5 DOS2UNIX_FILE= modules/shellcode-generic/sch_generic_connect_trans.cpp USE_GCC= any GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS_DEFINE= DEBUG_LOGGING PRELUDE +OPTIONS_DEFINE= DEBUG_LOGGING PRELUDE DEBUG_LOGGING_CONFIGURE_ENABLE= debug-logging PRELUDE_LIB_DEPENDS= libprelude.so:${PORTSDIR}/security/libprelude PRELUDE_CONFIGURE_ENABLE= prelude post-patch: @${FIND} ${WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e \ 's|-Werror|| ; \ s|-D.*_GNU_SOURCE||' @${FIND} ${WRKSRC}/modules -name "*.[ch]pp" -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e \ '//d' @${REINPLACE_CMD} -e \ 's|-I/usr/local/include|| ; \ s|-I/usr/src/contrib/file/|| ; \ s|-L/usr/local/lib|| ; \ s|-R/usr/local/lib||' ${WRKSRC}/configure post-install: @${MKDIR} ${STAGEDIR}${DATADIR}/signatures (cd ${WRKSRC}/modules/shellcode-signatures && ${INSTALL_DATA} \ shellcode-signatures.sc ${STAGEDIR}${DATADIR}/signatures) .include Index: head/net/samba4/Makefile =================================================================== --- head/net/samba4/Makefile (revision 398832) +++ head/net/samba4/Makefile (revision 398833) @@ -1,530 +1,530 @@ # Created by: timur@FreeBSD.org # $FreeBSD$ PORTNAME?= ${SAMBA4_BASENAME}4 PORTVERSION?= ${SAMBA4_VERSION} PORTREVISION?= 0 CATEGORIES?= net MASTER_SITES= SAMBA/samba/stable SAMBA/samba/rc DISTNAME= ${SAMBA4_DISTNAME} MAINTAINER?= timur@FreeBSD.org COMMENT?= Free SMB/CIFS and AD/DC server and client for Unix LICENSE= GPLv3 CONFLICTS?= *samba3[2-6]-3.* samba41-4.1.* SAMBA4_BASENAME= samba SAMBA4_PORTNAME= ${SAMBA4_BASENAME}4 SAMBA4_VERSION= 4.0.26 SAMBA4_DISTNAME= ${SAMBA4_BASENAME}-${SAMBA4_VERSION:S|.p|pre|:S|.r|rc|:S|.t|tp|:S|.a|alpha|} WRKSRC?= ${WRKDIR}/${DISTNAME} .if !defined(SAMBA4_SUBPORT) CPE_VENDOR= samba CPE_PRODUCT= samba # Directories VARDIR= ${DESTDIR}/var SAMBA4_RUNDIR= ${VARDIR}/run/${SAMBA4_PORTNAME} SAMBA4_LOGDIR= ${VARDIR}/log/${SAMBA4_PORTNAME} SAMBA4_LOCKDIR= ${VARDIR}/db/${SAMBA4_PORTNAME} SAMBA4_PRIVATEDIR= ${SAMBA4_LOCKDIR}/private SAMBA4_LIBDIR= ${PREFIX}/lib SAMBA4_MODULEDIR= ${SAMBA4_LIBDIR}/shared-modules SAMBA4_INCLUDEDIR= ${PREFIX}/include/${SAMBA4_PORTNAME} SAMBA4_CONFDIR= ${PREFIX}/etc SAMBA4_CONFIG= smb4.conf CONFIGURE_ARGS+= --exec-prefix="${PREFIX}" \ --mandir="${MANPREFIX}/man" \ --sysconfdir="${SAMBA4_CONFDIR}" \ --includedir="${SAMBA4_INCLUDEDIR}" \ --datadir="${DATADIR}" \ --libdir="${SAMBA4_LIBDIR}" \ --with-pammodulesdir="${SAMBA4_LIBDIR}" \ --with-privatelibdir="${SAMBA4_LIBDIR}/samba" \ --with-modulesdir="${SAMBA4_MODULEDIR}" \ --with-pkgconfigdir="${PKGCONFIGDIR}" \ --localstatedir="${VARDIR}" \ --with-piddir="${SAMBA4_RUNDIR}" \ --with-sockets-dir="${SAMBA4_RUNDIR}" \ --with-privileged-socket-dir="${SAMBA4_RUNDIR}" \ --with-lockdir="${SAMBA4_LOCKDIR}" \ --with-statedir="${SAMBA4_LOCKDIR}" \ --with-cachedir="${SAMBA4_LOCKDIR}" \ --with-privatedir="${SAMBA4_PRIVATEDIR}" \ --with-logfilebase="${SAMBA4_LOGDIR}" # Flags CONFIGURE_ENV+= PTHREAD_LDFLAGS="-lpthread" USES= cpe compiler waf pkgconfig perl5 python:2 \ execinfo readline iconv shebangfix USE_PERL5= build USE_LDCONFIG= ${SAMBA4_LIBDIR} WAF_CMD= buildtools/bin/waf CONFIGURE_LOG= bin/config.log PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;} # XXX: Unconditional dependencies which can't be switched off (if present # in the system) # popt LIB_DEPENDS+= libpopt.so:${PORTSDIR}/devel/popt # inotify LIB_DEPENDS+= libinotify.so:${PORTSDIR}/devel/libinotify # SASL LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 # GNUTLS LIB_DEPENDS+= libgcrypt.so:${PORTSDIR}/security/libgcrypt LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls # NFS4 ACL glue LIB_DEPENDS+= libsunacl.so:${PORTSDIR}/sysutils/libsunacl # External Samba dependencies # IDL compiler BUILD_DEPENDS+= p5-Parse-Pidl>=4.0.0:${PORTSDIR}/devel/p5-Parse-Pidl -# +# BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.9.4:${PORTSDIR}/dns/py-dnspython RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.9.4:${PORTSDIR}/dns/py-dnspython PLIST_SUB+= PY_DNSPYTHON="@comment " # talloc BUILD_DEPENDS+= talloc>=2.1.2:${PORTSDIR}/devel/talloc RUN_DEPENDS+= talloc>=2.1.2:${PORTSDIR}/devel/talloc SAMBA4_BUNDLED_LIBS+= !talloc # tevent BUILD_DEPENDS+= tevent>=0.9.18:${PORTSDIR}/devel/tevent RUN_DEPENDS+= tevent>=0.9.18:${PORTSDIR}/devel/tevent SAMBA4_BUNDLED_LIBS+= !tevent # tdb BUILD_DEPENDS+= tdb>=1.2.11:${PORTSDIR}/databases/tdb RUN_DEPENDS+= tdb>=1.2.11:${PORTSDIR}/databases/tdb SAMBA4_BUNDLED_LIBS+= !tdb # ldb BUILD_DEPENDS+= ldb>=1.1.17:${PORTSDIR}/databases/ldb RUN_DEPENDS+= ldb>=1.1.17:${PORTSDIR}/databases/ldb SAMBA4_BUNDLED_LIBS+= !ldb # Don't use external libcom_err SAMBA4_BUNDLED_LIBS+= com_err ############################################################################## # Options OPTIONS_DEFINE= ACL_SUPPORT AD_DC ADS AIO_SUPPORT CUPS DEBUG \ DNSUPDATE DOCS FAM LDAP PAM_SMBPASS \ PTHREADPOOL QUOTAS SWAT SYSLOG UTMP OPTIONS_DEFAULT= ACL_SUPPORT AD_DC ADS AIO_SUPPORT DEBUG \ DNSUPDATE DOCS FAM LDAP PAM_SMBPASS \ PTHREADPOOL QUOTAS SWAT SYSLOG UTMP ACL_SUPPORT_DESC= File system ACL support AD_DC_DESC= Active Directory Domain Controller support ADS_DESC= Active Directory client support AIO_SUPPORT_DESC= Asynchronous IO support DNSUPDATE_DESC= Dynamic DNS update (requires ADS) EXP_MODULES_DESC= Experimental modules DEBUG_DESC= With debug information in the binaries LDAP_DESC= LDAP client support PAM_SMBPASS_DESC= PAM authentication via passdb backends PTHREADPOOL_DESC= Pthread pool QUOTAS_DESC= Disk quota support SWAT_DESC= SWAT WebGUI UTMP_DESC= UTMP accounting support ############################################################################## OPTIONS_DEFINE+= DEVELOPER MANPAGES EXP_MODULES DEVELOPER_DESC= With development support MANPAGES_DESC= Build manpages from DOCBOOK templates OPTIONS_RADIO= DNS ZEROCONF OPTIONS_RADIO_DNS= NSUPDATE BIND99 BIND910 OPTIONS_RADIO_ZEROCONF= AVAHI MDNSRESPONDER BIND99_DESC= Use bind99 as AD DC DNS server frontend BIND910_DESC= Use bind910 as AD DC DNS server frontend NSUPDATE_DESC= Use samba NSUPDATE utility for AD DC .include CONFIGURE_ARGS+= \ --with-pam \ --with-iconv \ --with-winbind \ --without-gettext \ --with-sendfile-support \ --builtin-libraries=smbclient \ ${ICONV_CONFIGURE_BASE} # for libexecinfo: (so that __builtin_frame_address() finds the top of the stack) .if ${ARCH} == "amd64" CFLAGS+= -fno-omit-frame-pointer .endif .if ${PORT_OPTIONS:MBIND99} RUN_DEPENDS+= bind99>=9.9.0.0:${PORTSDIR}/dns/bind99 SUB_LIST+= NSUPDATE="@comment " .elif ${PORT_OPTIONS:MBIND910} RUN_DEPENDS+= bind910>=9.10.0.0:${PORTSDIR}/dns/bind910 SUB_LIST+= NSUPDATE="@comment " .elif ${PORT_OPTIONS:MNSUPDATE} RUN_DEPENDS+= samba-nsupdate:${PORTSDIR}/dns/samba-nsupdate SUB_LIST+= NSUPDATE="" .endif .if ${PORT_OPTIONS:MDEBUG} WITH_DEBUG= yes CONFIGURE_ARGS+= --verbose MAKE_ARGS+= --verbose CONFIGURE_ARGS+= --enable-debug .endif # https://bugzilla.samba.org/show_bug.cgi?id=8969 .if ${PORT_OPTIONS:MDEVELOPER} #GDB_CMD?= gdb79 # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194046 # XXX: Still may break, if the link isn't installed - blame devel/gdb maintainer then. GDB_CMD?= ${LOCALBASE}/bin/gdb BUILD_DEPENDS+= ${GDB_CMD}:${PORTSDIR}/devel/gdb RUN_DEPENDS+= ${GDB_CMD}:${PORTSDIR}/devel/gdb SAMBA4_MODULES+= auth_skel perfcount_test pdb_test vfs_shadow_copy_test vfs_skel_opaque vfs_skel_transparent vfs_fake_acls CONFIGURE_ARGS+= --enable-developer --enable-socket-wrapper --enable-nss-wrapper --enable-selftest PLIST_SUB+= DEVELOPER="" .else GDB_CMD= true PLIST_SUB+= DEVELOPER="@comment " .endif ############################################################################## # XXX: That will blow up your installation # https://bugzilla.samba.org/show_bug.cgi?id=9302 .if defined(CRAZY) WANT_EXP_MODULES= auth_samba4 auth_script auth_skel auth_unix auth_wbc \ gpext_registry gpext_scripts gpext_security idmap_ad \ idmap_autorid idmap_hash idmap_ldap idmap_passdb \ idmap_rid idmap_tdb idmap_tdb2 idmap_nss nss_info_template \ pdb_ldap pdb_samba_dsdb pdb_smbpasswd pdb_tdbsam \ pdb_test pdb_wbc_sam perfcount_test vfs_acl_tdb \ vfs_acl_xattr vfs_aio_fork vfs_aio_posix \ vfs_aio_pthread vfs_audit vfs_cacheprime vfs_cap \ vfs_catia vfs_commit vfs_crossrename vfs_default_quota \ vfs_dfs_samba4 vfs_dirsort vfs_expand_msdfs vfs_extd_audit \ vfs_fake_acls vfs_fake_perms vfs_full_audit vfs_media_harmony \ vfs_netatalk vfs_posix_eadb vfs_preopen vfs_readahead \ vfs_readonly vfs_recycle vfs_scannedonly vfs_shadow_copy \ vfs_shadow_copy2 vfs_shadow_copy_test vfs_skel_opaque \ vfs_skel_transparent vfs_smb_traffic_analyzer vfs_streams_depot \ vfs_streams_xattr vfs_syncops vfs_time_audit \ vfs_xattr_tdb vfs_zfsacl .endif .if ${PORT_OPTIONS:MEXP_MODULES} . if !defined(WANT_EXP_MODULES) || empty(WANT_EXP_MODULES) WANT_EXP_MODULES= vfs_cacheprime gpext_scripts gpext_security gpext_registry . endif .endif .if ${PORT_OPTIONS:MACL_SUPPORT} LIB_DEPENDS+= libsunacl.so:${PORTSDIR}/sysutils/libsunacl WANT_EXP_MODULES+= vfs_zfsacl SAMBA4_MODULES+= vfs_zfsacl CONFIGURE_ARGS+= --with-acl-support .else CONFIGURE_ARGS+= --without-acl-support .endif .if ! ${PORT_OPTIONS:MAD_DC} CONFIGURE_ARGS+= --without-ad-dc PLIST_SUB+= AD_DC="@comment " .else PLIST_SUB+= AD_DC="" .endif .if ${PORT_OPTIONS:MADS} SAMBA4_WANT_ADS= yes SAMBA4_WANT_LDAP= yes # List of extra modules taken from RHEL build # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197320 SAMBA4_MODULES+= idmap_rid idmap_ad idmap_hash idmap_adex idmap_tdb2 .endif .if ${PORT_OPTIONS:MAIO_SUPPORT} CONFIGURE_ARGS+= --with-aio-support SAMBA4_MODULES+= vfs_aio_posix .else CONFIGURE_ARGS+= --without-aio-support .endif .if ${PORT_OPTIONS:MAVAHI} LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app CONFIGURE_ARGS+= --enable-avahi .else CONFIGURE_ARGS+= --disable-avahi .endif .if ${PORT_OPTIONS:MMDNSRESPONDER} LIB_DEPENDS+= libdns_sd.so:${PORTSDIR}/net/mDNSResponder CONFIGURE_ARGS+= --enable-dnssd .else CONFIGURE_ARGS+= --disable-dnssd .endif .if ${PORT_OPTIONS:MCUPS} LIB_DEPENDS+= libcups.so:${PORTSDIR}/print/cups-client CONFIGURE_ARGS+= --enable-cups --enable-iprint .else CONFIGURE_ARGS+= --disable-cups --disable-iprint .endif .if ${PORT_OPTIONS:MDNSUPDATE} SAMBA_WANT_ADS= yes CONFIGURE_ARGS+= --with-dnsupdate .else CONFIGURE_ARGS+= --without-dnsupdate .endif # https://bugzilla.samba.org/show_bug.cgi?id=9545 .if ${PORT_OPTIONS:MFAM} USES+= fam CONFIGURE_ARGS+= --with-fam WANT_EXP_MODULES+= vfs_notify_fam SAMBA4_MODULES+= vfs_notify_fam .else CONFIGURE_ARGS+= --without-fam .endif .if ${PORT_OPTIONS:MLDAP} SAMBA4_WANT_LDAP= yes .endif .if ${PORT_OPTIONS:MPAM_SMBPASS} CONFIGURE_ARGS+= --with-pam_smbpass PLIST_SUB+= SMBPASS="" .else CONFIGURE_ARGS+= --without-pam_smbpass PLIST_SUB+= SMBPASS="@comment " .endif .if ${PORT_OPTIONS:MPTHREADPOOL} CONFIGURE_ARGS+= --enable-pthreadpool SAMBA4_MODULES+= vfs_aio_pthread .else CONFIGURE_ARGS+= --disable-pthreadpool .endif .if ${PORT_OPTIONS:MQUOTAS} CONFIGURE_ARGS+= --with-quotas .else CONFIGURE_ARGS+= --without-quotas .endif .if ${PORT_OPTIONS:MSYSLOG} CONFIGURE_ARGS+= --with-syslog .else CONFIGURE_ARGS+= --without-syslog .endif .if ${PORT_OPTIONS:MSWAT} CONFIGURE_ARGS+= --with-swat PLIST_SUB+= SWAT="" .else CONFIGURE_ARGS+= --without-swat PLIST_SUB+= SWAT="@comment " .endif .if ${PORT_OPTIONS:MUTMP} CONFIGURE_ARGS+= --with-utmp .else CONFIGURE_ARGS+= --without-utmp .endif .if defined(SAMBA4_WANT_ADS) CONFIGURE_ARGS+= --with-ads .else CONFIGURE_ARGS+= --without-ads .endif .if defined(SAMBA4_WANT_LDAP) USE_OPENLDAP= yes #WANT_OPENLDAP_SASL= yes CONFIGURE_ARGS+= --with-ldap PLIST_SUB+= LDAP="" .else CONFIGURE_ARGS+= --without-ldap PLIST_SUB+= LDAP="@comment " .endif .if ! ${PORT_OPTIONS:MMANPAGES} CONFIGURE_ENV+= XSLTPROC="true" .else BUILD_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl \ xsltproc:${PORTSDIR}/textproc/libxslt .endif .if defined(SAMBA4_BUNDLED_LIBS) && !empty(SAMBA4_BUNDLED_LIBS) CONFIGURE_ARGS+= --bundled-libraries="${SAMBA4_BUNDLED_LIBS:Q:C|(\\\\ )+|,|g:S|\\||g}" .endif .if defined(WANT_EXP_MODULES) && !empty(WANT_EXP_MODULES) SAMBA4_MODULES+= ${WANT_EXP_MODULES} .endif .if defined(SAMBA4_MODULES) && !empty(SAMBA4_MODULES) CONFIGURE_ARGS+= --with-shared-modules="${SAMBA4_MODULES:Q:C|(\\\\ )+|,|g:S|\\||g}" .endif # XXX: Dirty .for module in auth_samba4 auth_skel auth_unix auth_wbc gpext_registry gpext_scripts \ gpext_security idmap_ad idmap_ldap idmap_nss idmap_passdb idmap_tdb \ nss_info_template pdb_ldap pdb_samba_dsdb pdb_smbpasswd pdb_tdbsam \ pdb_test pdb_wbc_sam perfcount_test vfs_aio_posix vfs_aio_pthread \ vfs_cacheprime vfs_dfs_samba4 vfs_fake_acls vfs_notify_fam \ vfs_shadow_copy_test vfs_skel_opaque vfs_skel_transparent . if !empty(SAMBA4_MODULES) && ${SAMBA4_MODULES:M${module}} PLIST_SUB+= MODULE_${module:tu}="" . else PLIST_SUB+= MODULE_${module:tu}="@comment " . endif .endfor ############################################################################## # !SAMBA4_SUBPORT .endif .include .if !defined(SAMBA4_SUBPORT) SAMBA4_SUB= SAMBA4_LOGDIR="${SAMBA4_LOGDIR}" \ SAMBA4_RUNDIR="${SAMBA4_RUNDIR}" \ SAMBA4_LOCKDIR="${SAMBA4_LOCKDIR}" \ SAMBA4_MODULEDIR="${SAMBA4_MODULEDIR}" \ SAMBA4_PRIVATEDIR="${SAMBA4_PRIVATEDIR}" \ SAMBA4_CONFDIR="${SAMBA4_CONFDIR}" \ SAMBA4_CONFIG="${SAMBA4_CONFIG}" PLIST_SUB+= ${SAMBA4_SUB} SUB_LIST+= ${SAMBA4_SUB} USE_RC_SUBR= samba_server SUB_FILES= pkg-message README.FreeBSD # Make sure that the right version of Python is used by the tools # https://bugzilla.samba.org/show_bug.cgi?id=7305 python_OLD_CMD= /usr/bin/env python SHEBANG_FILES= ${PATCH_WRKSRC}/source4/scripting/bin/* # No fancy color error messages .if ${COMPILER_TYPE} == "clang" CFLAGS+= -fno-color-diagnostics .endif CONFIGURE_ENV+= NOCOLOR=yes MAKE_ENV+= NOCOLOR=yes SAMBA_MAN1+= dbwrap_tool.1 findsmb.1 gentest.1 locktest.1 \ log2pcap.1 masktest.1 ndrdump.1 nmblookup.1 \ nmblookup4.1 ntlm_auth.1 oLschema2ldif.1 \ profiles.1 regdiff.1 regpatch.1 regshell.1 \ regtree.1 rpcclient.1 sharesec.1 smbcacls.1 \ smbclient.1 smbcontrol.1 smbcquotas.1 smbget.1 \ smbstatus.1 smbtar.1 smbtorture.1 smbtree.1 \ testparm.1 vfstest.1 wbinfo.1 SAMBA_MAN5+= lmhosts.5 smbgetrc.5 smbpasswd.5 pam_winbind.conf.5 \ smb.conf.5 SAMBA_MAN7+= samba.7 winbind_krb5_locator.7 SAMBA_MAN8+= eventlogadm.8 idmap_ad.8 idmap_autorid.8 idmap_hash.8 \ idmap_ldap.8 idmap_nss.8 idmap_rid.8 idmap_tdb.8 \ idmap_tdb2.8 net.8 nmbd.8 pam_winbind.8 pdbedit.8 \ samba-tool.8 samba.8 smbd.8 smbpasswd.8 smbspool.8 \ smbta-util.8 swat.8 vfs_acl_tdb.8 vfs_acl_xattr.8 \ vfs_aio_fork.8 vfs_aio_linux.8 vfs_aio_pthread.8 \ vfs_audit.8 vfs_cacheprime.8 vfs_cap.8 vfs_catia.8 \ vfs_commit.8 vfs_crossrename.8 vfs_default_quota.8 \ vfs_dirsort.8 vfs_extd_audit.8 vfs_fake_perms.8 vfs_fileid.8 \ vfs_full_audit.8 vfs_gpfs.8 vfs_media_harmony.8 \ vfs_netatalk.8 vfs_notify_fam.8 vfs_prealloc.8 \ vfs_preopen.8 vfs_readahead.8 vfs_readonly.8 \ vfs_recycle.8 vfs_scannedonly.8 vfs_shadow_copy.8 \ vfs_shadow_copy2.8 vfs_smb_traffic_analyzer.8 \ vfs_streams_depot.8 vfs_streams_xattr.8 vfs_time_audit.8 \ vfs_tsmsm.8 vfs_xattr_tdb.8 winbindd.8 PORTDOCS= README.FreeBSD IGNORE_NONTHREAD_PYTHON=needs port lang/python${PYTHON_SUFFIX} to be build with THREADS support post-extract: @${RM} -rf ${WRKSRC}/pidl post-patch: @${REINPLACE_CMD} -e 's|$${PKGCONFIGDIR}|${PKGCONFIGDIR}|g' \ ${PATCH_WRKSRC}/buildtools/wafsamba/pkgconfig.py @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/buildtools/wafsamba/samba_pidl.py \ ${PATCH_WRKSRC}/buildtools/wafsamba/wafsamba.py @${REINPLACE_CMD} -e 's|%%GDB_CMD%%|${GDB_CMD}|g' \ ${PATCH_WRKSRC}/buildtools/scripts/abi_gen.sh @${REINPLACE_CMD} -e 's|%%SAMBA4_CONFIG%%|${SAMBA4_CONFIG}|g' \ ${PATCH_WRKSRC}/dynconfig/wscript # Use threading (or multiprocessing) but not thread (renamed in python 3+). pre-configure: @if ! ${PYTHON_CMD} -c "import multiprocessing;" 2>/dev/null; then \ ${ECHO_CMD}; \ ${ECHO_MSG} "===> ${PKGNAME} "${IGNORE_NONTHREAD_PYTHON:Q}.; \ ${ECHO_CMD}; \ ${FALSE}; \ fi # XXX: Gross hack to allow build newer Samba while old one is installed. # This implies that LINKFLAGS_PYEMBED contains flags which are already # used in other parts of LINKFLAGS, namely -L$(LOCALBASE)/lib and -pthread post-configure: -${REINPLACE_CMD} -e 's|LINKFLAGS_PYEMBED.*|LINKFLAGS_PYEMBED = []|' \ ${CONFIGURE_WRKSRC}/bin/c4che/default.cache.py pre-build: .if ! ${PORT_OPTIONS:MMANPAGES} . for man in libcli/nbt/man/nmblookup4.1 \ librpc/tools/ndrdump.1 \ source4/lib/registry/man/regdiff.1 \ source4/lib/registry/man/regpatch.1 \ source4/lib/registry/man/regshell.1 \ source4/lib/registry/man/regtree.1 \ source4/torture/man/gentest.1 \ source4/torture/man/locktest.1 \ source4/torture/man/masktest.1 \ source4/torture/man/smbtorture.1 \ source4/utils/man/ntlm_auth4.1 \ source4/utils/man/oLschema2ldif.1 -@${MKDIR} `dirname ${BUILD_WRKSRC}/bin/default/${man}` @${INSTALL_MAN} ${FILESDIR}/man/`basename ${man}` ${BUILD_WRKSRC}/bin/default/${man} . endfor -@${MKDIR} ${BUILD_WRKSRC}/bin/default/docs-xml/manpages . for man in ${SAMBA_MAN1} ${SAMBA_MAN5} ${SAMBA_MAN7} ${SAMBA_MAN8} -@${INSTALL_MAN} ${BUILD_WRKSRC}/docs/manpages/${man} ${BUILD_WRKSRC}/bin/default/docs-xml/manpages . endfor .endif post-install: @${LN} -sf smb.conf.5.gz ${STAGEDIR}${PREFIX}/man/man5/smb4.conf.5.gz .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} . for doc in ${PORTDOCS} @${INSTALL_DATA} ${WRKDIR}/${doc} ${STAGEDIR}${DOCSDIR} . endfor .endif # Run post-install script .for dir in ${SAMBA4_LOGDIR} ${SAMBA4_RUNDIR} ${SAMBA4_LOCKDIR} ${SAMBA4_MODULEDIR} @${INSTALL} -d -m 0755 "${STAGEDIR}${dir}" .endfor @${INSTALL} -d -m 0700 "${STAGEDIR}${SAMBA4_PRIVATEDIR}" .for dir in auth bind9 gensec gpext idmap ldb nss_info pdb perfcount process_model service vfs @${MKDIR} "${STAGEDIR}${SAMBA4_MODULEDIR}/${dir}" .endfor .if ${PORT_OPTIONS:MDEVELOPER} test: build @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${INSTALL_WRKSRC}/${WAF_CMD} ${MAKE_ARGS} $@) .endif # !SAMBA4_SUBPORT .endif .include Index: head/net/samba41/Makefile =================================================================== --- head/net/samba41/Makefile (revision 398832) +++ head/net/samba41/Makefile (revision 398833) @@ -1,526 +1,526 @@ # Created by: timur@FreeBSD.org # $FreeBSD$ PORTNAME?= ${SAMBA4_BASENAME}41 PORTVERSION?= ${SAMBA4_VERSION} PORTREVISION?= 0 CATEGORIES?= net MASTER_SITES= SAMBA/samba/stable SAMBA/samba/rc DISTNAME= ${SAMBA4_DISTNAME} MAINTAINER?= timur@FreeBSD.org COMMENT?= Free SMB/CIFS and AD/DC server and client for Unix LICENSE= GPLv3 CONFLICTS?= *samba3[2-6]-3.* samba4-4.0.* SAMBA4_BASENAME= samba SAMBA4_PORTNAME= ${SAMBA4_BASENAME}4 SAMBA4_VERSION= 4.1.18 SAMBA4_DISTNAME= ${SAMBA4_BASENAME}-${SAMBA4_VERSION:S|.p|pre|:S|.r|rc|:S|.t|tp|:S|.a|alpha|} WRKSRC?= ${WRKDIR}/${DISTNAME} .if !defined(SAMBA4_SUBPORT) CPE_VENDOR= samba CPE_PRODUCT= samba # Directories VARDIR= ${DESTDIR}/var SAMBA4_RUNDIR= ${VARDIR}/run/${SAMBA4_PORTNAME} SAMBA4_LOGDIR= ${VARDIR}/log/${SAMBA4_PORTNAME} SAMBA4_LOCKDIR= ${VARDIR}/db/${SAMBA4_PORTNAME} SAMBA4_PRIVATEDIR= ${SAMBA4_LOCKDIR}/private SAMBA4_LIBDIR= ${PREFIX}/lib SAMBA4_MODULEDIR= ${SAMBA4_LIBDIR}/shared-modules SAMBA4_INCLUDEDIR= ${PREFIX}/include/${SAMBA4_PORTNAME} SAMBA4_CONFDIR= ${PREFIX}/etc SAMBA4_CONFIG= smb4.conf CONFIGURE_ARGS+= --exec-prefix="${PREFIX}" \ --mandir="${MANPREFIX}/man" \ --sysconfdir="${SAMBA4_CONFDIR}" \ --includedir="${SAMBA4_INCLUDEDIR}" \ --datadir="${DATADIR}" \ --libdir="${SAMBA4_LIBDIR}" \ --with-pammodulesdir="${SAMBA4_LIBDIR}" \ --with-privatelibdir="${SAMBA4_LIBDIR}/samba" \ --with-modulesdir="${SAMBA4_MODULEDIR}" \ --with-pkgconfigdir="${PKGCONFIGDIR}" \ --localstatedir="${VARDIR}" \ --with-piddir="${SAMBA4_RUNDIR}" \ --with-sockets-dir="${SAMBA4_RUNDIR}" \ --with-privileged-socket-dir="${SAMBA4_RUNDIR}" \ --with-lockdir="${SAMBA4_LOCKDIR}" \ --with-statedir="${SAMBA4_LOCKDIR}" \ --with-cachedir="${SAMBA4_LOCKDIR}" \ --with-privatedir="${SAMBA4_PRIVATEDIR}" \ --with-logfilebase="${SAMBA4_LOGDIR}" # Flags CONFIGURE_ENV+= PTHREAD_LDFLAGS="-lpthread" USES= cpe compiler waf pkgconfig perl5 python:2 \ execinfo readline iconv shebangfix USE_PERL5= build USE_LDCONFIG= ${SAMBA4_LIBDIR} WAF_CMD= buildtools/bin/waf CONFIGURE_LOG= bin/config.log PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;} # XXX: Unconditional dependencies which can't be switched off (if present # in the system) # popt LIB_DEPENDS+= libpopt.so:${PORTSDIR}/devel/popt # inotify LIB_DEPENDS+= libinotify.so:${PORTSDIR}/devel/libinotify # SASL LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 # GNUTLS LIB_DEPENDS+= libgcrypt.so:${PORTSDIR}/security/libgcrypt LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls # NFS4 ACL glue LIB_DEPENDS+= libsunacl.so:${PORTSDIR}/sysutils/libsunacl # External Samba dependencies # IDL compiler BUILD_DEPENDS+= p5-Parse-Pidl>=4.0.0:${PORTSDIR}/devel/p5-Parse-Pidl -# +# BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.9.4:${PORTSDIR}/dns/py-dnspython RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.9.4:${PORTSDIR}/dns/py-dnspython PLIST_SUB+= PY_DNSPYTHON="@comment " # talloc BUILD_DEPENDS+= talloc>=2.1.2:${PORTSDIR}/devel/talloc RUN_DEPENDS+= talloc>=2.1.2:${PORTSDIR}/devel/talloc SAMBA4_BUNDLED_LIBS+= !talloc # tevent BUILD_DEPENDS+= tevent>=0.9.18:${PORTSDIR}/devel/tevent RUN_DEPENDS+= tevent>=0.9.18:${PORTSDIR}/devel/tevent SAMBA4_BUNDLED_LIBS+= !tevent # tdb BUILD_DEPENDS+= tdb>=1.2.12:${PORTSDIR}/databases/tdb RUN_DEPENDS+= tdb>=1.2.12:${PORTSDIR}/databases/tdb SAMBA4_BUNDLED_LIBS+= !tdb # ntdb BUILD_DEPENDS+= ntdb>=1.0:${PORTSDIR}/databases/ntdb RUN_DEPENDS+= ntdb>=1.0:${PORTSDIR}/databases/ntdb SAMBA4_BUNDLED_LIBS+= !ntdb # ldb BUILD_DEPENDS+= ldb>=1.1.17:${PORTSDIR}/databases/ldb RUN_DEPENDS+= ldb>=1.1.17:${PORTSDIR}/databases/ldb SAMBA4_BUNDLED_LIBS+= !ldb # Don't use external libcom_err SAMBA4_BUNDLED_LIBS+= com_err ############################################################################## # Options OPTIONS_DEFINE= ACL_SUPPORT AD_DC ADS AIO_SUPPORT CUPS DEBUG \ DNSUPDATE DOCS FAM LDAP PAM_SMBPASS \ PTHREADPOOL QUOTAS SYSLOG UTMP OPTIONS_DEFAULT= ACL_SUPPORT AD_DC ADS AIO_SUPPORT DEBUG \ DNSUPDATE DOCS FAM LDAP \ PTHREADPOOL QUOTAS SYSLOG UTMP ACL_SUPPORT_DESC= File system ACL support AD_DC_DESC= Active Directory Domain Controller support ADS_DESC= Active Directory client support AIO_SUPPORT_DESC= Asynchronous IO support DNSUPDATE_DESC= Dynamic DNS update (requires ADS) EXP_MODULES_DESC= Experimental modules DEBUG_DESC= With debug information in the binaries LDAP_DESC= LDAP client support PAM_SMBPASS_DESC= PAM authentication via passdb backends PTHREADPOOL_DESC= Pthread pool QUOTAS_DESC= Disk quota support UTMP_DESC= UTMP accounting support ############################################################################## OPTIONS_DEFINE+= DEVELOPER MANPAGES EXP_MODULES DEVELOPER_DESC= With development support MANPAGES_DESC= Build manpages from DOCBOOK templates OPTIONS_RADIO= DNS ZEROCONF OPTIONS_RADIO_DNS= NSUPDATE BIND99 BIND910 OPTIONS_RADIO_ZEROCONF= AVAHI MDNSRESPONDER BIND99_DESC= Use bind99 as AD DC DNS server frontend BIND910_DESC= Use bind910 as AD DC DNS server frontend NSUPDATE_DESC= Use samba NSUPDATE utility for AD DC .include CONFIGURE_ARGS+= \ --with-pam \ --with-iconv \ --with-winbind \ --without-gettext \ --with-sendfile-support \ --builtin-libraries=smbclient \ ${ICONV_CONFIGURE_BASE} # for libexecinfo: (so that __builtin_frame_address() finds the top of the stack) .if ${ARCH} == "amd64" CFLAGS+= -fno-omit-frame-pointer .endif .if ${PORT_OPTIONS:MBIND99} RUN_DEPENDS+= bind99>=9.9.0.0:${PORTSDIR}/dns/bind99 SUB_LIST+= NSUPDATE="@comment " .elif ${PORT_OPTIONS:MBIND910} RUN_DEPENDS+= bind910>=9.10.0.0:${PORTSDIR}/dns/bind910 SUB_LIST+= NSUPDATE="@comment " .elif ${PORT_OPTIONS:MNSUPDATE} RUN_DEPENDS+= samba-nsupdate:${PORTSDIR}/dns/samba-nsupdate SUB_LIST+= NSUPDATE="" .endif .if ${PORT_OPTIONS:MDEBUG} WITH_DEBUG= yes CONFIGURE_ARGS+= --verbose MAKE_ARGS+= --verbose CONFIGURE_ARGS+= --enable-debug .endif # https://bugzilla.samba.org/show_bug.cgi?id=8969 .if ${PORT_OPTIONS:MDEVELOPER} #GDB_CMD?= gdb79 # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194046 # XXX: Still may break, if the link isn't installed - blame devel/gdb maintainer then. GDB_CMD?= ${LOCALBASE}/bin/gdb BUILD_DEPENDS+= ${GDB_CMD}:${PORTSDIR}/devel/gdb RUN_DEPENDS+= ${GDB_CMD}:${PORTSDIR}/devel/gdb SAMBA4_MODULES+= auth_skel perfcount_test pdb_test vfs_shadow_copy_test vfs_skel_opaque vfs_skel_transparent vfs_fake_acls CONFIGURE_ARGS+= --enable-developer --enable-socket-wrapper --enable-nss-wrapper --enable-selftest PLIST_SUB+= DEVELOPER="" .else GDB_CMD= true PLIST_SUB+= DEVELOPER="@comment " .endif ############################################################################## # XXX: That will blow up your installation # https://bugzilla.samba.org/show_bug.cgi?id=9302 .if defined(CRAZY) WANT_EXP_MODULES= auth_samba4 auth_script auth_skel auth_unix auth_wbc \ gpext_registry gpext_scripts gpext_security idmap_ad \ idmap_autorid idmap_hash idmap_ldap idmap_passdb \ idmap_rid idmap_tdb idmap_tdb2 idmap_nss nss_info_template \ pdb_ldap pdb_samba_dsdb pdb_smbpasswd pdb_tdbsam \ pdb_test pdb_wbc_sam perfcount_test vfs_acl_tdb \ vfs_acl_xattr vfs_aio_fork vfs_aio_posix \ vfs_aio_pthread vfs_audit vfs_cacheprime vfs_cap \ vfs_catia vfs_commit vfs_crossrename vfs_default_quota \ vfs_dfs_samba4 vfs_dirsort vfs_expand_msdfs vfs_extd_audit \ vfs_fake_acls vfs_fake_perms vfs_full_audit vfs_media_harmony \ vfs_netatalk vfs_posix_eadb vfs_preopen vfs_readahead \ vfs_readonly vfs_recycle vfs_scannedonly vfs_shadow_copy \ vfs_shadow_copy2 vfs_shadow_copy_test vfs_skel_opaque \ vfs_skel_transparent vfs_smb_traffic_analyzer vfs_streams_depot \ vfs_streams_xattr vfs_syncops vfs_time_audit \ vfs_xattr_tdb vfs_zfsacl .endif .if ${PORT_OPTIONS:MEXP_MODULES} . if !defined(WANT_EXP_MODULES) || empty(WANT_EXP_MODULES) WANT_EXP_MODULES= vfs_cacheprime gpext_scripts gpext_security gpext_registry . endif .endif .if ${PORT_OPTIONS:MACL_SUPPORT} LIB_DEPENDS+= libsunacl.so:${PORTSDIR}/sysutils/libsunacl WANT_EXP_MODULES+= vfs_zfsacl SAMBA4_MODULES+= vfs_zfsacl CONFIGURE_ARGS+= --with-acl-support .else CONFIGURE_ARGS+= --without-acl-support .endif .if ! ${PORT_OPTIONS:MAD_DC} CONFIGURE_ARGS+= --without-ad-dc PLIST_SUB+= AD_DC="@comment " .else PLIST_SUB+= AD_DC="" .endif .if ${PORT_OPTIONS:MADS} SAMBA4_WANT_ADS= yes SAMBA4_WANT_LDAP= yes # List of extra modules taken from RHEL build # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197320 SAMBA4_MODULES+= idmap_rid idmap_ad idmap_hash idmap_adex idmap_tdb2 .endif .if ${PORT_OPTIONS:MAIO_SUPPORT} CONFIGURE_ARGS+= --with-aio-support SAMBA4_MODULES+= vfs_aio_posix .else CONFIGURE_ARGS+= --without-aio-support .endif .if ${PORT_OPTIONS:MAVAHI} LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app CONFIGURE_ARGS+= --enable-avahi .else CONFIGURE_ARGS+= --disable-avahi .endif .if ${PORT_OPTIONS:MMDNSRESPONDER} LIB_DEPENDS+= libdns_sd.so:${PORTSDIR}/net/mDNSResponder CONFIGURE_ARGS+= --enable-dnssd .else CONFIGURE_ARGS+= --disable-dnssd .endif .if ${PORT_OPTIONS:MCUPS} LIB_DEPENDS+= libcups.so:${PORTSDIR}/print/cups-client CONFIGURE_ARGS+= --enable-cups --enable-iprint .else CONFIGURE_ARGS+= --disable-cups --disable-iprint .endif .if ${PORT_OPTIONS:MDNSUPDATE} SAMBA_WANT_ADS= yes CONFIGURE_ARGS+= --with-dnsupdate .else CONFIGURE_ARGS+= --without-dnsupdate .endif # https://bugzilla.samba.org/show_bug.cgi?id=9545 .if ${PORT_OPTIONS:MFAM} USES+= fam CONFIGURE_ARGS+= --with-fam WANT_EXP_MODULES+= vfs_notify_fam SAMBA4_MODULES+= vfs_notify_fam .else CONFIGURE_ARGS+= --without-fam .endif .if ${PORT_OPTIONS:MLDAP} SAMBA4_WANT_LDAP= yes .endif .if ${PORT_OPTIONS:MPAM_SMBPASS} CONFIGURE_ARGS+= --with-pam_smbpass PLIST_SUB+= SMBPASS="" .else CONFIGURE_ARGS+= --without-pam_smbpass PLIST_SUB+= SMBPASS="@comment " .endif .if ${PORT_OPTIONS:MPTHREADPOOL} CONFIGURE_ARGS+= --enable-pthreadpool SAMBA4_MODULES+= vfs_aio_pthread .else CONFIGURE_ARGS+= --disable-pthreadpool .endif .if ${PORT_OPTIONS:MQUOTAS} CONFIGURE_ARGS+= --with-quotas .else CONFIGURE_ARGS+= --without-quotas .endif .if ${PORT_OPTIONS:MSYSLOG} CONFIGURE_ARGS+= --with-syslog .else CONFIGURE_ARGS+= --without-syslog .endif .if ${PORT_OPTIONS:MUTMP} CONFIGURE_ARGS+= --with-utmp .else CONFIGURE_ARGS+= --without-utmp .endif .if defined(SAMBA4_WANT_ADS) CONFIGURE_ARGS+= --with-ads .else CONFIGURE_ARGS+= --without-ads .endif .if defined(SAMBA4_WANT_LDAP) USE_OPENLDAP= yes #WANT_OPENLDAP_SASL= yes CONFIGURE_ARGS+= --with-ldap PLIST_SUB+= LDAP="" .else CONFIGURE_ARGS+= --without-ldap PLIST_SUB+= LDAP="@comment " .endif .if ! ${PORT_OPTIONS:MMANPAGES} CONFIGURE_ENV+= XSLTPROC="true" .else BUILD_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl \ xsltproc:${PORTSDIR}/textproc/libxslt .endif .if defined(SAMBA4_BUNDLED_LIBS) && !empty(SAMBA4_BUNDLED_LIBS) CONFIGURE_ARGS+= --bundled-libraries="${SAMBA4_BUNDLED_LIBS:Q:C|(\\\\ )+|,|g:S|\\||g}" .endif .if defined(WANT_EXP_MODULES) && !empty(WANT_EXP_MODULES) SAMBA4_MODULES+= ${WANT_EXP_MODULES} .endif .if defined(SAMBA4_MODULES) && !empty(SAMBA4_MODULES) CONFIGURE_ARGS+= --with-shared-modules="${SAMBA4_MODULES:Q:C|(\\\\ )+|,|g:S|\\||g}" .endif # XXX: Dirty .for module in auth_samba4 auth_skel auth_unix auth_wbc gpext_registry gpext_scripts \ gpext_security idmap_ad idmap_ldap idmap_nss idmap_passdb idmap_tdb \ nss_info_template pdb_ldap pdb_samba_dsdb pdb_smbpasswd pdb_tdbsam \ pdb_test pdb_wbc_sam perfcount_test vfs_aio_posix vfs_aio_pthread \ vfs_cacheprime vfs_dfs_samba4 vfs_fake_acls vfs_notify_fam \ vfs_shadow_copy_test vfs_skel_opaque vfs_skel_transparent . if !empty(SAMBA4_MODULES) && ${SAMBA4_MODULES:M${module}} PLIST_SUB+= MODULE_${module:tu}="" . else PLIST_SUB+= MODULE_${module:tu}="@comment " . endif .endfor ############################################################################## # !SAMBA4_SUBPORT .endif .include .if !defined(SAMBA4_SUBPORT) SAMBA4_SUB= SAMBA4_LOGDIR="${SAMBA4_LOGDIR}" \ SAMBA4_RUNDIR="${SAMBA4_RUNDIR}" \ SAMBA4_LOCKDIR="${SAMBA4_LOCKDIR}" \ SAMBA4_MODULEDIR="${SAMBA4_MODULEDIR}" \ SAMBA4_PRIVATEDIR="${SAMBA4_PRIVATEDIR}" \ SAMBA4_CONFDIR="${SAMBA4_CONFDIR}" \ SAMBA4_CONFIG="${SAMBA4_CONFIG}" PLIST_SUB+= ${SAMBA4_SUB} SUB_LIST+= ${SAMBA4_SUB} USE_RC_SUBR= samba_server SUB_FILES= pkg-message README.FreeBSD # Make sure that the right version of Python is used by the tools # https://bugzilla.samba.org/show_bug.cgi?id=7305 python_OLD_CMD= /usr/bin/env python SHEBANG_FILES= ${PATCH_WRKSRC}/source4/scripting/bin/* # No fancy color error messages .if ${COMPILER_TYPE} == "clang" CFLAGS+= -fno-color-diagnostics .endif CONFIGURE_ENV+= NOCOLOR=yes MAKE_ENV+= NOCOLOR=yes SAMBA_MAN1+= dbwrap_tool.1 findsmb.1 gentest.1 locktest.1 \ log2pcap.1 masktest.1 ndrdump.1 nmblookup.1 \ nmblookup4.1 ntlm_auth.1 oLschema2ldif.1 \ profiles.1 regdiff.1 regpatch.1 regshell.1 \ regtree.1 rpcclient.1 sharesec.1 smbcacls.1 \ smbclient.1 smbcontrol.1 smbcquotas.1 smbget.1 \ smbstatus.1 smbtar.1 smbtorture.1 smbtree.1 \ testparm.1 vfstest.1 wbinfo.1 SAMBA_MAN5+= lmhosts.5 smbgetrc.5 smbpasswd.5 pam_winbind.conf.5 \ smb.conf.5 SAMBA_MAN7+= samba.7 winbind_krb5_locator.7 SAMBA_MAN8+= eventlogadm.8 idmap_ad.8 idmap_autorid.8 idmap_hash.8 \ idmap_ldap.8 idmap_nss.8 idmap_rfc2307.8 idmap_rid.8 \ idmap_tdb.8 idmap_tdb2.8 net.8 nmbd.8 pam_winbind.8 pdbedit.8 \ samba-regedit.8 samba-tool.8 samba.8 smbd.8 smbpasswd.8 \ smbspool.8 smbta-util.8 vfs_acl_tdb.8 vfs_acl_xattr.8 \ vfs_aio_fork.8 vfs_aio_linux.8 vfs_aio_pthread.8 \ vfs_audit.8 vfs_cacheprime.8 vfs_cap.8 vfs_catia.8 \ vfs_commit.8 vfs_crossrename.8 vfs_default_quota.8 \ vfs_dirsort.8 vfs_extd_audit.8 vfs_fake_perms.8 vfs_fileid.8 \ vfs_full_audit.8 vfs_glusterfs.8 vfs_gpfs.8 vfs_media_harmony.8 \ vfs_netatalk.8 vfs_notify_fam.8 vfs_prealloc.8 \ vfs_preopen.8 vfs_readahead.8 vfs_readonly.8 \ vfs_recycle.8 vfs_scannedonly.8 vfs_shadow_copy.8 \ vfs_shadow_copy2.8 vfs_smb_traffic_analyzer.8 \ vfs_streams_depot.8 vfs_streams_xattr.8 vfs_syncops.8 vfs_time_audit.8 \ vfs_tsmsm.8 vfs_xattr_tdb.8 winbindd.8 \ vfs_linux_xfs_sgid.8 vfs_btrfs.8 PORTDOCS= README.FreeBSD IGNORE_NONTHREAD_PYTHON=needs port lang/python${PYTHON_SUFFIX} to be build with THREADS support post-extract: @${RM} -rf ${WRKSRC}/pidl post-patch: @${REINPLACE_CMD} -e 's|$${PKGCONFIGDIR}|${PKGCONFIGDIR}|g' \ ${PATCH_WRKSRC}/buildtools/wafsamba/pkgconfig.py @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/buildtools/wafsamba/samba_pidl.py \ ${PATCH_WRKSRC}/buildtools/wafsamba/wafsamba.py @${REINPLACE_CMD} -e 's|%%GDB_CMD%%|${GDB_CMD}|g' \ ${PATCH_WRKSRC}/buildtools/scripts/abi_gen.sh @${REINPLACE_CMD} -e 's|%%SAMBA4_CONFIG%%|${SAMBA4_CONFIG}|g' \ ${PATCH_WRKSRC}/dynconfig/wscript # Use threading (or multiprocessing) but not thread (renamed in python 3+). pre-configure: @if ! ${PYTHON_CMD} -c "import multiprocessing;" 2>/dev/null; then \ ${ECHO_CMD}; \ ${ECHO_MSG} "===> ${PKGNAME} "${IGNORE_NONTHREAD_PYTHON:Q}.; \ ${ECHO_CMD}; \ ${FALSE}; \ fi # XXX: Gross hack to allow build newer Samba while old one is installed. # This implies that LINKFLAGS_PYEMBED contains flags which are already # used in other parts of LINKFLAGS, namely -L$(LOCALBASE)/lib and -pthread post-configure: -${REINPLACE_CMD} -e 's|LINKFLAGS_PYEMBED.*|LINKFLAGS_PYEMBED = []|' \ ${CONFIGURE_WRKSRC}/bin/c4che/default.cache.py pre-build: .if ! ${PORT_OPTIONS:MMANPAGES} . for man in libcli/nbt/man/nmblookup4.1 \ librpc/tools/ndrdump.1 \ source4/lib/registry/man/regdiff.1 \ source4/lib/registry/man/regpatch.1 \ source4/lib/registry/man/regshell.1 \ source4/lib/registry/man/regtree.1 \ source4/torture/man/gentest.1 \ source4/torture/man/locktest.1 \ source4/torture/man/masktest.1 \ source4/torture/man/smbtorture.1 \ source4/utils/man/ntlm_auth4.1 \ source4/utils/man/oLschema2ldif.1 -@${MKDIR} `dirname ${BUILD_WRKSRC}/bin/default/${man}` @${INSTALL_MAN} ${FILESDIR}/man/`basename ${man}` ${BUILD_WRKSRC}/bin/default/${man} . endfor -@${MKDIR} ${BUILD_WRKSRC}/bin/default/docs-xml/manpages . for man in ${SAMBA_MAN1} ${SAMBA_MAN5} ${SAMBA_MAN7} ${SAMBA_MAN8} -@${INSTALL_MAN} ${BUILD_WRKSRC}/docs/manpages/${man} ${BUILD_WRKSRC}/bin/default/docs-xml/manpages . endfor .endif post-install: @${LN} -sf smb.conf.5.gz ${STAGEDIR}${PREFIX}/man/man5/smb4.conf.5.gz .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} . for doc in ${PORTDOCS} @${INSTALL_DATA} ${WRKDIR}/${doc} ${STAGEDIR}${DOCSDIR} . endfor .endif # Run post-install script .for dir in ${SAMBA4_LOGDIR} ${SAMBA4_RUNDIR} ${SAMBA4_LOCKDIR} ${SAMBA4_MODULEDIR} @${INSTALL} -d -m 0755 "${STAGEDIR}${dir}" .endfor @${INSTALL} -d -m 0700 "${STAGEDIR}${SAMBA4_PRIVATEDIR}" .for dir in auth bind9 gensec gpext idmap ldb nss_info pdb perfcount process_model service vfs @${MKDIR} "${STAGEDIR}${SAMBA4_MODULEDIR}/${dir}" .endfor .if ${PORT_OPTIONS:MDEVELOPER} test: build @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${INSTALL_WRKSRC}/${WAF_CMD} ${MAKE_ARGS} $@) .endif # !SAMBA4_SUBPORT .endif .include Index: head/net/samba42/Makefile =================================================================== --- head/net/samba42/Makefile (revision 398832) +++ head/net/samba42/Makefile (revision 398833) @@ -1,529 +1,529 @@ # Created by: timur@FreeBSD.org # $FreeBSD$ PORTNAME?= ${SAMBA4_BASENAME}42 PORTVERSION?= ${SAMBA4_VERSION} PORTREVISION?= 0 CATEGORIES?= net MASTER_SITES= SAMBA/samba/stable SAMBA/samba/rc DISTNAME= ${SAMBA4_DISTNAME} MAINTAINER?= timur@FreeBSD.org COMMENT?= Free SMB/CIFS and AD/DC server and client for Unix LICENSE= GPLv3 CONFLICTS?= *samba3[2-6]-3.* samba4-4.0.* samba41-4.1.* SAMBA4_BASENAME= samba SAMBA4_PORTNAME= ${SAMBA4_BASENAME}4 SAMBA4_VERSION= 4.2.4 SAMBA4_DISTNAME= ${SAMBA4_BASENAME}-${SAMBA4_VERSION:S|.p|pre|:S|.r|rc|:S|.t|tp|:S|.a|alpha|} WRKSRC?= ${WRKDIR}/${DISTNAME} .if !defined(SAMBA4_SUBPORT) CPE_VENDOR= samba CPE_PRODUCT= samba # Directories VARDIR= ${DESTDIR}/var SAMBA4_RUNDIR= ${VARDIR}/run/${SAMBA4_PORTNAME} SAMBA4_LOGDIR= ${VARDIR}/log/${SAMBA4_PORTNAME} SAMBA4_LOCKDIR= ${VARDIR}/db/${SAMBA4_PORTNAME} SAMBA4_PRIVATEDIR= ${SAMBA4_LOCKDIR}/private SAMBA4_LIBDIR= ${PREFIX}/lib SAMBA4_MODULEDIR= ${SAMBA4_LIBDIR}/shared-modules SAMBA4_INCLUDEDIR= ${PREFIX}/include/${SAMBA4_PORTNAME} SAMBA4_CONFDIR= ${PREFIX}/etc SAMBA4_CONFIG= smb4.conf CONFIGURE_ARGS+= --mandir="${MANPREFIX}/man" \ --sysconfdir="${SAMBA4_CONFDIR}" \ --includedir="${SAMBA4_INCLUDEDIR}" \ --datadir="${DATADIR}" \ --libdir="${SAMBA4_LIBDIR}" \ --with-pammodulesdir="${SAMBA4_LIBDIR}" \ --with-privatelibdir="${SAMBA4_LIBDIR}/samba" \ --with-modulesdir="${SAMBA4_MODULEDIR}" \ --with-pkgconfigdir="${PKGCONFIGDIR}" \ --localstatedir="${VARDIR}" \ --with-piddir="${SAMBA4_RUNDIR}" \ --with-sockets-dir="${SAMBA4_RUNDIR}" \ --with-privileged-socket-dir="${SAMBA4_RUNDIR}" \ --with-lockdir="${SAMBA4_LOCKDIR}" \ --with-statedir="${SAMBA4_LOCKDIR}" \ --with-cachedir="${SAMBA4_LOCKDIR}" \ --with-privatedir="${SAMBA4_PRIVATEDIR}" \ --with-logfilebase="${SAMBA4_LOGDIR}" # Flags CONFIGURE_ENV+= PTHREAD_LDFLAGS="-lpthread" USES= cpe compiler waf pkgconfig perl5 python:2 \ execinfo readline iconv shebangfix USE_PERL5= build USE_LDCONFIG= ${SAMBA4_LIBDIR} WAF_CMD= buildtools/bin/waf CONFIGURE_LOG= bin/config.log PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;} # XXX: Unconditional dependencies which can't be switched off(if present # in the system) # popt LIB_DEPENDS+= libpopt.so:${PORTSDIR}/devel/popt # inotify LIB_DEPENDS+= libinotify.so:${PORTSDIR}/devel/libinotify # SASL LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 # GNUTLS LIB_DEPENDS+= libgcrypt.so:${PORTSDIR}/security/libgcrypt LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls # NFS4 ACL glue LIB_DEPENDS+= libsunacl.so:${PORTSDIR}/sysutils/libsunacl # Libarchive BUILD_DEPENDS+= libarchive>=3.1.2:${PORTSDIR}/archivers/libarchive RUN_DEPENDS+= libarchive>=3.1.2:${PORTSDIR}/archivers/libarchive # External Samba dependencies # IDL compiler BUILD_DEPENDS+= p5-Parse-Pidl>=4.0.0:${PORTSDIR}/devel/p5-Parse-Pidl -# +# BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.9.4:${PORTSDIR}/dns/py-dnspython RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.9.4:${PORTSDIR}/dns/py-dnspython PLIST_SUB+= PY_DNSPYTHON="@comment " # talloc BUILD_DEPENDS+= talloc>=2.1.3_1:${PORTSDIR}/devel/talloc RUN_DEPENDS+= talloc>=2.1.3_1:${PORTSDIR}/devel/talloc SAMBA4_BUNDLED_LIBS+= !talloc # tevent BUILD_DEPENDS+= tevent>=0.9.25:${PORTSDIR}/devel/tevent RUN_DEPENDS+= tevent>=0.9.25:${PORTSDIR}/devel/tevent SAMBA4_BUNDLED_LIBS+= !tevent # tdb BUILD_DEPENDS+= tdb>=1.3.7_1:${PORTSDIR}/databases/tdb RUN_DEPENDS+= tdb>=1.3.7_1:${PORTSDIR}/databases/tdb SAMBA4_BUNDLED_LIBS+= !tdb # ntdb BUILD_DEPENDS+= ntdb>=1.0:${PORTSDIR}/databases/ntdb RUN_DEPENDS+= ntdb>=1.0:${PORTSDIR}/databases/ntdb SAMBA4_BUNDLED_LIBS+= !ntdb # ldb BUILD_DEPENDS+= ldb>=1.1.21_1:${PORTSDIR}/databases/ldb RUN_DEPENDS+= ldb>=1.1.21_1:${PORTSDIR}/databases/ldb SAMBA4_BUNDLED_LIBS+= !ldb # Don't use external libcom_err SAMBA4_BUNDLED_LIBS+= com_err ############################################################################## # Options OPTIONS_DEFINE= ACL_SUPPORT AD_DC ADS AIO_SUPPORT CUPS DEBUG \ DNSUPDATE DOCS FAM LDAP PAM_SMBPASS \ PTHREADPOOL QUOTAS SYSLOG UTMP OPTIONS_DEFAULT:= ACL_SUPPORT AD_DC ADS AIO_SUPPORT DEBUG \ DNSUPDATE DOCS FAM LDAP \ PTHREADPOOL QUOTAS SYSLOG UTMP ACL_SUPPORT_DESC= File system ACL support AD_DC_DESC= Active Directory Domain Controller support ADS_DESC= Active Directory client support AIO_SUPPORT_DESC= Asyncronous IO support DNSUPDATE_DESC= Dynamic DNS update (require ADS) EXP_MODULES_DESC= Experimental modules FAM_DESC= File Alteration Monitor support DEBUG_DESC= With debug information in the binaries LDAP_DESC= LDAP client support PAM_SMBPASS_DESC= PAM authentication via passdb backends PTHREADPOOL_DESC= Pthread pool QUOTAS_DESC= Disk quota support UTMP_DESC= UTMP accounting support ############################################################################## OPTIONS_DEFINE+= DEVELOPER MANPAGES EXP_MODULES DEVELOPER_DESC= With development support MANPAGES_DESC= Build manpages from DOCBOOK templates OPTIONS_RADIO= DNS ZEROCONF OPTIONS_RADIO_DNS= NSUPDATE BIND99 BIND910 OPTIONS_RADIO_ZEROCONF= AVAHI MDNSRESPONDER BIND99_DESC= Use bind99 as AD DC DNS server frontend BIND910_DESC= Use bind910 as AD DC DNS server frontend NSUPDATE_DESC= Use samba NSUPDATE utility for AD DC .include CONFIGURE_ARGS+= \ --with-pam \ --with-iconv \ --with-winbind \ --without-gettext \ --with-sendfile-support \ --builtin-libraries=smbclient \ ${ICONV_CONFIGURE_BASE} # for libexecinfo: (so that __builtin_frame_address() finds the top of the stack) .if ${ARCH} == "amd64" CFLAGS+= -fno-omit-frame-pointer .endif .if ${PORT_OPTIONS:MBIND99} RUN_DEPENDS+= bind99>=9.9.0.0:${PORTSDIR}/dns/bind99 SUB_LIST+= NSUPDATE="@comment " .elif ${PORT_OPTIONS:MBIND910} RUN_DEPENDS+= bind910>=9.10.0.0:${PORTSDIR}/dns/bind910 SUB_LIST+= NSUPDATE="@comment " .elif ${PORT_OPTIONS:MNSUPDATE} RUN_DEPENDS+= samba-nsupdate:${PORTSDIR}/dns/samba-nsupdate SUB_LIST+= NSUPDATE="" .endif .if ${PORT_OPTIONS:MDEBUG} WITH_DEBUG= yes CONFIGURE_ARGS+= --verbose MAKE_ARGS+= --verbose CONFIGURE_ARGS+= --enable-debug .endif # https://bugzilla.samba.org/show_bug.cgi?id=8969 .if ${PORT_OPTIONS:MDEVELOPER} #GDB_CMD?= gdb79 # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194046 # XXX: Still may break, if the link isn't installed - blame devel/gdb maintainer then. GDB_CMD?= ${LOCALBASE}/bin/gdb BUILD_DEPENDS+= ${GDB_CMD}:${PORTSDIR}/devel/gdb RUN_DEPENDS+= ${GDB_CMD}:${PORTSDIR}/devel/gdb SAMBA4_MODULES+= auth_skel perfcount_test pdb_test vfs_shadow_copy_test vfs_skel_opaque vfs_skel_transparent vfs_fake_acls CONFIGURE_ARGS+= --enable-developer --enable-selftest PLIST_SUB+= DEVELOPER="" .else GDB_CMD= true PLIST_SUB+= DEVELOPER="@comment " .endif ############################################################################## # XXX: That will blow up your installation # https://bugzilla.samba.org/show_bug.cgi?id=9302 .if defined(CRAZY) WANT_EXP_MODULES= auth_samba4 auth_script auth_skel auth_unix auth_wbc \ gpext_registry gpext_scripts gpext_security idmap_ad \ idmap_autorid idmap_hash idmap_ldap idmap_passdb \ idmap_rid idmap_tdb idmap_tdb2 idmap_nss nss_info_template \ pdb_ldap pdb_samba_dsdb pdb_smbpasswd pdb_tdbsam \ pdb_test pdb_wbc_sam perfcount_test vfs_acl_tdb \ vfs_acl_xattr vfs_aio_fork vfs_aio_posix \ vfs_aio_pthread vfs_audit vfs_cacheprime vfs_cap \ vfs_catia vfs_commit vfs_crossrename vfs_default_quota \ vfs_dfs_samba4 vfs_dirsort vfs_expand_msdfs vfs_extd_audit \ vfs_fake_acls vfs_fake_perms vfs_full_audit vfs_media_harmony \ vfs_netatalk vfs_posix_eadb vfs_preopen vfs_readahead \ vfs_readonly vfs_recycle vfs_scannedonly vfs_shadow_copy \ vfs_shadow_copy2 vfs_shadow_copy_test vfs_skel_opaque \ vfs_skel_transparent vfs_smb_traffic_analyzer vfs_streams_depot \ vfs_streams_xattr vfs_syncops vfs_time_audit \ vfs_xattr_tdb vfs_zfsacl .endif .if ${PORT_OPTIONS:MEXP_MODULES} . if !defined(WANT_EXP_MODULES) || empty(WANT_EXP_MODULES) WANT_EXP_MODULES= vfs_cacheprime gpext_scripts gpext_security gpext_registry . endif .endif .if ${PORT_OPTIONS:MACL_SUPPORT} LIB_DEPENDS+= libsunacl.so:${PORTSDIR}/sysutils/libsunacl WANT_EXP_MODULES+= vfs_zfsacl SAMBA4_MODULES+= vfs_zfsacl CONFIGURE_ARGS+= --with-acl-support .else CONFIGURE_ARGS+= --without-acl-support .endif .if ! ${PORT_OPTIONS:MAD_DC} CONFIGURE_ARGS+= --without-ad-dc PLIST_SUB+= AD_DC="@comment " .else PLIST_SUB+= AD_DC="" .endif .if ${PORT_OPTIONS:MADS} SAMBA4_WANT_ADS= yes SAMBA4_WANT_LDAP= yes # List of extra modules taken from RHEL build # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197320 SAMBA4_MODULES+= idmap_rid idmap_ad idmap_hash idmap_adex idmap_tdb2 .endif .if ${PORT_OPTIONS:MAIO_SUPPORT} CONFIGURE_ARGS+= --with-aio-support SAMBA4_MODULES+= vfs_aio_posix .else CONFIGURE_ARGS+= --without-aio-support .endif .if ${PORT_OPTIONS:MAVAHI} LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app CONFIGURE_ARGS+= --enable-avahi .else CONFIGURE_ARGS+= --disable-avahi .endif .if ${PORT_OPTIONS:MMDNSRESPONDER} LIB_DEPENDS+= libdns_sd.so:${PORTSDIR}/net/mDNSResponder CONFIGURE_ARGS+= --enable-dnssd .else CONFIGURE_ARGS+= --disable-dnssd .endif .if ${PORT_OPTIONS:MCUPS} LIB_DEPENDS+= libcups.so:${PORTSDIR}/print/cups-client CONFIGURE_ARGS+= --enable-cups --enable-iprint .else CONFIGURE_ARGS+= --disable-cups --disable-iprint .endif .if ${PORT_OPTIONS:MDNSUPDATE} SAMBA_WANT_ADS= yes CONFIGURE_ARGS+= --with-dnsupdate .else CONFIGURE_ARGS+= --without-dnsupdate .endif # https://bugzilla.samba.org/show_bug.cgi?id=9545 .if ${PORT_OPTIONS:MFAM} USES+= fam CONFIGURE_ARGS+= --with-fam WANT_EXP_MODULES+= vfs_notify_fam SAMBA4_MODULES+= vfs_notify_fam .else CONFIGURE_ARGS+= --without-fam .endif .if ${PORT_OPTIONS:MLDAP} SAMBA4_WANT_LDAP= yes .endif .if ${PORT_OPTIONS:MPAM_SMBPASS} CONFIGURE_ARGS+= --with-pam_smbpass PLIST_SUB+= SMBPASS="" .else CONFIGURE_ARGS+= --without-pam_smbpass PLIST_SUB+= SMBPASS="@comment " .endif .if ${PORT_OPTIONS:MPTHREADPOOL} CONFIGURE_ARGS+= --enable-pthreadpool SAMBA4_MODULES+= vfs_aio_pthread .else CONFIGURE_ARGS+= --disable-pthreadpool .endif .if ${PORT_OPTIONS:MQUOTAS} CONFIGURE_ARGS+= --with-quotas .else CONFIGURE_ARGS+= --without-quotas .endif .if ${PORT_OPTIONS:MSYSLOG} CONFIGURE_ARGS+= --with-syslog .else CONFIGURE_ARGS+= --without-syslog .endif .if ${PORT_OPTIONS:MUTMP} CONFIGURE_ARGS+= --with-utmp .else CONFIGURE_ARGS+= --without-utmp .endif .if defined(SAMBA4_WANT_ADS) CONFIGURE_ARGS+= --with-ads .else CONFIGURE_ARGS+= --without-ads .endif .if defined(SAMBA4_WANT_LDAP) USE_OPENLDAP= yes #WANT_OPENLDAP_SASL= yes CONFIGURE_ARGS+= --with-ldap PLIST_SUB+= LDAP="" .else CONFIGURE_ARGS+= --without-ldap PLIST_SUB+= LDAP="@comment " .endif .if ! ${PORT_OPTIONS:MMANPAGES} CONFIGURE_ENV+= XSLTPROC="true" .else BUILD_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl \ xsltproc:${PORTSDIR}/textproc/libxslt .endif .if defined(SAMBA4_BUNDLED_LIBS) && !empty(SAMBA4_BUNDLED_LIBS) CONFIGURE_ARGS+= --bundled-libraries="${SAMBA4_BUNDLED_LIBS:Q:C|(\\\\ )+|,|g:S|\\||g}" .endif .if defined(WANT_EXP_MODULES) && !empty(WANT_EXP_MODULES) SAMBA4_MODULES+= ${WANT_EXP_MODULES} .endif .if defined(SAMBA4_MODULES) && !empty(SAMBA4_MODULES) CONFIGURE_ARGS+= --with-shared-modules="${SAMBA4_MODULES:Q:C|(\\\\ )+|,|g:S|\\||g}" .endif # XXX: Dirty .for module in auth_samba4 auth_skel auth_unix auth_wbc gpext_registry gpext_scripts \ gpext_security idmap_ad idmap_ldap idmap_nss idmap_passdb idmap_tdb \ nss_info_template pdb_ldap pdb_samba_dsdb pdb_smbpasswd pdb_tdbsam \ pdb_test pdb_wbc_sam perfcount_test vfs_aio_posix vfs_aio_pthread \ vfs_cacheprime vfs_dfs_samba4 vfs_fake_acls vfs_notify_fam \ vfs_shadow_copy_test vfs_skel_opaque vfs_skel_transparent . if !empty(SAMBA4_MODULES) && ${SAMBA4_MODULES:M${module}} PLIST_SUB+= MODULE_${module:tu}="" . else PLIST_SUB+= MODULE_${module:tu}="@comment " . endif .endfor ############################################################################## # !SAMBA4_SUBPORT .endif .include .if !defined(SAMBA4_SUBPORT) SAMBA4_SUB= SAMBA4_LOGDIR="${SAMBA4_LOGDIR}" \ SAMBA4_RUNDIR="${SAMBA4_RUNDIR}" \ SAMBA4_LOCKDIR="${SAMBA4_LOCKDIR}" \ SAMBA4_MODULEDIR="${SAMBA4_MODULEDIR}" \ SAMBA4_PRIVATEDIR="${SAMBA4_PRIVATEDIR}" \ SAMBA4_CONFDIR="${SAMBA4_CONFDIR}" \ SAMBA4_CONFIG="${SAMBA4_CONFIG}" PLIST_SUB+= ${SAMBA4_SUB} SUB_LIST+= ${SAMBA4_SUB} USE_RC_SUBR= samba_server SUB_FILES= pkg-message README.FreeBSD # Make sure that the right version of Python is used by the tools # https://bugzilla.samba.org/show_bug.cgi?id=7305 python_OLD_CMD= /usr/bin/env python SHEBANG_FILES= ${PATCH_WRKSRC}/source4/scripting/bin/* # No fancy color error messages .if ${COMPILER_TYPE} == "clang" CFLAGS+= -fno-color-diagnostics .endif CONFIGURE_ENV+= NOCOLOR=yes WAF_LOG_FORMAT='%(c1)s%(zone)s%(c2)s %(message)s' MAKE_ENV+= NOCOLOR=yes WAF_LOG_FORMAT='%(c1)s%(zone)s%(c2)s %(message)s' SAMBA_MAN1+= dbwrap_tool.1 findsmb.1 gentest.1 locktest.1 \ log2pcap.1 masktest.1 ndrdump.1 nmblookup.1 \ nmblookup4.1 ntlm_auth.1 oLschema2ldif.1 \ profiles.1 regdiff.1 regpatch.1 regshell.1 \ regtree.1 rpcclient.1 sharesec.1 smbcacls.1 \ smbclient.1 smbcontrol.1 smbcquotas.1 smbget.1 \ smbstatus.1 smbtar.1 smbtorture.1 smbtree.1 \ testparm.1 vfstest.1 wbinfo.1 SAMBA_MAN5+= lmhosts.5 smbgetrc.5 smbpasswd.5 pam_winbind.conf.5 \ smb.conf.5 SAMBA_MAN7+= samba.7 winbind_krb5_locator.7 SAMBA_MAN8+= eventlogadm.8 idmap_ad.8 idmap_autorid.8 idmap_hash.8 \ idmap_ldap.8 idmap_nss.8 idmap_rfc2307.8 idmap_rid.8 \ idmap_tdb.8 idmap_tdb2.8 net.8 nmbd.8 pam_winbind.8 pdbedit.8 \ samba-regedit.8 samba-tool.8 samba.8 smbd.8 smbpasswd.8 \ smbspool.8 smbta-util.8 vfs_acl_tdb.8 vfs_acl_xattr.8 \ vfs_aio_fork.8 vfs_aio_linux.8 vfs_aio_pthread.8 \ vfs_audit.8 vfs_cacheprime.8 vfs_cap.8 vfs_catia.8 vfs_ceph.8 \ vfs_commit.8 vfs_crossrename.8 vfs_default_quota.8 \ vfs_dirsort.8 vfs_extd_audit.8 vfs_fake_perms.8 vfs_fileid.8 \ vfs_fruit.8 vfs_full_audit.8 vfs_glusterfs.8 vfs_gpfs.8 vfs_media_harmony.8 \ vfs_netatalk.8 vfs_notify_fam.8 vfs_prealloc.8 \ vfs_preopen.8 vfs_readahead.8 vfs_readonly.8 \ vfs_recycle.8 vfs_scannedonly.8 vfs_shadow_copy.8 \ vfs_shadow_copy2.8 vfs_snapper.8 vfs_smb_traffic_analyzer.8 \ vfs_streams_depot.8 vfs_streams_xattr.8 vfs_syncops.8 vfs_time_audit.8 \ vfs_tsmsm.8 vfs_worm.8 vfs_xattr_tdb.8 winbindd.8 \ vfs_linux_xfs_sgid.8 vfs_btrfs.8 PORTDOCS= README.FreeBSD IGNORE_NONTHREAD_PYTHON=needs port lang/python${PYTHON_SUFFIX} to be build with THREADS support post-extract: @${RM} -rf ${WRKSRC}/pidl post-patch: @${REINPLACE_CMD} -e 's|$${PKGCONFIGDIR}|${PKGCONFIGDIR}|g' \ ${PATCH_WRKSRC}/buildtools/wafsamba/pkgconfig.py @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/buildtools/wafsamba/samba_pidl.py \ ${PATCH_WRKSRC}/buildtools/wafsamba/wafsamba.py @${REINPLACE_CMD} -e 's|%%GDB_CMD%%|${GDB_CMD}|g' \ ${PATCH_WRKSRC}/buildtools/scripts/abi_gen.sh @${REINPLACE_CMD} -e 's|%%SAMBA4_CONFIG%%|${SAMBA4_CONFIG}|g' \ ${PATCH_WRKSRC}/dynconfig/wscript # Use threading (or multiprocessing) but not thread (renamed in python 3+). pre-configure: @if ! ${PYTHON_CMD} -c "import multiprocessing;" 2>/dev/null; then \ ${ECHO_CMD}; \ ${ECHO_MSG} "===> ${PKGNAME} "${IGNORE_NONTHREAD_PYTHON:Q}.; \ ${ECHO_CMD}; \ ${FALSE}; \ fi # XXX: Gross hack to allow build newer Samba while old one is installed. # This implies that LINKFLAGS_PYEMBED contains flags which are already # used in other parts of LINKFLAGS, namely -L$(LOCALBASE)/lib and -pthread post-configure: -${REINPLACE_CMD} -e 's|LINKFLAGS_PYEMBED.*|LINKFLAGS_PYEMBED = []|' \ ${CONFIGURE_WRKSRC}/bin/c4che/default.cache.py pre-build: .if ! ${PORT_OPTIONS:MMANPAGES} . for man in libcli/nbt/man/nmblookup4.1 \ librpc/tools/ndrdump.1 \ source4/lib/registry/man/regdiff.1 \ source4/lib/registry/man/regpatch.1 \ source4/lib/registry/man/regshell.1 \ source4/lib/registry/man/regtree.1 \ source4/torture/man/gentest.1 \ source4/torture/man/locktest.1 \ source4/torture/man/masktest.1 \ source4/torture/man/smbtorture.1 \ source4/utils/man/ntlm_auth4.1 \ source4/utils/man/oLschema2ldif.1 -@${MKDIR} `dirname ${BUILD_WRKSRC}/bin/default/${man}` @${INSTALL_MAN} ${FILESDIR}/man/`basename ${man}` ${BUILD_WRKSRC}/bin/default/${man} . endfor -@${MKDIR} ${BUILD_WRKSRC}/bin/default/docs-xml/manpages . for man in ${SAMBA_MAN1} ${SAMBA_MAN5} ${SAMBA_MAN7} ${SAMBA_MAN8} -@${INSTALL_MAN} ${BUILD_WRKSRC}/docs/manpages/${man} ${BUILD_WRKSRC}/bin/default/docs-xml/manpages . endfor .endif post-install: @${LN} -sf smb.conf.5.gz ${STAGEDIR}${PREFIX}/man/man5/smb4.conf.5.gz .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} . for doc in ${PORTDOCS} @${INSTALL_DATA} ${WRKDIR}/${doc} ${STAGEDIR}${DOCSDIR} . endfor .endif # Run post-install script .for dir in ${SAMBA4_LOGDIR} ${SAMBA4_RUNDIR} ${SAMBA4_LOCKDIR} ${SAMBA4_MODULEDIR} @${INSTALL} -d -m 0755 "${STAGEDIR}${dir}" .endfor @${INSTALL} -d -m 0700 "${STAGEDIR}${SAMBA4_PRIVATEDIR}" .for dir in auth bind9 gensec gpext idmap ldb nss_info pdb perfcount process_model service vfs @${MKDIR} "${STAGEDIR}${SAMBA4_MODULEDIR}/${dir}" .endfor .if ${PORT_OPTIONS:MDEVELOPER} test: build @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${INSTALL_WRKSRC}/${WAF_CMD} ${MAKE_ARGS} $@) .endif # !SAMBA4_SUBPORT .endif .include Index: head/net/sendsms/Makefile =================================================================== --- head/net/sendsms/Makefile (revision 398832) +++ head/net/sendsms/Makefile (revision 398833) @@ -1,31 +1,31 @@ # Created by: Ion-Mihai "IOnut" Tetcu # $FreeBSD$ PORTNAME= sendsms PORTVERSION= 0.2.4 CATEGORIES= net perl5 MASTER_SITES= http://caspian.dotconf.net/menu/Software/SendSMS/ \ http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/ DISTNAME= sendSMS.pl EXTRACT_SUFX= .gz MAINTAINER= ports@FreeBSD.org COMMENT= Simple perl command-line utility to send SMS via from on provider site EXTRACT_CMD= ${GZCAT} -EXTRACT_BEFORE_ARGS= +EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= > ${WRKSRC}/${PORTNAME} PLIST_FILES= bin/sendsms CONFLICTS= gnokii-[0-9]* smstools-[0-9]* NO_BUILD= yes NO_WRKSUBDIR= yes USES= perl5 shebangfix SHEBANG_FILES= ${PORTNAME} do-install: cd ${WRKSRC} && ${INSTALL_SCRIPT} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include Index: head/net-im/cicquin/Makefile =================================================================== --- head/net-im/cicquin/Makefile (revision 398832) +++ head/net-im/cicquin/Makefile (revision 398833) @@ -1,21 +1,21 @@ # Created by: Peter Pentchev # $FreeBSD$ PORTNAME= cicquin PORTVERSION= 0.1 CATEGORIES= net-im -#MASTER_SITES= LOCAL/roam/misc/cicquin \ +#MASTER_SITES= LOCAL/roam/misc/cicquin \ MASTER_SITES= \ http://devel.ringlet.net/misc/cicquin/ \ http://people.FreeBSD.org/~roam/misc/cicquin/ MAINTAINER= ports@FreeBSD.org COMMENT= Look up users in the CenterICQ user database PLIST_FILES= bin/${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/net-im/py-slackclient/Makefile =================================================================== --- head/net-im/py-slackclient/Makefile (revision 398832) +++ head/net-im/py-slackclient/Makefile (revision 398833) @@ -1,20 +1,20 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= slackclient PORTVERSION= 0.14 CATEGORIES= net-im python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= Python client for Slack.com LICENSE= MIT - + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}websocket-client>0:${PORTSDIR}/www/py-websocket-client USES= python:-2.7 USE_PYTHON= autoplist distutils .include Index: head/net-mgmt/fetchconfig/Makefile =================================================================== --- head/net-mgmt/fetchconfig/Makefile (revision 398832) +++ head/net-mgmt/fetchconfig/Makefile (revision 398833) @@ -1,46 +1,46 @@ # Created by: salexanov@gmail.com # $FreeBSD$ PORTNAME= fetchconfig PORTVERSION= 0.22 PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= SAVANNAH MAINTAINER= salexanov@gmail.com COMMENT= Perl script for retrieving configuration of various network devices LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= p5-Net-Telnet>=0:${PORTSDIR}/net/p5-Net-Telnet RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 NO_BUILD= yes MODULES= model/Abstract.pm model/CiscoCAT.pm model/CiscoIOS.pm \ model/Dell.pm model/Detector.pm model/FortiGate.pm \ model/Parks.pm model/ProCurve.pm model/Riverstone.pm \ model/DmSwitch.pm model/Terayon.pm Constants.pm Logger.pm \ model/3ComMSR.pm model/CiscoASA.pm model/MikroTik.pm \ model/CiscoPIX.pm model/JunOS.pm model/TellabsMSR.pm PORTDOCS= CHANGES README device_table.example post-patch: @${REINPLACE_CMD} -e '1s|.*|#!${PERL} -w|' ${WRKSRC}/${PORTNAME}.pl do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/model .for f in ${MODULES} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/${f} \ ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/${f} .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor - + .include Index: head/net-mgmt/ndpmon/Makefile =================================================================== --- head/net-mgmt/ndpmon/Makefile (revision 398832) +++ head/net-mgmt/ndpmon/Makefile (revision 398833) @@ -1,95 +1,95 @@ # Created by: janos.mohacsi@bsd.hu # $FreeBSD$ PORTNAME= ndpmon PORTVERSION= 1.4.0 PORTREVISION= 5 CATEGORIES= net-mgmt ipv6 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-1.4/ MAINTAINER= pi@FreeBSD.org COMMENT= On-link icmpv6 message monitoring and reporting daemon LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= PY4SUITE MACRESOLV -OPTIONS_DEFAULT= +OPTIONS_DEFAULT= PY4SUITE_DESC= Depend on py-4suite-xml (for generating HTML) MACRESOLV_DESC= Enable MAC Manufacturer Resolution (use p5-libwww) .include .if ${PORT_OPTIONS:MPY4SUITE} RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/Ft/Xml/Domlette.py:${PORTSDIR}/textproc/py-4suite-xml USES+= python PLIST_SUB+= PY="" .else PLIST_SUB+= PY="@comment " .endif USES= perl5 shebangfix tar:tgz SHEBANG_FILES= demopipeprogram.pl.sample USE_PERL5= run USE_GNOME= libxml2 USE_RC_SUBR= ndpmonitor GNU_CONFIGURE= yes CONFIGURE_ENV= OSTYPE=FreeBSD CONFIGURE_ARGS= --with-var-datadir=${PREFIX}/var --with-confdir=${ETCDIR} \ --with-libxml2=${LOCALBASE} --cache-file=/dev/null PORTDOCS= INSTALL README .if ${PORT_OPTIONS:MMACRESOLV} CONFIGURE_ARGS+=--enable-mac-resolv BUILD_DEPENDS+= p5-libwww>=6.05:${PORTSDIR}/www/p5-libwww RUN_DEPENDS+= p5-libwww>=6.05:${PORTSDIR}/www/p5-libwww PLIST_SUB+= MACRESOLV="" .else PLIST_SUB+= MACRESOLV="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/ndpmon.8 \ ${WRKSRC}/create_html_table.py \ ${WRKSRC}/demopipeprogram.pl.sample \ ${WRKSRC}/config_ndpmon.xml.in \ ${WRKSRC}/config_ndpmon.xml (cd ${WRKSRC}; ${MAKE} clean) do-install: ${INSTALL_MAN} ${WRKSRC}/ndpmon.8 ${STAGEDIR}${PREFIX}/man/man8 ${INSTALL_PROGRAM} ${WRKSRC}/ndpmon ${STAGEDIR}${PREFIX}/sbin ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/*.dtd ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/demopipeprogram.pl.sample ${STAGEDIR}${DATADIR} .if ${PORT_OPTIONS:MPY4SUITE} ${INSTALL_SCRIPT} ${WRKSRC}/create_html_table.py ${STAGEDIR}${DATADIR} .endif .if ${PORT_OPTIONS:MMACRESOLV} ${MKDIR} ${STAGEDIR}${DATADIR}/plugins/mac_resolv ${INSTALL_SCRIPT} ${WRKSRC}/plugins/mac_resolv/make-manuf ${STAGEDIR}${DATADIR}/plugins/mac_resolv ${INSTALL_DATA} ${WRKSRC}/plugins/mac_resolv/*.tmpl ${STAGEDIR}${DATADIR}/plugins/mac_resolv ${INSTALL_DATA} ${WRKSRC}/plugins/mac_resolv/manuf ${STAGEDIR}${DATADIR}/plugins/mac_resolv .endif ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/config_ndpmon.xml ${STAGEDIR}${ETCDIR}/config_ndpmon.xml-dist ${MKDIR} ${STAGEDIR}${PREFIX}/var/ndpmon ${INSTALL_DATA} ${WRKSRC}/neighbor_list.xml ${STAGEDIR}${PREFIX}/var/ndpmon/neighbor_list.xml .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MMACRESOLV} @${CAT} ${PKGMESSAGE}.MACRESOLV .endif .include Index: head/net-mgmt/p5-Net-NSCA-Client/Makefile =================================================================== --- head/net-mgmt/p5-Net-NSCA-Client/Makefile (revision 398832) +++ head/net-mgmt/p5-Net-NSCA-Client/Makefile (revision 398833) @@ -1,54 +1,54 @@ # $FreeBSD$ PORTNAME= Net-NSCA-Client PORTVERSION= 0.009002 PORTREVISION= 1 CATEGORIES= net-mgmt perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= tj@FreeBSD.org COMMENT= Perl extension for sending passive service checks to nagios RUN_DEPENDS= p5-Const-Fast>=0.013:${PORTSDIR}/devel/p5-Const-Fast \ p5-Convert-Binary-C>=0.76:${PORTSDIR}/converters/p5-Convert-Binary-C \ p5-Data-Rand>=0.0.4:${PORTSDIR}/devel/p5-Data-Rand \ p5-Data-Rand-Obscure>=0.021:${PORTSDIR}/devel/p5-Data-Rand-Obscure \ p5-Data-Validate-Domain>=0.10:${PORTSDIR}/dns/p5-Data-Validate-Domain \ p5-Digest-CRC>=0.18:${PORTSDIR}/security/p5-Digest-CRC \ p5-Moose>=0.89:${PORTSDIR}/devel/p5-Moose \ p5-MooseX-Clone>=0.05:${PORTSDIR}/devel/p5-MooseX-Clone \ p5-MooseX-StrictConstructor>=0.08:${PORTSDIR}/devel/p5-MooseX-StrictConstructor \ p5-MooseX-Types>=0.35:${PORTSDIR}/devel/p5-MooseX-Types \ p5-MooseX-Types-PortNumber>=0.02:${PORTSDIR}/devel/p5-MooseX-Types-PortNumber \ p5-namespace-clean>=0.04:${PORTSDIR}/devel/p5-namespace-clean BUILD_DEPENDS= p5-Const-Fast>=0.013:${PORTSDIR}/devel/p5-Const-Fast \ p5-Convert-Binary-C>=0.76:${PORTSDIR}/converters/p5-Convert-Binary-C \ p5-Data-Rand>=0.0.4:${PORTSDIR}/devel/p5-Data-Rand \ p5-Data-Rand-Obscure>=0.021:${PORTSDIR}/devel/p5-Data-Rand-Obscure \ p5-Data-Section>=0.101621:${PORTSDIR}/devel/p5-Data-Section \ p5-Data-Validate-Domain>=0.10:${PORTSDIR}/dns/p5-Data-Validate-Domain \ p5-Digest-CRC>=0.18:${PORTSDIR}/security/p5-Digest-CRC \ p5-Moose>=0.89:${PORTSDIR}/devel/p5-Moose \ p5-MooseX-Clone>=0.05:${PORTSDIR}/devel/p5-MooseX-Clone \ p5-MooseX-StrictConstructor>=0.08:${PORTSDIR}/devel/p5-MooseX-StrictConstructor \ p5-MooseX-Types>=0.35:${PORTSDIR}/devel/p5-MooseX-Types \ p5-MooseX-Types-PortNumber>=0.02:${PORTSDIR}/devel/p5-MooseX-Types-PortNumber \ p5-namespace-clean>=0.04:${PORTSDIR}/devel/p5-namespace-clean TEST_DEPENDS= p5-Test-Class>=0.37:${PORTSDIR}/devel/p5-Test-Class \ p5-Test-Command>=0.08:${PORTSDIR}/devel/p5-Test-Command \ p5-Test-Fatal>=0.010:${PORTSDIR}/devel/p5-Test-Fatal \ p5-Test-Requires>=0.06:${PORTSDIR}/devel/p5-Test-Requires \ p5-Test-TCP>=1.17:${PORTSDIR}/devel/p5-Test-TCP - + USES= perl5 USE_PERL5= modbuild post-patch: @cd ${WRKSRC} && ${RM} -f bin/send_nsca @cd ${WRKSRC} && ${RM} -f t/send_nsca.t - + regression-test: build @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./Build test .include Index: head/net-mgmt/seafile/Makefile =================================================================== --- head/net-mgmt/seafile/Makefile (revision 398832) +++ head/net-mgmt/seafile/Makefile (revision 398833) @@ -1,100 +1,100 @@ # $FreeBSD$ PORTNAME= seafile PORTVERSION= 4.0.6 PORTREVISION= 3 DISTVERSIONPREFIX= v DISTVERSIONSUFFIX= -server CATEGORIES= net-mgmt devel MAINTAINER= yan_jingfeng@yahoo.com COMMENT= Framework for writing networked applications LICENSE= GPLv3 BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala LIB_DEPENDS= libsearpc.so:${PORTSDIR}/devel/libsearpc \ libevhtp.so:${PORTSDIR}/www/libevhtp \ libzdb.so:${PORTSDIR}/databases/libzdb \ libcurl.so:${PORTSDIR}/ftp/curl \ libinotify.so:${PORTSDIR}/devel/libinotify \ libccnet.so:${PORTSDIR}/net-mgmt/ccnet RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}eggtestinfo>0:${PORTSDIR}/devel/py-eggtestinfo \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \ bash:${PORTSDIR}/shells/bash USE_GITHUB= yes GH_ACCOUNT= haiwen USES= autoreconf iconv libarchive libtool pathfix pkgconfig python:2 \ shebangfix SHEBANG_FILES= scripts/*.sh scripts/upgrade/*.sh GNU_CONFIGURE= yes USE_OPENSSL= yes USE_LDCONFIG= yes CONFIGURE_ENV= SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" PATHFIX_MAKEFILEIN= Makefile.am CONFIGURE_ARGS= --enable-server INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib HAIWENDIR= www/haiwen SEAFILE_SERVER= ${HAIWENDIR}/seafile-server SEABIN= ${SEAFILE_SERVER}/seafile/bin SEALIB= ${SEAFILE_SERVER}/seafile/lib SEAFILE_USERNAME?= www SEAFILE_GROUPNAME?= ${SEAFILE_USERNAME} -USE_RC_SUBR= ${PORTNAME} +USE_RC_SUBR= ${PORTNAME} PLIST_SUB= SEAFILE_USERNAME=${SEAFILE_USERNAME} \ SEAFILE_GROUPNAME=${SEAFILE_GROUPNAME} \ SEAFILE_SERVER=${SEAFILE_SERVER} \ HAIWENDIR=${HAIWENDIR} MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= FUSE RIAK OPTIONS_SUB= yes FUSE_DESC= Use file system in userspace RIAK_DESC= Use distributed noSQL database FUSE_CONFIGURE_ENABLE= fuse FUSE_LIB_DEPENDS= libfuse.so:${PORTSDIR}/sysutils/fusefs-libs RIAK_CONFIGURE_ENABLE= riak RIAK_RUN_DEPENDS= riak:${PORTSDIR}/databases/riak OPTIONS_DEFAULT=FUSE .if defined(DFLYVERSION) OPTIONS_DEFAULT= .endif post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${SEABIN} ${STAGEDIR}${PREFIX}/${SEALIB}\ ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/seafile/share/doc/seafile \ ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/upgrade .for SERVPROG in seaf-fsck seafserv-gc seaf-fuse seaf-migrate \ seaf-server seaf-server-init seafile-controller if [ -e "${STAGEDIR}${PREFIX}/bin/${SERVPROG}" ]; then \ ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/${SERVPROG} ${STAGEDIR}${PREFIX}/${SEABIN}; \ ${RM} ${STAGEDIR}${PREFIX}/bin/${SERVPROG}; \ fi .endfor (cd ${STAGEDIR}${PREFIX}/lib && \ ${COPYTREE_SHARE} ${PYTHON_VERSION} ${STAGEDIR}${PREFIX}/${SEALIB}) @${RM} -rf ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION} ${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.[ps][yh] ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER} ${INSTALL_SCRIPT} ${WRKSRC}/scripts/upgrade/*.[ps][yh] \ ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/upgrade ${INSTALL_DATA} ${WRKSRC}/doc/seafile-tutorial.doc \ ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/seafile/share/doc/seafile/ (cd ${WRKSRC}/scripts/upgrade && \ ${COPYTREE_SHARE} sql ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/upgrade) .include Index: head/net-mgmt/snmptt/Makefile =================================================================== --- head/net-mgmt/snmptt/Makefile (revision 398832) +++ head/net-mgmt/snmptt/Makefile (revision 398833) @@ -1,49 +1,49 @@ # $FreeBSD$ PORTNAME= snmptt PORTVERSION= 1.4 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}_${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= nistor@snickers.org COMMENT= SNMP trap handler/translator/swiss-army-knife NO_BUILD= yes LICENSE= GPLv2 USES= perl5 shebangfix tar:tgz USE_RC_SUBR= snmptt RUN_DEPENDS= net-snmp>=0:${PORTSDIR}/net-mgmt/net-snmp \ p5-Config-IniFiles>=0:${PORTSDIR}/devel/p5-Config-IniFiles \ p5-Text-Balanced>=0:${PORTSDIR}/textproc/p5-Text-Balanced \ p5-Text-ParseWords>=0:${PORTSDIR}/textproc/p5-Text-ParseWords \ p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes DOCS= faqs.html index.html layout1.css snmptt.html \ snmpttconvert.html snmpttconvertmib.html OPTIONS_DEFINE= DOCS SCRIPTS= snmptt snmptt-net-snmp-test snmpttconvert \ snmpttconvertmib snmptthandler SHEBANG_FILES= ${SCRIPTS} do-install: .for _SCRIPT in ${SCRIPTS} @${INSTALL_SCRIPT} ${WRKSRC}/${_SCRIPT} ${STAGEDIR}${PREFIX}/sbin .endfor - + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/snmp ${INSTALL_DATA} ${WRKSRC}/snmptt.ini ${STAGEDIR}${PREFIX}/etc/snmp/snmptt.ini.sample ${INSTALL_DATA} ${WRKSRC}/examples/snmptt.conf.generic ${STAGEDIR}${PREFIX}/etc/snmp/snmptt.conf.generic.sample ${MKDIR} ${STAGEDIR}${DOCSDIR} .for _DOC in ${DOCS} ${INSTALL_MAN} ${WRKSRC}/docs/${_DOC} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/net-mgmt/xymon-server/files/Makefile =================================================================== --- head/net-mgmt/xymon-server/files/Makefile (revision 398832) +++ head/net-mgmt/xymon-server/files/Makefile (revision 398833) @@ -1,96 +1,96 @@ # Toplevel Makefile for Xymon # $FreeBSD$ BUILDTOPDIR=`pwd` # configure settings for Xymon # # Toplevel dir XYMONTOPDIR = ${PREFIX}/www/xymon # Server home dir for etc/, bin/ XYMONHOME = ${PREFIX}/www/xymon/server # Server data dir for hist/ etc. XYMONVAR = ${PREFIX}/www/xymon/data # CGI scripts go in CGIDIR CGIDIR = ${PREFIX}/www/xymon/cgi-bin # Admin CGI scripts go in SECURECGIDIR SECURECGIDIR = ${PREFIX}/www/xymon/cgi-secure # Where to put logfiles XYMONLOGDIR = /var/log/xymon # Where to install manpages MANROOT = ${PREFIX}/man # How to run fping or xymonping FPING = fping # Username running xymon #XYMONUSER = nobody # Xymon server hostname #XYMONHOSTNAME = xymon.example.com # Xymon server IP-address #XYMONHOSTIP = 127.0.0.1 # Xymon server OS XYMONHOSTOS = freebsd # URL for Xymon webpages XYMONHOSTURL = /xymon # URL for Xymon CGIs XYMONCGIURL = /xymon-cgi # URL for Xymon Admin CGIs SECUREXYMONCGIURL = /xymon-seccgi # Webserver group-ID HTTPDGID=80 # C-ARES settings SYSTEMCARES = yes CARESINCDIR = -I${LOCALBASE}/include CARESLIBS = -L${LOCALBASE}/lib -lcares RPATHVAL += ${LOCALBASE}/lib # PCRE settings PCREINCDIR = -I${LOCALBASE}/include PCRELIBS = -L${LOCALBASE}/lib -lpcre RPATHVAL += ${LOCALBASE}/lib # RRDtool settings RRDDEF = -DRRDTOOL12 RRDINCDIR = -I${LOCALBASE}/include RRDLIBS = -L${LOCALBASE}/lib -lrrd -L${LOCALBASE}/lib -lpng RPATHVAL += ${LOCALBASE}/lib DORRD = yes # # OpenSSL settings SSLFLAGS = -DHAVE_OPENSSL SSLINCDIR = -I${OPENSSLINC} SSLLIBS = -L${OPENSSLLIB} -lssl -lcrypto RPATHVAL += ${OPENSSLLIB} DOSSL = yes # ifdef WITH_LDAP # OpenLDAP settings LDAPFLAGS = -DXYMON_LDAP -DXYMON_LDAP_USESTARTTLS -DHAVE_LDAP LDAPINCDIR = -I${PREFIX}/include LDAPLIBS = -L${PREFIX}/lib -lldap -llber RPATHVAL += ${PREFIX}/lib RPATHVAL += /usr/local/lib DOLDAP = yes endif # # clock_gettime() settings -LIBRTDEF = +LIBRTDEF = ifdef WITH_NETSNMP # Net-SNMP settings DOSNMP = yes else DOSNMP = no endif # Large File Support settings LFSDEF = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 include build/Makefile.FreeBSD # Add local CFLAGS etc. settings here include build/Makefile.rules Index: head/net-p2p/dclib/Makefile =================================================================== --- head/net-p2p/dclib/Makefile (revision 398832) +++ head/net-p2p/dclib/Makefile (revision 398833) @@ -1,38 +1,38 @@ -# Created by: Sverrir Valgeirsson and +# Created by: Sverrir Valgeirsson and # $FreeBSD$ PORTNAME= dclib PORTVERSION= 0.3.23 PORTREVISION= 5 CATEGORIES= net-p2p MASTER_SITES= SF/wxdcgui/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Direct connect interface library for valknut WRKSRC= ${WRKDIR}/${DISTNAME} GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USES= jpeg libtool pathfix tar:bzip2 USE_GNOME= libxml2 USE_LDCONFIG= yes USE_OPENSSL= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib .include .if ${OSVERSION} >= 1000015 EXTRA_PATCHES= ${FILESDIR}/extra-dclib-core_cssl.cpp .endif post-patch: ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|dclib-0.3/||g' ${REINPLACE_CMD} -e 's|-0.3||g' ${WRKSRC}/dclib.pc.in ${REINPLACE_CMD} -e 's|-D_XOPEN_SOURCE=500||g; \ s|-D_BSD_SOURCE||g' ${WRKSRC}/configure .include Index: head/net-p2p/gnunet-gtk/Makefile =================================================================== --- head/net-p2p/gnunet-gtk/Makefile (revision 398832) +++ head/net-p2p/gnunet-gtk/Makefile (revision 398833) @@ -1,49 +1,49 @@ # Created by: bf # $FreeBSD$ PORTNAME= gnunet-gtk PORTVERSION= 0.10.1 CATEGORIES= net-p2p ipv6 security MASTER_SITES= GNU/gnunet MAINTAINER= ports@FreeBSD.org COMMENT= GTK interface to GNUnet LICENSE= GPLv3 LIB_DEPENDS= libgladeui-1.so:${PORTSDIR}/devel/glade3 \ libltdl.so:${PORTSDIR}/devel/libltdl \ libqrencode.so:${PORTSDIR}/graphics/libqrencode \ libgnunetutil.so:${PORTSDIR}/net-p2p/gnunet \ libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique USES= gmake iconv libtool pathfix pkgconfig USE_GNOME= gtk20 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gtktest \ --with-gtk-version=2 \ --with-extractor=${LOCALBASE} \ --with-gnunet=${LOCALBASE} \ ${ICONV_CONFIGURE_ARG} INSTALL_TARGET= install-strip USE_LDCONFIG= yes INSTALLS_ICONS= yes OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|^\([[:space:]]\)install-docDATA$$|\1|' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ 's|"$${mkinstalldirs}"|"$${MKDIR_P}"|' \ ${WRKSRC}/pixmaps/Makefile.in post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for i in AUTHORS ChangeLog NEWS README +.for i in AUTHORS ChangeLog NEWS README (cd ${WRKSRC} && ${INSTALL_DATA} ${i} \ ${STAGEDIR}${DOCSDIR}) .endfor .include Index: head/net-p2p/transmission-cli/Makefile =================================================================== --- head/net-p2p/transmission-cli/Makefile (revision 398832) +++ head/net-p2p/transmission-cli/Makefile (revision 398833) @@ -1,112 +1,112 @@ # $FreeBSD$ PORTNAME= transmission PORTVERSION= 2.84 PORTREVISION?= 3 CATEGORIES?= net-p2p #MASTER_SITES= http://download.m0k.org/${PORTNAME}/files/ MASTER_SITES= http://transmission.cachefly.net/ PKGNAMESUFFIX?= -cli MAINTAINER?= jbeich@FreeBSD.org COMMENT?= Lightweight CLI (command line) BitTorrent client and utilities SLAVEPORT?= cli LICENSE= GPLv2 .if ${SLAVEPORT} == cli LICENSE+= MIT LICENSE_COMB= multi .endif LICENSE_FILE= ${WRKSRC}/COPYING USES+= cpe tar:xz CPE_VENDOR= transmissionbt CONFLICTS_INSTALL= ${PORTNAME}${PKGNAMESUFFIX}-2.5* OPTIONS_DEFINE= LITE DOCS EXTRACT_AFTER_ARGS=--no-same-owner --no-same-permissions --exclude third-party .if ${SLAVEPORT} != web LIB_DEPENDS?= ${GEN_LIB_DEPENDS} # General dependencies GEN_LIB_DEPENDS=libcurl.so:${PORTSDIR}/ftp/curl \ libdht.so:${PORTSDIR}/devel/jech-dht \ libminiupnpc.so:${PORTSDIR}/net/miniupnpc \ libnatpmp.so:${PORTSDIR}/net/libnatpmp \ libutp.so:${PORTSDIR}/net/libutp \ libevent.so:${PORTSDIR}/devel/libevent2 GEN_RUN_DEPENDS=${LOCALBASE}/share/transmission/web/index.html:${PORTSDIR}/www/transmission-web -# This is master port of transmission-*, so don't override USES definition +# This is master port of transmission-*, so don't override USES definition USES+= gmake iconv libtool localbase pkgconfig USE_OPENSSL= yes GNU_CONFIGURE= yes CPPFLAGS+= -DWITH_UTP=1 LIBS+= ${ICONV_LIB} CONFIGURE_ARGS=--with-zlib=/usr \ --without-inotify \ --disable-utp \ --enable-external-natpmp \ ${EXTRA_CONF_ARGS} CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" \ DHT_CFLAGS=" " \ DHT_LIBS="-ldht" \ LIBUTP_CFLAGS=" " \ LIBUTP_LIBS="-lutp" \ LIBUTP_LIBS_QT="-lutp" EXTRA_CONF_ARGS?=--enable-cli \ --disable-daemon \ --without-gtk \ --disable-mac \ --disable-nls LITE_CONFIGURE_ENABLE= lightweight EXTRA_PATCHES= ${PATCHDIR}/disable-web .endif DOCS= AUTHORS NEWS README DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} general-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|noinst_PROGRAMS = |noinst_PROGRAMS = #|g' .if ${SLAVEPORT} != gtk @${REINPLACE_CMD} -e '/#define DISABLE_GETTEXT/s,/\* \(.*\) \*/,\1,' \ ${WRKSRC}/libtransmission/utils.h .endif @${REINPLACE_CMD} -e \ 's|rt_clock_gettime=yes|rt_clock_gettime=no|g ; \ s|" == "|" = "|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|doc \\| \\|g' \ ${WRKSRC}/Makefile.in .if ${SLAVEPORT} != cli @${REINPLACE_CMD} -e 's|utils \\|\\|g' \ ${WRKSRC}/Makefile.in .endif # Don't conflict with patches but force system libraries @${REINPLACE_CMD} -e 's|third-party \\|\\|g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -Ee '/^DHT_(CFLAGS|LIBS)=/d' \ -e 's|third-party/[^ ]*Makefile||g' \ ${WRKSRC}/configure @${REINPLACE_CMD} \ -e 's,TRANSMISSION_TOP}/third-party/dht/libdht.a,DHT_LIBS},' \ ${WRKSRC}/qt/qtr.pro @${ECHO_CMD} 'DHT_LIBS = @DHT_LIBS@' >>${WRKSRC}/qt/config.pri.in post-patch: general-patch general-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} \ "${DOCS}" ${STAGEDIR}${DOCSDIR}) post-install: general-install .include Index: head/news/py-yenc/Makefile =================================================================== --- head/news/py-yenc/Makefile (revision 398832) +++ head/news/py-yenc/Makefile (revision 398833) @@ -1,17 +1,17 @@ # Created by: Alexander Botero-Lowry # $FreeBSD$ PORTNAME= yenc PORTVERSION= 0.3 CATEGORIES= news python MASTER_SITES= http://sabnzbd.sourceforge.net/ - + PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jlaffaye@FreeBSD.org COMMENT= yenc decoding module for Python in C USES= python USE_PYTHON= distutils .include Index: head/ports-mgmt/genpatch/Makefile =================================================================== --- head/ports-mgmt/genpatch/Makefile (revision 398832) +++ head/ports-mgmt/genpatch/Makefile (revision 398833) @@ -1,49 +1,49 @@ # Created by: John Marino # $FreeBSD$ PORTNAME= genpatch PORTVERSION= 1.40 PORTREVISION= 1 CATEGORIES= ports-mgmt MASTER_SITES= # none DISTFILES= # none MAINTAINER= marino@FreeBSD.org COMMENT= Single patch generator tool compatible with makepatch format LICENSE= BSD2CLAUSE NO_BUILD= yes SUB_FILES= genpatch portfix SUB_LIST= WORKPATH=${PORTWORK} PLIST_FILES= bin/dupe \ bin/genpatch \ bin/portfix \ man/man1/dupe.1.gz \ man/man1/genpatch.1.gz \ man/man1/portfix.1.gz .include .if defined(PACKAGE_BUILDING) # use known default values, poudriere overrides . if defined(.MAKE.BUILT.BY) # DragonFly! PORTWORK= /usr/obj/dports . else PORTWORK= /usr/ports . endif -.else +.else . if defined(WRKDIRPREFIX) && !empty(WRKDIRPREFIX) PORTWORK= ${WRKDIRPREFIX} . else PORTWORK= ${PORTSDIR} . endif .endif do-install: ${INSTALL_SCRIPT} ${FILESDIR}/dupe ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKDIR}/genpatch ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKDIR}/portfix ${STAGEDIR}${PREFIX}/bin (cd ${FILESDIR} && ${INSTALL_MAN} dupe.1 genpatch.1 portfix.1 \ ${STAGEDIR}${MANPREFIX}/man/man1) .include Index: head/ports-mgmt/managepkg/Makefile =================================================================== --- head/ports-mgmt/managepkg/Makefile (revision 398832) +++ head/ports-mgmt/managepkg/Makefile (revision 398833) @@ -1,26 +1,26 @@ # Created by: Andreas Fehlner # $FreeBSD$ PORTNAME= managepkg PORTVERSION= 1.1 CATEGORIES= ports-mgmt MASTER_SITES= http://www.cul.de/data/\ http://home.arcor.de/fehlner/fbsd_ports/\ http://home.arcor.de/teambushido/fbsd_ports/ EXTRACT_SUFX= .gz MAINTAINER= fehlner@gmx.de COMMENT= Script for maintaining ports # Any ideas for a better comment? EXTRACT_CMD= ${GZCAT} -EXTRACT_BEFORE_ARGS= +EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= > ${WRKSRC}/${PORTNAME} WRKSRC= ${WRKDIR} NO_BUILD= yes PLIST_FILES= sbin/managepkg do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin .include Index: head/print/foomatic-db/Makefile =================================================================== --- head/print/foomatic-db/Makefile (revision 398832) +++ head/print/foomatic-db/Makefile (revision 398833) @@ -1,25 +1,25 @@ # Created by: Dima Dorfman # $FreeBSD$ PORTNAME= db PORTVERSION= 20150819 CATEGORIES= print MASTER_SITES= LOCAL/danilo - + PKGNAMEPREFIX= foomatic- DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${FOOMATICVER}-${PORTVERSION} MAINTAINER= danilo@FreeBSD.org COMMENT= Database for integrating printer drivers with common spoolers LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 \ libcurl.so:${PORTSDIR}/ftp/curl USES= autoreconf gmake GNU_CONFIGURE= yes FOOMATICVER= 4.0 WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} NO_ARCH= yes .include Index: head/print/foxitreader/Makefile =================================================================== --- head/print/foxitreader/Makefile (revision 398832) +++ head/print/foxitreader/Makefile (revision 398833) @@ -1,54 +1,54 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= foxitreader PORTVERSION= 1.1.0 PORTREVISION= 3 CATEGORIES= print MASTER_SITES= http://cdn04.foxitsoftware.com/pub/foxit/reader/desktop/linux/1.x/${PORTVERSION:R}/enu/:reader - + DISTFILES= FoxitReader-${PORTVERSION}.tar.bz2:reader EXTRACT_ONLY= FoxitReader-${PORTVERSION}.tar.bz2 MAINTAINER= nivit@FreeBSD.org COMMENT= Free PDF document viewer for desktop Linux LICENSE= EULA LICENSE_NAME= End-User License Agreement LICENSE_PERMS= auto-accept LICENSE_TEXT= http://www.foxitsoftware.com/pdf/desklinux/eula.htm NO_BUILD= yes OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes USES= gettext tar:bzip2 USE_LINUX= yes USE_LINUX_APPS= avahi-libs cups-libs dbuslibs gtk2 nss WRKSRC= ${WRKDIR}/${PORTVERSION:R}-release .include .if ${PORT_OPTIONS:MDOCS} MASTER_SITES+= http://cdn04.foxitsoftware.com/pub/foxit/manual/enu/:manual DISTFILES+= FoxitReader${PORTVERSION:R}ForLinux_Manual.pdf:manual .endif do-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${INSTALL_DATA} fpdfcjk.bin fum.fhd ${STAGEDIR}${DATADIR}) ${INSTALL_PROGRAM} ${WRKSRC}/FoxitReader ${STAGEDIR}${DATADIR} ${LN} -s ${DATADIR}/FoxitReader ${STAGEDIR}${PREFIX}/bin/FoxitReader .if ${PORT_OPTIONS:MNLS} .for locale in de fr ja zh_CN zh_TW ${INSTALL_DATA} ${WRKSRC}/po/${locale}/FoxitReader.mo ${STAGEDIR}${PREFIX}/share/locale/${locale}/LC_MESSAGES/ .endfor .endif .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/FoxitReader${PORTVERSION:R}ForLinux_Manual.pdf ${STAGEDIR}${DOCSDIR} .endif .include Index: head/science/jmol/Makefile =================================================================== --- head/science/jmol/Makefile (revision 398832) +++ head/science/jmol/Makefile (revision 398833) @@ -1,42 +1,42 @@ # Created by: Wen heping # $FreeBSD$ PORTNAME= jmol PORTVERSION= 13.2.3 CATEGORIES= science java MASTER_SITES= SF/${PORTNAME}/Jmol/Version%2013.2/Version%20${PORTVERSION}:source1 \ http://jmol.svn.sourceforge.net/viewvc/jmol/trunk/Jmol/selfSignedCertificate/:source2 DISTFILES= Jmol-${PORTVERSION}-full.tar.gz:source1 \ selfSignedCertificate.cer:source2 \ selfSignedCertificate.store:source2 EXTRACT_ONLY= Jmol-${PORTVERSION}-full.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= Open-source Java viewer for chemical structures in 3D USE_JAVA= yes JAVA_VERSION= 1.7+ USE_ANT= yes ALL_TARGET= all WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} SIGN_DIR= ${WRKSRC}/selfSignedCertificate SUB_FILES= ${PORTNAME} OPTIONS_DEFINE= DOCS DESKTOP_ENTRIES="Jmol" "" "" "${PORTNAME}" "" false post-extract: @${MKDIR} ${SIGN_DIR} @${CP} ${DISTDIR}/selfSignedCertificate.cer ${SIGN_DIR} @${CP} ${DISTDIR}/selfSignedCertificate.store ${SIGN_DIR} do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin (cd ${WRKSRC}/build && ${INSTALL_DATA} Jmol.jar JmolData.jar \ JmolLib.jar ${STAGEDIR}${JAVAJARDIR}) - (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include .undef MAKE_ARGS Index: head/science/liboglappth/Makefile =================================================================== --- head/science/liboglappth/Makefile (revision 398832) +++ head/science/liboglappth/Makefile (revision 398833) @@ -1,21 +1,21 @@ # Created by: Nakata Maho # $FreeBSD$ PORTNAME= liboglappth PORTVERSION= 1.0.0 PORTREVISION= 3 CATEGORIES= science MASTER_SITES= http://bioinformatics.org/ghemical/download/release20111012/ \ http://bioinformatics.org/ghemical/download/current - + MAINTAINER= maho@FreeBSD.org COMMENT= Support libraries of science/ghemical port GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USES= libtool pathfix USE_GL= glu CPPFLAGS+= -I${LOCALBASE}/include .include Index: head/security/authforce/Makefile =================================================================== --- head/security/authforce/Makefile (revision 398832) +++ head/security/authforce/Makefile (revision 398833) @@ -1,55 +1,55 @@ # Created by: ache # $FreeBSD$ PORTNAME= authforce PORTVERSION= 0.9.9 PORTREVISION= 3 CATEGORIES= security www MASTER_SITES= GHC MAINTAINER= ports@FreeBSD.org COMMENT= HTTP authentication brute forcer LICENSE= GPLv2 NO_CCACHE= yes WRKSRC= ${WRKDIR}/${DISTNAME} USE_GITHUB= yes GH_ACCOUNT= zlandau -USES= ncurses readline tar:bzip2 +USES= ncurses readline tar:bzip2 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INFO= authforce PLIST_FILES= bin/authforce \ man/man1/authforce.1.gz \ %%DATADIR%%/blank.lst \ %%DATADIR%%/dummy.lst \ %%DATADIR%%/password.lst \ %%DATADIR%%/username.lst \ %%DATADIR%%/userpass.lst OPTIONS_DEFINE= CURL NLS CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl CURL_CONFIGURE_WITH= curl NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NLS_PLIST_FILES= share/locale/nl/LC_MESSAGES/authforce.mo post-patch: @${REINPLACE_CMD} -e \ '/^pwlistsdir = / s|/data$$||' ${WRKSRC}/data/Makefile.in @${REINPLACE_CMD} -e \ '/^mangdir = / s|/mang$$|/man1|' ${WRKSRC}/doc/Makefile.in @${FIND} ${WRKSRC}/src -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \ 's|^\(#include \)|/* \1 */| ; \ s|^\(#include \)|/* \1 */|' .include Index: head/security/bsmtrace/Makefile =================================================================== --- head/security/bsmtrace/Makefile (revision 398832) +++ head/security/bsmtrace/Makefile (revision 398833) @@ -1,41 +1,41 @@ # Created by: alm # $FreeBSD$ PORTNAME= bsmtrace PORTVERSION= 1.4 PORTREVISION= 0 CATEGORIES= security MASTER_SITES= LOCAL/csjp MAINTAINER= alm@FreeBSD.org COMMENT= BSM based intrusion detection system SUB_FILES= pkg-message MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= PCRE EXAMPLES .include .if ${PORT_OPTIONS:MPCRE} LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre -MAKE_ENV+= PCRE=1 +MAKE_ENV+= PCRE=1 CFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lpcre .endif pre-build: ${REINPLACE_CMD} -e \ 's,/etc/bsmtrace.conf,${PREFIX}/etc/bsmtrace.conf,' \ ${WRKSRC}/config.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.conf.5 \ ${STAGEDIR}${MAN5PREFIX}/man/man5 .include Index: head/security/fwipe/Makefile =================================================================== --- head/security/fwipe/Makefile (revision 398832) +++ head/security/fwipe/Makefile (revision 398833) @@ -1,26 +1,26 @@ # Created by: David Thiel # $FreeBSD$ PORTNAME= fwipe PORTVERSION= 0.36 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.jeenyus.net/linux/software/fwipe/ \ http://redundancy.redundancy.org/mirror/ MAINTAINER= ports@FreeBSD.org COMMENT= djb-style file wiping utility ALL_TARGET= it INSTALL_TARGET= setup PLIST_FILES= bin/fwipe bin/fwipe0 bin/echo0 man/man1/fwipe.1.gz \ - man/man1/fwipe0.1.gz man/man1/echo0.1.gz + man/man1/fwipe0.1.gz man/man1/echo0.1.gz post-extract: @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc @${ECHO_CMD} "${CC} -s" > ${WRKSRC}/conf-ld @${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home @${ECHO_CMD} "${STAGEDIR}${PREFIX}" > ${WRKSRC}/conf-root .include Index: head/security/pear-Horde_Secret/Makefile =================================================================== --- head/security/pear-Horde_Secret/Makefile (revision 398832) +++ head/security/pear-Horde_Secret/Makefile (revision 398833) @@ -1,18 +1,18 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= Horde_Secret PORTVERSION= 2.0.4 CATEGORIES= security www pear MAINTAINER= horde@FreeBSD.org COMMENT= Secret Encryption API USES= horde USE_HORDE_RUN= Horde_Crypt_Blowfish \ Horde_Exception \ Horde_Support - + USE_PHP= hash .include Index: head/security/py-libnacl/Makefile =================================================================== --- head/security/py-libnacl/Makefile (revision 398832) +++ head/security/py-libnacl/Makefile (revision 398833) @@ -1,25 +1,25 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= libnacl PORTVERSION= 1.4.3 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= Python bindings for libsodium/tweetnacl based on ctypes LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libsodium.so:${PORTSDIR}/security/libsodium USES= python USE_PYTHON= autoplist distutils regression-test: build - ${TOUCH} ${WRKSRC}/tests/__init__.py + ${TOUCH} ${WRKSRC}/tests/__init__.py @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include Index: head/security/sst/files/Makefile =================================================================== --- head/security/sst/files/Makefile (revision 398832) +++ head/security/sst/files/Makefile (revision 398833) @@ -1,17 +1,17 @@ # $FreeBSD$ PROG=sst BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man CFLAGS+= -DCONFDIR='"${OPENSSLDIR}"' -DCERTF='"certs/sst.pem"' \ -I${OPENSSLINC} .if exists(/usr/bin/nc) -CFLAGS+= -DNETCAT='"/usr/bin/nc"' +CFLAGS+= -DNETCAT='"/usr/bin/nc"' .else CFLAGS+= -DNETCAT='"${LOCALBASE}/bin/netcat"' .endif LDADD+= -L${OPENSSLLIB} -lssl -lcrypto .include Index: head/shells/v7sh/files/Makefile =================================================================== --- head/shells/v7sh/files/Makefile (revision 398832) +++ head/shells/v7sh/files/Makefile (revision 398833) @@ -1,21 +1,21 @@ # $FreeBSD$ PREFIX?= /usr/local BINDIR?= ${PREFIX}/bin MANDIR?= ${PREFIX}/man/man PROG= v7sh SRCS= args.c blok.c builtin.c cmd.c ctype.c error.c expand.c \ fault.c io.c macro.c main.c msg.c name.c print.c service.c \ setbrk.c stak.c string.c test.c word.c xec.c #CFLAGS+= -DSYSIII #CFLAGS+= -DRENO #CFLAGS+= -DULTRIX -CWARNFLAGS?= -ansi -Wbad-function-cast +CWARNFLAGS?= -ansi -Wbad-function-cast WARNS?= 6 NO_WERROR=1 WFORMAT=0 .include Index: head/sysutils/bareos-server/Makefile =================================================================== --- head/sysutils/bareos-server/Makefile (revision 398832) +++ head/sysutils/bareos-server/Makefile (revision 398833) @@ -1,201 +1,201 @@ # Created by: Alonso Cardenas # $FreeBSD$ PORTNAME= bareos DISTVERSION= 15.2 PORTREVISION?= 1 CATEGORIES?= sysutils PKGNAMEPREFIX?= # PKGNAMESUFFIX?= -server USE_GITHUB= yes GH_ACCOUNT= bareos GH_PROJECT= bareos GH_TAGNAME= bb1529f88585da31a0053f06727c74f2a7cb0dc1 MAINTAINER= acm@FreeBSD.org COMMENT?= Backup archiving recovery open sourced (server) USES+= libtool:keepla CONFLICTS?= bacula*-server-* LIB_DEPENDS+= liblzo2.so:${PORTSDIR}/archivers/lzo2 USERS= bareos GROUPS= ${USERS} PLIST_SUB+= LIB_VERSION=${PORTVERSION}.0 GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I/usr/include/readline -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE?= MTX PYTHON NLS OPENSSL OPTIONS_DEFAULT?= NLS OPENSSL PGSQL MTX_DESC= Install mtx for control of autochanger devices -.if ${PKGNAMESUFFIX} == "-server" +.if ${PKGNAMESUFFIX} == "-server" OPTIONS_SINGLE_DATABASE= SQLITE3 MYSQL PGSQL OPTIONS_SINGLE= DATABASE DATABASE_DESC= Database support .endif OPENSSL_USE= OPENSSL=yes OPENSSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} OPENSSL_CONFIGURE_OFF= --with-openssl="no" .if ${PKGNAMESUFFIX} == "-client" || ${PKGNAMESUFFIX} == "-server" #Till end of the file PYTHON_USES= python PYTHON_CONFIGURE_ON= --with-python=yes PYTHON_CONFIGURE_OFF= --with-python=no .if !defined(WITH_CLIENT_ONLY) LIB_DEPENDS+= libbareos.so:${PORTSDIR}/sysutils/bareos-client USE_RC_SUBR?= bareos-dir bareos-sd .endif .if defined(WITH_CLIENT_ONLY) SUB_FILES+= pkg-install.client pkg-deinstall.client pkg-message.client .else SUB_FILES+= pkg-message.server .endif CONFIGURE_ARGS+=--with-tcp-wrappers=/usr/lib \ --enable-libtool \ --enable-smartalloc \ --sysconfdir=${PREFIX}/etc \ --with-working-dir=${BAREOS_DIR} \ --with-scriptdir=${PREFIX}/share/${PORTNAME} \ --with-logdir=/var/log/bareos \ --with-readline=yes \ --disable-conio \ --enable-batch-insert \ --with-plugindir=${PREFIX}/lib/bareos/plugins \ --with-scriptdir=${PREFIX}/lib/bareos/scripts \ --with-dump-email=root@localhost \ --with-job-email=root@localhost \ --with-db-name=bareos \ --with-sbin-perm=755 \ --with-db-user=bareos \ --with-baseport=9101 \ --with-pid-dir=/var/run/bareos .if defined(WITH_CLIENT_ONLY) CONFIGURE_ARGS+=--with-fd-user=root \ --with-fd-group=wheel .else CONFIGURE_ARGS+=--with-dir-user=${BAREOS_USER} \ --with-dir-group=${BAREOS_GROUP} \ --with-sd-user=${BAREOS_USER} \ --with-sd-group=operator .endif # The user/group IDs below are registered, see # http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#DADS-UID # BAREOS_USER?= bareos BAREOS_GROUP?= ${BAREOS_USER} BAREOS_UID?= 997 BAREOS_GID?= ${BAREOS_UID} BAREOS_DIR?= /var/db/bareos PLIST_SUB+= BAREOS_DIR=${BAREOS_DIR} SUB_LIST= BAREOS_USER=${BAREOS_USER} \ BAREOS_GROUP=${BAREOS_GROUP} \ BAREOS_UID=${BAREOS_UID} \ BAREOS_GID=${BAREOS_GID} \ BAREOS_DIR=${BAREOS_DIR} NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls # Client only or full server version .if defined(WITH_CLIENT_ONLY) CONFFILES= fd CONFIGURE_ARGS+= --enable-client-only PKGDEINSTALL= ${FILESDIR}/pkg-deinstall.client PKGINSTALL= ${FILESDIR}/pkg-install.client .else # Server only Options CONFFILES= sd dir # Server default database MYSQL_CONFIGURE_ON= --with-mysql=yes MYSQL_USE= MYSQL=yes SQLITE3_CONFIGURE_ON= --with-sqlite3=yes SQLITE3_LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 PGSQL_CONFIGURE_ON= --with-postgresql=yes PGSQL_USES= pgsql MTX_RUN_DEPENDS= ${LOCALBASE}/sbin/mtx:${PORTSDIR}/misc/mtx .include .if ${PORT_OPTIONS:MMYSQL} DBTYPE= mysql SUB_LIST+= REQ_MYSQL=mysql REQ_PGSQL="" .elif ${PORT_OPTIONS:MSQLITE3} DBTYPE= sqlite3 .else DBTYPE= postgresql SUB_LIST+= REQ_MYSQL="" REQ_PGSQL=postgresql .endif PLIST_SUB+= DBTYPE=${DBTYPE} .endif .if defined(WITH_CLIENT_ONLY) MP1+= bconsole.1 MP8+= bareos-fd.8 .else MP8+= bareos.8 bareos-dir.8 bareos-sd.8 bcopy.8 bextract.8 bls.8 bscan.8 \ btape.8 btraceback.8 bareos-dbcheck.8 MP1+= bsmtp.1 bregex.1 bwild.1 bareos-tray-monitor.1 .endif MAKE_ENV+= MAN8="${MP8}" MAN1="${MP1}" post-patch: # This port does not install docs. See bareos-docs for that ${REINPLACE_CMD} -e '/docdir/d' ${WRKSRC}/Makefile.in # Default bconsole.conf is in ${ETCDIR} @${REINPLACE_CMD} -e 's|./bconsole.conf|${ETCDIR}/bconsole.conf|g' ${WRKSRC}/src/console/console.c @${REINPLACE_CMD} -e 's|^MAN8 =|MAN8 ?=|g' -e 's|^MAN1 =|MAN1 ?=|g' ${WRKSRC}/manpages/Makefile.in @${REINPLACE_CMD} -e 's|_NONSHARED||g' ${WRKSRC}/src/filed/Makefile.in .if defined(WITH_CLIENT_ONLY) @${REINPLACE_CMD} -e 's|^\(fd_subdirs = .*\)scripts\(.*\)|\1\2|g' ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e 's|\(.*$${MKDIR} $${DESTDIR}$${scriptdir}\)|#\1|g' ${WRKSRC}/Makefile.in .else # In server port don't install filed @${REINPLACE_CMD} -e '/^fd_subdirs = /s|src/filed||' -e 's|src/console||' \ -e 's|src/lib||' -e 's|src/findlib||' -e 's|@FD_PLUGIN_DIR@||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|../lib/|$$(LOCALBASE)/lib/|g' -e 's|../findlib/|$$(LOCALBASE)/lib/|g' ${WRKSRC}/src/dird/Makefile.in \ ${WRKSRC}/src/stored/Makefile.in ${WRKSRC}/src/tools/Makefile.in @${REINPLACE_CMD} -e 's|fd_plugins.h|filed/fd_plugins.h|g' -e 's|dir_plugins.h|dird/dir_plugins.h|g' -e 's|stored.h|stored/stored.h|g' \ ${WRKSRC}/src/tools/bpluginfo.c .endif .if !target(post-install) post-install: .if defined(WITH_CLIENT_ONLY) ${MV} ${STAGEDIR}${ETCDIR}/bconsole.conf ${STAGEDIR}${ETCDIR}/bconsole.conf.sample .else ${INSTALL_SCRIPT} ${FILESDIR}/chio-bareos ${STAGEDIR}${PREFIX}/sbin ${INSTALL_DATA} ${FILESDIR}/bareos-barcodes ${STAGEDIR}${ETCDIR}/bareos-barcodes.sample ${CHMOD} o+x ${STAGEDIR}${PREFIX}/bin/bsmtp .endif for na in ${CONFFILES}; do \ ${MV} ${STAGEDIR}${ETCDIR}/bareos-$$na.conf ${STAGEDIR}${ETCDIR}/bareos-$$na.conf.sample; \ done @${MKDIR} ${STAGEDIR}/var/run/bareos .endif .else .include "${MASTERDIR}/Makefile.common" .endif # -client and -server are defined .include Index: head/sysutils/endian/Makefile =================================================================== --- head/sysutils/endian/Makefile (revision 398832) +++ head/sysutils/endian/Makefile (revision 398833) @@ -1,21 +1,21 @@ # Created by: Jason W. Bacon # $FreeBSD$ PORTNAME= endian PORTVERSION= 1.1 CATEGORIES= sysutils MASTER_SITES= http://acadix.biz/Ports/distfiles/ \ - http://personalpages.tds.net/~jwbacon/Ports/distfiles/ + http://personalpages.tds.net/~jwbacon/Ports/distfiles/ MAINTAINER= jwbacon@tds.net COMMENT= Report endianness of a system LICENSE= BSD2CLAUSE USES= tar:xz PLIST_FILES= bin/endian man/man1/endian.1.gz MAKE_ARGS= STAGEDIR=${STAGEDIR} .include Index: head/sysutils/gnome-control-center/Makefile =================================================================== --- head/sysutils/gnome-control-center/Makefile (revision 398832) +++ head/sysutils/gnome-control-center/Makefile (revision 398833) @@ -1,74 +1,74 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= gnome-control-center PORTVERSION= 3.16.3 PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Control center for GNOME 3 project BUILD_DEPENDS= gnome-settings-daemon>=3.4.0:${PORTSDIR}/sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>=3.2.2:${PORTSDIR}/devel/gsettings-desktop-schemas \ docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl \ iso-codes>=0:${PORTSDIR}/misc/iso-codes LIB_DEPENDS= libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 \ libxklavier.so:${PORTSDIR}/x11/libxklavier \ libupower-glib.so:${PORTSDIR}/sysutils/upower \ libaccountsservice.so:${PORTSDIR}/sysutils/accountsservice \ libcolord.so:${PORTSDIR}/graphics/colord \ libcolord-gtk.so:${PORTSDIR}/graphics/colord-gtk \ libibus-1.0.so:${PORTSDIR}/textproc/ibus \ libgoa-1.0.so:${PORTSDIR}/net/gnome-online-accounts \ libsocialweb.so:${PORTSDIR}/www/libsocialweb \ libpwquality.so:${PORTSDIR}/security/libpwquality \ libgtop-2.0.so:${PORTSDIR}/devel/libgtop \ libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \ libgrilo-0.2.so:${PORTSDIR}/net/grilo \ libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit RUN_DEPENDS= gnome-eject:${PORTSDIR}/sysutils/gnome-mount \ gnome-settings-daemon>=3.4.0:${PORTSDIR}/sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>=3.2.2:${PORTSDIR}/devel/gsettings-desktop-schemas \ iso-codes>=0:${PORTSDIR}/misc/iso-codes \ glxinfo:${PORTSDIR}/graphics/mesa-demos \ apg:${PORTSDIR}/security/apg \ gcm-calibrate:${PORTSDIR}/graphics/gnome-color-manager CONFLICTS= gnome-media-2.[0-9]* PORTSCOUT= limitw:1,even USES= compiler:c++11-lib gettext gmake pathfix pkgconfig tar:xz USE_GNOME= gnomedesktop3 intltool libxml2 USE_XORG= xscrnsaver x11 xxf86misc kbproto xi GNU_CONFIGURE= yes INSTALLS_ICONS= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_SUB= yes OPTIONS_DEFINE= CUPS OPTIONS_DEFAULT=CUPS CUPS_DESC= Cups (printing) support CHEESE_DESC= Cheese webcam support OPTIONS_DEFINE_i386= CHEESE OPTIONS_DEFAULT_i386= CHEESE OPTIONS_DEFINE_amd64= CHEESE OPTIONS_DEFAULT_amd64= CHEESE CUPS_LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client \ libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient -CUPS_CONFIGURE_ENABLE= cups +CUPS_CONFIGURE_ENABLE= cups CHEESE_LIB_DEPENDS= libcheese.so:${PORTSDIR}/multimedia/cheese -CHEESE_CONFIGUE_WITH= cheese +CHEESE_CONFIGUE_WITH= cheese .include post-patch: @${REINPLACE_CMD} -e 's|datetime wacom|datetime|g' \ ${WRKSRC}/panels/Makefile.in .include Index: head/sysutils/livecd/Makefile =================================================================== --- head/sysutils/livecd/Makefile (revision 398832) +++ head/sysutils/livecd/Makefile (revision 398833) @@ -1,23 +1,23 @@ -# Created by: Edson Brandi +# Created by: Edson Brandi # $FreeBSD$ PORTNAME= livecd PORTVERSION= 1.2.4b PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://www.primeirospassos.org/ MAINTAINER= ebrandi.home@uol.com.br COMMENT= Tool Set to create custom FreeBSD LiveCD RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools NO_BUILD= yes MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" post-patch: @${REINPLACE_CMD} -E -e 's|/usr/local/|${PREFIX}|' \ ${WRKSRC}/Makefile .include Index: head/sysutils/logwatch/files/Makefile =================================================================== --- head/sysutils/logwatch/files/Makefile (revision 398832) +++ head/sysutils/logwatch/files/Makefile (revision 398833) @@ -1,222 +1,222 @@ # $FreeBSD$ PORTNAME?=logwatch PREFIX?=/usr/local/${PORTNAME} ETCDIR?=${PREFIX}/etc/${PORTNAME} LIBDIR?=${PREFIX}/lib/${PORTNAME} LIBEXECDIR?=${PREFIX}/libexec/${PORTNAME} CACHEDIR?=${PREFIX}/var/${PORTNAME} MANDIR?=${PREFIX}/man MAN8DIR?=${MANDIR}/man8 SITE_PERL= ${PREFIX}/${SITE_PERL_REL} all: logwatch logwatch: @echo "There is no build target, only install." @echo "If you are not using FreeBSD ports," @echo "please run, ./install_logwatch.sh after" @echo "reading the ./README file." install: install -d $(DESTDIR)${PREFIX}/sbin install -d $(DESTDIR)${ETCDIR}/html install -d $(DESTDIR)${ETCDIR}/logfiles install -d $(DESTDIR)${ETCDIR}/services install -d $(DESTDIR)${ETCDIR}/defaults/html install -d $(DESTDIR)${ETCDIR}/defaults/logfiles install -d $(DESTDIR)${ETCDIR}/defaults/services install -d $(DESTDIR)${LIBEXECDIR} install -d $(DESTDIR)${SITE_PERL} install -d $(DESTDIR)${CACHEDIR} install -d $(DESTDIR)${MAN8DIR} install -m 555 scripts/logwatch.pl $(DESTDIR)${PREFIX}/sbin install -m 555 lib/Logwatch.pm $(DESTDIR)${SITE_PERL} install -m 444 logwatch.8 $(DESTDIR)${MAN8DIR} install -m 644 conf/logwatch.conf $(DESTDIR)${ETCDIR}/defaults install -m 640 conf/ignore.conf $(DESTDIR)${ETCDIR}/defaults install -m 444 conf/html/header.html $(DESTDIR)${ETCDIR}/defaults/html install -m 444 conf/html/footer.html $(DESTDIR)${ETCDIR}/defaults/html .for etcdir in html logfiles services mkdir -p $(DESTDIR)${ETCDIR}/defaults/${etcdir} .endfor .for scriptdir in logfiles services shared mkdir -p $(DESTDIR)${LIBEXECDIR}/defaults/${scriptdir} .endfor .for logfile in \ autorpm \ bfd \ cisco \ clamav \ clam-update \ cron \ daemon \ denyhosts \ dnssec \ dpkg \ emerge \ eventlog \ exim \ extreme-networks \ fail2ban \ http \ http-error \ iptables \ kernel \ maillog \ messages \ mysql \ netopia \ netscreen \ php \ pix \ pureftp \ qmail-pop3d-current \ qmail-pop3ds-current \ qmail-send-current \ qmail-smtpd-current \ resolver \ rt314 \ samba \ secure \ sonicwall \ spamassassin \ syslog \ tac_acc \ up2date \ vsftpd \ windows \ xferlog \ - yum + yum install -m 640 conf/logfiles/${logfile}.conf $(DESTDIR)${ETCDIR}/defaults/logfiles/${logfile}.conf .endfor .for service in \ afpd \ amavis \ arpwatch \ audit \ automount \ autorpm \ barracuda \ bfd \ cisco \ clam-update \ clamav \ clamav-milter \ courier \ cron \ denyhosts \ dhcpd \ dnssec \ dovecot \ dpkg \ emerge \ evtapplication \ evtsecurity \ evtsystem \ exim \ eximstats \ extreme-networks \ fail2ban \ fetchmail \ ftpd-messages \ ftpd-xferlog \ http \ http-error \ identd \ imapd \ in.qpopper \ init \ ipop3d \ iptables \ kernel \ mailscanner \ modprobe \ mountd \ mysql \ named \ netopia \ netscreen \ oidentd \ openvpn \ pam \ pam_pwdb \ pam_unix \ php \ pix \ pluto \ pop3 \ portsentry \ postfix \ pound \ proftpd-messages \ pureftpd \ qmail \ qmail-pop3d \ qmail-pop3ds \ qmail-send \ qmail-smtpd \ raid \ resolver \ rt314 \ samba \ saslauthd \ scsi \ secure \ sendmail \ sendmail-largeboxes \ shaperd \ slon \ smartd \ sonicwall \ spamassassin \ sshd \ sshd2 \ stunnel \ sudo \ syslogd \ syslog-ng \ tac_acc \ up2date \ vpopmail \ vsftpd \ windows \ xntpd \ yum \ zz-disk_space \ zz-fortune \ zz-network \ zz-runtime \ zz-sys \ zz-zfs install -m 444 scripts/services/${service} $(DESTDIR)${LIBEXECDIR}/defaults/services/${service} install -m 444 conf/services/${service}.conf $(DESTDIR)${ETCDIR}/defaults/services/${service}.conf .endfor .for script in \ applybinddate \ applyeurodate \ applyhttpdate \ applystddate \ applytaidate \ applyusdate \ eventlogonlyservice \ eventlogremoveservice \ expandrepeats \ hosthash \ hostlist \ multiservice \ onlycontains \ onlyhost \ onlyservice \ remove \ removeheaders \ - removeservice + removeservice install -m 555 scripts/shared/${script} $(DESTDIR)${LIBEXECDIR}/defaults/shared/${script} .endfor .for logfile in autorpm cron emerge samba up2date xferlog yum mkdir -p $(DESTDIR)${LIBEXECDIR}/defaults/logfiles/${logfile} install -m 555 scripts/logfiles/${logfile}/applydate $(DESTDIR)${LIBEXECDIR}/defaults/logfiles/${logfile} .endfor -.for logfile in samba up2date xferlog +.for logfile in samba up2date xferlog install -m 555 scripts/logfiles/${logfile}/removeheaders $(DESTDIR)${LIBEXECDIR}/defaults/logfiles/${logfile} .endfor Index: head/sysutils/syslog-ng-devel/Makefile =================================================================== --- head/sysutils/syslog-ng-devel/Makefile (revision 398832) +++ head/sysutils/syslog-ng-devel/Makefile (revision 398833) @@ -1,185 +1,185 @@ # Created by: Ivan Lago # $FreeBSD$ PORTNAME= syslog-ng PORTVERSION= 3.7.1 PKGNAMESUFFIX= -devel CATEGORIES= sysutils DISTVERSION= $(PORTVERSION:S/a/alpha/:S/b/beta/:S/r/rc/) DISTFILES= syslog-ng-${DISTVERSION}.tar.gz MASTER_SITES= https://github.com/balabit/syslog-ng/releases/download/syslog-ng-${DISTVERSION}/ MAINTAINER= cy@FreeBSD.org COMMENT= Powerful syslogd replacement LIB_DEPENDS= libevtlog.so:${PORTSDIR}/sysutils/eventlog \ libpcre.so:${PORTSDIR}/devel/pcre BROKEN_FreeBSD_9= does not build CONFLICTS?= syslog-ng-[0-9]* syslog-ng[0-9]-[0-9]* \ syslog-ng[0-9][0-9]-[0-9]* \ syslog-ng-devel-[0-9]* WRKSRC= $(WRKDIR)/$(PORTNAME)-$(DISTVERSION) MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= TCP_WRAPPERS SQL SPOOF IPV6 SMTP JSON GEOIP DOCS REDIS JAVA PYTHON OPTIONS_DEFAULT= JSON TCP_WRAPPERS_DESC= Build with TCP Wrappers SQL_DESC= Build with database (libdbi) support SPOOF_DESC= Build with spoof source support IPV6_DESC= Build with IPV6 support SMTP_DESC= Build with SMTP support JSON_DESC= Build with JSON-C support GEOIP_DESC= Build with GeoIP support REDIS_DESC= Build with Redis support JAVA_DESC= Build with Java support (and modules, like Elastic) PYTHON_DESC= Build with Python 2.7 support USES= gmake libtool pathfix pkgconfig USE_LDCONFIG= yes USE_RC_SUBR= syslog-ng GNU_CONFIGURE= yes USE_GNOME= glib20 SUB_FILES= pkg-message USE_OPENSSL= yes WITH_OPENSSL_PORT= yes INSTALL_TARGET= install-strip CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc --localstatedir=/var/db \ --enable-dynamic-linking --enable-manpages \ --datadir=${PREFIX}/share/syslog-ng/ - + BROKEN_sparc64= Does not compile on sparc64: gcc core dump .include CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" .if ${PORT_OPTIONS:MTCP_WRAPPERS} CONFIGURE_ARGS+= --enable-tcp-wrapper .else CONFIGURE_ARGS+= --disable-tcp-wrapper .endif .if ${PORT_OPTIONS:MSPOOF} LIB_DEPENDS+= libnet.so:${PORTSDIR}/net/libnet LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config CONFIGURE_ARGS+= --enable-spoof-source --with-libnet=${LOCALBASE}/bin CFLAGS+= `${LIBNET_CONFIG} --cflags` -I${LOCALBASE}/include LDFLAGS+= `${LIBNET_CONFIG} --libs` .else CONFIGURE_ARGS+= --disable-spoof-source .endif .if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+= --enable-ipv6 .else CONFIGURE_ARGS+= --disable-ipv6 .endif .if ${PORT_OPTIONS:MGEOIP} CONFIGURE_ARGS+= --enable-geoip LIB_DEPENDS+= libGeoIP.so:${PORTSDIR}/net/GeoIP CONFIGURE_ENV+= GEOIP_LIBS="-L${LOCALBASE}/lib -lGeoIP" PLIST_FILES+= lib/syslog-ng/libgeoip-plugin.so .else CONFIGURE_ARGS+= --disable-geoip .endif .if ${PORT_OPTIONS:MREDIS} CONFIGURE_ARGS+= --enable-redis LIB_DEPENDS+= libhiredis.so:${PORTSDIR}/databases/hiredis PLIST_FILES+= lib/syslog-ng/libredis.so .else CONFIGURE_ARGS+= --disable-redis .endif .if ${PORT_OPTIONS:MSMTP} CONFIGURE_ARGS+= --with-libesmtp=/usr/local/ LIB_DEPENDS+= libesmtp.so:${PORTSDIR}/mail/libesmtp PLIST_FILES+= lib/syslog-ng/libafsmtp.so .else CONFIGURE_ARGS+= --disable-smtp .endif .if ${PORT_OPTIONS:MSQL} LIB_DEPENDS+= libdbi.so:${PORTSDIR}/databases/libdbi CONFIGURE_ENV+= LIBDBI_LIBS="-ldbi" CONFIGURE_ARGS+= --enable-sql LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES+= lib/syslog-ng/libafsql.so .else CONFIGURE_ARGS+= --disable-sql .endif .if ${PORT_OPTIONS:MJSON} LIB_DEPENDS+= libjson-c.so:${PORTSDIR}/devel/json-c CONFIGURE_ARGS+= --enable-json PLIST_FILES+= lib/syslog-ng/libjson-plugin.so .else CONFIGURE_ARGS+= --disable-json .endif .if ${PORT_OPTIONS:MJAVA} CONFIGURE_ARGS+= --enable-java USE_JAVA= yes BUILD_DEPENDS= gradle:${PORTSDIR}/devel/gradle PLIST_FILES+= lib/syslog-ng/libmod-java.so \ lib/syslog-ng/java-modules/syslog-ng-core.jar \ lib/syslog-ng/java-modules/log4j-1.2.16.jar \ lib/syslog-ng/java-modules/elastic.jar \ lib/syslog-ng/java-modules/http.jar \ lib/syslog-ng/java-modules/kafka.jar \ lib/syslog-ng/java-modules/java-modules.jar \ lib/syslog-ng/java-modules/hdfs.jar \ lib/syslog-ng/java-modules/syslog-ng-common.jar \ lib/syslog-ng/java-modules/dummy.jar .else CONFIGURE_ARGS+= --disable-java .endif .if ${PORT_OPTIONS:MPYTHON} CONFIGURE_ARGS+= --enable-python --with-python=2.7 USES+= python:2.7 PLIST_FILES+= lib/syslog-ng/libmod-python.so .else CONFIGURE_ARGS+= --disable-python .endif .include .if ${OSVERSION} < 900000 BROKEN= Does not build under 8.X. .endif .if ${OSVERSION} >= 900034 CONFIGURE_ARGS+= --disable-linux-caps .endif post-patch: @${REINPLACE_CMD} -e 's:libnet-config:libnet11-config:g' \ ${WRKSRC}/configure @${CP} ${WRKSRC}/scl/syslog-ng.conf ${WRKSRC}/scl/syslog-ng.conf.dist @${CP} ${WRKSRC}/scl/scl.conf ${WRKSRC}/scl/scl.conf.sample post-install: .if ${PORT_OPTIONS:MDOCS} ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/NEWS.md ${STAGEDIR}${DOCSDIR} .endif ${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${STAGEDIR}${PREFIX}/man/man1/ ${INSTALL_MAN} ${WRKSRC}/doc/man/*.5 ${STAGEDIR}${PREFIX}/man/man5/ ${INSTALL_MAN} ${WRKSRC}/doc/man/*.8 ${STAGEDIR}${PREFIX}/man/man8/ ${INSTALL_DATA} ${FILESDIR}/syslog-ng.conf.sample \ ${STAGEDIR}${PREFIX}/etc ${INSTALL_DATA} ${WRKSRC}/scl/syslog-ng.conf.dist \ ${WRKSRC}/scl/scl.conf.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_DATA} ${WRKSRC}/lib/ivykis/src/include/iv*.h \ ${STAGEDIR}${PREFIX}/include/syslog-ng/ .include Index: head/sysutils/u-boot-duovero/Makefile =================================================================== --- head/sysutils/u-boot-duovero/Makefile (revision 398832) +++ head/sysutils/u-boot-duovero/Makefile (revision 398833) @@ -1,42 +1,42 @@ # $FreeBSD$ PORTNAME= u-boot PORTVERSION= 2014.10 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.denx.de/pub/u-boot/ PKGNAMESUFFIX= -duovero MAINTAINER= ian@FreeBSD.org -COMMENT= Cross-build U-Boot loader for Duovero +COMMENT= Cross-build U-Boot loader for Duovero LICENSE= GPLv2 BUILD_DEPENDS= ${CROSS_GCC}:${PORTSDIR}/devel/arm-none-eabi-gcc492 CROSS_GCC= arm-none-eabi-gcc-4.9.2 NO_ARCH= yes WRKSRC= ${WRKDIR}/u-boot-${PORTVERSION} USES= gmake tar:bzip2 SSP_UNSAFE= yes # cross-LD does not support -fstack-protector U_BOOT_DIR= share/u-boot/${PORTNAME}${PKGNAMESUFFIX} PLIST_FILES= ${U_BOOT_DIR}/u-boot.img \ ${U_BOOT_DIR}/MLO \ ${U_BOOT_DIR}/README MAKE_ARGS+= ARCH=arm \ CC=${CROSS_GCC} \ CROSS_COMPILE=arm-none-eabi- do-configure: (cd ${WRKSRC}; ${GMAKE} duovero_config) do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} ${CP} ${WRKSRC}/MLO ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} ${CP} ${WRKSRC}/u-boot.img ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/u-boot.img ${CP} ${.CURDIR}/pkg-descr ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/README .include Index: head/textproc/apertium/Makefile =================================================================== --- head/textproc/apertium/Makefile (revision 398832) +++ head/textproc/apertium/Makefile (revision 398833) @@ -1,35 +1,35 @@ # Created by: Mykola Dzham # $FreeBSD$ PORTNAME= apertium PORTVERSION= 3.3.0 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R} MAINTAINER= ports@FreeBSD.org COMMENT= Toolbox to build shallow-transfer machine translation systems LICENSE= GPLv2 # (or later) BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash LIB_DEPENDS= liblttoolbox3.so:${PORTSDIR}/textproc/lttoolbox \ libpcre.so:${PORTSDIR}/devel/pcre RUN_DEPENDS= bash:${PORTSDIR}/shells/bash USES= pathfix pkgconfig libtool USE_GNOME= libxml2 libxslt GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB= APVER="${PORTVERSION:R}" post-patch: - + @${REINPLACE_CMD} -e 's/pcre_info/pcre_fullinfo/g' ${WRKSRC}/configure .include Index: head/textproc/ecromedos/Makefile =================================================================== --- head/textproc/ecromedos/Makefile (revision 398832) +++ head/textproc/ecromedos/Makefile (revision 398833) @@ -1,47 +1,47 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= ecromedos PORTVERSION= 2.1.0 PORTREVISION= 0 CATEGORIES= textproc print www MASTER_SITES= http://www.ecromedos.net/files/src/${PORTVERSION}/ MAINTAINER= nivit@FreeBSD.org COMMENT= Document preparation system that allows concurrent publication LICENSE= GPLv2 RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \ ${PYTHON_SITELIBDIR}/libxslt.py:${PORTSDIR}/textproc/py-libxslt \ convert:${PORTSDIR}/graphics/ImageMagick \ pygmentize:${PORTSDIR}/textproc/py-pygments NO_BUILD= yes USES= python:2 USE_GNOME= libxml2 libxslt USE_TEX= latex post-patch: @(cd ${WRKSRC} && \ ${REINPLACE_CMD} \ -e 's|^\#!${SETENV} python|&2|1' \ -e 's|[^!]/usr/bin|${LOCALBASE}/bin|g' \ -e 's|%%ETCDIR%%|${ETCDIR}|g' \ bin/${PORTNAME} etc/ecmds.conf lib/ecmds/configreader.py) do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/bin - @${MKDIR} ${STAGEDIR}${ETCDIR} + @${MKDIR} ${STAGEDIR}${ETCDIR} (cd ${WRKSRC} ; \ ${COPYTREE_SHARE} "data lib transform" ${STAGEDIR}${DATADIR} \ "-not ( -name "*.orig" -or -name "*.bak" )" ; \ ${INSTALL_DATA} etc/ecmds.conf ${STAGEDIR}${ETCDIR}/ecmds.conf.sample ; \ ${INSTALL_DATA} etc/plugins.conf ${STAGEDIR}${ETCDIR}/plugins.conf.sample ; \ ${INSTALL_SCRIPT} bin/${PORTNAME} ${STAGEDIR}${DATADIR}/bin/${PORTNAME}) @(cd ${STAGEDIR}${PREFIX}/bin ; \ ${LN} -s ../${DATADIR_REL}/bin/${PORTNAME} ecmds ; \ ${LN} -s ../${DATADIR_REL}/bin/${PORTNAME} ${PORTNAME}) .include Index: head/textproc/libucl/Makefile =================================================================== --- head/textproc/libucl/Makefile (revision 398832) +++ head/textproc/libucl/Makefile (revision 398833) @@ -1,53 +1,53 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= libucl PORTVERSION= 0.7.3 PORTREVISION= 1 CATEGORIES= textproc devel MAINTAINER= koobs@FreeBSD.org COMMENT= Universal configuration library parser LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= LUA REGEX SIGNATURES URLS UTILS OPTIONS_DEFAULT= REGEX UTILS OPTIONS_SUB= yes REGEX_DESC= Enable regex checking for schema SIGNATURES_DESC= Enable signatures checking URLS_DESC= Enable fetching URLs UTILS_DESC= Install utilities: chargen, ucldump LUA_USES= lua LUA_CONFIGURE_ENABLE= lua REGEX_CONFIGURE_ENABLE= regex SIGNATURES_USE= OPENSSL=yes SIGNATURES_CONFIGURE_ENABLE= signatures SIGNATURES_CPPFLAGS= -I${OPENSSLINC} SIGNATURES_LDFLAGS= -L${OPENSSLLIB} URLS_CONFIGURE_ENABLE= urls UTILS_CONFIGURE_ENABLE= utils USES= autoreconf gmake libtool pathfix pkgconfig USE_GITHUB= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-silent-rules GH_ACCOUNT= vstakhov PATHFIX_MAKEFILEIN= Makefile.am INSTALL_TARGET= install-strip CONFLICTS_INSTALL= ucl regression-test: build @cd ${WRKSRC} && ${MAKE} check - + .include Index: head/textproc/rubygem-nokogiri14/Makefile =================================================================== --- head/textproc/rubygem-nokogiri14/Makefile (revision 398832) +++ head/textproc/rubygem-nokogiri14/Makefile (revision 398833) @@ -1,29 +1,29 @@ # $FreeBSD$ PORTNAME= nokogiri PORTVERSION= 1.4.7 PKGNAMESUFFIX= 14 CATEGORIES= textproc rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= HTML, XML, SAX, and Reader parser LICENSE= MIT USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes USE_GNOME= libxml2 libxslt USES= pkgconfig -CONFIGURE_ARGS= --use-system-libraries +CONFIGURE_ARGS= --use-system-libraries PLIST_FILES= bin/nokogiri14 PORTSCOUT= limit:^1\.4 post-patch: @${MV} ${WRKSRC}/bin/nokogiri ${WRKSRC}/bin/nokogiri14 @${RM} ${WRKSRC}/bin/nokogiri.orig .include Index: head/www/bareos-webui/Makefile =================================================================== --- head/www/bareos-webui/Makefile (revision 398832) +++ head/www/bareos-webui/Makefile (revision 398833) @@ -1,71 +1,71 @@ # Created by: Alonso Cardenas # $FreeBSD$ PORTNAME= bareos-webui DISTVERSION= 14.2.1 PORTREVISION= 0 CATEGORIES= www sysutils USE_GITHUB= yes GH_ACCOUNT= bareos GH_PROJECT= bareos-webui GH_TAGNAME= c826a4cbd4ff7340fb9b020ca824c9c48bd52948 MAINTAINER= acm@FreeBSD.org COMMENT= A PHP-Frontend to manage Bareos over the web LICENSE= AGPLv3 # or later LICENSE_FILE= ${WRKSRC}/LICENSE USES= tar:tgz USE_PHP= openssl NO_BUILD= yes NO_ARCH= yes NO_WRKSUBDIR= yes BAREOSWEB_HOME?=${WWWDIR} BAREOSWEBUIDIR= ${BAREOSWEB_HOME:S|${PREFIX}/||} SUB_FILES= pkg-message PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} BAREOSWEBUIDIR=${BAREOSWEBUIDIR} SUB_LIST= BAREOSWEBUIDIR=${BAREOSWEBUIDIR} OPTIONS_DEFINE= MYSQL PGSQL ZENDFRAMEWORK OPTIONS_DEFAULT= PGSQL -ZENDFRAMEWORK_DESC= Install zend framework +ZENDFRAMEWORK_DESC= Install zend framework .include .if ${PORT_OPTIONS:MMYSQL} USE_PHP+= pdo_mysql .endif .if ${PORT_OPTIONS:MPGSQL} USE_PHP+= pdo_pgsql .endif .if ${PORT_OPTIONS:MZENDFRAMEWORK} RUN_DEPENDS= ${LOCALBASE}/share/ZendFramework/bin/classmap_generator.php:${PORTSDIR}/www/zend-framework .endif post-extract: ${RM} ${WRKSRC}/config/autoload/.gitignore ${RM} ${WRKSRC}/data/cache/.gitignore ${RM} ${WRKSRC}/vendor/.gitignore post-patch: @${REINPLACE_CMD} -e 's|/etc/|${LOCALBASE}/etc/|g' ${WRKSRC}/config/autoload/global.php do-install: @${ECHO} "Installing in ${BAREOSWEB_HOME}" ${MKDIR} ${STAGEDIR}${ETCDIR} ${MKDIR} ${STAGEDIR}${BAREOSWEB_HOME} cd ${WRKSRC} && ${COPYTREE_SHARE} "config data module public vendor" \ ${STAGEDIR}${BAREOSWEB_HOME} ${INSTALL_DATA} ${WRKSRC}/*.php ${STAGEDIR}${BAREOSWEB_HOME} ${INSTALL_DATA} ${WRKSRC}/composer* ${STAGEDIR}${BAREOSWEB_HOME} ${INSTALL_DATA} ${WRKSRC}/phpunit.xml ${STAGEDIR}${BAREOSWEB_HOME} ${INSTALL_DATA} ${WRKSRC}/install/directors.ini ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/install/bareos/bareos-webui.conf ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/install/apache/bareos-webui.conf ${STAGEDIR}${ETCDIR}/apache-bareos-webui.conf .include Index: head/www/libsocialweb/Makefile =================================================================== --- head/www/libsocialweb/Makefile (revision 398832) +++ head/www/libsocialweb/Makefile (revision 398833) @@ -1,29 +1,29 @@ # Created by: Koop Mast # $FreeBSD$ PORTNAME= libsocialweb PORTVERSION= 0.25.21 PORTREVISION= 2 CATEGORIES= www gnome MASTER_SITES= GNOME MAINTAINER= kwm@FreeBSD.org COMMENT= Personal social data server. BUILD_DEPENDS= vapigen:${PORTSDIR}/lang/vala LIB_DEPENDS= librest-0.7.so:${PORTSDIR}/devel/librest \ libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring \ libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib USES= gettext gmake libtool pathfix pkgconfig tar:xz USE_GNOME= gconf2 glib20 intlhack introspection:build \ libxslt:build GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-vala-bindings # review if we want all the services enabled, because of not completely # safe public API security wise? -CONFIGURE_ARGS+=--enable-all-services +CONFIGURE_ARGS+=--enable-all-services INSTALL_TARGET= install-strip .include Index: head/www/mod_tsa/Makefile =================================================================== --- head/www/mod_tsa/Makefile (revision 398832) +++ head/www/mod_tsa/Makefile (revision 398833) @@ -1,76 +1,76 @@ # Created by: ubique # $FreeBSD$ PORTNAME= mod_tsa PORTVERSION= 1.0 PORTREVISION= 3 CATEGORIES= www MASTER_SITES= http://am.nesiac.org/static/ \ http://ubique.spb.ru/src/ MAINTAINER= ports@FreeBSD.org COMMENT= Time stamping authority (RFC 3161) module for apache OPTIONS_DEFINE= MYSQL PGSQL FIREBIRD DEBUG DEBUG_MEMORY DEBUG_MEMORY_DESC= Memory debug GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-openssl-incdir=${OPENSSLINC} \ --with-openssl-libdir=${OPENSSLLIB} \ --with-apxs=${APXS} MAKE_ARGS+= APXS=${APXS} USE_OPENSSL= yes WITH_OPENSSL_PORT= yes USE_APACHE= 22+ AP_EXTRAS+= -DMOD_TSA_VERSION=\\\"mod_tsa/${PORTVERSION}\\\" AP_FAST_BUILD= yes AP_GENPLIST= yes SRC_FILE= mod_tsa.c tsa_util.c AP_INC= ${LOCALBASE}/include AP_LIB= ${LOCALBASE}/lib PORTEXAMPLES= *.sql tsa.conf .include .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes CONFIGURE_ARGS+= --enable-mysql=yes SRC_FILE+= db_mysql.c AP_INC+= -I${LOCALBASE}/include/mysql AP_LIB+= -L${LOCALBASE}/lib/mysql -lmysqlclient .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql CONFIGURE_ARGS+= --enable-pgsql=yes SRC_FILE+= db_postgresql.c AP_LIB+= -lpq .endif .if ${PORT_OPTIONS:MFIREBIRD} USE_FIREBIRD= yes CONFIGURE_ARGS+= --enable-firebird=yes -SRC_FILE+= db_firebird.c +SRC_FILE+= db_firebird.c AP_LIB+= -lgds .endif .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --with-debug=yes .endif .if ${PORT_OPTIONS:MDEBUG_MEMORY} CONFIGURE_ARGS+= --with-debug-memory=yes .endif post-patch: ${REINPLACE_CMD} -e 's|-i -a|-i -S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR}|' \ ${WRKSRC}/Makefile.in post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/*.sql ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/tsa.conf ${STAGEDIR}${EXAMPLESDIR} .include Index: head/www/nginx/Makefile =================================================================== --- head/www/nginx/Makefile (revision 398832) +++ head/www/nginx/Makefile (revision 398833) @@ -1,1059 +1,1059 @@ # Created by: Sergey A. Osokin # $FreeBSD$ PORTNAME= nginx PORTVERSION= 1.8.0 PORTREVISION= 3 PORTEPOCH= 2 CATEGORIES= www MASTER_SITES= http://nginx.org/download/ MASTER_SITES+= LOCAL/osa DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= osa@FreeBSD.org COMMENT= Robust and small WWW server LICENSE= BSD2CLAUSE USES+= cpe CPE_VENDOR= nginx CPE_PRODUCT= nginx USE_GITHUB= nodefault NO_OPTIONS_SORT= yes OPTIONS_DEFINE= \ DEBUG \ DEBUGLOG \ FILE_AIO \ IPV6 \ GOOGLE_PERFTOOLS \ HTTP \ HTTP_ADDITION \ HTTP_AUTH_REQ \ HTTP_CACHE \ HTTP_DAV \ HTTP_FLV \ HTTP_GEOIP \ HTTP_GZIP_STATIC \ HTTP_GUNZIP_FILTER \ HTTP_IMAGE_FILTER \ HTTP_PERL \ HTTP_RANDOM_INDEX \ HTTP_REALIP \ HTTP_REWRITE \ HTTP_SECURE_LINK \ HTTP_SSL \ HTTP_STATUS \ HTTP_SUB \ HTTP_XSLT \ MAIL \ MAIL_IMAP \ MAIL_POP3 \ MAIL_SMTP \ MAIL_SSL \ SPDY \ THREADS \ WWW \ AJP \ CACHE_PURGE \ CLOJURE \ ECHO \ HEADERS_MORE \ HTTP_ACCEPT_LANGUAGE \ HTTP_ACCESSKEY \ HTTP_AUTH_DIGEST \ HTTP_AUTH_KRB5 \ HTTP_AUTH_LDAP \ HTTP_AUTH_PAM \ HTTP_DAV_EXT \ HTTP_EVAL \ HTTP_FANCYINDEX \ HTTP_FOOTER \ HTTP_MOGILEFS \ HTTP_NOTICE \ HTTP_PUSH \ HTTP_PUSH_STREAM \ HTTP_REDIS \ HTTP_RESPONSE \ HTTP_SUBS_FILTER \ HTTP_TARANTOOL \ HTTP_UPLOAD \ HTTP_UPLOAD_PROGRESS \ HTTP_UPSTREAM_FAIR \ HTTP_UPSTREAM_STICKY \ HTTP_ZIP \ ARRAYVAR \ DRIZZLE \ ENCRYPTSESSION \ FORMINPUT \ GRIDFS \ ICONV \ LET \ LUA \ MEMC \ MODSECURITY \ NAXSI \ PASSENGER \ POSTGRES \ RDS_CSV \ RDS_JSON \ REDIS2 \ RTMP \ SET_MISC \ SFLOW \ SHIBBOLETH \ SLOWFS_CACHE \ SMALL_LIGHT \ SRCACHE \ STATSD \ UDPLOG \ XRID_HEADER \ XSS \ VIDEO OPTIONS_RADIO= VIDEO OPTIONS_RADIO_VIDEO= HTTP_MP4 HTTP_MP4_H264 OPTIONS_DEFAULT= IPV6 HTTP HTTP_CACHE HTTP_REWRITE HTTP_SSL HTTP_STATUS WWW DEBUGLOG_DESC= Enable debug log (--with-debug) FILE_AIO_DESC= Enable file aio GOOGLE_PERFTOOLS_DESC= Enable google perftools module HTTP_DESC= Enable HTTP module HTTP_ADDITION_DESC= Enable http_addition module HTTP_AUTH_REQ_DESC= Enable http_auth_request module HTTP_CACHE_DESC= Enable http_cache module HTTP_DAV_DESC= Enable http_webdav module HTTP_FLV_DESC= Enable http_flv module HTTP_GEOIP_DESC= Enable http_geoip module HTTP_GZIP_STATIC_DESC= Enable http_gzip_static module HTTP_GUNZIP_FILTER_DESC= Enable http_gunzip_filter module HTTP_IMAGE_FILTER_DESC= Enable http_image_filter module HTTP_MP4_DESC= Enable http_mp4 module HTTP_PERL_DESC= Enable http_perl module HTTP_RANDOM_INDEX_DESC= Enable http_random_index module HTTP_REALIP_DESC= Enable http_realip module HTTP_REWRITE_DESC= Enable http_rewrite module HTTP_SECURE_LINK_DESC= Enable http_secure_link module HTTP_SSL_DESC= Enable http_ssl module HTTP_STATUS_DESC= Enable http_stub_status module HTTP_SUB_DESC= Enable http_sub module HTTP_XSLT_DESC= Enable http_xslt module MAIL_DESC= Enable IMAP4/POP3/SMTP proxy module MAIL_IMAP_DESC= Enable IMAP4 proxy module MAIL_POP3_DESC= Enable POP3 proxy module MAIL_SMTP_DESC= Enable SMTP proxy module MAIL_SSL_DESC= Enable mail_ssl module SPDY_DESC= Enable SPDY protocol support (SSL req.) THREADS_DESC= Enable threads support WWW_DESC= Enable html sample files AJP_DESC= 3rd party ajp module CACHE_PURGE_DESC= 3rd party cache_purge module CLOJURE_DESC= 3rd party clojure module ECHO_DESC= 3rd party echo module HEADERS_MORE_DESC= 3rd party headers_more module HTTP_ACCEPT_LANGUAGE_DESC= 3rd party accept_language module HTTP_ACCESSKEY_DESC= 3rd party http_accesskey module HTTP_AUTH_DIGEST_DESC= 3rd party http_authdigest module HTTP_AUTH_KRB5_DESC= 3rd party http_auth_gss module HTTP_AUTH_LDAP_DESC= 3rd party http_auth_ldap module HTTP_AUTH_PAM_DESC= 3rd party http_auth_pam module HTTP_DAV_EXT_DESC= 3rd party webdav_ext module HTTP_EVAL_DESC= 3rd party eval module HTTP_FANCYINDEX_DESC= 3rd party http_fancyindex module HTTP_FOOTER_DESC= 3rd party http_footer module HTTP_MOGILEFS_DESC= 3rd party mogilefs module HTTP_MP4_H264_DESC= 3rd party mp4/h264 module HTTP_NOTICE_DESC= 3rd party notice module HTTP_PUSH_DESC= 3rd party push module HTTP_PUSH_STREAM_DESC= 3rd party push stream module HTTP_REDIS_DESC= 3rd party http_redis module HTTP_RESPONSE_DESC= 3rd party http_response module HTTP_SUBS_FILTER_DESC= 3rd party subs filter module HTTP_TARANTOOL_DESC= 3rd party tarantool upstream module HTTP_UPLOAD_DESC= 3rd party upload module HTTP_UPLOAD_PROGRESS_DESC= 3rd party uploadprogress module HTTP_UPSTREAM_FAIR_DESC= 3rd party upstream fair module HTTP_UPSTREAM_STICKY_DESC= 3rd party upstream sticky module HTTP_ZIP_DESC= 3rd party http_zip module ARRAYVAR_DESC= 3rd party array_var module DRIZZLE_DESC= 3rd party drizzlie module ENCRYPTSESSION_DESC= 3rd party encrypted_session module FORMINPUT_DESC= 3rd party form_input module GRIDFS_DESC= 3rd party gridfs module ICONV_DESC= 3rd party iconv module LET_DESC= 3rd party let module LUA_DESC= 3rd party lua module MEMC_DESC= 3rd party memc (memcached) module MODSECURITY_DESC= 3rd party mod_security module NAXSI_DESC= 3rd party naxsi module PASSENGER_DESC= 3rd party passenger module POSTGRES_DESC= 3rd party postgres module RDS_CSV_DESC= 3rd party rds_csv module RDS_JSON_DESC= 3rd party rds_json module REDIS2_DESC= 3rd party redis2 module RTMP_DESC= 3rd party rtmp module SET_MISC_DESC= 3rd party set_misc module SFLOW_DESC= 3rd party sflow module SHIBBOLETH_DESC= 3rd party shibboleth module SLOWFS_CACHE_DESC= 3rd party slowfs_cache module SMALL_LIGHT_DESC= 3rd party small_light module SRCACHE_DESC= 3rd party srcache module STATSD_DESC= 3rd party statsd module UDPLOG_DESC= 3rd party udplog (syslog) module XRID_HEADER_DESC= 3rd party x-rid header module XSS_DESC= 3rd party xss module VIDEO_DESC= Video module support WANT_GNOME= yes .include .if ${PORT_OPTIONS:MPASSENGER} CATEGORIES+= ruby USE_RUBY= yes USE_RAKE= yes .endif NGINX_VARDIR?= /var NGINX_LOGDIR?= ${NGINX_VARDIR}/log NGINX_RUNDIR?= ${NGINX_VARDIR}/run NGINX_TMPDIR?= ${NGINX_VARDIR}/tmp/nginx HTTP_PORT?= 80 NGINX_ACCESSLOG?= ${NGINX_LOGDIR}/nginx-access.log NGINX_ERRORLOG?= ${NGINX_LOGDIR}/nginx-error.log CONFLICTS?= nginx-devel-1.* USE_RC_SUBR= nginx SUB_LIST+= WWWOWN=${WWWOWN} \ WWWGRP=${WWWGRP} \ NGINX_RUNDIR=${NGINX_RUNDIR} \ NGINX_TMPDIR=${NGINX_TMPDIR} HAS_CONFIGURE= yes CONFIGURE_ARGS+=--prefix=${ETCDIR} \ --with-cc-opt="-I ${LOCALBASE}/include" \ --with-ld-opt="-L ${LOCALBASE}/lib" \ --conf-path=${ETCDIR}/nginx.conf \ --sbin-path=${PREFIX}/sbin/nginx \ --pid-path=${NGINX_RUNDIR}/nginx.pid \ --error-log-path=${NGINX_ERRORLOG} \ --user=${WWWOWN} --group=${WWWGRP} .if empty(PORT_OPTIONS:MHTTP) && empty(PORT_OPTIONS:MMAIL) IGNORE= requires at least HTTP or MAIL to \ be defined. Please do 'make config' again .endif .if ${PORT_OPTIONS:MDEBUG} CFLAGS+= -g STRIP= #do not strip if nginx with debug information .endif .if ${PORT_OPTIONS:MDEBUGLOG} CONFIGURE_ARGS+=--with-debug .endif .if ${PORT_OPTIONS:MFILE_AIO} CONFIGURE_ARGS+=--with-file-aio .endif .if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+=--with-ipv6 CATEGORIES+= ipv6 .endif .if ${PORT_OPTIONS:MGOOGLE_PERFTOOLS} LIB_DEPENDS+= libprofiler.so:${PORTSDIR}/devel/google-perftools CONFIGURE_ARGS+=--with-google_perftools_module .endif .if ${PORT_OPTIONS:MHTTP} CONFIGURE_ARGS+=--http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \ --http-fastcgi-temp-path=${NGINX_TMPDIR}/fastcgi_temp \ --http-proxy-temp-path=${NGINX_TMPDIR}/proxy_temp \ --http-scgi-temp-path=${NGINX_TMPDIR}/scgi_temp \ --http-uwsgi-temp-path=${NGINX_TMPDIR}/uwsgi_temp \ --http-log-path=${NGINX_ACCESSLOG} .if ${PORT_OPTIONS:MHTTP_ACCEPT_LANGUAGE} GIT_ACCEPT_LANGUAGE_VERSION= 2f69842 GH_ACCOUNT+= giom:accept_language GH_PROJECT+= nginx_accept_language_module:accept_language GH_TAGNAME+= ${GIT_ACCEPT_LANGUAGE_VERSION}:accept_language CONFIGURE_ARGS+=--add-module=${WRKSRC_accept_language} .endif .if ${PORT_OPTIONS:MHTTP_ACCESSKEY} NGINX_ACCESSKEY_VERSION= 2.0.3 MASTER_SITES+= LOCAL/osa:accesskey DISTFILES+= nginx-accesskey-${NGINX_ACCESSKEY_VERSION}.tar.gz:accesskey CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_ADDITION} CONFIGURE_ARGS+=--with-http_addition_module .endif .if ${PORT_OPTIONS:MHTTP_AUTH_DIGEST} GIT_AUTH_DIGEST_VERSION= bd1c86a GH_ACCOUNT+= samizdatco:auth_digest GH_PROJECT+= nginx-http-auth-digest:auth_digest GH_TAGNAME+= ${GIT_AUTH_DIGEST_VERSION}:auth_digest CONFIGURE_ARGS+=--add-module=${WRKSRC_auth_digest} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_auth_digest_module.c .endif .if ${PORT_OPTIONS:MHTTP_AUTH_KRB5} GIT_HTTP_AUTH_KRB5_VERSION= f76d5d9 GH_ACCOUNT+= stnoonan:auth_krb5 GH_PROJECT+= spnego-http-auth-nginx-module:auth_krb5 GH_TAGNAME+= ${GIT_HTTP_AUTH_KRB5_VERSION}:auth_krb5 CONFIGURE_ARGS+=--add-module=${WRKSRC_auth_krb5} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-spnego-http-auth-nginx-module-config # TODO: Provide optional dependence on Kerberos implementations from ports USES+= gssapi:base,flags .endif .if ${PORT_OPTIONS:MHTTP_AUTH_LDAP} # WWW: https://github.com/kvspb/nginx-auth-ldap GIT_HTTP_AUTH_LDAP_VERSION= 928856aa95 GH_ACCOUNT+= kvspb:http_auth_ldap GH_PROJECT+= nginx-auth-ldap:http_auth_ldap GH_TAGNAME+= ${GIT_HTTP_AUTH_LDAP_VERSION}:http_auth_ldap CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-auth-ldap-${GIT_HTTP_AUTH_LDAP_VERSION} USE_OPENLDAP= yes .endif .if ${PORT_OPTIONS:MHTTP_AUTH_PAM} NGINX_AUTH_PAM_VERSION= 1.2 MASTER_SITES+= http://web.iti.upv.es/~sto/nginx/:auth_pam DISTFILES+= ngx_http_auth_pam_module-${NGINX_AUTH_PAM_VERSION}.tar.gz:auth_pam CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_pam_module-${NGINX_AUTH_PAM_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_AUTH_REQ} CONFIGURE_ARGS+=--with-http_auth_request_module .endif .if empty(PORT_OPTIONS:MHTTP_CACHE) CONFIGURE_ARGS+=--without-http-cache .endif .if ${PORT_OPTIONS:MAJP} NGINX_AJP_VERSION= bf6cd93 GH_ACCOUNT+= yaoweibin:ajp GH_PROJECT+= nginx_ajp_module:ajp GH_TAGNAME+= ${NGINX_AJP_VERSION}:ajp CONFIGURE_ARGS+=--add-module=${WRKSRC_ajp} .endif .if ${PORT_OPTIONS:MCACHE_PURGE} NGINX_CACHE_PURGE_VERSION= 2.3 MASTER_SITES+= http://labs.frickle.com/files/:cache_purge DISTFILES+= ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION}.tar.gz:cache_purge CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION} .endif .if ${PORT_OPTIONS:MCLOJURE} USE_JAVA= yes JAVA_OS= native JAVA_VERSION= 1.8 JAVA_VENDOR= openjdk JAVA_BUILD= yes JAVA_RUN= yes NGINX_CLOJURE_VERSION= 0.4.2 GH_ACCOUNT+= nginx-clojure:clojure GH_PROJECT+= nginx-clojure:clojure GH_TAGNAME+= v${NGINX_CLOJURE_VERSION}:clojure CONFIGURE_ENV+= "JNI_INCS=-I${LOCALBASE}/openjdk8/include -I${LOCALBASE}/openjdk8/include/freebsd" CONFIGURE_ARGS+=--add-module=${WRKSRC_clojure}/src/c .endif .if ${PORT_OPTIONS:MECHO} NGINX_ECHO_VERSION= 0.57 GH_ACCOUNT+= openresty:echo GH_PROJECT+= echo-nginx-module:echo GH_TAGNAME+= v${NGINX_ECHO_VERSION}:echo CONFIGURE_ARGS+=--add-module=${WRKSRC_echo} .endif .if ${PORT_OPTIONS:MHEADERS_MORE} NGINX_HEADERS_MORE_VERSION= 0.261 GH_ACCOUNT+= openresty:headers_more GH_PROJECT+= headers-more-nginx-module:headers_more GH_TAGNAME+= v${NGINX_HEADERS_MORE_VERSION}:headers_more CONFIGURE_ARGS+=--add-module=${WRKSRC_headers_more} .endif .if ${PORT_OPTIONS:MHTTP_DAV} || defined(USE_HTTP_DAV) CONFIGURE_ARGS+=--with-http_dav_module .endif .if ${PORT_OPTIONS:MHTTP_DAV_EXT} USE_HTTP_DAV= yes LIB_DEPENDS+= libexpat.so:${PORTSDIR}/textproc/expat2 NGINX_DAV_EXT_VERSION= 0.0.3 GH_ACCOUNT+= arut:dav_ext GH_PROJECT+= nginx-dav-ext-module:dav_ext GH_TAGNAME+= v${NGINX_DAV_EXT_VERSION}:dav_ext CONFIGURE_ARGS+=--add-module=${WRKSRC_dav_ext} .endif .if ${PORT_OPTIONS:MHTTP_EVAL} NGINX_EVAL_VERSION= 1.0.3 GH_ACCOUNT+= vkholodkov:eval GH_PROJECT+= nginx-eval-module:eval GH_TAGNAME+= ${NGINX_EVAL_VERSION}:eval CONFIGURE_ARGS+=--add-module=${WRKSRC_eval} .endif .if ${PORT_OPTIONS:MHTTP_FANCYINDEX} NGINX_FANCYINDEX_VERSION= 0.3.5 GH_ACCOUNT+= aperezdc:fancyindex GH_PROJECT+= ngx-fancyindex:fancyindex GH_TAGNAME+= v${NGINX_FANCYINDEX_VERSION}:fancyindex CONFIGURE_ARGS+=--add-module=${WRKSRC_fancyindex} .endif .if ${PORT_OPTIONS:MHTTP_FOOTER} NGINX_FOOTER_VERSION= 1.2.2 GH_ACCOUNT+= alibaba:footer GH_PROJECT+= nginx-http-footer-filter:footer GH_TAGNAME+= ${NGINX_FOOTER_VERSION}:footer CONFIGURE_ARGS+=--add-module=${WRKSRC_footer} .endif .if ${PORT_OPTIONS:MHTTP_FLV} CONFIGURE_ARGS+=--with-http_flv_module .endif .if ${PORT_OPTIONS:MHTTP_GEOIP} CONFIGURE_ARGS+=--with-http_geoip_module LIB_DEPENDS+= libGeoIP.so:${PORTSDIR}/net/GeoIP .endif .if ${PORT_OPTIONS:MHTTP_GZIP_STATIC} CONFIGURE_ARGS+=--with-http_gzip_static_module .endif .if ${PORT_OPTIONS:MHTTP_GUNZIP_FILTER} CONFIGURE_ARGS+=--with-http_gunzip_module .endif .if ${PORT_OPTIONS:MHTTP_IMAGE_FILTER} LIB_DEPENDS+= libgd.so:${PORTSDIR}/graphics/gd CONFIGURE_ARGS+=--with-http_image_filter_module .endif .if ${PORT_OPTIONS:MHTTP_MP4} CONFIGURE_ARGS+=--with-http_mp4_module .endif .if ${PORT_OPTIONS:MHTTP_MOGILEFS} NGINX_MOGILEFS_VERSION= 1.0.4 MASTER_SITES+= http://www.grid.net.ru/nginx/download/:mogilefs DISTFILES+= nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION}.tar.gz:mogilefs CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_mogilefs_module.c .endif .if ${PORT_OPTIONS:MHTTP_MP4_H264} NGINX_H264_VERSION= 2.2.7 MASTER_SITES+= http://h264.code-shop.com/download/:mp4streaming DISTFILES+= nginx_mod_h264_streaming-${NGINX_H264_VERSION}.tar.gz:mp4streaming CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mod_h264_streaming-${NGINX_H264_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_streaming_module.c .endif .if ${PORT_OPTIONS:MHTTP_NOTICE} GIT_NOTICE_VERSION= 3c95966 GH_ACCOUNT+= kr:notice GH_PROJECT+= nginx-notice:notice GH_TAGNAME+= ${GIT_NOTICE_VERSION}:notice CONFIGURE_ARGS+=--add-module=${WRKSRC_notice} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_notice_module.c .endif .if ${PORT_OPTIONS:MHTTP_PERL} CATEGORIES+= perl5 CONFIGURE_ARGS+=--with-http_perl_module USES+= perl5 .endif .if ${PORT_OPTIONS:MHTTP_PUSH} NGINX_PUSH_VERSION= 0.692 MASTER_SITES+= http://pushmodule.slact.net/downloads/:push DISTFILES+= nginx_http_push_module-${NGINX_PUSH_VERSION}.tar.gz:push CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_http_push_module-${NGINX_PUSH_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_PUSH_STREAM} NGINX_PUSH_STREAM_VERSION= 0.3.5 GH_ACCOUNT+= wandenberg:pushstream GH_PROJECT+= nginx-push-stream-module:pushstream GH_TAGNAME+= ${NGINX_PUSH_STREAM_VERSION}:pushstream CONFIGURE_ARGS+=--add-module=${WRKSRC_pushstream} .endif .if ${PORT_OPTIONS:MHTTP_RANDOM_INDEX} CONFIGURE_ARGS+=--with-http_random_index_module .endif .if ${PORT_OPTIONS:MHTTP_REALIP} CONFIGURE_ARGS+=--with-http_realip_module .endif .if ${PORT_OPTIONS:MHTTP_REDIS} NGINX_REDIS_VERSION= 0.3.7 MASTER_SITES+= LOCAL/osa:redis DISTFILES+= ngx_http_redis-${NGINX_REDIS_VERSION}.tar.gz:redis CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_RESPONSE} NGINX_RESPONSE_VERSION= 0.3 MASTER_SITES+= http://catap.ru/downloads/nginx/:response DISTFILES+= ngx_http_response-${NGINX_RESPONSE_VERSION}.tar.gz:response CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_response-${NGINX_RESPONSE_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_SUBS_FILTER} NGINX_HTTP_SUBS_FILTER_VERSION= 0.6.2 GH_ACCOUNT+= yaoweibin:subs_filter GH_PROJECT+= ngx_http_substitutions_filter_module:subs_filter GH_TAGNAME+= ${NGINX_HTTP_SUBS_FILTER_VERSION}:subs_filter CONFIGURE_ARGS+=--add-module=${WRKSRC_subs_filter} .endif .if ${PORT_OPTIONS:MHTTP_TARANTOOL} LIB_DEPENDS+= libmsgpuck.so:${PORTSDIR}/devel/msgpuck \ libyajl.so:${PORTSDIR}/devel/yajl GH_ACCOUNT+= tarantool:nginx_tarantool GH_PROJECT+= nginx_upstream_module:nginx_tarantool GH_TAGNAME+= 966f2f5:nginx_tarantool CFLAGS+= -I${LOCALBASE}/include/msgpuck CONFIGURE_ARGS+=--add-module=${WRKSRC_nginx_tarantool} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_tarantool-config .endif .if ${PORT_OPTIONS:MHTTP_SECURE_LINK} CONFIGURE_ARGS+=--with-http_secure_link_module .endif .if ${PORT_OPTIONS:MHTTP_STATUS} CONFIGURE_ARGS+=--with-http_stub_status_module .endif .if ${PORT_OPTIONS:MHTTP_SUB} CONFIGURE_ARGS+=--with-http_sub_module .endif -.if ${PORT_OPTIONS:MHTTP_UPLOAD} +.if ${PORT_OPTIONS:MHTTP_UPLOAD} GIT_UPLOAD_VERSION= aba1e3f34c GH_ACCOUNT+= vkholodkov:upload GH_PROJECT+= nginx-upload-module:upload GH_TAGNAME+= ${GIT_UPLOAD_VERSION}:upload CONFIGURE_ARGS+=--add-module=${WRKSRC_upload} .endif .if ${PORT_OPTIONS:MHTTP_UPLOAD_PROGRESS} NGINX_UPLOADPROGRESS_VERSION= 0.9.0 GH_ACCOUNT+= masterzen:uploadprogress GH_PROJECT+= nginx-upload-progress-module:uploadprogress GH_TAGNAME+= v${NGINX_UPLOADPROGRESS_VERSION}:uploadprogress CONFIGURE_ARGS+=--add-module=${WRKSRC_uploadprogress} .endif .if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_FAIR) NGINX_UPSTREAM_FAIR_VERSION= 20090923 MASTER_SITES+= LOCAL/osa:upstreamfair DISTFILES+= nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}.tar.gz:upstreamfair CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_UPSTREAM_STICKY} USE_HTTP_SSL= yes NGINX_UPSTREAM_STICKY_VERSION= 1.2.4 MASTER_SITES+= https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng/get/:upstreamsticky DISTFILES+= ${NGINX_UPSTREAM_STICKY_VERSION}.tar.gz:upstreamsticky CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-goodies-nginx-sticky-module-ng-c825ea7c5c91/ .endif .if ${PORT_OPTIONS:MHTTP_XSLT} USE_GNOME+= libxml2 libxslt CONFIGURE_ARGS+=--with-http_xslt_module .endif .if ${PORT_OPTIONS:MHTTP_ZIP} NGINX_ZIP_VERSION= 1.1.6 MASTER_SITES+= http://mod-zip.googlecode.com/files/:zip DISTFILES+= mod_zip-${NGINX_ZIP_VERSION}.tar.gz:zip CONFIGURE_ARGS+=--add-module=${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION} .endif .if ${PORT_OPTIONS:MDRIZZLE} LIB_DEPENDS+= libdrizzle.so:${PORTSDIR}/databases/libdrizzle NGINX_DRIZZLE_VERSION= 0.1.8 GH_ACCOUNT+= openresty:drizzle GH_PROJECT+= drizzle-nginx-module:drizzle GH_TAGNAME+= v${NGINX_DRIZZLE_VERSION}:drizzle CONFIGURE_ARGS+=--add-module=${WRKSRC_drizzle} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openresty-drizzle-nginx-module-config .endif .if ${PORT_OPTIONS:MARRAYVAR} || ${PORT_OPTIONS:MENCRYPTSESSION} || ${PORT_OPTIONS:MFORMINPUT} || ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MSET_MISC} NGINX_DEVEL_KIT_VERSION= 0.2.19 GH_ACCOUNT+= simpl:devel_kit GH_PROJECT+= ngx_devel_kit:devel_kit GH_TAGNAME+= v${NGINX_DEVEL_KIT_VERSION}:devel_kit CONFIGURE_ARGS+=--add-module=${WRKSRC_devel_kit} .endif .if ${PORT_OPTIONS:MENCRYPTSESSION} NGINX_ENCRYPTSESSION_VERSION= 0.03 GH_ACCOUNT+= openresty:encryptsession GH_PROJECT+= encrypted-session-nginx-module:encryptsession GH_TAGNAME+= v${NGINX_ENCRYPTSESSION_VERSION}:encryptsession CONFIGURE_ARGS+=--add-module=${WRKSRC_encryptsession} .endif .if ${PORT_OPTIONS:MGRIDFS} NGINX_GRIDFS_VERSION= 0.8 MONGO_C_DRIVER_VERSION= 0.3.1 GH_ACCOUNT+= mdirolf:gridfs mongodb:mongo_c GH_PROJECT+= nginx-gridfs:gridfs mongo-c-driver:mongo_c GH_TAGNAME+= v${NGINX_GRIDFS_VERSION}:gridfs v${MONGO_C_DRIVER_VERSION}:mongo_c CONFIGURE_ARGS+=--add-module=${WRKSRC_gridfs} .endif .if ${PORT_OPTIONS:MLET} NGINX_LET_VERSION= 0.0.4 GH_ACCOUNT+= arut:let GH_PROJECT+= nginx-let-module:let GH_TAGNAME+= v${NGINX_LET_VERSION}:let CONFIGURE_ARGS+=--add-module=${WRKSRC_let} .endif .if ${PORT_OPTIONS:MLUA} LIB_DEPENDS+= libluajit-5.1.so:${PORTSDIR}/lang/luajit CONFIGURE_ENV+= "LUAJIT_INC=${LOCALBASE}/include/luajit-2.0" CONFIGURE_ENV+= "LUAJIT_LIB=${LOCALBASE}/lib" NGINX_LUA_VERSION= 0.9.16 GH_ACCOUNT+= openresty:lua GH_PROJECT+= lua-nginx-module:lua GH_TAGNAME+= v${NGINX_LUA_VERSION}:lua CONFIGURE_ARGS+=--add-module=${WRKSRC_lua} .endif .if ${PORT_OPTIONS:MMEMC} NGINX_MEMC_VERSION= 0.15 GH_ACCOUNT+= openresty:memc GH_PROJECT+= memc-nginx-module:memc GH_TAGNAME+= v${NGINX_MEMC_VERSION}:memc CONFIGURE_ARGS+=--add-module=${WRKSRC_memc} .endif .if ${PORT_OPTIONS:MMODSECURITY} NGINX_MODSECURITY_VERSION= 2.9.0 LIB_DEPENDS+= libapr-1.so:${PORTSDIR}/devel/apr1 \ libcurl.so:${PORTSDIR}/ftp/curl \ libluajit-5.1.so:${PORTSDIR}/lang/luajit \ libpcre.so:${PORTSDIR}/devel/pcre \ libyajl.so:${PORTSDIR}/devel/yajl USE_APACHE= 22+ USE_GNOME+= libxml2 MASTER_SITES+= http://www.modsecurity.org/tarball/${NGINX_MODSECURITY_VERSION}/:modsecurity DISTFILES+= modsecurity-${NGINX_MODSECURITY_VERSION}.tar.gz:modsecurity CONFIGURE_ARGS+=--add-module=${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION}/nginx/modsecurity EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-nginx-modsecurity-configure .endif .if ${PORT_OPTIONS:MNAXSI} NGINX_NAXSI_VERSION= 0.50 MASTER_SITES+= http://naxsi.googlecode.com/files/:naxsi DISTFILES+= naxsi-core-${NGINX_NAXSI_VERSION}.tgz:naxsi CONFIGURE_ARGS+=--add-module=${WRKDIR}/naxsi-core-${NGINX_NAXSI_VERSION}/naxsi_src .endif .if ${PORT_OPTIONS:MHTTP_REWRITE} || defined(USE_HTTP_REWRITE) LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre CONFIGURE_ARGS+=--with-pcre .else PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nopcre CONFIGURE_ARGS+=--without-http_rewrite_module \ --without-pcre .endif .if ${PORT_OPTIONS:MPASSENGER} PASSENGER_VERSION= 5.0.20 MASTER_SITES+= http://s3.amazonaws.com/phusion-passenger/releases/:passenger DISTFILES+= passenger-${PASSENGER_VERSION}.tar.gz:passenger CONFIGURE_ARGS+=--add-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/src/nginx_module EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-passenger-build-nginx.rb .if empty(PORT_OPTIONS:MDEBUG) CONFIGURE_ENV+= OPTIMIZE="yes" CFLAGS+= -DNDEBUG .endif .endif .if ${PORT_OPTIONS:MPOSTGRES} USES+= pgsql NGINX_POSTGRES_VERSION= 1.0rc5-1-g49855a0 GH_ACCOUNT+= FRiCKLE:postgres GH_PROJECT+= ngx_postgres:postgres GH_TAGNAME+= ${NGINX_POSTGRES_VERSION}:postgres CONFIGURE_ARGS+=--add-module=${WRKSRC_postgres} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_postgres-config .endif .if ${PORT_OPTIONS:MRDS_CSV} NGINX_RDS_CSV_VERSION= 0.05 GH_ACCOUNT+= openresty:rdscsv GH_PROJECT+= rds-csv-nginx-module:rdscsv GH_TAGNAME+= v${NGINX_RDS_CSV_VERSION}:rdscsv CONFIGURE_ARGS+=--add-module=${WRKSRC_rdscsv} .endif .if ${PORT_OPTIONS:MRDS_JSON} NGINX_RDS_JSON_VERSION= 0.13 GH_ACCOUNT+= openresty:rdsjson GH_PROJECT+= rds-json-nginx-module:rdsjson GH_TAGNAME+= v${NGINX_RDS_JSON_VERSION}:rdsjson CONFIGURE_ARGS+=--add-module=${WRKSRC_rdsjson} .endif .if ${PORT_OPTIONS:MREDIS2} NGINX_REDIS2_VERSION= 0.11 GH_ACCOUNT+= openresty:redis2 GH_PROJECT+= redis2-nginx-module:redis2 GH_TAGNAME+= v${NGINX_REDIS2_VERSION}:redis2 CONFIGURE_ARGS+=--add-module=${WRKSRC_redis2} .endif .if ${PORT_OPTIONS:MRTMP} NGINX_RTMP_VERSION= 1.1.7 GH_ACCOUNT+= arut:rtmp GH_PROJECT+= nginx-rtmp-module:rtmp GH_TAGNAME+= v${NGINX_RTMP_VERSION}:rtmp CONFIGURE_ARGS+=--add-module=${WRKSRC_rtmp} .endif .if ${PORT_OPTIONS:MSET_MISC} NGINX_SET_MISC_VERSION= 0.28 GH_ACCOUNT+= openresty:setmisc GH_PROJECT+= set-misc-nginx-module:setmisc GH_TAGNAME+= v${NGINX_SET_MISC_VERSION}:setmisc CONFIGURE_ARGS+=--add-module=${WRKSRC_setmisc} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openresty-set-misc-nginx-module-config .endif .if ${PORT_OPTIONS:MSFLOW} NGINX_SFLOW_VERSION= 0.9.7 MASTER_SITES+= http://nginx-sflow-module.googlecode.com/files/:sflow DISTFILES+= nginx-sflow-module-${NGINX_SFLOW_VERSION}.tar.gz:sflow CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_sflow_config.c \ ${PATCHDIR}/extra-patch-ngx_http_sflow_config.h \ ${PATCHDIR}/extra-patch-ngx_http_sflow_module.c .endif .if ${PORT_OPTIONS:MSHIBBOLETH} GIT_SHIBBOLETH_VERSION= 20150121 GH_ACCOUNT+= nginx-shib:shib GH_PROJECT+= nginx-http-shibboleth:shib GH_TAGNAME+= v${GIT_SHIBBOLETH_VERSION}:shib CONFIGURE_ARGS+=--add-module=${WRKSRC_shib} .endif .if ${PORT_OPTIONS:MSLOWFS_CACHE} NGINX_SLOWFS_CACHE_VERSION= 1.10 MASTER_SITES+= http://labs.frickle.com/files/:slowfs_cache DISTFILES+= ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION}.tar.gz:slowfs_cache CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION} .endif .if ${PORT_OPTIONS:MSMALL_LIGHT} NGINX_SMALL_LIGHT_VERSION= 0.6.9 LIB_DEPENDS+= libMagickCore-6.so:${PORTSDIR}/graphics/ImageMagick \ libMagickWand-6.so:${PORTSDIR}/graphics/ImageMagick \ libpcre.so:${PORTSDIR}/devel/pcre GH_ACCOUNT+= cubicdaiya:small_light GH_PROJECT+= ngx_small_light:small_light GH_TAGNAME+= v${NGINX_SMALL_LIGHT_VERSION}:small_light CONFIGURE_ARGS+=--add-module=${WRKSRC_small_light} .endif .if ${PORT_OPTIONS:MSRCACHE} NGINX_SRCACHE_VERSION= 0.29 GH_ACCOUNT+= openresty:srcache GH_PROJECT+= srcache-nginx-module:srcache GH_TAGNAME+= v${NGINX_SRCACHE_VERSION}:srcache CONFIGURE_ARGS+=--add-module=${WRKSRC_srcache} .endif .if ${PORT_OPTIONS:MSTATSD} NGINX_STATSD_VERSION= b756a12 GH_ACCOUNT+= zebrafishlabs:statsd GH_PROJECT+= nginx-statsd:statsd GH_TAGNAME+= ${NGINX_STATSD_VERSION}:statsd CONFIGURE_ARGS+=--add-module=${WRKSRC_statsd} .endif .if ${PORT_OPTIONS:MUDPLOG} NGINX_UDPLOG_VERSION= 1.0.0 MASTER_SITES+= http://www.grid.net.ru/nginx/download/:udplog DISTFILES+= nginx_udplog_module-${NGINX_UDPLOG_VERSION}.tar.gz:udplog CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_udplog_module-${NGINX_UDPLOG_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_udplog_module.c .endif .if ${PORT_OPTIONS:MXRID_HEADER} GIT_XRID_VERSION= 0daa3cc GH_ACCOUNT+= gabor:xrid GH_PROJECT+= nginx-x-rid-header:xrid GH_TAGNAME+= ${GIT_XRID_VERSION}:xrid CONFIGURE_ARGS+=--add-module=${WRKSRC_xrid} .endif .if ${PORT_OPTIONS:MXSS} NGINX_XSS_VERSION= 0.04 GH_ACCOUNT+= openresty:xss GH_PROJECT+= xss-nginx-module:xss GH_TAGNAME+= v${NGINX_XSS_VERSION}:xss CONFIGURE_ARGS+=--add-module=${WRKSRC_xss} .endif .if ${PORT_OPTIONS:MSPDY} NGINX_OPENSSL= yes USE_HTTP_SSL= yes CONFIGURE_ARGS+=--with-http_spdy_module .endif .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+=--with-threads .endif .if ${PORT_OPTIONS:MWWW} PLIST_SUB+= WWWDATA="" .else PLIST_SUB+= WWWDATA="@comment " .endif .else CONFIGURE_ARGS+=--without-http PLIST_SUB+= WWWDATA="@comment " .endif # WITH_HTTP .if ${PORT_OPTIONS:MMAIL} CONFIGURE_ARGS+=--with-mail .if empty(PORT_OPTIONS:MMAIL_IMAP) CONFIGURE_ARGS+=--without-mail_imap_module .endif .if empty(PORT_OPTIONS:MMAIL_POP3) CONFIGURE_ARGS+=--without-mail_pop3_module .endif .if empty(PORT_OPTIONS:MMAIL_SMTP) CONFIGURE_ARGS+=--without-mail_smtp_module .endif .if ${PORT_OPTIONS:MMAIL_SSL} NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-mail_ssl_module .endif .endif # WITH_MAIL .if ${PORT_OPTIONS:MHTTP_SSL} || defined(USE_HTTP_SSL) NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-http_ssl_module .endif .if ${PORT_OPTIONS:MARRAYVAR} NGINX_ARRAYVAR_VERSION= 0.03 GH_ACCOUNT+= openresty:arrayvar GH_PROJECT+= array-var-nginx-module:arrayvar GH_TAGNAME+= v${NGINX_ARRAYVAR_VERSION}:arrayvar CONFIGURE_ARGS+=--add-module=${WRKSRC_arrayvar} .endif .if ${PORT_OPTIONS:MFORMINPUT} NGINX_FORMINPUT_VERSION= 0.07 GH_ACCOUNT+= calio:forminput GH_PROJECT+= form-input-nginx-module:forminput GH_TAGNAME+= v${NGINX_FORMINPUT_VERSION}:forminput CONFIGURE_ARGS+=--add-module=${WRKSRC_forminput} .endif .if ${PORT_OPTIONS:MICONV} USES+= iconv NGINX_ICONV_VERSION= 0.10 GH_ACCOUNT+= calio:iconv GH_PROJECT+= iconv-nginx-module:iconv GH_TAGNAME+= v${NGINX_ICONV_VERSION}:iconv CONFIGURE_ARGS+=--add-module=${WRKSRC_iconv} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-calio-iconv-nginx-module-config .endif PLIST_SUB+= NGINX_TMPDIR=${NGINX_TMPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} USERS?= ${WWWOWN} GROUPS?=${WWWGRP} .if defined(NGINX_OPENSSL) USE_OPENSSL= yes .if ${PORT_OPTIONS:MSPDY} .if ${OSVERSION} < 1000028 WITH_OPENSSL_PORT= yes .endif .endif .endif pre-everything:: @${ECHO_MSG} .if ${PORT_OPTIONS:MHTTP_UPSTREAM_FAIR} @${ECHO_MSG} "Enable http_ssl module to build upstream_fair with SSL support" .endif .if ${PORT_OPTIONS:MPASSENGER} @${ECHO_MSG} "This port install Passenger module only" .endif @${ECHO_MSG} post-extract: .if ${PORT_OPTIONS:MGRIDFS} @${RMDIR} ${WRKSRC_gridfs}/mongo-c-driver/ @${MV} ${WRKSRC_mongo_c} ${WRKSRC_gridfs}/mongo-c-driver .endif post-patch: @${REINPLACE_CMD} 's!%%HTTP_PORT%%!${HTTP_PORT}!; \ s!%%PREFIX%%!${PREFIX}!' \ ${WRKSRC}/conf/nginx.conf .if ${PORT_OPTIONS:MHTTP_AUTH_KRB5} @${REINPLACE_CMD} \ 's!%%GSSAPILIBS%%!${GSSAPILIBS}!' \ ${WRKSRC_auth_krb5}/config .endif .if ${PORT_OPTIONS:MHTTP_ACCESSKEY} @${REINPLACE_CMD} \ 's!$$HTTP_ACCESSKEY_MODULE!ngx_http_accesskey_module!' \ ${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION}/config .endif # linker error acquire if --std=c99 defined, add "static" to inline function .if ${PORT_OPTIONS:MHTTP_ZIP} @${REINPLACE_CMD} \ 's!^inline!static inline!' \ ${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION}/ngx_http_zip_parsers.* .endif .if ${PORT_OPTIONS:MCLOJURE} @${REINPLACE_CMD} \ '45,47d' \ ${WRKSRC_clojure}/src/c/config .endif .if ${PORT_OPTIONS:MDRIZZLE} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_drizzle}/config .endif # Respect CFLAGS by remove needless --std=c99 flag .if ${PORT_OPTIONS:MGRIDFS} @${REINPLACE_CMD} \ 's!--std=c99!-DMONGO_HAVE_STDINT!' \ ${WRKSRC_gridfs}/config .endif .if ${PORT_OPTIONS:MPASSENGER} @${REINPLACE_CMD} \ '177,179s!true!false!' \ ${WRKDIR}/passenger-${PASSENGER_VERSION}/build/basics.rb @${REINPLACE_CMD} \ 's!-I/usr/include/libev!!; \ s!-lev!!; \ s!-Iext/libev!!; \ s!-I/usr/include/libeio!!; \ s!-leio!!; \ s!-Iext/libeio!!' \ ${WRKDIR}/passenger-${PASSENGER_VERSION}/build/common_library.rb .endif .if ${PORT_OPTIONS:MPOSTGRES} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_postgres}/config .endif .if ${PORT_OPTIONS:MSFLOW} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION}/ngx_http_sflow_config.h .endif .if ${PORT_OPTIONS:MICONV} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_iconv}/config .endif .if ${PORT_OPTIONS:MMODSECURITY} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION}/configure .endif .if ${PORT_OPTIONS:MHTTP_TARANTOOL} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_nginx_tarantool}/config .endif pre-configure: .if ${PORT_OPTIONS:MMODSECURITY} ( cd ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION} && \ CC="${CC}" ./${CONFIGURE_SCRIPT} --enable-standalone-module && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ) .endif .if ${PORT_OPTIONS:MSMALL_LIGHT} ( cd ${WRKSRC_small_light} && ./setup ) .endif do-build: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${MKDIR} ${STAGEDIR}${NGINX_TMPDIR} ${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${STAGEDIR}${PREFIX}/sbin .for i in koi-utf koi-win win-utf ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR} .endfor .for i in fastcgi_params mime.types nginx.conf scgi_params uwsgi_params ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR}/${i}-dist .endfor .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MWWW) ${MKDIR} ${STAGEDIR}${PREFIX}/www/nginx-dist .for i in index.html 50x.html ${INSTALL_DATA} ${WRKSRC}/html/${i} ${STAGEDIR}${PREFIX}/www/nginx-dist .endfor ${ECHO_CMD} "" >>${STAGEDIR}${PREFIX}/www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING .endif .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MHTTP_PERL) ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_PROGRAM} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/ .endif .if ${PORT_OPTIONS:MNAXSI} ${INSTALL_DATA} \ ${WRKDIR}/naxsi-core-${NGINX_NAXSI_VERSION}/naxsi_config/naxsi_core.rules \ ${STAGEDIR}${ETCDIR} .endif post-install: .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MHTTP_PERL) ${ECHO_CMD} ${SITE_ARCH_REL}/auto/nginx/nginx.so >> ${TMPPLIST} ${ECHO_CMD} ${SITE_ARCH_REL}/nginx.pm >> ${TMPPLIST} ${ECHO_CMD} @dirrm ${SITE_ARCH_REL}/auto/nginx >> ${TMPPLIST} .endif ${INSTALL_MAN} ${WRKSRC}/objs/nginx.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .if ${PORT_OPTIONS:MNAXSI} ${ECHO_CMD} etc/nginx/naxsi_core.rules >> ${TMPPLIST} .endif .include Index: head/www/nginx-devel/Makefile =================================================================== --- head/www/nginx-devel/Makefile (revision 398832) +++ head/www/nginx-devel/Makefile (revision 398833) @@ -1,1089 +1,1089 @@ # Created by: Sergey A. Osokin # $FreeBSD$ PORTNAME= nginx PORTVERSION= 1.9.5 CATEGORIES= www MASTER_SITES= http://nginx.org/download/ MASTER_SITES+= LOCAL/osa PKGNAMESUFFIX= -devel DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= osa@FreeBSD.org COMMENT= Robust and small WWW server LICENSE= BSD2CLAUSE USES+= cpe CPE_VENDOR= nginx CPE_PRODUCT= nginx USE_GITHUB= nodefault NO_OPTIONS_SORT= yes OPTIONS_DEFINE= \ DEBUG \ DEBUGLOG \ FILE_AIO \ IPV6 \ GOOGLE_PERFTOOLS \ HTTP \ HTTP_ADDITION \ HTTP_AUTH_REQ \ HTTP_CACHE \ HTTP_DAV \ HTTP_FLV \ HTTP_GEOIP \ HTTP_GZIP_STATIC \ HTTP_GUNZIP_FILTER \ HTTP_IMAGE_FILTER \ HTTP_PERL \ HTTP_RANDOM_INDEX \ HTTP_REALIP \ HTTP_REWRITE \ HTTP_SECURE_LINK \ HTTP_SSL \ HTTP_STATUS \ HTTP_SUB \ HTTP_XSLT \ MAIL \ MAIL_IMAP \ MAIL_POP3 \ MAIL_SMTP \ MAIL_SSL \ HTTPV2 \ STREAM \ STREAM_SSL \ THREADS \ WWW \ AJP \ CACHE_PURGE \ CLOJURE \ ECHO \ HEADERS_MORE \ HTTP_ACCEPT_LANGUAGE \ HTTP_ACCESSKEY \ HTTP_AUTH_DIGEST \ HTTP_AUTH_KRB5 \ HTTP_AUTH_LDAP \ HTTP_AUTH_PAM \ HTTP_DAV_EXT \ HTTP_EVAL \ HTTP_FANCYINDEX \ HTTP_FOOTER \ HTTP_MOGILEFS \ HTTP_NOTICE \ HTTP_PUSH \ HTTP_PUSH_STREAM \ HTTP_REDIS \ HTTP_RESPONSE \ HTTP_SUBS_FILTER \ HTTP_TARANTOOL \ HTTP_UPLOAD \ HTTP_UPLOAD_PROGRESS \ HTTP_UPSTREAM_FAIR \ HTTP_UPSTREAM_STICKY \ HTTP_ZIP \ ARRAYVAR \ DRIZZLE \ DYNAMIC_UPSTREAM \ ENCRYPTSESSION \ FORMINPUT \ GRIDFS \ ICONV \ LET \ LUA \ MEMC \ MODSECURITY \ NAXSI \ PASSENGER \ POSTGRES \ RDS_CSV \ RDS_JSON \ REDIS2 \ RTMP \ SET_MISC \ SFLOW \ SHIBBOLETH \ SLOWFS_CACHE \ SMALL_LIGHT \ SRCACHE \ STATSD \ UDPLOG \ XRID_HEADER \ XSS \ VIDEO OPTIONS_RADIO= VIDEO OPTIONS_RADIO_VIDEO= HTTP_MP4 HTTP_MP4_H264 OPTIONS_DEFAULT= IPV6 HTTP HTTP_CACHE HTTP_REWRITE HTTP_SSL HTTP_STATUS WWW DEBUGLOG_DESC= Enable debug log (--with-debug) FILE_AIO_DESC= Enable file aio GOOGLE_PERFTOOLS_DESC= Enable google perftools module HTTP_DESC= Enable HTTP module HTTP_ADDITION_DESC= Enable http_addition module HTTP_AUTH_REQ_DESC= Enable http_auth_request module HTTP_CACHE_DESC= Enable http_cache module HTTP_DAV_DESC= Enable http_webdav module HTTP_FLV_DESC= Enable http_flv module HTTP_GEOIP_DESC= Enable http_geoip module HTTP_GZIP_STATIC_DESC= Enable http_gzip_static module HTTP_GUNZIP_FILTER_DESC= Enable http_gunzip_filter module HTTP_IMAGE_FILTER_DESC= Enable http_image_filter module HTTP_MP4_DESC= Enable http_mp4 module HTTP_PERL_DESC= Enable http_perl module HTTP_RANDOM_INDEX_DESC= Enable http_random_index module HTTP_REALIP_DESC= Enable http_realip module HTTP_REWRITE_DESC= Enable http_rewrite module HTTP_SECURE_LINK_DESC= Enable http_secure_link module HTTP_SSL_DESC= Enable http_ssl module HTTP_STATUS_DESC= Enable http_stub_status module HTTP_SUB_DESC= Enable http_sub module HTTP_XSLT_DESC= Enable http_xslt module MAIL_DESC= Enable IMAP4/POP3/SMTP proxy module MAIL_IMAP_DESC= Enable IMAP4 proxy module MAIL_POP3_DESC= Enable POP3 proxy module MAIL_SMTP_DESC= Enable SMTP proxy module MAIL_SSL_DESC= Enable mail_ssl module HTTPV2_DESC= Enable HTTP/2 protocol support (SSL req.) STREAM_DESC= Enable stream module STREAM_SSL_DESC= Enable stream_ssl module (SSL req.) THREADS_DESC= Enable threads support WWW_DESC= Enable html sample files AJP_DESC= 3rd party ajp module CACHE_PURGE_DESC= 3rd party cache_purge module CLOJURE_DESC= 3rd party clojure module ECHO_DESC= 3rd party echo module HEADERS_MORE_DESC= 3rd party headers_more module HTTP_ACCEPT_LANGUAGE_DESC= 3rd party accept_language module HTTP_ACCESSKEY_DESC= 3rd party http_accesskey module HTTP_AUTH_DIGEST_DESC= 3rd party http_authdigest module HTTP_AUTH_KRB5_DESC= 3rd party http_auth_gss module HTTP_AUTH_LDAP_DESC= 3rd party http_auth_ldap module HTTP_AUTH_PAM_DESC= 3rd party http_auth_pam module HTTP_DAV_EXT_DESC= 3rd party webdav_ext module HTTP_EVAL_DESC= 3rd party eval module HTTP_FANCYINDEX_DESC= 3rd party http_fancyindex module HTTP_FOOTER_DESC= 3rd party http_footer module HTTP_MOGILEFS_DESC= 3rd party mogilefs module HTTP_MP4_H264_DESC= 3rd party mp4/h264 module HTTP_NOTICE_DESC= 3rd party notice module HTTP_PUSH_DESC= 3rd party push module HTTP_PUSH_STREAM_DESC= 3rd party push stream module HTTP_REDIS_DESC= 3rd party http_redis module HTTP_RESPONSE_DESC= 3rd party http_response module HTTP_SUBS_FILTER_DESC= 3rd party subs filter module HTTP_TARANTOOL_DESC= 3rd party tarantool upstream module HTTP_UPLOAD_DESC= 3rd party upload module HTTP_UPLOAD_PROGRESS_DESC= 3rd party uploadprogress module HTTP_UPSTREAM_FAIR_DESC= 3rd party upstream fair module HTTP_UPSTREAM_STICKY_DESC= 3rd party upstream sticky module HTTP_ZIP_DESC= 3rd party http_zip module ARRAYVAR_DESC= 3rd party array_var module DRIZZLE_DESC= 3rd party drizzlie module DYNAMIC_UPSTREAM_DESC= 3rd party dynamic_upstream module ENCRYPTSESSION_DESC= 3rd party encrypted_session module FORMINPUT_DESC= 3rd party form_input module GRIDFS_DESC= 3rd party gridfs module ICONV_DESC= 3rd party iconv module LET_DESC= 3rd party let module LUA_DESC= 3rd party lua module MEMC_DESC= 3rd party memc (memcached) module MODSECURITY_DESC= 3rd party mod_security module NAXSI_DESC= 3rd party naxsi module PASSENGER_DESC= 3rd party passenger module POSTGRES_DESC= 3rd party postgres module RDS_CSV_DESC= 3rd party rds_csv module RDS_JSON_DESC= 3rd party rds_json module REDIS2_DESC= 3rd party redis2 module RTMP_DESC= 3rd party rtmp module SET_MISC_DESC= 3rd party set_misc module SFLOW_DESC= 3rd party sflow module SHIBBOLETH_DESC= 3rd party shibboleth module SLOWFS_CACHE_DESC= 3rd party slowfs_cache module SMALL_LIGHT_DESC= 3rd party small_light module SRCACHE_DESC= 3rd party srcache module STATSD_DESC= 3rd party statsd module UDPLOG_DESC= 3rd party udplog (syslog) module XRID_HEADER_DESC= 3rd party x-rid header module XSS_DESC= 3rd party xss module VIDEO_DESC= Video module support WANT_GNOME= yes .include .if ${PORT_OPTIONS:MPASSENGER} CATEGORIES+= ruby USE_RUBY= yes USE_RAKE= yes .endif NGINX_VARDIR?= /var NGINX_LOGDIR?= ${NGINX_VARDIR}/log NGINX_RUNDIR?= ${NGINX_VARDIR}/run NGINX_TMPDIR?= ${NGINX_VARDIR}/tmp/nginx HTTP_PORT?= 80 NGINX_ACCESSLOG?= ${NGINX_LOGDIR}/nginx-access.log NGINX_ERRORLOG?= ${NGINX_LOGDIR}/nginx-error.log CONFLICTS?= nginx-1.* USE_RC_SUBR= nginx SUB_LIST+= WWWOWN=${WWWOWN} \ WWWGRP=${WWWGRP} \ NGINX_RUNDIR=${NGINX_RUNDIR} \ NGINX_TMPDIR=${NGINX_TMPDIR} HAS_CONFIGURE= yes CONFIGURE_ARGS+=--prefix=${ETCDIR} \ --with-cc-opt="-I ${LOCALBASE}/include" \ --with-ld-opt="-L ${LOCALBASE}/lib" \ --conf-path=${ETCDIR}/nginx.conf \ --sbin-path=${PREFIX}/sbin/nginx \ --pid-path=${NGINX_RUNDIR}/nginx.pid \ --error-log-path=${NGINX_ERRORLOG} \ --user=${WWWOWN} --group=${WWWGRP} .if empty(PORT_OPTIONS:MHTTP) && empty(PORT_OPTIONS:MMAIL) IGNORE= requires at least HTTP or MAIL to \ be defined. Please do 'make config' again .endif .if ${PORT_OPTIONS:MDEBUG} CFLAGS+= -g STRIP= #do not strip if nginx with debug information .endif .if ${PORT_OPTIONS:MDEBUGLOG} CONFIGURE_ARGS+=--with-debug .endif .if ${PORT_OPTIONS:MFILE_AIO} CONFIGURE_ARGS+=--with-file-aio .endif .if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+=--with-ipv6 CATEGORIES+= ipv6 .endif .if ${PORT_OPTIONS:MGOOGLE_PERFTOOLS} LIB_DEPENDS+= libprofiler.so:${PORTSDIR}/devel/google-perftools CONFIGURE_ARGS+=--with-google_perftools_module .endif .if ${PORT_OPTIONS:MHTTP} CONFIGURE_ARGS+=--http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \ --http-fastcgi-temp-path=${NGINX_TMPDIR}/fastcgi_temp \ --http-proxy-temp-path=${NGINX_TMPDIR}/proxy_temp \ --http-scgi-temp-path=${NGINX_TMPDIR}/scgi_temp \ --http-uwsgi-temp-path=${NGINX_TMPDIR}/uwsgi_temp \ --http-log-path=${NGINX_ACCESSLOG} .if ${PORT_OPTIONS:MHTTP_ACCEPT_LANGUAGE} GIT_ACCEPT_LANGUAGE_VERSION= 2f69842 GH_ACCOUNT+= giom:accept_language GH_PROJECT+= nginx_accept_language_module:accept_language GH_TAGNAME+= ${GIT_ACCEPT_LANGUAGE_VERSION}:accept_language CONFIGURE_ARGS+=--add-module=${WRKSRC_accept_language} .endif .if ${PORT_OPTIONS:MHTTP_ACCESSKEY} NGINX_ACCESSKEY_VERSION= 2.0.3 MASTER_SITES+= LOCAL/osa:accesskey DISTFILES+= nginx-accesskey-${NGINX_ACCESSKEY_VERSION}.tar.gz:accesskey CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_ADDITION} CONFIGURE_ARGS+=--with-http_addition_module .endif .if ${PORT_OPTIONS:MHTTP_AUTH_DIGEST} GIT_AUTH_DIGEST_VERSION= bd1c86a GH_ACCOUNT+= samizdatco:auth_digest GH_PROJECT+= nginx-http-auth-digest:auth_digest GH_TAGNAME+= ${GIT_AUTH_DIGEST_VERSION}:auth_digest CONFIGURE_ARGS+=--add-module=${WRKSRC_auth_digest} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_auth_digest_module.c .endif .if ${PORT_OPTIONS:MHTTP_AUTH_KRB5} GIT_HTTP_AUTH_KRB5_VERSION= f76d5d9 GH_ACCOUNT+= stnoonan:auth_krb5 GH_PROJECT+= spnego-http-auth-nginx-module:auth_krb5 GH_TAGNAME+= ${GIT_HTTP_AUTH_KRB5_VERSION}:auth_krb5 CONFIGURE_ARGS+=--add-module=${WRKSRC_auth_krb5} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-spnego-http-auth-nginx-module-config # TODO: Provide optional dependence on Kerberos implementations from ports USES+= gssapi:base,flags .endif .if ${PORT_OPTIONS:MHTTP_AUTH_LDAP} # WWW: https://github.com/kvspb/nginx-auth-ldap GIT_HTTP_AUTH_LDAP_VERSION= 928856aa95 GH_ACCOUNT+= kvspb:http_auth_ldap GH_PROJECT+= nginx-auth-ldap:http_auth_ldap GH_TAGNAME+= ${GIT_HTTP_AUTH_LDAP_VERSION}:http_auth_ldap CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-auth-ldap-${GIT_HTTP_AUTH_LDAP_VERSION} USE_OPENLDAP= yes .endif .if ${PORT_OPTIONS:MHTTP_AUTH_PAM} NGINX_AUTH_PAM_VERSION= 1.2 MASTER_SITES+= http://web.iti.upv.es/~sto/nginx/:auth_pam DISTFILES+= ngx_http_auth_pam_module-${NGINX_AUTH_PAM_VERSION}.tar.gz:auth_pam CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_pam_module-${NGINX_AUTH_PAM_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_AUTH_REQ} CONFIGURE_ARGS+=--with-http_auth_request_module .endif .if empty(PORT_OPTIONS:MHTTP_CACHE) CONFIGURE_ARGS+=--without-http-cache .endif .if ${PORT_OPTIONS:MAJP} NGINX_AJP_VERSION= bf6cd93 GH_ACCOUNT+= yaoweibin:ajp GH_PROJECT+= nginx_ajp_module:ajp GH_TAGNAME+= ${NGINX_AJP_VERSION}:ajp CONFIGURE_ARGS+=--add-module=${WRKSRC_ajp} .endif .if ${PORT_OPTIONS:MCACHE_PURGE} NGINX_CACHE_PURGE_VERSION= 2.3 MASTER_SITES+= http://labs.frickle.com/files/:cache_purge DISTFILES+= ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION}.tar.gz:cache_purge CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION} .endif .if ${PORT_OPTIONS:MCLOJURE} USE_JAVA= yes JAVA_OS= native JAVA_VERSION= 1.8 JAVA_VENDOR= openjdk JAVA_BUILD= yes JAVA_RUN= yes NGINX_CLOJURE_VERSION= 0.4.2 GH_ACCOUNT+= nginx-clojure:clojure GH_PROJECT+= nginx-clojure:clojure GH_TAGNAME+= v${NGINX_CLOJURE_VERSION}:clojure CONFIGURE_ENV+= "JNI_INCS=-I${LOCALBASE}/openjdk8/include -I${LOCALBASE}/openjdk8/include/freebsd" CONFIGURE_ARGS+=--add-module=${WRKSRC_clojure}/src/c .endif .if ${PORT_OPTIONS:MECHO} NGINX_ECHO_VERSION= 0.57 GH_ACCOUNT+= openresty:echo GH_PROJECT+= echo-nginx-module:echo GH_TAGNAME+= v${NGINX_ECHO_VERSION}:echo CONFIGURE_ARGS+=--add-module=${WRKSRC_echo} .endif .if ${PORT_OPTIONS:MHEADERS_MORE} NGINX_HEADERS_MORE_VERSION= 0.261 GH_ACCOUNT+= openresty:headers_more GH_PROJECT+= headers-more-nginx-module:headers_more GH_TAGNAME+= v${NGINX_HEADERS_MORE_VERSION}:headers_more CONFIGURE_ARGS+=--add-module=${WRKSRC_headers_more} .endif .if ${PORT_OPTIONS:MHTTP_DAV} || defined(USE_HTTP_DAV) CONFIGURE_ARGS+=--with-http_dav_module .endif .if ${PORT_OPTIONS:MHTTP_DAV_EXT} USE_HTTP_DAV= yes LIB_DEPENDS+= libexpat.so:${PORTSDIR}/textproc/expat2 NGINX_DAV_EXT_VERSION= 0.0.3 GH_ACCOUNT+= arut:dav_ext GH_PROJECT+= nginx-dav-ext-module:dav_ext GH_TAGNAME+= v${NGINX_DAV_EXT_VERSION}:dav_ext CONFIGURE_ARGS+=--add-module=${WRKSRC_dav_ext} .endif .if ${PORT_OPTIONS:MHTTP_EVAL} NGINX_EVAL_VERSION= 1.0.3 GH_ACCOUNT+= vkholodkov:eval GH_PROJECT+= nginx-eval-module:eval GH_TAGNAME+= ${NGINX_EVAL_VERSION}:eval CONFIGURE_ARGS+=--add-module=${WRKSRC_eval} .endif .if ${PORT_OPTIONS:MHTTP_FANCYINDEX} NGINX_FANCYINDEX_VERSION= 0.3.5 GH_ACCOUNT+= aperezdc:fancyindex GH_PROJECT+= ngx-fancyindex:fancyindex GH_TAGNAME+= v${NGINX_FANCYINDEX_VERSION}:fancyindex CONFIGURE_ARGS+=--add-module=${WRKSRC_fancyindex} .endif .if ${PORT_OPTIONS:MHTTP_FOOTER} NGINX_FOOTER_VERSION= 1.2.2 GH_ACCOUNT+= alibaba:footer GH_PROJECT+= nginx-http-footer-filter:footer GH_TAGNAME+= ${NGINX_FOOTER_VERSION}:footer CONFIGURE_ARGS+=--add-module=${WRKSRC_footer} .endif .if ${PORT_OPTIONS:MHTTP_FLV} CONFIGURE_ARGS+=--with-http_flv_module .endif .if ${PORT_OPTIONS:MHTTP_GEOIP} CONFIGURE_ARGS+=--with-http_geoip_module LIB_DEPENDS+= libGeoIP.so:${PORTSDIR}/net/GeoIP .endif .if ${PORT_OPTIONS:MHTTP_GZIP_STATIC} CONFIGURE_ARGS+=--with-http_gzip_static_module .endif .if ${PORT_OPTIONS:MHTTP_GUNZIP_FILTER} CONFIGURE_ARGS+=--with-http_gunzip_module .endif .if ${PORT_OPTIONS:MHTTP_IMAGE_FILTER} LIB_DEPENDS+= libgd.so:${PORTSDIR}/graphics/gd CONFIGURE_ARGS+=--with-http_image_filter_module .endif .if ${PORT_OPTIONS:MHTTP_MP4} CONFIGURE_ARGS+=--with-http_mp4_module .endif .if ${PORT_OPTIONS:MHTTP_MOGILEFS} NGINX_MOGILEFS_VERSION= 1.0.4 MASTER_SITES+= http://www.grid.net.ru/nginx/download/:mogilefs DISTFILES+= nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION}.tar.gz:mogilefs CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_mogilefs_module.c .endif .if ${PORT_OPTIONS:MHTTP_MP4_H264} NGINX_H264_VERSION= 2.2.7 MASTER_SITES+= http://h264.code-shop.com/download/:mp4streaming DISTFILES+= nginx_mod_h264_streaming-${NGINX_H264_VERSION}.tar.gz:mp4streaming CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mod_h264_streaming-${NGINX_H264_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_streaming_module.c .endif .if ${PORT_OPTIONS:MHTTP_NOTICE} GIT_NOTICE_VERSION= 3c95966 GH_ACCOUNT+= kr:notice GH_PROJECT+= nginx-notice:notice GH_TAGNAME+= ${GIT_NOTICE_VERSION}:notice CONFIGURE_ARGS+=--add-module=${WRKSRC_notice} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_notice_module.c .endif .if ${PORT_OPTIONS:MHTTP_PERL} CATEGORIES+= perl5 CONFIGURE_ARGS+=--with-http_perl_module USES+= perl5 .endif .if ${PORT_OPTIONS:MHTTP_PUSH} NGINX_PUSH_VERSION= 0.692 MASTER_SITES+= http://pushmodule.slact.net/downloads/:push DISTFILES+= nginx_http_push_module-${NGINX_PUSH_VERSION}.tar.gz:push CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_http_push_module-${NGINX_PUSH_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_PUSH_STREAM} NGINX_PUSH_STREAM_VERSION= 0.3.5 GH_ACCOUNT+= wandenberg:pushstream GH_PROJECT+= nginx-push-stream-module:pushstream GH_TAGNAME+= ${NGINX_PUSH_STREAM_VERSION}:pushstream CONFIGURE_ARGS+=--add-module=${WRKSRC_pushstream} .endif .if ${PORT_OPTIONS:MHTTP_RANDOM_INDEX} CONFIGURE_ARGS+=--with-http_random_index_module .endif .if ${PORT_OPTIONS:MHTTP_REALIP} CONFIGURE_ARGS+=--with-http_realip_module .endif .if ${PORT_OPTIONS:MHTTP_REDIS} NGINX_REDIS_VERSION= 0.3.7 MASTER_SITES+= LOCAL/osa:redis DISTFILES+= ngx_http_redis-${NGINX_REDIS_VERSION}.tar.gz:redis CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_RESPONSE} NGINX_RESPONSE_VERSION= 0.3 MASTER_SITES+= http://catap.ru/downloads/nginx/:response DISTFILES+= ngx_http_response-${NGINX_RESPONSE_VERSION}.tar.gz:response CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_response-${NGINX_RESPONSE_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_SUBS_FILTER} NGINX_HTTP_SUBS_FILTER_VERSION= 0.6.2 GH_ACCOUNT+= yaoweibin:subs_filter GH_PROJECT+= ngx_http_substitutions_filter_module:subs_filter GH_TAGNAME+= ${NGINX_HTTP_SUBS_FILTER_VERSION}:subs_filter CONFIGURE_ARGS+=--add-module=${WRKSRC_subs_filter} .endif .if ${PORT_OPTIONS:MHTTP_TARANTOOL} LIB_DEPENDS+= libmsgpuck.so:${PORTSDIR}/devel/msgpuck \ libyajl.so:${PORTSDIR}/devel/yajl GH_ACCOUNT+= tarantool:nginx_tarantool GH_PROJECT+= nginx_upstream_module:nginx_tarantool GH_TAGNAME+= 966f2f5:nginx_tarantool CFLAGS+= -I${LOCALBASE}/include/msgpuck CONFIGURE_ARGS+=--add-module=${WRKSRC_nginx_tarantool} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_tarantool-config .endif .if ${PORT_OPTIONS:MHTTP_SECURE_LINK} CONFIGURE_ARGS+=--with-http_secure_link_module .endif .if ${PORT_OPTIONS:MHTTP_STATUS} CONFIGURE_ARGS+=--with-http_stub_status_module .endif .if ${PORT_OPTIONS:MHTTP_SUB} CONFIGURE_ARGS+=--with-http_sub_module .endif -.if ${PORT_OPTIONS:MHTTP_UPLOAD} +.if ${PORT_OPTIONS:MHTTP_UPLOAD} GIT_UPLOAD_VERSION= aba1e3f34c GH_ACCOUNT+= vkholodkov:upload GH_PROJECT+= nginx-upload-module:upload GH_TAGNAME+= ${GIT_UPLOAD_VERSION}:upload CONFIGURE_ARGS+=--add-module=${WRKSRC_upload} .endif .if ${PORT_OPTIONS:MHTTP_UPLOAD_PROGRESS} NGINX_UPLOADPROGRESS_VERSION= 0.9.0 GH_ACCOUNT+= masterzen:uploadprogress GH_PROJECT+= nginx-upload-progress-module:uploadprogress GH_TAGNAME+= v${NGINX_UPLOADPROGRESS_VERSION}:uploadprogress CONFIGURE_ARGS+=--add-module=${WRKSRC_uploadprogress} .endif .if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_FAIR) NGINX_UPSTREAM_FAIR_VERSION= 20090923 MASTER_SITES+= LOCAL/osa:upstreamfair DISTFILES+= nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}.tar.gz:upstreamfair CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_UPSTREAM_STICKY} USE_HTTP_SSL= yes NGINX_UPSTREAM_STICKY_VERSION= 1.2.4 MASTER_SITES+= https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng/get/:upstreamsticky DISTFILES+= ${NGINX_UPSTREAM_STICKY_VERSION}.tar.gz:upstreamsticky CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-goodies-nginx-sticky-module-ng-c825ea7c5c91/ .endif .if ${PORT_OPTIONS:MHTTP_XSLT} USE_GNOME+= libxml2 libxslt CONFIGURE_ARGS+=--with-http_xslt_module .endif .if ${PORT_OPTIONS:MHTTP_ZIP} NGINX_ZIP_VERSION= 1.1.6 MASTER_SITES+= http://mod-zip.googlecode.com/files/:zip DISTFILES+= mod_zip-${NGINX_ZIP_VERSION}.tar.gz:zip CONFIGURE_ARGS+=--add-module=${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION} .endif .if ${PORT_OPTIONS:MDRIZZLE} LIB_DEPENDS+= libdrizzle.so:${PORTSDIR}/databases/libdrizzle NGINX_DRIZZLE_VERSION= 0.1.8 GH_ACCOUNT+= openresty:drizzle GH_PROJECT+= drizzle-nginx-module:drizzle GH_TAGNAME+= v${NGINX_DRIZZLE_VERSION}:drizzle CONFIGURE_ARGS+=--add-module=${WRKSRC_drizzle} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openresty-drizzle-nginx-module-config \ ${PATCHDIR}/extra-patch-ngx_http_drizzle_util.c .endif .if ${PORT_OPTIONS:MDYNAMIC_UPSTREAM} NGINX_DYNAMIC_UPSTREAM_VERSION= 0.1.0 GH_ACCOUNT+= cubicdaiya:dyn_upstream GH_PROJECT+= ngx_dynamic_upstream:dyn_upstream GH_TAGNAME+= v${NGINX_DYNAMIC_UPSTREAM_VERSION}:dyn_upstream CONFIGURE_ARGS+=--add-module=${WRKSRC_dyn_upstream} .endif .if ${PORT_OPTIONS:MARRAYVAR} || ${PORT_OPTIONS:MENCRYPTSESSION} || ${PORT_OPTIONS:MFORMINPUT} || ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MSET_MISC} NGINX_DEVEL_KIT_VERSION= 0.2.19 GH_ACCOUNT+= simpl:devel_kit GH_PROJECT+= ngx_devel_kit:devel_kit GH_TAGNAME+= v${NGINX_DEVEL_KIT_VERSION}:devel_kit CONFIGURE_ARGS+=--add-module=${WRKSRC_devel_kit} .endif .if ${PORT_OPTIONS:MENCRYPTSESSION} NGINX_ENCRYPTSESSION_VERSION= 0.03 GH_ACCOUNT+= openresty:encryptsession GH_PROJECT+= encrypted-session-nginx-module:encryptsession GH_TAGNAME+= v${NGINX_ENCRYPTSESSION_VERSION}:encryptsession CONFIGURE_ARGS+=--add-module=${WRKSRC_encryptsession} .endif .if ${PORT_OPTIONS:MGRIDFS} NGINX_GRIDFS_VERSION= 0.8 MONGO_C_DRIVER_VERSION= 0.3.1 GH_ACCOUNT+= mdirolf:gridfs mongodb:mongo_c GH_PROJECT+= nginx-gridfs:gridfs mongo-c-driver:mongo_c GH_TAGNAME+= v${NGINX_GRIDFS_VERSION}:gridfs v${MONGO_C_DRIVER_VERSION}:mongo_c CONFIGURE_ARGS+=--add-module=${WRKSRC_gridfs} .endif .if ${PORT_OPTIONS:MLET} NGINX_LET_VERSION= 0.0.4 GH_ACCOUNT+= arut:let GH_PROJECT+= nginx-let-module:let GH_TAGNAME+= v${NGINX_LET_VERSION}:let CONFIGURE_ARGS+=--add-module=${WRKSRC_let} .endif .if ${PORT_OPTIONS:MLUA} LIB_DEPENDS+= libluajit-5.1.so:${PORTSDIR}/lang/luajit CONFIGURE_ENV+= "LUAJIT_INC=${LOCALBASE}/include/luajit-2.0" CONFIGURE_ENV+= "LUAJIT_LIB=${LOCALBASE}/lib" NGINX_LUA_VERSION= 0.9.16 GH_ACCOUNT+= openresty:lua GH_PROJECT+= lua-nginx-module:lua GH_TAGNAME+= v${NGINX_LUA_VERSION}:lua CONFIGURE_ARGS+=--add-module=${WRKSRC_lua} .endif .if ${PORT_OPTIONS:MMEMC} NGINX_MEMC_VERSION= 0.15 GH_ACCOUNT+= openresty:memc GH_PROJECT+= memc-nginx-module:memc GH_TAGNAME+= v${NGINX_MEMC_VERSION}:memc CONFIGURE_ARGS+=--add-module=${WRKSRC_memc} .endif .if ${PORT_OPTIONS:MMODSECURITY} NGINX_MODSECURITY_VERSION= 2.9.0 LIB_DEPENDS+= libapr-1.so:${PORTSDIR}/devel/apr1 \ libcurl.so:${PORTSDIR}/ftp/curl \ libluajit-5.1.so:${PORTSDIR}/lang/luajit \ libpcre.so:${PORTSDIR}/devel/pcre \ libyajl.so:${PORTSDIR}/devel/yajl USE_APACHE= 22+ USE_GNOME+= libxml2 MASTER_SITES+= http://www.modsecurity.org/tarball/${NGINX_MODSECURITY_VERSION}/:modsecurity DISTFILES+= modsecurity-${NGINX_MODSECURITY_VERSION}.tar.gz:modsecurity CONFIGURE_ARGS+=--add-module=${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION}/nginx/modsecurity EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-nginx-modsecurity-configure .endif .if ${PORT_OPTIONS:MNAXSI} NGINX_NAXSI_VERSION= 0.50 MASTER_SITES+= http://naxsi.googlecode.com/files/:naxsi DISTFILES+= naxsi-core-${NGINX_NAXSI_VERSION}.tgz:naxsi CONFIGURE_ARGS+=--add-module=${WRKDIR}/naxsi-core-${NGINX_NAXSI_VERSION}/naxsi_src .endif .if ${PORT_OPTIONS:MHTTP_REWRITE} || defined(USE_HTTP_REWRITE) LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre CONFIGURE_ARGS+=--with-pcre .else PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nopcre CONFIGURE_ARGS+=--without-http_rewrite_module \ --without-pcre .endif .if ${PORT_OPTIONS:MPASSENGER} PASSENGER_VERSION= 5.0.20 MASTER_SITES+= http://s3.amazonaws.com/phusion-passenger/releases/:passenger DISTFILES+= passenger-${PASSENGER_VERSION}.tar.gz:passenger CONFIGURE_ARGS+=--add-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/src/nginx_module EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-passenger-build-nginx.rb .if empty(PORT_OPTIONS:MDEBUG) CONFIGURE_ENV+= OPTIMIZE="yes" CFLAGS+= -DNDEBUG .endif .endif .if ${PORT_OPTIONS:MPOSTGRES} USES+= pgsql NGINX_POSTGRES_VERSION= 1.0rc5-1-g49855a0 GH_ACCOUNT+= FRiCKLE:postgres GH_PROJECT+= ngx_postgres:postgres GH_TAGNAME+= ${NGINX_POSTGRES_VERSION}:postgres CONFIGURE_ARGS+=--add-module=${WRKSRC_postgres} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_postgres-config \ ${PATCHDIR}/extra-patch-ngx_postgres_util.c .endif .if ${PORT_OPTIONS:MRDS_CSV} NGINX_RDS_CSV_VERSION= 0.05 GH_ACCOUNT+= openresty:rdscsv GH_PROJECT+= rds-csv-nginx-module:rdscsv GH_TAGNAME+= v${NGINX_RDS_CSV_VERSION}:rdscsv CONFIGURE_ARGS+=--add-module=${WRKSRC_rdscsv} .endif .if ${PORT_OPTIONS:MRDS_JSON} NGINX_RDS_JSON_VERSION= 0.13 GH_ACCOUNT+= openresty:rdsjson GH_PROJECT+= rds-json-nginx-module:rdsjson GH_TAGNAME+= v${NGINX_RDS_JSON_VERSION}:rdsjson CONFIGURE_ARGS+=--add-module=${WRKSRC_rdsjson} .endif .if ${PORT_OPTIONS:MREDIS2} NGINX_REDIS2_VERSION= 0.11 GH_ACCOUNT+= openresty:redis2 GH_PROJECT+= redis2-nginx-module:redis2 GH_TAGNAME+= v${NGINX_REDIS2_VERSION}:redis2 CONFIGURE_ARGS+=--add-module=${WRKSRC_redis2} .endif .if ${PORT_OPTIONS:MRTMP} NGINX_RTMP_VERSION= 1.1.7 GH_ACCOUNT+= arut:rtmp GH_PROJECT+= nginx-rtmp-module:rtmp GH_TAGNAME+= v${NGINX_RTMP_VERSION}:rtmp CONFIGURE_ARGS+=--add-module=${WRKSRC_rtmp} .endif .if ${PORT_OPTIONS:MSET_MISC} NGINX_SET_MISC_VERSION= 0.28 GH_ACCOUNT+= openresty:setmisc GH_PROJECT+= set-misc-nginx-module:setmisc GH_TAGNAME+= v${NGINX_SET_MISC_VERSION}:setmisc CONFIGURE_ARGS+=--add-module=${WRKSRC_setmisc} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openresty-set-misc-nginx-module-config .endif .if ${PORT_OPTIONS:MSFLOW} NGINX_SFLOW_VERSION= 0.9.7 MASTER_SITES+= http://nginx-sflow-module.googlecode.com/files/:sflow DISTFILES+= nginx-sflow-module-${NGINX_SFLOW_VERSION}.tar.gz:sflow CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_sflow_config.c \ ${PATCHDIR}/extra-patch-ngx_http_sflow_config.h \ ${PATCHDIR}/extra-patch-ngx_http_sflow_module.c .endif .if ${PORT_OPTIONS:MSHIBBOLETH} GIT_SHIBBOLETH_VERSION= 20150121 GH_ACCOUNT+= nginx-shib:shib GH_PROJECT+= nginx-http-shibboleth:shib GH_TAGNAME+= v${GIT_SHIBBOLETH_VERSION}:shib CONFIGURE_ARGS+=--add-module=${WRKSRC_shib} .endif .if ${PORT_OPTIONS:MSLOWFS_CACHE} NGINX_SLOWFS_CACHE_VERSION= 1.10 MASTER_SITES+= http://labs.frickle.com/files/:slowfs_cache DISTFILES+= ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION}.tar.gz:slowfs_cache CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION} .endif .if ${PORT_OPTIONS:MSMALL_LIGHT} NGINX_SMALL_LIGHT_VERSION= 0.6.9 LIB_DEPENDS+= libMagickCore-6.so:${PORTSDIR}/graphics/ImageMagick \ libMagickWand-6.so:${PORTSDIR}/graphics/ImageMagick \ libpcre.so:${PORTSDIR}/devel/pcre GH_ACCOUNT+= cubicdaiya:small_light GH_PROJECT+= ngx_small_light:small_light GH_TAGNAME+= v${NGINX_SMALL_LIGHT_VERSION}:small_light CONFIGURE_ARGS+=--add-module=${WRKSRC_small_light} .endif .if ${PORT_OPTIONS:MSRCACHE} NGINX_SRCACHE_VERSION= 0.29 GH_ACCOUNT+= openresty:srcache GH_PROJECT+= srcache-nginx-module:srcache GH_TAGNAME+= v${NGINX_SRCACHE_VERSION}:srcache CONFIGURE_ARGS+=--add-module=${WRKSRC_srcache} .endif .if ${PORT_OPTIONS:MSTATSD} NGINX_STATSD_VERSION= b756a12 GH_ACCOUNT+= zebrafishlabs:statsd GH_PROJECT+= nginx-statsd:statsd GH_TAGNAME+= ${NGINX_STATSD_VERSION}:statsd CONFIGURE_ARGS+=--add-module=${WRKSRC_statsd} .endif .if ${PORT_OPTIONS:MUDPLOG} NGINX_UDPLOG_VERSION= 1.0.0 MASTER_SITES+= http://www.grid.net.ru/nginx/download/:udplog DISTFILES+= nginx_udplog_module-${NGINX_UDPLOG_VERSION}.tar.gz:udplog CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_udplog_module-${NGINX_UDPLOG_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_udplog_module.c .endif .if ${PORT_OPTIONS:MXRID_HEADER} GIT_XRID_VERSION= 0daa3cc GH_ACCOUNT+= gabor:xrid GH_PROJECT+= nginx-x-rid-header:xrid GH_TAGNAME+= ${GIT_XRID_VERSION}:xrid CONFIGURE_ARGS+=--add-module=${WRKSRC_xrid} .endif .if ${PORT_OPTIONS:MXSS} NGINX_XSS_VERSION= 0.04 GH_ACCOUNT+= openresty:xss GH_PROJECT+= xss-nginx-module:xss GH_TAGNAME+= v${NGINX_XSS_VERSION}:xss CONFIGURE_ARGS+=--add-module=${WRKSRC_xss} .endif .if ${PORT_OPTIONS:MHTTPV2} NGINX_OPENSSL= yes USE_HTTP_SSL= yes CONFIGURE_ARGS+=--with-http_v2_module USE_OPENSSL_PORT= yes .endif .if ${PORT_OPTIONS:MSTREAM} CONFIGURE_ARGS+=--with-stream .if ${PORT_OPTIONS:MSTREAM_SSL} NGINX_OPENSSL= yes USE_HTTP_SSL= yes CONFIGURE_ARGS+=--with-stream_ssl_module .endif .endif .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+=--with-threads .endif .if ${PORT_OPTIONS:MWWW} PLIST_SUB+= WWWDATA="" .else PLIST_SUB+= WWWDATA="@comment " .endif .else CONFIGURE_ARGS+=--without-http PLIST_SUB+= WWWDATA="@comment " .endif # WITH_HTTP .if ${PORT_OPTIONS:MMAIL} CONFIGURE_ARGS+=--with-mail .if empty(PORT_OPTIONS:MMAIL_IMAP) CONFIGURE_ARGS+=--without-mail_imap_module .endif .if empty(PORT_OPTIONS:MMAIL_POP3) CONFIGURE_ARGS+=--without-mail_pop3_module .endif .if empty(PORT_OPTIONS:MMAIL_SMTP) CONFIGURE_ARGS+=--without-mail_smtp_module .endif .if ${PORT_OPTIONS:MMAIL_SSL} NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-mail_ssl_module .endif .endif # WITH_MAIL .if ${PORT_OPTIONS:MHTTP_SSL} || defined(USE_HTTP_SSL) NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-http_ssl_module .endif .if ${PORT_OPTIONS:MARRAYVAR} NGINX_ARRAYVAR_VERSION= 0.03 GH_ACCOUNT+= openresty:arrayvar GH_PROJECT+= array-var-nginx-module:arrayvar GH_TAGNAME+= v${NGINX_ARRAYVAR_VERSION}:arrayvar CONFIGURE_ARGS+=--add-module=${WRKSRC_arrayvar} .endif .if ${PORT_OPTIONS:MFORMINPUT} NGINX_FORMINPUT_VERSION= 0.07 GH_ACCOUNT+= calio:forminput GH_PROJECT+= form-input-nginx-module:forminput GH_TAGNAME+= v${NGINX_FORMINPUT_VERSION}:forminput CONFIGURE_ARGS+=--add-module=${WRKSRC_forminput} .endif .if ${PORT_OPTIONS:MICONV} USES+= iconv NGINX_ICONV_VERSION= 0.10 GH_ACCOUNT+= calio:iconv GH_PROJECT+= iconv-nginx-module:iconv GH_TAGNAME+= v${NGINX_ICONV_VERSION}:iconv CONFIGURE_ARGS+=--add-module=${WRKSRC_iconv} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-calio-iconv-nginx-module-config .endif PLIST_SUB+= NGINX_TMPDIR=${NGINX_TMPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} USERS?= ${WWWOWN} GROUPS?=${WWWGRP} .if defined(NGINX_OPENSSL) USE_OPENSSL= yes .endif pre-everything:: @${ECHO_MSG} .if ${PORT_OPTIONS:MHTTP_UPSTREAM_FAIR} @${ECHO_MSG} "Enable http_ssl module to build upstream_fair with SSL support" .endif .if ${PORT_OPTIONS:MPASSENGER} @${ECHO_MSG} "This port install Passenger module only" .endif @${ECHO_MSG} post-extract: .if ${PORT_OPTIONS:MGRIDFS} @${RMDIR} ${WRKSRC_gridfs}/mongo-c-driver/ @${MV} ${WRKSRC_mongo_c} ${WRKSRC_gridfs}/mongo-c-driver .endif post-patch: @${REINPLACE_CMD} 's!%%HTTP_PORT%%!${HTTP_PORT}!; \ s!%%PREFIX%%!${PREFIX}!' \ ${WRKSRC}/conf/nginx.conf .if ${PORT_OPTIONS:MHTTP_AUTH_KRB5} @${REINPLACE_CMD} \ 's!%%GSSAPILIBS%%!${GSSAPILIBS}!' \ ${WRKSRC_auth_krb5}/config .endif .if ${PORT_OPTIONS:MHTTP_ACCESSKEY} @${REINPLACE_CMD} \ 's!$$HTTP_ACCESSKEY_MODULE!ngx_http_accesskey_module!' \ ${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION}/config .endif # linker error acquire if --std=c99 defined, add "static" to inline function .if ${PORT_OPTIONS:MHTTP_ZIP} @${REINPLACE_CMD} \ 's!^inline!static inline!' \ ${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION}/ngx_http_zip_parsers.* .endif .if ${PORT_OPTIONS:MCLOJURE} @${REINPLACE_CMD} \ '45,47d' \ ${WRKSRC_clojure}/src/c/config .endif .if ${PORT_OPTIONS:MDRIZZLE} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_drizzle}/config .endif .if ${PORT_OPTIONS:MDYNAMIC_UPSTREAM} @${REINPLACE_CMD} \ 's!ngx_ngx_slab_alloc!ngx_slab_alloc!g' \ ${WRKSRC_dyn_upstream}/src/ngx_inet_slab.c .endif # Respect CFLAGS by remove needless --std=c99 flag .if ${PORT_OPTIONS:MGRIDFS} @${REINPLACE_CMD} \ 's!--std=c99!-DMONGO_HAVE_STDINT!' \ ${WRKSRC_gridfs}/config .endif .if ${PORT_OPTIONS:MPASSENGER} @${REINPLACE_CMD} \ '177,179s!true!false!' \ ${WRKDIR}/passenger-${PASSENGER_VERSION}/build/basics.rb @${REINPLACE_CMD} \ 's!-I/usr/include/libev!!; \ s!-lev!!; \ s!-Iext/libev!!; \ s!-I/usr/include/libeio!!; \ s!-leio!!; \ s!-Iext/libeio!!' \ ${WRKDIR}/passenger-${PASSENGER_VERSION}/build/common_library.rb .endif .if ${PORT_OPTIONS:MPOSTGRES} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_postgres}/config .endif .if ${PORT_OPTIONS:MSFLOW} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION}/ngx_http_sflow_config.h .endif .if ${PORT_OPTIONS:MLUA} @${REINPLACE_CMD} 's!ngx_http_set_connection_log!ngx_set_connection_log!g' \ ${WRKSRC_lua}/src/ngx_http_lua_initworkerby.c \ ${WRKSRC_lua}/src/ngx_http_lua_timer.c .endif .if ${PORT_OPTIONS:MICONV} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_iconv}/config .endif .if ${PORT_OPTIONS:MMODSECURITY} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION}/configure .endif .if ${PORT_OPTIONS:MHTTP_TARANTOOL} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_nginx_tarantool}/config .endif pre-configure: .if ${PORT_OPTIONS:MMODSECURITY} ( cd ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION} && \ CC="${CC}" ./${CONFIGURE_SCRIPT} --enable-standalone-module && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ) .endif .if ${PORT_OPTIONS:MSMALL_LIGHT} ( cd ${WRKSRC_small_light} && ./setup ) .endif do-build: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${MKDIR} ${STAGEDIR}${NGINX_TMPDIR} ${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${STAGEDIR}${PREFIX}/sbin .for i in koi-utf koi-win win-utf ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR} .endfor .for i in fastcgi_params mime.types nginx.conf scgi_params uwsgi_params ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR}/${i}-dist .endfor .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MWWW) ${MKDIR} ${STAGEDIR}${PREFIX}/www/nginx-dist .for i in index.html 50x.html ${INSTALL_DATA} ${WRKSRC}/html/${i} ${STAGEDIR}${PREFIX}/www/nginx-dist .endfor ${ECHO_CMD} "" >>${STAGEDIR}${PREFIX}/www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING .endif .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MHTTP_PERL) ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_PROGRAM} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/ .endif .if ${PORT_OPTIONS:MNAXSI} ${INSTALL_DATA} \ ${WRKDIR}/naxsi-core-${NGINX_NAXSI_VERSION}/naxsi_config/naxsi_core.rules \ ${STAGEDIR}${ETCDIR} .endif post-install: .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MHTTP_PERL) ${ECHO_CMD} ${SITE_ARCH_REL}/auto/nginx/nginx.so >> ${TMPPLIST} ${ECHO_CMD} ${SITE_ARCH_REL}/nginx.pm >> ${TMPPLIST} ${ECHO_CMD} @dirrm ${SITE_ARCH_REL}/auto/nginx >> ${TMPPLIST} .endif ${INSTALL_MAN} ${WRKSRC}/objs/nginx.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .if ${PORT_OPTIONS:MNAXSI} ${ECHO_CMD} etc/nginx/naxsi_core.rules >> ${TMPPLIST} .endif .include Index: head/www/p5-Apache-Session-PHP/Makefile =================================================================== --- head/www/p5-Apache-Session-PHP/Makefile (revision 398832) +++ head/www/p5-Apache-Session-PHP/Makefile (revision 398833) @@ -1,21 +1,21 @@ # Created by: Mathieu Arnold # $FreeBSD$ PORTNAME= Apache-Session-PHP PORTVERSION= 0.05 PORTREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Glue Apache::Session with PHP::Session BUILD_DEPENDS= p5-PHP-Session>=0:${PORTSDIR}/www/p5-PHP-Session \ - p5-Apache-Session>=0:${PORTSDIR}/www/p5-Apache-Session + p5-Apache-Session>=0:${PORTSDIR}/www/p5-Apache-Session RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure .include Index: head/www/py-django14/Makefile =================================================================== --- head/www/py-django14/Makefile (revision 398832) +++ head/www/py-django14/Makefile (revision 398833) @@ -1,70 +1,70 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= django PORTVERSION= 1.4.22 CATEGORIES= www python MASTER_SITES= CHEESESHOP \ - https://www.djangoproject.com/m/releases/${PORTVERSION:R}/ + https://www.djangoproject.com/m/releases/${PORTVERSION:R}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 14 DISTNAME= Django-${PORTVERSION} DIST_SUBDIR= python MAINTAINER= python@FreeBSD.org COMMENT= High-level Python Web Framework (1.4.x LTS) LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe python:2 USE_PYTHON= autoplist distutils CONFLICTS_INSTALL= py??-django-devel-* py??-django-1.[012356789].* CPE_VENDOR= djangoproject DOCSDIR= ${PREFIX}/share/doc/py-django OPTIONS_DEFINE= FASTCGI HTMLDOCS OPTIONS_DEFAULT= SQLITE OPTIONS_GROUP= DATABASE OPTIONS_GROUP_DATABASE= PGSQL MYSQL SQLITE HTMLDOCS_DESC= Install HTML documentation (requires Sphinx) PLIST_FILES= man/man1/daily_cleanup.1.gz \ man/man1/django-admin.1.gz \ man/man1/gather_profile_stats.1.gz PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:${PORTSDIR}/databases/py-psycopg2 MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 FASTCGI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup .include .if ${PORT_OPTIONS:MHTMLDOCS} . if empty(PORT_OPTIONS:MDOCS) IGNORE= you cannot build documentation with DOCS option disabled . endif BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx PORTDOCS= * .endif post-build: .if ${PORT_OPTIONS:MHTMLDOCS} cd ${WRKSRC}/docs && ${MAKE} html .endif post-install: ${INSTALL_MAN} ${WRKSRC}/docs/man/* ${STAGEDIR}/${MAN1PREFIX}/man/man1 @${ECHO_MSG} "" @${ECHO_MSG} " * See http://docs.djangoproject.com/ for complete documentation" @${ECHO_MSG} "" .if ${PORT_OPTIONS:MHTMLDOCS} ${MKDIR} ${STAGEDIR}/${DOCSDIR} ${CP} -R ${WRKSRC}/docs/_build/html ${STAGEDIR}/${DOCSDIR} .endif .include Index: head/www/seahub/Makefile =================================================================== --- head/www/seahub/Makefile (revision 398832) +++ head/www/seahub/Makefile (revision 398833) @@ -1,145 +1,145 @@ # $FreeBSD$ PORTNAME= seahub PORTVERSION= 4.0.5 PORTREVISION= 1 DISTVERSIONPREFIX= v DISTVERSIONSUFFIX= -pro CATEGORIES= www MASTER_SITES= https://pypi.python.org/packages/source/p/pip/:pip \ https://pypi.python.org/packages/source/p/pbr/:pbr \ https://pypi.python.org/packages/source/l/lockfile/:lockfile \ https://pypi.python.org/packages/source/s/six/:six \ https://pypi.python.org/packages/source/g/gunicorn/:gunicorn \ https://pypi.python.org/packages/source/f/flup/:flup \ https://pypi.python.org/packages/source/d/daemon/:daemon \ https://pypi.python.org/packages/source/c/chardet/:chardet \ https://pypi.python.org/packages/source/p/python-dateutil/:dateutil \ https://pypi.python.org/packages/source/P/Pillow/:Pillow \ https://pypi.python.org/packages/source/D/Django/:Django \ http://downloads.reviewboard.org/releases/Djblets/0.6/:Djblets DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ pip-1.5.6.tar.gz:pip \ pbr-0.10.0.tar.gz:pbr \ lockfile-0.10.2.tar.gz:lockfile \ six-1.8.0.tar.gz:six \ gunicorn-18.0.tar.gz:gunicorn \ flup-1.0.2.tar.gz:flup \ daemon-1.1.tar.gz:daemon \ chardet-2.3.0.tar.gz:chardet \ python-dateutil-2.2.tar.gz:dateutil \ Pillow-2.6.1.zip:Pillow \ Django-1.5.9.tar.gz:Django \ Djblets-0.6.14.tar.gz:Djblets DIST_SUBDIR= ${PORTNAME} MAINTAINER= yan_jingfeng@yahoo.com COMMENT= Web frontend for Seafile LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${LOCALBASE}/www/haiwen/seafile-server/seafile/bin/seaf-server:${PORTSDIR}/net-mgmt/seafile \ bash:${PORTSDIR}/shells/bash USE_GITHUB= yes GH_ACCOUNT= haiwen USES= python:2 shebangfix SHEBANG_FILES= *.sh *.template NO_BUILD= yes OPTIONS_DEFINE= SEAFOBJ SEAFDAV NLS SITEPACKAGES OPTIONS_DEFAULT= SEAFOBJ SEAFDAV OPTIONS_SUB= yes SEAFOBJ_DESC= Enable Seafile file object modeling support SEAFDAV_DESC= Enable Seafile WsgiDav-based support SITEPACKAGES_DESC= Install python packages under thirdpart directory SEAFOBJ_CONFIGURE_WITH= seafobj SEAFOBJ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}seafobj>0:${PORTSDIR}/www/py-seafobj SEAFDAV_CONFIGURE_WITH= seafdav SEAFDAV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}seafdav>0:${PORTSDIR}/www/py-seafdav NLS_USES= gettext iconv NLS_CONFIGURE_OFF= --disable-nls VIRTUALENV= ${WRKDIR}/virtualenv HAIWENDIR= www/haiwen SEAFILE_SERVER= ${HAIWENDIR}/seafile-server SEAHUBDIR= ${SEAFILE_SERVER}/seahub SEALIB= ${SEAFILE_SERVER}/seafile/lib SITEPACKAGEDIR= ${SEAHUBDIR}/thirdpart SEAFILE_USERNAME?= www SEAFILE_GROUPNAME?= ${SEAFILE_USERNAME} -USE_RC_SUBR= ${PORTNAME} +USE_RC_SUBR= ${PORTNAME} PLIST_SUB= SEAFILE_USERNAME=${SEAFILE_USERNAME} \ SEAFILE_GROUPNAME=${SEAFILE_GROUPNAME} \ SEAFILE_SERVER=${SEAFILE_SERVER} \ SEAHUBDIR=${SEAHUBDIR} \ HAIWENDIR=${HAIWENDIR} \ SITEPACKAGEDIR=${SITEPACKAGEDIR} PORT_SITE_PKGS= pip-1.5.6 \ pbr-0.10.0 \ pillow-2.6.1 \ lockfile-0.10.2 \ six-1.8.0 \ gunicorn-18.0 \ flup-1.0.2 \ daemon-1.1 \ chardet-2.3.0 \ python-dateutil-2.2 \ Django-1.5.9 \ Djblets-0.6.14 .include post-install-sitepackages: @${MKDIR} ${VIRTUALENV}${LOCALBASE}/bin ${VIRTUALENV}${LOCALBASE}/include \ ${VIRTUALENV}${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages (cd ${WRKSRC}; export PYTHONPATH=${VIRTUALENV}${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages; \ (for sp_pkg in ${PORT_SITE_PKGS}; do \ cd ${WRKDIR}/$$sp_pkg && ${ECHO_CMD} -e "[install]\nprefix=${VIRTUALENV}${LOCALBASE}" >> setup.cfg && \ if [ "$$sp_pkg" == "Djblets-0.6.14" ]; then ${REINPLACE_CMD} -e "s|PIL|Pillow|" ./Djblets.egg-info/requires.txt; \ ${REINPLACE_CMD} -e "s|PIL|Pillow|" ./setup.py; fi && \ ${PYTHON_CMD} setup.py install; \ done)) (cd ${VIRTUALENV}${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SITEPACKAGEDIR}) .if ${PORT_OPTIONS:MSITEPACKAGES} post-install:post-install-sitepackages .endif post-patch: echo "${WRKSRC}..." @${MKDIR} ${WRKSRC}/runtime ${CP} ${FILESDIR}/runtime_seahub.conf ${WRKSRC}/runtime/seahub.conf ${REINPLACE_CMD} -e "s|SEAFILE_VERSION = '3.0.0'|SEAFILE_VERSION = '${PORTVERSION}'|" ${WRKSRC}/seahub/settings.py ${REINPLACE_CMD} -e 's|##FIX_HAIWENDIR##|${PREFIX}/${HAIWENDIR}|' ${WRKSRC}/*.template ${REINPLACE_CMD} -e 's|##FIX_SEALIB##|${PREFIX}/${SEALIB}|' ${WRKSRC}/*.template ${REINPLACE_CMD} -e 's|##FIX_SITEPACKAGEDIR##|${PREFIX}/${SITEPACKAGEDIR}|' ${WRKSRC}/*.template ${REINPLACE_CMD} -e 's|##PYTHON_VERSION##|${PYTHON_VERSION}|g' ${WRKSRC}/*.template ${REINPLACE_CMD} -e 's|##FIX_LOCALBASE##|${LOCALBASE}|' ${WRKSRC}/*.template ${FIND} ${WRKSRC} -name "*.bak" -exec ${RM} {} \; ${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} {} \; (cd ${WRKSRC}; (for file in run-seahub.sh.template \ send_user_notifications.sh.template setenv.sh.template; do \ cp $$file $${file%%.template}; \ done)) ${RM} ${WRKSRC}/.gitignore do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/runtime/ \ ${STAGEDIR}${PREFIX}/${SEAHUBDIR} ${INSTALL} ${WRKSRC}/runtime/seahub.conf \ ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/runtime/ (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SEAHUBDIR}) .include Index: head/www/webkit-gtk3/Makefile =================================================================== --- head/www/webkit-gtk3/Makefile (revision 398832) +++ head/www/webkit-gtk3/Makefile (revision 398833) @@ -1,116 +1,116 @@ # Created by: Michael Johnson # $FreeBSD$ PORTNAME= webkit PORTVERSION= 2.4.9 CATEGORIES= www MASTER_SITES= http://webkitgtk.org/releases/ PKGNAMESUFFIX= -gtk3 DISTNAME= ${PORTNAME}gtk-${PORTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= Opensource browser engine using the GTK+ 3 toolkit BUILD_DEPENDS= gtkdoc-rebase:${PORTSDIR}/textproc/gtk-doc \ p5-Switch>0:${PORTSDIR}/lang/p5-Switch \ geoclue>=0:${PORTSDIR}/net/geoclue LIB_DEPENDS= libenchant.so:${PORTSDIR}/textproc/enchant \ libsecret-1.so:${PORTSDIR}/security/libsecret \ libicutu.so:${PORTSDIR}/devel/icu \ libharfbuzz.so:${PORTSDIR}/print/harfbuzz \ libwebp.so:${PORTSDIR}/graphics/webp \ libcurl.so:${PORTSDIR}/ftp/curl \ libsoup-2.4.so:${PORTSDIR}/devel/libsoup -RUN_DEPENDS= geoclue>=0:${PORTSDIR}/net/geoclue +RUN_DEPENDS= geoclue>=0:${PORTSDIR}/net/geoclue PORTSCOUT= limit:1.4.*$$ USE_GSTREAMER1= yes USE_XORG= xt xdamage xcomposite USES= bison compiler:c++11-lib gettext gmake gperf libtool perl5 \ pkgconfig shebangfix tar:xz USE_RUBY= yes RUBY_NO_RUN_DEPENDS=yes USE_GNOME= cairo gtk20 gtk30 introspection:build libxslt USE_GL= gl USE_SQLITE= 3 USE_PERL5= build USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_path_DOLT_BASH="" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip CONFIGURE_ARGS= --with-gtk=3.0 \ --enable-svg-fonts \ --enable-geolocation \ --enable-webkit2 \ --enable-introspection MAKEFILE= GNUmakefile MAKE_ENV= XDG_CACHE_HOME=${WRKDIR} #CONFIGURE_ARGS+=--disable-silent-rules CONFIGURE_ARGS+=--disable-egl \ --disable-gles2 # --with-acceleration-backend=opengl # clutter broken? # opengl, clutter, none (clutter unsupported) SHEBANG_FILES= \ Source/JavaScriptCore/create_hash_table \ Source/JavaScriptCore/inspector/scripts/xxd.pl \ Source/WebCore/css/*.pl \ Source/WebCore/dom/*.pl \ Source/WebCore/make-hash-tools.pl \ Source/WebCore/page/make_settings.pl \ Source/WebCore/platform/text/mac/make-charset-table.pl \ Source/WebKit2/Scripts/generate-forwarding-headers.pl \ Source/WebCore/bindings/scripts/*.p[lm] \ Source/JavaScriptCore/create_hash_table BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins/symlinks/webkit-gtk3 #_BROWSER_PLUGINS_DIR= ${BROWSER_PLUGINS_DIR:S|^/|"|:S|/|", "|g}", OPTIONS_DEFINE= DEBUG FULLDEBUG DEBUG_DESC= Just enable debug symbols FULLDEBUG_DESC= Enable asserts and other debug support FULLDEBUG_CONFIGURE_ENABLE= debug DEBUG_CONFIGURE_ON= --enable-debug-symbols=yes DEBUG_CONFIGURE_OFF= --disable-debug-symbols .include .if ${ARCH} == powerpc64 CFLAGS+= -mminimal-toc .endif .include .if ${OSVERSION} < 1000033 BUILD_DEPENDS+= flex>=0:${PORTSDIR}/textproc/flex CONFIGURE_ENV+= FLEX="${LOCALBASE}/bin/flex" .endif .if ${ARCH} == i386 && ! ${CFLAGS:M-march=*} # Needed for __atomic_fetch_add_8 CFLAGS+= -march=i586 .endif .if ${CHOSEN_COMPILER_TYPE} == clang CXXFLAGS+= -Wno-c++11-extensions # Shutup warning spam CXXFLAGS+= -Qunused-arguments .endif post-patch: @${REINPLACE_CMD} -e 's|%%BROWSER_PLUGINS_DIR%%|${BROWSER_PLUGINS_DIR}|' \ ${WRKSRC}/Source/WebCore/plugins/PluginDatabase.cpp @${FIND} ${WRKSRC} -name GNUmakefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' post-install: ${INSTALL_PROGRAM} ${WRKSRC}/Programs/GtkLauncher \ ${STAGEDIR}${PREFIX}/bin/GtkLauncher-3 ${INSTALL_PROGRAM} ${WRKSRC}/Programs/MiniBrowser \ ${STAGEDIR}${PREFIX}/bin/MiniBrowser-3 .include Index: head/www/webkit2-gtk3/Makefile =================================================================== --- head/www/webkit2-gtk3/Makefile (revision 398832) +++ head/www/webkit2-gtk3/Makefile (revision 398833) @@ -1,85 +1,85 @@ # Created by: Michael Johnson # $FreeBSD$ PORTNAME= webkit PORTVERSION= 2.8.5 CATEGORIES= www MASTER_SITES= http://webkitgtk.org/releases/ PKGNAMESUFFIX= 2-gtk3 DISTNAME= ${PORTNAME}gtk-${PORTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= Opensource browser engine using the GTK+ 3 toolkit BUILD_DEPENDS= geoclue>=0:${PORTSDIR}/net/geoclue LIB_DEPENDS= libenchant.so:${PORTSDIR}/textproc/enchant \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libwebp.so:${PORTSDIR}/graphics/webp \ libpng.so:${PORTSDIR}/graphics/png \ libsecret-1.so:${PORTSDIR}/security/libsecret \ libicutu.so:${PORTSDIR}/devel/icu \ libharfbuzz.so:${PORTSDIR}/print/harfbuzz \ libsoup-2.4.so:${PORTSDIR}/devel/libsoup -RUN_DEPENDS= geoclue>=0:${PORTSDIR}/net/geoclue +RUN_DEPENDS= geoclue>=0:${PORTSDIR}/net/geoclue PORTSCOUT= limitw:1,even USE_GSTREAMER1= yes USE_XORG= x11 xext ice USES= bison cmake compiler:c++11-lib gettext gmake gperf jpeg perl5 \ pkgconfig python:2 tar:xz USE_RUBY= yes RUBY_NO_RUN_DEPENDS=yes USE_GNOME= cairo gtk20 gtk30 introspection:build libxml2 libxslt USE_GL= gl egl USE_SQLITE= 3 USE_PERL5= build USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CMAKE_ARGS+= -DPORT=GTK \ -DUSE_LD_GOLD:BOOL=0 CONFIGURE_ENV+= XDG_CACHE_HOME=${WRKDIR} BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins/symlinks/webkit-gtk3 #_BROWSER_PLUGINS_DIR= ${BROWSER_PLUGINS_DIR:S|^/|"|:S|/|", "|g}", OPTIONS_DEFINE= DEBUG FULLDEBUG DEBUG_DESC= Just enable debug symbols FULLDEBUG_DESC= Enable asserts and other debug support FULLDEBUG_CONFIGURE_ENABLE= debug DEBUG_CMAKE_OFF= -DCMAKE_BUILD_TYPE=Release .include .if ${ARCH} == powerpc64 CFLAGS+= -mminimal-toc .endif .if ${OSVERSION} < 1000033 BUILD_DEPENDS+= flex>=0:${PORTSDIR}/textproc/flex CONFIGURE_ENV+= FLEX_PATH="${LOCALBASE}/bin/flex" .endif post-patch: @${REINPLACE_CMD} -e 's|%%BROWSER_PLUGINS_DIR%%|${BROWSER_PLUGINS_DIR}|' \ ${WRKSRC}/Source/WebKit2/UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp pre-configure: .if !exists(${LOCALBASE}/libdata/pkgconfig/cairo-egl.pc) @${ECHO_CMD} "${PKGNAME}: Needs cairo with OPENGL support enabled." @${FALSE} .endif post-install: ${MV} ${STAGEDIR}${PREFIX}/bin/jsc \ ${STAGEDIR}/${PREFIX}/bin/jsc-4 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/jsc-4 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/WebKit* .include Index: head/www/xpi-fasterfox/Makefile =================================================================== --- head/www/xpi-fasterfox/Makefile (revision 398832) +++ head/www/xpi-fasterfox/Makefile (revision 398833) @@ -1,19 +1,19 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= fasterfox PORTVERSION= 2.0.0 DISTVERSIONSUFFIX= -fx CATEGORIES= www MAINTAINER= ports@FreeBSD.org COMMENT= Performance and network tweaks for Firefox XPI_NUM= 1269 XPI_ID= {c36177c0-224a-11da-8cd6-0800200c9a66} XPI_FILES= chrome/fasterfox.jar chrome.manifest defaults/preferences/fasterfox.js \ - install.rdf readme.txt -XPI_DIRS= chrome defaults/preferences defaults + install.rdf readme.txt +XPI_DIRS= chrome defaults/preferences defaults .include "../xpi-adblock/Makefile.xpi" .include Index: head/x11/3ddesktop/Makefile =================================================================== --- head/x11/3ddesktop/Makefile (revision 398832) +++ head/x11/3ddesktop/Makefile (revision 398833) @@ -1,43 +1,43 @@ # Created by: Adam Weinberger # $FreeBSD$ PORTNAME= 3ddesktop PORTVERSION= 0.2.9 -PORTREVISION= 13 +PORTREVISION= 13 CATEGORIES= x11 MASTER_SITES= SF/desk3d/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= 3D Virtual Desktop Switcher LIB_DEPENDS= libImlib2.so:${PORTSDIR}/graphics/imlib2 USE_XORG= xmu USE_GL= glut GNU_CONFIGURE= yes PORTDOCS= README README.windowmanagers PLIST_FILES= bin/3ddesk bin/3ddeskd etc/3ddesktop.conf \ %%DATADIR%%/digits.bmp \ man/man1/3ddesk.1.gz man/man1/3ddeskd.1.gz CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT -pthread LDFLAGS+= -L${LOCALBASE}/lib -pthread .include post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-O3||g ; \ s|@ACLOCAL@|${TRUE}|g ; \ s|@AUTOCONF@|${TRUE}|g ; \ s|@AUTOHEADER@|${TRUE}|g ; \ s|@AUTOMAKE@|${TRUE}|g' post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README README.windowmanagers ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/x11/gnome-menus/Makefile =================================================================== --- head/x11/gnome-menus/Makefile (revision 398832) +++ head/x11/gnome-menus/Makefile (revision 398833) @@ -1,34 +1,34 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ # $MCom: ports/trunk/x11/gnome-menus/Makefile 20031 2014-11-02 21:47:55Z kwm $ PORTNAME= gnome-menus PORTVERSION= 3.13.3 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Implementation of the FreeDesktop Desktop Menu Spec USES= gettext gmake libtool pathfix pkgconfig python tar:xz USE_GNOME= glib20 gnomeprefix intlhack \ introspection:build GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip post-patch: @${SED} -e 's|/usr/local|${LOCALBASE}|g' \ < ${FILESDIR}/KDE.directory > ${WRKSRC}/KDE.directory post-install: - @${MKDIR} -p ${STAGEDIR}${PREFIX}/etc/xdg/menus/ + @${MKDIR} -p ${STAGEDIR}${PREFIX}/etc/xdg/menus/ @${INSTALL_DATA} ${WRKSRC}/layout/gnome-applications.menu \ ${STAGEDIR}${PREFIX}/etc/xdg/menus/gnome-applications.menu @${INSTALL_DATA} ${WRKSRC}/KDE.directory \ ${STAGEDIR}${PREFIX}/share/desktop-directories .include Index: head/x11/xcb-util-cursor/Makefile =================================================================== --- head/x11/xcb-util-cursor/Makefile (revision 398832) +++ head/x11/xcb-util-cursor/Makefile (revision 398833) @@ -1,28 +1,28 @@ # $FreeBSD$ PORTNAME= xcb-util-cursor PORTVERSION= 0.1.2 CATEGORIES= x11 MASTER_SITES= http://xcb.freedesktop.org/dist/ MAINTAINER= x11@FreeBSD.org COMMENT= XCB cursor library BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/xcb-util.pc:${PORTSDIR}/x11/xcb-util \ ${LOCALBASE}/libdata/pkgconfig/xcb-renderutil.pc:${PORTSDIR}/x11/xcb-util-renderutil \ ${LOCALBASE}/libdata/pkgconfig/xcb-image.pc:${PORTSDIR}/x11/xcb-util-image - + RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/xcb-util.pc:${PORTSDIR}/x11/xcb-util \ ${LOCALBASE}/libdata/pkgconfig/xcb-renderutil.pc:${PORTSDIR}/x11/xcb-util-renderutil \ ${LOCALBASE}/libdata/pkgconfig/xcb-image.pc:${PORTSDIR}/x11/xcb-util-image XORG_CAT= lib USE_XORG= xcb USES= gmake gperf post-patch: @${REINPLACE_CMD} -e \ 's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|' \ ${WRKSRC}/configure .include Index: head/x11-fm/nemo/Makefile =================================================================== --- head/x11-fm/nemo/Makefile (revision 398832) +++ head/x11-fm/nemo/Makefile (revision 398833) @@ -1,88 +1,88 @@ # Created by: Gustau Perez i Querol # $FreeBSD$ PORTNAME= nemo PORTVERSION= 2.4.5 CATEGORIES= x11-fm gnome DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= File manager for the Cinnamon desktop BUILD_DEPENDS= gnome-icon-theme>=0:${PORTSDIR}/misc/gnome-icon-theme \ gtkdocize:${PORTSDIR}/textproc/gtk-doc \ py*-polib>=0:${PORTSDIR}/devel/py-polib \ gnome-autogen.sh:${PORTSDIR}/devel/gnome-common \ gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif \ libcinnamon-desktop.so:${PORTSDIR}/x11/cinnamon-desktop \ libnotify.so:${PORTSDIR}/devel/libnotify \ libexempi.so:${PORTSDIR}/textproc/exempi RUN_DEPENDS= gnome-icon-theme>=0:${PORTSDIR}/misc/gnome-icon-theme \ gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas USES= autoreconf:build desktop-file-utils gettext gmake libtool pathfix \ pkgconfig python:2 shared-mime-info USE_GNOME= gnomedesktop3 gnomeprefix intlhack introspection:build \ libxml2 pygobject3 USE_GITHUB= yes GH_ACCOUNT= linuxmint -GNU_CONFIGURE= yes +GNU_CONFIGURE= yes INSTALLS_ICONS= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lpthread INSTALL_TARGET= install-strip CONFIGURE_ARGS= --enable-static --disable-packagekit GLIB_SCHEMAS= org.nemo.gschema.xml OPTIONS_SUB= yes OPTIONS_DEFINE= TRACKER OPTIONS_DEFAULT= TRACKER TRACKER_CONFIGURE_ENABLE= tracker TRACKER_LIB_DEPENDS= libtracker-sparql-1.0.so:${PORTSDIR}/sysutils/tracker TRACKER_DESC= Integration with tracker post-patch: @${MKDIR} ${WRKSRC}/files${PREFIX} @${MV} ${WRKSRC}/files/usr/share ${WRKSRC}/files${PREFIX} @${REINPLACE_CMD} -e 's|0.16|1.0|g' \ ${WRKSRC}/configure.in @${REINPLACE_CMD} -e 's|find|find ${WRKSRC}/files|g' \ ${WRKSRC}/files/Makefile.in @${REINPLACE_CMD} -e 's|-DGTK_DISABLE_DEPRECATED||g' \ ${WRKSRC}/configure.in @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \ ${WRKSRC}/src/nemo-properties-window.c @${REINPLACE_CMD} -e 's|"-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED"|""|g' \ ${WRKSRC}/configure.in @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g ;\ s|@INTROSPECTION_TYPELIBDIR@|$$(libdir)/girepository-1.0|g ;\ s|@INTROSPECTION_GIRDIR@|$$(datadir)/gir-1.0|g' \ ${WRKSRC}/libnemo-extension/Makefile.am @${REINPLACE_CMD} -e 's|x-gnome-saved-search|x-nemo-saved-search|g' \ ${WRKSRC}/data/nemo.xml.in \ ${WRKSRC}/libnemo-private/nemo-file-utilities.h @${FIND} ${WRKSRC} -name \* | ${XARGS} ${EGREP} -l "#!.*\/usr\/bin\/python" | \ ${XARGS} ${REINPLACE_CMD} -I "" -e "s|#!.*python.*|#!${PYTHON_CMD}|g" @${REINPLACE_CMD} 's|\"/usr|\"${PREFIX}|g' \ ${WRKSRC}/data/merge_action_strings @${REINPLACE_CMD} 's|"files", "usr"|"files", "${PREFIX}".strip("/")|g' \ ${WRKSRC}/data/merge_action_strings pre-configure: cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} ./autogen.sh .include Index: head/x11-fm/ultracopier/Makefile =================================================================== --- head/x11-fm/ultracopier/Makefile (revision 398832) +++ head/x11-fm/ultracopier/Makefile (revision 398833) @@ -1,48 +1,48 @@ # Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ PORTNAME= ultracopier PORTVERSION= 0.2.0.16 PORTREVISION= 8 CATEGORIES= x11-fm kde MASTER_SITES= http://files.first-world.info/ultracopier/${PORTVERSION}/ DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Advanced file copier LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USE_KDE4= automoc4 kdelibs USE_QT4= corelib dbus gui moc_build network qmake_build rcc_build svg \ uic_build xml xmlpatterns USES= cmake desktop-file-utils tar:bzip2 CMAKE_ARGS+= -DCMAKE_BUILD_KDE4:bool=true WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= ${DESKTOPDIR:Q}/ultracopier.desktop \ bin/ultracopier \ share/icons/hicolor/16x16/apps/ultracopier.png \ share/icons/hicolor/128x128/apps/ultracopier.png - + post-patch: @${REINPLACE_CMD} -E \ -e 's|0\.2\.0\.15|0.2.0.16|; \ s|0,2,0,15|0,2,0,16|' \ ${WRKSRC}/src/var.h post-install: # install icons .for dimensions in 16x16 128x128 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${dimensions}/apps ${INSTALL_DATA} ${WRKSRC}/src/other/ultracopier-${dimensions}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${dimensions}/apps/ultracopier.png .endfor # install desktop file @${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/src/other/ultracopier.desktop \ ${STAGEDIR}${DESKTOPDIR} .include