diff options
author | Jonathan Callen <abcd@gentoo.org> | 2010-04-06 06:08:42 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2010-04-06 06:08:42 +0000 |
commit | 74fdb234e54ea6b7f9e4c42f0785d06fddf2ae5f (patch) | |
tree | 4696453f0d4e7b08ef01b360324ce09981d2940e /app-crypt/bsign | |
parent | Bump to EAPI=3, add prefix keywords, QA fixes (diff) | |
download | gentoo-2-74fdb234e54ea6b7f9e4c42f0785d06fddf2ae5f.tar.gz gentoo-2-74fdb234e54ea6b7f9e4c42f0785d06fddf2ae5f.tar.bz2 gentoo-2-74fdb234e54ea6b7f9e4c42f0785d06fddf2ae5f.zip |
Add prefix keywords, patch
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'app-crypt/bsign')
-rw-r--r-- | app-crypt/bsign/ChangeLog | 8 | ||||
-rw-r--r-- | app-crypt/bsign/bsign-0.4.5.ebuild | 9 | ||||
-rw-r--r-- | app-crypt/bsign/files/bsign-0.4.5-non-gnu.patch | 42 |
3 files changed, 54 insertions, 5 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/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 |