Commit 00f4ba18 authored by Seblu's avatar Seblu
Browse files

ipset up



git-svn-id: https://seblu.net/s/archpkg@10 02741741-5192-46b8-8916-7152b19231d9
parent 641b66ed
Loading
Loading
Loading
Loading
+13 −2
Original line number Diff line number Diff line
@@ -6,11 +6,22 @@ pkgdesc="Iptables extension, allowing treatment of large sets of hosts/nets as a
arch=(i686 x86_64)
url="http://ipset.netfilter.org"
license=('GPL2')
install=install
source=(http://ipset.netfilter.org/$pkgname-$pkgver.tar.bz2)
md5sums=('e21e9d9dfb8a01fc0122323ff1d6cbdb')

build() {
	cd $srcdir/$pkgname-$pkgver
	make binaries || return 1
	make PREFIX=/usr DESTDIR=$pkgdir binaries_install
	make || return 1
}

package() {
	cd $srcdir/$pkgname-$pkgver
  export PREFIX=/usr
  export INSTALL_MOD_PATH=$pkgdir
  export MANDIR=/usr/share/man
  export DESTDIR=$pkgdir
  make install
}

# vim:set ts=2 sw=2 ft=sh et:

ipset/install

0 → 100644
+9 −0
Original line number Diff line number Diff line
# arg 1:  the new package version
# arg 2:  the old package version

post_install () {
  echo "This package build kernel module!"
  echo "You need to rebuild it everytime you update your kernel version."
}

# vim:set ts=2 sw=2 ft=sh et: