summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1997-10-31 17:33:04 +0000
committerHerb Lewis <herb@samba.org>1997-10-31 17:33:04 +0000
commitbc5e2a1289b6c80b9b7a1f3f45ed3897d4474c51 (patch)
tree7a1598b1f6fcd73029af1d266e1d08f05fdb880a
parent4400805208722e3679809a0ca53c2285e45212ca (diff)
downloadsamba-bc5e2a1289b6c80b9b7a1f3f45ed3897d4474c51.tar.gz
samba-bc5e2a1289b6c80b9b7a1f3f45ed3897d4474c51.tar.bz2
samba-bc5e2a1289b6c80b9b7a1f3f45ed3897d4474c51.zip
Update file for automatically generating a release
(This used to be commit 01df21c22d567a0cc6d69a03fd3246dcfd92217d)
-rw-r--r--packaging/SGI/.cvsignore7
-rw-r--r--packaging/SGI/README19
-rwxr-xr-xpackaging/SGI/idb.pl236
-rwxr-xr-xpackaging/SGI/makefile.pl42
-rwxr-xr-xpackaging/SGI/mkrelease.sh10
-rwxr-xr-xpackaging/SGI/psfixes.pl12
-rw-r--r--packaging/SGI/relnotes.html2
-rw-r--r--packaging/SGI/samba.idb432
-rw-r--r--packaging/SGI/samba.spec45
-rwxr-xr-xpackaging/SGI/spec.pl76
10 files changed, 372 insertions, 509 deletions
diff --git a/packaging/SGI/.cvsignore b/packaging/SGI/.cvsignore
new file mode 100644
index 0000000000..c653c29ad2
--- /dev/null
+++ b/packaging/SGI/.cvsignore
@@ -0,0 +1,7 @@
+bins
+catman
+html
+codepage
+Makefile
+samba.idb
+samba.spec
diff --git a/packaging/SGI/README b/packaging/SGI/README
index 17c5780067..02855bb3a2 100644
--- a/packaging/SGI/README
+++ b/packaging/SGI/README
@@ -16,9 +16,9 @@ is created from the samba version number plus a release number.
Each section of the samba version number forms 2 digits of the
version number (with leading zeros if necessary).
-samba version 1.9.16 first release would become 0109160000
-samba version 1.9.16p9 first release would become 0109160900
-samba version 1.9.16p9 second release would become 0109160901
+samba version 1.9.16 would become 0109160000
+samba version 1.9.16p9 would become 0109160900
+samba version 1.9.16alpha9 would become 0109160009
You can enable all printers on your system to be used by samba
by running the script /usr/samba/mkprintcap.sh
@@ -31,9 +31,12 @@ inetd you can run the script /usr/samba/inetd.sh.
To create a Samba distribution you must have the Documenter's WorkBench
package installed to format the manual pages. In addition you need
to have the Software Packager software (inst_dev) installed to
-generate the inst images.
-
-From /usr/samba/packaging/SGI directory run the mkrelease.sh script.
-This script uses Perl to generate the Makefile with the proper defines.
-The package files will be placed in ./bins
+generate the inst images, and Perl to generate the spec and idb files.
+
+From /usr/samba/packaging/SGI directory run the mkrelease.sh script.
+There is one optional argument which is the major release number of the
+OS version (4, 5, or 6) you desire. If no number is specified it defaults
+to 6. This script uses Perl to generate the Makefile with the proper
+defines and the packaging files samba.spec and samba.idb. The binary
+package files will be placed in ./bins
diff --git a/packaging/SGI/idb.pl b/packaging/SGI/idb.pl
new file mode 100755
index 0000000000..4e32bdb526
--- /dev/null
+++ b/packaging/SGI/idb.pl
@@ -0,0 +1,236 @@
+#!/usr/bin/perl
+
+# This perl script automatically generates the samba.idb file
+
+$curdir = $ENV{"PWD"};
+
+# get a complete list of all files in the tree
+chdir '../../';
+&dodir('.');
+chdir $curdir;
+
+# We don't want the files listed in .cvsignore in the source tree
+open(IGNORES,"../../source/.cvsignore");
+while (<IGNORES>) {
+ chop;
+ $ignores{$_}++;
+}
+close IGNORES;
+
+# get the names of all the binary files to be installed
+open(MAKEFILE,"Makefile");
+@makefile = <MAKEFILE>;
+@sprogs = grep(/^SPROGS /,@makefile);
+@progs1 = grep(/^PROGS1 /,@makefile);
+@progs = grep(/^PROGS /,@makefile);
+@scripts = grep(/^SCRIPTS /,@makefile);
+@codepage = grep(/^CODEPAGELIST/,@makefile);
+close MAKEFILE;
+
+if (@sprogs) {
+ @sprogs[0] =~ s/^.*\=//;
+ @sprogs[0] =~ s/^.*\)//;
+ @sprogs = split(' ',@sprogs[0]);
+}
+if (@progs) {
+ @progs[0] =~ s/^.*\=//;
+ @progs[0] =~ s/^.*\)//;
+ @progs = split(' ',@progs[0]);
+}
+if (@progs1) {
+ @progs1[0] =~ s/^.*\=//;
+ @progs1[0] =~ s/^.*\)//;
+ @progs1 = split(' ',@progs1[0]);
+}
+if (@scripts) {
+ @scripts[0] =~ s/^.*\=//;
+ @scripts[0] =~ s/^.*\)//;
+ @scripts = split(' ',@scripts[0]);
+}
+if (@codepage) {
+ @codepage[0] =~ s/^.*\=//;
+ @codepage[0] =~ s/^.*\)//;
+ chdir '../../source';
+ # if we have codepages we need to create them for the package
+ system("./installcp.sh . ../packaging/SGI/codepage . @codepage[0]");
+ chdir $curdir;
+ @codepage = sort split(' ',@codepage[0]);
+}
+
+# add my local files to the list of binaries to install
+@bins = sort (@sprogs,@progs,@progs1,@scripts,("psfixes.pl","sambalp","smbprint"));
+
+# the files installed in docs include all the original files in docs plus all
+# the "*.doc" files from the source tree
+@docs = sort byfilename grep (!/^docs\/$/ & (/^source\/.*\.doc$/ | /^docs\//),@allfiles);
+
+@catman = sort grep(/^packaging\/SGI\/catman/ & !/\/$/, @allfiles);
+@catman = sort bydirnum @catman;
+
+# strip out all the generated directories and the "*.o" files from the source
+# release
+@allfiles = grep(!/^.*\.o$/ & !/^packaging\/SGI\/bins/ & !/^packaging\/SGI\/catman/ & !/^packaging\/SGI\/html/ & !/^packaging\/SGI\/codepage/, @allfiles);
+
+open(IDB,">samba.idb");
+
+print IDB "f 0644 root sys etc/config/samba packaging/SGI/samba.config samba.sw.base config(update)\n";
+print IDB "f 0755 root sys etc/init.d/samba packaging/SGI/samba.rc samba.sw.base\n";
+print IDB "l 0000 root sys etc/rc0.d/K39samba packaging/SGI samba.sw.base symval(../init.d/samba)\n";
+print IDB "l 0000 root sys etc/rc2.d/S81samba packaging/SGI samba.sw.base symval(../init.d/samba)\n";
+
+@copyfile = grep (/^COPY/,@allfiles);
+print IDB "d 0755 root sys usr/relnotes/samba packaging/SGI samba.man.relnotes\n";
+print IDB "f 0644 root sys usr/relnotes/samba/@copyfile[0] @copyfile[0] samba.man.relnotes\n";
+print IDB "f 0644 root sys usr/relnotes/samba/legal_notice.html packaging/SGI/legal_notice.html samba.man.relnotes\n";
+print IDB "f 0644 root sys usr/relnotes/samba/samba-relnotes.html packaging/SGI/relnotes.html samba.man.relnotes\n";
+
+print IDB "d 0755 root sys usr/samba packaging/SGI samba.sw.base\n";
+print IDB "f 0444 root sys usr/samba/README packaging/SGI/README samba.sw.base\n";
+
+print IDB "d 0755 root sys usr/samba/bin packaging/SGI samba.sw.base\n";
+while(@bins) {
+ $nextfile = shift @bins;
+ if ($nextfile eq "smbpasswd") {
+ print IDB "f 4555 root sys usr/samba/bin/$nextfile source/$nextfile samba.sw.base\n";
+ }
+ elsif ($nextfile eq "psfixes.pl") {
+ print IDB "f 0755 root sys usr/samba/bin/$nextfile packaging/SGI/$nextfile samba.sw.base\n";
+ }
+ elsif ($nextfile eq "sambalp") {
+ print IDB "f 0755 root sys usr/samba/bin/$nextfile packaging/SGI/$nextfile samba.sw.base\n";
+ }
+ elsif ($nextfile eq "smbprint") {
+ print IDB "f 0755 root sys usr/samba/bin/$nextfile packaging/SGI/$nextfile samba.sw.base\n";
+ }
+ else {
+ print IDB "f 0755 root sys usr/samba/bin/$nextfile source/$nextfile samba.sw.base\n";
+ }
+}
+
+print IDB "d 0755 root sys usr/samba/docs docs samba.man.doc\n";
+while (@docs) {
+ $nextfile = shift @docs;
+ next if ($nextfile eq "CVS");
+ ($junk,$file) = split(/\//,$nextfile,2);
+ if (grep(/\/$/,$nextfile)) {
+ chop $nextfile;
+ chop $file;
+ print IDB "d 0755 root sys usr/samba/docs/$file $nextfile samba.man.doc\n";
+ }
+ else {
+ print IDB "f 0644 root sys usr/samba/docs/$file $nextfile samba.man.doc\n";
+ }
+}
+
+print IDB "f 0755 root sys usr/samba/inetd.sh packaging/SGI/inetd.sh samba.sw.base\n";
+print IDB "d 0755 root sys usr/samba/lib packaging/SGI samba.sw.base\n";
+if (@codepage) {
+ print IDB "d 0755 root sys usr/samba/lib/codepage packaging/SGI samba.sw.base\n";
+ while (@codepage) {
+ $nextpage = shift @codepage;
+ print IDB "f 0644 root sys usr/samba/lib/codepage/codepage.$nextpage packaging/SGI/codepage/codepage.$nextpage samba.sw.base\n";
+ }
+}
+print IDB "f 0644 root sys usr/samba/lib/smb.conf packaging/SGI/smb.conf samba.sw.base config(update)\n";
+print IDB "f 0755 root sys usr/samba/mkprintcap.sh packaging/SGI/mkprintcap.sh samba.sw.base exitop(/usr/samba/mkprintcap.sh) removeop(rm /usr/samba/printcap)\n";
+
+print IDB "d 0755 root sys usr/samba/src packaging/SGI samba.src.samba\n";
+while (@allfiles) {
+ $nextfile = shift @allfiles;
+ ($file = $nextfile) =~ s/^.*\///;
+ next if grep(/packaging\/SGI/& (/Makefile/ | /samba\.spec/ | /samba\.idb/),$nextfile);
+ next if grep(/source/,$nextfile) && ($ignores{$file});
+ next if ($nextfile eq "CVS");
+ if (grep(/\/$/,$nextfile)) {
+ chop $nextfile;
+ print IDB "d 0755 root sys usr/samba/src/$nextfile $nextfile samba.src.samba\n";
+ }
+ else {
+ if (grep(/SGI/ & (/\.sh$/ | /\.pl$/ | /mkman$/),$nextfile)) {
+ print IDB "f 0755 root sys usr/samba/src/$nextfile $nextfile samba.src.samba\n";
+ }
+ else {
+ print IDB "f 0644 root sys usr/samba/src/$nextfile $nextfile samba.src.samba\n";
+ }
+ }
+}
+
+print IDB "d 0755 root sys usr/samba/var packaging/SGI samba.sw.base\n";
+print IDB "d 0755 root sys usr/samba/var/locks packaging/SGI samba.sw.base\n";
+
+print IDB "d 0755 root sys usr/share/catman/u_man packaging/SGI samba.man.manpages\n";
+$olddirnum = "0";
+while (@catman) {
+ $nextfile = shift @catman;
+ ($file = $nextfile) =~ s/^packaging\/SGI\/catman\///;
+ ($dirnum = $file) =~ s/^[\D]*//;
+ $dirnum =~ s/\.Z//;
+ if ($dirnum ne $olddirnum) {
+ print IDB "d 0755 root sys usr/share/catman/u_man/cat$dirnum packaging/SGI samba.man.manpages\n";
+ $olddirnum = $dirnum;
+ }
+ print IDB "f 0664 root sys usr/share/catman/u_man/cat$dirnum/$file $nextfile samba.man.manpages\n";
+}
+
+close IDB;
+print "\n\nsamba.idb file has been created\n";
+
+sub dodir {
+ local($dir, $nlink) = @_;
+ local($dev,$ino,$mode,$subcount);
+
+ ($dev,$ino,$mode,$nlink) = stat('.') unless $nlink;
+
+ opendir(DIR,'.') || die "Can't open $dir";
+ local(@filenames) = sort readdir(DIR);
+ closedir(DIR);
+
+ if ($nlink ==2) { # This dir has no subdirectories.
+ for (@filenames) {
+ next if $_ eq '.';
+ next if $_ eq '..';
+ $this = substr($dir,2)."/$_";
+ push(@allfiles,$this);
+ }
+ }
+ else {
+ $subcount = $nlink -2;
+ for (@filenames) {
+ next if $_ eq '.';
+ next if $_ eq '..';
+ next if $_ eq 'CVS';
+ ($dev,$ino,$mode,$nlink) = lstat($_);
+ $name = "$dir/$_";
+ $this = substr($name,2);
+ $this .= '/' if -d;
+ push(@allfiles,$this);
+ next if $subcount == 0; # seen all the subdirs?
+
+ next unless -d _;
+
+ chdir $_ || die "Can't cd to $name";
+ &dodir($name,$nlink);
+ chdir '..';
+ --$subcount;
+ }
+ }
+}
+
+sub byfilename {
+ ($f0,$f1) = split(/\//,$a,2);
+ ($f0,$f2) = split(/\//,$b,2);
+ $f1 cmp $f2;
+}
+
+sub bydirnum {
+ ($f1 = $a) =~ s/^.*\///;
+ ($f2 = $b) =~ s/^.*\///;
+ ($dir1 = $a) =~ s/^[\D]*//;
+ ($dir2 = $b) =~ s/^[\D]*//;
+ if (!($dir1 <=> $dir2)) {
+ $f1 cmp $f2;
+ }
+ else {
+ $dir1 <=> $dir2;
+ }
+}
diff --git a/packaging/SGI/makefile.pl b/packaging/SGI/makefile.pl
index 0857ecd909..544fb7e32d 100755
--- a/packaging/SGI/makefile.pl
+++ b/packaging/SGI/makefile.pl
@@ -1,24 +1,38 @@
#!/usr/bin/perl
-while (<>) {
+# This perl script creates the SGI specific Makefile.
+# The BASEDIR is set to /usr/samba, MANDIR is set to /usr/share/man, and
+# the lines are uncommented for the requested OS version. If no version
+# is specified, IRIX 6 is used.
+
+if (!@ARGV) {
+ $OSver = "6";
+}
+else {
+ $OSver = $ARGV[0];
+}
+
+open(MAKEIN,"../../source/Makefile");
+open(MAKEOUT,">Makefile");
+while (<MAKEIN>) {
if (/^BASEDIR =/) {
- print "BASEDIR = /usr/samba\n";
+ print MAKEOUT "BASEDIR = /usr/samba\n";
}
elsif (/^MANDIR =/) {
- print "MANDIR = /usr/share/man\n";
+ print MAKEOUT "MANDIR = /usr/share/man\n";
}
- elsif (/^# FOR SGI IRIX 6/) {
- print;
- $a = <>;
- print $a;
- <>;
- <>;
- <>;
- print "FLAGSM = -DSGI5 -DSHADOW_PWD -DHAVE_TIMEZONE -DFAST_SHARE_MODES\n";
- print "LIBSM =\n";
- print "FLAGS1 = -O -n32 -g3 -OPT:fold_arith_limit=1256\n";
+ elsif (/^# FOR SGI IRIX $OSver/) {
+ print MAKEOUT;
+ $a = <MAKEIN>;
+ print MAKEOUT $a;
+ ($a = <MAKEIN>) =~ s/^# //;
+ print MAKEOUT $a;
+ ($a = <MAKEIN>) =~ s/^# //;
+ print MAKEOUT $a;
+ ($a = <MAKEIN>) =~ s/^# //;
+ print MAKEOUT $a;
}
else {
- print;
+ print MAKEOUT;
}
}
diff --git a/packaging/SGI/mkrelease.sh b/packaging/SGI/mkrelease.sh
index 052a4d8ddb..fed7a5dc42 100755
--- a/packaging/SGI/mkrelease.sh
+++ b/packaging/SGI/mkrelease.sh
@@ -1,5 +1,9 @@
#!/bin/sh
+# This file goes through all the necessary steps to build a release package.
+# You may specify a OS major version number (4, 5, or 6) to specify which
+# OS release to build. If no version number is given it will default to 6.
+
# create the catman versions of the manual pages
#
echo Making manual pages
@@ -8,7 +12,7 @@ echo Making manual pages
# build the sources
#
echo Making binaries
-./makefile.pl ../../source/Makefile > Makefile
+./makefile.pl $1 # create the Makefile for the specified OS ver
cd ../../source
# make -f ../packaging/SGI/Makefile clean
make -f ../packaging/SGI/Makefile all
@@ -17,10 +21,12 @@ cd ../packaging/SGI
# generate the packages
#
echo Generating Inst Packages
-
+./spec.pl # create the samba.spec file
+./idb.pl # create the samba.idb file
if [ ! -d bins ]; then
mkdir bins
fi
+# do the packaging
/usr/sbin/gendist -rbase / -sbase ../.. -idb samba.idb -spec samba.spec -dist ./bins -all
diff --git a/packaging/SGI/psfixes.pl b/packaging/SGI/psfixes.pl
index c64b67c8d4..4ed9e16f7e 100755
--- a/packaging/SGI/psfixes.pl
+++ b/packaging/SGI/psfixes.pl
@@ -9,14 +9,12 @@ while (<>) {
s/. $/ /;
print;
}
+ elsif (/^\/VM?/) {
+ print "/VM? { pop } bind def \n";
+ $found_vm = 1;
+ }
else {
- if (/^\/VM?/) {
- print "/VM? { pop } bind def \n";
- $found_vm = 1;
- }
- else {
- print;
- }
+ print;
}
}
}
diff --git a/packaging/SGI/relnotes.html b/packaging/SGI/relnotes.html
index eea4cefd0b..7477d28c27 100644
--- a/packaging/SGI/relnotes.html
+++ b/packaging/SGI/relnotes.html
@@ -100,7 +100,7 @@ may be restarted by typing the following at a shell prompt: </P>
<P>The author of this product is: Andrew Tridgell </P>
-<P>Samba is distributed freely under the <A HREF="GNU_COPYING.txt">GNU
+<P>Samba is distributed freely under the <A HREF="COPYING">GNU
public license</A>. </P>
<H3><A NAME="Support"></A>Support:</H3>
diff --git a/packaging/SGI/samba.idb b/packaging/SGI/samba.idb
deleted file mode 100644
index 358f3499ca..0000000000
--- a/packaging/SGI/samba.idb
+++ /dev/null
@@ -1,432 +0,0 @@
-f 0644 root sys etc/config/samba packaging/SGI/samba.config samba.sw.base config(update)
-f 0755 root sys etc/init.d/samba packaging/SGI/samba.rc samba.sw.base
-l 0000 root sys etc/rc0.d/K39samba packaging/SGI samba.sw.base symval(../init.d/samba)
-l 0000 root sys etc/rc2.d/S81samba packaging/SGI samba.sw.base symval(../init.d/samba)
-d 0755 root sys usr/relnotes/samba packaging/SGI samba.man.relnotes
-f 0644 root sys usr/relnotes/samba/GNU_COPYING.txt COPYING samba.man.relnotes
-f 0644 root sys usr/relnotes/samba/legal_notice.html packaging/SGI/legal_notice.html samba.man.relnotes
-f 0644 root sys usr/relnotes/samba/samba-relnotes.html packaging/SGI/relnotes.html samba.man.relnotes
-d 0755 root sys usr/samba packaging/SGI samba.sw.base
-f 0444 root sys usr/samba/README packaging/SGI/README samba.sw.base
-d 0755 root sys usr/samba/bin packaging/SGI samba.sw.base
-f 0755 root sys usr/samba/bin/addtosmbpass source/addtosmbpass samba.sw.base
-f 0775 root sys usr/samba/bin/nmbd source/nmbd samba.sw.base
-f 0755 root sys usr/samba/bin/nmblookup source/nmblookup samba.sw.base
-f 0644 root sys usr/samba/bin/psfixes.pl packaging/SGI/psfixes.pl samba.sw.base
-f 0755 root sys usr/samba/bin/sambalp packaging/SGI/sambalp samba.sw.base
-f 0755 root sys usr/samba/bin/smbclient source/smbclient samba.sw.base
-f 0775 root sys usr/samba/bin/smbd source/smbd samba.sw.base
-f 4555 root sys usr/samba/bin/smbpasswd source/smbpasswd samba.sw.base
-f 0755 root sys usr/samba/bin/smbprint packaging/SGI/smbprint samba.sw.base
-f 0755 root sys usr/samba/bin/smbrun source/smbrun samba.sw.base
-f 0755 root sys usr/samba/bin/smbstatus source/smbstatus samba.sw.base
-f 0755 root sys usr/samba/bin/smbtar source/smbtar samba.sw.base
-f 0775 root sys usr/samba/bin/testparm source/testparm samba.sw.base
-f 0775 root sys usr/samba/bin/testprns source/testprns samba.sw.base
-d 0755 root sys usr/samba/docs docs samba.man.doc
-f 0644 root sys usr/samba/docs/Application_Serving.txt docs/Application_Serving.txt samba.man.doc
-f 0644 root sys usr/samba/docs/BROWSING.txt docs/BROWSING.txt samba.man.doc
-f 0644 root sys usr/samba/docs/BUGS.txt docs/BUGS.txt samba.man.doc
-f 0644 root sys usr/samba/docs/DIAGNOSIS.txt docs/DIAGNOSIS.txt samba.man.doc
-f 0644 root sys usr/samba/docs/DNIX.txt docs/DNIX.txt samba.man.doc
-f 0644 root sys usr/samba/docs/DOMAIN.txt docs/DOMAIN.txt samba.man.doc
-f 0644 root sys usr/samba/docs/DOMAIN_CONTROL.txt docs/DOMAIN_CONTROL.txt samba.man.doc
-f 0644 root sys usr/samba/docs/ENCRYPTION.txt docs/ENCRYPTION.txt samba.man.doc
-f 0644 root sys usr/samba/docs/Faxing.txt docs/Faxing.txt samba.man.doc
-f 0644 root sys usr/samba/docs/GOTCHAS.txt docs/GOTCHAS.txt samba.man.doc
-f 0644 root sys usr/samba/docs/HINTS.txt docs/HINTS.txt samba.man.doc
-f 0644 root sys usr/samba/docs/INSTALL.sambatar docs/INSTALL.sambatar samba.man.doc
-f 0644 root sys usr/samba/docs/MIRRORS.txt docs/MIRRORS.txt samba.man.doc
-f 0644 root sys usr/samba/docs/NT4_PlainPassword.reg docs/NT4_PlainPassword.reg samba.man.doc
-f 0644 root sys usr/samba/docs/NetBIOS.txt docs/NetBIOS.txt samba.man.doc
-f 0644 root sys usr/samba/docs/OS2-Client-HOWTO.txt docs/OS2-Client-HOWTO.txt samba.man.doc
-f 0644 root sys usr/samba/docs/PROJECTS docs/PROJECTS samba.man.doc
-f 0644 root sys usr/samba/docs/Passwords.txt docs/Passwords.txt samba.man.doc
-f 0644 root sys usr/samba/docs/Printing.txt docs/Printing.txt samba.man.doc
-f 0644 root sys usr/samba/docs/README.DCEDFS docs/README.DCEDFS samba.man.doc
-f 0644 root sys usr/samba/docs/README.jis docs/README.jis samba.man.doc
-f 0644 root sys usr/samba/docs/README.sambatar docs/README.sambatar samba.man.doc
-f 0644 root sys usr/samba/docs/SCO.txt docs/SCO.txt samba.man.doc
-f 0644 root sys usr/samba/docs/SMBTAR.notes docs/SMBTAR.notes samba.man.doc
-f 0644 root sys usr/samba/docs/Speed.txt docs/Speed.txt samba.man.doc
-f 0644 root sys usr/samba/docs/Support.txt docs/Support.txt samba.man.doc
-f 0644 root sys usr/samba/docs/THANKS docs/THANKS samba.man.doc
-f 0644 root sys usr/samba/docs/Tracing.txt docs/Tracing.txt samba.man.doc
-f 0644 root sys usr/samba/docs/UNIX-SMB.txt docs/UNIX-SMB.txt samba.man.doc
-f 0644 root sys usr/samba/docs/UNIX_INSTALL.txt docs/UNIX_INSTALL.txt samba.man.doc
-f 0644 root sys usr/samba/docs/Win95.txt docs/Win95.txt samba.man.doc
-f 0644 root sys usr/samba/docs/Win95_PlainPassword.reg docs/Win95_PlainPassword.reg samba.man.doc
-f 0644 root sys usr/samba/docs/WinNT.txt docs/WinNT.txt samba.man.doc
-f 0644 root sys usr/samba/docs/announce docs/announce samba.man.doc
-d 0755 root sys usr/samba/docs/faq docs/faq samba.man.doc
-f 0644 root sys usr/samba/docs/faq/Samba-Server-FAQ-1.html docs/faq/Samba-Server-FAQ-1.html samba.man.doc
-f 0644 root sys usr/samba/docs/faq/Samba-Server-FAQ-2.html docs/faq/Samba-Server-FAQ-2.html samba.man.doc
-f 0644 root sys usr/samba/docs/faq/Samba-Server-FAQ.html docs/faq/Samba-Server-FAQ.html samba.man.doc
-f 0644 root sys usr/samba/docs/faq/Samba-Server-FAQ.sgml docs/faq/Samba-Server-FAQ.sgml samba.man.doc
-f 0644 root sys usr/samba/docs/faq/Samba-meta-FAQ-1.html docs/faq/Samba-meta-FAQ-1.html samba.man.doc
-f 0644 root sys usr/samba/docs/faq/Samba-meta-FAQ-2.html docs/faq/Samba-meta-FAQ-2.html samba.man.doc
-f 0644 root sys usr/samba/docs/faq/Samba-meta-FAQ-3.html docs/faq/Samba-meta-FAQ-3.html samba.man.doc
-f 0644 root sys usr/samba/docs/faq/Samba-meta-FAQ-4.html docs/faq/Samba-meta-FAQ-4.html samba.man.doc
-f 0644 root sys usr/samba/docs/faq/Samba-meta-FAQ-5.html docs/faq/Samba-meta-FAQ-5.html samba.man.doc
-f 0644 root sys usr/samba/docs/faq/Samba-meta-FAQ-6.html docs/faq/Samba-meta-FAQ-6.html samba.man.doc
-f 0644 root sys usr/samba/docs/faq/Samba-meta-FAQ.html docs/faq/Samba-meta-FAQ.html samba.man.doc
-f 0644 root sys usr/samba/docs/faq/Samba-meta-FAQ.sgml docs/faq/Samba-meta-FAQ.sgml samba.man.doc
-f 0644 root sys usr/samba/docs/faq/Samba-meta-FAQ.txt docs/faq/Samba-meta-FAQ.txt samba.man.doc
-f 0644 root sys usr/samba/docs/faq/sambafaq-1.html docs/faq/sambafaq-1.html samba.man.doc
-f 0644 root sys usr/samba/docs/faq/sambafaq-2.html docs/faq/sambafaq-2.html samba.man.doc
-f 0644 root sys usr/samba/docs/faq/sambafaq-3.html docs/faq/sambafaq-3.html samba.man.doc
-f 0644 root sys usr/samba/docs/faq/sambafaq-4.html docs/faq/sambafaq-4.html samba.man.doc
-f 0644 root sys usr/samba/docs/faq/sambafaq-5.html docs/faq/sambafaq-5.html samba.man.doc
-f 0644 root sys usr/samba/docs/faq/sambafaq.html docs/faq/sambafaq.html samba.man.doc
-f 0644 root sys usr/samba/docs/faq/sambafaq.sgml docs/faq/sambafaq.sgml samba.man.doc
-f 0644 root sys usr/samba/docs/faq/sambafaq.txt docs/faq/sambafaq.txt samba.man.doc
-f 0644 root sys usr/samba/docs/history docs/history samba.man.doc
-f 0644 root sys usr/samba/docs/internals.doc source/internals.doc samba.man.doc
-f 0644 root sys usr/samba/docs/nameannounce.doc source/nameannounce.doc samba.man.doc
-f 0644 root sys usr/samba/docs/namebrowse.doc source/namebrowse.doc samba.man.doc
-f 0644 root sys usr/samba/docs/namedbname.doc source/namedbname.doc samba.man.doc
-f 0644 root sys usr/samba/docs/namedbresp.doc source/namedbresp.doc samba.man.doc
-f 0644 root sys usr/samba/docs/nameelect.doc source/nameelect.doc samba.man.doc
-f 0644 root sys usr/samba/docs/namelogon.doc source/namelogon.doc samba.man.doc
-f 0644 root sys usr/samba/docs/namepacket.doc source/namepacket.doc samba.man.doc
-f 0644 root sys usr/samba/docs/namequery.doc source/namequery.doc samba.man.doc
-f 0644 root sys usr/samba/docs/nameresp.doc source/nameresp.doc samba.man.doc
-f 0644 root sys usr/samba/docs/nameserv.doc source/nameserv.doc samba.man.doc
-f 0644 root sys usr/samba/docs/nameservreply.doc source/nameservreply.doc samba.man.doc
-f 0644 root sys usr/samba/docs/nameservresp.doc source/nameservresp.doc samba.man.doc
-f 0644 root sys usr/samba/docs/namework.doc source/namework.doc samba.man.doc
-f 0644 root sys usr/samba/docs/nmbd.8 docs/nmbd.8 samba.man.doc
-f 0644 root sys usr/samba/docs/samba.7 docs/samba.7 samba.man.doc
-f 0644 root sys usr/samba/docs/samba.lsm docs/samba.lsm samba.man.doc
-f 0644 root sys usr/samba/docs/security_level.txt docs/security_level.txt samba.man.doc
-f 0644 root sys usr/samba/docs/smb.conf.5 docs/smb.conf.5 samba.man.doc
-f 0644 root sys usr/samba/docs/smbclient.1 docs/smbclient.1 samba.man.doc
-f 0644 root sys usr/samba/docs/smbd.8 docs/smbd.8 samba.man.doc
-f 0644 root sys usr/samba/docs/smbpasswd.8 docs/smbpasswd.8 samba.man.doc
-f 0644 root sys usr/samba/docs/smbrun.1 docs/smbrun.1 samba.man.doc
-f 0644 root sys usr/samba/docs/smbstatus.1 docs/smbstatus.1 samba.man.doc
-f 0644 root sys usr/samba/docs/smbtar.1 docs/smbtar.1 samba.man.doc
-f 0644 root sys usr/samba/docs/testparm.1 docs/testparm.1 samba.man.doc
-f 0644 root sys usr/samba/docs/testprns.1 docs/testprns.1 samba.man.doc
-f 0644 root sys usr/samba/docs/wfw_slip.htm docs/wfw_slip.htm samba.man.doc
-f 0755 root sys usr/samba/inetd.sh packaging/SGI/inetd.sh samba.sw.base
-d 0755 root sys usr/samba/lib packaging/SGI samba.sw.base
-f 0644 root sys usr/samba/lib/smb.conf packaging/SGI/smb.conf samba.sw.base config(update)
-f 0775 root sys usr/samba/mkprintcap.sh packaging/SGI/mkprintcap.sh samba.sw.base exitop(/usr/samba/mkprintcap.sh) removeop(rm /usr/samba/printcap)
-d 0755 root sys usr/samba/src source samba.src.samba
-f 0644 root sys usr/samba/src/COPYING COPYING samba.src.samba
-f 0644 root sys usr/samba/src/COPYING.LGPL COPYING.LGPL samba.src.samba
-f 0644 root sys usr/samba/src/Manifest Manifest samba.src.samba
-f 0644 root sys usr/samba/src/README README samba.src.samba
-f 0644 root sys usr/samba/src/README.UBI README.UBI samba.src.samba
-f 0644 root sys usr/samba/src/Read-Manifest-Now Read-Manifest-Now samba.src.samba
-f 0644 root sys usr/samba/src/Roadmap Roadmap samba.src.samba
-f 0644 root sys usr/samba/src/WHATSNEW.txt WHATSNEW.txt samba.src.samba
-d 0755 root sys usr/samba/src/docs docs samba.src.samba
-f 0644 root sys usr/samba/src/docs/Application_Serving.txt docs/Application_Serving.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/BROWSING.txt docs/BROWSING.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/BUGS.txt docs/BUGS.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/DIAGNOSIS.txt docs/DIAGNOSIS.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/DNIX.txt docs/DNIX.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/DOMAIN.txt docs/DOMAIN.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/DOMAIN_CONTROL.txt docs/DOMAIN_CONTROL.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/ENCRYPTION.txt docs/ENCRYPTION.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/Faxing.txt docs/Faxing.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/GOTCHAS.txt docs/GOTCHAS.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/HINTS.txt docs/HINTS.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/INSTALL.sambatar docs/INSTALL.sambatar samba.src.samba
-f 0644 root sys usr/samba/src/docs/MIRRORS.txt docs/MIRRORS.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/NT4_PlainPassword.reg docs/NT4_PlainPassword.reg samba.src.samba
-f 0644 root sys usr/samba/src/docs/NTDOMAIN.txt docs/NTDOMAIN.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/NetBIOS.txt docs/NetBIOS.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/OS2-Client-HOWTO.txt docs/OS2-Client-HOWTO.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/PROJECTS docs/PROJECTS samba.src.samba
-f 0644 root sys usr/samba/src/docs/Passwords.txt docs/Passwords.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/Printing.txt docs/Printing.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/README.DCEDFS docs/README.DCEDFS samba.src.samba
-f 0644 root sys usr/samba/src/docs/README.jis docs/README.jis samba.src.samba
-f 0644 root sys usr/samba/src/docs/README.sambatar docs/README.sambatar samba.src.samba
-f 0644 root sys usr/samba/src/docs/SCO.txt docs/SCO.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/SMBTAR.notes docs/SMBTAR.notes samba.src.samba
-f 0644 root sys usr/samba/src/docs/Speed.txt docs/Speed.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/Support.txt docs/Support.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/THANKS docs/THANKS samba.src.samba
-f 0644 root sys usr/samba/src/docs/Tracing.txt docs/Tracing.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/UNIX-SMB.txt docs/UNIX-SMB.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/UNIX_INSTALL.txt docs/UNIX_INSTALL.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/Win95.txt docs/Win95.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/Win95_PlainPassword.reg docs/Win95_PlainPassword.reg samba.src.samba
-f 0644 root sys usr/samba/src/docs/WinNT.txt docs/WinNT.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/announce docs/announce samba.src.samba
-f 0644 root sys usr/samba/src/docs/cifsntdomain.txt docs/cifsntdomain.txt samba.src.samba
-d 0755 root sys usr/samba/src/docs/faq docs/faq samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/Samba-Server-FAQ-1.html docs/faq/Samba-Server-FAQ-1.html samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/Samba-Server-FAQ-2.html docs/faq/Samba-Server-FAQ-2.html samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/Samba-Server-FAQ.html docs/faq/Samba-Server-FAQ.html samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/Samba-Server-FAQ.sgml docs/faq/Samba-Server-FAQ.sgml samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/Samba-meta-FAQ-1.html docs/faq/Samba-meta-FAQ-1.html samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/Samba-meta-FAQ-2.html docs/faq/Samba-meta-FAQ-2.html samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/Samba-meta-FAQ-3.html docs/faq/Samba-meta-FAQ-3.html samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/Samba-meta-FAQ-4.html docs/faq/Samba-meta-FAQ-4.html samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/Samba-meta-FAQ-5.html docs/faq/Samba-meta-FAQ-5.html samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/Samba-meta-FAQ-6.html docs/faq/Samba-meta-FAQ-6.html samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/Samba-meta-FAQ.html docs/faq/Samba-meta-FAQ.html samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/Samba-meta-FAQ.sgml docs/faq/Samba-meta-FAQ.sgml samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/Samba-meta-FAQ.txt docs/faq/Samba-meta-FAQ.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/sambafaq-1.html docs/faq/sambafaq-1.html samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/sambafaq-2.html docs/faq/sambafaq-2.html samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/sambafaq-3.html docs/faq/sambafaq-3.html samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/sambafaq-4.html docs/faq/sambafaq-4.html samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/sambafaq-5.html docs/faq/sambafaq-5.html samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/sambafaq.html docs/faq/sambafaq.html samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/sambafaq.sgml docs/faq/sambafaq.sgml samba.src.samba
-f 0644 root sys usr/samba/src/docs/faq/sambafaq.txt docs/faq/sambafaq.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/history docs/history samba.src.samba
-f 0644 root sys usr/samba/src/docs/make_smbcodepage.1 docs/make_smbcodepage.1 samba.src.samba
-f 0644 root sys usr/samba/src/docs/nmbd.8 docs/nmbd.8 samba.src.samba
-f 0644 root sys usr/samba/src/docs/samba.7 docs/samba.7 samba.src.samba
-f 0644 root sys usr/samba/src/docs/samba.lsm docs/samba.lsm samba.src.samba
-f 0644 root sys usr/samba/src/docs/security_level.txt docs/security_level.txt samba.src.samba
-f 0644 root sys usr/samba/src/docs/smb.conf.5 docs/smb.conf.5 samba.src.samba
-f 0644 root sys usr/samba/src/docs/smbclient.1 docs/smbclient.1 samba.src.samba
-f 0644 root sys usr/samba/src/docs/smbd.8 docs/smbd.8 samba.src.samba
-f 0644 root sys usr/samba/src/docs/smbpasswd.8 docs/smbpasswd.8 samba.src.samba
-f 0644 root sys usr/samba/src/docs/smbrun.1 docs/smbrun.1 samba.src.samba
-f 0644 root sys usr/samba/src/docs/smbstatus.1 docs/smbstatus.1 samba.src.samba
-f 0644 root sys usr/samba/src/docs/smbtar.1 docs/smbtar.1 samba.src.samba
-f 0644 root sys usr/samba/src/docs/testparm.1 docs/testparm.1 samba.src.samba
-f 0644 root sys usr/samba/src/docs/testprns.1 docs/testprns.1 samba.src.samba
-f 0644 root sys usr/samba/src/docs/wfw_slip.htm docs/wfw_slip.htm samba.src.samba
-d 0755 root sys usr/samba/src/examples examples samba.src.samba
-f 0664 root sys usr/samba/src/examples/README examples/README samba.src.samba
-d 0755 root sys usr/samba/src/examples/dce-dfs examples/dce-dfs samba.src.samba
-f 0644 root sys usr/samba/src/examples/dce-dfs/README examples/dce-dfs/README samba.src.samba
-f 0644 root sys usr/samba/src/examples/dce-dfs/smb.conf examples/dce-dfs/smb.conf samba.src.samba
-d 0755 root sys usr/samba/src/examples/misc examples/misc samba.src.samba
-f 0644 root sys usr/samba/src/examples/misc/extra_smbstatus examples/misc/extra_smbstatus samba.src.samba
-f 0644 root sys usr/samba/src/examples/misc/wall.perl examples/misc/wall.perl samba.src.samba
-d 0775 root sys usr/samba/src/examples/printer-accounting examples/printer-accounting samba.src.samba
-f 0664 root sys usr/samba/src/examples/printer-accounting/README examples/printer-accounting/README samba.src.samba
-f 0664 root sys usr/samba/src/examples/printer-accounting/acct-all examples/printer-accounting/acct-all samba.src.samba
-f 0664 root sys usr/samba/src/examples/printer-accounting/acct-sum examples/printer-accounting/acct-sum samba.src.samba
-f 0664 root sys usr/samba/src/examples/printer-accounting/hp5-redir examples/printer-accounting/hp5-redir samba.src.samba
-f 0664 root sys usr/samba/src/examples/printer-accounting/lp-acct examples/printer-accounting/lp-acct samba.src.samba
-f 0664 root sys usr/samba/src/examples/printer-accounting/printcap examples/printer-accounting/printcap samba.src.samba
-d 0755 root sys usr/samba/src/examples/printing examples/printing samba.src.samba
-f 0755 root sys usr/samba/src/examples/printing/smbprint examples/printing/smbprint samba.src.samba
-f 0644 root sys usr/samba/src/examples/printing/smbprint.sysv examples/printing/smbprint.sysv samba.src.samba
-d 0755 root sys usr/samba/src/examples/simple examples/simple samba.src.samba
-f 0644 root sys usr/samba/src/examples/simple/README examples/simple/README samba.src.samba
-f 0644 root sys usr/samba/src/examples/simple/smb.conf examples/simple/smb.conf samba.src.samba
-f 0664 root sys usr/samba/src/examples/smb.conf.default examples/smb.conf.default samba.src.samba
-d 0775 root sys usr/samba/src/examples/svr4-startup examples/svr4-startup samba.src.samba
-f 0664 root sys usr/samba/src/examples/svr4-startup/README examples/svr4-startup/README samba.src.samba
-f 0775 root sys usr/samba/src/examples/svr4-startup/samba.server examples/svr4-startup/samba.server samba.src.samba
-d 0755 root sys usr/samba/src/examples/thoralf examples/thoralf samba.src.samba
-f 0644 root sys usr/samba/src/examples/thoralf/smb.conf examples/thoralf/smb.conf samba.src.samba
-d 0755 root sys usr/samba/src/examples/tridge examples/tridge samba.src.samba
-f 0644 root sys usr/samba/src/examples/tridge/README examples/tridge/README samba.src.samba
-f 0644 root sys usr/samba/src/examples/tridge/smb.conf examples/tridge/smb.conf samba.src.samba
-f 0644 root sys usr/samba/src/examples/tridge/smb.conf.WinNT examples/tridge/smb.conf.WinNT samba.src.samba
-f 0644 root sys usr/samba/src/examples/tridge/smb.conf.fjall examples/tridge/smb.conf.fjall samba.src.samba
-f 0644 root sys usr/samba/src/examples/tridge/smb.conf.lapland examples/tridge/smb.conf.lapland samba.src.samba
-f 0644 root sys usr/samba/src/examples/tridge/smb.conf.vittjokk examples/tridge/smb.conf.vittjokk samba.src.samba
-d 0775 root sys usr/samba/src/examples/validchars examples/validchars samba.src.samba
-f 0664 root sys usr/samba/src/examples/validchars/msdos70.out examples/validchars/msdos70.out samba.src.samba
-f 0664 root sys usr/samba/src/examples/validchars/nwdos70.out examples/validchars/nwdos70.out samba.src.samba
-f 0664 root sys usr/samba/src/examples/validchars/readme examples/validchars/readme samba.src.samba
-f 0664 root sys usr/samba/src/examples/validchars/validchr.c examples/validchars/validchr.c samba.src.samba
-f 0664 root sys usr/samba/src/examples/validchars/validchr.com examples/validchars/validchr.com samba.src.samba
-d 0755 root sys usr/samba/src/packaging packaging samba.src.samba
-f 0644 root sys usr/samba/src/packaging/README packaging/README samba.src.samba
-d 0755 root sys usr/samba/src/packaging/SGI packaging/SGI samba.src.samba
-f 0644 root sys usr/samba/src/packaging/SGI/Makefile packaging/SGI/Makefile samba.src.samba
-f 0644 root sys usr/samba/src/packaging/SGI/README packaging/SGI/README samba.src.samba
-f 0755 root sys usr/samba/src/packaging/SGI/inetd.sh packaging/SGI/inetd.sh samba.src.samba
-f 0644 root sys usr/samba/src/packaging/SGI/legal_notice.html packaging/SGI/legal_notice.html samba.src.samba
-f 0755 root sys usr/samba/src/packaging/SGI/mkman packaging/SGI/mkman samba.src.samba
-f 0755 root sys usr/samba/src/packaging/SGI/mkprintcap.sh packaging/SGI/mkprintcap.sh samba.src.samba
-f 0755 root sys usr/samba/src/packaging/SGI/mkrelease.sh packaging/SGI/mkrelease.sh samba.src.samba
-f 0644 root sys usr/samba/src/packaging/SGI/printcap packaging/SGI/printcap samba.src.samba
-f 0644 root sys usr/samba/src/packaging/SGI/psfixes.pl packaging/SGI/psfixes.pl samba.src.samba
-f 0644 root sys usr/samba/src/packaging/SGI/relnotes.html packaging/SGI/relnotes.html samba.src.samba
-f 0644 root sys usr/samba/src/packaging/SGI/samba.config packaging/SGI/samba.config samba.src.samba
-f 0644 root sys usr/samba/src/packaging/SGI/samba.idb packaging/SGI/samba.idb samba.src.samba
-f 0644 root sys usr/samba/src/packaging/SGI/samba.rc packaging/SGI/samba.rc samba.src.samba
-f 0644 root sys usr/samba/src/packaging/SGI/samba.spec packaging/SGI/samba.spec samba.src.samba
-f 0644 root sys usr/samba/src/packaging/SGI/sambalp packaging/SGI/sambalp samba.src.samba
-f 0644 root sys usr/samba/src/packaging/SGI/smb.conf packaging/SGI/smb.conf samba.src.samba
-f 0644 root sys usr/samba/src/packaging/SGI/smbpasswd packaging/SGI/smbpasswd samba.src.samba
-f 0644 root sys usr/samba/src/packaging/SGI/smbprint packaging/SGI/smbprint samba.src.samba
-d 0755 root sys usr/samba/src/packaging/Solaris packaging/Solaris samba.src.samba
-d 0755 root sys usr/samba/src/packaging/Solaris/pkg-specs packaging/Solaris/pkg-specs samba.src.samba
-f 0644 root sys usr/samba/src/packaging/Solaris/pkg-specs/Packaging.script packaging/Solaris/pkg-specs/Packaging.script samba.src.samba
-f 0644 root sys usr/samba/src/packaging/Solaris/pkg-specs/mkprototype packaging/Solaris/pkg-specs/mkprototype samba.src.samba
-f 0644 root sys usr/samba/src/packaging/Solaris/pkg-specs/pkginfo packaging/Solaris/pkg-specs/pkginfo samba.src.samba
-f 0644 root sys usr/samba/src/packaging/Solaris/pkg-specs/postinstall packaging/Solaris/pkg-specs/postinstall samba.src.samba
-f 0644 root sys usr/samba/src/packaging/Solaris/pkg-specs/postremove packaging/Solaris/pkg-specs/postremove samba.src.samba
-d 0755 root sys usr/samba/src/packaging/redhat packaging/redhat samba.src.samba
-f 0644 root sys usr/samba/src/packaging/redhat/Instructions packaging/redhat/Instructions samba.src.samba
-f 0755 root sys usr/samba/src/packaging/redhat/makeldirs.sh packaging/redhat/makeldirs.sh samba.src.samba
-f 0755 root sys usr/samba/src/packaging/redhat/makerpms.sh packaging/redhat/makerpms.sh samba.src.samba
-f 0644 root sys usr/samba/src/packaging/redhat/samba-axp.patch packaging/redhat/samba-axp.patch samba.src.samba
-f 0644 root sys usr/samba/src/packaging/redhat/samba-make.patch packaging/redhat/samba-make.patch samba.src.samba
-f 0644 root sys usr/samba/src/packaging/redhat/samba.log packaging/redhat/samba.log samba.src.samba
-f 0644 root sys usr/samba/src/packaging/redhat/samba.pamd packaging/redhat/samba.pamd samba.src.samba
-f 0644 root sys usr/samba/src/packaging/redhat/samba.spec packaging/redhat/samba.spec samba.src.samba
-f 0644 root sys usr/samba/src/packaging/redhat/smb.conf packaging/redhat/smb.conf samba.src.samba
-f 0755 root sys usr/samba/src/packaging/redhat/smb.init packaging/redhat/smb.init samba.src.samba
-f 0755 root sys usr/samba/src/packaging/redhat/smbadduser packaging/redhat/smbadduser samba.src.samba
-f 0755 root sys usr/samba/src/packaging/redhat/smbprint packaging/redhat/smbprint samba.src.samba
-d 0755 root sys usr/samba/src/source source samba.src.samba
-f 0644 root sys usr/samba/src/source/Makefile source/Makefile samba.src.samba
-f 0644 root sys usr/samba/src/source/Makefile.OS2 source/Makefile.OS2 samba.src.samba
-f 0644 root sys usr/samba/src/source/access.c source/access.c samba.src.samba
-f 0644 root sys usr/samba/src/source/addtosmbpass source/addtosmbpass samba.src.samba
-f 0644 root sys usr/samba/src/source/byteorder.h source/byteorder.h samba.src.samba
-f 0644 root sys usr/samba/src/source/cgi.c source/cgi.c samba.src.samba
-f 0644 root sys usr/samba/src/source/change-log source/change-log samba.src.samba
-f 0644 root sys usr/samba/src/source/charcnv.c source/charcnv.c samba.src.samba
-f 0644 root sys usr/samba/src/source/charset.c source/charset.c samba.src.samba
-f 0644 root sys usr/samba/src/source/charset.h source/charset.h samba.src.samba
-f 0644 root sys usr/samba/src/source/checkos.sh source/checkos.sh samba.src.samba
-f 0644 root sys usr/samba/src/source/chgpasswd.c source/chgpasswd.c samba.src.samba
-f 0644 root sys usr/samba/src/source/client.c source/client.c samba.src.samba
-f 0644 root sys usr/samba/src/source/clientgen.c source/clientgen.c samba.src.samba
-f 0644 root sys usr/samba/src/source/clientutil.c source/clientutil.c samba.src.samba
-f 0644 root sys usr/samba/src/source/clitar.c source/clitar.c samba.src.samba
-f 0644 root sys usr/samba/src/source/clitar.h source/clitar.h samba.src.samba
-f 0644 root sys usr/samba/src/source/codepage_def.437 source/codepage_def.437 samba.src.samba
-f 0644 root sys usr/samba/src/source/codepage_def.850 source/codepage_def.850 samba.src.samba
-f 0644 root sys usr/samba/src/source/codepage_def.852 source/codepage_def.852 samba.src.samba
-f 0644 root sys usr/samba/src/source/codepage_def.932 source/codepage_def.932 samba.src.samba
-f 0644 root sys usr/samba/src/source/credentials.c source/credentials.c samba.src.samba
-f 0644 root sys usr/samba/src/source/cvs.log source/cvs.log samba.src.samba
-f 0644 root sys usr/samba/src/source/dir.c source/dir.c samba.src.samba
-f 0644 root sys usr/samba/src/source/fault.c source/fault.c samba.src.samba
-f 0644 root sys usr/samba/src/source/getsmbpass.c source/getsmbpass.c samba.src.samba
-f 0644 root sys usr/samba/src/source/includes.h source/includes.h samba.src.samba
-f 0644 root sys usr/samba/src/source/installbin.sh source/installbin.sh samba.src.samba
-f 0644 root sys usr/samba/src/source/installcp.sh source/installcp.sh samba.src.samba
-f 0644 root sys usr/samba/src/source/installman.sh source/installman.sh samba.src.samba
-f 0644 root sys usr/samba/src/source/installscripts.sh source/installscripts.sh samba.src.samba
-f 0644 root sys usr/samba/src/source/interface.c source/interface.c samba.src.samba
-f 0644 root sys usr/samba/src/source/internals.doc source/internals.doc samba.src.samba
-f 0644 root sys usr/samba/src/source/ipc.c source/ipc.c samba.src.samba
-f 0644 root sys usr/samba/src/source/kanji.c source/kanji.c samba.src.samba
-f 0644 root sys usr/samba/src/source/kanji.h source/kanji.h samba.src.samba
-f 0644 root sys usr/samba/src/source/loadparm.c source/loadparm.c samba.src.samba
-f 0644 root sys usr/samba/src/source/local.h source/local.h samba.src.samba
-f 0644 root sys usr/samba/src/source/locking.c source/locking.c samba.src.samba
-f 0644 root sys usr/samba/src/source/locking_shm.c source/locking_shm.c samba.src.samba
-f 0644 root sys usr/samba/src/source/locking_slow.c source/locking_slow.c samba.src.samba
-f 0644 root sys usr/samba/src/source/lsaparse.c source/lsaparse.c samba.src.samba
-f 0644 root sys usr/samba/src/source/make_smbcodepage.c source/make_smbcodepage.c samba.src.samba
-f 0644 root sys usr/samba/src/source/mangle.c source/mangle.c samba.src.samba
-f 0644 root sys usr/samba/src/source/md4.c source/md4.c samba.src.samba
-f 0644 root sys usr/samba/src/source/message.c source/message.c samba.src.samba
-f 0644 root sys usr/samba/src/source/mkproto.awk source/mkproto.awk samba.src.samba
-f 0644 root sys usr/samba/src/source/mksmbpasswd.sh source/mksmbpasswd.sh samba.src.samba
-f 0644 root sys usr/samba/src/source/nameannounce.c source/nameannounce.c samba.src.samba
-f 0644 root sys usr/samba/src/source/nameannounce.doc source/nameannounce.doc samba.src.samba
-f 0644 root sys usr/samba/src/source/namebrowse.c source/namebrowse.c samba.src.samba
-f 0644 root sys usr/samba/src/source/namebrowse.doc source/namebrowse.doc samba.src.samba
-f 0644 root sys usr/samba/src/source/nameconf.c source/nameconf.c samba.src.samba
-f 0644 root sys usr/samba/src/source/namedbname.c source/namedbname.c samba.src.samba
-f 0644 root sys usr/samba/src/source/namedbname.doc source/namedbname.doc samba.src.samba
-f 0644 root sys usr/samba/src/source/namedbresp.c source/namedbresp.c samba.src.samba
-f 0644 root sys usr/samba/src/source/namedbresp.doc source/namedbresp.doc samba.src.samba
-f 0644 root sys usr/samba/src/source/namedbserver.c source/namedbserver.c samba.src.samba
-f 0644 root sys usr/samba/src/source/namedbsubnet.c source/namedbsubnet.c samba.src.samba
-f 0644 root sys usr/samba/src/source/namedbwork.c source/namedbwork.c samba.src.samba
-f 0644 root sys usr/samba/src/source/nameelect.c source/nameelect.c samba.src.samba
-f 0644 root sys usr/samba/src/source/nameelect.doc source/nameelect.doc samba.src.samba
-f 0644 root sys usr/samba/src/source/namelogon.c source/namelogon.c samba.src.samba
-f 0644 root sys usr/samba/src/source/namelogon.doc source/namelogon.doc samba.src.samba
-f 0644 root sys usr/samba/src/source/namepacket.c source/namepacket.c samba.src.samba
-f 0644 root sys usr/samba/src/source/namepacket.doc source/namepacket.doc samba.src.samba
-f 0644 root sys usr/samba/src/source/namequery.c source/namequery.c samba.src.samba
-f 0644 root sys usr/samba/src/source/namequery.doc source/namequery.doc samba.src.samba
-f 0644 root sys usr/samba/src/source/nameresp.c source/nameresp.c samba.src.samba
-f 0644 root sys usr/samba/src/source/nameresp.doc source/nameresp.doc samba.src.samba
-f 0644 root sys usr/samba/src/source/nameserv.c source/nameserv.c samba.src.samba
-f 0644 root sys usr/samba/src/source/nameserv.doc source/nameserv.doc samba.src.samba
-f 0644 root sys usr/samba/src/source/nameserv.h source/nameserv.h samba.src.samba
-f 0644 root sys usr/samba/src/source/nameservreply.c source/nameservreply.c samba.src.samba
-f 0644 root sys usr/samba/src/source/nameservreply.doc source/nameservreply.doc samba.src.samba
-f 0644 root sys usr/samba/src/source/nameservresp.c source/nameservresp.c samba.src.samba
-f 0644 root sys usr/samba/src/source/nameservresp.doc source/nameservresp.doc samba.src.samba
-f 0644 root sys usr/samba/src/source/namework.c source/namework.c samba.src.samba
-f 0644 root sys usr/samba/src/source/namework.doc source/namework.doc samba.src.samba
-f 0644 root sys usr/samba/src/source/nmbd.c source/nmbd.c samba.src.samba
-f 0644 root sys usr/samba/src/source/nmblib.c source/nmblib.c samba.src.samba
-f 0644 root sys usr/samba/src/source/nmblookup.c source/nmblookup.c samba.src.samba
-f 0644 root sys usr/samba/src/source/nmbsync.c source/nmbsync.c samba.src.samba
-f 0644 root sys usr/samba/src/source/nterr.h source/nterr.h samba.src.samba
-f 0644 root sys usr/samba/src/source/params.c source/params.c samba.src.samba
-f 0644 root sys usr/samba/src/source/password.c source/password.c samba.src.samba
-f 0644 root sys usr/samba/src/source/pcap.c source/pcap.c samba.src.samba
-f 0644 root sys usr/samba/src/source/pipenetlog.c source/pipenetlog.c samba.src.samba
-f 0644 root sys usr/samba/src/source/pipentlsa.c source/pipentlsa.c samba.src.samba
-f 0644 root sys usr/samba/src/source/pipes.c source/pipes.c samba.src.samba
-f 0644 root sys usr/samba/src/source/pipesrvsvc.c source/pipesrvsvc.c samba.src.samba
-f 0644 root sys usr/samba/src/source/pipeutil.c source/pipeutil.c samba.src.samba
-f 0644 root sys usr/samba/src/source/predict.c source/predict.c samba.src.samba
-f 0644 root sys usr/samba/src/source/printing.c source/printing.c samba.src.samba
-f 0644 root sys usr/samba/src/source/proto.h source/proto.h samba.src.samba
-f 0644 root sys usr/samba/src/source/quotas.c source/quotas.c samba.src.samba
-f 0644 root sys usr/samba/src/source/replace.c source/replace.c samba.src.samba
-f 0644 root sys usr/samba/src/source/reply.c source/reply.c samba.src.samba
-f 0644 root sys usr/samba/src/source/revert.sh source/revert.sh samba.src.samba
-f 0644 root sys usr/samba/src/source/server.c source/server.c samba.src.samba
-f 0644 root sys usr/samba/src/source/shmem.c source/shmem.c samba.src.samba
-f 0644 root sys usr/samba/src/source/smb.h source/smb.h samba.src.samba
-f 0644 root sys usr/samba/src/source/smbadduser source/smbadduser samba.src.samba
-f 0644 root sys usr/samba/src/source/smbdes.c source/smbdes.c samba.src.samba
-f 0644 root sys usr/samba/src/source/smbencrypt.c source/smbencrypt.c samba.src.samba
-f 0644 root sys usr/samba/src/source/smbparse.c source/smbparse.c samba.src.samba
-f 0644 root sys usr/samba/src/source/smbpass.c source/smbpass.c samba.src.samba
-f 0644 root sys usr/samba/src/source/smbpasswd.c source/smbpasswd.c samba.src.samba
-f 0644 root sys usr/samba/src/source/smbrun.c source/smbrun.c samba.src.samba
-f 0644 root sys usr/samba/src/source/smbtar source/smbtar samba.src.samba
-f 0644 root sys usr/samba/src/source/srvparse.c source/srvparse.c samba.src.samba
-f 0644 root sys usr/samba/src/source/status.c source/status.c samba.src.samba
-f 0644 root sys usr/samba/src/source/system.c source/system.c samba.src.samba
-f 0644 root sys usr/samba/src/source/testparm.c source/testparm.c samba.src.samba
-f 0644 root sys usr/samba/src/source/testprns.c source/testprns.c samba.src.samba
-f 0644 root sys usr/samba/src/source/time.c source/time.c samba.src.samba
-f 0644 root sys usr/samba/src/source/trans2.c source/trans2.c samba.src.samba
-f 0644 root sys usr/samba/src/source/trans2.h source/trans2.h samba.src.samba
-f 0644 root sys usr/samba/src/source/ubi_dLinkList.c source/ubi_dLinkList.c samba.src.samba
-f 0644 root sys usr/samba/src/source/ubi_dLinkList.h source/ubi_dLinkList.h samba.src.samba
-f 0644 root sys usr/samba/src/source/ufc.c source/ufc.c samba.src.samba
-f 0644 root sys usr/samba/src/source/uid.c source/uid.c samba.src.samba
-f 0644 root sys usr/samba/src/source/uninstallbin.sh source/uninstallbin.sh samba.src.samba
-f 0644 root sys usr/samba/src/source/uninstallcp.sh source/uninstallcp.sh samba.src.samba
-f 0644 root sys usr/samba/src/source/uninstallman.sh source/uninstallman.sh samba.src.samba
-f 0644 root sys usr/samba/src/source/uninstallscripts.sh source/uninstallscripts.sh samba.src.samba
-f 0644 root sys usr/samba/src/source/updatesmbpasswd.sh source/updatesmbpasswd.sh samba.src.samba
-f 0644 root sys usr/samba/src/source/username.c source/username.c samba.src.samba
-f 0644 root sys usr/samba/src/source/util.c source/util.c samba.src.samba
-f 0644 root sys usr/samba/src/source/version.h source/version.h samba.src.samba
-f 0644 root sys usr/samba/src/source/vt_mode.c source/vt_mode.c samba.src.samba
-f 0644 root sys usr/samba/src/source/vt_mode.h source/vt_mode.h samba.src.samba
-f 0644 root sys usr/samba/src/source/wsmbconf.c source/wsmbconf.c samba.src.samba
-f 0644 root sys usr/samba/src/source/wsmbstatus.c source/wsmbstatus.c samba.src.samba
-d 0775 root sys usr/samba/var/locks packaging/SGI samba.sw.base
-d 0755 root sys usr/share/catman/u_man packaging/SGI/catman samba.man.manpages
-d 0755 root sys usr/share/catman/u_man/cat1 packaging/SGI/catman samba.man.manpages
-f 0664 root sys usr/share/catman/u_man/cat1/smbclient.1.Z packaging/SGI/catman/smbclient.1.Z samba.man.manpages
-f 0664 root sys usr/share/catman/u_man/cat1/smbrun.1.Z packaging/SGI/catman/smbrun.1.Z samba.man.manpages
-f 0664 root sys usr/share/catman/u_man/cat1/smbstatus.1.Z packaging/SGI/catman/smbstatus.1.Z samba.man.manpages
-f 0664 root sys usr/share/catman/u_man/cat1/smbtar.1.Z packaging/SGI/catman/smbtar.1.Z samba.man.manpages
-f 0664 root sys usr/share/catman/u_man/cat1/testparm.1.Z packaging/SGI/catman/testparm.1.Z samba.man.manpages
-f 0664 root sys usr/share/catman/u_man/cat1/testprns.1.Z packaging/SGI/catman/testprns.1.Z samba.man.manpages
-d 0755 root sys usr/share/catman/u_man/cat5 packaging/SGI/catman samba.man.manpages
-f 0664 root sys usr/share/catman/u_man/cat5/smb.conf.5.Z packaging/SGI/catman/smb.conf.5.Z samba.man.manpages
-d 0755 root sys usr/share/catman/u_man/cat7 packaging/SGI/catman samba.man.manpages
-f 0664 root sys usr/share/catman/u_man/cat7/samba.7.Z packaging/SGI/catman/samba.7.Z samba.man.manpages
-d 0755 root sys usr/share/catman/u_man/cat8 packaging/SGI/catman samba.man.manpages
-f 0664 root sys usr/share/catman/u_man/cat8/nmbd.8.Z packaging/SGI/catman/nmbd.8.Z samba.man.manpages
-f 0664 root sys usr/share/catman/u_man/cat8/smbd.8.Z packaging/SGI/catman/smbd.8.Z samba.man.manpages
-f 0664 root sys usr/share/catman/u_man/cat8/smbpasswd.8.Z packaging/SGI/catman/smbpasswd.8.Z samba.man.manpages
diff --git a/packaging/SGI/samba.spec b/packaging/SGI/samba.spec
deleted file mode 100644
index 62941a2711..0000000000
--- a/packaging/SGI/samba.spec
+++ /dev/null
@@ -1,45 +0,0 @@
-product samba
- id "Samba version 1.9.18alpha3"
- image sw
- id "Samba Execution Environment"
- version 0109180003
- order 0
- subsys base default
- id "Samba Execution Environment"
- replaces fw_samba.sw.base 0 9999999999
- replaces fw_samba.sw.samba 0 9999999999
- exp samba.sw.base
- endsubsys
- endimage
- image man
- id "Samba Online Documentation"
- version 0109180003
- order 1
- subsys manpages default
- id "Samba Man Page"
- replaces fw_samba.man.manpages 0 9999999999
- replaces fw_samba.man.samba 0 9999999999
- exp samba.man.manpages
- endsubsys
- subsys doc default
- id "Samba Documentation"
- replaces fw_samba.man.doc 0 9999999999
- exp samba.man.doc
- endsubsys
- subsys relnotes default
- id "Samba Release Notes"
- replaces fw_samba.man.relnotes 0 9999999999
- exp samba.man.relnotes
- endsubsys
- endimage
- image src
- id "Samba Source Code"
- version 0109180003
- order 2
- subsys samba
- id "Samba Source Code"
- replaces fw_samba.src.samba 0 9999999999
- exp samba.src.samba
- endsubsys
- endimage
-endproduct
diff --git a/packaging/SGI/spec.pl b/packaging/SGI/spec.pl
new file mode 100755
index 0000000000..93aa8632d9
--- /dev/null
+++ b/packaging/SGI/spec.pl
@@ -0,0 +1,76 @@
+#!/usr/bin/perl
+
+# This perl script generates the samba.spec file based on the version
+# information in the version.h file in the source tree
+
+open (VER,'../../source/version.h');
+($_ = <VER>) =~ s/"//g;
+close (VER);
+@foo = split(' ');
+splice(@foo,0,2);
+$_ = $foo[0];
+
+# create the package name
+$vername = " id \"Samba Version ".$_."\"\n";
+
+#create the subsystem version numbers
+if (/alpha/) {
+ $_ =~ s/alpha/.00./;
+}
+elsif (/p/) {
+ $_ =~ s/p/./;
+ $_ .= '.00';
+}
+($v1,$v2,$v3,$v4,$v5) = split('\.');
+$vernum = sprintf " version %02d%02d%02d%02d%02d\n",$v1,$v2,$v3,$v4,$v5;
+
+# generate the samba.spec file
+open(SPEC,">samba.spec");
+print SPEC "product samba\n";
+print SPEC $vername;
+print SPEC " image sw\n";
+print SPEC " id \"Samba Execution Environment\"\n";
+print SPEC $vernum;
+print SPEC " order 0\n";
+print SPEC " subsys base default\n";
+print SPEC " id \"Samba Execution Environment\"\n";
+print SPEC " replaces fw_samba.sw.base 0 9999999999\n";
+print SPEC " replaces fw_samba.sw.samba 0 9999999999\n";
+print SPEC " exp samba.sw.base\n";
+print SPEC " endsubsys\n";
+print SPEC " endimage\n";
+print SPEC " image man\n";
+print SPEC " id \"Samba Online Documentation\"\n";
+print SPEC $vernum;
+print SPEC " order 1\n";
+print SPEC " subsys manpages default\n";
+print SPEC " id \"Samba Man Page\"\n";
+print SPEC " replaces fw_samba.man.manpages 0 9999999999\n";
+print SPEC " replaces fw_samba.man.samba 0 9999999999\n";
+print SPEC " exp samba.man.manpages\n";
+print SPEC " endsubsys\n";
+print SPEC " subsys doc default\n";
+print SPEC " id \"Samba Documentation\"\n";
+print SPEC " replaces fw_samba.man.doc 0 9999999999\n";
+print SPEC " exp samba.man.doc\n";
+print SPEC " endsubsys\n";
+print SPEC " subsys relnotes default\n";
+print SPEC " id \"Samba Release Notes\"\n";
+print SPEC " replaces fw_samba.man.relnotes 0 9999999999\n";
+print SPEC " exp samba.man.relnotes\n";
+print SPEC " endsubsys\n";
+print SPEC " endimage\n";
+print SPEC " image src\n";
+print SPEC " id \"Samba Source Code\"\n";
+print SPEC $vernum;
+print SPEC " order 2\n";
+print SPEC " subsys samba\n";
+print SPEC " id \"Samba Source Code\"\n";
+print SPEC " replaces fw_samba.src.samba 0 9999999999\n";
+print SPEC " exp samba.src.samba\n";
+print SPEC " endsubsys\n";
+print SPEC " endimage\n";
+print SPEC "endproduct\n";
+close SPEC;
+
+print "\nsamba.spec file has been created\n\n";