summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/moblockcontrol/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-09 14:56:27 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-09 14:56:27 (GMT)
commit1c93373465c75d2d115cc9da72cfa5ff21f3867e (patch)
treed48a9a8c297ed64c45b9db79e3e2ace474e6a000 /abs/extra-testing/community/moblockcontrol/PKGBUILD
parent9a44255ba27e549106e4199cda5d30e1a5035f76 (diff)
downloadlinhes_pkgbuild-1c93373465c75d2d115cc9da72cfa5ff21f3867e.zip
linhes_pkgbuild-1c93373465c75d2d115cc9da72cfa5ff21f3867e.tar.gz
linhes_pkgbuild-1c93373465c75d2d115cc9da72cfa5ff21f3867e.tar.bz2
Create moblock-control-update script and add it to cron.
create /var/spool/mblock/used modify blocklists.list REF FS#261
Diffstat (limited to 'abs/extra-testing/community/moblockcontrol/PKGBUILD')
-rw-r--r--abs/extra-testing/community/moblockcontrol/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/abs/extra-testing/community/moblockcontrol/PKGBUILD b/abs/extra-testing/community/moblockcontrol/PKGBUILD
index f13e48c..5a912e2 100644
--- a/abs/extra-testing/community/moblockcontrol/PKGBUILD
+++ b/abs/extra-testing/community/moblockcontrol/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=moblockcontrol
pkgver=1.0
-pkgrel=8
+pkgrel=10
pkgdesc="moblock-control"
arch=('i686' 'x86_64')
url="http://moblock-deb.sourceforge.net/"
@@ -10,9 +10,9 @@ license=('GPL')
groups=()
depends=('moblock')
makedepends=()
-install=
+install=moblockcontrol.install
source=(http://download.sourceforge.net/moblock-deb/moblock-control-1.0.tar.gz \
- moblock_control.patch)
+ moblock_control.patch moblock-control-update.sh)
md5sums=('1399e5465028e116e941cd1e01f6f7fc'
'dc269c6c47bc423b9093919d52e97d63')
backup=('etc/moblock/moblock.conf' 'etc/moblock/blocklists.list')
@@ -34,5 +34,9 @@ build() {
touch ${pkgdir}/var/log/moblock-control.log
touch ${pkgdir}/etc/moblock/guarding.p2p
+
+ cd $startdir/src
+ install -m 755 moblock-control-update.sh ${pkgdir}/usr/bin/moblock-control-update.sh
+ sed -i "s/config\/templist.gz/config\/badpeers.gz/" $startdir/pkg/etc/moblock/blocklists.list
}