summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2004-11-12 06:09:35 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2004-11-12 06:09:35 +0000
commitc2759aec98c40ba1c26b4af123147f147651e874 (patch)
treec918a873507ee60c27abd0daab1a8b60e2dd1db7
parentinitial import from #67645 (Manifest recommit) (diff)
downloadgentoo-2-c2759aec98c40ba1c26b4af123147f147651e874.tar.gz
gentoo-2-c2759aec98c40ba1c26b4af123147f147651e874.tar.bz2
gentoo-2-c2759aec98c40ba1c26b4af123147f147651e874.zip
Revision that implements a local USE flag: 'suid'. See bug #69458.
-rw-r--r--app-crypt/gringotts/ChangeLog18
-rw-r--r--app-crypt/gringotts/Manifest11
-rw-r--r--app-crypt/gringotts/files/digest-gringotts-0.6.21
-rw-r--r--app-crypt/gringotts/files/digest-gringotts-1.2.71
-rw-r--r--app-crypt/gringotts/files/digest-gringotts-1.2.8-r11
-rw-r--r--app-crypt/gringotts/gringotts-0.6.2.ebuild25
-rw-r--r--app-crypt/gringotts/gringotts-1.2.7.ebuild28
-rw-r--r--app-crypt/gringotts/gringotts-1.2.8-r1.ebuild50
-rw-r--r--app-crypt/gringotts/metadata.xml13
9 files changed, 83 insertions, 65 deletions
diff --git a/app-crypt/gringotts/ChangeLog b/app-crypt/gringotts/ChangeLog
index 697a57ab1751..0ec423e4dee1 100644
--- a/app-crypt/gringotts/ChangeLog
+++ b/app-crypt/gringotts/ChangeLog
@@ -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.
diff --git a/app-crypt/gringotts/Manifest b/app-crypt/gringotts/Manifest
index 4c07cbfaa1cd..bbb2f1a6e6fb 100644
--- a/app-crypt/gringotts/Manifest
+++ b/app-crypt/gringotts/Manifest
@@ -1,8 +1,7 @@
-MD5 fc71cb0685091517fe39c466be19501d ChangeLog 2405
-MD5 118f3cadce002f822a5dc9cc25bc73af gringotts-0.6.2.ebuild 754
-MD5 91afd27daca8dbed062634ad539946c0 gringotts-1.2.7.ebuild 851
+MD5 533d5e281609f9cd8fc9138e34a9d09f ChangeLog 2974
+MD5 944019ca2814acb8969272a19d2ad8c5 gringotts-1.2.8-r1.ebuild 1379
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 123e87cf12830cdc13fb2b27bb9d92e8 .gringotts-1.2.8-r1.ebuild.swp 12288
+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
index e47d19f7477c..000000000000
--- a/app-crypt/gringotts/files/digest-gringotts-0.6.2
+++ /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
index 37bf34532abf..000000000000
--- a/app-crypt/gringotts/files/digest-gringotts-1.2.7
+++ /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
index 000000000000..0f213857d3f8
--- /dev/null
+++ b/app-crypt/gringotts/files/digest-gringotts-1.2.8-r1
@@ -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
index a95326ea2ffb..000000000000
--- a/app-crypt/gringotts/gringotts-0.6.2.ebuild
+++ /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
index 53834acceb82..000000000000
--- a/app-crypt/gringotts/gringotts-1.2.7.ebuild
+++ /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
index 000000000000..4f0d955ef068
--- /dev/null
+++ b/app-crypt/gringotts/gringotts-1.2.8-r1.ebuild
@@ -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
+}
diff --git a/app-crypt/gringotts/metadata.xml b/app-crypt/gringotts/metadata.xml
index 9ee05a43f8e1..4d763d134fd0 100644
--- a/app-crypt/gringotts/metadata.xml
+++ b/app-crypt/gringotts/metadata.xml
@@ -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>