Revision that implements a local USE flag: 'suid'. See bug #69458.
authorLeonardo Boshell <leonardop@gentoo.org>
Fri, 12 Nov 2004 06:09:35 +0000 (06:09 +0000)
committerLeonardo Boshell <leonardop@gentoo.org>
Fri, 12 Nov 2004 06:09:35 +0000 (06:09 +0000)
app-crypt/gringotts/ChangeLog
app-crypt/gringotts/Manifest
app-crypt/gringotts/files/digest-gringotts-0.6.2 [deleted file]
app-crypt/gringotts/files/digest-gringotts-1.2.7 [deleted file]
app-crypt/gringotts/files/digest-gringotts-1.2.8-r1 [new file with mode: 0644]
app-crypt/gringotts/gringotts-0.6.2.ebuild [deleted file]
app-crypt/gringotts/gringotts-1.2.7.ebuild [deleted file]
app-crypt/gringotts/gringotts-1.2.8-r1.ebuild [new file with mode: 0644]
app-crypt/gringotts/metadata.xml

index 697a57ab1751f814bf4fd3a557e8c8ff763dbd59..0ec423e4dee162dfc1a57909025cb0c480300f4e 100644 (file)
@@ -1,6 +1,20 @@
 # ChangeLog for app-crypt/gringotts
 # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gringotts/ChangeLog,v 1.17 2004/10/05 11:46:56 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gringotts/ChangeLog,v 1.18 2004/11/12 06:09:35 leonardop Exp $
+
+*gringotts-1.2.8-r1 (12 Nov 2004)
+
+  12 Nov 2004; Leonardo Boshell <leonardop@gentoo.org>
+  gringotts-1.2.8-r1.ebuild:
+  Use a local USE flag to optionally install a suid executable. A suid
+  gringotts binary can effectively call mlockall(), thus increasing
+  security, at the cost of relying on a suid binary, which could break with
+  some glibc installations. See bug #69458.
+
+  11 Nov 2004; Leonardo Boshell <leonardop@gentoo.org> gringotts-0.6.2.ebuild,
+  gringotts-1.2.7.ebuild, metadata.xml:
+  Removed ebuilds for 0.6.2 and 1.2.7.
+  Updated metadata.xml
 
   05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
   gringotts-1.2.7.ebuild, gringotts-1.2.8.ebuild:
@@ -13,7 +27,7 @@
   26 Apr 2004; Aron Griffis <agriffis@gentoo.org> gringotts-0.6.2.ebuild:
   Add die following econf for bug 48950
 
-  18 Apr 2004; L. Boshell <liquidx@gentoo.org> gringotts-1.2.8.ebuild:
+  18 Apr 2004; Leonardo Boshell <leonardop@gentoo.org> gringotts-1.2.8.ebuild:
   Marked stable on x86. Remove GTK_DISABLE_DEPRECATED macro from Makefile,
   so it compiles using Gtk+ 2.4.
 
index 4c07cbfaa1cd0c4246cdd208f14f546336fbe293..d71968378f746e7dfa3c76e789b2bb831bed264f 100644 (file)
@@ -1,8 +1,6 @@
-MD5 fc71cb0685091517fe39c466be19501d ChangeLog 2405
-MD5 118f3cadce002f822a5dc9cc25bc73af gringotts-0.6.2.ebuild 754
-MD5 91afd27daca8dbed062634ad539946c0 gringotts-1.2.7.ebuild 851
+MD5 5ad061bafcc844d8e2e9ac22f325352c ChangeLog 2975
+MD5 5ab8813cb825b1847423902e4a1ee60b gringotts-1.2.8-r1.ebuild 1430
 MD5 b64b23489f4ae3472647a248635575a6 gringotts-1.2.8.ebuild 1019
-MD5 978ca7de1eb30365afc7555b471468a6 metadata.xml 219
-MD5 f5f93f35d5e5ff64be8c75de6bde2964 files/digest-gringotts-0.6.2 68
-MD5 382c31ccfb9cfcf8055a4796357f2ba0 files/digest-gringotts-1.2.7 68
+MD5 aca7535e091e24a4fb74038919e3e2a0 metadata.xml 550
+MD5 238aeb98d1470931a9e60395575595d4 files/digest-gringotts-1.2.8-r1 68
 MD5 238aeb98d1470931a9e60395575595d4 files/digest-gringotts-1.2.8 68
diff --git a/app-crypt/gringotts/files/digest-gringotts-0.6.2 b/app-crypt/gringotts/files/digest-gringotts-0.6.2
deleted file mode 100644 (file)
index e47d19f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 56cc42e06e20ca9fb5bc316a5e0a22b6 gringotts-0.6.2.tar.bz2 213044
diff --git a/app-crypt/gringotts/files/digest-gringotts-1.2.7 b/app-crypt/gringotts/files/digest-gringotts-1.2.7
deleted file mode 100644 (file)
index 37bf345..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 24b00b9249128c32288b6739e8cb99ff gringotts-1.2.7.tar.bz2 173047
diff --git a/app-crypt/gringotts/files/digest-gringotts-1.2.8-r1 b/app-crypt/gringotts/files/digest-gringotts-1.2.8-r1
new file mode 100644 (file)
index 0000000..0f21385
--- /dev/null
@@ -0,0 +1 @@
+MD5 f84add2aadca642a354105f63c117dec gringotts-1.2.8.tar.bz2 174175
diff --git a/app-crypt/gringotts/gringotts-0.6.2.ebuild b/app-crypt/gringotts/gringotts-0.6.2.ebuild
deleted file mode 100644 (file)
index a95326e..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gringotts/gringotts-0.6.2.ebuild,v 1.9 2004/06/24 21:32:27 agriffis Exp $
-
-DESCRIPTION="utility that allows you to jot down sensitive data"
-HOMEPAGE="http://devel.pluto.linux.it/projects/Gringotts/"
-SRC_URI="http://devel.pluto.linux.it/projects/Gringotts/current/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-RDEPEND=">=dev-libs/glib-2.0.6-r1
-       >=x11-libs/gtk+-2.0.6-r1
-       >=dev-libs/libmcrypt-2.5.1
-       >=app-crypt/mhash-0.8.16"
-DEPEND="${RDEPEND}
-       >=dev-util/intltool-0.17
-       >=dev-util/pkgconfig-0.12.0"
-
-src_install() {
-       make DESTDIR=${D} install || die
-       dodoc ChangeLog README AUTHORS
-}
diff --git a/app-crypt/gringotts/gringotts-1.2.7.ebuild b/app-crypt/gringotts/gringotts-1.2.7.ebuild
deleted file mode 100644 (file)
index 53834ac..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gringotts/gringotts-1.2.7.ebuild,v 1.7 2004/10/05 11:46:56 pvdabeel Exp $
-
-DESCRIPTION="Utility that allows you to jot down sensitive data"
-HOMEPAGE="http://devel.pluto.linux.it/projects/Gringotts/"
-SRC_URI="http://devel.pluto.linux.it/projects/Gringotts/current/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc"
-IUSE=""
-
-DEPEND=">=dev-util/pkgconfig-0.12.0
-       >=dev-libs/libgringotts-1.2.0
-       dev-libs/popt
-       >=x11-libs/gtk+-2.0.6-r1
-       sys-apps/coreutils"
-
-src_install() {
-       einstall || die
-
-       # The FAQ and README documents shouldn't be gzip'd, as they need to be
-       # available in plain format when they are called from the `Help' menu.
-       #
-       # dodoc FAQ README
-       dodoc AUTHORS BUGS ChangeLog TODO
-}
diff --git a/app-crypt/gringotts/gringotts-1.2.8-r1.ebuild b/app-crypt/gringotts/gringotts-1.2.8-r1.ebuild
new file mode 100644 (file)
index 0000000..4f0d955
--- /dev/null
@@ -0,0 +1,50 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gringotts/gringotts-1.2.8-r1.ebuild,v 1.1 2004/11/12 06:09:35 leonardop Exp $
+
+DESCRIPTION="Utility that allows you to jot down sensitive data"
+HOMEPAGE="http://devel.pluto.linux.it/projects/Gringotts/"
+SRC_URI="http://devel.pluto.linux.it/projects/Gringotts/current/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="suid"
+
+RDEPEND=">=dev-libs/libgringotts-1.2
+       >=x11-libs/gtk+-2
+       dev-libs/popt"
+
+DEPEND="${RDEPEND}
+       sys-devel/gettext
+       dev-util/pkgconfig"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+
+       # Remove deprecation flag, so it compiles using Gtk+ 2.4.
+       sed -i -e 's:-DGTK_DISABLE_DEPRECATED::g' src/Makefile.in
+}
+
+src_install() {
+       einstall || die
+
+       # The FAQ and README documents shouldn't be gzip'd, as they need to be
+       # available in plain format when they are called from the `Help' menu.
+       #
+       # dodoc FAQ README
+       dodoc AUTHORS BUGS ChangeLog TODO
+}
+
+pkg_postinst() {
+       if use suid; then
+               ewarn "You have installed a suid binary for the \`gringotts' program."
+               ewarn "Be aware that this setup may break with some glibc installations"
+               ewarn "For more information, see bug #69458 in Gentoo's bugzilla at:"
+               ewarn "  http://bugs.gentoo.org/"
+       else
+               einfo "Changing permissions for the gringotts binary."
+               chmod u-s ${ROOT}/usr/bin/gringotts
+       fi
+}
index 9ee05a43f8e10971cbce11c1f6ffa9f3e9eef69a..4d763d134fd07196966f7f4554d9f4307dcc6d3a 100644 (file)
@@ -1,6 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>gnome</herd>
-<maintainer><email>leonardop@gentoo.org</email></maintainer>
+  <herd>gnome</herd>
+  <maintainer>
+    <email>leonardop@gentoo.org</email>
+    <name>Leonardo Boshell</name>
+  </maintainer>
+  <longdescription>
+    Gringotts is a small utility for Linux and other Unices that
+    allows you to jot down sensitive data (passwords, credit card
+    numbers, PINs, friends' addresses) in an easy-to-read,
+    easy-to-access, and most of all very secure form.
+  </longdescription>
 </pkgmetadata>