firehol.paketlendi

This commit is contained in:
milisarge 2017-04-19 02:39:05 +03:00
parent d39f9adfae
commit d7bbb5ee5f
3 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# Description: The iptables stateful packet filtering firewall builder.
# URL: http://firehol.sourceforge.net
# Packager: milisarge
# Depends on: iptables iproute2 iprange ipset
name=firehol
version=3.1.3
release=1.0
source=(https://github.com/firehol/firehol/releases/download/v3.1.3/firehol-3.1.3.tar.xz)
build() {
cd "$name-$version"
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--libexecdir=/usr/lib
make
make install DESTDIR="$PKG"
touch "$PKG"/etc/firehol/fire{hol,qos}.conf
}

View File

@ -0,0 +1,19 @@
# Description: ip aralıklarını yönetme aracı- firehol projesinden
# URL: http://firehol.org/
# Packager: milisarge
# Depends on: help2man
name=iprange
version=1.0.3
release=2.0
source=(https://github.com/firehol/$name/archive/v$version.tar.gz
)
build() {
cd "$name-$version"
./autogen.sh
./configure --disable-man --prefix="/usr" --sysconfdir="/etc" --sbindir="/usr/bin"
make
make prefix="$PKG/usr" sysconfdir="$PKG/etc" sbindir="$PKG/usr/bin" install
}

View File

@ -0,0 +1,19 @@
# Description: IP veya port ayarlamaları için yetkili uygulaması
# URL: http://ipset.netfilter.org/
# Packager: milisarge
# Depends on: iptables libmnl
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"
}