1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

- Add LICENSE

- Switch to USES=localbase
- Switch to options helpers
- Regenerate patches
This commit is contained in:
Dmitry Marakasov 2017-02-11 09:01:29 +00:00
parent 10315247c8
commit c1a733d7c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433849
2 changed files with 10 additions and 8 deletions

View File

@ -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}

View File

@ -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 */