ports/160272: [patch] unbreak port net/AquaGatekeeper

Eugene Grosbein ports at grosbein.net
Mon Aug 29 06:20:10 UTC 2011


>Number:         160272
>Category:       ports
>Synopsis:       [patch] unbreak port net/AquaGatekeeper
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 29 06:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Eugene Grosbein
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
RDTC JSC
>Environment:
System: FreeBSD eg.sd.rdtc.ru 8.2-STABLE FreeBSD 8.2-STABLE #30: Thu Aug 4 20:02:17 NOVST 2011 root at eg.sd.rdtc.ru:/usr/local/obj/usr/local/src/sys/EG i386

>Description:
	Unbreak port net/AquaGatekeeper by supplying additional mirror.
	While I'm here, fix pkg-install and pkg-deinstall scripts
	to support BATCH environment variable for non-interactive
	package installation/deinstallation.

>How-To-Repeat:
	N/A

>Fix:

diff -urN AquaGatekeeper.orig/Makefile AquaGatekeeper/Makefile
--- AquaGatekeeper.orig/Makefile	2011-08-29 12:56:14.000000000 +0700
+++ AquaGatekeeper/Makefile	2011-08-29 13:11:26.000000000 +0700
@@ -7,9 +7,10 @@
 
 PORTNAME=	AquaGatekeeper
 PORTVERSION=	1.22
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	net
-MASTER_SITES=	ftp://www.kuzbass.ru/pub/FreeBSD/ports/distfiles/
+MASTER_SITES=	http://www.grosbein.net/freebsd/AquaGatekeeper/ \
+		ftp://www.kuzbass.ru/pub/FreeBSD/ports/distfiles/
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports at grosbein.pp.ru
@@ -27,10 +28,6 @@
 STRIP_CMD=	${TRUE}
 DEPRECATED=	Binary port of software abandoned by the vendor
 
-BROKEN=		unfetchable
-DEPRECATED=	"${BROKEN}"
-EXPIRATION_DATE=	2011-10-28
-
 .if !defined(BATCH) && !defined(PACKAGE_BUILDING)
 IS_INTERACTIVE=	yes
 .endif
diff -urN AquaGatekeeper.orig/pkg-deinstall AquaGatekeeper/pkg-deinstall
--- AquaGatekeeper.orig/pkg-deinstall	2003-11-02 23:37:14.000000000 +0600
+++ AquaGatekeeper/pkg-deinstall	2011-08-29 13:05:08.000000000 +0700
@@ -8,7 +8,7 @@
 
     question=$1
     default=$2
-    if [ -z "${PACKAGE_BUILDING}" ]; then
+    if [ -z "${BATCH}" -a -z "${PACKAGE_BUILDING}" ]; then
 	read -p "${question} [${default}]? " answer
     fi
     if [ x${answer} = x ]; then
diff -urN AquaGatekeeper.orig/pkg-install AquaGatekeeper/pkg-install
--- AquaGatekeeper.orig/pkg-install	2003-11-02 23:37:14.000000000 +0600
+++ AquaGatekeeper/pkg-install	2011-08-29 13:05:02.000000000 +0700
@@ -10,7 +10,7 @@
 
     question=$1
     default=$2
-    if [ -z "${PACKAGE_BUILDING}" ]; then
+    if [ -z "${BATCH}" -a -z "${PACKAGE_BUILDING}" ]; then
 	read -p "${question} [${default}]? " answer
     fi
     if [ x${answer} = x ]; then
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list