Partial revert of r458

Enable building of the get_printing_ticket binary (samba-krb-printing) with
waf; (bnc#921530).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=459
This commit is contained in:
Lars Müller 2015-04-10 16:52:07 +00:00 committed by Git OBS Bridge
parent 7d6c256a98
commit 09475dd509
4 changed files with 7 additions and 53 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d61d42d59a8decd3086d15bd857877b55f7e79890496cd2de467bba8fcbd19a7
size 93441
oid sha256:e0ccffa6a015ef05259ad7ff1452c920a1daa07117b556ef8cd74713869cfaf2
size 104391

View File

@ -3,12 +3,6 @@ Thu Apr 9 12:02:25 UTC 2015 - noel.power@suse.com
- Add sparse file support for samba; (fate#318424).
-------------------------------------------------------------------
Wed Apr 8 18:11:20 UTC 2015 - lmuelle@suse.com
- Enable building of the get_printing_ticket binary (samba-krb-printing) with
waf; (bnc#921530).
-------------------------------------------------------------------
Fri Mar 20 13:21:43 UTC 2015 - ddiss@suse.com

View File

@ -143,7 +143,7 @@ BuildRequires: systemd-devel
%else
%define build_make_smp_mflags %{?jobs:-j%jobs}
%endif
%define SOURCE_TIMESTAMP 3391
%define SOURCE_TIMESTAMP 3395
%define BRANCH %{version}
%global with_mitkrb5 1
%global with_dc 0
@ -329,25 +329,6 @@ Branch: %{BRANCH}
%endif
%package krb-printing
Summary: Wrapper binary for kerberized printing
License: GPL-3.0+
Group: Productivity/Networking/Samba
PreReq: coreutils
Provides: samba-gplv3-krb-printing = %{version}
Obsoletes: samba-gplv3-krb-printing < %{version}
%if 0%{?suse_version} > 1000
PreReq: permissions
%endif
Requires: samba-client >= %{version}
%description krb-printing
A wrapper binary to run smbspool with the original calling UID.
Source Timestamp: %{SOURCE_TIMESTAMP}
Branch: %{BRANCH}
%package libs
Summary: Samba libraries
License: GPL-3.0+
@ -1104,7 +1085,6 @@ for patch in $( patches/tools/guards %{guards_symbols} <patches/series); do
done
# vendor-files (config, scripts, tools)
%setup -T -D -a 1 -n samba-%{samba_ver_full} -q
install -m 0644 vendor-files/tools/get_printing_ticket.c source3/client/get_printing_ticket.c
install -m 0644 -p vendor-files/docu/rfc3454.txt source4/heimdal/lib/wind/
# Create and add vendor suffix
test -f vendor-files/tools/package-data && \
@ -1404,7 +1384,7 @@ for file in winbindd.h winbindd_proto.h; do
done
# cups SMB support
mkdir -p %{buildroot}/%{cups_lib_dir}/backend/
touch %{buildroot}/%{cups_lib_dir}/backend/smb
ln -s %{_bindir}/smbspool %{buildroot}/%{cups_lib_dir}/backend/smb
# pam_smbpass is missing
cp -a source3/pam_smbpass/samples examples/pam_smbpass
install -m 0644 source3/pam_smbpass/CHANGELOG examples/pam_smbpass/CHANGELOG
@ -1530,9 +1510,6 @@ if [ ${1:-0} -gt 1 -a -f /var/adm/backup/etc_samba_smbfstab-move ]; then
fi
fi
%endif
if ! test -e %{_bindir}/get_printing_ticket; then
ln -fs %{_bindir}/smbspool %{cups_lib_dir}/backend/smb
fi
%if 0%{?suse_version} > 1220
%{fillup_only -ans samba client}
%endif
@ -1542,16 +1519,6 @@ fi
/sbin/ldconfig
%{?insserv_cleanup:%{insserv_cleanup}}
%post krb-printing
if test ${1:-0} -eq 1 -a -d %{cups_lib_dir}/backend; then
ln -fs %{_bindir}/get_printing_ticket %{cups_lib_dir}/backend/smb
fi
%postun krb-printing
if test ${1:-0} -eq 0 -a -e %{_bindir}/smbspool -a -d %{cups_lib_dir}/backend; then
ln -fs %{_bindir}/smbspool %{cups_lib_dir}/backend/smb
fi
%post -n libdcerpc-atsvc0 -p /sbin/ldconfig
%postun -n libdcerpc-atsvc0 -p /sbin/ldconfig
%post -n libdcerpc-binding0 -p /sbin/ldconfig
@ -1830,7 +1797,7 @@ fi
%{_bindir}/testparm
%dir %{cups_lib_dir}
%dir %{cups_lib_dir}/backend
%ghost %{cups_lib_dir}/backend/smb
%{cups_lib_dir}/backend/smb
%{_libdir}/libnss_wins.so.*
%dir %{_libdir}/samba
%{_libdir}/samba/charset
@ -2132,13 +2099,6 @@ fi
%doc %{_datadir}/susehelp
%endif
%files krb-printing
%defattr(-,root,root)
%attr(0700,root,root) %{_bindir}/get_printing_ticket
%dir %{cups_lib_dir}
%dir %{cups_lib_dir}/backend
%ghost %{cups_lib_dir}/backend/smb
%files -n libdcerpc-atsvc0
%defattr(-,root,root)
%_libdir/libdcerpc-atsvc.so.0*

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d07624fd6c8d5c509da49c7a35963749c87507416acdd8667e510cf3be5bb351
size 54414
oid sha256:df9497d1ac62cc685894d37b2653cb692ca3b402fb7dcbc2cbf36fc707a78d4b
size 54431