summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/moblock/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-01 18:26:09 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-01 18:26:22 (GMT)
commite2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37 (patch)
treebee3fe89f2988dd244e11791755e129aa8c03b14 /abs/extra/community/moblock/PKGBUILD
parent8132c218cfc1f1acb1c6d12154e0d4ca075e77f2 (diff)
downloadlinhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.zip
linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.gz
linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.bz2
Mass move of uncompiled packages to abs_not_built.
The will sit here for a bit, and then will be removed completely if no one claims them.
Diffstat (limited to 'abs/extra/community/moblock/PKGBUILD')
-rwxr-xr-xabs/extra/community/moblock/PKGBUILD57
1 files changed, 0 insertions, 57 deletions
diff --git a/abs/extra/community/moblock/PKGBUILD b/abs/extra/community/moblock/PKGBUILD
deleted file mode 100755
index 0f3ff26..0000000
--- a/abs/extra/community/moblock/PKGBUILD
+++ /dev/null
@@ -1,57 +0,0 @@
-# Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
-# Maintainer: Filip Wojciechowski, filip at loka dot pl
-
-pkgname=moblock
-pkgver=0.9rc2
-pkgrel=9
-pkgdesc="Console application that blocks connections from/to hosts listed in a file in peerguardian format"
-arch=('i686' 'x86_64')
-url="http://moblock.berlios.de/"
-license=('GPL')
-depends=(libnetfilter_queue iptables)
-backup=(etc/moblock/config)
-install=moblock.install
-source=(http://download.berlios.de/moblock/MoBlock-0.8-i586.tar.bz2 \
- moblock_0.9_rc2.patch \
- MoBlock-nfq.sh.patch \
- moblock_include.patch \
- config \
- moblock-update \
- moblock \
- moblock.logrotate)
-
-build() {
- cd ${srcdir}/MoBlock-0.8
-
- # patch to update moblock to the latest cvs version
- patch -Np1 -i ../moblock_0.9_rc2.patch || return 1
- # add IP whitelisting and move configs to a separate conf file
- patch -Np1 -i ../MoBlock-nfq.sh.patch || return 1
- # necessary to make moblock build with recent kernels
- patch -Np1 -i ../moblock_include.patch || return 1
-
- # change the CFLAGS for both i686 and x84_64 builds
- sed -i "s#-Wall -O.*-ffast-math#$CFLAGS#g" Makefile
-
- # build
- make || return 1
-}
-
-package() {
- cd ${srcdir}/MoBlock-0.8
- #move the files
- install -D -m 755 ./MoBlock-nfq.sh ${pkgdir}/usr/bin/moblock-nfq || return 1
- install -D -m 744 ./moblock ${pkgdir}/usr/bin/moblock || return 1
- install -D -m 755 ../moblock-update ${pkgdir}/usr/bin/moblock-update || return 1
- install -D -m 744 ../moblock ${pkgdir}/etc/rc.d/moblock || return 1
- install -D -m 644 ../config ${pkgdir}/etc/moblock/config || return 1
- install -D -m 644 ../moblock.logrotate ${pkgdir}/etc/logrotate.d/moblock || return 1
-}
-md5sums=('199967adb48b153be90db10fe21325c5'
- 'e4e33c515677fa53eaca4616591d4e44'
- 'e9f3c6b09f5e07dee948450780340ea3'
- 'b23b5214965df59632de5cec317ddbde'
- '840bb52a99529305e49212a69c9ced8a'
- '49a16feb221d4d912cc7200313517f7b'
- '1bdc949fcff0ce751a5096e489061513'
- 'a8285fd3e68043cd8d21993d3dbbf9d4')