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: 13-Jun-2005 20:29:12
Branch: HEAD Handle: 2005061319291200
Modified files:
openpkg-src/sendfile sendfile.patch sendfile.spec
Log:
upgrading package: sendfile 2.1a -> 2.1b
Summary:
Revision Changes Path
1.2 +55 -5 openpkg-src/sendfile/sendfile.patch
1.5 +2 -2 openpkg-src/sendfile/sendfile.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/sendfile/sendfile.patch
============================================================================
$ cvs diff -u -r1.1 -r1.2 sendfile.patch
--- openpkg-src/sendfile/sendfile.patch 19 Mar 2005 19:25:30 -0000
1.1
+++ openpkg-src/sendfile/sendfile.patch 13 Jun 2005 18:29:12 -0000
1.2
@@ -1,5 +1,29 @@
---- src/io.h.orig Mon Mar 5 23:38:04 2001
-+++ src/io.h Mon Mar 5 23:38:04 2001
+Index: src/io.c
+--- src/io.c.orig 2005-06-01 00:30:14 +0200
++++ src/io.c 2005-06-13 20:27:59 +0200
+@@ -46,6 +46,10 @@
+ #include "string.h" /* extended string functions */
+ #include "message.h" /* information, warning and error
messages */
+
++#ifndef O_LARGEFILE
++#define O_LARGEFILE 0
++#endif
++
+ #ifdef NEXT
+ #include <sys/uio.h>
+ #endif
+@@ -133,7 +137,7 @@
+ off_t
+ fsize, /* original file size */
+ wtotal; /* total read bytes */
+- blksize_t
++ size_t
+ blksize; /* file system block size */
+
+ wtotal=0;
+Index: src/io.h
+--- src/io.h.orig 2002-08-04 17:11:33 +0200
++++ src/io.h 2005-06-13 20:23:00 +0200
@@ -15,6 +15,8 @@
* This file is covered by the GNU General Public License
*/
@@ -9,9 +33,21 @@
/* read n bytes from network socket */
int readn(int, char *, int);
---- src/sendfiled.c.org Tue Feb 6 00:42:53 2001
-+++ src/sendfiled.c Sun Aug 26 21:21:18 2001
-@@ -4000,11 +4002,13 @@
+Index: src/sendfiled.c
+--- src/sendfiled.c.orig 2005-06-01 11:04:40 +0200
++++ src/sendfiled.c 2005-06-13 20:27:35 +0200
+@@ -194,6 +194,10 @@
+ #include "address.h" /* address routines */
+ #include "lock.h" /* file locking */
+
++#ifndef O_LARGEFILE
++#define O_LARGEFILE 0
++#endif
++
+ #if defined(HAVE_GETOPT_H)
+ #include <getopt.h>
+ #else
+@@ -4042,11 +4046,13 @@
* RETURN: nothing, but terminates program on error
*/
void setreugid() {
@@ -25,3 +61,17 @@
if (ruid && seteuid(ruid)<0) {
printf("490 Internal error on seteuid(%u): %s\r\n",
(unsigned int)ruid,strerror(errno));
+Index: src/spool.c
+--- src/spool.c.orig 2005-05-31 17:46:57 +0200
++++ src/spool.c 2005-06-13 20:28:17 +0200
+@@ -64,6 +64,10 @@
+ #include "string.h" /* extended string functions */
+ #include "reply.h" /* the 3 digit reply codes with text messages */
+
++#ifndef O_LARGEFILE
++#define O_LARGEFILE 0
++#endif
++
+
+ /*
+ * scanspool - scan through spool directory, build list-structures and
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/sendfile/sendfile.spec
============================================================================
$ cvs diff -u -r1.4 -r1.5 sendfile.spec
--- openpkg-src/sendfile/sendfile.spec 24 Mar 2005 11:20:16 -0000
1.4
+++ openpkg-src/sendfile/sendfile.spec 13 Jun 2005 18:29:12 -0000
1.5
@@ -32,8 +32,8 @@
Class: EVAL
Group: Network
License: GPL
-Version: 2.1a
-Release: 20050320
+Version: 2.1b
+Release: 20050613
# list of sources
Source0:
ftp://ftp.belwue.de/pub/unix/sendfile/sendfile-%{version}.tar.gz
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]