svn commit: r433849 - in head/security/gringotts: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Feb 11 09:01:31 UTC 2017
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 at 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 <stdlib.h>
@@ -16,7 +16,7 @@
#include <sys/resource.h>
#ifdef linux
#include <sys/utsname.h>
-@@ -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 */
More information about the svn-ports-all
mailing list