milis/talimatname/genel/i/ipset/talimat

20 lines
511 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
name=ipset
version=6.32
release=1
source=(http://$name.netfilter.org/$name-$version.tar.bz2)
build() {
cd $name-$version
./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
install -Dm 644 /dev/null "$PKG/etc/$name.conf"
}