milis/talimatname/genel/i/ipset/talimat

20 lines
503 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: IP veya port ayarlamaları için yetkili uygulaması
2017-04-19 01:39:05 +02:00
# URL: http://ipset.netfilter.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: iptables libmnl
2017-04-19 01:39:05 +02:00
2017-10-28 14:10:23 +02:00
isim=ipset
surum=6.32
devir=1
kaynak=(http://$isim.netfilter.org/$isim-$surum.tar.bz2)
2017-04-19 01:39:05 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2017-04-19 01:39:05 +02:00
./configure --prefix=/usr --sbindir=/usr/bin --with-kmod=no
make
make DESTDIR="$PKG" install
install -Dm644 lib/libipset.pc "$PKG/usr/lib/pkgconfig/libipset.pc"
# default config file
2017-10-28 14:10:23 +02:00
install -Dm 644 /dev/null "$PKG/etc/$isim.conf"
2017-04-19 01:39:05 +02:00
}