mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
merge 2.0 changes
This commit is contained in:
parent
158d9cada8
commit
7b3afe300b
@ -85,7 +85,7 @@ closedir(DIR);
|
||||
# install the swat files
|
||||
chdir "$SRCDIR/source";
|
||||
system("chmod +x ./script/installswat.sh");
|
||||
system("./script/installswat.sh ../packaging/SGI/swat ./");
|
||||
system("./script/installswat.sh ../packaging/SGI/swat ./ ../packaging/SGI/swat/using_samba");
|
||||
system("cp -f ../swat/README ../packaging/SGI/swat");
|
||||
chdir $curdir;
|
||||
|
||||
@ -100,6 +100,7 @@ chdir $curdir;
|
||||
# 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);
|
||||
@docs = grep(!/htmldocs\/using_samba/, @docs);
|
||||
|
||||
@swatfiles = sort grep(/^packaging\/SGI\/swat/, @allfiles);
|
||||
@catman = sort grep(/^packaging\/SGI\/catman/ & !/\/$/, @allfiles);
|
||||
@ -140,22 +141,22 @@ while(@bins) {
|
||||
|
||||
if (index($nextfile,'$')) {
|
||||
if ($filename eq "smbpasswd") {
|
||||
print IDB "f 0755 root sys usr/samba/bin/$filename $SRCPFX/source/$nextfile $PKG.sw.base nostrip\n";
|
||||
print IDB "f 0755 root sys usr/samba/bin/$filename $SRCPFX/source/$nextfile $PKG.sw.base \n";
|
||||
}
|
||||
elsif ($filename eq "findsmb") {
|
||||
print IDB "f 0755 root sys usr/samba/bin/$filename $SRCPFX/packaging/SGI/$filename $PKG.sw.base\n";
|
||||
}
|
||||
elsif ($filename eq "swat") {
|
||||
print IDB "f 4755 root sys usr/samba/bin/$filename $SRCPFX/source/$nextfile $PKG.sw.base nostrip preop(\"chroot \$rbase /etc/init.d/samba stop\") exitop(\"chroot \$rbase /usr/samba/scripts/startswat.sh\") removeop(\"chroot \$rbase /sbin/cp /etc/inetd.conf /etc/inetd.conf.O ; chroot \$rbase /sbin/sed -e '/^swat/D' -e '/^#SWAT/D' /etc/inetd.conf.O >/etc/inetd.conf; /etc/killall -HUP inetd || true\")\n";
|
||||
print IDB "f 4755 root sys usr/samba/bin/$filename $SRCPFX/source/$nextfile $PKG.sw.base preop(\"chroot \$rbase /etc/init.d/samba stop\") exitop(\"chroot \$rbase /usr/samba/scripts/startswat.sh\") removeop(\"chroot \$rbase /sbin/cp /etc/inetd.conf /etc/inetd.conf.O ; chroot \$rbase /sbin/sed -e '/^swat/D' -e '/^#SWAT/D' /etc/inetd.conf.O >/etc/inetd.conf; /etc/killall -HUP inetd || true\")\n";
|
||||
}
|
||||
elsif ($filename eq "sambalp") {
|
||||
print IDB "f 0755 root sys usr/samba/bin/$filename $SRCPFX/packaging/SGI/$filename $PKG.sw.base nostrip\n";
|
||||
print IDB "f 0755 root sys usr/samba/bin/$filename $SRCPFX/packaging/SGI/$filename $PKG.sw.base \n";
|
||||
}
|
||||
elsif ($filename eq "smbprint") {
|
||||
print IDB "f 0755 root sys usr/samba/bin/$filename $SRCPFX/packaging/SGI/$filename $PKG.sw.base\n";
|
||||
}
|
||||
else {
|
||||
print IDB "f 0755 root sys usr/samba/bin/$filename $SRCPFX/source/$nextfile $PKG.sw.base nostrip\n";
|
||||
print IDB "f 0755 root sys usr/samba/bin/$filename $SRCPFX/source/$nextfile $PKG.sw.base \n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user