Modified version of Jim's 0x27 and 0x28 Win9x Secdesc patch.
[Samba/ekacnet.git] / packaging / Digital / package-prep
blob2daee8b69efc5d361ab05bc028f655b664652c9e
1 tar xvf skeleton.tar
2 NOWDIR=`pwd`;
3 ( cd /usr/local;
4         if [ -x man ]; then mv man man.orig; fi
5         if [ -x samba ]; then mv samba samba.orig; fi
6         ln -sf $NOWDIR/usr/local/man man;
7         ln -sf $NOWDIR/usr/local/samba samba; )
8 gunzip samba-2.0.0.tar.gz
9 tar xvf samba-2.0.0.tar
10 cd samba-2.0.0/source
11 ./configure
12 make
13 make install
14 cd $NOWDIR/usr/local/samba
15 cp -pr man ../
16 rm -rf man
17 cd $NOWDIR
18 tar cvf install.tar usr var
19 cd samba-2.0.0/source
20 rm -f ../source/bin/*
21 make clean
22 cd ../..
23 tar cvf samba-2.0.0.tar samba-2.0.0
24 rm -rf samba-2.0.0
25 rm -rf usr var
26 cd ..
27 find samba-2.0.0 -print | cpio -o > samba-2.0.0-OSF1-v4.0-beta5.cpio
28 gzip samba-2.0.0-OSF1-v4.0-beta5.cpio
29 cd samba-2.0.0
30 tar xvf install.tar