ports/148571: Update port: security/secpanel to 0.6.1

KATO Tsuguru tkato432 at yahoo.com
Tue Jul 13 18:10:15 UTC 2010


>Number:         148571
>Category:       ports
>Synopsis:       Update port: security/secpanel to 0.6.1
>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:   Tue Jul 13 18:10:14 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.3-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.6.1

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/security/secpanel/Makefile security/secpanel/Makefile
--- /usr/ports/security/secpanel/Makefile	2010-03-25 16:32:00.000000000 +0900
+++ security/secpanel/Makefile	2010-05-19 21:44:48.000000000 +0900
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	secpanel
-PORTVERSION=	0.6.0
+PORTVERSION=	0.6.1
 PORTEPOCH=	1
 CATEGORIES=	security tcl tk
-MASTER_SITES=	http://themediahost.de/secpanel/data/ CENKES
+MASTER_SITES=	SF/${PORTNAME}
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports at FreeBSD.org
@@ -17,22 +17,19 @@
 
 RUN_DEPENDS=	ssh-askpass:${PORTSDIR}/security/openssh-askpass
 
-USE_TK_RUN=	84
+WRKSRC=		${WRKDIR}/usr/local
 NO_BUILD=	yes
 
-post-extract:
-	@${MV} ${WRKDIR}/usr ${WRKSRC}
-	@${CHMOD} -R a+rX ${WRKSRC}/
-	@${RM} -rf ${WRKSRC}/local/lib/secpanel/out/
+USE_TK_WRAPPER=	yes
 
 post-patch:
-	@${REINPLACE_CMD} -e 's!^exec wish!exec ${WISH}!' \
+	@${REINPLACE_CMD} \
 		-e 's!\[file dirname \[info script\]\]/../lib/secpanel!${DATADIR}!' \
-		-e 's!askpassbin askpass!askpassbin ssh-askpass!' \
-			${WRKSRC}/local/bin/secpanel
+			${WRKSRC}/bin/secpanel
 
 do-install:
-	@${INSTALL_SCRIPT} ${WRKSRC}/local/bin/secpanel ${PREFIX}/bin/
-	@cd ${WRKSRC}/local/lib/secpanel/&&${COPYTREE_SHARE} . ${DATADIR}/
+	${INSTALL_SCRIPT} ${WRKSRC}/bin/secpanel ${PREFIX}/bin
+	@(cd ${WRKSRC}/lib/secpanel && ${COPYTREE_SHARE} . ${DATADIR})
+	@${CHMOD} u+rw ${DATADIR}/default.config
 
 .include <bsd.port.mk>
diff -urN /usr/ports/security/secpanel/distinfo security/secpanel/distinfo
--- /usr/ports/security/secpanel/distinfo	2010-03-25 16:32:00.000000000 +0900
+++ security/secpanel/distinfo	2010-05-18 02:44:29.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (secpanel-0.6.0.tgz) = 5dd1c5a773a96cb7092d3c52a552e298
-SHA256 (secpanel-0.6.0.tgz) = 0173d41f6619c95609d38d54f00168b020cc77c5860f690bfe2ac11e4b11639c
-SIZE (secpanel-0.6.0.tgz) = 51713
+MD5 (secpanel-0.6.1.tgz) = c94e598bc66d38421333b74a28abaa17
+SHA256 (secpanel-0.6.1.tgz) = d70a0e7fe3f0d64b4fd6e9d9bd726999e72b367705e28a2980d94a5d45e1bbb7
+SIZE (secpanel-0.6.1.tgz) = 51417
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list