From packet@adrenochrome.nl  Fri Mar 19 23:07:54 2004
Return-Path: <packet@adrenochrome.nl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A0EBA16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Mar 2004 23:07:54 -0800 (PST)
Received: from mail.nerdheim.de (pD9E7709F.dip.t-dialin.net [217.231.112.159])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C1EFA43D2F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Mar 2004 23:07:52 -0800 (PST)
	(envelope-from packet@adrenochrome.nl)
Received: from charline.wired.nerdheim.de (charline.wired.nerdheim.de [192.168.0.117])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "charline.wired.nerdheim.de", Issuer "Nerdheim CA" (verified OK))
	by mail.nerdheim.de (Postfix) with ESMTP id 236CC17010
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 20 Mar 2004 08:07:51 +0100 (CET)
Received: by charline.wired.nerdheim.de (Postfix, from userid 1001)
	id 803EE20A5; Sat, 20 Mar 2004 08:07:50 +0100 (CET)
Message-Id: <20040320070750.803EE20A5@charline.wired.nerdheim.de>
Date: Sat, 20 Mar 2004 08:07:50 +0100 (CET)
From: Sebastian Klemke <packet@adrenochrome.nl>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] tla should install gpg-check script
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         64493
>Category:       ports
>Synopsis:       [patch] tla should install gpg-check script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    seanc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 19 23:10:15 PST 2004
>Closed-Date:    Fri Jun 25 19:51:57 GMT 2004
>Last-Modified:  Fri Jun 25 19:51:57 GMT 2004
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->seanc  
Responsible-Changed-By: krion 
Responsible-Changed-When: Fri Mar 19 23:15:08 PST 2004 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64493 
State-Changed-From-To: open->closed 
State-Changed-By: seanc 
State-Changed-When: Fri Jun 25 19:50:57 GMT 2004 
State-Changed-Why:  
Patch applied, didn't bump the version because this is a 
rarely used feature (for now) and 1.2.2 should be coming out 
real soon now.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64493 
>Unformatted:
