summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-07-10 16:19:02 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-07-10 16:19:02 +0000
commitfabbd88e7b55ddc213dbb473a6aa6019a138dec3 (patch)
tree0276f9520ce9114999e49409a157df76b457e8d1 /dev-perl/IPTables-libiptc
parentVersion bump. Removed old. Really fixed bug #466364 this time (diff)
downloadhistorical-fabbd88e7b55ddc213dbb473a6aa6019a138dec3.tar.gz
historical-fabbd88e7b55ddc213dbb473a6aa6019a138dec3.tar.bz2
historical-fabbd88e7b55ddc213dbb473a6aa6019a138dec3.zip
Initial commit, wrt bug #435062
Package-Manager: portage-2.2.0_alpha184/cvs/Linux x86_64 Manifest-Sign-Key: 0x1F357D42
Diffstat (limited to 'dev-perl/IPTables-libiptc')
-rw-r--r--dev-perl/IPTables-libiptc/ChangeLog11
-rw-r--r--dev-perl/IPTables-libiptc/IPTables-libiptc-0.520.0.ebuild37
-rw-r--r--dev-perl/IPTables-libiptc/Manifest21
-rw-r--r--dev-perl/IPTables-libiptc/files/IPTables-libiptc-0.520.0-respect-cflags.patch24
-rw-r--r--dev-perl/IPTables-libiptc/metadata.xml13
5 files changed, 106 insertions, 0 deletions
diff --git a/dev-perl/IPTables-libiptc/ChangeLog b/dev-perl/IPTables-libiptc/ChangeLog
new file mode 100644
index 000000000000..7a46199ac4b2
--- /dev/null
+++ b/dev-perl/IPTables-libiptc/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-perl/IPTables-libiptc
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/IPTables-libiptc/ChangeLog,v 1.1 2013/07/10 16:19:00 pinkbyte Exp $
+
+*IPTables-libiptc-0.520.0 (10 Jul 2013)
+
+ 10 Jul 2013; Sergey Popov <pinkbyte@gentoo.org>
+ +IPTables-libiptc-0.520.0.ebuild,
+ +files/IPTables-libiptc-0.520.0-respect-cflags.patch, +metadata.xml:
+ Initial commit, wrt bug #435062
+
diff --git a/dev-perl/IPTables-libiptc/IPTables-libiptc-0.520.0.ebuild b/dev-perl/IPTables-libiptc/IPTables-libiptc-0.520.0.ebuild
new file mode 100644
index 000000000000..18beda2ed881
--- /dev/null
+++ b/dev-perl/IPTables-libiptc/IPTables-libiptc-0.520.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/IPTables-libiptc/IPTables-libiptc-0.520.0.ebuild,v 1.1 2013/07/10 16:19:00 pinkbyte Exp $
+
+EAPI=5
+
+MODULE_AUTHOR=HAWK
+MODULE_VERSION=0.52
+
+inherit perl-module toolchain-funcs
+
+DESCRIPTION="Perl extension for iptables libiptc library"
+SRC_URI="${SRC_URI}
+http://dev.gentoo.org/~pinkbyte/distfiles/${PN}/${P}-support-for-iptables-1.4.12.patch.bz2
+http://dev.gentoo.org/~pinkbyte/distfiles/${PN}/${P}-support-for-iptables-1.4.16.2.patch.bz2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# package dependency on iptables is very fragile
+# see https://rt.cpan.org/Public/Bug/Display.html?id=70639
+RDEPEND="<net-firewall/iptables-1.4.18:="
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${WORKDIR}/${P}-support-for-iptables-1.4.12.patch"
+ "${WORKDIR}/${P}-support-for-iptables-1.4.16.2.patch"
+ "${FILESDIR}/${P}-respect-cflags.patch"
+)
+
+# Most of tests needs root access, but they do not fail without it
+SRC_TEST="do"
+
+src_prepare() {
+ tc-export CC
+ perl-module_src_prepare
+}
diff --git a/dev-perl/IPTables-libiptc/Manifest b/dev-perl/IPTables-libiptc/Manifest
new file mode 100644
index 000000000000..31e72ca83ec5
--- /dev/null
+++ b/dev-perl/IPTables-libiptc/Manifest
@@ -0,0 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX IPTables-libiptc-0.520.0-respect-cflags.patch 1399 SHA256 8b8c7023c02c34acd9554c844a5a2945cf4932a004d539d86b7ee4cf64f8cf94 SHA512 fbff9a4eb5e9582e26fec27b43a74f06db923b73af8dfc4a95dca155bd3a84282d93c5b349fa9b546f411c4b6d89bb837cadf08977237350504c42a1a13f69b0 WHIRLPOOL 9bd419317e31636e95bad16c5b7bf00db02ff31fdce5ab30f9475f4bcc29d79d3fe64a46decdbb9899151b631ca50d771524f2d96625182614fad7195fa7ddc2
+DIST IPTables-libiptc-0.52.tar.gz 126058 SHA256 aa06ca77118fd0f8e3c2c7975eaf643b68be677b8085d96b814c31eebb925aca SHA512 df13b852669a0fe5bffe7e7bdcd7f00f22ae1ee73c6f9dcd3f08db5012ed91d48b1dffde6c894fd7d771c4c03ae2195820d019f35b6b3a24b0a2563de9202468 WHIRLPOOL c6755e7c66f6efb6ecbfdf87db5e4b5f82eae5c0120caddab476d61d9058c50e69cf050217bac8d0c29794097ac9fd92394b80b8873178b200ebf4d0525fadee
+DIST IPTables-libiptc-0.520.0-support-for-iptables-1.4.12.patch.bz2 17788 SHA256 422b32467b07846b3ff610cafd3dca0721d474cc86547fc371512f0b6a3b3421 SHA512 7ff2368e3e91df69521ed69cfc5ba8941301d4a229cf9bebed6fa374b41512120cddc4adddfbf76ae6ec1a3aa6ca17ebcaadd08b1afe11509b265e54461f7fa8 WHIRLPOOL d7f59ab420f50c3cbf83640f4583e3294b41def55dbd95e14fda62c5bef00334f11b634d370fa1c47bf05558571b69dc94f5fca9348e30b8268bed4a4fe56523
+DIST IPTables-libiptc-0.520.0-support-for-iptables-1.4.16.2.patch.bz2 17022 SHA256 e7891e2d0977ed5068ad755aeb94e07e42f5ca06d5495dbc102d2e16cfbbde70 SHA512 a9a07820baf185354f30d597bad9c059d53d194f8a534038557a593bb99f73acb9006ab4f66ea9b777cd4980c273f750e44b58f8cb28bf6fad52893d588aa440 WHIRLPOOL d39f33a71832646ec964163523b43e8f94557121f0ab19dde6abc011e131d3c24eacc10475574132701f115f6a529dac28da0cc042447581e810ca1a500f8fb5
+EBUILD IPTables-libiptc-0.520.0.ebuild 1096 SHA256 f89fdaab64f6ed2976bd14d4bae62c0878fc86a2c646b59ed15e666954778979 SHA512 76a4be842e8f5436fd52b4fcf33f9d1585797b08edb2597e1b2306c6c1c73c0a9177660d46e593c375a799985f68716bf3de48f04825ce9fa1f99ce3372ad962 WHIRLPOOL 03402cc878e428a53e328a13c3bbd6b1a3bbbc3d00a42add66f286baf17e42ae99fb8256865d21c8ff25fcf5a21e62db24e6c2b4e625595505640d4a8dd38a98
+MISC ChangeLog 458 SHA256 8dc002b31b66cb9a5bb3811a1527654e0996d71b87672ab32e83f2bc9c7719e8 SHA512 3a4d6b14eb60c374872bf0853f1610936242784b9d76558c5be340d8426e6e96f73dee86b36ed033fe35eec95b73d5d5f56c4161a1392d603b743d60820105e9 WHIRLPOOL 96e3b28f96169a52f29a60da5f6c57c593fb13ca8bcabd2acfd8d85fc4debc9381f695cd29fc4c34948ab1d1ba263a564dd7f3d971af7bfa8ff518f82408d56b
+MISC metadata.xml 393 SHA256 c7bc7553744cef6f15f168a51302622cc3bbcafe45f28a9829bc52048b41e89c SHA512 105f6de4b11ec8057a00e6ccff6b30373fcc609f42247e091a25b54574535beb1b93321956125394d6d1962d8359a879b3dc2c9176f83ada07910ccc3ed35799 WHIRLPOOL fd8f4d9ceba2ecef16c2233e7eff679112795c433e8bddf0e0b9bc817a2051b50ddac56f1b047ab4312f988ebf7f96db412a434fa2e50709f04d5226079583d0
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.20 (GNU/Linux)
+
+iQEcBAEBCAAGBQJR3Yl0AAoJECo/aRed9267G7wIAJDMsVR//5dmM4u3WwNgUPg/
+9zRPRYgtlFTGkMOCyl5+RSOvVVK28t262aaE885HuLwekR2UHeFoaarcpcrPkdjB
+Yd6H6FWelYrURPJqTEwZQxWnNroJM4DAoVI2ffLRfPz7GIOGv4bi5C3AcdLw3wEp
+fr59vXqlPfS5o1pfGozLl2T3cPRXUklvVH6+tmjJWxuhXhiKJcahyFUnAPcoOsv9
+b4Wd24gyBWLrpwpVEYdkpe+ndG8hjkJ38tfZGaNGv6yyqHHo/NI7Y98mJNtpTMtI
+/fuo/W8fpCrhH5gmqcdps+C9FnR74oHJEq3Mt5Y4vERIiGWIN935jtuHpQZI/kc=
+=YAAw
+-----END PGP SIGNATURE-----
diff --git a/dev-perl/IPTables-libiptc/files/IPTables-libiptc-0.520.0-respect-cflags.patch b/dev-perl/IPTables-libiptc/files/IPTables-libiptc-0.520.0-respect-cflags.patch
new file mode 100644
index 000000000000..9453e6623ad5
--- /dev/null
+++ b/dev-perl/IPTables-libiptc/files/IPTables-libiptc-0.520.0-respect-cflags.patch
@@ -0,0 +1,24 @@
+--- Makefile.PL.orig 2013-07-10 19:31:29.355162000 +0400
++++ Makefile.PL 2013-07-10 19:32:28.497557436 +0400
+@@ -256,7 +256,7 @@
+ LDDLFLAGS => '-shared -L$(PREFIX)/lib',
+ ## LDDLFLAGS => '-shared $(LOCAL_LIB_IPTC) -L$(PREFIX)/lib',
+ LDFLAGS => '-L$(PREFIX)/lib',
+- DEFINE => '-g -DIPTABLES_VERSION=\"$(IPTABLES_VERSION)\" -DXTABLES_LIBDIR=\"\$(XTABLES_LIBDIR)\" -DIPTABLES_VERSION_CODE=\$(IPTABLES_VERSION_CODE)',
++ DEFINE => '$(CFLAGS) -DIPTABLES_VERSION=\"$(IPTABLES_VERSION)\" -DXTABLES_LIBDIR=\"\$(XTABLES_LIBDIR)\" -DIPTABLES_VERSION_CODE=\$(IPTABLES_VERSION_CODE)',
+ # e.g., '-DHAVE_SOMETHING'
+ INC => '-I/usr/local/include -I./include -I.',
+ # e.g., '-I. -I/usr/include/other'
+
+--- iptables/Makefile.orig 2013-07-10 19:37:00.298563274 +0400
++++ iptables/Makefile 2013-07-10 19:37:16.786563628 +0400
+@@ -46,8 +46,7 @@
+ endif
+ LDLIBS=-ldl $(EXTRALIBS)
+
+-COPT_FLAGS:=-O2
+-CFLAGS:=$(COPT_FLAGS) -Wall -Wunused -I$(KERNEL_DIR)/include -I$(INCDIR) -I../include/ -fPIC -DXTABLES_INTERNAL -g
++CFLAGS+=-Wall -Wunused -I$(KERNEL_DIR)/include -I$(INCDIR) -I../include/ -fPIC -DXTABLES_INTERNAL
+ #-g -DDEBUG #-pg # -DIPTC_DEBUG
+
+ DEFINES:=-DIPTABLES_VERSION=\"$(IPTABLES_VERSION)\" -DXTABLES_LIBDIR=\"$(XTABLES_LIBDIR)\" -DIPTABLES_VERSION_CODE=\$(IPTABLES_VERSION_CODE)
diff --git a/dev-perl/IPTables-libiptc/metadata.xml b/dev-perl/IPTables-libiptc/metadata.xml
new file mode 100644
index 000000000000..cf1696c6fcb3
--- /dev/null
+++ b/dev-perl/IPTables-libiptc/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>perl</herd>
+ <maintainer>
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">IPTables-libiptc</remote-id>
+ <remote-id type="cpan-module">IPTables::libiptc</remote-id>
+ </upstream>
+</pkgmetadata>