From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Dec 26 18:10:08 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D5031065697 for ; Sat, 26 Dec 2009 18:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1C9538FC26 for ; Sat, 26 Dec 2009 18:10:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBQIA7oL015902 for ; Sat, 26 Dec 2009 18:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBQIA7wf015895; Sat, 26 Dec 2009 18:10:07 GMT (envelope-from gnats) Resent-Date: Sat, 26 Dec 2009 18:10:07 GMT Resent-Message-Id: <200912261810.nBQIA7wf015895@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5343106574D for ; Sat, 26 Dec 2009 18:02:39 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa101lp.auone-net.jp (msa101lp.auone-net.jp [222.3.140.164]) by mx1.freebsd.org (Postfix) with ESMTP id 46DD08FC14 for ; Sat, 26 Dec 2009 18:02:39 +0000 (UTC) Received: from localhost.localdomain (ZT037172.ppp.dion.ne.jp [59.128.37.172]) by msa101lp.auone-net.jp (au one net msa) with ESMTP id A17F434034 for ; Sun, 27 Dec 2009 03:02:30 +0900 (JST) Message-Id: <20091227030029.88e35b57.tkato432@yahoo.com> Date: Sun, 27 Dec 2009 03:00:29 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/142043: Update port: security/gringotts to 1.2.10 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Dec 2009 18:10:08 -0000 >Number: 142043 >Category: ports >Synopsis: Update port: security/gringotts to 1.2.10 >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: Sat Dec 26 18:10:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.2-RELEASE-p5 i386 >Organization: >Environment: >Description: - Update to version 1.2.10 Remove file: files/patch-po-Makefile.in.in files/patch-src-Makefile.in >How-To-Repeat: >Fix: diff -urN /usr/ports/security/gringotts/Makefile security/gringotts/Makefile --- /usr/ports/security/gringotts/Makefile 2009-08-01 04:44:03.000000000 +0900 +++ security/gringotts/Makefile 2009-12-22 04:52:02.000000000 +0900 @@ -6,44 +6,39 @@ # PORTNAME= gringotts -PORTVERSION= 1.2.8 -PORTREVISION= 7 +PORTVERSION= 1.2.10 CATEGORIES= security -MASTER_SITES= BERLIOS \ - ftp://ftp.nuug.no/pub/anders/distfiles/ +MASTER_SITES= BERLIOS MAINTAINER= ports@FreeBSD.org COMMENT= GTK application to securely store sensitive data -LIB_DEPENDS= gringotts.2:${PORTSDIR}/security/libgringotts \ - popt.0:${PORTSDIR}/devel/popt +LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \ + gringotts.2:${PORTSDIR}/security/libgringotts -USE_BZIP2= yes -GNU_CONFIGURE= yes USE_GNOME= gtk20 -WANT_GNOME= yes -CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include" -CONFIGURE_ARGS+= --disable-env-check - -.include - -.if ${HAVE_GNOME:Mgnomehier}!="" -USE_GNOME+= gnomehier -PLIST_SUB+= GNOMEHIER='' -.else -PLIST_SUB+= GNOMEHIER='@comment ' -.endif +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" + +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib post-patch: - ${REINPLACE_CMD} -E -e "s|^(gringottsdocdir =).*|\1 ${DOCSDIR}|;s|md5sum|md5|g" ${WRKSRC}/Makefile.in - @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ - 's|-D.*_DISABLE_DEPRECATED||g' -.if defined(NOPORTDOCS) - ${REINPLACE_CMD} -E -e "s|^(install-data-am:.*)install-gringottsdocDATA|\1|" ${WRKSRC}/Makefile.in -.endif -.if ${HAVE_GNOME:Mgnomehier}=="" - ${REINPLACE_CMD} -E -e "s|^(install-data-am:.*)install-DsktpDATA|\1|" \ - ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e \ + '/^install-data-am:/s|install-DsktpDATA|| ; \ + /^install-data-am:/s|install-docDATA|| ; \ + s|@md5sum|@md5|' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e \ + '/^install-exec-am:/s|install-exec-local||' ${WRKSRC}/src/Makefile.in + +post-install: + @${MKDIR} ${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in AUTHORS BUGS ChangeLog FAQ NEWS README TODO + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor .endif -.include +.include diff -urN /usr/ports/security/gringotts/distinfo security/gringotts/distinfo --- /usr/ports/security/gringotts/distinfo 2006-01-24 13:40:17.000000000 +0900 +++ security/gringotts/distinfo 2009-12-22 04:26:36.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (gringotts-1.2.8.tar.bz2) = f84add2aadca642a354105f63c117dec -SHA256 (gringotts-1.2.8.tar.bz2) = cc4640cf57f0dc31799a6a4db44b9d9a06ee08be14f1c565512db28d3ae8d6f0 -SIZE (gringotts-1.2.8.tar.bz2) = 174175 +MD5 (gringotts-1.2.10.tar.gz) = 6f17589f1cb7d08be73728843dcf286a +SHA256 (gringotts-1.2.10.tar.gz) = 19784f68f76b211d076124c74d2f5ca5a156e4af7ed32d72a1ba45547782179d +SIZE (gringotts-1.2.10.tar.gz) = 251963 diff -urN /usr/ports/security/gringotts/files/patch-grg_safe.c security/gringotts/files/patch-grg_safe.c --- /usr/ports/security/gringotts/files/patch-grg_safe.c 2003-05-14 19:26:35.000000000 +0900 +++ security/gringotts/files/patch-grg_safe.c 2009-12-22 04:53:56.000000000 +0900 @@ -1,34 +1,35 @@ ---- src/grg_safe.c.orig Wed May 14 02:02:13 2003 -+++ src/grg_safe.c Wed May 14 02:03:43 2003 +--- 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 @@ -33,6 +33,7 @@ #include #include +#include + #include #include #include - #include -@@ -43,7 +44,6 @@ +@@ -44,7 +45,6 @@ #include #endif #include -#include #include - #include - -@@ -59,8 +59,6 @@ + #ifdef linux + #include +@@ -96,9 +96,6 @@ grg_mlockall_and_drop_root_privileges(void) { - // drop eventual group root privileges + /* drop eventual group root privileges */ - setgid(getgid()); -- setgid(getgid()); // twice for counter "saved IDs", cfr. - // Secure Programming HowTo +- setgid(getgid()); /* twice for counter "saved IDs", cfr. */ +- /* Secure Programming HowTo */ #ifdef HAVE_SYS_FSUID_H setfsgid(getgid()); -@@ -84,8 +82,6 @@ + setfsgid(getgid()); +@@ -148,8 +145,6 @@ #endif - // drop root privileges + /* drop root privileges */ - setuid(getuid()); - setuid(getuid()); #ifdef HAVE_SYS_FSUID_H diff -urN /usr/ports/security/gringotts/files/patch-po-Makefile.in.in security/gringotts/files/patch-po-Makefile.in.in --- /usr/ports/security/gringotts/files/patch-po-Makefile.in.in 2003-05-14 11:57:40.000000000 +0900 +++ security/gringotts/files/patch-po-Makefile.in.in 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- po/Makefile.in.in.orig Wed May 14 02:32:06 2003 -+++ po/Makefile.in.in Wed May 14 02:32:22 2003 -@@ -106,7 +106,7 @@ - @catalogs='$(CATALOGS)'; \ - for cat in $$catalogs; do \ - cat=`basename $$cat`; \ -- lang=`echo $$cat | sed 's/\.gmo$$//'`; \ -+ lang=`echo $$cat | sed 's/\.mo$$//'`; \ - dir=$(localedir)/$$lang/LC_MESSAGES; \ - $(mkinstalldirs) $(DESTDIR)$$dir; \ - if test -r $$cat; then \ diff -urN /usr/ports/security/gringotts/files/patch-src-Makefile.in security/gringotts/files/patch-src-Makefile.in --- /usr/ports/security/gringotts/files/patch-src-Makefile.in 2003-04-12 23:21:21.000000000 +0900 +++ security/gringotts/files/patch-src-Makefile.in 1970-01-01 09:00:00.000000000 +0900 @@ -1,10 +0,0 @@ ---- src/Makefile.in.orig Tue Feb 18 22:06:05 2003 -+++ src/Makefile.in Tue Feb 18 22:06:33 2003 -@@ -399,7 +399,6 @@ - - install-exec-local: - strip $(DESTDIR)$(bindir)/gringotts -- chmod u+s $(DESTDIR)$(bindir)/gringotts - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. - .NOEXPORT: diff -urN /usr/ports/security/gringotts/pkg-plist security/gringotts/pkg-plist --- /usr/ports/security/gringotts/pkg-plist 2007-10-25 13:51:44.000000000 +0900 +++ security/gringotts/pkg-plist 2009-12-22 04:43:09.000000000 +0900 @@ -1,16 +1,18 @@ bin/gringotts -share/pixmaps/gringotts.xpm -share/locale/de/LC_MESSAGES/gringotts.mo -share/locale/fr/LC_MESSAGES/gringotts.mo -share/locale/it/LC_MESSAGES/gringotts.mo -%%GNOMEHIER%%share/gnome/apps/Utilities/gringotts.desktop -%%GNOMEHIER%%@unexec rmdir -p %D/share/gnome/apps/Utilities 2>/dev/null || true +share/applications/gringotts.desktop %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/BUGS -%%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/FAQ %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/TODO +share/locale/de/LC_MESSAGES/gringotts.mo +share/locale/fr/LC_MESSAGES/gringotts.mo +share/locale/it/LC_MESSAGES/gringotts.mo +share/locale/pl/LC_MESSAGES/gringotts.mo +share/locale/ru/LC_MESSAGES/gringotts.mo +share/pixmaps/gringotts.xpm +share/pixmaps/gringotts-32.xpm %%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrmtry share/applications >Release-Note: >Audit-Trail: >Unformatted: