Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv31915

Modified Files:
        sendfile.info sendfile.patch 
Log Message:
new version, fixed URLs. thanks upstream-author for the heads-up!


Index: sendfile.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/sendfile.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- sendfile.info       20 Apr 2008 18:53:10 -0000      1.5
+++ sendfile.info       12 Jun 2010 15:37:59 -0000      1.6
@@ -1,20 +1,16 @@
 Package: sendfile
-Version: 2.1a
-Revision: 1005
+Version: 2.1b
+Revision: 1
 Description: Simple asynchronous file transfer system
 License: GPL
-Source: ftp://ftp.belwue.de/pub/unix/sendfile/sendfile-%v.tar.gz
-Source-MD5: a8aa16b9891468a12c674a3e585128c0
+Source: http://fex.rus.uni-stuttgart.de/download/%n-%v.tar.gz
+Source-MD5: ea87edf5923f41efbe40dab5b4ef38b0
 Depends: readline5-shlibs (>= 5.0-1004)
-BuildDepends: autoconf (>= 2.60-1), automaken, readline5 (>= 5.0-1004), fink 
(>= 0.24.12-1)
-BuildDependsOnly: true
-UpdateConfigGuess: true
+BuildDepends: readline5 (>= 5.0-1004), fink (>= 0.24.12-1)
 PatchFile: %n.patch
-PatchFile-MD5: 64ce8a893c594b3f23883bd8c46acc01
+PatchFile-MD5: 1cc3b1ff3d13e9cce0f38ee05ded3595
 PatchScript: <<
- mv -f config.guess config.sub develop
  sed 's|@PREFIX@|%p|g' <%{PatchFile} | patch -p1
- cd develop; aclocal; autoconf
 <<
 CompileScript: <<
  ./makeconfig
@@ -51,10 +47,10 @@
  install -m644 etc/sendfile.cf   %i/etc
 
  mkdir -p %i/var/spool/sendfile/LOG
- chmod 700 %i/var/spool/sendfile/LOG
+#chmod 700 %i/var/spool/sendfile/LOG
 
  mkdir -p %i/var/spool/sendfile/OUTGOING
- chmod 1777 %i/var/spool/sendfile/OUTGOING
+#chmod 1777 %i/var/spool/sendfile/OUTGOING
 
  mkdir -p %i/var/run
 <<
@@ -65,6 +61,10 @@
   doc/doc.txt doc/doku.txt
   doc/features doc/vorteile
 <<
+PostInstScript: <<
+       chmod 700 %p/var/spool/sendfile/LOG
+       chmod 1777 %p/var/spool/sendfile/OUTGOING
+<<
 DescDetail: <<
 Sendfile is a SAFT implementation for UNIX and serves as a tool for 
 asynchronous sending of files in the Internet, conserving their file 
@@ -96,5 +96,5 @@
 DescPackaging: <<
  Installed by hand.
 <<
-Homepage: http://www.belwue.de/aktivitaeten/projekte/saft/index-us.html
+Homepage: http://fex.rus.uni-stuttgart.de/saft/sendfile.html
 Maintainer: None <fink-de...@lists.sourceforge.net>

Index: sendfile.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/sendfile.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- sendfile.patch      20 Jan 2006 20:28:28 -0000      1.1
+++ sendfile.patch      12 Jun 2010 15:37:59 -0000      1.2
@@ -1,26 +1,24 @@
-diff -ru sendfile-2.1a/develop/configure.in 
sendfile-2.1a-patched/develop/configure.in
---- sendfile-2.1a/develop/configure.in Fri Feb 16 14:59:52 2001
-+++ sendfile-2.1a-patched/develop/configure.in Fri Mar  2 12:53:50 2001
-@@ -38,7 +38,7 @@
- dnl Checks for libraries.
- AC_CHECK_LIB(socket, socket)
- AC_CHECK_LIB(nsl, gethostbyname)
--AC_CHECK_LIB(readline, readline, , , -ltermcap)
-+AC_CHECK_LIB(readline, readline, , , )
- 
- dnl Checks for typedefs, structures, and compiler characteristics.
- AC_C_CONST
-diff -ru sendfile-2.1a/makeconfig sendfile-2.1a-patched/makeconfig
---- sendfile-2.1a/makeconfig   Thu Aug 26 20:53:32 1999
-+++ sendfile-2.1a-patched/makeconfig   Fri Mar  2 14:41:23 2001
-@@ -10,17 +10,17 @@
- # or simply call: makeconfig CC=gcc ...
+diff -Nurd -x'*~' sendfile-2.1b.orig/develop/configure 
sendfile-2.1b/develop/configure
+--- sendfile-2.1b.orig/develop/configure       2009-10-07 14:20:14.000000000 
-0400
++++ sendfile-2.1b/develop/configure    2010-06-12 11:29:35.000000000 -0400
+@@ -4104,7 +4104,7 @@
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lreadline -ltermcap -L/usr/lib/termcap $LIBS"
++LIBS="-lreadline $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+diff -Nurd -x'*~' sendfile-2.1b.orig/makeconfig sendfile-2.1b/makeconfig
+--- sendfile-2.1b.orig/makeconfig      2006-06-07 09:57:47.000000000 -0400
++++ sendfile-2.1b/makeconfig   2010-06-12 11:25:23.000000000 -0400
+@@ -11,16 +11,16 @@
  
  # default compiling settings
