From: Raúl Porcel Date: Wed, 21 Mar 2007 21:51:45 +0000 (+0000) Subject: Add patch to not strip binary and respect CFLAGS X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=134c6d6dd350bdf26df92559e332c1552b5e32d3;p=gentoo.git Add patch to not strip binary and respect CFLAGS Package-Manager: portage-2.1.2.2 --- diff --git a/app-crypt/rotix/ChangeLog b/app-crypt/rotix/ChangeLog index c7b1ac9d68f4..deb6a51dcd56 100644 --- a/app-crypt/rotix/ChangeLog +++ b/app-crypt/rotix/ChangeLog @@ -1,9 +1,10 @@ # ChangeLog for app-crypt/rotix # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/rotix/ChangeLog,v 1.8 2007/02/08 21:23:02 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/rotix/ChangeLog,v 1.9 2007/03/21 21:51:45 armin76 Exp $ - 10 Dec 2003; Jon Portnoy rotix-0.83.ebuild : - AMD64 keyword. + 21 Mar 2007; Raúl Porcel + +files/0.83-respect-CFLAGS-and-dont-strip.patch, rotix-0.83.ebuild: + Add patch to not strip binary and respect CFLAGS 08 Feb 2007; Diego Pettenò ChangeLog: Regenerate digest in Manifest2 format. @@ -11,6 +12,9 @@ 05 Oct 2004; Pieter Van den Abeele rotix-0.83.ebuild: Masked rotix-0.83.ebuild stable for ppc + 10 Dec 2003; Jon Portnoy rotix-0.83.ebuild: + AMD64 keyword. + *rotix-0.83 (20 Dec 2002) 20 Dec 2002; Jon Portnoy rotix-0.83.ebuild : diff --git a/app-crypt/rotix/Manifest b/app-crypt/rotix/Manifest index bba86239fac0..53a8beba1c8b 100644 --- a/app-crypt/rotix/Manifest +++ b/app-crypt/rotix/Manifest @@ -1,15 +1,16 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +AUX 0.83-respect-CFLAGS-and-dont-strip.patch 391 RMD160 1644f507d6628a5c20bb179175550a2e54407d2c SHA1 46be3a6ca03f0a8d471602d9cfd8494505569ed8 SHA256 698b23b4b75de8b7767dd364f4a4f04ff9125f607d583d4be0e4943113bc0b15 +MD5 b4dc3de871cec3549b72b16c1baac5ab files/0.83-respect-CFLAGS-and-dont-strip.patch 391 +RMD160 1644f507d6628a5c20bb179175550a2e54407d2c files/0.83-respect-CFLAGS-and-dont-strip.patch 391 +SHA256 698b23b4b75de8b7767dd364f4a4f04ff9125f607d583d4be0e4943113bc0b15 files/0.83-respect-CFLAGS-and-dont-strip.patch 391 DIST rotix-0.83.tar.bz2 14685 RMD160 a7f52710e33d21a502a162b1d3836a83ae95588e SHA1 db886b54ecbe608efdd0e4f97321bcc49216fd23 SHA256 f25eae09e1c6eb95f44aec7a2aeaf9b4822da0304909e70149fda4603f1368bd -EBUILD rotix-0.83.ebuild 695 RMD160 d2afa443d9a09c66f450eddf7acbf46402c74de1 SHA1 b91c4124aeaf4f73511352e95e300238502478a8 SHA256 5675206b41d584e237a8056ef141038433e69530c326f724e885732e609d0759 -MD5 e3ce6b065ae429b4ce466e89d64877f6 rotix-0.83.ebuild 695 -RMD160 d2afa443d9a09c66f450eddf7acbf46402c74de1 rotix-0.83.ebuild 695 -SHA256 5675206b41d584e237a8056ef141038433e69530c326f724e885732e609d0759 rotix-0.83.ebuild 695 -MISC ChangeLog 633 RMD160 113d6229be2e36279c0e69cadefa0be4f9ea4792 SHA1 27e4633358d02d98c8767ed0d3a17990e9014619 SHA256 52376fd3aabc8af6e937c27b0ef0db492572866c99d11dd91772f61946ea0bed -MD5 139ba912eb554784cbfa994c6facc534 ChangeLog 633 -RMD160 113d6229be2e36279c0e69cadefa0be4f9ea4792 ChangeLog 633 -SHA256 52376fd3aabc8af6e937c27b0ef0db492572866c99d11dd91772f61946ea0bed ChangeLog 633 +EBUILD rotix-0.83.ebuild 811 RMD160 5891a71bf8c6c83824373af57f89ac7e9c9368ef SHA1 e787f617692465ceb97d1ea2f1f8ae3660e4e260 SHA256 636e037ee13025f7e797a84b7f290d073a9dd688cf5eb393eb7f79d60cf5d043 +MD5 ca5ee8721d01a54269c3485a1696efd6 rotix-0.83.ebuild 811 +RMD160 5891a71bf8c6c83824373af57f89ac7e9c9368ef rotix-0.83.ebuild 811 +SHA256 636e037ee13025f7e797a84b7f290d073a9dd688cf5eb393eb7f79d60cf5d043 rotix-0.83.ebuild 811 +MISC ChangeLog 799 RMD160 07228790fa69e3bb0af6faa06df73d12b7cbc416 SHA1 6f4e55f9b90739093a11c2524e6171f375867593 SHA256 e5ea8a80a6a2d839b0b37d943a763aa1328e5c4a27e42fb421ba09649d4d94ce +MD5 b4318efd40760dc644c95bfc9a4c6d8c ChangeLog 799 +RMD160 07228790fa69e3bb0af6faa06df73d12b7cbc416 ChangeLog 799 +SHA256 e5ea8a80a6a2d839b0b37d943a763aa1328e5c4a27e42fb421ba09649d4d94ce ChangeLog 799 MISC metadata.xml 245 RMD160 81d0c116517a0ed796a727cc156601c038f8462c SHA1 740f14d7efbc4fb579755a1b740af85f20d71d2b SHA256 4c25e96fc0d5c20b7bc313c4a67637523833173070f8badca27273ab6a1b6a02 MD5 51334b67d2cbed22e0efec4143bc6ff0 metadata.xml 245 RMD160 81d0c116517a0ed796a727cc156601c038f8462c metadata.xml 245 @@ -17,10 +18,3 @@ SHA256 4c25e96fc0d5c20b7bc313c4a67637523833173070f8badca27273ab6a1b6a02 metadata MD5 7b9838b73c9ea2341c4fa9cfa6fd78ac files/digest-rotix-0.83 232 RMD160 f741243877f42bdb2d5d023fdfc4c15706848baf files/digest-rotix-0.83 232 SHA256 db2e2887c4ff98e9dbbf566a464c17a82a676fed0b81d260ed677f1b7c0ee0d6 files/digest-rotix-0.83 232 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) - -iD8DBQFFy5S8AiZjviIA2XgRApTTAKCW0Lg0QeORC6UGvQnWVVbljdSi+QCg28h0 -4Vgi/mbpL88hW+0g+qYd4wI= -=KbHc ------END PGP SIGNATURE----- diff --git a/app-crypt/rotix/files/0.83-respect-CFLAGS-and-dont-strip.patch b/app-crypt/rotix/files/0.83-respect-CFLAGS-and-dont-strip.patch new file mode 100644 index 000000000000..85498d2e03af --- /dev/null +++ b/app-crypt/rotix/files/0.83-respect-CFLAGS-and-dont-strip.patch @@ -0,0 +1,23 @@ +--- Makefile.orig 2007-03-21 22:43:39.000000000 +0100 ++++ Makefile 2007-03-21 22:44:16.000000000 +0100 +@@ -24,8 +24,6 @@ + + ifdef DEBUG + CFLAGS += -g3 +-else +-CFLAGS += -O3 + endif + + ifdef I18N +@@ -40,11 +38,6 @@ + + rotix : rot.o help.o rotix.o + $(CC) -Wall $(CFLAGS) -o rotix rot.o help.o rotix.o +-ifdef STRIP +-ifndef DEBUG +- $(STRIP) rotix +-endif +-endif + + ifdef I18N + CFLAGS += -D I18N=1 diff --git a/app-crypt/rotix/rotix-0.83.ebuild b/app-crypt/rotix/rotix-0.83.ebuild index 31acd28f35fe..788117dadda3 100644 --- a/app-crypt/rotix/rotix-0.83.ebuild +++ b/app-crypt/rotix/rotix-0.83.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/rotix/rotix-0.83.ebuild,v 1.11 2005/01/01 12:38:14 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/rotix/rotix-0.83.ebuild,v 1.12 2007/03/21 21:51:45 armin76 Exp $ + +inherit eutils DESCRIPTION="Rotix allows you to generate rotational obfuscations." HOMEPAGE="http://elektron.its.tudelft.nl/~hemmin98/rotix.html" @@ -13,6 +15,12 @@ IUSE="nls" RDEPEND="nls? ( sys-devel/gettext )" +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-respect-CFLAGS-and-dont-strip.patch +} + src_compile() { local myconf use nls && myconf="--i18n=1" @@ -21,5 +29,5 @@ src_compile() { } src_install() { - make DESTDIR=${D} install || die + emake DESTDIR=${D} install || die }