pkgsrc/net/samba2/patches/patch-ag
jlam 1fc97f0df8 Reimport net/samba as net/samba2. net/samba2 will continue to track the
2.x release of Samba, which net/samba will track post-2.x releases of
Samba.
2004-01-11 00:41:12 +00:00

23 lines
592 B
Text

$NetBSD: patch-ag,v 1.1.1.1 2004/01/11 00:41:13 jlam Exp $
--- script/installbin.sh.orig Fri Jan 12 11:28:02 2001
+++ script/installbin.sh
@@ -11,7 +11,7 @@
shift
shift
-for d in $BASEDIR $BINDIR $LIBDIR $VARDIR $BASEDIR/private; do
+for d in $BASEDIR $BINDIR $LIBDIR $VARDIR; do
if [ ! -d $d ]; then
mkdir $d
if [ ! -d $d ]; then
@@ -30,7 +30,9 @@
mv $BINDIR/$p2 $BINDIR/$p2.old
fi
cp $p $BINDIR/
+ strip $BINDIR/$p2
chmod $INSTALLPERMS $BINDIR/$p2
+ rm -f $BINDIR/$p2.old
# this is a special case, mount needs this in a specific location
if [ $p2 = smbmount ]; then