~ubuntu-branches/ubuntu/gutsy/samba/gutsy-updates

« back to all changes in this revision

Viewing changes to packaging/RedHat-9/makerpms.sh

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Mitchell
  • Date: 2006-11-28 20:14:37 UTC
  • mfrom: (0.10.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061128201437-a6x4lzlhempazocp
Tags: 3.0.23d-1ubuntu1
* Merge from debian unstable.
* Drop python2.4-samba, replace with python-samba. Added Conflicts/Replaces
  on python2.4-samba
* Drop track-connection-dos.patch, ubuntu-winbind-panic.patch, 
  ubuntu-fix-ldap.patch, ubuntu-setlocale.patch, ubuntu-setlocale-fixes.patch
* Remaining Ubuntu changes:
  - Revert Debian's installation of mount.cifs and umount.cifs as suid
  - Comment out the default [homes] shares and add more verbose comments to
    explain what they do and how they work (closes: launchpad.net/27608)
  - Add a "valid users = %S" stanza to the commented-out [homes] section, to
    show users how to restrict access to \\server\username to only username.
  - Change the (commented-out) "printer admin" example to use "@lpadmin"
    instead of "@ntadmin", since the lpadmin group is used for spool admin.
  - Alter the panic-action script to encourage users to report their
    bugs in Ubuntu packages to Ubuntu, rather than reporting to Debian.
    Modify text to more closely match the Debian script
  - Munge our init script to deal with the fact that our implementation
    (or lack thereof) of log_daemon_msg and log_progress_msg differs
    from Debian's implementation of the same (Ubuntu #19691)
  - Kept ubuntu-auxsrc.patch: some auxilliary sources (undocumented in 
    previous changelogs)
  - Set default workgroup to MSHOME

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
USERID=`id -u`
22
22
GRPID=`id -g`
23
 
VERSION='3.0.22'
 
23
VERSION='3.0.23d'
 
24
REVISION=''
24
25
SPECFILE="samba3.spec"
25
26
RPMVER=`rpm --version | awk '{print $3}'`
26
27
RPM="rpm"
53
54
 
54
55
echo "RPM build command is \"$RPM\""
55
56
 
56
 
( cd ../../source; if [ -f Makefile ]; then make distclean; fi )
57
 
( cd ../../.. ; chown -R ${USERID}.${GRPID} samba-${VERSION} )
58
 
 
59
 
( cd ../../.. ; tar --exclude=CVS -cf - samba-${VERSION}/. | bzip2 > ${SRCDIR}/samba-${VERSION}.tar.bz2 )
 
57
pushd .
 
58
cd ../../source
 
59
if [ -f Makefile ]; then
 
60
        make distclean
 
61
fi
 
62
popd
 
63
 
 
64
pushd .
 
65
cd ../../../
 
66
chown -R ${USERID}.${GRPID} samba-${VERSION}${REVISION}
 
67
if [ ! -d samba-${VERSION} ]; then
 
68
        ln -s samba-${VERSION}${REVISION} samba-${VERSION} || exit 1
 
69
fi
 
70
echo -n "Creating samba-${VERSION}.tar.bz2 ... "
 
71
tar --exclude=.svn -cf - samba-${VERSION}/. | bzip2 > ${SRCDIR}/samba-${VERSION}.tar.bz2
 
72
echo "Done."
 
73
if [ $? -ne 0 ]; then
 
74
        echo "Build failed!"
 
75
        exit 1
 
76
fi
 
77
 
 
78
popd
 
79
 
60
80
 
61
81
/bin/cp -p filter-requires-samba_rh8.sh ${SRCDIR}
62
82
/bin/cp -p filter-requires-samba_rh9.sh ${SRCDIR}