ports/64797: Update ports/net/AquaGatekeeper to version 1.21
Eugene Grosbein
eugen at grosbein.pp.ru
Sat Mar 27 10:00:29 UTC 2004
>Number: 64797
>Category: ports
>Synopsis: Update ports/net/AquaGatekeeper to version 1.21
>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: Sat Mar 27 02:00:29 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Eugene Grosbein
>Release: FreeBSD 4.9-STABLE i386
>Organization:
Svyaz Service JSC
>Environment:
System: FreeBSD grosbein.pp.ru 4.9-STABLE FreeBSD 4.9-STABLE #12: Sun Mar 21 20:55:21 KRAT 2004 eu at grosbein.pp.ru:/tmp/obj/usr/local/src/sys/DADV i386
>Description:
The patch updates ports/net/AquaGatekeeper to version 1.21.
Note that binary wants crypto.3 and port will not install
if a system is not fresh enough.
This version brings a support for AMD64 also. However, its untested
as I do not have an access to such system.
>How-To-Repeat:
N/A
>Fix:
diff -urN /usr/ports/net/AquaGatekeeper/Makefile AquaGatekeeper/Makefile
--- /usr/ports/net/AquaGatekeeper/Makefile Wed Mar 24 23:28:54 2004
+++ AquaGatekeeper/Makefile Sat Mar 27 16:49:19 2004
@@ -6,11 +6,10 @@
#
PORTNAME= AquaGatekeeper
-PORTVERSION= 1.20
+PORTVERSION= 1.21
CATEGORIES= net
MASTER_SITES= ftp://ftp.aqua.comptek.ru/pub/GateKeeper/ \
ftp://www.kuzbass.ru/pub/FreeBSD/ports/distfiles/
-DISTNAME= AquaGatekeeper120FreeBSD
EXTRACT_SUFX= .tgz
MAINTAINER= eugen at grosbein.pp.ru
@@ -18,7 +17,8 @@
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
-ONLY_FOR_ARCHS= i386
+ONLY_FOR_ARCHS= amd64 i386
+MD5_FILE= ${MASTERDIR}/distinfo.${ARCH}
NO_PACKAGE= "No commercial redistribution"
NO_CDROM= "No commercial redistribution"
@@ -27,6 +27,14 @@
IS_INTERACTIVE= yes
.endif
+.if !defined(HAS_CRYPTO3)
+HAS_CRYPTO3!= ldconfig -r | fgrep -q -- -lcrypto.2 && echo yes || echo no
+.endif
+
+.if ${HAS_CRYPTO3} != "yes"
+IGNORE= This port requires libcrypto.3, upgrade base system or define HAS_CRYPTO3=yes to skip this test
+.endif
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/AquaGatekeeper ${PREFIX}/sbin/
@${INSTALL_SCRIPT} ${FILESDIR}/agk.sh.sample ${PREFIX}/etc/rc.d/
@@ -54,6 +62,12 @@
BROKEN= "Supported only on 4.x systems and later"
.elif ${OSVERSION} >= 500000
LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x
+.endif
+
+.if ${ARCH} == "amd64"
+DISTNAME= AquaGatekeeper121FreeBSDamd64
+.else
+DISTNAME= AquaGatekeeper121FreeBSD
.endif
.include <bsd.port.post.mk>
diff -urN /usr/ports/net/AquaGatekeeper/distinfo AquaGatekeeper/distinfo
--- /usr/ports/net/AquaGatekeeper/distinfo Wed Mar 24 23:28:55 2004
+++ AquaGatekeeper/distinfo Thu Jan 1 07:00:00 1970
@@ -1,2 +0,0 @@
-MD5 (AquaGatekeeper120FreeBSD.tgz) = 3b4815f45c2cba37937728a3f81a4fb0
-SIZE (AquaGatekeeper120FreeBSD.tgz) = 749914
diff -urN /usr/ports/net/AquaGatekeeper/distinfo.amd64 AquaGatekeeper/distinfo.amd64
--- /usr/ports/net/AquaGatekeeper/distinfo.amd64 Thu Jan 1 07:00:00 1970
+++ AquaGatekeeper/distinfo.amd64 Sat Mar 27 15:11:54 2004
@@ -0,0 +1,2 @@
+MD5 (AquaGatekeeper121FreeBSDamd64.tgz) = 4b8e4c03282d1edafcbdc513c430ae44
+SIZE (AquaGatekeeper121FreeBSDamd64.tgz) = 648409
diff -urN /usr/ports/net/AquaGatekeeper/distinfo.i386 AquaGatekeeper/distinfo.i386
--- /usr/ports/net/AquaGatekeeper/distinfo.i386 Thu Jan 1 07:00:00 1970
+++ AquaGatekeeper/distinfo.i386 Sat Mar 27 15:11:49 2004
@@ -0,0 +1,2 @@
+MD5 (AquaGatekeeper121FreeBSD.tgz) = 30d1d73c6fce0f704951a5bed47fa5bd
+SIZE (AquaGatekeeper121FreeBSD.tgz) = 743725
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list