summaryrefslogtreecommitdiff
path: root/packaging/SGI/idb.pl
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/SGI/idb.pl')
-rwxr-xr-xpackaging/SGI/idb.pl25
1 files changed, 1 insertions, 24 deletions
diff --git a/packaging/SGI/idb.pl b/packaging/SGI/idb.pl
index 424c4ed1303..64b2e7bc532 100755
--- a/packaging/SGI/idb.pl
+++ b/packaging/SGI/idb.pl
@@ -49,12 +49,6 @@ if (@codepage) {
chdir $curdir;
@codepage = sort split(' ',@codepage[0]);
}
-# install the swat files
-chdir '../../source';
-system("chmod +x ./installswat.sh");
-system("./installswat.sh ../packaging/SGI/swat ./");
-system("cp ../swat/README ../packaging/SGI/swat");
-chdir $curdir;
# add my local files to the list of binaries to install
@bins = sort (@sprogs,@progs,@progs1,@scripts,("findsmb","sambalp","smbprint"));
@@ -68,13 +62,12 @@ chdir $curdir;
# the "*.doc" files from the source tree
@docs = sort byfilename grep (!/^docs\/$/ & (/^source\/.*\.doc$/ | /^docs\//),@allfiles);
-@swatfiles = sort grep(/^packaging\/SGI\/swat/, @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\/codepages/ & !/^packaging\/SGI\/swat/, @allfiles);
+@allfiles = grep(!/^.*\.o$/ & !/^packaging\/SGI\/bins/ & !/^packaging\/SGI\/catman/ & !/^packaging\/SGI\/html/ & !/^packaging\/SGI\/codepages/, @allfiles);
open(IDB,">samba.idb") || die "Unable to open samba.idb for output\n";
@@ -103,9 +96,6 @@ while(@bins) {
elsif ($nextfile eq "findsmb") {
print IDB "f 0755 root sys usr/samba/bin/$nextfile packaging/SGI/$nextfile samba.sw.base\n";
}
- elsif ($nextfile eq "swat") {
- print IDB "f 4755 root sys usr/samba/bin/$nextfile source/$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";
}
@@ -166,19 +156,6 @@ while (@sorted) {
}
}
-print IDB "d 0755 root sys usr/samba/swat/ packaging/SGI/swat samba.sw.base\n";
-while (@swatfiles) {
- $nextfile = shift @swatfiles;
- ($file = $nextfile) =~ s/^packaging\/SGI\/swat\///;
- next if !$file;
- if (grep(/\/$/,$file)) {
- print IDB "d 0755 root sys usr/samba/swat/$file packaging/SGI/swat/$file samba.sw.base\n";
- }
- else {
- print IDB "f 0444 root sys usr/samba/swat/$file packaging/SGI/swat/$file samba.sw.base\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";