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:   12-Jun-2003 21:35:23
  Branch: HEAD                             Handle: 2003061220352201

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

  Log:
    fix building, quick and dirty patch to support solaris, rewriting to
    use a more portable interface than gethostbyname2 would be better

  Summary:
    Revision    Changes     Path
    1.17        +13 -1      openpkg-src/dnstracer/dnstracer.spec
    1.4847      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/dnstracer/dnstracer.spec
  ============================================================================
  $ cvs diff -u -r1.16 -r1.17 dnstracer.spec
  --- openpkg-src/dnstracer/dnstracer.spec      14 Feb 2003 19:49:16 -0000      1.16
  +++ openpkg-src/dnstracer/dnstracer.spec      12 Jun 2003 19:35:23 -0000      1.17
  @@ -33,10 +33,11 @@
   Group:        DNS
   License:      BSD
   Version:      1.7
  -Release:      20030214
  +Release:      20030612
   
   #   list of sources
   Source0:      http://www.mavetju.org/download/dnstracer-%{version}.tar.gz
  +Patch0:       dnstracer.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -53,8 +54,19 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
  +    #   enable platform-specific patch
  +    case "%{l_target}" in
  +    solaris*) defs=""                      ;;
  +    *)        defs="-DHAVE_GETHOSTBYNAME2" ;;
  +    esac
  +
  +    ACLOCAL=true \
  +    AUTOCONF=true \
  +    AUTOMAKE=true \
  +    AUTOHEADER=true \
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
       ./configure \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.4846 -r1.4847 news.txt
  --- openpkg-web/news.txt      12 Jun 2003 19:28:50 -0000      1.4846
  +++ openpkg-web/news.txt      12 Jun 2003 19:35:22 -0000      1.4847
  @@ -1,3 +1,4 @@
  +12-Jun-2003: Upgraded package: P<dnstracer-1.7-20030612>
   12-Jun-2003: Upgraded package: P<bochs-2.0.2-20030612>
   12-Jun-2003: Upgraded package: P<pango-1.2.3-20030612>
   12-Jun-2003: Upgraded package: P<sendmail-8.12.9-20030612>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to