OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 15-Mar-2004 14:19:08
Branch: HEAD Handle: 2004031513190800
Modified files:
openpkg-src/ripe-dbase rc.ripe-dbase ripe-dbase.spec
Log:
correct rcService arguments in rc file, and explicitly copy RIPE/*
files (although it is at least useless in version 3.2.0, but do it
anyways in spec file to mimic what happens in distributed 'build.sh'
script that could otherwise raise issues silently in future versions)
Summary:
Revision Changes Path
1.8 +8 -8 openpkg-src/ripe-dbase/rc.ripe-dbase
1.21 +5 -1 openpkg-src/ripe-dbase/ripe-dbase.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/ripe-dbase/rc.ripe-dbase
============================================================================
$ cvs diff -u -r1.7 -r1.8 rc.ripe-dbase
--- openpkg-src/ripe-dbase/rc.ripe-dbase 27 Dec 2003 22:56:07 -0000 1.7
+++ openpkg-src/ripe-dbase/rc.ripe-dbase 15 Mar 2004 13:19:08 -0000 1.8
@@ -21,31 +21,31 @@
%status -u @l_susr@ -o
ripe_dbase_usable="unknown"
ripe_dbase_active="no"
- rcService ripe_dbase enable yes && \
+ rcService ripe-dbase enable yes && \
ripe_dbase_signal 0 && ripe_dbase_active="yes"
echo "ripe_dbase_enable=\"$ripe_dbase_enable\""
echo "ripe_dbase_usable=\"$ripe_dbase_usable\""
echo "ripe_dbase_active=\"$ripe_dbase_active\""
%start -u @l_susr@
- rcService ripe_dbase enable yes || exit 0
- rcService ripe_dbase active yes && exit 0
+ rcService ripe-dbase enable yes || exit 0
+ rcService ripe-dbase active yes && exit 0
nohup @l_prefix@/bin/whois_rip -p ${ripe_dbase_pidfile} \
-c ${ripe_dbase_cfgfile} &
%stop -u @l_susr@
- rcService ripe_dbase enable yes || exit 0
- rcService ripe_dbase active no && exit 0
+ rcService ripe-dbase enable yes || exit 0
+ rcService ripe-dbase active no && exit 0
ripe_dbase_signal TERM
sleep 2
%restart -u @l_susr@
- rcService ripe_dbase enable yes || exit 0
- rcService ripe_dbase active no && exit 0
+ rcService ripe-dbase enable yes || exit 0
+ rcService ripe-dbase active no && exit 0
rc ripe-dbase stop start
%daily -u @l_susr@
- rcService ripe_dbase enable yes || exit 0
+ rcService ripe-dbase enable yes || exit 0
# rotate logfile
shtool rotate -f \
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/ripe-dbase/ripe-dbase.spec
============================================================================
$ cvs diff -u -r1.20 -r1.21 ripe-dbase.spec
--- openpkg-src/ripe-dbase/ripe-dbase.spec 11 Mar 2004 11:22:27 -0000 1.20
+++ openpkg-src/ripe-dbase/ripe-dbase.spec 15 Mar 2004 13:19:08 -0000 1.21
@@ -36,7 +36,7 @@
Group: Database
License: RIPE NCC
Version: 3.2.0
-Release: 20040311
+Release: 20040315
# package options
%option with_extobjs no
@@ -75,6 +75,10 @@
%prep
%setup -q
+ cp -f defs/variants/RIPE/*.xml defs/
+ cp -f defs/variants/RIPE/*.h defs/
+ cp -f defs/variants/RIPE/Makefile.syntax defs/
+ cp -f defs/variants/RIPE/*.def include/
%patch -p0
%if "%{with_extobjs}" == "yes"
%patch -p0 -P 1
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]