FS#51232 - [iptables] iptables-apply missing
Attached to Project:
Arch Linux
Opened by Stefan J. Betz (encbladexp) - Tuesday, 04 October 2016, 18:37 GMT
Last edited by Ronald van Haren (pressh) - Tuesday, 11 September 2018, 20:15 GMT
Opened by Stefan J. Betz (encbladexp) - Tuesday, 04 October 2016, 18:37 GMT
Last edited by Ronald van Haren (pressh) - Tuesday, 11 September 2018, 20:15 GMT
|
Details
Description:
The iptables-apply Script and its Manpage is missing in the iptables package. iptables-apply is a very useful script and part of the upstream repository, so arch should provide it (like Ubuntu, Debian, …). Additional info: * 1.6.0-1 Steps to reproduce: pacman -Ql iptables | grep apply |
This task depends upon
Closed by Ronald van Haren (pressh)
Tuesday, 11 September 2018, 20:15 GMT
Reason for closing: Implemented
Additional comments about closing: Thanks @regid1. Added in 1.8.0-2 in [testing]
Tuesday, 11 September 2018, 20:15 GMT
Reason for closing: Implemented
Additional comments about closing: Thanks @regid1. Added in 1.8.0-2 in [testing]
# edit: this seems to work for 1.6.2-2 too.
--- PKGBUILD.orig 2018-08-20 07:34:17.000000000 +0000
+++ PKGBUILD 2018-08-25 23:51:24.708770822 +0000
@@ -63,6 +63,8 @@ build() {
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
+ install iptables/iptables-apply "$pkgdir/usr/bin/iptables-apply"
+ gzip --to-stdout --best iptables/iptables-apply.8 > "$pkgdir/usr/share/man/man8/iptables-apply.8.gz"
cd "$srcdir"
install -Dm644 empty.rules "$pkgdir/etc/iptables/empty.rules