diff options
author | Gerald Carter <jerry@samba.org> | 2003-09-09 03:18:20 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-09-09 03:18:20 +0000 |
commit | 3cf6eaebd6c57974d33934bf9647b0ab9f50f88e (patch) | |
tree | 2fadaad0c5f22354650f4c64a07ab2c06aad0ec4 /packaging/SGI | |
parent | 07643607a706464089bb4b5a8bd902742591b864 (diff) | |
download | samba-3cf6eaebd6c57974d33934bf9647b0ab9f50f88e.tar.gz samba-3cf6eaebd6c57974d33934bf9647b0ab9f50f88e.tar.bz2 samba-3cf6eaebd6c57974d33934bf9647b0ab9f50f88e.zip |
syncing packaging files from 3.0
(This used to be commit ccc2a0d3840f88625cf89d6739320728e830ef87)
Diffstat (limited to 'packaging/SGI')
-rwxr-xr-x | packaging/SGI/mkrelease.sh | 2 | ||||
-rwxr-xr-x | packaging/SGI/spec.pl | 16 |
2 files changed, 13 insertions, 5 deletions
diff --git a/packaging/SGI/mkrelease.sh b/packaging/SGI/mkrelease.sh index 6ba486c673..89854300aa 100755 --- a/packaging/SGI/mkrelease.sh +++ b/packaging/SGI/mkrelease.sh @@ -114,6 +114,8 @@ if [ $errstat -ne 0 ]; then echo "Error $errstat creating samba.idb\n"; exit $errstat; fi +sort +4 samba.idb > xxx +mv xxx samba.idb if [ ! -d bins ]; then mkdir bins diff --git a/packaging/SGI/spec.pl b/packaging/SGI/spec.pl index 4541eb04ec..d581db7043 100755 --- a/packaging/SGI/spec.pl +++ b/packaging/SGI/spec.pl @@ -4,15 +4,21 @@ # information in the version.h file in the source tree open (VER,'../../source/include/version.h') || die "Unable to open version.h\n"; -($_ = <VER>) =~ s/"//g; +while ( <VER> ) { + chomp; + if ( /SAMBA_VERSION_OFFICIAL_STRING/ ) { + s/^.*SAMBA_VERSION_OFFICIAL_STRING "//; + s/".*$//; + $SambaVersion = $_; + } +} close (VER); -@foo = split(' '); -splice(@foo,0,2); -$_ = $foo[0]; # create the package name -$vername = " id \"Samba Version ".$_."\"\n"; +$vername = " id \"Samba Version ".$SambaVersion."\"\n"; +$_ = $SambaVersion; +s/^.* //; $patch = 0; #create the subsystem version numbers if (/alpha/) { |