pkgsrc/net/ja-samba/patches/patch-ak
taca b4444b8546 Update ja-samba package to 2.2.8.1.1.0nb1.
* Sync with net/samba package:

   - clean up findsmp; no need to prepend ${WRKSRC}.
   - Don't create ${PREFIX}/private.
   - Stop installing HTML documentation.

* Allow longer share name to Windows XP and Windows 2003 server as well as
  Windows 2000.  Discussion was on the samba-jp mailing list.
2003-06-04 16:25:33 +00:00

23 lines
605 B
Text

$NetBSD: patch-ak,v 1.2 2003/06/04 16:25:33 taca Exp $
--- script/installbin.sh.orig 2001-10-09 14:22:31.000000000 +0900
+++ script/installbin.sh
@@ -11,7 +11,7 @@ shift
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