Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net-mgmt/circe/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 15 Mar 2011 19:26:26 -0000 1.1 +++ Makefile 29 Jun 2011 21:51:05 -0000 @@ -1,33 +1,37 @@ # New ports collection makefile for: circe -# Date created: 23 July 2010 +# Date created: 23 June 2011 # Whom: Berkeley NAC-Team # # $FreeBSD: ports/net-mgmt/circe/Makefile,v 1.1 2011/03/15 19:26:26 dhn Exp $ # 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 Index: distinfo =================================================================== RCS file: /home/ncvs/ports/net-mgmt/circe/distinfo,v retrieving revision 1.1 diff -u -r1.1 distinfo --- distinfo 15 Mar 2011 19:26:26 -0000 1.1 +++ distinfo 29 Jun 2011 21:51:05 -0000 @@ -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 Index: pkg-descr =================================================================== RCS file: /home/ncvs/ports/net-mgmt/circe/pkg-descr,v retrieving revision 1.1 diff -u -r1.1 pkg-descr --- pkg-descr 15 Mar 2011 19:26:26 -0000 1.1 +++ pkg-descr 29 Jun 2011 21:51:05 -0000 @@ -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/ Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/net-mgmt/circe/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- pkg-plist 15 Mar 2011 19:26:26 -0000 1.1 +++ pkg-plist 29 Jun 2011 21:51:05 -0000 @@ -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.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 Index: files/patch-Makefile =================================================================== RCS file: files/patch-Makefile diff -N files/patch-Makefile --- files/patch-Makefile 15 Mar 2011 19:26:26 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -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