Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2006 02:06:31 +0200 (CEST)
From:      Aleksander Fafula <alex@fafula.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96533: [patch] security/secpanel update to 0.5.1,1
Message-ID:  <20060430000631.2DB768A004@fafula.com>
Resent-Message-ID: <200604300010.k3U0AFG7080985@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96533
>Category:       ports
>Synopsis:       [patch] security/secpanel update to 0.5.1,1
>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:   Sun Apr 30 00:10:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Aleksander Fafula
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
BSDGuru.org 
>Environment:
System: FreeBSD fafula.com


	
>Description:
Update security/secpanel.
Now with DATADIR macro.

	
>How-To-Repeat:
	
>Fix:

	


? secpanel.diff
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/secpanel/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	14 Apr 2006 20:45:41 -0000	1.12
+++ Makefile	29 Apr 2006 22:55:59 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	secpanel
-PORTVERSION=	0.4.3
+PORTVERSION=	0.5.1
 PORTEPOCH=	1
 CATEGORIES=	security tcl84 tk84
 MASTER_SITES=	http://www.pingx.net/secpanel/
@@ -17,25 +17,24 @@
 RUN_DEPENDS=	wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
 		ssh-askpass:${PORTSDIR}/security/openssh-askpass
 
-USE_REINPLACE=	yes
 USE_X_PREFIX=	yes
 
 NO_BUILD=	yes
 
 post-patch:
 	@${REINPLACE_CMD} -e 's!^exec wish!exec wish8.4!' \
-		-e 's!\[file dirname \[info script\]\]/../lib/secpanel!${PREFIX}/share/secpanel!' \
+		-e 's!\[file dirname \[info script\]\]/../lib/secpanel!${DATADIR}!' \
 		-e 's!askpassbin askpass!askpassbin ssh-askpass!' ${WRKSRC}/src/bin/secpanel
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/src/bin/secpanel ${PREFIX}/bin
-	@${MKDIR} ${PREFIX}/share/secpanel
+	@${MKDIR} ${DATADIR}
 .for file in convert_history.tcl default.config default.profile \
 	gui.tcl listserver.tcl secpanel.dist secpanel.wait
-	${INSTALL_SCRIPT} ${WRKSRC}/src/lib/secpanel/${file} ${PREFIX}/share/secpanel
+	${INSTALL_SCRIPT} ${WRKSRC}/src/lib/secpanel/${file} ${DATADIR}
 .endfor
-	@${MKDIR} ${PREFIX}/share/secpanel/images
+	@${MKDIR} ${DATADIR}/images
 	${INSTALL_DATA} ${WRKSRC}/src/lib/secpanel/images/*.gif \
-		${PREFIX}/share/secpanel/images
+		${DATADIR}/images
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/security/secpanel/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo	24 Jan 2006 01:03:25 -0000	1.6
+++ distinfo	29 Apr 2006 22:55:59 -0000
@@ -1,3 +1,3 @@
-MD5 (secpanel-0.4.3.tar.gz) = 99f8e26f882e95399322e75ad777eacf
-SHA256 (secpanel-0.4.3.tar.gz) = 7b080bf04e58501c5f198f700587349b37091fb8997f97615124bfefa1851207
-SIZE (secpanel-0.4.3.tar.gz) = 52742
+MD5 (secpanel-0.5.1.tar.gz) = c0694dbc5c1970e12eba552c2755482f
+SHA256 (secpanel-0.5.1.tar.gz) = 38c3da7650415c213f241242b3635e76ae6edba9048553e7b968bea6849e4d3d
+SIZE (secpanel-0.5.1.tar.gz) = 54382
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/security/secpanel/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- pkg-plist	21 Dec 2003 17:52:11 -0000	1.4
+++ pkg-plist	29 Apr 2006 22:55:59 -0000
@@ -1,19 +1,20 @@
 bin/secpanel
-share/secpanel/convert_history.tcl
-share/secpanel/default.config
-share/secpanel/default.profile
-share/secpanel/gui.tcl
-share/secpanel/listserver.tcl
-share/secpanel/secpanel.dist
-share/secpanel/secpanel.wait
-share/secpanel/images/arrow_left.gif
-share/secpanel/images/arrow_right.gif
-share/secpanel/images/configs.gif
-share/secpanel/images/connects.gif
-share/secpanel/images/folder.gif
-share/secpanel/images/keys.gif
-share/secpanel/images/profiles.gif
-share/secpanel/images/scp.gif
-share/secpanel/images/sscreen.gif
-@dirrm share/secpanel/images
-@dirrm share/secpanel
+%%DATADIR%%/convert_history.tcl
+%%DATADIR%%/default.config
+%%DATADIR%%/default.profile
+%%DATADIR%%/gui.tcl
+%%DATADIR%%/listserver.tcl
+%%DATADIR%%/secpanel.dist
+%%DATADIR%%/secpanel.wait
+%%DATADIR%%/images/arrow_left.gif
+%%DATADIR%%/images/arrow_right.gif
+%%DATADIR%%/images/back.gif
+%%DATADIR%%/images/configs.gif
+%%DATADIR%%/images/connects.gif
+%%DATADIR%%/images/folder.gif
+%%DATADIR%%/images/keys.gif
+%%DATADIR%%/images/profiles.gif
+%%DATADIR%%/images/scp.gif
+%%DATADIR%%/images/sscreen.gif
+@dirrm %%DATADIR%%/images
+@dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060430000631.2DB768A004>