diff options
author | Herb Lewis <herb@samba.org> | 2001-12-05 21:49:51 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2001-12-05 21:49:51 +0000 |
commit | 466781a71f2d6794260700527df47f23b03c2216 (patch) | |
tree | 50ce73508fff20e47540b64b89b90ce3b9ed4c1d | |
parent | 549e904d3fafe8f6884058d7804612ce329519bb (diff) | |
download | samba-466781a71f2d6794260700527df47f23b03c2216.tar.gz samba-466781a71f2d6794260700527df47f23b03c2216.tar.bz2 samba-466781a71f2d6794260700527df47f23b03c2216.zip |
fix up packaging stuff
(This used to be commit 8f3093fbd092c0ddf38b49c0735308f4f5ba4492)
-rwxr-xr-x | packaging/SGI/idb.pl | 6 | ||||
-rwxr-xr-x | packaging/SGI/mkrelease.sh | 16 |
2 files changed, 16 insertions, 6 deletions
diff --git a/packaging/SGI/idb.pl b/packaging/SGI/idb.pl index b37e46c4ec..66cb3fa558 100755 --- a/packaging/SGI/idb.pl +++ b/packaging/SGI/idb.pl @@ -226,11 +226,11 @@ if (@nsswitch) { } print IDB "d 0755 lp sys usr/samba/printer $SRCPFX/packaging/SGI $PKG.sw.base\n"; -print IDB "d 0755 lp sys usr/samba/printer/W32X86 $SRCPFX/packaging/SGI $PKG.sw.base\n"; -print IDB "d 0755 lp sys usr/samba/printer/WIN40 $SRCPFX/packaging/SGI $PKG.sw.base\n"; -print IDB "d 0755 lp sys usr/samba/printer/W32MIPS $SRCPFX/packaging/SGI $PKG.sw.base\n"; print IDB "d 0755 lp sys usr/samba/printer/W32ALPHA $SRCPFX/packaging/SGI $PKG.sw.base\n"; +print IDB "d 0755 lp sys usr/samba/printer/W32MIPS $SRCPFX/packaging/SGI $PKG.sw.base\n"; print IDB "d 0755 lp sys usr/samba/printer/W32PPC $SRCPFX/packaging/SGI $PKG.sw.base\n"; +print IDB "d 0755 lp sys usr/samba/printer/W32X86 $SRCPFX/packaging/SGI $PKG.sw.base\n"; +print IDB "d 0755 lp sys usr/samba/printer/WIN40 $SRCPFX/packaging/SGI $PKG.sw.base\n"; print IDB "d 0644 root sys usr/samba/private $SRCPFX/packaging/SGI $PKG.sw.base\n"; print IDB "f 0600 root sys usr/samba/private/smbpasswd $SRCPFX/packaging/SGI/smbpasswd $PKG.sw.base config(suggest)\n"; diff --git a/packaging/SGI/mkrelease.sh b/packaging/SGI/mkrelease.sh index ef07a2e2d4..a85a64569b 100755 --- a/packaging/SGI/mkrelease.sh +++ b/packaging/SGI/mkrelease.sh @@ -50,7 +50,7 @@ fi cd ../../source if [ "$doclean" = "clean" ]; then echo Create SGI specific Makefile - ./configure --prefix=/usr/samba --sbindir='${exec_prefix}/bin' --mandir=/usr/share/catman --with-acl-support --with-smbwrapper + ./configure --prefix=/usr/samba --sbindir='${exec_prefix}/bin' --mandir=/usr/share/catman --with-acl-support errstat=$? if [ $errstat -ne 0 ]; then echo "Error $errstat creating Makefile\n"; @@ -64,7 +64,8 @@ fi echo Making binaries make clean -make "CFLAGS=-O -g3 -D WITH_PROFILE" CHECK bin/smbd bin/nmbd +make headers +make -P "CFLAGS=-O -g3 -D WITH_PROFILE" bin/smbd bin/nmbd errstat=$? if [ $errstat -ne 0 ]; then echo "Error $errstat building profile sources\n"; @@ -72,8 +73,17 @@ if [ $errstat -ne 0 ]; then fi mv bin/smbd bin/smbd.profile mv bin/nmbd bin/nmbd.profile + make clean -make "CFLAGS=-O -g3" all +make -P "CFLAGS=-O -g3 -D QUOTAOBJS=smbd/noquotas.o" bin/smbd +errstat=$? +if [ $errstat -ne 0 ]; then + echo "Error $errstat building noquota sources\n"; + exit $errstat; +fi +mv bin/smbd bin/smbd.noquota + +make -P "CFLAGS=-O -g3" all errstat=$? if [ $errstat -ne 0 ]; then echo "Error $errstat building sources\n"; |