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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   10-Jul-2003 17:02:37
  Branch: HEAD                             Handle: 2003071016023303

  Added files:
    openpkg-src/bind8       bind8.patch rc.bind8
  Modified files:
    openpkg-src/bind8       bind8.spec
    openpkg-web             news.txt
  Removed files:
    openpkg-src/bind8       bind.patch rc.bind

  Log:
    cleanup packaging to conform to the latest world order

  Summary:
    Revision    Changes     Path
    1.8         +0  -52     openpkg-src/bind8/bind.patch
    1.1         +52 -0      openpkg-src/bind8/bind8.patch
    1.30        +4  -4      openpkg-src/bind8/bind8.spec
    1.7         +0  -40     openpkg-src/bind8/rc.bind
    1.1         +35 -0      openpkg-src/bind8/rc.bind8
    1.5512      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  rm -f openpkg-src/bind8/bind.patch <<'@@ .'
  Index: openpkg-src/bind8/bind.patch
  ============================================================================
  [NO CHANGE SUMMARY BECAUSE FILE AS A WHOLE IS JUST REMOVED]
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/bind8/bind8.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 bind8.patch
  --- /dev/null 2003-07-10 17:02:37.000000000 +0200
  +++ bind8.patch       2003-07-10 17:02:37.000000000 +0200
  @@ -0,0 +1,52 @@
  +--- src/lib/isc/eventlib.c.orig      Thu Jul  4 15:01:28 2002
  ++++ src/lib/isc/eventlib.c   Thu Jul  4 15:02:04 2002
  +@@ -293,9 +293,15 @@
  +                     evPrintf(ctx, 4,
  +                             "pselect(%d, 0x%lx, 0x%lx, 0x%lx, %d.%09ld)\n",
  +                              ctx->fdMax+1,
  ++#ifdef __linux__
  ++                             (u_long)ctx->rdLast.__fds_bits[0],
  ++                             (u_long)ctx->wrLast.__fds_bits[0],
  ++                             (u_long)ctx->exLast.__fds_bits[0],
  ++#else
  +                              (u_long)ctx->rdLast.fds_bits[0],
  +                              (u_long)ctx->wrLast.fds_bits[0],
  +                              (u_long)ctx->exLast.fds_bits[0],
  ++#endif
  +                              tp ? (long)tp->tv_sec : -1L,
  +                              tp ? tp->tv_nsec : -1);
  + 
  +--- src/lib/isc/ev_files.c.orig      Thu Jul  4 15:01:42 2002
  ++++ src/lib/isc/ev_files.c   Thu Jul  4 15:01:54 2002
  +@@ -146,9 +146,15 @@
  +     evPrintf(ctx, 5,
  +             "evSelectFD(fd %d, mask 0x%x): new masks: 0x%lx 0x%lx 0x%lx\n",
  +              fd, eventmask,
  ++#ifdef __linux__
  ++             (u_long)ctx->rdNext.__fds_bits[0],
  ++             (u_long)ctx->wrNext.__fds_bits[0],
  ++             (u_long)ctx->exNext.__fds_bits[0]);
  ++#else
  +              (u_long)ctx->rdNext.fds_bits[0],
  +              (u_long)ctx->wrNext.fds_bits[0],
  +              (u_long)ctx->exNext.fds_bits[0]);
  ++#endif
  + 
  +     return (0);
  + }
  +@@ -262,9 +268,15 @@
  +     evPrintf(ctx, 5,
  +           "evDeselectFD(fd %d, mask 0x%x): new masks: 0x%lx 0x%lx 0x%lx\n",
  +              del->fd, eventmask,
  ++#ifdef __linux__
  ++             (u_long)ctx->rdNext.__fds_bits[0],
  ++             (u_long)ctx->wrNext.__fds_bits[0],
  ++             (u_long)ctx->exNext.__fds_bits[0]);
  ++#else
  +              (u_long)ctx->rdNext.fds_bits[0],
  +              (u_long)ctx->wrNext.fds_bits[0],
  +              (u_long)ctx->exNext.fds_bits[0]);
  ++#endif
  + 
  +     /* Couldn't free it before now since we were using fields out of it. */
  +     FREE(del);
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/bind8/bind8.spec
  ============================================================================
  $ cvs diff -u -r1.29 -r1.30 bind8.spec
  --- openpkg-src/bind8/bind8.spec      8 Jul 2003 14:38:47 -0000       1.29
  +++ openpkg-src/bind8/bind8.spec      10 Jul 2003 15:02:36 -0000      1.30
  @@ -33,7 +33,7 @@
   Group:        DNS
   License:      GPL
   Version:      8.4.1
  -Release:      20030609
  +Release:      20030710
   
   #   list of sources
   Source0:      ftp://ftp.isc.org/isc/bind/src/%{version}/bind-src.tar.gz
  @@ -43,8 +43,8 @@
   Source4:      db.localhost
   Source5:      db.127.0.0
   Source6:      named.conf
  -Source7:      rc.bind
  -Patch0:       bind.patch
  +Source7:      rc.bind8
  +Patch0:       bind8.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -126,7 +126,7 @@
           -e 's;@l_susr@;%{l_susr};g' \
           -e 's;@l_musr@;%{l_musr};g' \
           -e 's;@l_mgrp@;%{l_mgrp};g' \
  -        %{SOURCE rc.bind} \
  +        %{SOURCE rc.bind8} \
           $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
   
       #   install a reasonable default configuration
  @@ .
  rm -f openpkg-src/bind8/rc.bind <<'@@ .'
  Index: openpkg-src/bind8/rc.bind
  ============================================================================
  [NO CHANGE SUMMARY BECAUSE FILE AS A WHOLE IS JUST REMOVED]
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/bind8/rc.bind8
  ============================================================================
  $ cvs diff -u -r0 -r1.1 rc.bind8
  --- /dev/null 2003-07-10 17:02:37.000000000 +0200
  +++ rc.bind8  2003-07-10 17:02:37.000000000 +0200
  @@ -0,0 +1,35 @@
  [EMAIL PROTECTED]@/lib/openpkg/bash @l_prefix@/etc/rc
  +##
  +##  rc.bind8 -- Run-Commands for BIND Daemon
  +##
  +
  +%config
  +    bind8_enable="$openpkg_rc_def"
  +    bind8_log_numfiles="5"
  +    bind8_log_minsize="512K"
  +    bind8_log_complevel="9"
  +
  +%start -p 100 -u @l_susr@
  +    opServiceEnabled bind8 || exit 0
  +    @l_prefix@/sbin/ndc start
  +
  +%stop -p 200 -u @l_susr@
  +    opServiceEnabled bind8 || exit 0
  +    @l_prefix@/sbin/ndc stop
  +
  +%restart -u @l_susr@
  +    opServiceEnabled bind8 || exit 0
  +    @l_prefix@/sbin/ndc restart
  +
  +%reload -u @l_susr@
  +    opServiceEnabled bind8 || exit 0
  +    @l_prefix@/sbin/ndc reload
  +
  +%daily -u @l_susr@
  +    opServiceEnabled bind8 || exit 0
  +    shtool rotate -f \
  +        -n${bind8_log_numfiles} -s${bind8_log_minsize} \
  +        -d -z${bind8_log_complevel} [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ -m644 \
  +        -E '@l_prefix@/sbin/ndc restart | grep -v "new pid is"' \
  +        @l_prefix@/var/bind/named.log
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.5511 -r1.5512 news.txt
  --- openpkg-web/news.txt      10 Jul 2003 14:48:54 -0000      1.5511
  +++ openpkg-web/news.txt      10 Jul 2003 15:02:33 -0000      1.5512
  @@ -1,3 +1,4 @@
  +10-Jul-2003: Upgraded package: P<bind8-8.4.1-20030710>
   10-Jul-2003: Upgraded package: P<lyx-1.3.2-20030710>
   10-Jul-2003: Upgraded package: P<openpkg-tool-20030710-20030710>
   10-Jul-2003: Upgraded package: P<imagemagick-5.4.8.2-1.1.1>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to