From owner-svn-ports-all@freebsd.org Sat Feb 11 09:01:31 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41CB4CD9042; Sat, 11 Feb 2017 09:01:31 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E359919AC; Sat, 11 Feb 2017 09:01:30 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1B91Tr2064537; Sat, 11 Feb 2017 09:01:29 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1B91Tbl064535; Sat, 11 Feb 2017 09:01:29 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201702110901.v1B91Tbl064535@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sat, 11 Feb 2017 09:01:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433849 - in head/security/gringotts: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Feb 2017 09:01:31 -0000 Author: amdmi3 Date: Sat Feb 11 09:01:29 2017 New Revision: 433849 URL: https://svnweb.freebsd.org/changeset/ports/433849 Log: - Add LICENSE - Switch to USES=localbase - Switch to options helpers - Regenerate patches Added: head/security/gringotts/files/patch-src_grg__safe.c - copied, changed from r433848, head/security/gringotts/files/patch-grg_safe.c Deleted: head/security/gringotts/files/patch-grg_safe.c Modified: head/security/gringotts/Makefile Modified: head/security/gringotts/Makefile ============================================================================== --- head/security/gringotts/Makefile Sat Feb 11 08:57:25 2017 (r433848) +++ head/security/gringotts/Makefile Sat Feb 11 09:01:29 2017 (r433849) @@ -10,16 +10,16 @@ MASTER_SITES= BERLIOS MAINTAINER= ports@FreeBSD.org COMMENT= GTK application to securely store sensitive data +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libpopt.so:devel/popt \ libgringotts.so:security/libgringotts -USES= gettext pkgconfig +USES= gettext localbase pkgconfig USE_GNOME= gtk20 GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib - OPTIONS_DEFINE= DOCS post-patch: @@ -32,6 +32,8 @@ post-patch: post-install: ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in AUTHORS BUGS ChangeLog FAQ NEWS README TODO ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} Copied and modified: head/security/gringotts/files/patch-src_grg__safe.c (from r433848, head/security/gringotts/files/patch-grg_safe.c) ============================================================================== --- head/security/gringotts/files/patch-grg_safe.c Sat Feb 11 08:57:25 2017 (r433848, copy source) +++ head/security/gringotts/files/patch-src_grg__safe.c Sat Feb 11 09:01:29 2017 (r433849) @@ -1,5 +1,5 @@ ---- src/grg_safe.c.orig 2008-01-04 22:08:43.000000000 +0900 -+++ src/grg_safe.c 2009-12-22 04:53:36.000000000 +0900 +--- src/grg_safe.c.orig 2008-01-04 13:08:43 UTC ++++ src/grg_safe.c @@ -33,6 +33,7 @@ #include @@ -16,7 +16,7 @@ #include #ifdef linux #include -@@ -96,9 +96,6 @@ +@@ -96,9 +96,6 @@ gboolean grg_mlockall_and_drop_root_privileges(void) { /* drop eventual group root privileges */ @@ -26,7 +26,7 @@ #ifdef HAVE_SYS_FSUID_H setfsgid(getgid()); setfsgid(getgid()); -@@ -148,8 +145,6 @@ +@@ -148,8 +145,6 @@ grg_mlockall_and_drop_root_privileges(vo #endif /* drop root privileges */