ports/64493: [patch] tla should install gpg-check script
Sebastian Klemke
packet at adrenochrome.nl
Sat Mar 20 07:10:16 UTC 2004
>Number: 64493
>Category: ports
>Synopsis: [patch] tla should install gpg-check script
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 19 23:10:15 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Sebastian Klemke
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD charline 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Mar 18 11:54:05 CET 2004 root at charline:/usr/obj/usr/src/sys/CHARLINE i386
>Description:
tla depends on a script to verify signatures on a signed archive. Such
a script is included in the distribution tarball
(src/tla/=gpg-check.awk)but it is not installed. Although it is not a
bug in the port I think it makes sense to install the script
nevertheless.
>How-To-Repeat:
Install devel/tla from the ports collection.
>Fix:
The included patch changes the awk path in the upstream script and
installs it as ${PREFIX}/bin/tla-gpg-check. The name is changed to
avoid possible conflicts. I have successfully tested both the script
and my patch.
--- tla.patch begins here ---
diff -urN tla.orig/Makefile tla/Makefile
--- tla.orig/Makefile Sat Mar 20 05:04:52 2004
+++ tla/Makefile Sat Mar 20 05:40:08 2004
@@ -38,8 +39,11 @@
test:
cd ${WRKSRC} ; ${GMAKE} test
-.if !defined(NOPORTDOCS)
post-install:
+ ${SED} 's,^#!.*$$,#!${AWK} -f,' ${ORIGWRKSRC}/tla/=gpg-check.awk \
+ > ${WRKDIR}/tla-gpg-check
+ ${INSTALL_SCRIPT} ${WRKDIR}/tla-gpg-check ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}; \
for f in `${FIND} ${ORIGWRKSRC}/docs-tla/html -type f -name '*.html' \
-exec ${BASENAME} {} \;`; do \
diff -urN tla.orig/pkg-plist tla/pkg-plist
--- tla.orig/pkg-plist Sat Mar 20 05:04:52 2004
+++ tla/pkg-plist Sat Mar 20 05:27:04 2004
@@ -1,2 +1,3 @@
bin/tla
+bin/tla-gpg-check
@comment automatically generated plist for docs
--- tla.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list