summaryrefslogtreecommitdiff
path: root/net-firewall/iptables-snmp
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2013-12-12 22:22:55 +0100
committerBertrand Jacquin <beber@meleeweb.net>2013-12-12 22:22:55 +0100
commitee96ddfb093abd00b1b9c5aa99d1ea0e3236e633 (patch)
tree32b5597e775612d9960d8290327da2d4367faca3 /net-firewall/iptables-snmp
parentprofiles/enlightenment/build: parent to kvm (diff)
downloadportage-ee96ddfb093abd00b1b9c5aa99d1ea0e3236e633.tar.xz
net-firewall/iptables-snmp: Install in correct libdir, add some instruction about how to install it
Package-Manager: portage-2.2.7
Diffstat (limited to 'net-firewall/iptables-snmp')
-rw-r--r--net-firewall/iptables-snmp/ChangeLog5
-rw-r--r--net-firewall/iptables-snmp/Manifest5
-rw-r--r--net-firewall/iptables-snmp/files/003-libdir.patch11
-rw-r--r--net-firewall/iptables-snmp/iptables-snmp-0.1.ebuild9
4 files changed, 28 insertions, 2 deletions
diff --git a/net-firewall/iptables-snmp/ChangeLog b/net-firewall/iptables-snmp/ChangeLog
index 37a14a65..23224b7c 100644
--- a/net-firewall/iptables-snmp/ChangeLog
+++ b/net-firewall/iptables-snmp/ChangeLog
@@ -1,3 +1,8 @@
+ 12 Dec 2013; Bertrand Jacquin <beber@meleeweb.net> +files/003-libdir.patch,
+ iptables-snmp-0.1.ebuild:
+ net-firewall/iptables-snmp: Install in correct libdir, add some instruction
+ about how to install it
+
*iptables-snmp-0.1 (02 Dec 2013)
02 Dec 2013; Bertrand Jacquin <beber@meleeweb.net>
diff --git a/net-firewall/iptables-snmp/Manifest b/net-firewall/iptables-snmp/Manifest
index 798ec2dd..a40f9e86 100644
--- a/net-firewall/iptables-snmp/Manifest
+++ b/net-firewall/iptables-snmp/Manifest
@@ -1,6 +1,7 @@
AUX 001-use_libiptc.patch 998 SHA256 dd4992d39cb3f159e3a06787da9b691f317b633ed0857796329f6d7be90cdc03 WHIRLPOOL b4cd419eb70070ae612a5c65f11cb5162aaa8ee1b2762b5164fe748705af75a9005de0a0225a7bc7486d41f136b788969fcd6a3af3bf7fd2d21b55c0176cd896
AUX 002-use_libiptc.patch 16809 SHA256 d98ffdfe2aebf1c861c1bad9926a11f85429e73adcec7e774b68d498348c4eea WHIRLPOOL 5e53707bf5496bbfb0f2faf15e5600277e918139cc47c3425e46b0244bccfa3a3d5a9fd3671a5acf92694a01f1aabdc9363fb078dd03b49a3236f8dc65af6c5d
+AUX 003-libdir.patch 299 SHA256 9e699a76150e886f90aa5d4681c9749e2ce35bb4c4ae02eab2e47d550f9b0bfc WHIRLPOOL 5be0f9c396c6de7fde1b4988e1fdbab17989c8bccb7eb262758f8cfd9635aa5028ac0023133cb036ca5d458f38986bb8159b4c14f2ba141a731938cece2dd69b
DIST iptables-snmp-0.1.tar.gz 80215 SHA256 3275bb3820809a311b9f92ea32f071888b9a92f60c831417490e811f46ec4d54 WHIRLPOOL bac93d4a4b59916ae45a7e318b75d3d067003fedfcf247624b9396b60e1f1cad4aec0e2d1d50e3a48e382d7c259ded1165f1a802b9583280ef4cbd06a53a7335
-EBUILD iptables-snmp-0.1.ebuild 743 SHA256 222fb044bb9d8a626c0e20b44bc3d206c0a24196e899f147af45963ee595a850 WHIRLPOOL 00fe4e21ebe57c951ceb82c12d4a83bbfc9113f001d3ee2ce3f3593dba0f62cfd73ecccdf9dad9885a9773ccf93fca2bb91532761938bb341c5504a31eb1a6db
-MISC ChangeLog 256 SHA256 8f0bba9c37c56a5a4d5a6b87f31f8897fc5b0bfe81066b93c6c332c8c500adb2 WHIRLPOOL 5b348596893894c235caf98c8376ddda6f78a982d0c81b7e41e364246c3c2fc437e7f2d1348b31dcf5aa4ee879e5f7d3588f6c369e94b46e15b73646f921d932
+EBUILD iptables-snmp-0.1.ebuild 961 SHA256 ea7da53a10919608e46b4e5be49e53178e0b4d94e20da552c602841553bf2baa WHIRLPOOL 0928f9cfcfbc4b471c638065d66e58c868f08b50e643d48cb49236229e7349f831a6574c663196debbaff87050c0264047d5939dfa6e255942cd323552bc6d52
+MISC ChangeLog 467 SHA256 6b5557755804729616c2063bcc2a3aeaf60e87e25254d985acd56cd884de8aa7 WHIRLPOOL a9bb561eaac32af7b5e356d359aeb0b8b374f51f586903e630aac9b903663efc235f34ad81014e40d0967a9c8aa4ca4e1dc1bbad0f45e57afa50990f2df6abef
MISC metadata.xml 254 SHA256 c56bc3d6780712c960298c70bb86867aeb6661e97a317cc624516b0e16b72fcc WHIRLPOOL 2ebbfaa14ef0c1847284fe64a79f052cd7e73b25a724fba728c084aaaf2dd0692e068eedcf42ccef7e205077f00c35780ded7ec69118dc01ddb988b4802e46ae
diff --git a/net-firewall/iptables-snmp/files/003-libdir.patch b/net-firewall/iptables-snmp/files/003-libdir.patch
new file mode 100644
index 00000000..be4d4912
--- /dev/null
+++ b/net-firewall/iptables-snmp/files/003-libdir.patch
@@ -0,0 +1,11 @@
+--- Makefile.in.ori 2013-12-12 22:12:18.948424332 +0100
++++ Makefile.in 2013-12-12 22:12:34.292771808 +0100
+@@ -34,7 +34,7 @@ top_srcdir = @top_srcdir@
+ srcdir = @srcdir@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+-libdir = $(prefix)/lib/
++libdir = @libdir@
+
+ CC = @CC@
+ CPPFLAGS = @CPPFLAGS@
diff --git a/net-firewall/iptables-snmp/iptables-snmp-0.1.ebuild b/net-firewall/iptables-snmp/iptables-snmp-0.1.ebuild
index 6b6a5320..918a950a 100644
--- a/net-firewall/iptables-snmp/iptables-snmp-0.1.ebuild
+++ b/net-firewall/iptables-snmp/iptables-snmp-0.1.ebuild
@@ -23,6 +23,7 @@ RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}/001-use_libiptc.patch"
epatch "${FILESDIR}/002-use_libiptc.patch"
+ epatch "${FILESDIR}/003-libdir.patch"
}
src_install() {
@@ -34,3 +35,11 @@ src_install() {
dodoc README
}
+
+pkg_postinst() {
+ elog
+ elog "You can now enable ${PN} by adding"
+ elog " dlmod iptables ${EPREFIX}/usr/$(get_libdir)/${PN}.so"
+ elog "To ${EPREFIX}/etc/snmp/snmpd.conf"
+ elog
+}