From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- app-crypt/rotix/Manifest | 1 + .../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 | 8 ++++++ app-crypt/rotix/rotix-0.83.ebuild | 33 ++++++++++++++++++++++ 6 files changed, 98 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..be34ea21cc8d --- /dev/null +++ b/app-crypt/rotix/Manifest @@ -0,0 +1 @@ +DIST rotix-0.83.tar.bz2 14685 SHA256 f25eae09e1c6eb95f44aec7a2aeaf9b4822da0304909e70149fda4603f1368bd SHA512 1f318e15bd51cc197d9d9fc36e37b29c18fe7a8e8c40654c69ccf97d32b896afa7cc517c562750f6c1262baddbb451bd8a29ada994176e442630d8ed56ccf572 WHIRLPOOL f376af910e0537e3101dcef1b8e224dd7064ab6aaeb788aa4fd76e1f715a3f5ed00a310605aff8021918fb99b5033af3a39a20b6c291b6d59d7f094d43a60ee8 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..59e2b8f78cb5 --- /dev/null +++ b/app-crypt/rotix/metadata.xml @@ -0,0 +1,8 @@ + + + + + maintainer-needed@gentoo.org + Default assignee for orphaned packages + + diff --git a/app-crypt/rotix/rotix-0.83.ebuild b/app-crypt/rotix/rotix-0.83.ebuild new file mode 100644 index 000000000000..bf228a80f412 --- /dev/null +++ b/app-crypt/rotix/rotix-0.83.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils flag-o-matic + +DESCRIPTION="Rotix allows you to generate rotational obfuscations" +HOMEPAGE="http://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 ~x86-interix ~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-65-gdbad