From d7bbb5ee5f446ad561f908aef7a622c4eedcebb6 Mon Sep 17 00:00:00 2001 From: milisarge Date: Wed, 19 Apr 2017 02:39:05 +0300 Subject: [PATCH] firehol.paketlendi --- talimatname/genel/firehol/talimat | 21 +++++++++++++++++++++ talimatname/genel/iprange/talimat | 19 +++++++++++++++++++ talimatname/genel/ipset/talimat | 19 +++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 talimatname/genel/firehol/talimat create mode 100644 talimatname/genel/iprange/talimat create mode 100644 talimatname/genel/ipset/talimat diff --git a/talimatname/genel/firehol/talimat b/talimatname/genel/firehol/talimat new file mode 100644 index 000000000..b39661775 --- /dev/null +++ b/talimatname/genel/firehol/talimat @@ -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 +} diff --git a/talimatname/genel/iprange/talimat b/talimatname/genel/iprange/talimat new file mode 100644 index 000000000..4fe710758 --- /dev/null +++ b/talimatname/genel/iprange/talimat @@ -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 + +} diff --git a/talimatname/genel/ipset/talimat b/talimatname/genel/ipset/talimat new file mode 100644 index 000000000..f5d2fe3ac --- /dev/null +++ b/talimatname/genel/ipset/talimat @@ -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" +}