~ubuntu-branches/ubuntu/oneiric/samba/oneiric-security

« back to all changes in this revision

Viewing changes to source3/configure

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-03-10 10:03:01 UTC
  • mfrom: (0.39.11 sid)
  • Revision ID: james.westby@ubuntu.com-20110310100301-jfjg41wv0iq05zj4
Tags: 2:3.5.8~dfsg-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/smb.conf:
    - add "(Samba, Ubuntu)" to server string.
    - comment out the default [homes] share, and add a comment about
      "valid users = %S" to show users how to restrict access to
      \\server\username to only username.
    - Set 'usershare allow guests', so that usershare admins are 
      allowed to create public shares in addition to authenticated
      ones.
    - add map to guest = Bad user, maps bad username to guest access. 
  + debian/samba-common.config:
    - Do not change priority to high if dhclient3 is installed.
    - Use priority medium instead of high for the workgroup question.
  + debian/mksmbpasswd.awk:
    - Do not add user with UID less than 1000 to smbpasswd
  + debian/control:
    - Make libwbclient0 replace/conflict with hardy's likewise-open.
    - Don't build against or suggest ctdb.
    - Add dependency on samba-common-bin to samba.
    - Add cuups breaks to push the package to aslo upgrade cups (LP: #639768)
  + debian/rules:
    - enable "native" PIE hardening.
    - Add BIND_NOW to maximize benefit of RELRO hardening.
  + Add ufw integration:
    - Created debian/samba.ufw.profile
    - debian/rules, debian/samba.dirs, debian/samba.files: install
      profile
    - debian/control: have samba suggest ufw
  + Add apport hook:
    - Created debian/source_samba.py.
    - debian/rules, debian/samba.dirs, debian/samba-common-bin.files: install
  + Switch to upstart:
    - Add debian/samba.{nmbd,smbd}.upstart.
    - Don't ship the /etc/network/if-up.d file.
  + debian/samba.postinst: 
    - Fixed bashism.
    - Avoid scary pdbedit warnings on first import.
  + debian/samba-common.postinst: Add more informative error message for
    the case where smb.conf was manually deleted
  + debian/samba.logrotate: Make it upstart compatible
  + debian/samba-common.dhcp: Fix typo to get a proper parsing in
    /etc/samba/dhcp.
  + Dropped:
    - debian/patches/fix-windows7-print-connection.patch: Merged upstream.
    - debian/patches/security-CVE-2011-0719.patch: Merged upstream. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
18091
18091
                        BLDSHARED="true"
18092
18092
                        LDSHFLAGS="-shared"
18093
18093
                        SONAMEFLAG="-Wl,-soname,"
18094
 
                        PICFLAG="-fPIC"
 
18094
                        if test "${GCC}" = "yes"; then
 
18095
                                PICFLAG="-fPIC"
 
18096
                        fi
18095
18097
                        $as_echo "#define STAT_ST_BLOCKSIZE 512" >>confdefs.h
18096
18098
 
18097
18099
 
19831
19833
 
19832
19834
fi
19833
19835
 
 
19836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIME_T_MAX" >&5
 
19837
$as_echo_n "checking for TIME_T_MAX... " >&6; }
 
19838
if test "${samba_cv_TIME_T_MAX+set}" = set; then :
 
19839
  $as_echo_n "(cached) " >&6
 
19840
else
 
19841
 
 
19842
if test "$cross_compiling" = yes; then :
 
19843
  samba_cv_TIME_T_MAX=cross
 
19844
else
 
19845
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
19846
/* end confdefs.h.  */
 
19847
#include <time.h>
 
19848
main() {
 
19849
        struct tm *tm;
 
19850
        if (sizeof(time_t) == 8) {
 
19851
                time_t max_time = 0x7fffffffffffffffll;
 
19852
                tm = gmtime(&max_time);
 
19853
                /* This should fail with 32-bit tm_year. */
 
19854
                if (tm == NULL) {
 
19855
                        /* Max time_t that works with 32-bit int tm_year in struct tm. */
 
19856
                        max_time = 67768036191676799ll;
 
19857
                        tm = gmtime(&max_time);
 
19858
                        if (tm) {
 
19859
                                exit(0);
 
19860
                        }
 
19861
                }
 
19862
        }
 
19863
        exit(1);
 
19864
}
 
19865
_ACEOF
 
19866
if ac_fn_c_try_run "$LINENO"; then :
 
19867
  samba_cv_TIME_T_MAX=yes
 
19868
else
 
19869
  samba_cv_TIME_T_MAX=no
 
19870
fi
 
19871
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
19872
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
19873
fi
 
19874
 
 
19875
fi
 
19876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $samba_cv_TIME_T_MAX" >&5
 
19877
$as_echo "$samba_cv_TIME_T_MAX" >&6; }
 
19878
if test x"$samba_cv_TIME_T_MAX" = x"yes"; then
 
19879
 
 
19880
$as_echo "#define TIME_T_MAX 67768036191676799ll" >>confdefs.h
 
19881
 
 
19882
fi
 
19883
 
 
19884
 
19834
19885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64 bit off_t" >&5
19835
19886
$as_echo_n "checking for 64 bit off_t... " >&6; }
19836
19887
if test "${samba_cv_SIZEOF_OFF_T+set}" = set; then :