ck4upp - perl implementation of ck4up
hi, fyi: To gain more knowlege about perl, i've written ck4up in perl. Since i was annoyed about the fact, that ck4up was not able to send emails to the port maintainers if something changed, i've added it to ck4upp. So it is possible to setup a conjob on one server which then notifies all maintainers, if needed. There are a view perl ports needed: p5-config-general, p5-lwp and p5-mailtools. All of them are in some repositiries at crux.nu, but if you want to have a unified source, you can use mine [1][2]. "/path/to/ck4upp --help" gives you a short summary of it's options. If you want a longer explanation, you can read the pod of this script (perldoc /path/to/ck4upp should work) ck4upp needs a config file (~/.ck4upp by default) where the packages to check are specified. In short the format is as follows: <portname> checkurl http://ckeck/me mailto notify@me.now </portname> The mailto option is voluntary. It is possible, that you have to set the PERL_MAILERS environment variable for sendmail. If you are missing some features, please tell me. bye richi [1] http://www.deri.at/~richardp/ports/ [2] http://www.deri.at/~richardp/ports/namenlos.httpup -- quoting guide: http://www.xs4all.nl/~hanb/documents/quotingguide.html
hi, i've updated the ck4upp[1][2] script. now it is possible to check for the newest version of a program in a directory listing of a webserver. This might be helpful, if you want to check the newest version of a perl module, or something simmilar. The only thing which has to be done is to put the stirng "${version} into the url. E.g.: checkurl http://cpan.serveroffice.at/authors/id/J/JP/JPEACOCK/version-${version}.tar.gz A view things has been changed: the md5sum key in the config file is now called refval. sed -ie 's|md5sum|refval|' ~/.ck4upp should do the changes. Also now the p5-version module is needed (can be found in my repository) Btw: the p5-lwp module can be found in contrib. bye richi [1] http://www.deri.at/~richardp/ck4upp [2] http://www.deri.at/~richardp/ck4upp.html On Tue, Jul 17, 2007 at 10:46:28AM +0200, Richard Pöttler wrote:
hi,
fyi: To gain more knowlege about perl, i've written ck4up in perl. Since i was annoyed about the fact, that ck4up was not able to send emails to the port maintainers if something changed, i've added it to ck4upp. So it is possible to setup a conjob on one server which then notifies all maintainers, if needed.
There are a view perl ports needed: p5-config-general, p5-lwp and p5-mailtools. All of them are in some repositiries at crux.nu, but if you want to have a unified source, you can use mine [1][2].
"/path/to/ck4upp --help" gives you a short summary of it's options. If you want a longer explanation, you can read the pod of this script (perldoc /path/to/ck4upp should work)
ck4upp needs a config file (~/.ck4upp by default) where the packages to check are specified. In short the format is as follows:
<portname> checkurl http://ckeck/me mailto notify@me.now </portname>
The mailto option is voluntary.
It is possible, that you have to set the PERL_MAILERS environment variable for sendmail.
If you are missing some features, please tell me.
bye richi
[1] http://www.deri.at/~richardp/ports/ [2] http://www.deri.at/~richardp/ports/namenlos.httpup -- quoting guide: http://www.xs4all.nl/~hanb/documents/quotingguide.html
participants (1)
-
Richard Pöttler