From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-crypt/rotix/Manifest | 8 ++++++ .../files/0.83-respect-CFLAGS-and-dont-strip.patch | 31 +++++++++++++++++++++ app-crypt/rotix/files/rotix-0.83-interix.patch | 15 ++++++++++ app-crypt/rotix/files/rotix-0.83-locale.diff | 10 +++++++ app-crypt/rotix/metadata.xml | 5 ++++ app-crypt/rotix/rotix-0.83.ebuild | 32 ++++++++++++++++++++++ 6 files changed, 101 insertions(+) create mode 100644 app-crypt/rotix/Manifest create mode 100644 app-crypt/rotix/files/0.83-respect-CFLAGS-and-dont-strip.patch create mode 100644 app-crypt/rotix/files/rotix-0.83-interix.patch create mode 100644 app-crypt/rotix/files/rotix-0.83-locale.diff create mode 100644 app-crypt/rotix/metadata.xml create mode 100644 app-crypt/rotix/rotix-0.83.ebuild (limited to 'app-crypt/rotix') diff --git a/app-crypt/rotix/Manifest b/app-crypt/rotix/Manifest new file mode 100644 index 000000000000..8ae8c4a840fc --- /dev/null +++ b/app-crypt/rotix/Manifest @@ -0,0 +1,8 @@ +AUX 0.83-respect-CFLAGS-and-dont-strip.patch 623 SHA256 f0412f5e697571bfd6a6a42f3415018c41175ae03b73ae1ab6cd93fb9b7b793f SHA512 1b1fab8bdcfac682d0927075a0614ae888a1b23382ce8484b2ab9eac316f46a907bbd872615553201c5ccbf1d8f677491612956075bffacced0d408defad9e07 WHIRLPOOL 77342c3343918897739756a460b527d6aa3260d8c218dc80c8ee1da6262f49360c66e4ad76193851bab6bb5e0c611e86ba32ba0b5642cb7d954f6736d8c33add +AUX rotix-0.83-interix.patch 252 SHA256 4f9589c0816417a1f1389a3b70e5dc04dc8a4348ba131b3dbdf640c4c2733089 SHA512 4c3862c22fb6c39f8f9653d7415414f28c31f91eeac284fa277c2527abe0a4d549f1eda141a5409b9ba171bbab3c4a2b9c66ecf438413e542682a85b2c549b8c WHIRLPOOL 99db579f6c5835f917f5b94b50b9bfbaeedb550e5f3e147629a1e44174e2a722a23b814e60b42a02f46a9ce7d0e95c3c6b361173597f0bb1dc1ca068fc43eefa +AUX rotix-0.83-locale.diff 256 SHA256 230fbef9431fa6019e6a465540dcd5447a0e8746db333ed80140ebf0577db695 SHA512 7b8c82bac78c48f5d43c0246c41e7a7910f0119cc7b56500789d722d87f00e9d2356150063e07ae281435d5af60f9e15956c5bc0b236ea5f225435886117c4b0 WHIRLPOOL e42edd4c0d5569fa324c740ddd802a0d30b02ad4359c7efce588241c914344497d4a813e520038578b175a4a73eb3f3f696c35241fdbc04267ccc1fd320d3cb2 +DIST rotix-0.83.tar.bz2 14685 SHA256 f25eae09e1c6eb95f44aec7a2aeaf9b4822da0304909e70149fda4603f1368bd SHA512 1f318e15bd51cc197d9d9fc36e37b29c18fe7a8e8c40654c69ccf97d32b896afa7cc517c562750f6c1262baddbb451bd8a29ada994176e442630d8ed56ccf572 WHIRLPOOL f376af910e0537e3101dcef1b8e224dd7064ab6aaeb788aa4fd76e1f715a3f5ed00a310605aff8021918fb99b5033af3a39a20b6c291b6d59d7f094d43a60ee8 +EBUILD rotix-0.83.ebuild 796 SHA256 d5afcb0e18ffdae1a287f7d54579337a4fd6bf4854859a3c75c65dd8590ee0fe SHA512 e0aed70e10de163f8659e8fede3da520621dd355fbe7efcf1fb50f4b294926a498e58b6bde604106cbafaaa352c5d011227e128d29fedd2f6452b9541fd4db1d WHIRLPOOL 984335e61c20fdd357f07d2ba8b0c3b993b17fa0d4d08aab194af68d949d2780efb885761bc01e05e4977ad71c112d54c10ce595e078473cd1ca5ac5ee88dea2 +MISC ChangeLog 2772 SHA256 488228d62de52cebb7ecf50660b900aa162c0b171d2e50b810b0ff4a26735965 SHA512 ad018dbb56d4acb5efa77f52fda5d588cb56ad315a4dd57d4449159e5ceca8e6a7c6920c4ac6828c6e4c6a018d84109d541440c7bed348dabe13c83ced179b6e WHIRLPOOL 095bc344f4905e6ee13e100e84d3c717eea595fb1ffca8c04c404b892f016a49142dd3b99f8d6125dffae5d3df607bace3f24ceec677276389b63b0fb0ec2374 +MISC ChangeLog-2015 2016 SHA256 ef1685adb9becb88eef2e863964c94480c049827b0dec1bb9ffdcf592105ab57 SHA512 56026e1d090c8629c2ee7538270ec4485f88b8d14546f07522b98844f88b7d8382e31b94b1625b2e3a2602a62aafd3e437bf73539dc59699304f9cdfafd50cde WHIRLPOOL 4b2020c33340e62e99e1e51e6bf96620f7a9e5669b5caa8bd36afeaf9f3c5bd7e93a2ecd7c1e9bf37e4252408fe3cabe1aafdafd1dc9b0b8b3043abf65be51d1 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 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..ab23372e768f --- /dev/null +++ b/app-crypt/rotix/files/0.83-respect-CFLAGS-and-dont-strip.patch @@ -0,0 +1,31 @@ +Index: rotix-0.83/Makefile +=================================================================== +--- rotix-0.83.orig/Makefile ++++ rotix-0.83/Makefile +@@ -22,12 +22,6 @@ + + include Makefile.settings + +-ifdef DEBUG +-CFLAGS += -g3 +-else +-CFLAGS += -O3 +-endif +- + ifdef I18N + CFLAGS += -DPACKAGE=\"${PACKAGE}\" -D LOCALEDIR=\"${LOCALE}\" + endif +@@ -39,12 +33,7 @@ endif + all : rotix po + + 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 ++ $(CC) -Wall $(CFLAGS) $(LDFLAGS) -o rotix rot.o help.o rotix.o + + ifdef I18N + CFLAGS += -D I18N=1 diff --git a/app-crypt/rotix/files/rotix-0.83-interix.patch b/app-crypt/rotix/files/rotix-0.83-interix.patch new file mode 100644 index 000000000000..b691478582ca --- /dev/null +++ b/app-crypt/rotix/files/rotix-0.83-interix.patch @@ -0,0 +1,15 @@ +--- rotix-0.83.orig/help.c ++++ rotix-0.83/help.c +@@ -24,8 +24,12 @@ + * I18N + \*/ + ++#if I18N + #include + #define _(String) gettext (String) ++#else ++#define _(String) (String) ++#endif + + /*\ + * This function displays the help-information. diff --git a/app-crypt/rotix/files/rotix-0.83-locale.diff b/app-crypt/rotix/files/rotix-0.83-locale.diff new file mode 100644 index 000000000000..844a452b8af1 --- /dev/null +++ b/app-crypt/rotix/files/rotix-0.83-locale.diff @@ -0,0 +1,10 @@ +--- rotix.c 2002-04-02 14:48:42.000000000 -0500 ++++ rotix.c.mine 2010-07-15 14:54:45.000000000 -0400 +@@ -38,6 +38,7 @@ + /* I18N */ + #ifdef I18N + #include ++#include + #define _(String) gettext (String) + #else + #define _(String) String diff --git a/app-crypt/rotix/metadata.xml b/app-crypt/rotix/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-crypt/rotix/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/app-crypt/rotix/rotix-0.83.ebuild b/app-crypt/rotix/rotix-0.83.ebuild new file mode 100644 index 000000000000..927d06877da1 --- /dev/null +++ b/app-crypt/rotix/rotix-0.83.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic + +DESCRIPTION="Rotix allows you to generate rotational obfuscations" +HOMEPAGE="https://gentoo.org" +SRC_URI="http://elektron.its.tudelft.nl/~hemmin98/rotix_releases/${P}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ia64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +DEPEND="sys-devel/gettext" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-respect-CFLAGS-and-dont-strip.patch + epatch "${FILESDIR}"/${P}-locale.diff + epatch "${FILESDIR}"/${P}-interix.patch +} + +src_configure() { + use elibc_glibc || append-flags -lintl + econf --i18n=1 +} + +src_install() { + emake DESTDIR="${D}" install || die +} -- cgit v1.2.3