summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-07-16 22:23:26 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-07-16 22:23:26 +0000
commited9eb0b987acaa290976db41c5b1c4b2879ab94f (patch)
tree626202d42a898475068d191d210891b1290eab60 /app-crypt/bsign
parentold (diff)
downloadgentoo-2-ed9eb0b987acaa290976db41c5b1c4b2879ab94f.tar.gz
gentoo-2-ed9eb0b987acaa290976db41c5b1c4b2879ab94f.tar.bz2
gentoo-2-ed9eb0b987acaa290976db41c5b1c4b2879ab94f.zip
Introduce static-libs use flag. Fixes bug #273336. Thanks to Dane Smith. Keyworded for amd64
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt/bsign')
-rw-r--r--app-crypt/bsign/ChangeLog8
-rw-r--r--app-crypt/bsign/bsign-0.4.5.ebuild26
-rw-r--r--app-crypt/bsign/metadata.xml11
3 files changed, 28 insertions, 17 deletions
diff --git a/app-crypt/bsign/ChangeLog b/app-crypt/bsign/ChangeLog
index f8287da41b0c..2ddc07c38005 100644
--- a/app-crypt/bsign/ChangeLog
+++ b/app-crypt/bsign/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-crypt/bsign
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/bsign/ChangeLog,v 1.11 2010/04/06 06:08:42 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/bsign/ChangeLog,v 1.12 2010/07/16 22:23:26 hwoarang Exp $
+
+ 16 Jul 2010; Markos Chandras <hwoarang@gentoo.org> bsign-0.4.5.ebuild,
+ metadata.xml:
+ Introduce static-libs use flag. Fixes bug #273336. Thanks to Dane Smith
+ <smithdanea@gmail.com> for the patch. He will proxy maintain this package
+ with me. Keyworded for amd64
06 Apr 2010; Jonathan Callen <abcd@gentoo.org> bsign-0.4.5.ebuild,
+files/bsign-0.4.5-non-gnu.patch:
diff --git a/app-crypt/bsign/bsign-0.4.5.ebuild b/app-crypt/bsign/bsign-0.4.5.ebuild
index e6f28d081aeb..5b461bfcd94a 100644
--- a/app-crypt/bsign/bsign-0.4.5.ebuild
+++ b/app-crypt/bsign/bsign-0.4.5.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/bsign/bsign-0.4.5.ebuild,v 1.10 2010/04/06 06:08:41 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/bsign/bsign-0.4.5.ebuild,v 1.11 2010/07/16 22:23:26 hwoarang Exp $
+EAPI=2
inherit autotools toolchain-funcs
DESCRIPTION="embed secure hashes (SHA1) and digital signatures (GNU Privacy Guard) into files"
@@ -10,30 +11,25 @@ SRC_URI="mirror://debian/pool/main/b/${PN}/${PN}_${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~ppc ~x86 ~x86-linux ~ppc-macos"
-IUSE=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
+KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86 ~x86-linux"
+IUSE="static-libs"
+src_prepare() {
epatch "${FILESDIR}"/${P}-non-gnu.patch # for Darwin, BSD, Solaris, etc.
- [[ ${CHOST} == *-darwin* ]] && sed -i -e '/^LFLAGS/s/-static//' Makefile.in
+
+ if ! use static-libs || [[ ${CHOST} == *-darwin* ]]; then
+ sed -i -e '/^LFLAGS/s/-static//' Makefile.in
+ fi
sed -i -e "/^CFLAGS/d" \
-e "/^CXXFLAGS/d" configure.in
eautoreconf
-}
-
-src_compile() {
tc-export CC CXX
- econf
- emake || die "emake failed"
}
src_install() {
dobin bsign_sign bsign_verify bsign_hash bsign_check || die
newbin o/bsign-unstripped bsign || die
- doman bsign.1
- dodoc README
+ doman bsign.1 || die
+ dodoc README || die
}
diff --git a/app-crypt/bsign/metadata.xml b/app-crypt/bsign/metadata.xml
index 9b18f0085cca..cba2f3322daf 100644
--- a/app-crypt/bsign/metadata.xml
+++ b/app-crypt/bsign/metadata.xml
@@ -1,7 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>maintainer-needed</herd>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+ </maintainer>
+ <maintainer>
+ <email>smithdanea@gmail.com</email>
+ <name>Dane Smith</name>
+ <description>Proxy maintainer. CC him on bugs</description>
+ </maintainer>
<longdescription>
This package embeds secure hashes (SHA1) and digital signatures (GNU
Privacy Guard) into files for verification and authentication.