OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Michael van Elst
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   18-Jul-2003 13:49:26
  Branch: HEAD                             Handle: 2003071812492402

  Modified files:
    openpkg-src/prngd       prngd.spec rc.prngd
    openpkg-web             news.txt

  Log:
    %status, fix path to pidfile

  Summary:
    Revision    Changes     Path
    1.34        +1  -1      openpkg-src/prngd/prngd.spec
    1.6         +18 -2      openpkg-src/prngd/rc.prngd
    1.5640      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/prngd/prngd.spec
  ============================================================================
  $ cvs diff -u -r1.33 -r1.34 prngd.spec
  --- openpkg-src/prngd/prngd.spec      17 Jul 2003 15:33:08 -0000      1.33
  +++ openpkg-src/prngd/prngd.spec      18 Jul 2003 11:49:26 -0000      1.34
  @@ -33,7 +33,7 @@
   Group:        Security
   License:      PD
   Version:      0.9.27
  -Release:      20030717
  +Release:      20030718
   
   #   package options
   %option       with_fsl  yes
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/prngd/rc.prngd
  ============================================================================
  $ cvs diff -u -r1.5 -r1.6 rc.prngd
  --- openpkg-src/prngd/rc.prngd        17 Jul 2003 21:35:02 -0000      1.5
  +++ openpkg-src/prngd/rc.prngd        18 Jul 2003 11:49:26 -0000      1.6
  @@ -11,13 +11,29 @@
       prngd_log_minsize="1M"
       prngd_log_complevel="9"
   
  +%common
  +    prngd_pidfile="@l_prefix@/var/prngd/prngd.pid"
  +    prngd_socket="@l_prefix@/var/prngd/prngd.socket"
  +    prngd_signal () {
  +        [ -f $prngd_pidfile ] && kill -$1 `cat $prngd_pidfile`
  +    }
  +
  +%status -p 200 -u @l_susr@ -o
  +    prngd_usable="unknown"
  +    prngd_active="no"
  +    opService prngd enable yes && \
  +        prngd_signal 0 && prngd_active="yes"
  +    echo "prngd_enable=\"$prngd_enable\""
  +    echo "prngd_usable=\"$prngd_usable\""
  +    echo "prngd_active=\"$prngd_active\""
  +
   %start -p 200 -u @l_susr@
       opService prngd enable yes || exit 0
  -    @l_prefix@/sbin/prngd -p @l_prefix@/etc/prngd/prngd.pid -m 660 
@l_prefix@/var/prngd/prngd.socket
  +    @l_prefix@/sbin/prngd -p $prngd_pidfile -m 660 $prngd_socket
   
   %stop -p 200 -u @l_susr@
       opService prngd enable yes || exit 0
  -    @l_prefix@/sbin/prngd -k -p @l_prefix@/etc/prngd/prngd.pid -m 660 
@l_prefix@/var/prngd/prngd.socket
  +    @l_prefix@/sbin/prngd -k -p $prngd_pidfile -m 660 $prngd_socket
   
   %daily -u @l_susr@
       opService prngd enable yes || exit 0
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.5639 -r1.5640 news.txt
  --- openpkg-web/news.txt      18 Jul 2003 11:42:36 -0000      1.5639
  +++ openpkg-web/news.txt      18 Jul 2003 11:49:24 -0000      1.5640
  @@ -1,3 +1,4 @@
  +18-Jul-2003: Upgraded package: P<prngd-0.9.27-20030718>
   18-Jul-2003: Upgraded package: P<postgresql-7.3.3-20030718>
   18-Jul-2003: Upgraded package: P<openldap-2.1.22-20030718>
   18-Jul-2003: Upgraded package: P<portsentry-1.1-20030718>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to