summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-crypt/bsign/ChangeLog8
-rw-r--r--app-crypt/bsign/Manifest13
-rw-r--r--app-crypt/bsign/bsign-0.4.5.ebuild9
-rw-r--r--app-crypt/bsign/files/bsign-0.4.5-non-gnu.patch42
4 files changed, 61 insertions, 11 deletions
diff --git a/app-crypt/bsign/ChangeLog b/app-crypt/bsign/ChangeLog
index 86dd9c60478f..f8287da41b0c 100644
--- a/app-crypt/bsign/ChangeLog
+++ b/app-crypt/bsign/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-crypt/bsign
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/bsign/ChangeLog,v 1.10 2008/12/30 17:50:04 angelos Exp $
+# 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 $
+
+ 06 Apr 2010; Jonathan Callen <abcd@gentoo.org> bsign-0.4.5.ebuild,
+ +files/bsign-0.4.5-non-gnu.patch:
+ Add prefix keywords, patch
30 Dec 2008; Christoph Mende <angelos@gentoo.org> bsign-0.4.5.ebuild:
QA: Respect CC/CXX (bug 243536), respect CFLAGS and install the unstripped
diff --git a/app-crypt/bsign/Manifest b/app-crypt/bsign/Manifest
index 2901d6b42076..840639ad87f1 100644
--- a/app-crypt/bsign/Manifest
+++ b/app-crypt/bsign/Manifest
@@ -1,14 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX bsign-0.4.5-non-gnu.patch 1403 RMD160 1304ab8cb4d344bdcc564d774ac0b5a3db8f269c SHA1 bf944b9bfeb3a85ca6974dfcb16c2050ab2d3df8 SHA256 ae72b2fd6cf083c0ff28bee6e41d455d6e21582ce17fe325b1c5c4df8acddd0a
DIST bsign_0.4.5.tar.gz 77471 RMD160 0e57631ee5713088a9209b6d7287765224751453 SHA1 f24acc5ec3fc9653ee06a8314da2e8dde8992ebb SHA256 a80b27286a3b1b1be6df7b93d27457a4a6941a1eaf797070b1044412f47d3106
-EBUILD bsign-0.4.5.ebuild 851 RMD160 908acd46a89e3fe60807fff5df4f506c44672cfe SHA1 9dfd930cb426c9c72f89aa8ce4fbd397b4fca6b8 SHA256 59374fa264e2a57b0cbd059dcef4035a27781b604f9a42abd88768593d6b0f57
-MISC ChangeLog 1119 RMD160 0de07cd3434737c3a9dd4097cdf667178c3e6063 SHA1 7a2fa0b68dc3e0b232160e2b22b1902d77560a47 SHA256 3b8e75d3591c99b016cd46b2ea1b451e0161c5d05fee0dced87475000b4aa3e6
+EBUILD bsign-0.4.5.ebuild 1023 RMD160 e05e8ade3bd23dc6bc196404eefce14aa76121eb SHA1 7175210091beaaf855e4e578cf5695c0b629f925 SHA256 ef39b4b56fbca84748b3773f324166b5376a33c0a8e736fab2e990e4a727913b
+MISC ChangeLog 1251 RMD160 20793fe543a7cff146e9b28ba38d60601d514681 SHA1 a8f79003a3ea7c168aaf5d65cc177389d1003025 SHA256 c4641fbab07f15b719af1f91a429df2e8108ea53ecbb4c16d68718c7d4747af2
MISC metadata.xml 576 RMD160 613f72b15e2b0bb1767104c1a83e956fe0fc50d9 SHA1 515929113e503cd67e38d1c2f9e8c95ce566e99b SHA256 72ef85bafb295eb625cd54ef4c700dd430f558a38e848c3fa5dd87a5470b4878
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
+Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAklaX1MACgkQKhnDs22gwa/X4QCfeE39WKKIW3p/FEBnsPzHIjvb
-p5wAoPFkI1BGg9NJBctESnBFfJrUogqU
-=HfQ3
+iEYEARECAAYFAku6z+8ACgkQOypDUo0oQOoy7gCdG89K4N/UwahgcpdWHAfUVXkP
+uIUAn3zPg/f5V3i/Fw3bANbt+3nsIFSy
+=OhkL
-----END PGP SIGNATURE-----
diff --git a/app-crypt/bsign/bsign-0.4.5.ebuild b/app-crypt/bsign/bsign-0.4.5.ebuild
index d8974ff0a95d..e6f28d081aeb 100644
--- a/app-crypt/bsign/bsign-0.4.5.ebuild
+++ b/app-crypt/bsign/bsign-0.4.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# 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.9 2008/12/30 17:50:04 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/bsign/bsign-0.4.5.ebuild,v 1.10 2010/04/06 06:08:41 abcd Exp $
inherit autotools toolchain-funcs
@@ -10,13 +10,16 @@ SRC_URI="mirror://debian/pool/main/b/${PN}/${PN}_${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="~ppc ~x86 ~x86-linux ~ppc-macos"
IUSE=""
src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}"/${P}-non-gnu.patch # for Darwin, BSD, Solaris, etc.
+ [[ ${CHOST} == *-darwin* ]] && sed -i -e '/^LFLAGS/s/-static//' Makefile.in
+
sed -i -e "/^CFLAGS/d" \
-e "/^CXXFLAGS/d" configure.in
eautoreconf
diff --git a/app-crypt/bsign/files/bsign-0.4.5-non-gnu.patch b/app-crypt/bsign/files/bsign-0.4.5-non-gnu.patch
new file mode 100644
index 000000000000..b07d78450ee1
--- /dev/null
+++ b/app-crypt/bsign/files/bsign-0.4.5-non-gnu.patch
@@ -0,0 +1,42 @@
+--- Makefile.in
++++ Makefile.in
+@@ -62,7 +62,7 @@
+ #LFLAGS=-g @LDFLAGS@ @LIBS@
+ #LFLAGS=-pg ${LFLAGS}
+ DEPEND=depend.m
+-ECHO=@/bin/echo
++ECHO=@echo
+ INSTALL=@INSTALL@
+ INSTALL_PROGRAM=@INSTALL_PROGRAM@
+ INSTALL_DATA=@INSTALL_DATA@
+@@ -192,11 +192,11 @@
+ #
+
+ .version: .version_major .version_minor .version_patch
+- @/bin/echo -n `cat .version_major`.`cat .version_minor`.`cat \
++ @echo -n `cat .version_major`.`cat .version_minor`.`cat \
+ .version_patch` > .version
+
+ _version.h: .version
+- @/bin/echo -e \#define SZ_VERSION \"`cat .version`\" > _version.h
++ @echo -e \#define SZ_VERSION \"`cat .version`\" > _version.h
+
+ .PHONY: transmit
+ transmit: # distribution-archive
+@@ -209,12 +209,12 @@
+
+ version.sed: _version.h
+ @echo Creating version-specific sed script...
+- @/bin/echo s/\<\<version\>\>/`cat .version`/ > version.sed
+- @/bin/echo s/\<\<date\>\>/`date +"%d%b%y" \
++ @echo s/\<\<version\>\>/`cat .version`/ > version.sed
++ @echo s/\<\<date\>\>/`date +"%d%b%y" \
+ | sed -e y/abceglnoprtuvy/ABCEGLNOPRTUVY/`/ >> version.sed
+- @/bin/echo s/\<\<tar-file\>\>/${PACKAGE}-`cat .version`.tar.gz/ \
++ @echo s/\<\<tar-file\>\>/${PACKAGE}-`cat .version`.tar.gz/ \
+ >> version.sed
+- @/bin/echo s/\<\<lsm-file\>\>/${PACKAGE}-`cat .version`.lsm/ >> version.sed
++ @echo s/\<\<lsm-file\>\>/${PACKAGE}-`cat .version`.lsm/ >> version.sed
+
+ .PHONY: ${PACKAGE}.lsm
+ ${PACKAGE}.lsm: version.sed LSM