Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2012 19:42:03 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/173978: [PATCH] security/secpanel: Changed Homepage, Added Desktop entry, license, take maintainership
Message-ID:  <20121128184206.EE4DC122@hub.freebsd.org>
Resent-Message-ID: <201211281850.qASIo0F7054506@freefall.freebsd.org>

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

>Number:         173978
>Category:       ports
>Synopsis:       [PATCH] security/secpanel: Changed Homepage, Added Desktop entry, license, take maintainership
>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:   Wed Nov 28 18:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:

- Take maintainership

Makefile changed:
+MASTER_SITES=
+LICENSE=	GPLv2
+DESKTOP_ENTRIES=

Changed Homepage
+WWW: http://themediahost.de/secpanel/

Changed and refined:
 post-patch:
 do-install:
 pkg-plist

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

portlint -A
as usual.

port test: clean

>Fix:

--- secpanel-0.6.1_1,1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/secpanel/Makefile ./Makefile
--- /usr/ports/security/secpanel/Makefile	2012-11-16 09:04:36.000000000 +0100
+++ ./Makefile	2012-11-28 19:29:02.000000000 +0100
@@ -7,14 +7,21 @@
 
 PORTNAME=	secpanel
 PORTVERSION=	0.6.1
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	security tcl tk
-MASTER_SITES=	SF/${PORTNAME}
-EXTRACT_SUFX=	.tgz
+MASTER_SITES=	SF/${PORTNAME} \
+		SF/nemysisfreebsdp/:icons
+DISTFILES=	${PORTNAME}-${DISTVERSION}.tgz \
+		${PORTNAME}.png:icons
+DIST_SUBDIR=	${PORTNAME}
+EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}.tgz
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT=	GUI for managing and running ssh and related utilities
 
+LICENSE=	GPLv2
+
 RUN_DEPENDS=	ssh-askpass:${PORTSDIR}/security/openssh-askpass
 
 WRKSRC=		${WRKDIR}/usr/local
@@ -22,14 +29,19 @@
 
 USE_TK_WRAPPER=	yes
 
+DESKTOP_ENTRIES="SecPanel" "${COMMENT}" "${PORTNAME}" \
+		"${PORTNAME}" "Application;System;" ${FALSE}
+
 post-patch:
 	@${REINPLACE_CMD} \
-		-e 's!\[file dirname \[info script\]\]/../lib/secpanel!${DATADIR}!' \
+		-e 's|\[file dirname \[info script\]\]/../lib/secpanel|${DATADIR}|' \
 			${WRKSRC}/bin/secpanel
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/bin/secpanel ${PREFIX}/bin
-	@(cd ${WRKSRC}/lib/secpanel && ${COPYTREE_SHARE} . ${DATADIR})
+	@(cd ${WRKSRC}/lib/secpanel && ${COPYTREE_SHARE} \* ${DATADIR})
 	@${CHMOD} u+rw ${DATADIR}/default.config
 
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
+
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/security/secpanel/distinfo ./distinfo
--- /usr/ports/security/secpanel/distinfo	2012-11-16 09:04:36.000000000 +0100
+++ ./distinfo	2012-11-28 18:56:05.000000000 +0100
@@ -1,2 +1,4 @@
-SHA256 (secpanel-0.6.1.tgz) = d70a0e7fe3f0d64b4fd6e9d9bd726999e72b367705e28a2980d94a5d45e1bbb7
-SIZE (secpanel-0.6.1.tgz) = 51417
+SHA256 (secpanel/secpanel-0.6.1.tgz) = d70a0e7fe3f0d64b4fd6e9d9bd726999e72b367705e28a2980d94a5d45e1bbb7
+SIZE (secpanel/secpanel-0.6.1.tgz) = 51417
+SHA256 (secpanel/secpanel.png) = f2950c8ba2cb4059330ec9e27b4e2df6bf1c9613843afca9defbf18326da4f22
+SIZE (secpanel/secpanel.png) = 1543
diff -ruN --exclude=CVS /usr/ports/security/secpanel/pkg-descr ./pkg-descr
--- /usr/ports/security/secpanel/pkg-descr	2012-11-16 09:04:36.000000000 +0100
+++ ./pkg-descr	2012-11-28 18:24:54.000000000 +0100
@@ -4,4 +4,4 @@
 It also manages the SSH-agent.
 
 Author: Steffen Leich <steffen.leich _at_ gmail.com>
-WWW: http://secpanel.net/
+WWW: http://themediahost.de/secpanel/
diff -ruN --exclude=CVS /usr/ports/security/secpanel/pkg-plist ./pkg-plist
--- /usr/ports/security/secpanel/pkg-plist	2012-11-16 09:04:36.000000000 +0100
+++ ./pkg-plist	2012-11-28 18:57:08.000000000 +0100
@@ -1,4 +1,5 @@
 bin/secpanel
+share/pixmaps/secpanel.png
 %%DATADIR%%/convert_history.tcl
 %%DATADIR%%/convert_profile.tcl
 %%DATADIR%%/default.config
@@ -16,7 +17,7 @@
 %%DATADIR%%/images/swinback_gr.gif
 %%DATADIR%%/secpanel.wait
 %%DATADIR%%/secpanel_remoteconf.sh
-%%DATADIR%%/termdefs.txt
 %%DATADIR%%/spdistkey
+%%DATADIR%%/termdefs.txt
 @dirrm %%DATADIR%%/images
 @dirrm %%DATADIR%%
--- secpanel-0.6.1_1,1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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