ports/156862: [UPDATE] security/gtkpasman: update to 0.11

Ruslan Mahmatkhanov cvs-src at yandex.ru
Sat May 7 12:40:08 UTC 2011


>Number:         156862
>Category:       ports
>Synopsis:       [UPDATE] security/gtkpasman: update to 0.11
>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:   Sat May 07 12:40:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Mahmatkhanov
>Release:        9.0-CURRENT
>Organization:
>Environment:
9.0-CURRENT i386
>Description:
- update to 0.11
- use gnupg2
- add -with-gtk2 to CONFIGURE_ARGS since gtkpasman looking for gtk30 by default
- install desktop-file to be able to call gtkpasman from menu
- show pkg-message only when NOPORTDOCS is not defined
- use %%DOCSDIR%% instead of full path in pkg-message
- couple of whitespace fixes in pkg-descr
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruNa gtkpasman.orig/Makefile gtkpasman/Makefile
--- gtkpasman.orig/Makefile	2010-12-04 10:33:25.000000000 +0300
+++ gtkpasman/Makefile	2011-05-07 16:23:11.000000000 +0400
@@ -6,26 +6,26 @@
 #
 
 PORTNAME=	gtkpasman
-PORTVERSION=	0.9
-PORTREVISION=	8
+PORTVERSION=	0.11
 CATEGORIES=	security
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-sources/${PORTVERSION}
 
 MAINTAINER=	phil at teaser.fr
 COMMENT=	A GTK+ passwords manager for system and network administrators
 
-RUN_DEPENDS+=   gpgv:${PORTSDIR}/security/gnupg1
+RUN_DEPENDS+=	gpgv2:${PORTSDIR}/security/gnupg
 
 USE_GMAKE=	yes
-USE_GNOME=	gtk20
+USE_GNOME=	desktopfileutils gtk20
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS+=	--with-gtk2
 USE_AUTOTOOLS=	automake aclocal autoconf
 
 SUB_FILES=	pkg-message
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
-DOCS=		README src/gpasman4.sample
-PLIST_FILES=	bin/gtkpasman
+DOCS=		README data/gpasman4.sample
+PLIST_FILES=	bin/gtkpasman share/applications/gtkpasman.desktop
 ACLOCAL_ARGS?=	--acdir=${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal
 
 .if !defined(NOPORTDOCS)
@@ -34,12 +34,17 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/gtkpasman ${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/data/gtkpasman.desktop \
+	${PREFIX}/share/applications
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_MAN} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
 .endif
 
 post-install:
+.if !defined(NOPORTDOCS)
 	@${CAT} ${PKGMESSAGE}
+.endif
+	@-update-desktop-database
 
 .include <bsd.port.mk>
diff -ruNa gtkpasman.orig/distinfo gtkpasman/distinfo
--- gtkpasman.orig/distinfo	2007-02-06 19:03:42.000000000 +0300
+++ gtkpasman/distinfo	2011-05-07 16:04:56.000000000 +0400
@@ -1,3 +1,2 @@
-MD5 (gtkpasman-0.9.tar.gz) = dbf4f01d80939b397460b25d0b654b36
-SHA256 (gtkpasman-0.9.tar.gz) = 54e3f663eb84a9ab1d681bf9197c011e1df0438b2632dfd5f835247cd254e57a
-SIZE (gtkpasman-0.9.tar.gz) = 123727
+SHA256 (gtkpasman-0.11.tar.gz) = a2514a96ca195f1e0834dea573119e97c48104ef2a6f6fd512ee045bcb03a3a2
+SIZE (gtkpasman-0.11.tar.gz) = 117037
diff -ruNa gtkpasman.orig/files/pkg-message.in gtkpasman/files/pkg-message.in
--- gtkpasman.orig/files/pkg-message.in	2005-10-05 21:21:11.000000000 +0400
+++ gtkpasman/files/pkg-message.in	2011-05-07 16:15:05.000000000 +0400
@@ -2,7 +2,7 @@
 #####################################################################
 This port installs a sample password file in the following location:
 
-%%PREFIX%%/share/doc/gtkpasman/
+%%DOCSDIR%%
 
 You may find this file useful while making your own password file.
 Also note that the File->Open function is not implemented yet.
diff -ruNa gtkpasman.orig/pkg-descr gtkpasman/pkg-descr
--- gtkpasman.orig/pkg-descr	2007-02-06 19:03:42.000000000 +0300
+++ gtkpasman/pkg-descr	2011-05-07 16:17:50.000000000 +0400
@@ -1,8 +1,8 @@
-The purpose of Gtkpasman is to provide system and network administrators a 
+The purpose of Gtkpasman is to provide system and network administrators a
 convenient tool to manage a passwords knowledge base related to customers,
 servers, services... It can help to retrieve passwords, or even connect to
 servers (ssh, telnet, ftp).
-Passwords must be kept in a gnupg crypted file. The structure of the file is 
+Passwords must be kept in a gnupg crypted file. The structure of the file is
 predefined, but very easy to edit and maintain.
 
 WWW: http://gtkpasman.sourceforge.net/


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



More information about the freebsd-ports-bugs mailing list