summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-07-02 11:19:00 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-07-02 11:19:00 +0000
commitab565825ea44f5b964b0a8d142b41fc6a6b1ad18 (patch)
tree73d1a68ac981bce9dbce68ffe236363f1d902c2d /net-mgmt
parent- Update to 0.21.5 (diff)
- Update to 0.2.0
PR: 158514 Submitted by: Hao Bryan Cheng <circe-port-maintainers@bws.Net.berkeley.edu> (maintainer)
Notes
Notes: svn path=/head/; revision=276855
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/circe/Makefile16
-rw-r--r--net-mgmt/circe/distinfo4
-rw-r--r--net-mgmt/circe/files/patch-Makefile82
-rw-r--r--net-mgmt/circe/pkg-descr5
-rw-r--r--net-mgmt/circe/pkg-plist2
5 files changed, 17 insertions, 92 deletions
diff --git a/net-mgmt/circe/Makefile b/net-mgmt/circe/Makefile
index e699feba9207..eeecccb1ba94 100644
--- a/net-mgmt/circe/Makefile
+++ b/net-mgmt/circe/Makefile
@@ -6,28 +6,32 @@
#
PORTNAME= circe
-PORTVERSION= 0.1.2
+PORTVERSION= 0.2.0
CATEGORIES= net-mgmt
MASTER_SITES= http://bws.berkeley.edu/ports/
MAINTAINER= circe-port-maintainers@bws.berkeley.edu
-COMMENT= Code that implements a perl based circe captive portal system
+COMMENT= A captive portal-based network access control solution in perl
DIST_SUBDIR= ${PORTNAME}
BUILD_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}/mach/IO/Interface.pm:${PORTSDIR}/net/p5-IO-Interface \
${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}/mach/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}/Proc/PID/File.pm:${PORTSDIR}/devel/p5-Proc-PID-File
MANCOMPRESSED= no
-WRKSRC= ${WRKDIR}
-
post-patch:
@${REINPLACE_CMD} -e 's|$$(SITE_PERL)|${SITE_PERL}|g' ${WRKSRC}/Makefile
+WRKSRC= ${WRKDIR}
+
.include <bsd.port.mk>
diff --git a/net-mgmt/circe/distinfo b/net-mgmt/circe/distinfo
index 57c215d91d85..f8adf3ea081e 100644
--- a/net-mgmt/circe/distinfo
+++ b/net-mgmt/circe/distinfo
@@ -1,2 +1,2 @@
-SHA256 (circe/circe-0.1.2.tar.gz) = dab6c929febfefa20f283f37f65311f9a129793d3e6c3e387b3bd9fabfb8a84f
-SIZE (circe/circe-0.1.2.tar.gz) = 37597
+SHA256 (circe/circe-0.2.0.tar.gz) = bb6033ee62524c27c557dc8a487b1aa7dd0a879571ee375b95c9123780dd761c
+SIZE (circe/circe-0.2.0.tar.gz) = 29909
diff --git a/net-mgmt/circe/files/patch-Makefile b/net-mgmt/circe/files/patch-Makefile
deleted file mode 100644
index 477a445c27f8..000000000000
--- a/net-mgmt/circe/files/patch-Makefile
+++ /dev/null
@@ -1,82 +0,0 @@
---- ./Makefile.orig 2011-02-18 00:42:24.000000000 +0100
-+++ ./Makefile 2011-03-13 19:47:52.000000000 +0100
-@@ -1,7 +1,7 @@
- PREFIX ?= /usr/local
-
--DIRFLAGS = -d -o root -g wheel -m 0555
--EXFLAGS = -Sp -o root -g wheel -m 0555
-+DIRFLAGS = -d -o root -g wheel -m 0755
-+EXFLAGS = -Sp -o root -g wheel -m 0755
- INFLAGS = -Sp -o root -g wheel -m 0444
- DIFFFLAGS = -u
- BINFILES =
-@@ -15,9 +15,8 @@
- CONFFILES = nac.conf
- PERLLIBFILES = LibNAC.pm
- IPFWFILES = ipfw.begin ipfw.circe ipfw.common ipfw.end ipfw.init ipfw.local
--DIRECTORIES = /etc /etc/env.d /sbin /bin /libexec /libexec/nac \
-- /share /share/nac /lib /lib/perl5 lib/perl5/site_perl \
-- /lib/perl5/site_perl/5.10.1
-+DIRECTORIES = /etc /etc/env /sbin /bin /libexec /libexec/nac \
-+ /share /share/nac /lib
-
- all:
-
-@@ -38,16 +37,14 @@
- install $(INFLAGS) ${file} $(PREFIX)/share/nac/
- .endfor
- .for file in $(ENVFILES)
-- install $(INFLAGS) ${file} $(PREFIX)/etc/env.d/
-+ install $(INFLAGS) ${file} $(PREFIX)/etc/env/
- .endfor
- .for file in $(CONFFILES)
- install ${INFLAGS} ${file} $(PREFIX)/etc/${file}.dist
- .endfor
--.for file in $(PERLLIBFILES)
-- install ${INFLAGS} ${file} ${PREFIX}/lib/perl5/site_perl/5.10.1/
--.endfor
-+ install ${INFLAGS} $(PERLLIBFILES) $(SITE_PERL)
- .for file in $(IPFWFILES)
-- install ${INFLAGS} ipfw/${file} /etc/${file}.dist
-+ install ${INFLAGS} ipfw/${file} ${PREFIX}/etc/${file}.dist
- .endfor
-
- diff :
-@@ -64,16 +61,16 @@
- diff $(DIFFFLAGS) ${file} $(PREFIX)/share/nac/${file} || echo
- .endfor
- .for file in $(ENVFILES)
-- diff $(DIFFFLAGS) ${file} $(PREFIX)/etc/env.d/${file} || echo
-+ diff $(DIFFFLAGS) ${file} $(PREFIX)/etc/env/${file} || echo
- .endfor
- .for file in $(CONFFILES)
- diff $(DIFFFLAGS) ${file} $(PREFIX)/etc/${file}-sample || echo
- .endfor
- .for file in $(PERLLIBFILES)
-- diff $(DIFFFLAGS) ${file} $(PREFIX)/lib/perl5/5.10.1/${file} || echo
-+ diff $(DIFFFLAGS) ${file} $(SITE_PERL)/${file} || echo
- .endfor
- .for file in $(IPFWFILES)
-- diff $(DIFFFLAGS) ${file} /etc/${file}.dist || echo
-+ diff $(DIFFFLAGS) ${file} ${PREFIX}/etc/${file}.dist || echo
- .endfor
-
- deinstall :
-@@ -90,14 +87,14 @@
- unlink $(PREFIX)/share/nac/${file} || echo
- .endfor
- .for file in $(ENVFILES)
-- unlink $(PREFIX)/etc/env.d/${file} || echo
-+ unlink $(PREFIX)/etc/env/${file} || echo
- .endfor
- .for file in $(CONFFILES)
- unlink $(PREFIX)/etc/${file}.dist || echo
- .endfor
- .for file in $(PERLLIBFILES)
-- unlink $(PREFIX)/lib/perl5/5.10.1/${file} || echo
-+ unlink $(SITE_PERL)/${file} || echo
- .endfor
- .for file in $(IPFWFILES)
-- unlink etc/${file}.dist || echo
-+ unlink ${PREFIX}/etc/${file}.dist || echo
- .endfor
diff --git a/net-mgmt/circe/pkg-descr b/net-mgmt/circe/pkg-descr
index 0867b619accc..f09b1952c1d1 100644
--- a/net-mgmt/circe/pkg-descr
+++ b/net-mgmt/circe/pkg-descr
@@ -1,4 +1,5 @@
-Circe is a captive portal system. It is built using Perl and is a program that
-allows you to monitor and control who has access between two networks.
+Circe is a captive portal-based network access control solution written in perl
+and developed at the University of California, Berkeley for use in Residential
+Computing and campus wireless.
WWW: http://bws.berkeley.edu/
diff --git a/net-mgmt/circe/pkg-plist b/net-mgmt/circe/pkg-plist
index 27c0617fa301..7f2a003f57c1 100644
--- a/net-mgmt/circe/pkg-plist
+++ b/net-mgmt/circe/pkg-plist
@@ -1,6 +1,7 @@
@comment $FreeBSD:
sbin/circe-redirect
sbin/circe-context-daemon
+sbin/circe-daemon
sbin/circe-flush-state
sbin/circe-get-context
sbin/circe-get-redirect-url
@@ -16,6 +17,7 @@ etc/ipfw.common.dist
etc/ipfw.end.dist
etc/ipfw.init.dist
etc/ipfw.local.dist
+etc/rc.d/circed
%%SITE_PERL%%/LibNAC.pm
@unexec rmdir %D/etc/env 2>/dev/null || true
@unexec rmdir %D/share/nac 2>/dev/null || true