svn commit: r409489 - in head/www/e2guardian: . files
Jose Alonso Cardenas Marquez
acm at FreeBSD.org
Thu Feb 25 02:15:02 UTC 2016
Author: acm
Date: Thu Feb 25 02:15:00 2016
New Revision: 409489
URL: https://svnweb.freebsd.org/changeset/ports/409489
Log:
- Update to 3.4.0.1
- Add reload support into e2guardian rc script
Approved by: maintainer (via email)
Modified:
head/www/e2guardian/Makefile
head/www/e2guardian/distinfo
head/www/e2guardian/files/e2guardian.in
head/www/e2guardian/pkg-plist
Modified: head/www/e2guardian/Makefile
==============================================================================
--- head/www/e2guardian/Makefile Thu Feb 25 01:55:06 2016 (r409488)
+++ head/www/e2guardian/Makefile Thu Feb 25 02:15:00 2016 (r409489)
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= e2guardian
-PORTVERSION= 3.0.4
+PORTVERSION= 3.4.0.1
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+PORTREVISION= 0
CATEGORIES= www
MAINTAINER= marcellocoutinho at gmail.com
@@ -16,7 +16,7 @@ BUILD_DEPENDS= rst2man:${PORTSDIR}/textp
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
USE_GITHUB= yes
-USES= iconv pkgconfig
+USES= autoreconf libtool iconv pkgconfig
USE_RC_SUBR= e2guardian
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var \
@@ -92,6 +92,9 @@ post-extract:
@sleep 3
.endif
+pre-configure:
+ @cd ${WRKSRC} && ${SH} ${WRKSRC}/autogen.sh
+
post-install:
@${FIND} ${STAGEDIR}${ETCDIR} -type f \
\( -name '*.conf' -or -name '*list' \) -exec ${MV} {} {}.sample \;
Modified: head/www/e2guardian/distinfo
==============================================================================
--- head/www/e2guardian/distinfo Thu Feb 25 01:55:06 2016 (r409488)
+++ head/www/e2guardian/distinfo Thu Feb 25 02:15:00 2016 (r409489)
@@ -1,2 +1,2 @@
-SHA256 (e2guardian-e2guardian-v3.0.4_GH0.tar.gz) = 8817a0e95f38982520b87bb7cd7b34b7ab752f37bc2307065a82d59960b52530
-SIZE (e2guardian-e2guardian-v3.0.4_GH0.tar.gz) = 793490
+SHA256 (e2guardian-e2guardian-v3.4.0.1_GH0.tar.gz) = 0eaae1d9069ca1cf9436cb3318da321ab50107e8cc96f9f3d98417307dc608d1
+SIZE (e2guardian-e2guardian-v3.4.0.1_GH0.tar.gz) = 517052
Modified: head/www/e2guardian/files/e2guardian.in
==============================================================================
--- head/www/e2guardian/files/e2guardian.in Thu Feb 25 01:55:06 2016 (r409488)
+++ head/www/e2guardian/files/e2guardian.in Thu Feb 25 02:15:00 2016 (r409489)
@@ -27,8 +27,21 @@ load_rc_config $name
command=%%PREFIX%%/sbin/${name}
pidfile=/var/run/${name}.pid
+stop_postcmd="e2guardian_stop_postcmd"
+reload_cmd="e2guardian_reload_cmd"
+extra_commands="reload"
command_args="-p $pidfile -f $e2guardian_config $e2guardian_flags"
-run_rc_command "$1"
+e2guardian_reload_cmd() {
+ if [ -f "${pidfile}" ]; then
+ ${command} -g ${command_args}
+ echo "Reloading ${name}."
+ fi
+}
+
+e2guardian_stop_postcmd() {
+ rm ${pidfile}
+}
+run_rc_command "$1"
Modified: head/www/e2guardian/pkg-plist
==============================================================================
--- head/www/e2guardian/pkg-plist Thu Feb 25 01:55:06 2016 (r409488)
+++ head/www/e2guardian/pkg-plist Thu Feb 25 02:15:00 2016 (r409489)
@@ -14,7 +14,6 @@
@sample %%ETCDIR%%/downloadmanagers/fancy.conf.sample
@sample %%ETCDIR%%/e2guardian.conf.sample
@sample %%ETCDIR%%/e2guardianf1.conf.sample
-%%ETCDIR%%/installation_or_migration_from_dg.sh
@sample %%ETCDIR%%/lists/addheaderregexplist.sample
%%DNS%%@sample %%ETCDIR%%/lists/authexceptionsitelist.sample
%%DNS%%@sample %%ETCDIR%%/lists/authexceptionurllist.sample
@@ -31,8 +30,6 @@
@sample %%ETCDIR%%/lists/bannedsitelist.sample
@sample %%ETCDIR%%/lists/bannedsslsitelist.sample
@sample %%ETCDIR%%/lists/bannedurllist.sample
-%%ETCDIR%%/lists/blacklists/ads/domains
-%%ETCDIR%%/lists/blacklists/ads/urls
@sample %%ETCDIR%%/lists/contentregexplist.sample
%%SCANNERS%%@sample %%ETCDIR%%/lists/contentscanners/exceptionvirusextensionlist.sample
%%SCANNERS%%@sample %%ETCDIR%%/lists/contentscanners/exceptionvirusmimetypelist.sample
@@ -68,6 +65,7 @@
@sample %%ETCDIR%%/lists/logregexpurllist.sample
@sample %%ETCDIR%%/lists/logsitelist.sample
@sample %%ETCDIR%%/lists/logurllist.sample
+ at sample %%ETCDIR%%/lists/nocheckcertsitelist.sample
%%ETCDIR%%/lists/phraselists/badwords/weighted_dutch
%%ETCDIR%%/lists/phraselists/badwords/weighted_french
%%ETCDIR%%/lists/phraselists/badwords/weighted_german
@@ -243,6 +241,7 @@ sbin/e2guardian
%%DATADIR%%/languages/ukenglish/template.html
%%DATADIR%%/scripts/bsd-init
%%DATADIR%%/scripts/e2guardian
+%%DATADIR%%/scripts/e2guardian.service
%%DATADIR%%/scripts/logrotation
%%DATADIR%%/scripts/solaris-init
%%DATADIR%%/scripts/systemv-init
More information about the svn-ports-all
mailing list