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
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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]
Comment by regid (regid1) - Sunday, 26 August 2018, 00:04 GMT
# For 1.8.0-1, will the following patch add the requested files?
# 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
Comment by Stefan J. Betz (encbladexp) - Sunday, 26 August 2018, 06:41 GMT
I would think so.

Loading...