talimat 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. [paket]
  2. tanim = Linux çekirdeği paket filtreleme ve kontrol aracı
  3. paketci = milisarge
  4. grup = temel
  5. url = http://www.iptables.org
  6. [gerek]
  7. derleme = libnftnl libmnl
  8. calisma = libnftnl libmnl
  9. [kaynak]
  10. bz2 = https://www.netfilter.org/projects/$isim/files
  11. dosya = empty.rules
  12. dosya = empty-filter.rules
  13. dosya = empty-mangle.rules
  14. dosya = empty-nat.rules
  15. dosya = empty-raw.rules
  16. dosya = empty-security.rules
  17. dosya = simple_firewall.rules
  18. [sha256]
  19. #1 = a3778b50ed1a3256f9ca975de82c2204e508001fc2471238c8c97f3d1c4c12af
  20. [derle]
  21. betik = rm include/linux/types.h
  22. betik = ./configure --prefix=/usr --libexecdir=/usr/lib --sbindir=/usr/bin --enable-libipq --disable-nftables
  23. betik = sed -e 's/ -shared / -Wl,-O1,--as-needed\0/g' -i libtool
  24. betik = make
  25. [pakur]
  26. betik = make DESTDIR=$PKG install
  27. betik = cd ${SRC}
  28. betik = install -Dm644 empty.rules "$PKG/etc/iptables/iptables.rules"
  29. betik = install -Dm644 empty.rules "$PKG/etc/iptables/ip6tables.rules"
  30. betik = install -Dt "$PKG/usr/share/iptables" -m644 *.rules
  31. betik = ln -srt "$PKG/etc/iptables" "$PKG"/usr/share/iptables/{empty,simple_firewall}.rules