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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   06-Oct-2006 07:50:31
  Branch: HEAD                             Handle: 2006100606503100

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

  Log:
    upgrading package: tftp 0.42 -> 0.43

  Summary:
    Revision    Changes     Path
    1.9         +15 -38     openpkg-src/tftp/tftp.patch
    1.57        +2  -2      openpkg-src/tftp/tftp.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/tftp/tftp.patch
  ============================================================================
  $ cvs diff -u -r1.8 -r1.9 tftp.patch
  --- openpkg-src/tftp/tftp.patch       11 Jun 2005 11:49:27 -0000      1.8
  +++ openpkg-src/tftp/tftp.patch       6 Oct 2006 05:50:31 -0000       1.9
  @@ -1,7 +1,7 @@
   Index: Makefile
  ---- Makefile.orig    2004-01-08 21:48:51 +0100
  -+++ Makefile 2004-09-03 20:19:54 +0200
  -@@ -58,9 +58,9 @@
  +--- Makefile.orig    2006-10-05 23:23:01 +0200
  ++++ Makefile 2006-10-06 07:41:41 +0200
  +@@ -59,9 +59,9 @@
    # Adding "configure" to the dependencies serializes this with running
    # autoconf, because there are apparently race conditions between
    # autoconf and autoheader.
  @@ -14,39 +14,16 @@
    
    configure: configure.in aclocal.m4
        rm -rf MCONFIG configure config.log aconfig.h *.cache
  -Index: tftpd/tftpd.c
  ---- tftpd/tftpd.c.orig       2004-09-15 00:38:46 +0200
  -+++ tftpd/tftpd.c    2005-06-11 13:43:54 +0200
  -@@ -35,6 +35,9 @@
  -  * SUCH DAMAGE.
  -  */
  - 
  -+#if defined(__NetBSD__)
  -+#define _NETBSD_SOURCE
  -+#endif
  - #include "config.h"         /* Must be included first */
  - #include "tftpd.h"
  - 
  -@@ -502,6 +505,22 @@
  - #ifdef HAVE_SETSID
  -       setsid();
  - #endif
  -+#ifdef PID_FILE
  -+  /* Write PID file */
  -+  {
  -+    mode_t old_umask;
  -+    pid_t  pid;
  -+    FILE   *fp;
  -+
  -+    old_umask = umask((mode_t) 0022);
  -+    pid = getpid();
  -+    if ((fp = fopen(PID_FILE, "w")) == NULL)
  -+      syslog(LOG_ERR, "cannot write PID file '%s'", PID_FILE);
  -+    fprintf(fp, "%ld\n", (long)pid);
  -+    fclose(fp);
  -+    umask(old_umask);
  -+  }
  +Index: configure
  +--- configure.orig   2006-10-05 23:23:14 +0200
  ++++ configure        2006-10-06 07:49:18 +0200
  +@@ -9877,6 +9877,9 @@
  + cat >>conftest.$ac_ext <<_ACEOF
  + /* end confdefs.h.  */
  + $ac_includes_default
  ++#if HAVE_SYS_SOCKET_H
  ++# include <sys/socket.h>
   +#endif
  -     }
  -   } else {
  -     /* 0 is our socket descriptor */
  + int
  + main ()
  + {
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/tftp/tftp.spec
  ============================================================================
  $ cvs diff -u -r1.56 -r1.57 tftp.spec
  --- openpkg-src/tftp/tftp.spec        23 Sep 2006 13:15:45 -0000      1.56
  +++ openpkg-src/tftp/tftp.spec        6 Oct 2006 05:50:31 -0000       1.57
  @@ -32,8 +32,8 @@
   Class:        BASE
   Group:        FTP
   License:      GPL
  -Version:      0.42
  -Release:      20060923
  +Version:      0.43
  +Release:      20061006
   
   #   package options
   %option       with_fsl  yes
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to