diff --git a/patches.tar.bz2 b/patches.tar.bz2 index 8f81f3c..26647e9 100644 --- a/patches.tar.bz2 +++ b/patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f7f63f8b7ba2cc240d4e4a38b82d20f5a48dfea5c4ec8bb6265cc4e34929b8af -size 25569 +oid sha256:92220c3a3d308548319048428b4ff9dc97fbdc72be7585728138cfb52fb85942 +size 25667 diff --git a/samba-4.1.0rc4.tar.asc b/samba-4.1.0rc4.tar.asc new file mode 100644 index 0000000..680f0b4 --- /dev/null +++ b/samba-4.1.0rc4.tar.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) + +iD8DBQBSRWG8bzORW2Vot+oRAuc7AJ93F1UEv0v+nroqHbAU69hNjJ+j9QCgrbe9 +rxoBJ0qt8nHd3vfuK36SEuY= +=izxR +-----END PGP SIGNATURE----- diff --git a/samba-pubkey.asc b/samba-pubkey.asc new file mode 100644 index 0000000..572aa5f --- /dev/null +++ b/samba-pubkey.asc @@ -0,0 +1,42 @@ +pub 1024D/6568B7EA 2007-02-04 [expires: 2014-02-25] +uid Samba Distribution Verification Key +sub 2048g/DA6DFB44 2007-02-04 [expires: 2014-02-25] +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.11 (GNU/Linux) + +mQGiBEXGOUcRBACooMht/2pmNT3bKZn1WEFQa+sXe6nxi3G6lH5bIBUKp85SDM57 +4qTcBIJXhwfGABeSvyUdZJbBxJDD5bNiO4k+Y5j3t8t9hb2FKgJ1bXL2aO5BbFnJ +UlkWw8UnHE3A3mmq2hYjfu+0J7mdMxyH5kajbtGfgt0rbPn/K00AgoBCqwCgyNR7 +1kaKzs1os6BiBhu0sTxTkN8EAJC1u1+z9mput/IWo9bQ85KRPfTXXRxv07jK++Yf +tPGMerJFxdpdVI+O+LQB9J7L6WUHF8TzmMEGHHStjnKiZB3PCDcAYpR8pVB3085f +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CADIOV4TpVG6tDXU7YD1VjJ39xduomiWTg94dIOD +g1bZHLvwUa5I1X7zsjYmghZ5Qa6WxNknbRywWnaP0POMXSMspVWnqBQTZknxdApM +bMQEko0pPJSLwdTD3+0y5ht4edf08asWdSBT5yvu5Oak4O/Sa3P5lNIe8Q3SjfqR +YiSX12uWgqeh+2JsQC50Lr9rnz9AMjKqZEx2v7XKnCkxoaFy1XwOpPjJtIuPFaSI +5OunNsuhXYeGQv7MqqA2RNuulonoHgl9J6YzRBjdmDB28Lm+JKXyJpnHDrUkK6c5 +04EuxVXXQKOvLNPwod3U89OCZ3gFZU/zeESQdpWxXMiQvUqPAAQLCACnbn0cYaXh +l3UnnQgyPYVUJV12/sAjhlgAQq08SPgTJp4GE/Jx9C2KMS7dlWYH4tjDSbeO+RLL +d26npdhiy8Cn9UvsJvDs71/+5S2PTpV16eH5QzQZkvJ/PXkkRXQ1Ilovkvt5rKie +HCx4n6QZb5td9AuAeRZp75UXERO7pXKG/57o/SzswrD/tSEKRpBKQED4eHsPohLw +3dMKDWG6hLRf4GR8v+xKLFivqXr3ttELb9xS7ZyZqz6FSFucQAp6XY/xjnR3CFzf +Kq9pHO4PwvhU53uQeI9suAHSPecxfUIcQfrCaN6K6ktEMY+KxeTJUgqB7Fnskqyn +Cof0MN2OA40+iE8EGBECAA8CGwwFAk9Ki+YFCQ1GuYUACgkQbzORW2Vot+poJACe +Mx7cSix0y3zIgTvAIty06thlOMUAn1hZdeMtAkWjaKfu8LWk/umBetPI +=49fm +-----END PGP PUBLIC KEY BLOCK----- diff --git a/samba.changes b/samba.changes index bfaee1b..5383b28 100644 --- a/samba.changes +++ b/samba.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Oct 9 20:41:52 UTC 2013 - lmuelle@suse.com + +- Unify the defattr lines in the pidl, python, test and test-devel files + section by removing the optional directory mode. + +------------------------------------------------------------------- +Wed Oct 9 15:30:31 UTC 2013 - lmuelle@suse.com + +- Verify source tar ball gpg signature. + ------------------------------------------------------------------- Fri Sep 27 12:30:24 UTC 2013 - lmuelle@suse.com diff --git a/samba.spec b/samba.spec index d6a0067..c7d3f9b 100644 --- a/samba.spec +++ b/samba.spec @@ -105,12 +105,17 @@ BuildRequires: libxslt1 %if 0%{?suse_version} > 1210 BuildRequires: libxslt-tools %endif +%if %suse_version > 1220 +BuildRequires: gpg-offline +%endif %define samba_ver 4.1.0 %define samba_ver_suffix rc4 %if "%{samba_ver_suffix}" == "" %define samba_source_location http://ftp.samba.org/pub/samba/stable/samba-%{version}.tar.gz +%define samba_source_signature_location http://ftp.samba.org/pub/samba/stable/samba-%{version}.tar.asc %else %define samba_source_location http://ftp.samba.org/pub/samba/rc/samba-%{version}%{samba_ver_suffix}.tar.gz +%define samba_source_signature_location http://ftp.samba.org/pub/samba/rc/samba-%{version}%{samba_ver_suffix}.tar.asc %endif %define samba_ver_full %{samba_ver}%{samba_ver_suffix} %if 0%{?suse_version} && 0%{?suse_version} < 1111 @@ -130,7 +135,7 @@ BuildRequires: libxslt-tools %else %define build_make_smp_mflags %{?jobs:-j%jobs} %endif -%define SOURCE_TIMESTAMP 3083 +%define SOURCE_TIMESTAMP 3086 %define BRANCH %{version} %global with_mitkrb5 1 %global with_dc 0 @@ -152,6 +157,8 @@ Recommends: logrotate %endif Summary: A SMB/CIFS File, Print, and Authentication Server Source: %{samba_source_location} +Source5: %{samba_source_signature_location} +Source6: http://www.samba.org/samba/ftp/samba-pubkey.asc Source1: vendor-files.tar.bz2 Source2: patches.tar.bz2 Source4: baselibs.conf @@ -1119,6 +1126,11 @@ Branch: %{BRANCH} %prep +%if %suse_version > 1220 +gzip -dc %{SOURCE0} >${RPM_SOURCE_DIR}/%{name}-%{samba_ver_full}.tar +%{?gpg_verify: %gpg_verify --keyring %{SOURCE6} %{SOURCE5}} +rm ${RPM_SOURCE_DIR}/%{name}-%{samba_ver_full}.tar +%endif %setup -n samba-%{samba_ver_full} -q # patches %setup -T -D -a 2 -n samba-%{samba_ver_full} -q @@ -2038,7 +2050,7 @@ fi %{_libdir}/samba/pdb/wbc_sam.so %files pidl -%defattr(-,root,root,-) +%defattr(-,root,root) %dir %{perl_vendorlib}/Parse %{perl_vendorlib}/Parse/Pidl* %{_mandir}/man1/pidl* @@ -2046,11 +2058,11 @@ fi %attr(755,root,root) %{_bindir}/pidl %files python -%defattr(-,root,root,-) +%defattr(-,root,root) %{python_sitearch}/* %files test -%defattr(-,root,root,-) +%defattr(-,root,root) %{_bindir}/gentest %{_bindir}/locktest %{_bindir}/masktest @@ -2065,7 +2077,7 @@ fi %doc %{_mandir}/man1/vfstest.1.* %files test-devel -%defattr(-,root,root,-) +%defattr(-,root,root) %dir %_includedir/samba-4.0/ %{_includedir}/samba-4.0/torture.h %{_libdir}/libtorture.so diff --git a/vendor-files.tar.bz2 b/vendor-files.tar.bz2 index e1021b1..0a3976d 100644 --- a/vendor-files.tar.bz2 +++ b/vendor-files.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7584271f3efa9f30d2c036ba0d3460bdccd225a78f39608e639ca24e807ce23f -size 53821 +oid sha256:7b6ec9e5b400328aef66592cedafd6ebb653ff6e4d3fd2bc19cce0a4fcf7b6aa +size 54152