From owner-svn-ports-head@freebsd.org Wed Jul 22 05:28:03 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE8B39A7D16; Wed, 22 Jul 2015 05:28:02 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CD4771F90; Wed, 22 Jul 2015 05:28:02 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6M5S2CH058600; Wed, 22 Jul 2015 05:28:02 GMT (envelope-from rene@FreeBSD.org) Received: (from rene@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6M5RxTG058584; Wed, 22 Jul 2015 05:27:59 GMT (envelope-from rene@FreeBSD.org) Message-Id: <201507220527.t6M5RxTG058584@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rene set sender to rene@FreeBSD.org using -f From: Rene Ladan Date: Wed, 22 Jul 2015 05:27:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r392664 - in head: . net/nocatsplash net/nocatsplash/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2015 05:28:03 -0000 Author: rene Date: Wed Jul 22 05:27:59 2015 New Revision: 392664 URL: https://svnweb.freebsd.org/changeset/ports/392664 Log: - fix and undeprecate - add license (GPLv2) - update MASTER_SITES and CONFLICTS - tidy up pkg-descr - pass maintainership to submitter PR: 197495 Submitted by: Chris Hutchinson MFH: 2015Q3 Added: head/net/nocatsplash/files/patch-mkinstalldirs (contents, props changed) Deleted: head/net/nocatsplash/pkg-install Modified: head/GIDs head/UIDs head/net/nocatsplash/Makefile head/net/nocatsplash/files/patch-src__http.c head/net/nocatsplash/files/patch-src__splashd.c head/net/nocatsplash/pkg-descr head/net/nocatsplash/pkg-plist Modified: head/GIDs ============================================================================== --- head/GIDs Wed Jul 22 04:40:46 2015 (r392663) +++ head/GIDs Wed Jul 22 05:27:59 2015 (r392664) @@ -94,6 +94,7 @@ trircd:*:154: xorp:*:155: monetdb:*:156: barman:*:157: +nocat:*:159: sfs:*:171: agk:*:172: polipo:*:173: Modified: head/UIDs ============================================================================== --- head/UIDs Wed Jul 22 04:40:46 2015 (r392663) +++ head/UIDs Wed Jul 22 05:27:59 2015 (r392664) @@ -101,6 +101,7 @@ rbldns:*:153:153::0:0:rbldnsd pseudo-use trircd:*:154:154::0:0:& user:/usr/local/etc/tr-ircd:/usr/sbin/nologin monetdb:*:156:156::0:0:MonetDB user:/usr/local/monetdb5:/bin/sh barman:*:157:157::0:0:Barman user:/var/barman:/bin/sh +nocat:*:159:159::0:0:NoCat Daemon:/libexec/nocat:/sbin/nologin sfs:*:171:171::0:0:Self-Certifying File System:/nonexistent:/usr/sbin/nologin agk:*:172:172::0:0:AquaGateKeeper:/nonexistent:/nonexistent polipo:*:173:173::0:0:polipo web cache:/nonexistent:/usr/sbin/nologin Modified: head/net/nocatsplash/Makefile ============================================================================== --- head/net/nocatsplash/Makefile Wed Jul 22 04:40:46 2015 (r392663) +++ head/net/nocatsplash/Makefile Wed Jul 22 05:27:59 2015 (r392664) @@ -6,19 +6,17 @@ PORTVERSION= 0.82 PORTREVISION= 3 CATEGORIES= net MASTER_SITES= http://farrokhi.net/distfiles/ \ - http://nocat.net/download/NoCatSplash/ + http://BSDforge.com/projects/source/net/nocatsplash/ DISTNAME= NoCatSplash-nightly -MAINTAINER= ports@FreeBSD.org +MAINTAINER= portmaster@BSDforge.com COMMENT= Open 802.11 Splash Screen -BROKEN= Broken pkg-install script, should use USERS and UIDs -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2015-07-21 +LICENSE= GPLv2 USE_GNOME= glib12 -CONFLICTS= nocatauth-server-* +CONFLICTS= nocatauth-server-[0-9]* GNU_CONFIGURE= yes USES= gmake tar:tgz @@ -34,4 +32,7 @@ CONFIGURE_ARGS+= --with-mode=${AUTHMODE} CONFIGURE_ARGS+= --with-docroot=${DOCROOT} .endif +USERS= nocat +GROUPS= nocat + .include Added: head/net/nocatsplash/files/patch-mkinstalldirs ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/nocatsplash/files/patch-mkinstalldirs Wed Jul 22 05:27:59 2015 (r392664) @@ -0,0 +1,28 @@ +--- mkinstalldirs.orig 2003-01-02 10:39:12 UTC ++++ mkinstalldirs +@@ -7,25 +7,6 @@ + errstatus=0 + dirmode="" + +-usage="\ +-Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." +- +-# process command line arguments +-while test $# -gt 0 ; do +- case "${1}" in +- -h | --help | --h* ) # -h for help +- echo "${usage}" 1>&2; exit 0 ;; +- -m ) # -m PERM arg +- shift +- test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; } +- dirmode="${1}" +- shift ;; +- -- ) shift; break ;; # stop option processing +- -* ) echo "${usage}" 1>&2; exit 1 ;; # unknown option +- * ) break ;; # first non-opt arg +- esac +-done +- + for file + do + if test -d "$file"; then Modified: head/net/nocatsplash/files/patch-src__http.c ============================================================================== --- head/net/nocatsplash/files/patch-src__http.c Wed Jul 22 04:40:46 2015 (r392663) +++ head/net/nocatsplash/files/patch-src__http.c Wed Jul 22 05:27:59 2015 (r392664) @@ -1,5 +1,5 @@ ---- src/http.c.orig Wed Nov 19 16:26:07 2003 -+++ src/http.c Wed Nov 19 16:29:22 2003 +--- src/http.c.orig 2003-01-16 19:52:17 UTC ++++ src/http.c @@ -1,8 +1,10 @@ -# include -# include @@ -24,7 +24,7 @@ GIOChannel *http_bind_socket( const char *ip, int port, int queue ) { struct sockaddr_in addr; int fd, r, n = 1; -@@ -354,7 +353,7 @@ +@@ -354,7 +353,7 @@ ssize_t http_sendfile ( http_request *h, return -1; } Modified: head/net/nocatsplash/files/patch-src__splashd.c ============================================================================== --- head/net/nocatsplash/files/patch-src__splashd.c Wed Jul 22 04:40:46 2015 (r392663) +++ head/net/nocatsplash/files/patch-src__splashd.c Wed Jul 22 05:27:59 2015 (r392664) @@ -1,5 +1,5 @@ ---- src/splashd.c.orig Wed Nov 19 16:29:47 2003 -+++ src/splashd.c Wed Nov 19 16:30:28 2003 +--- src/splashd.c.orig 2003-02-23 03:09:46 UTC ++++ src/splashd.c @@ -1,7 +1,10 @@ +# include +# include Modified: head/net/nocatsplash/pkg-descr ============================================================================== --- head/net/nocatsplash/pkg-descr Wed Jul 22 04:40:46 2015 (r392663) +++ head/net/nocatsplash/pkg-descr Wed Jul 22 05:27:59 2015 (r392664) @@ -1,5 +1,5 @@ -NoCatSplash is a Open Public Network Gateway Daemon. It performs as a -[captive/open/active] portal. When run on a gateway/router on a network, +NoCatSplash is a Open Public Network Gateway Daemon. It performs as a +[captive/open/active] portal. When run on a gateway/router on a network, all web requests are redirected until the client either logs in or clicks "I Accept" to an AUP. The gateway daemon then changes the firewall rules on the gateway to pass traffic for that client (based on IP address and Modified: head/net/nocatsplash/pkg-plist ============================================================================== --- head/net/nocatsplash/pkg-plist Wed Jul 22 04:40:46 2015 (r392663) +++ head/net/nocatsplash/pkg-plist Wed Jul 22 05:27:59 2015 (r392664) @@ -12,3 +12,4 @@ share/nocat/htdocs/images/auth_logo.gif sbin/splashd sbin/ghttpd etc/nocat.conf +@dir libexec/nocat