Wed Nov 16 18:44:20 CET 2005 BMH1980 <[EMAIL PROTECTED]> * courier-authlib-0.57-5-i686 Adding the new init msg system for rc.courier-authlib Removing sh like translation files Fixing SBU Frcd -> Frcd2 in build() Adding de gettext translation file for rc.courier-authlib Adding rc.courier-authlib.pot diff -rN -u old-frugalware-current-2/source/network/courier-authlib/FrugalBuild new-frugalware-current-2/source/network/courier-authlib/FrugalBuild --- old-frugalware-current-2/source/network/courier-authlib/FrugalBuild 2005-11-16 19:48:29.000000000 +0100 +++ new-frugalware-current-2/source/network/courier-authlib/FrugalBuild 2005-11-16 19:48:43.000000000 +0100 @@ -1,19 +1,24 @@ -# Last Modified: Tue, 25 Oct 2005 18:02:55 +0200 -# Compiling Time: 2.66 SBU +# Last Modified: Wed, 16 Nov 2005 10:51:42 +0100 +# Compiling Time: 0.93 SBU # Maintainer: Zoltan Kiss <[EMAIL PROTECTED]> pkgname=courier-authlib pkgver=0.57 -pkgrel=4 +pkgrel=5 pkgdesc="The Courier authentication library & daemon" depends=('expect' 'openldap' 'mysql' 'postgresql' 'gdbm' 'procps') groups=('network') archs=('i686' 'x86_64') backup=('etc/courier/authdaemonrc') up2date="lynx -dump 'http://www.courier-mta.org/download.php'|grep authlib|sed -n 's/.*-\(.*\)\.t.*/\1/;1 p'" -source=(http://dl.sourceforge.net/sourceforge/courier/$pkgname-$pkgver.tar.bz2 rc.courier-authlib authdaemonrc.frugal README.frugalware) -md5sums=('af146ac84f0c3ee00006af50b4415d8a' 'ec05d0028fa38de6d7f78d86cd753c5c' \ - '140bd6ed28419f055ef66f1516795157' 'e484a46ea43b738d2ae805e4ea7f60e2') +source=(http://dl.sourceforge.net/sourceforge/courier/$pkgname-$pkgver.tar.bz2 \ + rc.courier-authlib rc.courier-authlib-de.po authdaemonrc.frugal \ + README.frugalware) +sha1sums=('dd68cf4ff7f73ce472206c88dc19a0fd93128f63' \ + '4b7ccd3eafb11fb86abce5bc2c09069f8a190e01' \ + '2ac194885e90df15d3d7fc3f38f3822cd931fa9a' \ + '57669b3fd1d3dda9d4e00d91a6a53ab31fd8e5a0' \ + '752746ca155da14869eeaaee0062da8e9f0ba05e') build() { @@ -55,7 +60,7 @@ Fdoc README.frugalware #init scripts - Frcd courier-authlib + Frcd2 } # vim: ft=sh diff -rN -u old-frugalware-current-2/source/network/courier-authlib/messages/courier-authlib.en new-frugalware-current-2/source/network/courier-authlib/messages/courier-authlib.en --- old-frugalware-current-2/source/network/courier-authlib/messages/courier-authlib.en 2005-11-16 19:48:30.000000000 +0100 +++ new-frugalware-current-2/source/network/courier-authlib/messages/courier-authlib.en 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -stopcourier_authlib="Stopping courier-authdaemon" -startcourier_authlib="Starting courier-authdaemon" diff -rN -u old-frugalware-current-2/source/network/courier-authlib/messages/courier-authlib.hu new-frugalware-current-2/source/network/courier-authlib/messages/courier-authlib.hu --- old-frugalware-current-2/source/network/courier-authlib/messages/courier-authlib.hu 2005-11-16 19:48:30.000000000 +0100 +++ new-frugalware-current-2/source/network/courier-authlib/messages/courier-authlib.hu 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -stopcourier_authlib="A courier-authdaemon szolgáltatás leállítása" -startcourier_authlib="A courier-authdaemon szolgáltatás indítása" diff -rN -u old-frugalware-current-2/source/network/courier-authlib/rc.courier-authlib new-frugalware-current-2/source/network/courier-authlib/rc.courier-authlib --- old-frugalware-current-2/source/network/courier-authlib/rc.courier-authlib 2005-11-16 19:48:29.000000000 +0100 +++ new-frugalware-current-2/source/network/courier-authlib/rc.courier-authlib 2005-11-16 19:48:43.000000000 +0100 @@ -1,35 +1,50 @@ -#! /bin/sh +#!/bin/bash + +# (c) 2005 Marcus Habermehl <[EMAIL PROTECTED]> # (c) 2005 Zoltan Kiss <[EMAIL PROTECTED]> # rc.courier-authdaemon for FrugalWare # distributed under GPL License -. /etc/rc.d/rc.functions - # init script for the Courier-MTA Authentication Daemon # based on authlib.rc provided by courier-authlib source package. # chkconfig: 2345 81 32 # description: Starts and stops the Courier Authentication daemon. -prefix="/usr" -exec_prefix=${prefix} -sysconfdir="/etc/courier" -sbindir="${exec_prefix}/sbin" -localstatedir=/var/lib/courier - -if [ "$1" = "stop" ]; then - stop "$stopcourier_authlib" - ${sbindir}/courierlogger -pid=/var/run/courier/pid -stop /usr/libexec/courier-authlib/authdaemond - ok $? - elif [ "$1" = "restart" ]; then - "$0" stop - sleep 1 - "$0" start - else # start - start "$startcourier_authlib" - #set -a - . /etc/courier/authdaemonrc - ${sbindir}/courierlogger -pid=/var/run/courier/pid -start /usr/libexec/courier-authlib/authdaemond - ok $? -fi - \ No newline at end of file +source /lib/initscripts/functions +TEXTDOMAIN=courier-authlib + +actions=(restart start status stop) +daemon=$"courier-authdaemon" + +pid="pidof courierlogger 2> /dev/nul" + +rc_start() +{ + start_msg + if [[ "$(eval ${pid})" == "" ]] ; then + [ -f /etc/courier/authdaemonrc ] && \ + source /etc/courier/authdaemonrc + /usr/sbin/courierlogger -pid=/var/run/courier/pid -start \ + /usr/libexec/courier-authlib/authdaemond + ok $? + else + ok 999 + fi +} + +rc_stop() +{ + stop_msg + if [[ "$(eval ${pid})" != "" ]] ; then + /usr/sbin/courierlogger -pid=/var/run/courier/pid -stop \ + /usr/libexec/courier-authlib/authdaemond + ok $? + else + ok 999 + fi +} + +rc_exec $1 + +# vim: ft=sh diff -rN -u old-frugalware-current-2/source/network/courier-authlib/rc.courier-authlib-de.po new-frugalware-current-2/source/network/courier-authlib/rc.courier-authlib-de.po --- old-frugalware-current-2/source/network/courier-authlib/rc.courier-authlib-de.po 1970-01-01 01:00:00.000000000 +0100 +++ new-frugalware-current-2/source/network/courier-authlib/rc.courier-authlib-de.po 2005-11-16 19:48:43.000000000 +0100 @@ -0,0 +1,21 @@ +# rc.courier-authlib. +# Copyright (C) 2005 THE rc.courier-authlib'S COPYRIGHT HOLDER +# This file is distributed under the same license as the rc.courier-authlib package. +# Marcus Habermehl <[EMAIL PROTECTED]>, 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: rc.courier-authlib\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-11-16 10:40+0100\n" +"PO-Revision-Date: 2005-11-16 10:43+0100\n" +"Last-Translator: Marcus Habermehl <[EMAIL PROTECTED]>\n" +"Language-Team: German <[EMAIL PROTECTED]>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: rc.courier-authlib:18 +msgid "courier-authdaemon" +msgstr "courier-auth Daemon" diff -rN -u old-frugalware-current-2/source/network/courier-authlib/rc.courier-authlib.new new-frugalware-current-2/source/network/courier-authlib/rc.courier-authlib.new --- old-frugalware-current-2/source/network/courier-authlib/rc.courier-authlib.new 2005-11-16 19:48:29.000000000 +0100 +++ new-frugalware-current-2/source/network/courier-authlib/rc.courier-authlib.new 1970-01-01 01:00:00.000000000 +0100 @@ -1,50 +0,0 @@ -#!/bin/bash - -# (c) 2005 Marcus Habermehl <[EMAIL PROTECTED]> -# (c) 2005 Zoltan Kiss <[EMAIL PROTECTED]> -# rc.courier-authdaemon for FrugalWare -# distributed under GPL License - -# init script for the Courier-MTA Authentication Daemon -# based on authlib.rc provided by courier-authlib source package. - -# chkconfig: 2345 81 32 -# description: Starts and stops the Courier Authentication daemon. - -source /lib/initscripts/functions -TEXTDOMAIN=courier-authlib - -actions=(restart start status stop) -daemon=$"courier-authdaemon" - -pid="$(pidof courierlogger 2> /dev/nul)" - -rc_start() -{ - start_msg - if [ -z ${pid} ] ; then - [ -f /etc/courier/authdaemonrc ] && \ - source /etc/courier/authdaemonrc - /usr/sbin/courierlogger -pid=/var/run/courier/pid -start \ - /usr/libexec/courier-authlib/authdaemond - ok $? - else - ok 999 - fi -} - -rc_stop() -{ - stop_msg - if [ ! -z ${pid} ] ; then - /usr/sbin/courierlogger -pid=/var/run/courier/pid -stop \ - /usr/libexec/courier-authlib/authdaemond - ok $? - else - ok 999 - fi -} - -rc_exec $1 - -# vim: ft=sh diff -rN -u old-frugalware-current-2/source/network/courier-authlib/rc.courier-authlib.pot new-frugalware-current-2/source/network/courier-authlib/rc.courier-authlib.pot --- old-frugalware-current-2/source/network/courier-authlib/rc.courier-authlib.pot 1970-01-01 01:00:00.000000000 +0100 +++ new-frugalware-current-2/source/network/courier-authlib/rc.courier-authlib.pot 2005-11-16 19:48:43.000000000 +0100 @@ -0,0 +1,21 @@ +# rc.courier-authlib. +# Copyright (C) YEAR THE rc.courier-authlib'S COPYRIGHT HOLDER +# This file is distributed under the same license as the rc.courier-authlib package. +# FIRST AUTHOR <[EMAIL PROTECTED]>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: rc.courier-authlib\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-11-16 10:40+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <[EMAIL PROTECTED]>\n" +"Language-Team: LANGUAGE <[EMAIL PROTECTED]>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: rc.courier-authlib:18 +msgid "courier-authdaemon" +msgstr ""
_______________________________________________ Frugalware-darcs mailing list Frugalware-darcs@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-darcs