Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 1998 19:25:17 +0200 (CEST)
From:      Stefan `Sec` Zehl <sec@42.org>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6210: Update of sendfile port
Message-ID:  <199804041725.TAA08329@matrix.42.org>

next in thread | raw e-mail | index | archive | help

>Number:         6210
>Category:       ports
>Synopsis:       Update of sendfile port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr  4 09:30:01 PST 1998
>Last-Modified:
>Originator:     Stefan `Sec` Zehl
>Organization:
>Release:        FreeBSD 2.2.5-STABLE i386
>Environment:

FreeBSD matrix 2.2.5-STABLE FreeBSD 2.2.5-STABLE #0: Sun Jan 11 04:14:33 CET 1998     sec@matrix:/usr/src/sys/compile/MATRIX  i386

>Description:

Update to the sendfile port. It uses a new distfile, in which a couple of minor
bugs are fixed.

>How-To-Repeat:

	

>Fix:

diff -bur /usr/ports/net/sendfile/Makefile sendfile/Makefile
--- /usr/ports/net/sendfile/Makefile	Wed Mar  4 04:29:39 1998
+++ sendfile/Makefile	Sat Apr  4 19:12:46 1998
@@ -6,7 +6,7 @@
 # $Id: Makefile,v 1.2 1998/03/01 21:50:37 steve Exp $
 #
 
-DISTNAME=	sendfile-19980228
+DISTNAME=	sendfile-19980316
 PKGNAME=	sendfile-2.1
 CATEGORIES=	net
 MASTER_SITES=   ftp://ftp.uni-stuttgart.de/pub/unix/comm/sendfile/current/
diff -bur /usr/ports/net/sendfile/files/md5 sendfile/files/md5
--- /usr/ports/net/sendfile/files/md5	Wed Mar  4 04:29:40 1998
+++ sendfile/files/md5	Sat Apr  4 17:47:56 1998
@@ -1 +1 @@
-MD5 (sendfile-19980228.tar.gz) = bb2a3e8c4906b37237fa958a8bf8bb1a
+MD5 (sendfile-19980316.tar.gz) = 0f540ff6c451440c909ee1e11e95c869
diff -bur /usr/ports/net/sendfile/patches/patch-ab sendfile/patches/patch-ab
--- /usr/ports/net/sendfile/patches/patch-ab	Wed Mar  4 04:29:40 1998
+++ sendfile/patches/patch-ab	Sat Apr  4 18:54:04 1998
@@ -1,6 +1,35 @@
---- develop/install.orig	Fri Feb 27 08:29:16 1998
-+++ develop/install	Sun Mar  1 15:34:53 1998
-@@ -133,14 +133,6 @@
+--- develop/install.orig	Fri Mar 13 01:16:41 1998
++++ develop/install	Sat Apr  4 18:53:55 1998
+@@ -113,17 +113,9 @@
+ if [ "$INETDCONF" = "" ]; then	INETDCONF=/etc/inetd.conf; fi
+ if [ "$SERVICES" = "" ]; then	SERVICES=/etc/services; fi
+ 
+-if [ -f /usr/man/man7/locale.7 -o -f /usr/man/man7/term.7 ]; then
+-  manmisc=7
+-else
+-  manmisc=5
+-fi
++manmisc=7
+ 
+-if [ -f /usr/man/man8/inetd.8 ]; then
+-  manadmin=8
+-else
+-  manadmin=1m
+-fi
++manadmin=8
+ 
+ # purge old logfiles (bug from sendfile revision < 19980310)
+ (cd $SPOOL && rm -f */.sendfile*.log)
+@@ -132,7 +124,7 @@
+ 	umask 022
+ 	cd src || exit 1
+ 	cp sendfile sendmsg receive utf7encode fetchfile wlock $BINDIR/
+-	[ -x $SERVERDIR/sendfiled ] && mv $SERVERDIR/sendfiled $SERVERDIR/sendfiled.old && rm $SERVERDIR/sendfiled.old
++	[ -x $SERVERDIR/sendfiled ] && mv $SERVERDIR/sendfiled $SERVERDIR/sendfiled.old && rm -f $SERVERDIR/sendfiled.old
+ 	cp sendfiled $SERVERDIR
+ 	cd ..
+ 	install_man
+@@ -156,14 +148,6 @@
  To deinstall the sendfile-daemon, simply type: 	rm $SERVERDIR/sendfiled
  
  EOD
@@ -15,15 +44,16 @@
  
  umask 022
  
-@@ -195,6 +187,7 @@
+@@ -213,7 +197,7 @@
    echo "         there is $SERVERDIR/sendfiled in makeconfig! Check it!"
  fi
  echo "installing the sendfile-daemon in $SERVERDIR"
-+[ -x $SERVERDIR/sendfiled ] && mv $SERVERDIR/sendfiled $SERVERDIR/sendfiled.old
+-[ -x $SERVERDIR/sendfiled ] && mv $SERVERDIR/sendfiled $SERVERDIR/sendfiled.old && rm $SERVERDIR/sendfiled.old
++[ -x $SERVERDIR/sendfiled ] && mv $SERVERDIR/sendfiled $SERVERDIR/sendfiled.old && rm -f $SERVERDIR/sendfiled.old
  cp src/sendfiled $SERVERDIR  || exit 1
  
  NOSENDFILE=`dirname $DENY 2>/dev/null`/nosendfile
-@@ -240,7 +233,6 @@
+@@ -259,7 +243,6 @@
      echo "saft	487/tcp		# simple asynchronous file transfer" | niload services .
    else
      echo "configuring $SERVICES"
@@ -31,7 +61,7 @@
      echo "saft	487/tcp		# simple asynchronous file transfer" >>$SERVICES
    fi
  fi
-@@ -253,8 +245,6 @@
+@@ -272,8 +255,6 @@
    fi
    RESTART=true
    echo "configuring $INETDCONF"
@@ -40,16 +70,7 @@
    echo "saft	stream	tcp	nowait	root	$SFD" >>$INETDCONF
  fi
  
-@@ -278,7 +268,7 @@
-     echo "adding check_sendfile to /etc/csh.login"
-     echo >>/etc/csh.login
-     echo "test -x $BINDIR/check_sendfile && $BINDIR/check_sendfile" \
--         >>/etc/profile
-+         >>/etc/csh.login
-   fi
- fi
- 				
-@@ -318,15 +308,11 @@
+@@ -337,15 +318,10 @@
  EOD
  fi
  
@@ -69,5 +90,3 @@
 +  kill -HUP `ps auxw|awk '$11 == "inetd" { print $2 } '`
 +  [ -f $SERVERDIR/sendfiled.old ] && rm -f $SERVERDIR/sendfiled.old
  fi
-+true
-\ No newline at end of file
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804041725.TAA08329>