ports/155138: Update MASTER_SITES for games/cowsay, add PGP verify target
Doug Barton
dougb at FreeBSD.org
Mon Feb 28 23:50:11 UTC 2011
>Number: 155138
>Category: ports
>Synopsis: Update MASTER_SITES for games/cowsay, add PGP verify target
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 28 23:50:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Doug Barton
>Release: FreeBSD 8.1-STABLE i386
>Organization:
AAAG
>Environment:
DNA
>Description:
The FTP site doesn't work, so update to the HTTP site per author's
web page.
Add the ability to verfiy the PGP signature of the distfile
>How-To-Repeat:
Try to fetch the distfile via FTP
>Fix:
Apply the following patch:
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/games/cowsay/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile 5 Jan 2011 02:13:25 -0000 1.8
+++ Makefile 28 Feb 2011 23:45:22 -0000
@@ -9,7 +9,9 @@
PORTVERSION= 3.03
PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= ftp://ftp.nog.net/pub/tony/cowsay/
+MASTER_SITES= http://www.nog.net/~tony/warez/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= c.petrik.sosa at gmail.com
COMMENT= Configurable talking characters in ASCII art
@@ -21,6 +23,9 @@
MAN1= cowsay.1
MLINKS= cowsay.1 cowthink.1
+verify: checksum
+ gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.sig
+
do-install:
cd ${WRKSRC}; ${SH} install.sh ${PREFIX}
@${INSTALL_DATA} ${FILESDIR}/box.cow ${PREFIX}/share/cows
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/games/cowsay/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo 5 Jan 2011 02:13:25 -0000 1.4
+++ distinfo 28 Feb 2011 23:45:22 -0000
@@ -1,2 +1,4 @@
SHA256 (cowsay-3.03.tar.gz) = 0b8672a7ac2b51183780db72618b42af8ec1ce02f6c05fe612510b650540b2af
SIZE (cowsay-3.03.tar.gz) = 15189
+SHA256 (cowsay-3.03.tar.gz.sig) = b5ca879164549eed7d5a9da03f6307860142d91b000765508bb3cd1805cfd6f6
+SIZE (cowsay-3.03.tar.gz.sig) = 152
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list