summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2011-08-01 16:39:52 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2011-08-01 16:39:52 +0000
commit5db8cc56b82428763bd80f7002c90f7ae2c1f23c (patch)
treee3144af57ec82acaa385b519604f80e7b4c2bbf4 /net-mgmt
parentDeprecate (diff)
Update to 0.2.3
Pacify portlint(1) Update maintainer's address Fix plist entries PR: ports/159303 Submitted by: Hao Bryan Cheng <circe-port-maintainers@bws.Net.berkeley.edu> (maintainer) Approved by: wxs (mentor)
Notes
Notes: svn path=/head/; revision=278726
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/circe/Makefile35
-rw-r--r--net-mgmt/circe/distinfo4
-rw-r--r--net-mgmt/circe/pkg-plist7
3 files changed, 30 insertions, 16 deletions
diff --git a/net-mgmt/circe/Makefile b/net-mgmt/circe/Makefile
index 77bbe8330ade..07b1608c0ef8 100644
--- a/net-mgmt/circe/Makefile
+++ b/net-mgmt/circe/Makefile
@@ -6,33 +6,46 @@
#
PORTNAME= circe
-PORTVERSION= 0.2.2
+PORTVERSION= 0.2.3
CATEGORIES= net-mgmt
MASTER_SITES= http://bws.berkeley.edu/ports/
-MAINTAINER= circe-port-maintainers@bws.berkeley.edu
+MAINTAINER= circe-port-maintainers@bws.net.berkeley.edu
COMMENT= A captive portal-based network access control solution in perl
-DIST_SUBDIR= ${PORTNAME}
+LICENSE= BSD
-BUILD_DEPENDS= ${SITE_PERL}/mach/Net/IP/Match/XS.pm:${PORTSDIR}/net-mgmt/p5-Net-IP-Match-XS \
+RUN_DEPENDS= ${SITE_PERL}/mach/Net/IP/Match/XS.pm:${PORTSDIR}/net-mgmt/p5-Net-IP-Match-XS \
${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL \
- ${SITE_PERL}/mach/IO.pm:${PORTSDIR}/devel/p5-IO \
+ ${SITE_PERL}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO \
${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error \
- ${SITE_PERL}/mach/Sys/Syslog.pm:${PORTSDIR}/sysutils/p5-Sys-Syslog \
- ${SITE_PERL}/mach/TryCatch.pm:${PORTSDIR}/lang/p5-TryCatch \
+ ${SITE_PERL}/${PERL_ARCH}/Sys/Syslog.pm:${PORTSDIR}/sysutils/p5-Sys-Syslog \
+ ${SITE_PERL}/${PERL_ARCH}/TryCatch.pm:${PORTSDIR}/lang/p5-TryCatch \
${SITE_PERL}/Data/Validate/IP.pm:${PORTSDIR}/net-mgmt/p5-Data-Validate-IP \
${SITE_PERL}/Regexp/Common.pm:${PORTSDIR}/textproc/p5-Regexp-Common \
${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
- ${SITE_PERL}/mach/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB \
+ ${SITE_PERL}/${PERL_ARCH}/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB \
${SITE_PERL}/Crypt/CBC.pm:${PORTSDIR}/security/p5-Crypt-CBC \
${SITE_PERL}/Proc/PID/File.pm:${PORTSDIR}/devel/p5-Proc-PID-File
+USE_PERL5= yes
+
+DIST_SUBDIR= ${PORTNAME}
+WRKSRC= ${WRKDIR}
+
+OPTIONS= ENCRYPT "Encrypt the destination URL in redirection" Off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_ENCRYPT)
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES \
+ ${SITE_PERL}/${PERL_ARCH}/Crypt/OpenSSL/AES.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-AES
+.endif
+
MANCOMPRESSED= no
post-patch:
- @${REINPLACE_CMD} -e 's|$$(SITE_PERL)|${SITE_PERL}|g' ${WRKSRC}/Makefile
-
-WRKSRC= ${WRKDIR}
+ @${REINPLACE_CMD} -e 's|$$(SITE_PERL)|${PREFIX}/${SITE_PERL_REL}|g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|$$(SITE_PERL_REL)|${SITE_PERL_REL}|g' ${WRKSRC}/Makefile
.include <bsd.port.mk>
diff --git a/net-mgmt/circe/distinfo b/net-mgmt/circe/distinfo
index a70f8f35344a..81cb387e708d 100644
--- a/net-mgmt/circe/distinfo
+++ b/net-mgmt/circe/distinfo
@@ -1,2 +1,2 @@
-SHA256 (circe/circe-0.2.2.tar.gz) = 336abc65224ac46059e45bc4a78f9c0aca8d159c5ec18f816dad52805f72b714
-SIZE (circe/circe-0.2.2.tar.gz) = 29984
+SHA256 (circe/circe-0.2.3.tar.gz) = f3af826ba2f83544535ff6eaa8a419dbedea19d53c6cbc6d67618fbfb27fa9c8
+SIZE (circe/circe-0.2.3.tar.gz) = 31545
diff --git a/net-mgmt/circe/pkg-plist b/net-mgmt/circe/pkg-plist
index a907abf05df6..49d576802b12 100644
--- a/net-mgmt/circe/pkg-plist
+++ b/net-mgmt/circe/pkg-plist
@@ -18,6 +18,7 @@ etc/ipfw.end.dist
etc/ipfw.init.dist
etc/ipfw.local.dist
etc/rc.d/circed
-@unexec rmdir %D/etc/env 2>/dev/null || true
-@unexec rmdir %D/share/nac 2>/dev/null || true
-@unexec rmdir %D/libexec/nac 2>/dev/null || true
+%%SITE_PERL%%/LibNAC.pm
+@dirrmtry etc/env
+@dirrmtry share/nac
+@dirrmtry libexec/nac