Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=9fe7556b1333f8d78bf0ed9274565d3306cf5069
commit 9fe7556b1333f8d78bf0ed9274565d3306cf5069 Author: Miklos Vajna <[EMAIL PROTECTED]> Date: Tue Nov 13 09:31:23 2007 +0100 knb-0.2.2-1-i686 new package diff --git a/source/network-extra/knb/FrugalBuild b/source/network-extra/knb/FrugalBuild new file mode 100644 index 0000000..5cad604 --- /dev/null +++ b/source/network-extra/knb/FrugalBuild @@ -0,0 +1,29 @@ +# Compiling Time: 0.05 SBU +# Maintainer: VMiklos <[EMAIL PROTECTED]> + +pkgname=knb +pkgver=0.2.2 +pkgrel=1 +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') +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) +sha1sums=('3bba023275edbdb0e8056332d72fdd43de4b2b68' \ + '8490ce44c17a9f45cc6efd050708020caa081b5a' \ + '45bc711515881ca9405f298f66920af3f8d9ce94') + +build() +{ + Fcd $pkgname/src + ./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 new file mode 100644 index 0000000..cd6b8be --- /dev/null +++ b/source/network-extra/knb/README.Frugalware @@ -0,0 +1,33 @@ +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 fill +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 [EMAIL PROTECTED] +---- + +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. _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git