ports/160273: [patch] Fix distfile sources for port net/AquaGatekeeper2

Eugene Grosbein ports at grosbein.pp.ru
Mon Aug 29 06:40:10 UTC 2011


>Number:         160273
>Category:       ports
>Synopsis:       [patch] Fix distfile sources for port net/AquaGatekeeper2
>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:40:09 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:
	Replace broken distfile source with new one.

	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 AquaGatekeeper2.orig/Makefile AquaGatekeeper2/Makefile
--- AquaGatekeeper2.orig/Makefile	2010-10-30 03:06:38.000000000 +0700
+++ AquaGatekeeper2/Makefile	2011-08-29 13:18:09.000000000 +0700
@@ -7,9 +7,9 @@
 
 PORTNAME=	AquaGatekeeper
 PORTVERSION=	2.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	net
-MASTER_SITES=	ftp://ftp.svzserv.kemerovo.su/pub/FreeBSD/distfiles.misc/ \
+MASTER_SITES=	http://www.grosbein.net/freebsd/AquaGatekeeper/ \
 		ftp://www.kuzbass.ru/pub/FreeBSD/ports/distfiles/
 EXTRACT_SUFX=	.tgz
 
diff -urN AquaGatekeeper2.orig/pkg-deinstall AquaGatekeeper2/pkg-deinstall
--- AquaGatekeeper2.orig/pkg-deinstall	2003-11-02 23:37:14.000000000 +0600
+++ AquaGatekeeper2/pkg-deinstall	2011-08-29 13:18:56.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 AquaGatekeeper2.orig/pkg-install AquaGatekeeper2/pkg-install
--- AquaGatekeeper2.orig/pkg-install	2003-11-02 23:37:14.000000000 +0600
+++ AquaGatekeeper2/pkg-install	2011-08-29 13:19:09.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