summaryrefslogtreecommitdiff
path: root/packaging/SGI
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/SGI')
-rwxr-xr-xpackaging/SGI/idb.pl12
-rw-r--r--packaging/SGI/smbpasswd2
2 files changed, 12 insertions, 2 deletions
diff --git a/packaging/SGI/idb.pl b/packaging/SGI/idb.pl
index f071e1809b..4fb0d6bb9a 100755
--- a/packaging/SGI/idb.pl
+++ b/packaging/SGI/idb.pl
@@ -19,6 +19,8 @@ open(MAKEFILE,"../../source/Makefile") || die "Unable to open Makefile\n";
@makefile = <MAKEFILE>;
@sprogs = grep(/^SPROGS /,@makefile);
@progs1 = grep(/^PROGS1 /,@makefile);
+@progs2 = grep(/^PROGS2 /,@makefile);
+@mprogs = grep(/^MPROGS /,@makefile);
@progs = grep(/^PROGS /,@makefile);
@scripts = grep(/^SCRIPTS /,@makefile);
@codepage = grep(/^CODEPAGELIST/,@makefile);
@@ -32,10 +34,18 @@ if (@progs) {
@progs[0] =~ s/^.*\=//;
@progs = split(' ',@progs[0]);
}
+if (@mprogs) {
+ @mprogs[0] =~ s/^.*\=//;
+ @mprogs = split(' ',@mprogs[0]);
+}
if (@progs1) {
@progs1[0] =~ s/^.*\=//;
@progs1 = split(' ',@progs1[0]);
}
+if (@progs2) {
+ @progs2[0] =~ s/^.*\=//;
+ @progs2 = split(' ',@progs2[0]);
+}
if (@scripts) {
@scripts[0] =~ s/^.*\=//;
@scripts = split(' ',@scripts[0]);
@@ -57,7 +67,7 @@ system("cp ../swat/README ../packaging/SGI/swat");
chdir $curdir;
# add my local files to the list of binaries to install
-@bins = sort byfilename (@sprogs,@progs,@progs1,@scripts,("/findsmb","/sambalp","/smbprint"));
+@bins = sort byfilename (@sprogs,@progs,@progs1,@progs2,@mprogs,@scripts,("/findsmb","/sambalp","/smbprint"));
# get a complete list of all files in the tree
chdir '../../';
diff --git a/packaging/SGI/smbpasswd b/packaging/SGI/smbpasswd
index 79c834dc35..8e7ab34cad 100644
--- a/packaging/SGI/smbpasswd
+++ b/packaging/SGI/smbpasswd
@@ -1 +1 @@
-username:uid:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:Long name:user home dir:user shell
+# Samba SMB password file