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                      Date:   18-Aug-2004 09:58:24
  Branch: HEAD                             Handle: 2004081808582300

  Modified files:
    openpkg-src/tardy       tardy.patch tardy.spec

  Log:
    upgrading package: tardy 1.11 -> 1.12

  Summary:
    Revision    Changes     Path
    1.3         +9  -51     openpkg-src/tardy/tardy.patch
    1.14        +11 -7      openpkg-src/tardy/tardy.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/tardy/tardy.patch
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 tardy.patch
  --- openpkg-src/tardy/tardy.patch     17 Jan 2003 10:47:13 -0000      1.2
  +++ openpkg-src/tardy/tardy.patch     18 Aug 2004 07:58:23 -0000      1.3
  @@ -1,55 +1,13 @@
  ---- common/error.cc  Wed Oct 16 13:53:49 2002
  -+++ common/error.cc  Wed Oct 16 18:01:24 2002
  -@@ -28,6 +28,7 @@
  - #include <ac/stdlib.h>
  - #include <ac/string.h>
  - 
  -+#include <sys/types.h>
  - #include <grp.h>
  - #include <pwd.h>
  - #include <ac/unistd.h>
  ---- common/tar/input/filename.cc     Wed Oct 16 13:53:49 2002
  -+++ common/tar/input/filename.cc     Wed Oct 16 18:01:36 2002
  -@@ -27,7 +27,6 @@
  - #include <ac/unistd.h>
  - #include <sys/types.h>
  - #include <sys/stat.h>
  --#include <sys/sysmacros.h>
  - #include <pwd.h>
  - #include <grp.h>
  - 
  ---- common/config.h.in.orig  Sun Oct 20 04:08:24 2002
  -+++ common/config.h.in       Fri Jan 17 11:32:21 2003
  -@@ -130,6 +130,9 @@
  - /* Define if you have the <unistd.h> header file.  */
  - #undef HAVE_UNISTD_H
  - 
  -+/* Define if you have the <sys/mkdev.h> header file.  */
  -+#undef HAVE_SYS_MKDEV_H
  -+
  - /* Define if you have the socket library (-lsocket).  */
  - #undef HAVE_LIBSOCKET
  - 
  ---- configure.orig   Sun Oct 20 04:08:24 2002
  -+++ configure        Fri Jan 17 11:31:21 2003
  -@@ -2960,7 +2960,7 @@
  - 
  - 
  - for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  --                  inttypes.h stdint.h unistd.h
  -+                  inttypes.h stdint.h unistd.h sys/mkdev.h
  - do
  - as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  - echo "$as_me:$LINENO: checking for $ac_header" >&5
  ---- common/tar/input/filename.cc.orig        Fri Jan 17 11:29:31 2003
  -+++ common/tar/input/filename.cc     Fri Jan 17 11:32:56 2003
  -@@ -27,6 +27,9 @@
  - #include <ac/unistd.h>
  - #include <sys/types.h>
  +Index: common/tar/input/filename.cc
  +--- common/tar/input/filename.cc.orig        2004-08-17 04:48:24.000000000 +0200
  ++++ common/tar/input/filename.cc     2004-08-18 09:55:17.567867930 +0200
  +@@ -29,6 +29,9 @@
    #include <sys/stat.h>
  -+#ifdef HAVE_SYS_MKDEV_H
  + #include <ac/pwd.h>
  + #include <ac/grp.h>
  ++#if defined(__sun)
   +#include <sys/mkdev.h>
   +#endif
  - #include <pwd.h>
  - #include <grp.h>
    
  + #include <file/input/normal.h>
  + #include <tar/input/filename.h>
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/tardy/tardy.spec
  ============================================================================
  $ cvs diff -u -r1.13 -r1.14 tardy.spec
  --- openpkg-src/tardy/tardy.spec      7 Feb 2004 17:59:10 -0000       1.13
  +++ openpkg-src/tardy/tardy.spec      18 Aug 2004 07:58:23 -0000      1.14
  @@ -26,18 +26,18 @@
   #   package information
   Name:         tardy
   Summary:      Tar File Post-Processor
  -URL:          http://www.canb.auug.org.au/~millerp/tardy.html
  +URL:          http://tardy.sourceforge.net/
   Vendor:       Peter Miller
   Packager:     The OpenPKG Project
   Distribution: OpenPKG
   Class:        PLUS
   Group:        Archiver
   License:      GPL
  -Version:      1.11
  -Release:      20040207
  +Version:      1.12
  +Release:      20040818
   
   #   list of sources
  -Source0:      http://www.canb.auug.org.au/~millerp/tardy-%{version}.tar.gz
  +Source0:      http://osdn.dl.sourceforge.net/tardy/tardy-%{version}.tar.gz
   Patch0:       tardy.patch
   
   #   build information
  @@ -45,6 +45,8 @@
   BuildRoot:    %{l_buildroot}
   BuildPreReq:  OpenPKG, openpkg >= 20040130, make, gcc
   PreReq:       OpenPKG, openpkg >= 20040130
  +BuildPreReq:  zlib
  +PreReq:       zlib
   AutoReq:      no
   AutoReqProv:  no
   
  @@ -60,7 +62,7 @@
   %track
       prog tardy = {
           version   = %{version}
  -        url       = http://www.canb.auug.org.au/~millerp/tardy.html
  +        url       = http://prdownloads.sourceforge.net/tardy/
           regex     = tardy-(__VER__)\.tar\.gz
       }
   
  @@ -69,10 +71,12 @@
       %patch -p0
   
   %build
  -    CC="%{l_cc}" \
  -    CXX="%{l_cxx}" \
  +    CC="%{l_cc} %{l_cppflags} %{l_ldflags}" \
  +    CXX="%{l_cxx} %{l_cppflags} %{l_ldflags}" \
  +    CPPFLAGS="%{l_cppflags}" \
       CFLAGS="%{l_cflags -O}" \
       CXXFLAGS="%{l_cxxflags -O}" \
  +    LDFLAGS="%{l_ldflags}" \
       ./configure \
           --prefix=%{l_prefix}
       %{l_make} %{l_mflags -O}
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to