Index: head/www/e2guardian/Makefile =================================================================== --- head/www/e2guardian/Makefile (revision 527073) +++ head/www/e2guardian/Makefile (revision 527074) @@ -1,102 +1,101 @@ # Created by: Marcello Coutinho # $FreeBSD$ PORTNAME= e2guardian PORTVERSION= 5.3.4 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= www MAINTAINER= marcellocoutinho@gmail.com COMMENT= Dansguardian fork with many improvements and bug fixes LICENSE= GPLv2 BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR} LIB_DEPENDS= libpcre.so:devel/pcre USES= autoreconf compiler:c++11-lang libtool pkgconfig python USE_GITHUB= yes USE_CXXSTD= c++11 USE_RC_SUBR= e2guardian GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var \ --with-logdir=/var/log \ --with-piddir=/var/run OPTIONS_RADIO= AV OPTIONS_RADIO_AV=AVAST CLAMD KAV OPTIONS_DEFINE= CLISCAN ICAP NTLM DNS EMAIL DEBUG DOCS SSL_MITM OPTIONS_DEFAULT=CLAMD DNS OPTIONS_SUB= yes CLISCAN_DESC= Enable support for CLI content scanners CLAMD_DESC= Enable ClamD AV content scanner ICAP_DESC= Enable ICAP AV content scanner support KAV_DESC= Enable Kaspersky AV support AVAST_DESC= Enable AvastD content scanner NTLM_DESC= Include NTLM authentication plugin DNS_DESC= Include DNS authetication plugin EMAIL_DESC= Enable e-mail reporting support DEBUG_DESC= Enable debug build mode SSL_MITM_DESC= Enable support for the SSL MITM plugin CONFDIR= ${PREFIX}/etc/e2guardian CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= -I${LOCALBASE}/include CLISCAN_CONFIGURE_ENABLE= commandline CLAMD_CONFIGURE_ENABLE= clamd CLAMD_RUN_DEPENDS= clamav>=0:security/clamav ICAP_CONFIGURE_ENABLE= icap KAV_CONFIGURE_ENABLE= kavd AVAST_CONFIGURE_ENABLE= avastd NTLM_CONFIGURE_ENABLE= ntlm NTLM_USES= iconv DNS_CONFIGURE_ENABLE= dnsauth EMAIL_CONFIGURE_ENABLE= email DEBUG_CONFIGURE_OFF= --with-dgdebug=off --with-newdebug=off DEBUG_CONFIGURE_ON= --with-dgdebug=on --with-newdebug=on SSL_MITM_USES= ssl SSL_MITM_CONFIGURE_ENABLE= sslmitm SSL_MITM_CONFIGURE_ENV= OPENSSL_LIBS="-lssl -lcrypto" \ OPENSSL_CFLAGS="-I${OPENSSLINC} -L${OPENSSLLIB}" .include .if ${PORT_OPTIONS:MCLAMD} || ${PORT_OPTIONS:MICAP} || \ ${PORT_OPTIONS:MKAV} || ${PORT_OPTIONS:MCLISCAN} || \ ${PORT_OPTIONS:MAVAST} PLIST_SUB+= SCANNERS="" .else PLIST_SUB+= SCANNERS="@comment " .endif -SUB_FILES= pkg-message pkg-install +SUB_FILES= pkg-message -pre-configure: - @cd ${WRKSRC} && ${SH} ${WRKSRC}/autogen.sh - post-install: @${FIND} ${STAGEDIR}${ETCDIR} -type f \ \( -name '*.conf' -or -name '*list' -or -name '*.story' \) \ -exec ${MV} {} {}.sample \; @${MV} ${STAGEDIR}${ETCDIR}/lists/authplugins/ipgroups \ ${STAGEDIR}${ETCDIR}/lists/authplugins/ipgroups.sample @${MV} ${STAGEDIR}${ETCDIR}/lists/authplugins/portgroups \ ${STAGEDIR}${ETCDIR}/lists/authplugins/portgroups.sample @${MV} ${STAGEDIR}${ETCDIR}/lists/bannedrooms/default \ ${STAGEDIR}${ETCDIR}/lists/bannedrooms/default.sample @${MV} ${STAGEDIR}${ETCDIR}/lists/domainsnobypass \ ${STAGEDIR}${ETCDIR}/lists/domainsnobypass.sample @${MV} ${STAGEDIR}${ETCDIR}/lists/ipnobypass \ ${STAGEDIR}${ETCDIR}/lists/ipnobypass.sample @${MV} ${STAGEDIR}${ETCDIR}/lists/urlnobypass \ ${STAGEDIR}${ETCDIR}/lists/urlnobypass.sample @${MKDIR} ${STAGEDIR}${ETCDIR}/lists/contentscanners @${MV} ${STAGEDIR}${ETCDIR}/lists/exceptionvirusextensionlist.sample \ ${STAGEDIR}${ETCDIR}/lists/contentscanners/ @${MV} ${STAGEDIR}${ETCDIR}/lists/exceptionvirussiteiplist.sample \ ${STAGEDIR}${ETCDIR}/lists/contentscanners/ + .include Index: head/www/e2guardian/files/pkg-install.in =================================================================== --- head/www/e2guardian/files/pkg-install.in (revision 527073) +++ head/www/e2guardian/files/pkg-install.in (nonexistent) @@ -1,32 +0,0 @@ -#!/bin/sh -# -# - -PATH=/bin:/usr/bin:/usr/sbin -pkgname=$1 -e2guardian_confdir="${PKG_PREFIX:-%%PREFIX%%}/etc/e2guardian" - -case $2 in -PRE-INSTALL) - echo "===> Pre-installation configuration for ${pkgname}" - ;; -POST-INSTALL) - # Populate initial config files in case of new install in a way - # to avoid overwrite of existing config files. - - sample_files=$(find ${e2guardian_confdir}/e2guardian -name "*.sample" -print) - echo ${sample_files} - for file in ${sample_files} ; do - file2=$(echo $file | rev | cut -c8- | rev) - if [ ! -f ${file2} -a -f ${file} ]; then - echo "Creating ${file2} from ${file}..." - install -c -o root -g wheel -m 0644 ${file} ${file2} - fi - done - ;; -*) - exit 33 - ;; -esac -exit 0 - Property changes on: head/www/e2guardian/files/pkg-install.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property