Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=3e7cd42ea1d63737a1ed52cb91349e0019f73a9e
commit 3e7cd42ea1d63737a1ed52cb91349e0019f73a9e Author: Miklos Vajna <[email protected]> Date: Sun Nov 27 14:08:22 2011 +0100 knb-0.2.2-2-i686 - bin, dead since 2007 diff --git a/source/network-extra/knb/FrugalBuild b/source/network-extra/knb/FrugalBuild deleted file mode 100644 index 29fe2dc..0000000 --- a/source/network-extra/knb/FrugalBuild +++ /dev/null @@ -1,37 +0,0 @@ -# Compiling Time: 0.05 SBU -# Maintainer: Miklos Vajna <[email protected]> - -pkgname=knb -pkgver=0.2.2 -pkgrel=2 -pkgdesc="An IRC bot to keep your nick on networks where there are no services." -url="http://www.beer.one.pl/~esio/c/" -depends=('glibc') -groups=('network-extra') -archs=('i686' 'x86_64') -up2date="lynx -dump $url |Flastarchive '-src.tar.gz\$'" -source=(http://www.beer.one.pl/~esio/c/knb-$pkgver-src.tar.gz \ - http://www.beer.one.pl/~esio/c/HELP.txt \ - README.Frugalware \ - knb-pidcheck.patch) -sha1sums=('3bba023275edbdb0e8056332d72fdd43de4b2b68' \ - '8490ce44c17a9f45cc6efd050708020caa081b5a' \ - '33510a6bc96d37f1cb107e1f768185f5060a2773' \ - '2816355de9bd7f8d86e53e70bb00b9216973be94') - -build() -{ - Fcd knb - Fpatchall - cd src - if [ "$CARCH" == "x86_64" ]; then - Fsed amd64 x86_64 configure.sh - Fsed athlon-xp k8 configure.sh - fi - ./configure || return 1 - make dynamic || return 1 - cd .. - Fexerel /usr/bin/knb - Fdocrel cfg-examples scripts README - Fdoc README.Frugalware HELP.txt -} diff --git a/source/network-extra/knb/README.Frugalware b/source/network-extra/knb/README.Frugalware deleted file mode 100644 index ed857e2..0000000 --- a/source/network-extra/knb/README.Frugalware +++ /dev/null @@ -1,33 +0,0 @@ -To use knb, you need a config file like this: - ----- -nick idlenick -realname Knb -nicks keepnick -server irc.server.com 6667 -channel #channel ----- - -where `idlenick` is used till `keepnick` is used by someone else. The bot will -join to `#channel` on `irc.server.com`. - -You need to register that you're the owner for the first time. To do this, join -`#channel` and - ----- -!new nick!ident@host ----- - -to give access someone to the bot. - -Once `keepnick` is no longer used and knb switched to that nick, you can use - ----- -!n -yes idlenick ----- - -to change knb's nick back to `idlenick`, so that you can change your nick back -to `keepnick`. - -See the `scripts` directory on how to re-start your knb from cron -automatically. diff --git a/source/network-extra/knb/knb-pidcheck.patch b/source/network-extra/knb/knb-pidcheck.patch deleted file mode 100644 index 9c503a0..0000000 --- a/source/network-extra/knb/knb-pidcheck.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -Naur knb.orig/scripts/knbchk.sh knb/scripts/knbchk.sh ---- knb.orig/scripts/knbchk.sh 2006-10-01 14:31:02.000000000 +0200 -+++ knb/scripts/knbchk.sh 2007-11-24 18:51:37.000000000 +0100 -@@ -47,11 +47,8 @@ - exit 0 - fi - --# searching for pid readed from pid file in process list --TMPPID=`ps ux -U $USER | grep $MYPID | head -n 1 | awk '{ print $2 }'` -- - # is bot allready running? --if [ ! "$TMPPID" = "$MYPID" ]; then -+if [ ! -d "/proc/$MYPID" ]; then - # no, so we start it now (and removing pid file) - echo "-+- Starting Knb bot.." - rm -fr $PIDFILE _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