--CC=gcc
+ CC=gcc
 -CFLAGS=-O2
 -LDFLAGS=-s
-+CC=cc
 +CFLAGS="-O2 -...@prefix@/include -DHAVE_STRERROR"
 +ldflags...@prefix@/lib
  
@@ -30,13 +28,13 @@
 -MANDIR=/usr/local/man
 -CONFIG=/usr/local/etc
 -SERVERDIR=/usr/local/sbin
--INETDCONF=/etc/inetd.conf
+-INETDCONF=/etc/inetd.conf # xinetd will be automaticly recognized
 +spo...@prefix@/var/spool/sendfile
 +bind...@prefix@/bin
-+mand...@prefix@/man
++mand...@prefix@/share/man
 +conf...@prefix@/etc
 +serverd...@prefix@/sbin
-+inetdco...@prefix@/etc/inetd.conf
++inetdco...@prefix@/etc/inetd.conf # xinetd will be automaticly recognized
  SERVICES=/etc/services
  
  ############################# OPTIONAL SETTINGS ##############################
@@ -49,74 +47,18 @@
  
  SYSTEM=`./config.guess`
  
-@@ -100,6 +100,7 @@
-   *convex*)   SYSTEM=CONVEXOS;;
-   *osf*)      SYSTEM=OSF1;;
-   *bsd*)      SYSTEM=BSD;;
-+  *darwin*)   SYSTEM=DARWIN;;
-   *)          SYSTEM=UNKNOWN;;
- #  *)         SYSTEM=`uname -a | tr '[a-z]' '[A-Z]'`
- #             case "$SYSTEM" in
-@@ -116,8 +117,12 @@
+@@ -117,8 +117,12 @@
  for i in nsl socket readline; do
    if grep -i "have_lib$i 1" config.h >/dev/null; then LIBS="$LIBS -l$i"; fi
  done
 -case "$LIBS" in
--  *readline*) LIBS="$LIBS -ltermcap";;
+-  *readline*) LIBS="$LIBS -L/usr/lib/termcap -ltermcap";;
 +case "$SYSTEM" in
 +  *DARWIN*)   ;;
 +  *)
 +      case "$LIBS" in
-+        *readline*) LIBS="$LIBS -ltermcap";;
++        *readline*) LIBS="$LIBS -L/usr/lib/termcap -ltermcap";;
 +      esac
  esac
  
  echo creating globals.h
-diff -ru sendfile-2.1a/src/sendfiled.c sendfile-2.1a-patched/src/sendfiled.c
---- sendfile-2.1a/src/sendfiled.c      Tue Feb  6 00:42:53 2001
-+++ sendfile-2.1a-patched/src/sendfiled.c      Fri Mar  2 14:25:45 2001
-@@ -341,7 +341,7 @@
- int send_file(int);
- 
- /* open user log file */  
--int openlog(const char *);
-+int open_log(const char *);
- 
- /* clean termination routine */
- void cleanexit();
-@@ -1351,7 +1351,7 @@
-       /* convert back to UTF-7 and write to log file */
-       if (msglog && check_userspool(recipient,userconfighome)==0 && 
-         chdir(userspool)==0) {
--      if ((lfd=openlog("msglog"))) {
-+      if ((lfd=open_log("msglog"))) {
-         iso2utf(tmp,msg);
-         timetick=time(0);
-         strftime(currentdate,20,"%Y-%m-%d %H:%M:%S",localtime(&timetick));
-@@ -1664,7 +1664,7 @@
-       if (!test) {
-       
-       /* write to the log file */
--      if ((lfd=openlog("log"))) {
-+      if ((lfd=open_log("log"))) {
-         writeheader(lfd,"FROM",logsender);
-         writeheader(lfd,"FILE",filename);
-         writeheader(lfd,"DATE",currentdate);
-@@ -3867,7 +3867,7 @@
- 
- 
- /*
-- * openlog  - open user log file
-+ * open_log  - open user log file
-  * 
-  * INPUT:  log - name of log file
-  * 
-@@ -3875,7 +3875,7 @@
-  * 
-  * Be sure to call this function with correct seteuid/setegid settings!
-  */
--int openlog(const char *log) {
-+int open_log(const char *log) {
-   int 
-     n,                        /* simple loop counter */
-     lfd;              /* log file descriptor */


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to