2008-01-24 13:21:25 +01:00
|
|
|
#
|
2012-04-11 16:01:03 +02:00
|
|
|
# spec file for package samba
|
2008-01-24 13:21:25 +01:00
|
|
|
#
|
2017-05-24 10:02:17 +02:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2008-01-24 13:21:25 +01:00
|
|
|
#
|
2008-08-16 02:33:14 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2017-05-24 10:02:17 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2008-01-24 13:21:25 +01:00
|
|
|
#
|
|
|
|
|
2014-06-25 14:07:17 +02:00
|
|
|
|
2017-11-27 17:09:07 +01:00
|
|
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
|
|
|
%if ! %{defined _fillupdir}
|
|
|
|
%define _fillupdir /var/adm/fillup-templates
|
|
|
|
%endif
|
|
|
|
|
2014-02-04 18:45:37 +01:00
|
|
|
%{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d}
|
|
|
|
|
2018-02-28 18:20:55 +01:00
|
|
|
%if 0%{?sle_version} >= 150000 && !0%{?is_opensuse}
|
|
|
|
# SLE15 dropped python2 (bsc#1082139)
|
|
|
|
# disabling all python things until full python3 port is done
|
|
|
|
# this removes:
|
|
|
|
# - package samba-python
|
|
|
|
# - package libsamba-policy0
|
|
|
|
# - package libsamba-policy-devel
|
|
|
|
# - file libsamba-python-samba4.so from pkg samba-libs
|
|
|
|
# - file libsamba-net-samba4.so from pkg samba-libs
|
|
|
|
# - bin & manpage of smbtorture from pkg samba-test
|
|
|
|
%define with_python 0
|
|
|
|
%else
|
|
|
|
%define with_python 1
|
|
|
|
%endif
|
|
|
|
|
2016-02-15 00:57:19 +01:00
|
|
|
%if 0%{?suse_version} > 1140 && 0%{?suse_version} != 1315
|
|
|
|
%define build_ctdb_pmda 1
|
|
|
|
%endif
|
2017-04-10 15:56:46 +02:00
|
|
|
%if 0%{?suse_version} > 1320 || 0%{?sle_version} > 120200
|
|
|
|
%ifarch aarch64 x86_64
|
2017-04-03 16:59:54 +02:00
|
|
|
%define build_ceph 1
|
2016-08-15 21:38:49 +02:00
|
|
|
%endif
|
|
|
|
%endif
|
2017-11-08 20:20:20 +01:00
|
|
|
%define vendor_files_git_vers git.4adce31
|
2017-10-11 18:43:10 +02:00
|
|
|
|
|
|
|
%define talloc_version 2.1.10
|
2017-11-29 19:33:07 +01:00
|
|
|
%define tevent_version 0.9.34
|
2017-10-11 18:43:10 +02:00
|
|
|
%define tdb_version 1.3.15
|
|
|
|
%define ldb_version 1.2.2
|
|
|
|
|
|
|
|
%global with_mitkrb5 1
|
|
|
|
%global with_dc 0
|
2017-11-29 18:56:39 +01:00
|
|
|
%if 0%{?suse_version} > 1320 && 0%{?is_opensuse}
|
2017-10-11 18:43:10 +02:00
|
|
|
%ifnarch ppc
|
|
|
|
%global with_dc 1
|
|
|
|
%endif
|
|
|
|
%endif
|
2016-02-15 00:57:19 +01:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
Name: samba
|
2017-03-31 13:23:32 +02:00
|
|
|
BuildRequires: autoconf
|
2014-04-11 21:18:09 +02:00
|
|
|
BuildRequires: cups-devel
|
|
|
|
BuildRequires: cyrus-sasl-devel
|
|
|
|
BuildRequires: e2fsprogs-devel
|
2014-06-25 14:07:17 +02:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: patch
|
2014-02-22 15:33:35 +01:00
|
|
|
%if 0%{?suse_version} > 1300
|
|
|
|
BuildRequires: libarchive-devel
|
|
|
|
%endif
|
2014-01-08 17:22:32 +01:00
|
|
|
%if 0%{?suse_version} > 1210
|
|
|
|
BuildRequires: gamin-devel
|
|
|
|
%else
|
2011-09-09 15:14:31 +02:00
|
|
|
BuildRequires: fam-devel
|
2014-01-08 17:22:32 +01:00
|
|
|
%endif
|
2011-09-09 15:14:31 +02:00
|
|
|
BuildRequires: libacl-devel
|
2013-06-25 18:27:09 +02:00
|
|
|
BuildRequires: libattr-devel
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} > 1100
|
2012-02-27 19:58:29 +01:00
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
%endif
|
2017-10-11 18:43:10 +02:00
|
|
|
BuildRequires: cracklib-devel
|
|
|
|
BuildRequires: gdbm-devel
|
|
|
|
BuildRequires: keyutils-devel
|
|
|
|
BuildRequires: libnscd-devel
|
2018-02-15 17:50:20 +01:00
|
|
|
%if 0%{?suse_version} >= 1330
|
|
|
|
BuildRequires: libnsl-devel
|
|
|
|
%endif
|
2017-10-11 18:43:10 +02:00
|
|
|
BuildRequires: libopenssl-devel
|
2018-02-15 17:50:20 +01:00
|
|
|
%if 0%{?suse_version} >= 1330
|
|
|
|
BuildRequires: libtirpc-devel
|
|
|
|
%endif
|
2014-09-26 16:09:52 +02:00
|
|
|
BuildRequires: ncurses-devel
|
2017-10-11 18:43:10 +02:00
|
|
|
BuildRequires: openldap2-devel
|
2011-09-09 15:14:31 +02:00
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: popt-devel
|
2017-10-11 18:43:10 +02:00
|
|
|
BuildRequires: pwdutils
|
2014-06-12 20:44:19 +02:00
|
|
|
BuildRequires: python-devel
|
2015-03-05 14:27:57 +01:00
|
|
|
BuildRequires: python-xml
|
2011-09-09 15:14:31 +02:00
|
|
|
BuildRequires: readline-devel
|
2018-02-15 17:50:20 +01:00
|
|
|
%if 0%{?suse_version} >= 1330
|
|
|
|
BuildRequires: rpcgen
|
|
|
|
%endif
|
2009-11-23 11:16:32 +01:00
|
|
|
%if 0%{?suse_version} > 1110
|
|
|
|
BuildRequires: fdupes
|
|
|
|
%endif
|
2012-12-02 23:09:01 +01:00
|
|
|
%define pkgconfig_req pkg-config
|
|
|
|
BuildRequires: %{pkgconfig_req}
|
2017-10-11 18:43:10 +02:00
|
|
|
BuildRequires: libldb-devel >= %{ldb_version}
|
|
|
|
BuildRequires: libtalloc-devel >= %{talloc_version}
|
|
|
|
BuildRequires: libtdb-devel >= %{tdb_version}
|
|
|
|
BuildRequires: libtevent-devel >= %{tevent_version}
|
2017-05-24 10:02:17 +02:00
|
|
|
BuildRequires: python-ldb-devel
|
|
|
|
BuildRequires: python-talloc-devel
|
|
|
|
BuildRequires: python-tdb
|
2013-07-17 20:47:19 +02:00
|
|
|
BuildRequires: python-tevent
|
|
|
|
# to generate the man pages
|
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
|
|
|
BuildRequires: libxslt
|
|
|
|
%if 0%{?suse_version} > 1210
|
2014-04-11 21:18:09 +02:00
|
|
|
BuildRequires: dbus-1-devel
|
2014-06-25 14:07:17 +02:00
|
|
|
BuildRequires: libxslt-tools
|
2012-05-15 12:58:22 +02:00
|
|
|
%endif
|
2013-11-22 11:54:01 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
2015-01-14 13:38:58 +01:00
|
|
|
BuildRequires: libavahi-devel
|
2015-03-05 14:27:57 +01:00
|
|
|
# To only BuildRequire systemd-rpm-macros leads to broken binaries
|
2013-11-22 12:18:46 +01:00
|
|
|
BuildRequires: systemd
|
2014-07-07 16:15:20 +02:00
|
|
|
BuildRequires: systemd-devel
|
2013-10-09 18:30:48 +02:00
|
|
|
%endif
|
2016-02-15 00:57:19 +01:00
|
|
|
%if 0%{?build_ctdb_pmda}
|
|
|
|
BuildRequires: libpcp-devel
|
|
|
|
%endif
|
2017-04-03 16:59:54 +02:00
|
|
|
%if 0%{?build_ceph}
|
2016-08-15 21:38:49 +02:00
|
|
|
BuildRequires: libcephfs-devel
|
2017-04-03 16:59:54 +02:00
|
|
|
BuildRequires: librados-devel
|
2016-08-15 21:38:49 +02:00
|
|
|
%endif
|
2017-10-11 18:43:10 +02:00
|
|
|
%if %{with_dc}
|
|
|
|
BuildRequires: krb5-devel >= 1.15.1
|
|
|
|
BuildRequires: krb5-server >= 1.15.1
|
|
|
|
BuildRequires: libgnutls-devel >= 3.4.7
|
|
|
|
%else
|
|
|
|
BuildRequires: krb5-devel
|
|
|
|
%endif
|
|
|
|
|
2012-12-02 17:24:49 +01:00
|
|
|
%define libsmbclient_name libsmbclient0
|
2016-04-13 16:11:30 +02:00
|
|
|
%define libnetapi_name libnetapi0
|
2012-12-02 17:24:49 +01:00
|
|
|
%define libwbclient_name libwbclient0
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} > 1140
|
2011-03-18 17:25:03 +01:00
|
|
|
%define build_make_smp_mflags %{?_smp_mflags}
|
|
|
|
%else
|
|
|
|
%define build_make_smp_mflags %{?jobs:-j%jobs}
|
|
|
|
%endif
|
2017-04-12 16:47:32 +02:00
|
|
|
%define SOURCE_TIMESTAMP 3761
|
2015-09-08 20:19:30 +02:00
|
|
|
%define BRANCH %{version}
|
2018-02-12 17:28:43 +01:00
|
|
|
Version: 4.7.5+git.37.6d30796c515
|
2012-11-30 21:34:48 +01:00
|
|
|
Release: 0
|
2015-12-16 17:43:01 +01:00
|
|
|
Url: https://www.samba.org/
|
2016-03-22 15:14:33 +01:00
|
|
|
Obsoletes: samba-32bit < %{version}
|
2017-05-24 10:02:17 +02:00
|
|
|
Obsoletes: samba-gplv3 < %{version}
|
2011-09-09 15:14:31 +02:00
|
|
|
Recommends: cron
|
|
|
|
Recommends: logrotate
|
2008-01-24 13:21:25 +01:00
|
|
|
Summary: A SMB/CIFS File, Print, and Authentication Server
|
2014-06-25 14:07:17 +02:00
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Productivity/Networking/Samba
|
2017-04-20 14:26:04 +02:00
|
|
|
Source: samba-%{version}.tar.bz2
|
2017-04-26 11:40:57 +02:00
|
|
|
Source1: vendor-files-%{vendor_files_git_vers}.tar.bz2
|
2010-01-21 10:54:48 +01:00
|
|
|
Source4: baselibs.conf
|
2013-07-17 20:47:19 +02:00
|
|
|
Source100: samba-client-rpmlintrc
|
2016-10-07 01:42:10 +02:00
|
|
|
Requires: /usr/bin/getent
|
|
|
|
Requires: /usr/sbin/groupadd
|
|
|
|
Requires: coreutils
|
|
|
|
Requires: grep
|
2014-01-06 19:04:45 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
2016-10-07 01:42:10 +02:00
|
|
|
Requires: %{fillup_prereq}
|
2014-01-06 19:04:45 +01:00
|
|
|
%endif
|
2016-10-07 01:42:10 +02:00
|
|
|
Requires: samba-client >= %{version}
|
2008-01-24 13:21:25 +01:00
|
|
|
# Choose some features / extra packages here
|
|
|
|
############################################
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} > 1120
|
2010-01-08 17:32:57 +01:00
|
|
|
%define cifs_init_script cifs
|
2010-03-19 08:25:40 +01:00
|
|
|
%else
|
|
|
|
%define cifs_init_script smbfs
|
2010-01-08 17:32:57 +01:00
|
|
|
%endif
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1111
|
2011-07-21 22:14:33 +02:00
|
|
|
# pre-11.2 doesn't know the python_* macros
|
|
|
|
%define python_sitelib %py_sitedir
|
|
|
|
%define python_sitearch %py_sitedir
|
2017-09-01 16:59:11 +02:00
|
|
|
%else
|
2012-02-27 19:58:29 +01:00
|
|
|
# CentOS and RHEL pre-6 don't know them either
|
|
|
|
%define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib())")
|
|
|
|
%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1))")
|
2009-08-01 11:43:53 +02:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
# Define some global directories
|
|
|
|
################################
|
|
|
|
%define DOCDIR %{_defaultdocdir}/samba
|
2013-07-05 21:12:59 +02:00
|
|
|
%define DOCBOOKDIR %{_defaultdocdir}/samba/docbook
|
2008-01-24 13:21:25 +01:00
|
|
|
%define LOGDIR %{_localstatedir}/log/samba
|
|
|
|
%define LOCKDIR %{_localstatedir}/lib/samba
|
|
|
|
%define CONFIGDIR %{_sysconfdir}/samba
|
|
|
|
%define INITDIR %{_sysconfdir}/init.d
|
2014-02-04 18:45:37 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
|
|
|
%define PIDDIR /run/samba
|
|
|
|
%else
|
2008-01-24 13:21:25 +01:00
|
|
|
%define PIDDIR %{_localstatedir}/run/samba
|
2014-02-04 18:45:37 +01:00
|
|
|
%endif
|
2008-10-06 16:19:18 +02:00
|
|
|
%define NET_CFGDIR network
|
2013-07-17 20:47:19 +02:00
|
|
|
%define auth_modules auth_unix,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4
|
2013-09-03 17:28:04 +02:00
|
|
|
%define idmap_modules idmap_ad,idmap_adex,idmap_hash,idmap_ldap,idmap_rfc2307,idmap_rid,idmap_tdb2
|
2013-07-17 20:47:19 +02:00
|
|
|
%define pdb_modules pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4
|
2008-04-24 09:21:53 +02:00
|
|
|
%define vfs_modules vfs_cacheprime,vfs_readahead
|
2008-01-24 13:21:25 +01:00
|
|
|
%define VENDOR SUSE
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} > 1120
|
2010-04-24 17:27:08 +02:00
|
|
|
%define cups_lib_dir %{_prefix}/lib/cups
|
|
|
|
%else
|
|
|
|
%define cups_lib_dir %{_libdir}/cups
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%description
|
|
|
|
Samba is a suite of programs that allows SMB/CIFS clients to use the
|
|
|
|
Unix file space, printers, and authentication subsystem.
|
|
|
|
|
|
|
|
The package named samba contains all programs that are needed to act as
|
|
|
|
a server. The binaries expect the configuration file to be found in
|
|
|
|
/etc/samba/smb.conf
|
|
|
|
|
|
|
|
For a more detailed description of Samba, check the samba-doc package
|
2015-12-16 17:43:01 +01:00
|
|
|
or the Samba.org Web page at https://www.Samba.org/
|
2008-05-17 02:11:23 +02:00
|
|
|
|
2015-12-16 17:43:01 +01:00
|
|
|
Please check https://en.openSUSE.org/Samba for general information on
|
2008-05-17 02:11:23 +02:00
|
|
|
Samba as part of SUSE Linux Enterprise or openSUSE products, links to
|
|
|
|
binary packages of the most current Samba version, and a bug reporting
|
|
|
|
how to.
|
|
|
|
|
2013-01-31 17:37:04 +01:00
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
2012-12-01 21:05:19 +01:00
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%package client
|
2014-04-11 21:18:09 +02:00
|
|
|
Summary: Samba Client Utilities
|
2014-06-25 14:07:17 +02:00
|
|
|
License: GPL-3.0+
|
2008-01-24 13:21:25 +01:00
|
|
|
Group: Productivity/Networking/Samba
|
2011-09-09 15:14:31 +02:00
|
|
|
Provides: smbfs
|
2010-12-01 14:43:54 +01:00
|
|
|
Obsoletes: samba-client-gplv2 < %{version}
|
2017-05-24 10:02:17 +02:00
|
|
|
Obsoletes: samba-gplv3-client < %{version}
|
2017-03-24 12:11:14 +01:00
|
|
|
%if 0%{?suse_version} < 1221
|
|
|
|
Requires: %{?insserv_prereq}
|
2016-10-07 01:42:10 +02:00
|
|
|
Requires: /sbin/chkconfig
|
2017-03-24 12:11:14 +01:00
|
|
|
%endif
|
2016-10-07 01:42:10 +02:00
|
|
|
Requires: /sbin/ldconfig
|
|
|
|
Requires: coreutils
|
2013-11-22 11:54:01 +01:00
|
|
|
%{?systemd_requires}
|
2010-03-19 08:25:40 +01:00
|
|
|
Requires: cifs-utils
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
%description client
|
|
|
|
Samba is a suite of programs that allows SMB/CIFS clients to use the
|
|
|
|
Unix file space, printers, and authentication subsystem.
|
|
|
|
|
|
|
|
The package named samba-client contains all programs that are needed to
|
2009-07-14 23:06:34 +02:00
|
|
|
act as a Samba client. The binaries expect the configuration file to
|
2008-05-17 02:11:23 +02:00
|
|
|
be found in /etc/samba/smb.conf
|
|
|
|
|
|
|
|
For a more detailed description of Samba, check the samba-doc package
|
2015-12-16 17:43:01 +01:00
|
|
|
or the Samba.org Web page at https://www.Samba.org/
|
2008-05-17 02:11:23 +02:00
|
|
|
|
2015-12-16 17:43:01 +01:00
|
|
|
Please check https://en.openSUSE.org/Samba for general information on
|
2008-05-17 02:11:23 +02:00
|
|
|
Samba as part of SUSE Linux Enterprise or openSUSE products, links to
|
|
|
|
binary packages of the most current Samba version, and a bug reporting
|
|
|
|
how to.
|
|
|
|
|
2013-01-31 17:37:04 +01:00
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
2012-12-01 21:05:19 +01:00
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
2016-05-03 15:24:33 +02:00
|
|
|
|
2016-04-13 16:11:30 +02:00
|
|
|
%package core-devel
|
2014-04-11 21:18:09 +02:00
|
|
|
Summary: Development files shared by Samba subpackages
|
2014-06-25 14:07:17 +02:00
|
|
|
License: GPL-3.0+
|
2008-01-24 13:21:25 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2016-04-13 16:11:30 +02:00
|
|
|
Conflicts: samba-devel
|
|
|
|
|
|
|
|
%description core-devel
|
- Add libdcerpc0, libdcerpc-atsvc0, libdcerpc-binding0, libdcerpc-samr0,
libgensec0, libndr0, libndr-krb5pac0, libndr-nbt0, libndr-standard0,
libpdb0, libregistry0, libsamba-credentials0, libsamba-hostconfig0,
libsamba-policy0, libsamba-util0, libsamdb0, libsmbclient-raw0, libsmbconf0,
libsmbldap0, and libtevent-util0 to baselibs.conf.
- Implement shared library packaging guidelines.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=339
2013-09-16 16:06:15 +02:00
|
|
|
This package contains the libraries and header files needed to
|
2016-05-03 15:24:33 +02:00
|
|
|
develop programs which make use of Samba.
|
2008-05-17 02:11:23 +02:00
|
|
|
|
2013-01-31 17:37:04 +01:00
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
2012-12-01 21:05:19 +01:00
|
|
|
Branch: %{BRANCH}
|
2016-05-03 15:24:33 +02:00
|
|
|
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} > 1110
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%package doc
|
2014-04-11 21:18:09 +02:00
|
|
|
Summary: Samba Documentation
|
2014-06-25 14:07:17 +02:00
|
|
|
License: GPL-3.0+
|
2008-01-24 13:21:25 +01:00
|
|
|
Group: Documentation/Other
|
2016-10-07 01:42:10 +02:00
|
|
|
Requires: coreutils
|
|
|
|
Requires: findutils
|
2010-12-01 14:43:54 +01:00
|
|
|
Obsoletes: samba-doc-gplv2 < %{version}
|
2017-05-24 10:02:17 +02:00
|
|
|
Obsoletes: samba-gplv3-doc < %{version}
|
2009-11-23 11:16:32 +01:00
|
|
|
%if 0%{?suse_version} > 1110
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains all the Samba documentation as it is not part of
|
|
|
|
the man pages.
|
|
|
|
|
2013-01-31 17:37:04 +01:00
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
2012-12-01 21:05:19 +01:00
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%endif
|
|
|
|
|
2013-07-17 20:47:19 +02:00
|
|
|
%package libs
|
2014-04-11 21:18:09 +02:00
|
|
|
Summary: Samba libraries
|
2014-06-25 14:07:17 +02:00
|
|
|
License: GPL-3.0+
|
2013-07-17 20:47:19 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2016-10-07 01:42:10 +02:00
|
|
|
Requires: /sbin/ldconfig
|
2017-05-24 10:02:17 +02:00
|
|
|
Requires: krb5
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} > 1210 && 0%{?suse_version} < 1315
|
2015-09-09 18:28:50 +02:00
|
|
|
Requires: libfam0-gamin
|
|
|
|
%endif
|
2008-05-17 02:11:23 +02:00
|
|
|
|
2013-07-17 20:47:19 +02:00
|
|
|
%description libs
|
|
|
|
The samba-libs package contains the libraries needed by programs that
|
|
|
|
link against the SMB, RPC and other protocols provided by the Samba suite.
|
2012-12-01 21:05:19 +01:00
|
|
|
|
2013-01-31 17:37:04 +01:00
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
2012-11-30 21:34:48 +01:00
|
|
|
Branch: %{BRANCH}
|
2008-05-17 02:11:23 +02:00
|
|
|
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2013-07-17 20:47:19 +02:00
|
|
|
%package pidl
|
2014-04-11 21:18:09 +02:00
|
|
|
Summary: Perl IDL compiler
|
2014-06-25 14:07:17 +02:00
|
|
|
License: GPL-3.0+
|
2013-07-17 20:47:19 +02:00
|
|
|
Group: Development/Tools
|
|
|
|
Requires: perl-base
|
2015-11-17 14:29:26 +01:00
|
|
|
Requires: perl-Parse-Yapp
|
2013-07-17 20:47:19 +02:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%description pidl
|
|
|
|
The samba-pidl package contains the Perl IDL compiler used by Samba
|
|
|
|
and Wireshark to parse IDL and similar protocols
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
2018-02-28 18:20:55 +01:00
|
|
|
%if %{with_python}
|
2013-07-17 20:47:19 +02:00
|
|
|
|
|
|
|
%package python
|
2014-04-11 21:18:09 +02:00
|
|
|
Summary: Samba Python libraries
|
2014-06-25 14:07:17 +02:00
|
|
|
License: GPL-3.0+
|
2013-07-17 20:47:19 +02:00
|
|
|
Group: Applications/System
|
2014-03-12 15:06:12 +01:00
|
|
|
Requires: %{name} = %{version}
|
2015-10-23 00:21:41 +02:00
|
|
|
Requires: python-ldb
|
|
|
|
Requires: python-talloc
|
2014-06-25 14:07:17 +02:00
|
|
|
Requires: python-tdb
|
|
|
|
Requires: python-tevent
|
2013-07-17 20:47:19 +02:00
|
|
|
|
|
|
|
%description python
|
|
|
|
The samba-python package contains the Python libraries needed by programs
|
|
|
|
that use SMB, RPC and other Samba provided protocols in Python programs.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
2018-02-28 18:20:55 +01:00
|
|
|
%endif
|
2013-07-17 20:47:19 +02:00
|
|
|
|
|
|
|
%package test
|
2014-04-11 21:18:09 +02:00
|
|
|
Summary: Testing tools for Samba servers and clients
|
2014-06-25 14:07:17 +02:00
|
|
|
License: GPL-3.0+
|
2013-07-17 20:47:19 +02:00
|
|
|
Group: Applications/System
|
2017-05-24 10:02:17 +02:00
|
|
|
Requires: /sbin/ldconfig
|
2014-03-12 15:06:12 +01:00
|
|
|
Requires: samba = %{version}
|
|
|
|
Requires: samba-winbind = %{version}
|
2013-07-17 20:47:19 +02:00
|
|
|
|
|
|
|
%description test
|
|
|
|
samba-test provides testing tools for both the server and client
|
|
|
|
packages of Samba.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%package winbind
|
2014-04-11 21:18:09 +02:00
|
|
|
Summary: Winbind Daemon and Tool
|
2014-06-25 14:07:17 +02:00
|
|
|
License: GPL-3.0+
|
2008-01-24 13:21:25 +01:00
|
|
|
Group: Productivity/Networking/Samba
|
2010-11-12 14:33:55 +01:00
|
|
|
Obsoletes: samba-gplv3-winbind < %{version}
|
2010-06-22 10:18:30 +02:00
|
|
|
Provides: samba-client:/usr/sbin/winbindd
|
2012-12-04 22:12:47 +01:00
|
|
|
Requires: pam-config
|
2016-03-22 15:14:33 +01:00
|
|
|
Recommends: cron
|
|
|
|
Recommends: logrotate
|
|
|
|
Recommends: /usr/sbin/nscd
|
2017-03-24 12:11:14 +01:00
|
|
|
%if 0%{?suse_version} < 1221
|
|
|
|
Requires: %{?insserv_prereq}
|
2016-03-22 15:14:33 +01:00
|
|
|
%endif
|
2016-10-07 01:42:10 +02:00
|
|
|
Requires: /sbin/ldconfig
|
|
|
|
Requires: /usr/sbin/groupadd
|
|
|
|
Requires: coreutils
|
|
|
|
Requires: samba-client >= %{version}
|
- Add libdcerpc0, libdcerpc-atsvc0, libdcerpc-binding0, libdcerpc-samr0,
libgensec0, libndr0, libndr-krb5pac0, libndr-nbt0, libndr-standard0,
libpdb0, libregistry0, libsamba-credentials0, libsamba-hostconfig0,
libsamba-policy0, libsamba-util0, libsamdb0, libsmbclient-raw0, libsmbconf0,
libsmbldap0, and libtevent-util0 to baselibs.conf.
- Implement shared library packaging guidelines.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=339
2013-09-16 16:06:15 +02:00
|
|
|
|
2016-03-22 15:14:33 +01:00
|
|
|
%description winbind
|
|
|
|
This is the winbind-daemon and the wbinfo-tool.
|
- Add libdcerpc0, libdcerpc-atsvc0, libdcerpc-binding0, libdcerpc-samr0,
libgensec0, libndr0, libndr-krb5pac0, libndr-nbt0, libndr-standard0,
libpdb0, libregistry0, libsamba-credentials0, libsamba-hostconfig0,
libsamba-policy0, libsamba-util0, libsamdb0, libsmbclient-raw0, libsmbconf0,
libsmbldap0, and libtevent-util0 to baselibs.conf.
- Implement shared library packaging guidelines.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=339
2013-09-16 16:06:15 +02:00
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
2016-03-22 15:14:33 +01:00
|
|
|
%package -n ctdb
|
|
|
|
Summary: Clustered TDB
|
2014-06-25 14:07:17 +02:00
|
|
|
License: GPL-3.0+
|
2016-03-22 15:14:33 +01:00
|
|
|
Group: System/Daemons
|
|
|
|
Requires(pre): %{?fillup_prereq}
|
|
|
|
%if 0%{?suse_version} > 1220
|
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
# bnc886095: The CTDB resource agent could be split out into a separate rpm,
|
|
|
|
# with corresponding ctdb and tdb-tools requirements. Until then, just add the
|
|
|
|
# tdb-tools requirement to ctdb.
|
|
|
|
Requires: tdb-tools
|
|
|
|
%else
|
|
|
|
Requires(pre): %{insserv_prereq}
|
|
|
|
%endif
|
|
|
|
Requires(pre): coreutils
|
|
|
|
Requires(pre): /bin/mktemp
|
|
|
|
Requires(pre): /usr/bin/killall
|
|
|
|
Requires(pre): sed
|
2013-09-30 20:38:05 +02:00
|
|
|
|
2016-03-22 15:14:33 +01:00
|
|
|
%description -n ctdb
|
|
|
|
ctdb is the clustered database used by Samba
|
- Add libdcerpc0, libdcerpc-atsvc0, libdcerpc-binding0, libdcerpc-samr0,
libgensec0, libndr0, libndr-krb5pac0, libndr-nbt0, libndr-standard0,
libpdb0, libregistry0, libsamba-credentials0, libsamba-hostconfig0,
libsamba-policy0, libsamba-util0, libsamdb0, libsmbclient-raw0, libsmbconf0,
libsmbldap0, and libtevent-util0 to baselibs.conf.
- Implement shared library packaging guidelines.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=339
2013-09-16 16:06:15 +02:00
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
2016-03-22 15:14:33 +01:00
|
|
|
%if 0%{?build_ctdb_pmda}
|
|
|
|
%package -n ctdb-pcp-pmda
|
|
|
|
Summary: Performance Co-Pilot (PCP) monitoring agent
|
2014-06-25 14:07:17 +02:00
|
|
|
License: GPL-3.0+
|
2016-03-22 15:14:33 +01:00
|
|
|
Group: System/Monitoring
|
- Add libdcerpc0, libdcerpc-atsvc0, libdcerpc-binding0, libdcerpc-samr0,
libgensec0, libndr0, libndr-krb5pac0, libndr-nbt0, libndr-standard0,
libpdb0, libregistry0, libsamba-credentials0, libsamba-hostconfig0,
libsamba-policy0, libsamba-util0, libsamdb0, libsmbclient-raw0, libsmbconf0,
libsmbldap0, and libtevent-util0 to baselibs.conf.
- Implement shared library packaging guidelines.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=339
2013-09-16 16:06:15 +02:00
|
|
|
|
2016-03-22 15:14:33 +01:00
|
|
|
%description -n ctdb-pcp-pmda
|
|
|
|
The CTDB Performance Co-Pilot (PCP) monitoring agent allows remote PCP
|
|
|
|
clients to view and capture detailed real-time performance metrics for
|
|
|
|
one or more cluster nodes.
|
|
|
|
%endif
|
- Add libdcerpc0, libdcerpc-atsvc0, libdcerpc-binding0, libdcerpc-samr0,
libgensec0, libndr0, libndr-krb5pac0, libndr-nbt0, libndr-standard0,
libpdb0, libregistry0, libsamba-credentials0, libsamba-hostconfig0,
libsamba-policy0, libsamba-util0, libsamdb0, libsmbclient-raw0, libsmbconf0,
libsmbldap0, and libtevent-util0 to baselibs.conf.
- Implement shared library packaging guidelines.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=339
2013-09-16 16:06:15 +02:00
|
|
|
|
2016-03-22 15:14:33 +01:00
|
|
|
%package -n ctdb-tests
|
|
|
|
Summary: CTDB clustered database test suite
|
2014-06-25 14:07:17 +02:00
|
|
|
License: GPL-3.0+
|
2016-03-22 15:14:33 +01:00
|
|
|
Group: Development/Tools
|
- Add libdcerpc0, libdcerpc-atsvc0, libdcerpc-binding0, libdcerpc-samr0,
libgensec0, libndr0, libndr-krb5pac0, libndr-nbt0, libndr-standard0,
libpdb0, libregistry0, libsamba-credentials0, libsamba-hostconfig0,
libsamba-policy0, libsamba-util0, libsamdb0, libsmbclient-raw0, libsmbconf0,
libsmbldap0, and libtevent-util0 to baselibs.conf.
- Implement shared library packaging guidelines.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=339
2013-09-16 16:06:15 +02:00
|
|
|
|
2016-03-22 15:14:33 +01:00
|
|
|
%description -n ctdb-tests
|
|
|
|
Test suite for clustered database (CTDB).
|
- Add libdcerpc0, libdcerpc-atsvc0, libdcerpc-binding0, libdcerpc-samr0,
libgensec0, libndr0, libndr-krb5pac0, libndr-nbt0, libndr-standard0,
libpdb0, libregistry0, libsamba-credentials0, libsamba-hostconfig0,
libsamba-policy0, libsamba-util0, libsamdb0, libsmbclient-raw0, libsmbconf0,
libsmbldap0, and libtevent-util0 to baselibs.conf.
- Implement shared library packaging guidelines.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=339
2013-09-16 16:06:15 +02:00
|
|
|
|
|
|
|
|
2016-04-13 16:11:30 +02:00
|
|
|
%package -n libdcerpc-binding0
|
|
|
|
Summary: Some samba library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libdcerpc-binding0
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libdcerpc-samr0
|
|
|
|
Summary: Security Account Manager (SAM) Remote Protocol library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libdcerpc-samr0
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libdcerpc-samr-devel
|
|
|
|
Summary: Development files for the SAMR protocol library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libdcerpc-samr0 = %{version}
|
|
|
|
|
|
|
|
%description -n libdcerpc-samr-devel
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libdcerpc-samr.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libdcerpc0
|
|
|
|
Summary: Distributed Computing Environment Remote Procedure Calls library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libdcerpc0
|
|
|
|
DCE/RPC, short for "Distributed Computing Environment / Remote
|
|
|
|
Procedure Calls", is the remote procedure call system developed for
|
|
|
|
the Distributed Computing Environment (DCE). This system allows
|
|
|
|
programmers to write distributed software as if it were all working
|
|
|
|
on the same computer, without having to worry about the underlying
|
|
|
|
network code.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libdcerpc-devel
|
|
|
|
Summary: Development files for the DCE/RPC library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libdcerpc-binding0 = %{version}
|
|
|
|
Requires: libdcerpc0 = %{version}
|
|
|
|
Requires: samba-core-devel = %{version}
|
|
|
|
|
|
|
|
%description -n libdcerpc-devel
|
|
|
|
DCE/RPC, short for "Distributed Computing Environment / Remote
|
|
|
|
Procedure Calls", is the remote procedure call system developed for
|
|
|
|
the Distributed Computing Environment (DCE). This system allows
|
|
|
|
programmers to write distributed software as if it were all working
|
|
|
|
on the same computer, without having to worry about the underlying
|
|
|
|
network code.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libdcerpc.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libndr-krb5pac0
|
|
|
|
Summary: NDR marshallers for the KRB5 PAC formats
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libndr-krb5pac0
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libndr-krb5pac-devel
|
|
|
|
Summary: Development files for the ndr-krb5pac library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libndr-krb5pac0 = %{version}
|
|
|
|
Requires: samba-core-devel = %{version}
|
|
|
|
|
|
|
|
%description -n libndr-krb5pac-devel
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libndr-krb5pac.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libndr-nbt0
|
|
|
|
Summary: NDR marshallers for NBT formats
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libndr-nbt0
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libndr-nbt-devel
|
|
|
|
Summary: Development files for the ndr-nbt library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libndr-nbt0 = %{version}
|
|
|
|
Requires: samba-core-devel = %{version}
|
|
|
|
|
|
|
|
%description -n libndr-nbt-devel
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libndr-nbt.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libndr-standard0
|
|
|
|
Summary: NDR marshallers for the standard set of DCE/RPC interfaces
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libndr-standard0
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libndr-standard-devel
|
|
|
|
Summary: Development files for the libndr-standard library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libndr-standard0 = %{version}
|
|
|
|
Requires: samba-core-devel = %{version}
|
|
|
|
|
|
|
|
%description -n libndr-standard-devel
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libndr-standard.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libndr0
|
|
|
|
Summary: Network Data Representation library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libndr0
|
|
|
|
Network Data Representation (NDR) is an implementation of the
|
|
|
|
presentation layer in the OSI model.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libndr-devel
|
|
|
|
Summary: Development files for the Network Data Representation library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libndr0 = %{version}
|
|
|
|
Requires: samba-core-devel = %{version}
|
|
|
|
|
|
|
|
%description -n libndr-devel
|
|
|
|
Network Data Representation (NDR) is an implementation of the
|
|
|
|
presentation layer in the OSI model.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libndr.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsamba-credentials0
|
|
|
|
Summary: Samba credential management library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libsamba-credentials0
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsamba-credentials-devel
|
|
|
|
Summary: Development files for the Samba credential management library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libsamba-credentials0 = %{version}
|
|
|
|
|
|
|
|
%description -n libsamba-credentials-devel
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libsamba-credentials.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsamba-errors0
|
|
|
|
Summary: Samba errors handling library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libsamba-errors0
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsamba-errors-devel
|
|
|
|
Summary: Development files for the Samba errors handling library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libsamba-errors0 = %{version}
|
|
|
|
|
|
|
|
%description -n libsamba-errors-devel
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libsamba-errors.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsamba-hostconfig0
|
|
|
|
Summary: Host-wide Samba configuration library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libsamba-hostconfig0
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsamba-hostconfig-devel
|
|
|
|
Summary: Development files for the host-wide Samba configuration library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libsamba-hostconfig0 = %{version}
|
|
|
|
Requires: samba-core-devel = %{version}
|
|
|
|
|
|
|
|
%description -n libsamba-hostconfig-devel
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libsamba-hostconfig.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsamba-passdb0
|
|
|
|
Summary: Samba3 password database library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
Obsoletes: libpdb0 < %{version}
|
|
|
|
|
|
|
|
%description -n libsamba-passdb0
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsamba-passdb-devel
|
|
|
|
Summary: Development files for the Samba3 password database library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Provides: libpdb-devel
|
|
|
|
Obsoletes: libpdb-devel
|
|
|
|
Requires: libndr-standard-devel = %{version}
|
|
|
|
Requires: libsamba-passdb0 = %{version}
|
|
|
|
Requires: libtevent-devel
|
|
|
|
|
|
|
|
%description -n libsamba-passdb-devel
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libsamba-passdb.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
2018-02-28 18:20:55 +01:00
|
|
|
%if %{with_python}
|
2016-04-13 16:11:30 +02:00
|
|
|
%package -n libsamba-policy0
|
|
|
|
Summary: Active Directory Group Policy library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libsamba-policy0
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsamba-policy-devel
|
|
|
|
Summary: Development files for the Samba AD Group Policy library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libsamba-policy0 = %{version}
|
|
|
|
|
|
|
|
%description -n libsamba-policy-devel
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libsamba-policy.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
2018-02-28 18:20:55 +01:00
|
|
|
%endif
|
2016-04-13 16:11:30 +02:00
|
|
|
|
|
|
|
%package -n libsamba-util0
|
|
|
|
Summary: Samba utility function library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libsamba-util0
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsamba-util-devel
|
|
|
|
Summary: Development files for the Samba utility function library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libsamba-util0 = %{version}
|
|
|
|
Requires: samba-core-devel = %{version}
|
|
|
|
|
|
|
|
%description -n libsamba-util-devel
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libsamba-util.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsamdb0
|
|
|
|
Summary: Samba's SAM database library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libsamdb0
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsamdb-devel
|
|
|
|
Summary: Development files for Samba's SAM database library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libsamdb0 = %{version}
|
|
|
|
|
|
|
|
%description -n libsamdb-devel
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libsamdb.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsmbconf0
|
|
|
|
Summary: Samba3 configuration library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libsmbconf0
|
|
|
|
libsmbconf is a library to read or, based on the backend, modify the
|
|
|
|
Samba configuration.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsmbconf-devel
|
|
|
|
Summary: Development files for the Samba3 configuration library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libsmbconf0 = %{version}
|
|
|
|
|
|
|
|
%description -n libsmbconf-devel
|
|
|
|
libsmbconf is a library to read or, based on the backend, modify the
|
|
|
|
Samba configuration.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libsmbconf.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
2017-10-16 13:46:57 +02:00
|
|
|
%package -n libsmbldap2
|
2016-04-13 16:11:30 +02:00
|
|
|
Summary: Samba LDAP protocol helper function library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-10-16 13:46:57 +02:00
|
|
|
%description -n libsmbldap2
|
2016-04-13 16:11:30 +02:00
|
|
|
libsmbldap contains LDAP protocol helper functions for Samba.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsmbldap-devel
|
|
|
|
Summary: Development files for the smbldap library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
2017-10-16 13:46:57 +02:00
|
|
|
Requires: libsmbldap2 = %{version}
|
2016-04-13 16:11:30 +02:00
|
|
|
Requires: libtalloc-devel
|
|
|
|
Requires: libtevent-devel
|
|
|
|
Requires: openldap2-devel
|
|
|
|
|
|
|
|
%description -n libsmbldap-devel
|
|
|
|
libsmbldap contains LDAP protocol helper functions for Samba.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libsmbldap.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libtevent-util0
|
|
|
|
Summary: Samba tevent <-> system status code conversion utility library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libtevent-util0
|
|
|
|
The libtevent-util library contains functions to convert tevent error
|
|
|
|
codes to platform-specific (errno, NTSTATUS, WERROR) ones.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libtevent-util-devel
|
|
|
|
Summary: Development files for the Samba tevent utility library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libtevent-devel
|
|
|
|
Requires: libtevent-util0 = %{version}
|
|
|
|
Requires: samba-core-devel = %{version}
|
|
|
|
|
|
|
|
%description -n libtevent-util-devel
|
|
|
|
The libtevent-util library contains functions to convert tevent error
|
|
|
|
codes to platform-specific (errno, NTSTATUS, WERROR) ones.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libtevent-util.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
2012-12-02 17:24:49 +01:00
|
|
|
%package -n %{libsmbclient_name}
|
2016-03-22 20:19:46 +01:00
|
|
|
Obsoletes: libsmbclient < %{version}
|
2008-01-24 13:21:25 +01:00
|
|
|
Summary: Samba Client Library
|
2014-06-25 14:07:17 +02:00
|
|
|
License: GPL-3.0+
|
2008-01-24 13:21:25 +01:00
|
|
|
Group: System/Libraries
|
2016-10-07 01:42:10 +02:00
|
|
|
Requires: /sbin/ldconfig
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2012-12-02 17:24:49 +01:00
|
|
|
%description -n %{libsmbclient_name}
|
2009-07-14 23:06:34 +02:00
|
|
|
This package includes the libsmbclient library.
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2009-07-14 23:06:34 +02:00
|
|
|
libsmbclient is provided by the libsmbclient0 package.
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2013-01-31 17:37:04 +01:00
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
2012-12-01 21:05:19 +01:00
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
2012-11-30 21:34:48 +01:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%package -n libsmbclient-devel
|
2014-04-11 21:18:09 +02:00
|
|
|
Summary: Libraries and Header Files to Develop Programs with smbclient Support
|
2014-06-25 14:07:17 +02:00
|
|
|
License: GPL-3.0+
|
2008-01-24 13:21:25 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2012-12-02 23:09:01 +01:00
|
|
|
BuildRequires: %{pkgconfig_req}
|
2014-04-11 21:18:09 +02:00
|
|
|
Requires: %{libsmbclient_name} = %{version}
|
2014-06-25 14:07:17 +02:00
|
|
|
Requires: krb5-devel
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
%description -n libsmbclient-devel
|
|
|
|
This package contains the static libraries and header files needed to
|
|
|
|
develop programs which make use of the smbclient programming interface.
|
|
|
|
|
2013-01-31 17:37:04 +01:00
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
2012-12-01 21:05:19 +01:00
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
|
2016-04-13 16:11:30 +02:00
|
|
|
%package -n %{libnetapi_name}
|
|
|
|
Summary: Samba netapi Library
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: System/Libraries
|
2016-10-07 01:42:10 +02:00
|
|
|
Requires: /sbin/ldconfig
|
2016-04-13 16:11:30 +02:00
|
|
|
|
|
|
|
%description -n %{libnetapi_name}
|
|
|
|
This package includes the netapi library.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libnetapi-devel
|
|
|
|
Summary: Libraries and Header Files to Develop Programs with netapi Support
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
BuildRequires: %{pkgconfig_req}
|
|
|
|
Requires: %{libnetapi_name} = %{version}
|
|
|
|
|
|
|
|
%description -n libnetapi-devel
|
|
|
|
This package contains the static libraries and header files needed to
|
|
|
|
develop programs which make use of the netapi programming interface.
|
|
|
|
|
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
|
|
|
|
2012-12-02 17:24:49 +01:00
|
|
|
%package -n %{libwbclient_name}
|
2014-04-11 21:18:09 +02:00
|
|
|
Summary: Samba libwbclient Library
|
2014-06-25 14:07:17 +02:00
|
|
|
License: LGPL-3.0+
|
2009-07-14 23:06:34 +02:00
|
|
|
Group: System/Libraries
|
2016-10-07 01:42:10 +02:00
|
|
|
Requires: /sbin/ldconfig
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2012-12-02 17:24:49 +01:00
|
|
|
%description -n %{libwbclient_name}
|
2012-12-01 21:05:19 +01:00
|
|
|
This package includes the wbclient library.
|
|
|
|
|
2013-01-31 17:37:04 +01:00
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
2012-11-30 21:34:48 +01:00
|
|
|
Branch: %{BRANCH}
|
2008-05-17 02:11:23 +02:00
|
|
|
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2011-03-09 11:53:01 +01:00
|
|
|
%package -n libwbclient-devel
|
2014-04-11 21:18:09 +02:00
|
|
|
Summary: Libraries and Header Files to Develop Programs with wbclient Support
|
2014-06-25 14:07:17 +02:00
|
|
|
License: LGPL-3.0+
|
2008-07-11 23:15:18 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2012-12-02 23:09:01 +01:00
|
|
|
BuildRequires: %{pkgconfig_req}
|
2014-03-12 15:06:12 +01:00
|
|
|
Requires: %{libwbclient_name} = %{version}
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2011-03-09 11:53:01 +01:00
|
|
|
%description -n libwbclient-devel
|
2008-05-17 02:11:23 +02:00
|
|
|
This package contains the static libraries and header files needed to
|
2011-03-09 11:53:01 +01:00
|
|
|
develop programs which make use of the wbclient programming interface.
|
2008-05-17 02:11:23 +02:00
|
|
|
|
2013-01-31 17:37:04 +01:00
|
|
|
Source Timestamp: %{SOURCE_TIMESTAMP}
|
2012-12-01 21:05:19 +01:00
|
|
|
Branch: %{BRANCH}
|
|
|
|
|
2017-04-03 16:59:54 +02:00
|
|
|
%if 0%{?build_ceph}
|
2016-08-15 21:38:49 +02:00
|
|
|
%package ceph
|
2017-04-03 16:59:54 +02:00
|
|
|
Summary: Ceph specific add-ons for Samba
|
2016-08-15 21:38:49 +02:00
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Productivity/Networking/Samba
|
2017-01-26 14:37:29 +01:00
|
|
|
Requires: samba = %{version}
|
2016-08-15 21:38:49 +02:00
|
|
|
|
|
|
|
%description ceph
|
2017-04-03 16:59:54 +02:00
|
|
|
The Ceph VFS module for Samba allows shares to be backed by the Ceph
|
|
|
|
distributed file system. A Ceph CTDB lock helper binary is included so
|
|
|
|
that RADOS locks can be used for CTDB split-brain avoidance.
|
2016-08-15 21:38:49 +02:00
|
|
|
%endif
|
|
|
|
|
2017-10-11 18:43:10 +02:00
|
|
|
%package kdc
|
|
|
|
Summary: Samba MIT KDC
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Productivity/Networking/Samba
|
|
|
|
Requires: samba = %{version}
|
|
|
|
Requires: samba-dsdb-modules = %{version}
|
|
|
|
Recommends: krb5-server >= 1.15.1
|
2017-11-23 18:50:43 +01:00
|
|
|
Requires: samba-python = %{version}
|
2017-10-11 18:43:10 +02:00
|
|
|
Recommends: samba-winbind = %{version}
|
|
|
|
Recommends: tdb-tools >= %{tdb_version}
|
|
|
|
|
|
|
|
%description kdc
|
|
|
|
This package contains the KDC
|
|
|
|
|
|
|
|
%package dsdb-modules
|
|
|
|
Summary: Samba LDB modules
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Productivity/Networking/Samba
|
|
|
|
Requires: libldb1 >= %{ldb_version}
|
|
|
|
|
|
|
|
%description dsdb-modules
|
|
|
|
This package contains plugins which add Active Directory features to the
|
|
|
|
LDB library.
|
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%prep
|
2017-04-20 14:26:04 +02:00
|
|
|
%setup -n samba-%{version} -q
|
2008-01-24 13:21:25 +01:00
|
|
|
# vendor-files (config, scripts, tools)
|
2017-04-20 14:26:04 +02:00
|
|
|
%setup -T -D -a 1 -n samba-%{version} -q
|
2017-04-26 11:40:57 +02:00
|
|
|
install -m 0644 -p vendor-files-%{vendor_files_git_vers}/docu/rfc3454.txt source4/heimdal/lib/wind/
|
2008-01-24 13:21:25 +01:00
|
|
|
# Create and add vendor suffix
|
2010-05-25 12:57:29 +02:00
|
|
|
if test "%{_project}" != "openSUSE:Factory"; then
|
|
|
|
vendor_tag_release=$( grep -m 1 ^Release: ${RPM_SOURCE_DIR}/samba.spec | \
|
|
|
|
while read tag release; do \
|
|
|
|
echo -n "${release:+${release}-}"; \
|
|
|
|
done)
|
|
|
|
else
|
|
|
|
vendor_tag_release=""
|
|
|
|
fi
|
2017-04-20 14:26:04 +02:00
|
|
|
# ensure Git commit portion of version string is retained
|
|
|
|
vendor_tag=$(echo -n %{version} | sed "s/.*+git/git/"; \
|
|
|
|
echo -n "${vendor_tag_release}" )
|
2008-01-24 13:21:25 +01:00
|
|
|
# Create product suffix
|
2008-05-17 02:11:23 +02:00
|
|
|
test 0%{?centos_version} -gt 0 && product_version=%{?centos_version}
|
|
|
|
test 0%{?fedora_version} -gt 0 && product_version=%{?fedora_version}
|
|
|
|
test 0%{?mandriva_version} -gt 0 && product_version=%{?mandriva_version}
|
|
|
|
test 0%{?rhel_version} -gt 0 && product_version=%{?rhel_version}
|
|
|
|
test 0%{?suse_version} -gt 0 && product_version=%{?suse_version}
|
|
|
|
major_version=$((${product_version}/100))
|
|
|
|
minor_version=$((${product_version}/10))
|
2008-01-24 13:21:25 +01:00
|
|
|
minor_version="${minor_version#$major_version}"
|
|
|
|
product_version="${major_version}.${minor_version}"
|
2014-02-07 18:18:53 +01:00
|
|
|
case "%{suse_version}" in
|
|
|
|
1010) product_suffix="-SLE_10" ;;
|
|
|
|
1110) product_suffix="-SLE_11" ;;
|
|
|
|
1315) product_suffix="-SLE_12" ;;
|
|
|
|
*) product_suffix="-oS${product_version}" ;;
|
|
|
|
esac
|
2010-11-12 14:33:55 +01:00
|
|
|
# Add the build architecture
|
|
|
|
test "%{_build_arch}" != "" && \
|
|
|
|
product_suffix="${product_suffix}-%{_build_arch}"
|
2008-01-24 13:21:25 +01:00
|
|
|
# Set SAMBA_VERSION_VENDOR_SUFFIX in the VERSION file
|
2013-01-23 13:33:19 +01:00
|
|
|
mv VERSION VERSION.orig
|
2013-07-17 20:47:19 +02:00
|
|
|
sed -e "s/^SAMBA_VERSION_VENDOR_SUFFIX=$/SAMBA_VERSION_VENDOR_SUFFIX=${vendor_tag}%{VENDOR}${product_suffix}/" VERSION.orig >VERSION
|
2008-01-24 13:21:25 +01:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%build
|
2017-03-24 12:11:14 +01:00
|
|
|
if command -v ncurses6-config &> /dev/null; then
|
|
|
|
export NCURSES_CONFIG="$(command -v ncurses6-config)"
|
|
|
|
fi
|
|
|
|
|
2018-02-15 17:50:20 +01:00
|
|
|
export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS -I/usr/include/tirpc"
|
2018-02-23 20:40:04 +01:00
|
|
|
%if 0%{?suse_version} >= 1330
|
|
|
|
export LDFLAGS="-ltirpc"
|
|
|
|
%endif
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1141
|
2008-01-24 13:21:25 +01:00
|
|
|
%{?suse_update_config:%{suse_update_config -f}}
|
2012-01-02 14:45:41 +01:00
|
|
|
%endif
|
2015-09-08 18:16:04 +02:00
|
|
|
%if 0%{?suse_version} < 1111
|
|
|
|
bundled_libraries_extra="libarchive"
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
CONFIGURE_OPTIONS="\
|
|
|
|
--prefix=%{_prefix} \
|
2013-07-17 20:47:19 +02:00
|
|
|
--localstatedir=%{_localstatedir} \
|
2015-11-17 14:29:26 +01:00
|
|
|
--sysconfdir=%{_sysconfdir} \
|
2009-05-06 18:53:12 +02:00
|
|
|
--libdir=%{_libdir} \
|
2016-03-22 15:14:33 +01:00
|
|
|
--libexecdir=%{_libdir} \
|
2014-03-21 20:48:32 +01:00
|
|
|
--with-cachedir=%{LOCKDIR} \
|
2015-11-17 14:29:26 +01:00
|
|
|
--with-lockdir=%{LOCKDIR}/lock \
|
2008-01-24 13:21:25 +01:00
|
|
|
--with-logfilebase=%{LOGDIR} \
|
2009-05-06 18:53:12 +02:00
|
|
|
--with-modulesdir=%{_libdir}/samba \
|
2015-07-05 18:01:27 +02:00
|
|
|
--disable-rpath \
|
|
|
|
--disable-rpath-install \
|
2008-08-02 05:35:22 +02:00
|
|
|
--enable-debug \
|
2016-02-15 00:57:19 +01:00
|
|
|
%if 0%{?build_ctdb_pmda}
|
|
|
|
--enable-pmda \
|
|
|
|
%endif
|
2013-07-17 20:47:19 +02:00
|
|
|
--enable-fhs \
|
2016-02-15 00:57:19 +01:00
|
|
|
--with-cluster-support \
|
2017-07-13 15:42:20 +02:00
|
|
|
--with-socketpath=%{_localstatedir}/lib/ctdb/ctdb.socket \
|
2017-04-03 16:59:54 +02:00
|
|
|
%if 0%{?build_ceph}
|
|
|
|
--enable-ceph-reclock \
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
--with-pam \
|
|
|
|
--with-pammodulesdir=%{_lib}/security \
|
|
|
|
--with-piddir=%{PIDDIR} \
|
2015-11-17 14:29:26 +01:00
|
|
|
--with-relro \
|
2014-07-07 16:15:20 +02:00
|
|
|
%if 0%{?suse_version} > 1220
|
2015-01-14 13:38:58 +01:00
|
|
|
--enable-avahi \
|
2014-07-07 16:15:20 +02:00
|
|
|
--with-systemd \
|
|
|
|
%endif
|
2013-07-17 20:47:19 +02:00
|
|
|
--with-shared-modules=%{auth_modules},%{vfs_modules},%{pdb_modules},%{idmap_modules} \
|
|
|
|
%if %with_mitkrb5
|
|
|
|
--with-system-mitkrb5 \
|
|
|
|
%endif
|
2017-10-11 18:43:10 +02:00
|
|
|
%if ! %{with_dc}
|
2013-07-17 20:47:19 +02:00
|
|
|
--without-ad-dc \
|
2018-02-28 18:20:55 +01:00
|
|
|
%endif
|
|
|
|
%if ! %{with_python}
|
|
|
|
--disable-python
|
2013-07-17 20:47:19 +02:00
|
|
|
%endif
|
2017-03-24 14:30:38 +01:00
|
|
|
--bundled-libraries=NONE,socket_wrapper,cmocka,${bundled_libraries_extra} \
|
2008-01-24 13:21:25 +01:00
|
|
|
"
|
2013-07-17 20:47:19 +02:00
|
|
|
./configure ${CONFIGURE_OPTIONS}
|
2011-09-09 15:14:31 +02:00
|
|
|
make %{build_make_smp_mflags} \
|
2013-07-17 20:47:19 +02:00
|
|
|
all
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2017-03-31 13:23:32 +02:00
|
|
|
pushd docs-xml
|
|
|
|
autoconf && ./configure
|
|
|
|
XML_CATALOG_FILES="file:///etc/xml/catalog file://$(pwd)/build/catalog.xml" make htmlman
|
|
|
|
popd
|
|
|
|
|
2017-04-20 14:26:04 +02:00
|
|
|
pushd ctdb
|
|
|
|
XML_CATALOG_FILES="file:///etc/xml/catalog file://$(pwd)/build/catalog.xml" make manpages
|
|
|
|
popd
|
|
|
|
|
2013-07-17 20:47:19 +02:00
|
|
|
pushd pidl
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
2013-01-23 13:33:19 +01:00
|
|
|
popd
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%install
|
2011-09-09 15:14:31 +02:00
|
|
|
install -d -m 0755 -p \
|
|
|
|
%{buildroot}/%{_sysconfdir}/{pam.d,xinetd.d,logrotate.d} \
|
|
|
|
%{buildroot}/%{_sysconfdir}/openldap/schema \
|
|
|
|
%{buildroot}/%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/{if-{down,up}.d,scripts} \
|
|
|
|
%{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services \
|
|
|
|
%{buildroot}/%{_sysconfdir}/security \
|
|
|
|
%{buildroot}/%{_sysconfdir}/slp.reg.d \
|
|
|
|
%{buildroot}/%{CONFIGDIR} \
|
2013-11-22 11:54:01 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
|
|
|
%{buildroot}/%{_unitdir} \
|
|
|
|
%else
|
2011-09-09 15:14:31 +02:00
|
|
|
%{buildroot}/%{INITDIR} \
|
2013-11-22 11:54:01 +01:00
|
|
|
%endif
|
2011-09-09 15:14:31 +02:00
|
|
|
%{buildroot}/%{_lib}/security \
|
|
|
|
%{buildroot}/sbin \
|
|
|
|
%{buildroot}/%{_includedir} \
|
|
|
|
%{buildroot}/%{_libdir}/pkgconfig \
|
|
|
|
%{buildroot}/%{_libdir}/python/lib-dynload \
|
|
|
|
%{buildroot}/%{_libdir}/samba/{config,vfs,rpc,auth,charset,idmap} \
|
|
|
|
%{buildroot}/%{_datadir}/omc/svcinfo.d \
|
|
|
|
%{buildroot}/%{_datadir}/samba/{LDAP,templates} \
|
|
|
|
%{buildroot}/%{_localstatedir}/adm \
|
2016-02-15 00:57:19 +01:00
|
|
|
%{buildroot}/%{_localstatedir}/lib/ctdb/persistent \
|
2015-11-17 14:29:26 +01:00
|
|
|
%{buildroot}/%{LOCKDIR}/{drivers/{WIN40,W32X86,W32MIPS,W32ALPHA,W32PPC,IA64,x64},netlogon,lock/msg.lock,printing,private/msg.sock,profiles,winbindd_privileged} \
|
2011-09-09 15:14:31 +02:00
|
|
|
%{buildroot}/%{LOGDIR} \
|
|
|
|
%{buildroot}/%{PIDDIR} \
|
2017-11-27 17:09:07 +01:00
|
|
|
%{buildroot}/%{_fillupdir} \
|
2014-04-01 18:31:01 +02:00
|
|
|
%{buildroot}/%{_var}/cache/krb5rcache \
|
2016-02-15 00:57:19 +01:00
|
|
|
%{buildroot}/%{_var}/log/ctdb \
|
2011-09-09 15:14:31 +02:00
|
|
|
%{buildroot}/%{DOCDIR} \
|
|
|
|
%{buildroot}/%{DOCBOOKDIR} \
|
|
|
|
%{buildroot}/%{_datadir}/susehelp/meta/Administration/System
|
2012-05-15 12:58:22 +02:00
|
|
|
|
2011-09-09 15:14:31 +02:00
|
|
|
make install \
|
|
|
|
DESTDIR=%{buildroot} \
|
2011-07-21 22:14:33 +02:00
|
|
|
CONFIGDIR=%{CONFIGDIR}
|
2012-05-15 12:58:22 +02:00
|
|
|
|
2014-09-25 16:54:45 +02:00
|
|
|
# debug symbols are created and installed if the files are excluded only
|
2017-10-11 18:43:10 +02:00
|
|
|
%if ! %{with_dc}
|
2015-03-05 14:27:57 +01:00
|
|
|
rm \
|
|
|
|
%{buildroot}/%{_libdir}/samba/ldb/ildap.so \
|
2014-09-25 16:54:45 +02:00
|
|
|
%{buildroot}/%{_libdir}/samba/ldb/ldbsamba_extensions.so \
|
2015-12-01 20:17:25 +01:00
|
|
|
%endif
|
2012-05-15 12:58:22 +02:00
|
|
|
|
2016-02-15 00:57:19 +01:00
|
|
|
# CTDB
|
2017-11-27 17:09:07 +01:00
|
|
|
install -m 0644 vendor-files-%{vendor_files_git_vers}/config/sysconfig.ctdb %{buildroot}/%{_fillupdir}
|
2016-02-15 00:57:19 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
|
|
|
install -m 0755 ctdb/config/ctdb.service %{buildroot}%{_unitdir}/ctdb.service
|
|
|
|
ln -s service %{buildroot}/%{_sbindir}/rcctdb
|
|
|
|
# create tmpfile conf
|
|
|
|
install -d -m 0755 %{buildroot}/%{_tmpfilesdir}
|
|
|
|
echo "d /run/ctdbd 0755 root root" >%{buildroot}/%{_tmpfilesdir}/ctdb.conf
|
|
|
|
%else
|
|
|
|
install -m 0755 ctdb/config/ctdb.init ${RPM_BUILD_ROOT}/%{INITDIR}/ctdb
|
|
|
|
ln -s %{_sysconfdir}/init.d/ctdb %{buildroot}/%{_sbindir}/rcctdb
|
|
|
|
%endif
|
|
|
|
mkdir %{buildroot}/%{_defaultdocdir}/ctdb
|
2016-09-15 14:21:11 +02:00
|
|
|
for file in README COPYING doc/examples doc/*.html doc/readonlyrecords.txt doc/recovery-process.txt ; do
|
2016-02-15 00:57:19 +01:00
|
|
|
cp -a ctdb/${file} %{buildroot}/%{_defaultdocdir}/ctdb
|
|
|
|
done
|
2016-03-22 15:14:33 +01:00
|
|
|
touch %{buildroot}/%{_sysconfdir}/ctdb/nodes
|
2016-02-15 00:57:19 +01:00
|
|
|
# sudo can be used by statd-callout, but is not needed
|
|
|
|
rm ${RPM_BUILD_ROOT}/%{_sysconfdir}/sudoers.d/ctdb
|
|
|
|
|
2010-04-24 17:27:08 +02:00
|
|
|
# utility scripts
|
|
|
|
scripts="creategroup mksmbpasswd.sh"
|
2011-09-09 15:14:31 +02:00
|
|
|
install -d -m 0755 examples/scripts
|
2010-04-24 17:27:08 +02:00
|
|
|
for i in $scripts; do
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0755 "source3/script/${i}" examples/scripts/${i}
|
2010-04-24 17:27:08 +02:00
|
|
|
done
|
2008-01-24 13:21:25 +01:00
|
|
|
# configuration files
|
2017-04-26 11:40:57 +02:00
|
|
|
pushd vendor-files-%{vendor_files_git_vers}
|
2008-01-24 13:21:25 +01:00
|
|
|
echo "# smb.conf is the main Samba configuration file. You find a full commented" >config/smb.conf
|
|
|
|
echo "# version at %{DOCDIR}/examples/smb.conf.%{VENDOR} if the" >>config/smb.conf
|
|
|
|
echo "# samba-doc package is installed." >>config/smb.conf
|
|
|
|
grep -v "\(^#\|^;\|^$\)" config/smb.conf.vendor >>config/smb.conf
|
2011-09-09 15:14:31 +02:00
|
|
|
install -p -m 0644 config/smb.conf.vendor ../examples/smb.conf.%{VENDOR}
|
2013-02-26 14:39:34 +01:00
|
|
|
for file in smb.conf lmhosts smbusers smbpasswd smbusers; do
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 "config/${file}" %{buildroot}/%{CONFIGDIR}/${file}
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1221
|
2013-02-26 14:39:34 +01:00
|
|
|
install -m 0644 -p config/cifstab %{buildroot}/%{CONFIGDIR}/%{cifs_init_script}tab
|
2010-01-08 17:32:57 +01:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
section_names=$( sed -ne 's/^\[\(.*\)\]$/\1/p' config/smb.conf)
|
|
|
|
for section in $section_names; do
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1211
|
2013-02-08 23:01:17 +01:00
|
|
|
LD_LIBRARY_PATH=../source3/bin/ \
|
|
|
|
%endif
|
2011-09-09 15:14:31 +02:00
|
|
|
../source3/bin/testparm -s --section-name "${section}" config/smb.conf >"%{buildroot}/%{_datadir}/samba/templates/default-${section}" || :
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
|
|
|
for file in config/templates/*; do
|
2011-09-09 15:14:31 +02:00
|
|
|
cp -a "${file}" "%{buildroot}/%{_datadir}/samba/templates/"
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
|
|
|
# start scripts
|
|
|
|
scriptSuffix=""
|
2008-05-17 02:11:23 +02:00
|
|
|
if test 0%{?suse_version} -lt 901; then
|
2008-01-24 13:21:25 +01:00
|
|
|
scriptSuffix="-900"
|
2008-05-17 02:11:23 +02:00
|
|
|
elif test 0%{?suse_version} -lt 1011; then
|
2008-01-24 13:21:25 +01:00
|
|
|
scriptSuffix="-1010"
|
2011-07-21 22:14:33 +02:00
|
|
|
elif test 0%{?suse_version} -lt 1111; then
|
|
|
|
scriptSuffix="-1110"
|
2011-01-14 19:26:07 +01:00
|
|
|
elif test 0%{?suse_version} -lt 1131; then
|
|
|
|
scriptSuffix="-1130"
|
2008-01-24 13:21:25 +01:00
|
|
|
fi
|
2013-02-26 14:39:34 +01:00
|
|
|
startScripts="smb nmb winbind"
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1221
|
2013-02-26 14:39:34 +01:00
|
|
|
startScripts="${startScripts} %{cifs_init_script}"
|
|
|
|
%endif
|
2013-11-22 11:54:01 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
|
|
|
for srv_name in nmb smb winbind; do
|
2014-04-01 18:31:01 +02:00
|
|
|
install -m 0644 -p systemd/${srv_name}.service %{buildroot}/%{_unitdir}
|
2015-07-17 17:24:23 +02:00
|
|
|
ln -s service %{buildroot}/%{_sbindir}/rc${srv_name}
|
2013-11-22 11:54:01 +01:00
|
|
|
done
|
2017-10-11 18:43:10 +02:00
|
|
|
%if %{with_dc}
|
|
|
|
install -m 0644 -p systemd/samba-ad-dc.service %{buildroot}/%{_unitdir}
|
|
|
|
ln -s service %{buildroot}/%{_sbindir}/rcsamba-ad-dc
|
|
|
|
%endif
|
2017-11-27 17:09:07 +01:00
|
|
|
install -m 0644 systemd/sysconfig.* %{buildroot}%{_fillupdir}
|
2016-02-15 00:57:19 +01:00
|
|
|
install -m 0644 -p ../packaging/systemd/samba.conf.tmp %{buildroot}/%{_tmpfilesdir}/samba.conf
|
2013-11-22 11:54:01 +01:00
|
|
|
%else
|
2008-01-24 13:21:25 +01:00
|
|
|
for script in ${startScripts}; do
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0755 "init/${script}${scriptSuffix}" \
|
|
|
|
"%{buildroot}/%{INITDIR}/${script}"
|
|
|
|
ln -s "%{INITDIR}/${script}" "%{buildroot}/%{_sbindir}/rc${script}"
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
2013-11-22 11:54:01 +01:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
for script in ${startScripts}; do
|
|
|
|
SERVICE_NAME=$( echo "${script}" | tr [:lower:] [:upper:])
|
|
|
|
sed \
|
|
|
|
-e "s#__SERVICE_NAME#${SERVICE_NAME}#g" \
|
|
|
|
-e "s#__SERVICE_SCRIPT_NAME#${script}#g" \
|
|
|
|
init/template.xml \
|
2011-09-09 15:14:31 +02:00
|
|
|
>"%{buildroot}/%{_datadir}/omc/svcinfo.d/${script}.xml"
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0755 tools/nmbstatus %{buildroot}/%{_bindir}/nmbstatus
|
2013-01-23 13:33:19 +01:00
|
|
|
pod2man tools/nmbstatus >%{buildroot}/%{_mandir}/man1/nmbstatus.1
|
2011-10-18 23:41:59 +02:00
|
|
|
install -m 0755 tools/update-apparmor-samba-profile \
|
|
|
|
%{buildroot}/%{_datadir}/samba/
|
2008-01-24 13:21:25 +01:00
|
|
|
# PDF generator
|
2011-09-09 15:14:31 +02:00
|
|
|
install -p -m 0755 tools/smbprngenpdf %{buildroot}/%{_bindir}/smbprngenpdf
|
|
|
|
install -m 0644 config/samba.reg %{buildroot}/%{_sysconfdir}/slp.reg.d/samba.reg
|
2012-12-02 23:09:01 +01:00
|
|
|
install -m 0644 config/samba.pamd-common %{buildroot}/%{_sysconfdir}/pam.d/samba
|
2017-11-27 17:09:07 +01:00
|
|
|
install -m 0644 config/dhcp.conf %{buildroot}/%{_fillupdir}/samba-client-dhcp.conf
|
|
|
|
install -m 0644 config/sysconfig.dhcp-samba-client %{buildroot}/%{_fillupdir}/sysconfig.dhcp-samba-client
|
2013-02-26 14:39:34 +01:00
|
|
|
for script in dhcpcd-hook-samba dhcpcd-hook-samba-functions samba-winbindd; do
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0755 "tools/${script}" "%{buildroot}/%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/${script}"
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1221
|
2013-02-26 14:39:34 +01:00
|
|
|
touch %{buildroot}/var/run/%{cifs_init_script}
|
|
|
|
%if 0%{?suse_version} < 1121
|
|
|
|
sed -e 's/cifs/smbfs/g' tools/cifs >%{buildroot}/%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/%{cifs_init_script}
|
|
|
|
touch --reference=tools/cifs %{buildroot}/%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/%{cifs_init_script}
|
|
|
|
%else
|
|
|
|
install -m 0755 -p tools/cifs %{buildroot}/%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/%{cifs_init_script}
|
|
|
|
%endif
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
# Create ghosts for the symlinks
|
2013-02-26 14:39:34 +01:00
|
|
|
for script in 21-dhcpcd-hook-samba 55-samba-winbindd; do
|
2011-09-09 15:14:31 +02:00
|
|
|
touch %{buildroot}/%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-{down,up}.d/${script}
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1221
|
2013-02-26 14:39:34 +01:00
|
|
|
touch %{buildroot}/%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-{down,up}.d/21-%{cifs_init_script}
|
|
|
|
%endif
|
2008-11-18 13:37:00 +01:00
|
|
|
# Install SuSEfirewall2 config files
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 config/sysconfig.firewall.netbios-server \
|
2009-05-06 18:53:12 +02:00
|
|
|
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/netbios-server
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 config/sysconfig.firewall.samba-server \
|
2009-05-06 18:53:12 +02:00
|
|
|
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/samba-server
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} > 1100
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 config/sysconfig.firewall.samba-client \
|
2009-05-06 18:53:12 +02:00
|
|
|
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/samba-client
|
2009-01-23 23:34:47 +01:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
# Add logrotate settings for nmbd and smbd only on systems newer than 8.1.
|
|
|
|
LOGROTATE_FILES="samba samba-winbind"
|
|
|
|
for file in ${LOGROTATE_FILES}; do
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 logrotate/${file} %{buildroot}/%{_sysconfdir}/logrotate.d/${file}
|
2017-04-20 14:26:04 +02:00
|
|
|
rm -f "${RPM_BUILD_DIR}/samba-%{version}/filelist-${file}"
|
|
|
|
touch "${RPM_BUILD_DIR}/samba-%{version}/filelist-${file}"
|
|
|
|
echo "%config(noreplace) %{_sysconfdir}/logrotate.d/${file}" >>${RPM_BUILD_DIR}/samba-%{version}/filelist-${file}
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
2015-03-18 19:15:46 +01:00
|
|
|
install -m 0644 docu/README.SUSE %{buildroot}/%{DOCDIR}/
|
|
|
|
# SUSEhelp files
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 docu/Samba.desktop %{buildroot}/%{_datadir}/susehelp/meta/Administration/System/Samba.desktop
|
2013-07-17 20:47:19 +02:00
|
|
|
install -d -m 0755 -p ../docs/htmldocs
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 docu/manpages.html ../docs/htmldocs/manpages.html
|
2017-03-31 13:23:32 +02:00
|
|
|
install -m 0644 ../docs-xml/output/htmldocs/manpages/* ../docs/htmldocs/
|
2008-01-24 13:21:25 +01:00
|
|
|
popd
|
|
|
|
# winbind stuff
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 examples/pam_winbind/pam_winbind.conf %{buildroot}/%{_sysconfdir}/security/pam_winbind.conf
|
2008-01-24 13:21:25 +01:00
|
|
|
# install nsswitch-headers (for squid, etc. #FIXME)
|
2011-09-09 15:14:31 +02:00
|
|
|
install -d -m 0755 \
|
|
|
|
%{buildroot}/%{_includedir}/samba/nsswitch \
|
|
|
|
%{buildroot}/%{_includedir}/samba/winbindd
|
2008-04-24 09:21:53 +02:00
|
|
|
for file in winbind_client.h winbind_nss_config.h winbind_nss_linux.h; do
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 "nsswitch/${file}" %{buildroot}/%{_includedir}/samba/nsswitch/${file}
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
2008-04-24 09:21:53 +02:00
|
|
|
for file in winbindd.h winbindd_proto.h; do
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 "source3/winbindd/${file}" %{buildroot}/%{_includedir}/samba/winbindd/${file}
|
2008-04-24 09:21:53 +02:00
|
|
|
done
|
2008-01-24 13:21:25 +01:00
|
|
|
# cups SMB support
|
2011-09-09 15:14:31 +02:00
|
|
|
mkdir -p %{buildroot}/%{cups_lib_dir}/backend/
|
2015-04-16 14:28:14 +02:00
|
|
|
touch %{buildroot}/%{cups_lib_dir}/backend/smb
|
2017-03-24 12:11:14 +01:00
|
|
|
mv COPYING README WHATSNEW.txt %{buildroot}/%{DOCDIR}/
|
2011-09-09 15:14:31 +02:00
|
|
|
cp -a docs/* %{buildroot}/%{DOCDIR}
|
2015-03-18 19:15:46 +01:00
|
|
|
rmdir "%{buildroot}/%{DOCBOOKDIR}"
|
2011-09-09 15:14:31 +02:00
|
|
|
cp -a examples/ %{buildroot}/%{DOCDIR}
|
2008-01-24 13:21:25 +01:00
|
|
|
# finally build filelist-samba-doc
|
2011-09-09 15:14:31 +02:00
|
|
|
for file in $( find %{buildroot}%{DOCDIR} -maxdepth 1); do
|
2008-09-05 20:40:17 +02:00
|
|
|
# exclude %{DOCDIR}, README, and docbook
|
2011-09-09 15:14:31 +02:00
|
|
|
case "${file#%{buildroot}}" in
|
2008-09-05 20:40:17 +02:00
|
|
|
%{DOCDIR}|%{DOCDIR}/README.%{VENDOR}|%{DOCDIR}/docbook) continue ;;
|
|
|
|
esac
|
2017-04-20 14:26:04 +02:00
|
|
|
echo "%doc ${file#%{buildroot}}" >>"${RPM_BUILD_DIR}/samba-%{version}/filelist-samba-doc"
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
2011-09-09 15:14:31 +02:00
|
|
|
for file in $( find %{buildroot}%{_libdir}/samba/vfs/ -mindepth 1 ); do
|
2016-08-15 21:38:49 +02:00
|
|
|
# if built we don't want vfs_ceph in the base package
|
|
|
|
case "${file#%{buildroot}}" in
|
|
|
|
%{_libdir}/samba/vfs/ceph.so) continue ;;
|
|
|
|
esac
|
2017-04-20 14:26:04 +02:00
|
|
|
echo "${file#%{buildroot}}" >>${RPM_BUILD_DIR}/samba-%{version}/filelist-samba
|
2011-08-08 18:19:05 +02:00
|
|
|
done
|
2016-08-15 21:38:49 +02:00
|
|
|
# only package Man pages for VFS modules that we ship
|
|
|
|
for file in %{buildroot}%{_mandir}/man8/vfs_*; do
|
|
|
|
case "${file#%{buildroot}}" in
|
|
|
|
%{_mandir}/man8/vfs_ceph.8)
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?build_ceph} == 0
|
2016-08-15 21:38:49 +02:00
|
|
|
rm ${file}
|
2017-09-01 16:59:11 +02:00
|
|
|
%endif
|
2016-08-15 21:38:49 +02:00
|
|
|
continue
|
|
|
|
;;
|
|
|
|
%{_mandir}/man8/vfs_glusterfs.8)
|
|
|
|
rm ${file}
|
|
|
|
continue
|
|
|
|
;;
|
|
|
|
%{_mandir}/man8/vfs_gpfs.8)
|
|
|
|
rm ${file}
|
|
|
|
continue
|
|
|
|
;;
|
|
|
|
%{_mandir}/man8/vfs_tsmsm.8)
|
|
|
|
rm ${file}
|
|
|
|
continue
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
# wildcard suffix to account for subsequent gzip
|
2017-04-20 14:26:04 +02:00
|
|
|
echo "${file#%{buildroot}}*" >>${RPM_BUILD_DIR}/samba-%{version}/filelist-samba
|
2016-08-15 21:38:49 +02:00
|
|
|
done
|
2008-01-24 13:21:25 +01:00
|
|
|
# copy the schema
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 examples/LDAP/samba.schema %{buildroot}/%{_sysconfdir}/openldap/schema/samba3.schema
|
|
|
|
install -m 0644 examples/LDAP/samba-nds.schema %{buildroot}/%{_datadir}/samba/LDAP/samba-nds.schema
|
2008-01-24 13:21:25 +01:00
|
|
|
# Clean up installed doc if we have a noarch doc package
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1120
|
2008-01-24 13:21:25 +01:00
|
|
|
while read file; do
|
2011-09-09 15:14:31 +02:00
|
|
|
rm -r "%{buildroot}/${file#%* }"
|
2017-04-20 14:26:04 +02:00
|
|
|
done <"${RPM_BUILD_DIR}/samba-%{version}/filelist-samba-doc"
|
2010-03-05 02:13:04 +01:00
|
|
|
for file in %{_datadir}/susehelp; do
|
2011-09-09 15:14:31 +02:00
|
|
|
rm -r "%{buildroot}/${file}"
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
2011-09-09 15:14:31 +02:00
|
|
|
pushd "%{buildroot}/%{DOCDIR}"
|
2008-01-24 13:21:25 +01:00
|
|
|
for file in $( find . -mindepth 1 -maxdepth 1);do
|
|
|
|
test "${file}" = "./README.%{VENDOR}" && continue
|
|
|
|
rm -r "${file}"
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
%endif
|
2009-11-23 11:16:32 +01:00
|
|
|
# Hardlink duplicate files
|
|
|
|
%if 0%{?suse_version} > 1110
|
2011-09-09 15:14:31 +02:00
|
|
|
%fdupes %{buildroot}
|
2009-11-23 11:16:32 +01:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%pre
|
2012-10-29 18:13:29 +01:00
|
|
|
getent group ntadmin >/dev/null || groupadd -g 71 -o -r ntadmin || :
|
2013-11-22 11:54:01 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
2017-10-11 18:43:10 +02:00
|
|
|
%if %{with_dc}
|
|
|
|
%service_add_pre nmb.service smb.service samba-ad-dc.service
|
|
|
|
%else
|
2013-11-22 11:54:01 +01:00
|
|
|
%service_add_pre nmb.service smb.service
|
|
|
|
%endif
|
2017-10-11 18:43:10 +02:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%preun
|
2013-11-22 11:54:01 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
2017-10-11 18:43:10 +02:00
|
|
|
%if %{with_dc}
|
|
|
|
%service_del_preun nmb.service smb.service samba-ad-dc.service
|
|
|
|
%else
|
2013-11-22 11:54:01 +01:00
|
|
|
%service_del_preun nmb.service smb.service
|
2017-10-11 18:43:10 +02:00
|
|
|
%endif
|
2014-01-08 16:57:34 +01:00
|
|
|
%else
|
|
|
|
%{?stop_on_removal:%{stop_on_removal smb nmb}}
|
2013-11-22 11:54:01 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%post
|
|
|
|
%if 0%{?suse_version} > 1220
|
2017-10-11 18:43:10 +02:00
|
|
|
%if %{with_dc}
|
|
|
|
%service_add_post nmb.service smb.service samba-ad-dc.service
|
|
|
|
%else
|
2013-11-22 11:54:01 +01:00
|
|
|
%service_add_post nmb.service smb.service
|
2017-10-11 18:43:10 +02:00
|
|
|
%endif
|
2014-02-04 18:45:37 +01:00
|
|
|
%{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/samba.conf
|
2014-01-06 18:19:21 +01:00
|
|
|
%fillup_only
|
2013-11-22 11:54:01 +01:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%postun
|
2013-11-22 11:54:01 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
2017-10-11 18:43:10 +02:00
|
|
|
%if %{with_dc}
|
|
|
|
%service_del_postun nmb.service smb.service samba-ad-dc.service
|
|
|
|
%else
|
2013-11-22 11:54:01 +01:00
|
|
|
%service_del_postun nmb.service smb.service
|
2017-10-11 18:43:10 +02:00
|
|
|
%endif
|
2014-01-08 16:57:34 +01:00
|
|
|
%else
|
|
|
|
%{?restart_on_update:%{restart_on_update nmb smb}}
|
|
|
|
%{?insserv_cleanup:%{insserv_cleanup}}
|
2013-11-22 11:54:01 +01:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
|
2010-01-08 17:32:57 +01:00
|
|
|
%pre client
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1221
|
2010-01-08 17:32:57 +01:00
|
|
|
# non SUSE + 11.3 an newer, update, no cifstab, but smbfstab
|
|
|
|
if [ ! 0%{?suse_version} -lt 1121 -a \
|
|
|
|
${1:-0} -gt 1 -a \
|
|
|
|
! -e /etc/samba/cifstab -a \
|
|
|
|
-f /etc/samba/smbfstab ]; then
|
|
|
|
cp -a /etc/samba/smbfstab /var/adm/backup/etc_samba_smbfstab-move
|
|
|
|
chkconfig -c smbfs && >/var/adm/backup/etc_samba_smbfs-enabled || :
|
|
|
|
fi
|
2013-02-26 14:39:34 +01:00
|
|
|
%endif
|
2010-01-08 17:32:57 +01:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%preun client
|
2010-01-08 17:32:57 +01:00
|
|
|
%{?stop_on_removal:%{stop_on_removal %cifs_init_script}}
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%post client
|
|
|
|
/sbin/ldconfig
|
|
|
|
if [ ${1:-0} -eq 1 ]; then
|
2010-01-08 17:32:57 +01:00
|
|
|
# Only insserv cifs if we're not in update mode.
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1131
|
2012-02-02 22:37:34 +01:00
|
|
|
%{?insserv_force_if_yast:%{insserv_force_if_yast %{cifs_init_script}}}
|
2011-01-14 19:26:07 +01:00
|
|
|
%endif
|
2008-10-06 16:19:18 +02:00
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/dhcpcd-hook-samba %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/21-dhcpcd-hook-samba
|
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/dhcpcd-hook-samba %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/21-dhcpcd-hook-samba
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1221
|
2010-01-08 17:32:57 +01:00
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/%{cifs_init_script} %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/21-%{cifs_init_script}
|
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/%{cifs_init_script} %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/21-%{cifs_init_script}
|
2013-02-26 14:39:34 +01:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
else
|
|
|
|
for if_case in if-down.d if-up.d; do
|
2008-10-06 16:19:18 +02:00
|
|
|
test -h %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/dhcpcd-hook-samba || \
|
2008-01-24 13:21:25 +01:00
|
|
|
continue
|
2008-10-06 16:19:18 +02:00
|
|
|
rm -f %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/dhcpcd-hook-samba
|
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/dhcpcd-hook-samba %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/21-dhcpcd-hook-samba
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1221
|
2010-01-08 17:32:57 +01:00
|
|
|
test -h %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/%{cifs_init_script} || \
|
2008-10-27 17:14:41 +01:00
|
|
|
continue
|
2010-01-08 17:32:57 +01:00
|
|
|
rm -f %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/%{cifs_init_script}
|
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/%{cifs_init_script} %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/21-%{cifs_init_script}
|
2013-02-26 14:39:34 +01:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
|
|
|
fi
|
2016-03-02 19:25:28 +01:00
|
|
|
for fn in MACHINE.SID idmap2.tdb idmap_test.tdb netlogon_creds_cli.tdb passdb.tdb secrets.tdb smbpasswd; do
|
2015-09-16 22:36:06 +02:00
|
|
|
test ! -e %{LOCKDIR}/private/$fn && test -e %{CONFIGDIR}/$fn && \
|
2016-03-02 16:19:44 +01:00
|
|
|
mv %{CONFIGDIR}/$fn %{LOCKDIR}/private/
|
2015-09-16 22:36:06 +02:00
|
|
|
done
|
2016-03-02 18:55:24 +01:00
|
|
|
for fn in brlock.tdb connections.tdb dbwrap_watchers.tdb gencache_notrans.tdb g_lock.tdb leases.tdb locking.tdb mutex.tdb names.tdb printer_list.tdb serverid.tdb smbXsrv_client_global.tdb smbXsrv_open_global.tdb smbXsrv_session_global.tdb smbXsrv_tcon_global.tdb smbXsrv_version_global.tdb srv_fss.tdb; do
|
2016-03-01 18:45:52 +01:00
|
|
|
test ! -e %{LOCKDIR}/lock/$fn && test -e %{LOCKDIR}/$fn && \
|
2016-03-02 16:19:44 +01:00
|
|
|
mv %{LOCKDIR}/$fn %{LOCKDIR}/lock/
|
2016-03-01 18:45:52 +01:00
|
|
|
done
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1221
|
2010-01-08 17:32:57 +01:00
|
|
|
if [ ${1:-0} -gt 1 -a -f /var/adm/backup/etc_samba_smbfstab-move ]; then
|
|
|
|
test -f /etc/samba/cifstab && \
|
|
|
|
mv /etc/samba/cifstab /etc/samba/cifstab.rpmnew
|
|
|
|
mv /var/adm/backup/etc_samba_smbfstab-move /etc/samba/cifstab
|
|
|
|
if [ -f /var/adm/backup/etc_samba_smbfs-enabled ]; then
|
|
|
|
chkconfig -a cifs >/dev/null
|
|
|
|
rm /var/adm/backup/etc_samba_smbfs-enabled
|
|
|
|
fi
|
|
|
|
fi
|
2013-02-26 14:39:34 +01:00
|
|
|
%endif
|
2015-04-16 14:28:14 +02:00
|
|
|
if ! test -e %{_bindir}/get_printing_ticket; then
|
|
|
|
ln -fs %{_bindir}/smbspool %{cups_lib_dir}/backend/smb
|
|
|
|
fi
|
2009-01-09 01:56:07 +01:00
|
|
|
%{?fillup_only:%{fillup_only -nsd dhcp samba-client network}}
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%postun client
|
|
|
|
/sbin/ldconfig
|
2017-03-24 12:11:14 +01:00
|
|
|
%if 0%{?suse_version} < 1221
|
2009-01-09 01:56:07 +01:00
|
|
|
%{?insserv_cleanup:%{insserv_cleanup}}
|
2017-03-24 12:11:14 +01:00
|
|
|
%endif
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2016-04-13 16:11:30 +02:00
|
|
|
%post -n libdcerpc-binding0 -p /sbin/ldconfig
|
|
|
|
%postun -n libdcerpc-binding0 -p /sbin/ldconfig
|
|
|
|
%post -n libdcerpc-samr0 -p /sbin/ldconfig
|
|
|
|
%postun -n libdcerpc-samr0 -p /sbin/ldconfig
|
|
|
|
%post -n libdcerpc0 -p /sbin/ldconfig
|
|
|
|
%postun -n libdcerpc0 -p /sbin/ldconfig
|
|
|
|
%post -n libndr-krb5pac0 -p /sbin/ldconfig
|
|
|
|
%postun -n libndr-krb5pac0 -p /sbin/ldconfig
|
|
|
|
%post -n libndr-nbt0 -p /sbin/ldconfig
|
|
|
|
%postun -n libndr-nbt0 -p /sbin/ldconfig
|
|
|
|
%post -n libndr-standard0 -p /sbin/ldconfig
|
|
|
|
%postun -n libndr-standard0 -p /sbin/ldconfig
|
|
|
|
%post -n libndr0 -p /sbin/ldconfig
|
|
|
|
%postun -n libndr0 -p /sbin/ldconfig
|
|
|
|
%post -n %{libnetapi_name} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libnetapi_name} -p /sbin/ldconfig
|
|
|
|
%post -n libsamba-credentials0 -p /sbin/ldconfig
|
|
|
|
%postun -n libsamba-credentials0 -p /sbin/ldconfig
|
|
|
|
%post -n libsamba-errors0 -p /sbin/ldconfig
|
|
|
|
%postun -n libsamba-errors0 -p /sbin/ldconfig
|
|
|
|
%post -n libsamba-hostconfig0 -p /sbin/ldconfig
|
|
|
|
%postun -n libsamba-hostconfig0 -p /sbin/ldconfig
|
|
|
|
%post -n libsamba-passdb0 -p /sbin/ldconfig
|
|
|
|
%postun -n libsamba-passdb0 -p /sbin/ldconfig
|
2018-02-28 18:20:55 +01:00
|
|
|
%if %{with_python}
|
2016-04-13 16:11:30 +02:00
|
|
|
%post -n libsamba-policy0 -p /sbin/ldconfig
|
|
|
|
%postun -n libsamba-policy0 -p /sbin/ldconfig
|
2018-02-28 18:20:55 +01:00
|
|
|
%endif
|
2016-04-13 16:11:30 +02:00
|
|
|
%post -n libsamba-util0 -p /sbin/ldconfig
|
|
|
|
%postun -n libsamba-util0 -p /sbin/ldconfig
|
|
|
|
%post -n libsamdb0 -p /sbin/ldconfig
|
|
|
|
%postun -n libsamdb0 -p /sbin/ldconfig
|
|
|
|
%post -n libsmbconf0 -p /sbin/ldconfig
|
|
|
|
%postun -n libsmbconf0 -p /sbin/ldconfig
|
2017-10-16 13:46:57 +02:00
|
|
|
%post -n libsmbldap2 -p /sbin/ldconfig
|
|
|
|
%postun -n libsmbldap2 -p /sbin/ldconfig
|
2016-04-13 16:11:30 +02:00
|
|
|
%post -n libtevent-util0 -p /sbin/ldconfig
|
|
|
|
%postun -n libtevent-util0 -p /sbin/ldconfig
|
|
|
|
%post -n %{libwbclient_name} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libwbclient_name} -p /sbin/ldconfig
|
2013-07-17 20:47:19 +02:00
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
%post pidl -p /sbin/ldconfig
|
|
|
|
%postun pidl -p /sbin/ldconfig
|
|
|
|
%post test -p /sbin/ldconfig
|
|
|
|
%postun test -p /sbin/ldconfig
|
2008-01-24 13:21:25 +01:00
|
|
|
|
2017-10-11 18:43:10 +02:00
|
|
|
%if %{with_dc}
|
|
|
|
%post kdc -p /sbin/ldconfig
|
|
|
|
%postun kdc -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post dsdb-modules
|
|
|
|
ln -sf %{_libdir}/samba/ldb %{_libdir}/ldb/samba
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun dsdb-modules -p /sbin/ldconfig
|
|
|
|
%endif
|
|
|
|
|
2009-10-21 17:36:57 +02:00
|
|
|
%pre winbind
|
|
|
|
# we need this group for squid (ntlmauth)
|
|
|
|
# read access to /var/lib/samba/winbindd_privileged
|
2012-10-29 20:53:57 +01:00
|
|
|
getent group winbind >/dev/null || groupadd -r winbind || :
|
2013-11-22 11:54:01 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
|
|
|
%service_add_pre winbind.service
|
|
|
|
%endif
|
2009-10-21 17:36:57 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%post winbind
|
|
|
|
/sbin/ldconfig
|
|
|
|
if test ${1:-0} -eq 1; then
|
2008-10-06 16:19:18 +02:00
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/samba-winbindd %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/55-samba-winbindd
|
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/samba-winbindd %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/55-samba-winbindd
|
2008-01-24 13:21:25 +01:00
|
|
|
else
|
|
|
|
for if_case in if-down.d if-up.d; do
|
2008-10-06 16:19:18 +02:00
|
|
|
test -h %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/samba-winbindd || \
|
2008-01-24 13:21:25 +01:00
|
|
|
continue
|
2008-10-06 16:19:18 +02:00
|
|
|
rm -f %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/samba-winbindd
|
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/samba-winbindd %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/55-samba-winbindd
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
|
|
|
fi
|
2013-11-22 11:54:01 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
|
|
|
%service_add_post winbind.service
|
2014-02-04 18:45:37 +01:00
|
|
|
%{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/samba.conf
|
2014-01-14 23:13:47 +01:00
|
|
|
%{fillup_only -ans samba winbind}
|
2013-11-22 11:54:01 +01:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%preun winbind
|
2013-11-22 11:54:01 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
|
|
|
%service_del_preun winbind.service
|
2014-01-08 16:57:34 +01:00
|
|
|
%else
|
|
|
|
%{?stop_on_removal:%{stop_on_removal winbind}}
|
2013-11-22 11:54:01 +01:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%postun winbind
|
|
|
|
/sbin/ldconfig
|
2012-12-04 22:12:47 +01:00
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
%{_sbindir}/pam-config --delete --winbind
|
|
|
|
if [ -x %{_sbindir}/nscd ]; then
|
|
|
|
%{_sbindir}/nscd -i passwd
|
|
|
|
%{_sbindir}/nscd -i group
|
|
|
|
fi
|
|
|
|
fi
|
2013-11-22 11:54:01 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
|
|
|
%service_del_postun winbind.service
|
2014-01-08 16:57:34 +01:00
|
|
|
%else
|
|
|
|
%{?restart_on_update:%{restart_on_update winbind}}
|
|
|
|
%{?insserv_cleanup:%{insserv_cleanup}}
|
2013-11-22 11:54:01 +01:00
|
|
|
%endif
|
2008-09-25 01:17:04 +02:00
|
|
|
|
2016-02-15 00:57:19 +01:00
|
|
|
%pre -n ctdb
|
|
|
|
%if 0%{?suse_version} > 1220
|
|
|
|
%service_add_pre ctdb.service
|
|
|
|
%endif
|
2017-07-14 15:54:02 +02:00
|
|
|
if [ -e %{_sysconfdir}/sysconfig/ctdb ] ; then
|
2017-08-08 14:42:26 +02:00
|
|
|
grep CTDB_LOGGING %{_sysconfdir}/sysconfig/ctdb >/dev/null 2>&1 ||
|
|
|
|
sed -i s/CTDB_LOGFILE=/CTDB_LOGGING=file:/g %{_sysconfdir}/sysconfig/ctdb
|
2017-07-14 15:54:02 +02:00
|
|
|
fi
|
2016-02-15 00:57:19 +01:00
|
|
|
|
|
|
|
%preun -n ctdb
|
|
|
|
%if 0%{?suse_version} > 1220
|
|
|
|
%service_del_preun ctdb.service
|
|
|
|
%endif
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%post -n ctdb
|
|
|
|
%if 0%{?suse_version} > 1220
|
2016-08-15 21:38:49 +02:00
|
|
|
%{fillup_only -n ctdb}
|
2016-02-15 00:57:19 +01:00
|
|
|
%service_add_post ctdb.service
|
|
|
|
%{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/ctdb.conf || :
|
|
|
|
%else
|
2016-08-15 21:38:49 +02:00
|
|
|
%{fillup_and_insserv -n ctdb}
|
2016-02-15 00:57:19 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%postun -n ctdb
|
|
|
|
%if 0%{?suse_version} > 1220
|
|
|
|
%service_del_postun ctdb.service
|
|
|
|
%else
|
|
|
|
%{insserv_cleanup}
|
|
|
|
%endif
|
|
|
|
exit 0
|
|
|
|
|
2012-12-02 17:24:49 +01:00
|
|
|
%post -n %{libsmbclient_name} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libsmbclient_name} -p /sbin/ldconfig
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%clean
|
2011-09-09 15:14:31 +02:00
|
|
|
[ x"%{buildroot}" = x"/" ] && ( echo "your buildroot is /" && exit 0) || rm -rf "%{buildroot}"
|
2011-01-04 17:39:49 +01:00
|
|
|
if [ -e ${RPM_SOURCE_DIR}/baselibs.conf -a 0%{?suse_version} -gt 0 -a 0%{?suse_version} -lt 1110 ]; then
|
2009-10-21 17:36:57 +02:00
|
|
|
sed -i -e 's, supplements .*,,' ${RPM_SOURCE_DIR}/baselibs.conf
|
2011-01-04 17:39:49 +01:00
|
|
|
fi
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%files -f filelist-samba
|
|
|
|
%defattr(-,root,root)
|
2013-11-22 11:54:01 +01:00
|
|
|
%if 0%{?suse_version} < 1221
|
2008-01-24 13:21:25 +01:00
|
|
|
%attr(0754,root,root) %config %{INITDIR}/nmb
|
|
|
|
%attr(0754,root,root) %config %{INITDIR}/smb
|
2013-11-22 11:54:01 +01:00
|
|
|
%else
|
|
|
|
%{_unitdir}/nmb.service
|
|
|
|
%{_unitdir}/smb.service
|
2017-10-11 18:43:10 +02:00
|
|
|
%if %{with_dc}
|
|
|
|
%{_unitdir}/samba-ad-dc.service
|
|
|
|
%endif
|
2013-11-22 11:54:01 +01:00
|
|
|
%endif
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1111
|
2008-01-24 13:21:25 +01:00
|
|
|
%attr(0600,root,root) %config(noreplace) %{CONFIGDIR}/smbpasswd
|
2009-07-14 23:06:34 +02:00
|
|
|
%else
|
|
|
|
%ghost %{CONFIGDIR}/smbpasswd
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
%config(noreplace) %{CONFIGDIR}/smbusers
|
|
|
|
%config %{_sysconfdir}/pam.d/samba
|
|
|
|
%{_sysconfdir}/slp.reg.d
|
2008-11-18 13:37:00 +01:00
|
|
|
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/netbios-server
|
|
|
|
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/samba-server
|
2008-05-06 18:38:39 +02:00
|
|
|
%dir %{_libdir}/samba
|
|
|
|
%dir %{_libdir}/samba/vfs
|
2016-12-19 16:42:31 +01:00
|
|
|
%dir %{_libdir}/samba/ldb
|
2008-05-06 18:38:39 +02:00
|
|
|
%{_libdir}/samba/auth
|
|
|
|
%{_libdir}/samba/config
|
|
|
|
%{_libdir}/samba/rpc
|
2008-01-24 13:21:25 +01:00
|
|
|
%attr(0775,root,ntadmin) %{LOCKDIR}/drivers
|
2015-11-17 14:29:26 +01:00
|
|
|
%dir %{LOCKDIR}/lock/msg.lock
|
2008-01-24 13:21:25 +01:00
|
|
|
%{LOCKDIR}/netlogon
|
|
|
|
%attr(0770,root,users) %dir %{LOCKDIR}/profiles
|
|
|
|
%{_bindir}/smbstatus
|
|
|
|
%{_sbindir}/nmbd
|
|
|
|
%{_sbindir}/rcnmb
|
|
|
|
%{_sbindir}/rcsmb
|
|
|
|
%{_sbindir}/smbd
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1100
|
2008-01-24 13:21:25 +01:00
|
|
|
%dir %{_datadir}/omc
|
|
|
|
%dir %{_datadir}/omc/svcinfo.d
|
2008-04-06 08:10:12 +02:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
%attr(0644,root,root) %{_datadir}/omc/svcinfo.d/nmb.xml
|
|
|
|
%attr(0644,root,root) %{_datadir}/omc/svcinfo.d/smb.xml
|
|
|
|
%dir %{_datadir}/samba
|
2011-10-18 23:41:59 +02:00
|
|
|
%{_datadir}/samba/update-apparmor-samba-profile
|
2015-05-06 19:39:11 +02:00
|
|
|
%{_mandir}/man1/smbstatus.1.*
|
|
|
|
%{_mandir}/man5/smbpasswd.5.*
|
|
|
|
%{_mandir}/man8/nmbd.8.*
|
|
|
|
%{_mandir}/man8/smbd.8.*
|
2013-07-17 20:47:19 +02:00
|
|
|
%exclude %{_mandir}/man8/samba-tool.8.*
|
|
|
|
%exclude %{_mandir}/man8/samba.8.*
|
2014-01-06 18:19:21 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
2017-11-27 17:09:07 +01:00
|
|
|
%{_fillupdir}/sysconfig.samba
|
2014-01-06 18:19:21 +01:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
|
2013-07-17 20:47:19 +02:00
|
|
|
%files client
|
2008-01-24 13:21:25 +01:00
|
|
|
%defattr(-,root,root)
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1221
|
2010-01-08 17:32:57 +01:00
|
|
|
%attr(0754,root,root) %config %{INITDIR}/%{cifs_init_script}
|
2013-02-26 14:39:34 +01:00
|
|
|
%attr(0600,root,root) %config(noreplace) %{CONFIGDIR}/%{cifs_init_script}tab
|
|
|
|
%ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/21-%{cifs_init_script}
|
|
|
|
%ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/21-%{cifs_init_script}
|
|
|
|
%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/%{cifs_init_script}
|
|
|
|
%{_sbindir}/rc%{cifs_init_script}
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1100
|
2013-02-26 14:39:34 +01:00
|
|
|
%dir %{_datadir}/omc
|
|
|
|
%dir %{_datadir}/omc/svcinfo.d
|
|
|
|
%endif
|
|
|
|
%attr(0644,root,root) %{_datadir}/omc/svcinfo.d/%{cifs_init_script}.xml
|
|
|
|
%ghost %{_localstatedir}/run/%{cifs_init_script}
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
%dir %{CONFIGDIR}
|
|
|
|
%config(noreplace) %{CONFIGDIR}/lmhosts
|
|
|
|
%config(noreplace) %{CONFIGDIR}/smb.conf
|
2008-07-11 23:15:18 +02:00
|
|
|
%dir %{_sysconfdir}/openldap
|
2008-01-24 13:21:25 +01:00
|
|
|
%dir %{_sysconfdir}/openldap/schema
|
|
|
|
%attr(0444,root,root) %config %{_sysconfdir}/openldap/schema/samba3.schema
|
2008-10-06 16:19:18 +02:00
|
|
|
%ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/21-dhcpcd-hook-samba
|
|
|
|
%ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/21-dhcpcd-hook-samba
|
|
|
|
%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/dhcpcd-hook-samba
|
|
|
|
%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/dhcpcd-hook-samba-functions
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} > 1100
|
2009-01-23 23:34:47 +01:00
|
|
|
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/samba-client
|
|
|
|
%endif
|
2013-07-17 20:47:19 +02:00
|
|
|
%{_bindir}/cifsdd
|
|
|
|
%{_bindir}/dbwrap_tool
|
2008-01-24 13:21:25 +01:00
|
|
|
%{_bindir}/eventlogadm
|
2016-09-15 14:21:11 +02:00
|
|
|
%{_bindir}/findsmb
|
2008-01-24 13:21:25 +01:00
|
|
|
%{_bindir}/net
|
|
|
|
%{_bindir}/nmblookup
|
2013-07-17 20:47:19 +02:00
|
|
|
%{_bindir}/oLschema2ldif
|
|
|
|
%{_bindir}/regdiff
|
2013-09-03 17:28:04 +02:00
|
|
|
%{_bindir}/samba-regedit
|
2013-07-17 20:47:19 +02:00
|
|
|
%{_bindir}/regpatch
|
|
|
|
%{_bindir}/regshell
|
|
|
|
%{_bindir}/regtree
|
2008-01-24 13:21:25 +01:00
|
|
|
%{_bindir}/nmbstatus
|
|
|
|
%{_bindir}/pdbedit
|
|
|
|
%{_bindir}/profiles
|
|
|
|
%{_bindir}/rpcclient
|
2009-05-06 18:53:12 +02:00
|
|
|
%{_bindir}/sharesec
|
2008-01-24 13:21:25 +01:00
|
|
|
%{_bindir}/smbcacls
|
|
|
|
%{_bindir}/smbclient
|
|
|
|
%{_bindir}/smbcontrol
|
|
|
|
%{_bindir}/smbcquotas
|
|
|
|
%{_bindir}/smbget
|
|
|
|
%{_bindir}/smbpasswd
|
|
|
|
%{_bindir}/smbprngenpdf
|
|
|
|
%{_bindir}/smbspool
|
|
|
|
%{_bindir}/smbtar
|
|
|
|
%{_bindir}/smbtree
|
2012-05-31 18:01:36 +02:00
|
|
|
%{_bindir}/testparm
|
2017-03-24 12:11:14 +01:00
|
|
|
%{_bindir}/mvxattr
|
2010-04-24 17:27:08 +02:00
|
|
|
%dir %{cups_lib_dir}
|
|
|
|
%dir %{cups_lib_dir}/backend
|
2015-04-16 14:28:14 +02:00
|
|
|
%ghost %{cups_lib_dir}/backend/smb
|
2013-07-17 20:47:19 +02:00
|
|
|
%{_libdir}/libnss_wins.so.*
|
2008-05-06 18:38:39 +02:00
|
|
|
%dir %{_libdir}/samba
|
|
|
|
%{_libdir}/samba/charset
|
2016-03-22 15:14:33 +01:00
|
|
|
%{_libdir}/samba/smbspool_krb5_wrapper
|
2015-05-06 19:39:11 +02:00
|
|
|
%{_mandir}/man1/dbwrap_tool.1.*
|
2016-09-15 14:21:11 +02:00
|
|
|
%{_mandir}/man1/findsmb.1.*
|
2015-05-06 19:39:11 +02:00
|
|
|
%{_mandir}/man1/log2pcap.1.*
|
|
|
|
%{_mandir}/man1/nmblookup.1.*
|
|
|
|
%{_mandir}/man1/nmbstatus.1.*
|
|
|
|
%{_mandir}/man1/oLschema2ldif.1.*
|
|
|
|
%{_mandir}/man1/profiles.1.*
|
|
|
|
%{_mandir}/man1/regdiff.1.*
|
|
|
|
%{_mandir}/man1/regpatch.1.*
|
|
|
|
%{_mandir}/man1/regshell.1.*
|
|
|
|
%{_mandir}/man1/regtree.1.*
|
|
|
|
%{_mandir}/man1/rpcclient.1.*
|
|
|
|
%{_mandir}/man1/sharesec.1.*
|
|
|
|
%{_mandir}/man1/smbcacls.1.*
|
|
|
|
%{_mandir}/man1/smbcontrol.1.*
|
|
|
|
%{_mandir}/man1/smbclient.1.*
|
|
|
|
%{_mandir}/man1/smbcquotas.1.*
|
|
|
|
%{_mandir}/man1/smbget.1.*
|
|
|
|
%{_mandir}/man1/smbtar.1.*
|
|
|
|
%{_mandir}/man1/smbtree.1.*
|
|
|
|
%{_mandir}/man1/testparm.1.*
|
2017-03-24 12:11:14 +01:00
|
|
|
%{_mandir}/man1/mvxattr.1.*
|
2015-05-06 19:39:11 +02:00
|
|
|
%{_mandir}/man5/lmhosts.5.*
|
|
|
|
%{_mandir}/man5/smb.conf.5.*
|
|
|
|
%{_mandir}/man5/smbgetrc.5.*
|
|
|
|
%{_mandir}/man7/samba.7.*
|
2016-03-22 15:14:33 +01:00
|
|
|
%{_mandir}/man8/cifsdd.8.*
|
2015-05-06 19:39:11 +02:00
|
|
|
%{_mandir}/man8/eventlogadm.8.*
|
|
|
|
%{_mandir}/man8/net.8.*
|
|
|
|
%{_mandir}/man8/pdbedit.8.*
|
|
|
|
%{_mandir}/man8/samba-regedit.8.*
|
|
|
|
%{_mandir}/man8/smbpasswd.8.*
|
|
|
|
%{_mandir}/man8/smbspool.8.*
|
2016-02-23 11:10:26 +01:00
|
|
|
%{_mandir}/man8/smbspool_krb5_wrapper.8.*
|
2008-01-24 13:21:25 +01:00
|
|
|
%dir %{_datadir}/samba
|
|
|
|
%dir %{_datadir}/samba/LDAP
|
|
|
|
%config %{_datadir}/samba/LDAP/samba-nds.schema
|
|
|
|
%{_datadir}/samba/templates
|
|
|
|
%dir %{DOCDIR}
|
|
|
|
%doc %{DOCDIR}/README.%{VENDOR}
|
2017-11-27 17:09:07 +01:00
|
|
|
%{_fillupdir}/samba-client-dhcp.conf
|
|
|
|
%{_fillupdir}/sysconfig.dhcp-samba-client
|
2008-01-24 13:21:25 +01:00
|
|
|
%dir %{LOCKDIR}
|
2016-03-02 16:19:44 +01:00
|
|
|
%dir %{LOCKDIR}/lock
|
2015-09-16 16:42:27 +02:00
|
|
|
%dir %{LOCKDIR}/private
|
2015-10-22 19:36:01 +02:00
|
|
|
%attr(0700,root,root) %dir %{LOCKDIR}/private/msg.sock
|
2008-01-24 13:21:25 +01:00
|
|
|
%attr(0750,root,root) %dir %{LOGDIR}
|
2010-11-12 14:33:55 +01:00
|
|
|
%ghost %dir %{PIDDIR}
|
2014-04-01 18:31:01 +02:00
|
|
|
%if 0%{?suse_version} > 1220
|
2015-09-25 21:28:45 +02:00
|
|
|
%dir %{_tmpfilesdir}
|
|
|
|
%{_tmpfilesdir}/samba.conf
|
2014-04-01 18:31:01 +02:00
|
|
|
%endif
|
2013-07-17 20:47:19 +02:00
|
|
|
|
2016-04-13 16:11:30 +02:00
|
|
|
%files core-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/samba
|
|
|
|
%dir %_includedir/samba-4.0/
|
|
|
|
%_includedir/samba-4.0/charset.h
|
2017-10-11 18:43:10 +02:00
|
|
|
%if %{with_dc}
|
|
|
|
%_includedir/samba-4.0/dcerpc_server.h
|
|
|
|
%endif
|
2016-04-13 16:11:30 +02:00
|
|
|
%dir %_includedir/samba-4.0/core/
|
|
|
|
%_includedir/samba-4.0/core/doserr.h
|
|
|
|
%_includedir/samba-4.0/core/error.h
|
|
|
|
%_includedir/samba-4.0/core/ntstatus.h
|
2017-10-11 18:43:10 +02:00
|
|
|
%_includedir/samba-4.0/core/ntstatus_gen.h
|
2016-04-13 16:11:30 +02:00
|
|
|
%_includedir/samba-4.0/core/hresult.h
|
|
|
|
%_includedir/samba-4.0/core/werror.h
|
2017-10-11 18:43:10 +02:00
|
|
|
%_includedir/samba-4.0/core/werror_gen.h
|
2016-04-13 16:11:30 +02:00
|
|
|
%_includedir/samba-4.0/domain_credentials.h
|
|
|
|
%dir %_includedir/samba-4.0/gen_ndr/
|
|
|
|
%_includedir/samba-4.0/gen_ndr/auth.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/dcerpc.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/drsblobs.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/drsuapi.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/ndr_dcerpc.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/ndr_drsblobs.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/ndr_drsuapi.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/ndr_svcctl_c.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/security.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/server_id.h
|
|
|
|
%_includedir/samba-4.0/ldb_wrap.h
|
|
|
|
%dir %_includedir/samba-4.0/ndr/
|
|
|
|
%_includedir/samba-4.0/ndr/ndr_dcerpc.h
|
|
|
|
%_includedir/samba-4.0/ndr/ndr_drsblobs.h
|
|
|
|
%_includedir/samba-4.0/ndr/ndr_drsuapi.h
|
|
|
|
%_includedir/samba-4.0/ndr/ndr_svcctl.h
|
|
|
|
%_includedir/samba-4.0/rpc_common.h
|
|
|
|
%dir %_includedir/samba-4.0/samba/
|
|
|
|
%_includedir/samba-4.0/samba/session.h
|
|
|
|
%_includedir/samba-4.0/samba/version.h
|
|
|
|
%_includedir/samba-4.0/share.h
|
|
|
|
%_includedir/samba-4.0/smb2_lease_struct.h
|
|
|
|
%_includedir/samba-4.0/tdr.h
|
|
|
|
%_includedir/samba-4.0/tsocket.h
|
|
|
|
%_includedir/samba-4.0/tsocket_internal.h
|
|
|
|
%dir %_includedir/samba-4.0/util/
|
|
|
|
%_includedir/samba-4.0/util/genrand.h
|
|
|
|
%_includedir/samba-4.0/util/idtree.h
|
|
|
|
%_includedir/samba-4.0/util/idtree_random.h
|
2017-10-11 18:43:10 +02:00
|
|
|
%_includedir/samba-4.0/util/tfork.h
|
2016-04-13 16:11:30 +02:00
|
|
|
%_includedir/samba-4.0/util_ldb.h
|
|
|
|
%{_libdir}/libnss_winbind.so
|
|
|
|
%{_libdir}/libnss_wins.so
|
|
|
|
|
|
|
|
%files libs
|
- Add libdcerpc0, libdcerpc-atsvc0, libdcerpc-binding0, libdcerpc-samr0,
libgensec0, libndr0, libndr-krb5pac0, libndr-nbt0, libndr-standard0,
libpdb0, libregistry0, libsamba-credentials0, libsamba-hostconfig0,
libsamba-policy0, libsamba-util0, libsamdb0, libsmbclient-raw0, libsmbconf0,
libsmbldap0, and libtevent-util0 to baselibs.conf.
- Implement shared library packaging guidelines.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=339
2013-09-16 16:06:15 +02:00
|
|
|
%defattr(-,root,root)
|
2013-07-17 20:47:19 +02:00
|
|
|
%dir %{_libdir}/samba
|
2016-04-13 16:11:30 +02:00
|
|
|
%{_libdir}/samba/libCHARSET3-samba4.so
|
|
|
|
%{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so
|
|
|
|
%{_libdir}/samba/libMESSAGING-samba4.so
|
2017-10-11 18:43:10 +02:00
|
|
|
%{_libdir}/samba/libMESSAGING-SEND-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libaddns-samba4.so
|
|
|
|
%{_libdir}/samba/libads-samba4.so
|
|
|
|
%{_libdir}/samba/libasn1util-samba4.so
|
|
|
|
%{_libdir}/samba/libauth-samba4.so
|
2016-04-13 16:11:30 +02:00
|
|
|
%{_libdir}/samba/libauth4-samba4.so
|
|
|
|
%{_libdir}/samba/libauth-unix-token-samba4.so
|
|
|
|
%{_libdir}/samba/libauthkrb5-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libcli-ldap-common-samba4.so
|
|
|
|
%{_libdir}/samba/libcli-ldap-samba4.so
|
|
|
|
%{_libdir}/samba/libcli-nbt-samba4.so
|
2016-04-13 16:11:30 +02:00
|
|
|
%{_libdir}/samba/libcli-cldap-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libcli-smb-common-samba4.so
|
|
|
|
%{_libdir}/samba/libcli-spoolss-samba4.so
|
2016-04-13 16:11:30 +02:00
|
|
|
%{_libdir}/samba/libcliauth-samba4.so
|
|
|
|
%{_libdir}/samba/libcluster-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libcmdline-credentials-samba4.so
|
|
|
|
%{_libdir}/samba/libdbwrap-samba4.so
|
|
|
|
%{_libdir}/samba/libdcerpc-samba-samba4.so
|
2016-04-13 16:11:30 +02:00
|
|
|
%{_libdir}/samba/libdcerpc-samba4.so
|
|
|
|
%{_libdir}/samba/libdsdb-module-samba4.so
|
2016-12-19 16:42:31 +01:00
|
|
|
%{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libevents-samba4.so
|
|
|
|
%{_libdir}/samba/libflag-mapping-samba4.so
|
2015-09-08 20:19:30 +02:00
|
|
|
%{_libdir}/samba/libgenrand-samba4.so
|
2016-03-22 15:14:33 +01:00
|
|
|
%{_libdir}/samba/libgensec-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libgpo-samba4.so
|
|
|
|
%{_libdir}/samba/libgse-samba4.so
|
|
|
|
%{_libdir}/samba/libhttp-samba4.so
|
2016-04-13 16:11:30 +02:00
|
|
|
%{_libdir}/samba/libidmap-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libinterfaces-samba4.so
|
2015-09-08 20:19:30 +02:00
|
|
|
%{_libdir}/samba/libiov-buf-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libkrb5samba-samba4.so
|
|
|
|
%{_libdir}/samba/libldbsamba-samba4.so
|
|
|
|
%{_libdir}/samba/liblibcli-lsa3-samba4.so
|
|
|
|
%{_libdir}/samba/liblibcli-netlogon3-samba4.so
|
|
|
|
%{_libdir}/samba/liblibsmb-samba4.so
|
2015-09-08 20:19:30 +02:00
|
|
|
%{_libdir}/samba/libmessages-dgm-samba4.so
|
|
|
|
%{_libdir}/samba/libmessages-util-samba4.so
|
|
|
|
%{_libdir}/samba/libmsghdr-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libmsrpc3-samba4.so
|
2016-03-22 15:14:33 +01:00
|
|
|
%{_libdir}/samba/libndr-samba-samba4.so
|
2016-04-13 16:11:30 +02:00
|
|
|
%{_libdir}/samba/libndr-samba4.so
|
2016-03-22 15:14:33 +01:00
|
|
|
%{_libdir}/samba/libnet-keytab-samba4.so
|
2016-04-13 16:11:30 +02:00
|
|
|
%{_libdir}/samba/libnetif-samba4.so
|
|
|
|
%{_libdir}/samba/libnon-posix-acls-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libnpa-tstream-samba4.so
|
2016-04-13 16:11:30 +02:00
|
|
|
%{_libdir}/samba/libnss-info-samba4.so
|
|
|
|
%{_libdir}/samba/libpopt-samba3-samba4.so
|
2016-09-15 14:21:11 +02:00
|
|
|
%{_libdir}/samba/libposix-eadb-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libprinting-migrate-samba4.so
|
2016-03-22 15:14:33 +01:00
|
|
|
%{_libdir}/samba/libregistry-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libreplace-samba4.so
|
|
|
|
%{_libdir}/samba/libsamba-cluster-support-samba4.so
|
|
|
|
%{_libdir}/samba/libsamba-debug-samba4.so
|
|
|
|
%{_libdir}/samba/libsamba-modules-samba4.so
|
|
|
|
%{_libdir}/samba/libsamba-security-samba4.so
|
|
|
|
%{_libdir}/samba/libsamba-sockets-samba4.so
|
2016-04-13 16:11:30 +02:00
|
|
|
%{_libdir}/samba/libsamba3-util-samba4.so
|
2018-02-28 18:20:55 +01:00
|
|
|
%if %{with_python}
|
2016-04-13 16:11:30 +02:00
|
|
|
%{_libdir}/samba/libsamba-python-samba4.so
|
2018-02-28 18:20:55 +01:00
|
|
|
%{_libdir}/samba/libsamba-net-samba4.so
|
|
|
|
%endif
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libsamdb-common-samba4.so
|
|
|
|
%{_libdir}/samba/libsecrets3-samba4.so
|
2015-09-08 20:19:30 +02:00
|
|
|
%{_libdir}/samba/libserver-id-db-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libserver-role-samba4.so
|
2016-04-13 16:11:30 +02:00
|
|
|
%{_libdir}/samba/libshares-samba4.so
|
|
|
|
%{_libdir}/samba/libsmb-transport-samba4.so
|
2016-03-22 15:14:33 +01:00
|
|
|
%{_libdir}/samba/libsmbclient-raw-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libsmbd-base-samba4.so
|
|
|
|
%{_libdir}/samba/libsmbd-conn-samba4.so
|
|
|
|
%{_libdir}/samba/libsmbd-shim-samba4.so
|
|
|
|
%{_libdir}/samba/libsmbldaphelper-samba4.so
|
2016-04-13 16:11:30 +02:00
|
|
|
%{_libdir}/samba/libsmbpasswdparser-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libsocket-blocking-samba4.so
|
2015-09-08 20:19:30 +02:00
|
|
|
%{_libdir}/samba/libsys-rw-samba4.so
|
|
|
|
%{_libdir}/samba/libtalloc-report-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libtdb-wrap-samba4.so
|
2015-09-08 20:19:30 +02:00
|
|
|
%{_libdir}/samba/libtime-basic-samba4.so
|
2016-03-22 15:14:33 +01:00
|
|
|
%{_libdir}/samba/libtorture-samba4.so
|
2015-03-05 14:27:57 +01:00
|
|
|
%{_libdir}/samba/libtrusts-util-samba4.so
|
|
|
|
%{_libdir}/samba/libutil-cmdline-samba4.so
|
|
|
|
%{_libdir}/samba/libutil-reg-samba4.so
|
|
|
|
%{_libdir}/samba/libutil-setid-samba4.so
|
|
|
|
%{_libdir}/samba/libutil-tdb-samba4.so
|
|
|
|
%{_libdir}/samba/libwinbind-client-samba4.so
|
|
|
|
%{_libdir}/samba/libxattr-tdb-samba4.so
|
2017-10-11 18:43:10 +02:00
|
|
|
%{_libdir}/samba/libcmocka-samba4.so
|
|
|
|
%{_libdir}/samba/libcommon-auth-samba4.so
|
2013-07-17 20:47:19 +02:00
|
|
|
%dir %{_libdir}/samba/pdb
|
|
|
|
%{_libdir}/samba/pdb/ldapsam.so
|
|
|
|
%{_libdir}/samba/pdb/smbpasswd.so
|
|
|
|
%{_libdir}/samba/pdb/tdbsam.so
|
|
|
|
|
|
|
|
%files pidl
|
2013-10-09 23:08:20 +02:00
|
|
|
%defattr(-,root,root)
|
2013-07-17 20:47:19 +02:00
|
|
|
%dir %{perl_vendorlib}/Parse
|
2015-11-17 14:29:26 +01:00
|
|
|
%dir %{perl_vendorlib}/Parse/Pidl
|
|
|
|
%{perl_vendorlib}/Parse/Pidl.pm*
|
|
|
|
%{perl_vendorlib}/Parse/Pidl/*
|
|
|
|
%{_mandir}/man1/pidl.1.*
|
|
|
|
%{_mandir}/man3/Parse::Pidl::*.3pm.*
|
|
|
|
%{_bindir}/pidl
|
2015-11-20 11:48:38 +01:00
|
|
|
# both are part of perl-Parse-Yapp
|
|
|
|
%exclude %dir %{perl_vendorlib}/Parse/Yapp
|
|
|
|
%exclude %{perl_vendorlib}/Parse/Yapp/Driver.pm
|
2013-07-17 20:47:19 +02:00
|
|
|
|
2018-02-28 18:20:55 +01:00
|
|
|
%if %{with_python}
|
2013-07-17 20:47:19 +02:00
|
|
|
%files python
|
2013-10-09 23:08:20 +02:00
|
|
|
%defattr(-,root,root)
|
2013-07-17 20:47:19 +02:00
|
|
|
%{python_sitearch}/*
|
2018-02-28 18:20:55 +01:00
|
|
|
%else
|
|
|
|
%exclude %{python_sitearch}/samba/third_party/*
|
|
|
|
%endif
|
2013-07-17 20:47:19 +02:00
|
|
|
|
|
|
|
%files test
|
2013-10-09 23:08:20 +02:00
|
|
|
%defattr(-,root,root)
|
2013-07-17 20:47:19 +02:00
|
|
|
%{_bindir}/gentest
|
|
|
|
%{_bindir}/locktest
|
|
|
|
%{_bindir}/masktest
|
|
|
|
%{_bindir}/ndrdump
|
2018-02-28 18:20:55 +01:00
|
|
|
%if %{with_python}
|
2013-07-17 20:47:19 +02:00
|
|
|
%{_bindir}/smbtorture
|
2018-02-28 18:20:55 +01:00
|
|
|
%{_mandir}/man1/smbtorture.1.*
|
|
|
|
%endif
|
2016-10-07 01:42:10 +02:00
|
|
|
%{_bindir}/vfstest
|
2015-05-06 19:39:11 +02:00
|
|
|
%{_mandir}/man1/gentest.1.*
|
|
|
|
%{_mandir}/man1/locktest.1.*
|
|
|
|
%{_mandir}/man1/masktest.1.*
|
|
|
|
%{_mandir}/man1/ndrdump.1.*
|
|
|
|
%{_mandir}/man1/vfstest.1.*
|
2013-07-17 20:47:19 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%files winbind -f filelist-samba-winbind
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config(noreplace) %{_sysconfdir}/security/pam_winbind.conf
|
2013-11-22 11:54:01 +01:00
|
|
|
%if 0%{?suse_version} < 1221
|
2008-01-24 13:21:25 +01:00
|
|
|
%attr(0754,root,root) %config %{INITDIR}/winbind
|
2013-11-22 11:54:01 +01:00
|
|
|
%else
|
|
|
|
%{_unitdir}/winbind.service
|
|
|
|
%endif
|
2008-10-06 16:19:18 +02:00
|
|
|
%ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/55-samba-winbindd
|
|
|
|
%ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/55-samba-winbindd
|
|
|
|
%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/samba-winbindd
|
2008-01-24 13:21:25 +01:00
|
|
|
%{_bindir}/ntlm_auth
|
|
|
|
%{_bindir}/wbinfo
|
|
|
|
%{_sbindir}/rcwinbind
|
|
|
|
%{_sbindir}/winbindd
|
|
|
|
/%{_lib}/security/pam_winbind.so
|
2013-07-17 20:47:19 +02:00
|
|
|
%{_libdir}/libnss_winbind.so.*
|
2008-05-06 18:38:39 +02:00
|
|
|
%{_libdir}/samba/idmap
|
2008-10-27 17:14:41 +01:00
|
|
|
%{_libdir}/samba/nss_info
|
2013-07-17 20:47:19 +02:00
|
|
|
%{_libdir}/winbind_krb5_locator.so
|
2015-05-06 19:39:11 +02:00
|
|
|
%{_mandir}/man1/ntlm_auth.1.*
|
|
|
|
%{_mandir}/man1/wbinfo.1.*
|
|
|
|
%{_mandir}/man7/winbind_krb5_locator.7.*
|
|
|
|
%{_mandir}/man5/pam_winbind.conf.5.*
|
|
|
|
%{_mandir}/man8/idmap_ad.8.*
|
|
|
|
%{_mandir}/man8/idmap_autorid.8.*
|
|
|
|
%{_mandir}/man8/idmap_hash.8.*
|
|
|
|
%{_mandir}/man8/idmap_ldap.8.*
|
|
|
|
%{_mandir}/man8/idmap_nss.8.*
|
|
|
|
%{_mandir}/man8/idmap_rfc2307.8.*
|
|
|
|
%{_mandir}/man8/idmap_rid.8.*
|
2016-09-15 14:21:11 +02:00
|
|
|
%{_mandir}/man8/idmap_script.8.*
|
2015-05-06 19:39:11 +02:00
|
|
|
%{_mandir}/man8/idmap_tdb.8.*
|
|
|
|
%{_mandir}/man8/idmap_tdb2.8.*
|
|
|
|
%{_mandir}/man8/pam_winbind.8.*
|
|
|
|
%{_mandir}/man8/winbindd.8.*
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} < 1100
|
2008-01-24 13:21:25 +01:00
|
|
|
%dir %{_datadir}/omc
|
|
|
|
%dir %{_datadir}/omc/svcinfo.d
|
2008-04-06 08:10:12 +02:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
%attr(0644,root,root) %{_datadir}/omc/svcinfo.d/winbind.xml
|
2009-10-21 17:36:57 +02:00
|
|
|
%attr(0750,root,winbind) %dir %{LOCKDIR}/winbindd_privileged
|
2014-01-06 18:19:21 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
2017-11-27 17:09:07 +01:00
|
|
|
%{_fillupdir}/sysconfig.samba-winbind
|
2014-01-06 18:19:21 +01:00
|
|
|
%endif
|
2014-04-01 18:40:50 +02:00
|
|
|
%attr(0770,root,root) %{_var}/cache/krb5rcache
|
2017-09-01 16:59:11 +02:00
|
|
|
%if 0%{?suse_version} > 1110
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%files doc -f filelist-samba-doc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{DOCDIR}
|
|
|
|
%doc %{_datadir}/susehelp
|
|
|
|
%endif
|
|
|
|
|
2016-02-15 00:57:19 +01:00
|
|
|
%files -n ctdb
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_sysconfdir}/ctdb
|
2017-11-27 17:09:07 +01:00
|
|
|
%{_fillupdir}/sysconfig.ctdb
|
2016-02-15 00:57:19 +01:00
|
|
|
%{_sysconfdir}/ctdb/notify.sh
|
|
|
|
%{_sysconfdir}/ctdb/ctdb-crash-cleanup.sh
|
|
|
|
%{_sysconfdir}/ctdb/debug-hung-script.sh
|
|
|
|
%{_sysconfdir}/ctdb/debug_locks.sh
|
|
|
|
%{_sysconfdir}/ctdb/functions
|
|
|
|
%{_sysconfdir}/ctdb/gcore_trace.sh
|
|
|
|
%{_sysconfdir}/ctdb/nfs-linux-kernel-callout
|
2016-03-22 15:14:33 +01:00
|
|
|
%ghost %{_sysconfdir}/ctdb/nodes
|
2016-02-15 00:57:19 +01:00
|
|
|
%{_sysconfdir}/ctdb/statd-callout
|
|
|
|
%if 0%{?suse_version} > 1220
|
|
|
|
%attr(644,root,root) %{_unitdir}/ctdb.service
|
|
|
|
%dir %{_tmpfilesdir}
|
|
|
|
%{_tmpfilesdir}/ctdb.conf
|
|
|
|
%ghost %dir /run/ctdbd
|
|
|
|
%else
|
|
|
|
%attr(755,root,root) %{INITDIR}/ctdb
|
|
|
|
%endif
|
|
|
|
%dir %{_sysconfdir}/ctdb/events.d
|
|
|
|
%config %{_sysconfdir}/ctdb/events.d/00.ctdb
|
|
|
|
%config %{_sysconfdir}/ctdb/events.d/01.reclock
|
2016-03-22 15:14:33 +01:00
|
|
|
%config %{_sysconfdir}/ctdb/events.d/05.system
|
2016-09-15 14:21:11 +02:00
|
|
|
%config %{_sysconfdir}/ctdb/events.d/06.nfs
|
2016-02-15 00:57:19 +01:00
|
|
|
%config %{_sysconfdir}/ctdb/events.d/10.external
|
|
|
|
%config %{_sysconfdir}/ctdb/events.d/10.interface
|
|
|
|
%config %{_sysconfdir}/ctdb/events.d/11.natgw
|
|
|
|
%config %{_sysconfdir}/ctdb/events.d/11.routing
|
|
|
|
%config %{_sysconfdir}/ctdb/events.d/13.per_ip_routing
|
|
|
|
%config %{_sysconfdir}/ctdb/events.d/20.multipathd
|
|
|
|
%config %{_sysconfdir}/ctdb/events.d/31.clamd
|
|
|
|
%config %{_sysconfdir}/ctdb/events.d/40.vsftpd
|
|
|
|
%config %{_sysconfdir}/ctdb/events.d/41.httpd
|
|
|
|
%config %{_sysconfdir}/ctdb/events.d/50.samba
|
|
|
|
%config %{_sysconfdir}/ctdb/events.d/60.nfs
|
|
|
|
%config %{_sysconfdir}/ctdb/events.d/70.iscsi
|
|
|
|
%config %{_sysconfdir}/ctdb/events.d/91.lvs
|
|
|
|
%config %{_sysconfdir}/ctdb/events.d/49.winbind
|
|
|
|
%config %{_sysconfdir}/ctdb/events.d/99.timeout
|
|
|
|
%{_sysconfdir}/ctdb/events.d/README
|
|
|
|
%dir %{_sysconfdir}/ctdb/nfs-checks.d
|
|
|
|
%config %{_sysconfdir}/ctdb/nfs-checks.d/00.portmapper.check
|
|
|
|
%config %{_sysconfdir}/ctdb/nfs-checks.d/10.status.check
|
|
|
|
%config %{_sysconfdir}/ctdb/nfs-checks.d/20.nfs.check
|
|
|
|
%config %{_sysconfdir}/ctdb/nfs-checks.d/30.nlockmgr.check
|
|
|
|
%config %{_sysconfdir}/ctdb/nfs-checks.d/40.mountd.check
|
|
|
|
%config %{_sysconfdir}/ctdb/nfs-checks.d/50.rquotad.check
|
|
|
|
%{_sysconfdir}/ctdb/nfs-checks.d/README
|
|
|
|
%dir %{_sysconfdir}/ctdb/notify.d
|
|
|
|
%{_sysconfdir}/ctdb/notify.d/README
|
|
|
|
%{_sbindir}/ctdbd
|
|
|
|
%{_sbindir}/ctdbd_wrapper
|
|
|
|
%{_sbindir}/rcctdb
|
|
|
|
%{_bindir}/ctdb
|
|
|
|
%{_bindir}/ctdb_diagnostics
|
|
|
|
%{_bindir}/ctdb_run_cluster_tests
|
|
|
|
%{_bindir}/ctdb_run_tests
|
|
|
|
%{_bindir}/ltdbtool
|
|
|
|
%{_bindir}/onnode
|
|
|
|
%{_bindir}/ping_pong
|
2016-03-22 15:14:33 +01:00
|
|
|
%dir %{_libdir}/ctdb
|
2017-03-24 12:11:14 +01:00
|
|
|
%{_libdir}/ctdb/ctdb_event
|
|
|
|
%{_libdir}/ctdb/ctdb_eventd
|
2016-03-22 15:14:33 +01:00
|
|
|
%{_libdir}/ctdb/ctdb_lock_helper
|
|
|
|
%{_libdir}/ctdb/ctdb_natgw
|
|
|
|
%{_libdir}/ctdb/ctdb_recovery_helper
|
2017-03-24 12:11:14 +01:00
|
|
|
%{_libdir}/ctdb/ctdb_takeover_helper
|
2016-03-22 15:14:33 +01:00
|
|
|
%{_libdir}/ctdb/smnotify
|
2016-09-15 14:21:11 +02:00
|
|
|
%{_libdir}/ctdb/ctdb_killtcp
|
|
|
|
%{_libdir}/ctdb/ctdb_lvs
|
|
|
|
%{_libdir}/ctdb/ctdb_mutex_fcntl_helper
|
2016-02-15 00:57:19 +01:00
|
|
|
%dir %{_localstatedir}/lib/ctdb
|
|
|
|
%dir %{_localstatedir}/lib/ctdb/persistent
|
|
|
|
%dir %{_localstatedir}/log/ctdb
|
2016-02-15 13:16:18 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
|
|
|
%ghost %dir /run/ctdb
|
|
|
|
%else
|
2016-02-15 00:57:19 +01:00
|
|
|
%ghost %dir %{_localstatedir}/run/ctdb
|
2016-02-15 13:16:18 +01:00
|
|
|
%endif
|
2016-02-15 00:57:19 +01:00
|
|
|
%{_mandir}/man1/ctdb.1.gz
|
|
|
|
%{_mandir}/man1/ctdbd.1.gz
|
|
|
|
%{_mandir}/man1/ctdbd_wrapper.1.gz
|
2016-09-15 14:21:11 +02:00
|
|
|
%{_mandir}/man1/ctdb_diagnostics.1.gz
|
2016-02-15 00:57:19 +01:00
|
|
|
%{_mandir}/man1/ltdbtool.1.gz
|
|
|
|
%{_mandir}/man1/onnode.1.gz
|
|
|
|
%{_mandir}/man1/ping_pong.1.gz
|
|
|
|
%{_mandir}/man5/ctdbd.conf.5.*
|
|
|
|
%{_mandir}/man7/ctdb-statistics.7.*
|
|
|
|
%{_mandir}/man7/ctdb-tunables.7.*
|
|
|
|
%{_mandir}/man7/ctdb.7.*
|
|
|
|
%doc %{_defaultdocdir}/ctdb
|
|
|
|
|
|
|
|
%if 0%{?build_ctdb_pmda}
|
|
|
|
%files -n ctdb-pcp-pmda
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_localstatedir}/lib/pcp
|
|
|
|
%dir %{_localstatedir}/lib/pcp/pmdas
|
|
|
|
%dir %{_localstatedir}/lib/pcp/pmdas/ctdb
|
|
|
|
%{_localstatedir}/lib/pcp/pmdas/ctdb/Install
|
|
|
|
%{_localstatedir}/lib/pcp/pmdas/ctdb/README
|
|
|
|
%{_localstatedir}/lib/pcp/pmdas/ctdb/Remove
|
|
|
|
%{_localstatedir}/lib/pcp/pmdas/ctdb/domain.h
|
|
|
|
%{_localstatedir}/lib/pcp/pmdas/ctdb/help
|
|
|
|
%{_localstatedir}/lib/pcp/pmdas/ctdb/pmdactdb
|
|
|
|
%{_localstatedir}/lib/pcp/pmdas/ctdb/pmns
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%files -n ctdb-tests
|
|
|
|
%defattr(-,root,root)
|
2016-12-19 16:42:31 +01:00
|
|
|
%dir %{_libdir}/ctdb
|
2017-03-24 12:11:14 +01:00
|
|
|
%{_libdir}/ctdb/tests/
|
2016-12-19 16:42:31 +01:00
|
|
|
%dir %{_datadir}/ctdb
|
2017-03-24 12:11:14 +01:00
|
|
|
%{_datadir}/ctdb/tests
|
|
|
|
|
2016-04-13 16:11:30 +02:00
|
|
|
%files -n libdcerpc-binding0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libdcerpc-binding.so.0*
|
|
|
|
|
|
|
|
%files -n libdcerpc-samr0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libdcerpc-samr.so.0*
|
|
|
|
|
|
|
|
%files -n libdcerpc-samr-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_includedir/samba-4.0/
|
|
|
|
%dir %_includedir/samba-4.0/gen_ndr/
|
|
|
|
%_includedir/samba-4.0/gen_ndr/ndr_samr_c.h
|
|
|
|
%_libdir/libdcerpc-samr.so
|
|
|
|
%_libdir/pkgconfig/dcerpc_samr.pc
|
|
|
|
|
|
|
|
%files -n libdcerpc0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libdcerpc.so.0*
|
|
|
|
|
|
|
|
%files -n libdcerpc-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_includedir/samba-4.0/
|
|
|
|
%_includedir/samba-4.0/dcerpc.h
|
|
|
|
%dir %_includedir/samba-4.0/gen_ndr/
|
|
|
|
%_libdir/libdcerpc.so
|
|
|
|
%_libdir/libdcerpc-binding.so
|
|
|
|
%_libdir/pkgconfig/dcerpc.pc
|
2017-10-11 18:43:10 +02:00
|
|
|
%if %{with_dc}
|
|
|
|
%_libdir/libdcerpc-server.so
|
|
|
|
%_libdir/pkgconfig/dcerpc_server.pc
|
|
|
|
%endif
|
2016-04-13 16:11:30 +02:00
|
|
|
|
|
|
|
%files -n libndr-krb5pac0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libndr-krb5pac.so.0*
|
|
|
|
|
|
|
|
%files -n libndr-krb5pac-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_includedir/samba-4.0/
|
|
|
|
%dir %_includedir/samba-4.0/gen_ndr/
|
|
|
|
%_includedir/samba-4.0/gen_ndr/krb5pac.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/ndr_krb5pac.h
|
2016-09-15 14:21:11 +02:00
|
|
|
%_includedir/samba-4.0/ndr/ndr_krb5pac.h
|
2016-04-13 16:11:30 +02:00
|
|
|
%_libdir/libndr-krb5pac.so
|
|
|
|
%_libdir/pkgconfig/ndr_krb5pac.pc
|
|
|
|
|
|
|
|
%files -n libndr-nbt0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libndr-nbt.so.0*
|
|
|
|
|
|
|
|
%files -n libndr-nbt-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_includedir/samba-4.0/
|
|
|
|
%dir %_includedir/samba-4.0/gen_ndr/
|
|
|
|
%_includedir/samba-4.0/gen_ndr/nbt.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/ndr_nbt.h
|
|
|
|
%dir %_includedir/samba-4.0/ndr/
|
|
|
|
%_includedir/samba-4.0/ndr/ndr_nbt.h
|
|
|
|
%_libdir/libndr-nbt.so
|
|
|
|
%_libdir/pkgconfig/ndr_nbt.pc
|
|
|
|
|
|
|
|
%files -n libndr-standard0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libndr-standard.so.0*
|
|
|
|
|
|
|
|
%files -n libndr-standard-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_includedir/samba-4.0/
|
|
|
|
%dir %_includedir/samba-4.0/gen_ndr/
|
|
|
|
%_includedir/samba-4.0/gen_ndr/samr.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/ndr_samr.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/lsa.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/netlogon.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/atsvc.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/ndr_atsvc.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/ndr_svcctl.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/svcctl.h
|
|
|
|
%_libdir/libndr-standard.so
|
|
|
|
%_libdir/pkgconfig/ndr_standard.pc
|
|
|
|
|
|
|
|
%files -n libndr0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libndr.so.0*
|
|
|
|
|
|
|
|
%files -n libndr-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_includedir/samba-4.0/
|
|
|
|
%dir %_includedir/samba-4.0/gen_ndr/
|
|
|
|
%_includedir/samba-4.0/gen_ndr/misc.h
|
|
|
|
%_includedir/samba-4.0/gen_ndr/ndr_misc.h
|
|
|
|
%_includedir/samba-4.0/ndr.h
|
|
|
|
%_libdir/libndr.so
|
|
|
|
%_libdir/pkgconfig/ndr.pc
|
|
|
|
|
|
|
|
%files -n %{libnetapi_name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libnetapi.so.*
|
|
|
|
|
|
|
|
%files -n libnetapi-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_includedir/samba-4.0/
|
|
|
|
%{_includedir}/samba-4.0/netapi.h
|
|
|
|
%{_libdir}/libnetapi.so
|
|
|
|
%{_libdir}/pkgconfig/netapi.pc
|
|
|
|
|
|
|
|
%files -n libsamba-credentials0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libsamba-credentials.so.0*
|
|
|
|
|
|
|
|
%files -n libsamba-credentials-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_includedir/samba-4.0/
|
|
|
|
%_includedir/samba-4.0/credentials.h
|
|
|
|
%_libdir/libsamba-credentials.so
|
|
|
|
%_libdir/pkgconfig/samba-credentials.pc
|
|
|
|
|
|
|
|
%files -n libsamba-errors0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libsamba-errors.so.*
|
|
|
|
|
|
|
|
%files -n libsamba-errors-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libsamba-errors.so
|
|
|
|
|
|
|
|
%files -n libsamba-hostconfig0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libsamba-hostconfig.so.0*
|
|
|
|
|
|
|
|
%files -n libsamba-hostconfig-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_includedir/samba-4.0/
|
|
|
|
%_includedir/samba-4.0/param.h
|
|
|
|
%_libdir/libsamba-hostconfig.so
|
|
|
|
%_libdir/pkgconfig/samba-hostconfig.pc
|
|
|
|
|
|
|
|
%files -n libsamba-passdb0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libsamba-passdb.so.0*
|
|
|
|
|
|
|
|
%files -n libsamba-passdb-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_includedir/samba-4.0/
|
|
|
|
%_includedir/samba-4.0/lookup_sid.h
|
|
|
|
%_includedir/samba-4.0/machine_sid.h
|
|
|
|
%_includedir/samba-4.0/passdb.h
|
|
|
|
%_libdir/libsamba-passdb.so
|
|
|
|
|
2018-02-28 18:20:55 +01:00
|
|
|
%if %{with_python}
|
|
|
|
|
2016-04-13 16:11:30 +02:00
|
|
|
%files -n libsamba-policy0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libsamba-policy.so.0*
|
|
|
|
|
|
|
|
%files -n libsamba-policy-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_includedir/samba-4.0/
|
|
|
|
%_includedir/samba-4.0/policy.h
|
|
|
|
%_libdir/libsamba-policy.so
|
|
|
|
%_libdir/pkgconfig/samba-policy.pc
|
|
|
|
|
2018-02-28 18:20:55 +01:00
|
|
|
%endif
|
|
|
|
|
2016-04-13 16:11:30 +02:00
|
|
|
%files -n libsamba-util0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libsamba-util.so.0*
|
|
|
|
|
|
|
|
%files -n libsamba-util-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_includedir/samba-4.0/
|
|
|
|
%dir %_includedir/samba-4.0/util/
|
|
|
|
%_includedir/samba-4.0/util/attr.h
|
|
|
|
%_includedir/samba-4.0/util/blocking.h
|
|
|
|
%_includedir/samba-4.0/util/byteorder.h
|
|
|
|
%_includedir/samba-4.0/util/data_blob.h
|
|
|
|
%_includedir/samba-4.0/util/debug.h
|
|
|
|
%_includedir/samba-4.0/util/fault.h
|
|
|
|
%_includedir/samba-4.0/util/memory.h
|
|
|
|
%_includedir/samba-4.0/util/safe_string.h
|
|
|
|
%_includedir/samba-4.0/util/signal.h
|
|
|
|
%_includedir/samba-4.0/util/string_wrappers.h
|
|
|
|
%_includedir/samba-4.0/util/substitute.h
|
|
|
|
%_includedir/samba-4.0/util/talloc_stack.h
|
|
|
|
%_includedir/samba-4.0/util/time.h
|
|
|
|
%_libdir/libsamba-util.so
|
|
|
|
%_libdir/pkgconfig/samba-util.pc
|
|
|
|
|
|
|
|
%files -n libsamdb0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libsamdb.so.0*
|
|
|
|
|
|
|
|
%files -n libsamdb-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libsamdb.so
|
|
|
|
%_libdir/pkgconfig/samdb.pc
|
|
|
|
|
2012-12-02 17:24:49 +01:00
|
|
|
%files -n %{libsmbclient_name}
|
2008-01-24 13:21:25 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libsmbclient.so.*
|
|
|
|
|
|
|
|
%files -n libsmbclient-devel
|
|
|
|
%defattr(-,root,root)
|
- Add libdcerpc0, libdcerpc-atsvc0, libdcerpc-binding0, libdcerpc-samr0,
libgensec0, libndr0, libndr-krb5pac0, libndr-nbt0, libndr-standard0,
libpdb0, libregistry0, libsamba-credentials0, libsamba-hostconfig0,
libsamba-policy0, libsamba-util0, libsamdb0, libsmbclient-raw0, libsmbconf0,
libsmbldap0, and libtevent-util0 to baselibs.conf.
- Implement shared library packaging guidelines.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=339
2013-09-16 16:06:15 +02:00
|
|
|
%dir %_includedir/samba-4.0/
|
2013-07-17 20:47:19 +02:00
|
|
|
%{_includedir}/samba-4.0/libsmbclient.h
|
2008-01-24 13:21:25 +01:00
|
|
|
%{_libdir}/libsmbclient.so
|
2011-07-21 22:14:33 +02:00
|
|
|
%{_libdir}/pkgconfig/smbclient.pc
|
2013-07-17 20:47:19 +02:00
|
|
|
%{_mandir}/man7/libsmbclient.7.*
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2016-04-13 16:11:30 +02:00
|
|
|
%files -n libsmbconf0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libsmbconf.so.0*
|
|
|
|
|
|
|
|
%files -n libsmbconf-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_includedir/samba-4.0/
|
|
|
|
%_includedir/samba-4.0/smbconf.h
|
|
|
|
%_libdir/libsmbconf.so
|
|
|
|
|
2017-10-16 13:46:57 +02:00
|
|
|
%files -n libsmbldap2
|
2016-04-13 16:11:30 +02:00
|
|
|
%defattr(-,root,root)
|
2017-10-11 18:43:10 +02:00
|
|
|
%_libdir/libsmbldap.so.2*
|
2016-04-13 16:11:30 +02:00
|
|
|
|
|
|
|
%files -n libsmbldap-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_includedir/samba-4.0/
|
|
|
|
%_includedir/samba-4.0/smbldap.h
|
|
|
|
%_includedir/samba-4.0/smb_ldap.h
|
|
|
|
%_libdir/libsmbldap.so
|
|
|
|
|
|
|
|
%files -n libtevent-util0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libtevent-util.so.0*
|
|
|
|
|
|
|
|
%files -n libtevent-util-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_includedir/samba-4.0/
|
|
|
|
%dir %_includedir/samba-4.0/util/
|
|
|
|
%_includedir/samba-4.0/util/tevent_ntstatus.h
|
|
|
|
%_includedir/samba-4.0/util/tevent_unix.h
|
|
|
|
%_includedir/samba-4.0/util/tevent_werror.h
|
|
|
|
%_libdir/libtevent-util.so
|
|
|
|
|
2012-12-02 17:24:49 +01:00
|
|
|
%files -n %{libwbclient_name}
|
2008-04-24 09:21:53 +02:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libwbclient.so.*
|
|
|
|
|
|
|
|
%files -n libwbclient-devel
|
|
|
|
%defattr(-,root,root)
|
- Add libdcerpc0, libdcerpc-atsvc0, libdcerpc-binding0, libdcerpc-samr0,
libgensec0, libndr0, libndr-krb5pac0, libndr-nbt0, libndr-standard0,
libpdb0, libregistry0, libsamba-credentials0, libsamba-hostconfig0,
libsamba-policy0, libsamba-util0, libsamdb0, libsmbclient-raw0, libsmbconf0,
libsmbldap0, and libtevent-util0 to baselibs.conf.
- Implement shared library packaging guidelines.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=339
2013-09-16 16:06:15 +02:00
|
|
|
%dir %_includedir/samba-4.0/
|
2013-07-17 20:47:19 +02:00
|
|
|
%{_includedir}/samba-4.0/wbclient.h
|
2008-04-24 09:21:53 +02:00
|
|
|
%{_libdir}/libwbclient.so
|
2011-07-21 22:14:33 +02:00
|
|
|
%{_libdir}/pkgconfig/wbclient.pc
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2017-04-03 16:59:54 +02:00
|
|
|
%if 0%{?build_ceph}
|
2016-08-15 21:38:49 +02:00
|
|
|
%files ceph
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_mandir}/man8/vfs_ceph.8.*
|
|
|
|
%{_libdir}/samba/vfs/ceph.so
|
2017-04-03 16:59:54 +02:00
|
|
|
%{_mandir}/man7/ctdb_mutex_ceph_rados_helper.7.*
|
|
|
|
%{_libdir}/ctdb/ctdb_mutex_ceph_rados_helper
|
2016-08-15 21:38:49 +02:00
|
|
|
%endif
|
|
|
|
|
2017-10-11 18:43:10 +02:00
|
|
|
%if %{with_dc}
|
|
|
|
%files kdc
|
|
|
|
%{_bindir}/samba-tool
|
|
|
|
%{_sbindir}/samba
|
|
|
|
%{_sbindir}/samba_dnsupdate
|
|
|
|
%{_sbindir}/samba_kcc
|
|
|
|
%{_sbindir}/samba_spnupdate
|
|
|
|
%{_sbindir}/samba_upgradedns
|
|
|
|
%{_sbindir}/rcsamba-ad-dc
|
|
|
|
%{_libdir}/krb5/plugins/kdb/samba.so
|
|
|
|
%{_libdir}/libdcerpc-server.so.0
|
|
|
|
%{_libdir}/libdcerpc-server.so.0.0.1
|
|
|
|
%{_libdir}/samba/bind9
|
|
|
|
%{_libdir}/samba/bind9/dlz_bind9.so
|
|
|
|
%{_libdir}/samba/bind9/dlz_bind9_10.so
|
|
|
|
%{_libdir}/samba/bind9/dlz_bind9_11.so
|
|
|
|
%{_libdir}/samba/bind9/dlz_bind9_9.so
|
|
|
|
%{_libdir}/samba/gensec
|
|
|
|
%{_libdir}/samba/gensec/krb5.so
|
|
|
|
%{_libdir}/samba/libdb-glue-samba4.so
|
|
|
|
%{_libdir}/samba/libdfs-server-ad-samba4.so
|
|
|
|
%{_libdir}/samba/libdlz-bind9-for-torture-samba4.so
|
|
|
|
%{_libdir}/samba/libdnsserver-common-samba4.so
|
|
|
|
%{_libdir}/samba/libpac-samba4.so
|
|
|
|
%{_libdir}/samba/libprocess-model-samba4.so
|
|
|
|
%{_libdir}/samba/libservice-samba4.so
|
|
|
|
%{_libdir}/samba/process_model
|
|
|
|
%{_libdir}/samba/process_model/standard.so
|
|
|
|
%{_libdir}/samba/service
|
|
|
|
%{_libdir}/samba/service/cldap.so
|
|
|
|
%{_libdir}/samba/service/dcerpc.so
|
|
|
|
%{_libdir}/samba/service/dns.so
|
|
|
|
%{_libdir}/samba/service/dns_update.so
|
|
|
|
%{_libdir}/samba/service/drepl.so
|
|
|
|
%{_libdir}/samba/service/kcc.so
|
|
|
|
%{_libdir}/samba/service/kdc.so
|
|
|
|
%{_libdir}/samba/service/ldap.so
|
|
|
|
%{_libdir}/samba/service/nbtd.so
|
|
|
|
%{_libdir}/samba/service/ntp_signd.so
|
|
|
|
%{_libdir}/samba/service/s3fs.so
|
|
|
|
%{_libdir}/samba/service/web.so
|
|
|
|
%{_libdir}/samba/service/winbindd.so
|
|
|
|
%{_libdir}/samba/service/wrepl.so
|
|
|
|
%{_datadir}/samba/setup
|
|
|
|
%{_datadir}/samba/setup/DB_CONFIG
|
|
|
|
%{_datadir}/samba/setup/ad-schema
|
|
|
|
%{_datadir}/samba/setup/ad-schema/MS-AD_Schema_2K8_Attributes.txt
|
|
|
|
%{_datadir}/samba/setup/ad-schema/MS-AD_Schema_2K8_Classes.txt
|
|
|
|
%{_datadir}/samba/setup/ad-schema/MS-AD_Schema_2K8_R2_Attributes.txt
|
|
|
|
%{_datadir}/samba/setup/ad-schema/MS-AD_Schema_2K8_R2_Classes.txt
|
|
|
|
%{_datadir}/samba/setup/ad-schema/licence.txt
|
|
|
|
%{_datadir}/samba/setup/aggregate_schema.ldif
|
|
|
|
%{_datadir}/samba/setup/cn=samba.ldif
|
|
|
|
%{_datadir}/samba/setup/display-specifiers
|
|
|
|
%{_datadir}/samba/setup/display-specifiers/DisplaySpecifiers-Win2k0.txt
|
|
|
|
%{_datadir}/samba/setup/display-specifiers/DisplaySpecifiers-Win2k3.txt
|
|
|
|
%{_datadir}/samba/setup/display-specifiers/DisplaySpecifiers-Win2k3R2.txt
|
|
|
|
%{_datadir}/samba/setup/display-specifiers/DisplaySpecifiers-Win2k8.txt
|
|
|
|
%{_datadir}/samba/setup/display-specifiers/DisplaySpecifiers-Win2k8R2.txt
|
|
|
|
%{_datadir}/samba/setup/dns_update_list
|
|
|
|
%{_datadir}/samba/setup/fedora-ds-init.ldif
|
|
|
|
%{_datadir}/samba/setup/fedorads-dna.ldif
|
|
|
|
%{_datadir}/samba/setup/fedorads-index.ldif
|
|
|
|
%{_datadir}/samba/setup/fedorads-linked-attributes.ldif
|
|
|
|
%{_datadir}/samba/setup/fedorads-pam.ldif
|
|
|
|
%{_datadir}/samba/setup/fedorads-partitions.ldif
|
|
|
|
%{_datadir}/samba/setup/fedorads-refint-add.ldif
|
|
|
|
%{_datadir}/samba/setup/fedorads-refint-delete.ldif
|
|
|
|
%{_datadir}/samba/setup/fedorads-samba.ldif
|
|
|
|
%{_datadir}/samba/setup/fedorads-sasl.ldif
|
|
|
|
%{_datadir}/samba/setup/fedorads.inf
|
|
|
|
%{_datadir}/samba/setup/idmap_init.ldif
|
|
|
|
%{_datadir}/samba/setup/krb5.conf
|
|
|
|
%{_datadir}/samba/setup/memberof.conf
|
|
|
|
%{_datadir}/samba/setup/mmr_serverids.conf
|
|
|
|
%{_datadir}/samba/setup/mmr_syncrepl.conf
|
|
|
|
%{_datadir}/samba/setup/modules.conf
|
|
|
|
%{_datadir}/samba/setup/named.conf
|
|
|
|
%{_datadir}/samba/setup/named.conf.dlz
|
|
|
|
%{_datadir}/samba/setup/named.conf.update
|
|
|
|
%{_datadir}/samba/setup/named.txt
|
|
|
|
%{_datadir}/samba/setup/olc_mmr.conf
|
|
|
|
%{_datadir}/samba/setup/olc_seed.ldif
|
|
|
|
%{_datadir}/samba/setup/olc_serverid.conf
|
|
|
|
%{_datadir}/samba/setup/olc_syncrepl.conf
|
|
|
|
%{_datadir}/samba/setup/olc_syncrepl_seed.conf
|
|
|
|
%{_datadir}/samba/setup/prefixMap.txt
|
|
|
|
%{_datadir}/samba/setup/provision.ldif
|
|
|
|
%{_datadir}/samba/setup/provision.reg
|
|
|
|
%{_datadir}/samba/setup/provision.zone
|
|
|
|
%{_datadir}/samba/setup/provision_basedn.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_basedn_modify.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_basedn_options.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_basedn_references.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_computers_add.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_computers_modify.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_configuration.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_configuration_basedn.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_configuration_modify.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_configuration_references.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_dns_accounts_add.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_dns_add_samba.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_dnszones_add.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_dnszones_modify.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_dnszones_partitions.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_group_policy.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_init.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_partitions.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_privilege.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_rootdse_add.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_rootdse_modify.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_schema_basedn.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_schema_basedn_modify.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_self_join.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_self_join_config.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_self_join_modify.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_self_join_modify_config.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_users.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_users_add.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_users_modify.ldif
|
|
|
|
%{_datadir}/samba/setup/provision_well_known_sec_princ.ldif
|
|
|
|
%{_datadir}/samba/setup/refint.conf
|
|
|
|
%{_datadir}/samba/setup/schema-map-fedora-ds-1.0
|
|
|
|
%{_datadir}/samba/setup/schema-map-openldap-2.3
|
|
|
|
%{_datadir}/samba/setup/schema_samba4.ldif
|
|
|
|
%{_datadir}/samba/setup/secrets.ldif
|
|
|
|
%{_datadir}/samba/setup/secrets_dns.ldif
|
|
|
|
%{_datadir}/samba/setup/secrets_init.ldif
|
|
|
|
%{_datadir}/samba/setup/secrets_sasl_ldap.ldif
|
|
|
|
%{_datadir}/samba/setup/secrets_simple_ldap.ldif
|
|
|
|
%{_datadir}/samba/setup/share.ldif
|
|
|
|
%{_datadir}/samba/setup/slapd.conf
|
|
|
|
%{_datadir}/samba/setup/spn_update_list
|
|
|
|
%{_datadir}/samba/setup/ypServ30.ldif
|
|
|
|
|
|
|
|
%files dsdb-modules
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/samba/ldb/acl.so
|
|
|
|
%{_libdir}/samba/ldb/aclread.so
|
|
|
|
%{_libdir}/samba/ldb/anr.so
|
|
|
|
%{_libdir}/samba/ldb/descriptor.so
|
|
|
|
%{_libdir}/samba/ldb/dirsync.so
|
|
|
|
%{_libdir}/samba/ldb/dns_notify.so
|
|
|
|
%{_libdir}/samba/ldb/dsdb_notification.so
|
|
|
|
%{_libdir}/samba/ldb/extended_dn_in.so
|
|
|
|
%{_libdir}/samba/ldb/extended_dn_out.so
|
|
|
|
%{_libdir}/samba/ldb/extended_dn_store.so
|
|
|
|
%{_libdir}/samba/ldb/ildap.so
|
|
|
|
%{_libdir}/samba/ldb/instancetype.so
|
|
|
|
%{_libdir}/samba/ldb/lazy_commit.so
|
|
|
|
%{_libdir}/samba/ldb/ldbsamba_extensions.so
|
|
|
|
%{_libdir}/samba/ldb/linked_attributes.so
|
|
|
|
%{_libdir}/samba/ldb/local_password.so
|
|
|
|
%{_libdir}/samba/ldb/new_partition.so
|
|
|
|
%{_libdir}/samba/ldb/objectclass.so
|
|
|
|
%{_libdir}/samba/ldb/objectclass_attrs.so
|
|
|
|
%{_libdir}/samba/ldb/objectguid.so
|
|
|
|
%{_libdir}/samba/ldb/operational.so
|
|
|
|
%{_libdir}/samba/ldb/partition.so
|
|
|
|
%{_libdir}/samba/ldb/password_hash.so
|
|
|
|
%{_libdir}/samba/ldb/ranged_results.so
|
|
|
|
%{_libdir}/samba/ldb/repl_meta_data.so
|
|
|
|
%{_libdir}/samba/ldb/resolve_oids.so
|
|
|
|
%{_libdir}/samba/ldb/rootdse.so
|
|
|
|
%{_libdir}/samba/ldb/samba3sam.so
|
|
|
|
%{_libdir}/samba/ldb/samba3sid.so
|
|
|
|
%{_libdir}/samba/ldb/samba_dsdb.so
|
|
|
|
%{_libdir}/samba/ldb/samba_secrets.so
|
|
|
|
%{_libdir}/samba/ldb/samldb.so
|
|
|
|
%{_libdir}/samba/ldb/schema_data.so
|
|
|
|
%{_libdir}/samba/ldb/schema_load.so
|
|
|
|
%{_libdir}/samba/ldb/secrets_tdb_sync.so
|
|
|
|
%{_libdir}/samba/ldb/show_deleted.so
|
|
|
|
%{_libdir}/samba/ldb/simple_dn.so
|
|
|
|
%{_libdir}/samba/ldb/simple_ldap_map.so
|
|
|
|
%{_libdir}/samba/ldb/subtree_delete.so
|
|
|
|
%{_libdir}/samba/ldb/subtree_rename.so
|
|
|
|
%{_libdir}/samba/ldb/tombstone_reanimate.so
|
|
|
|
%{_libdir}/samba/ldb/update_keytab.so
|
|
|
|
%{_libdir}/samba/ldb/vlv.so
|
|
|
|
%{_libdir}/samba/ldb/wins_ldb.so
|
|
|
|
%endif
|
|
|
|
|
2012-04-11 16:01:03 +02:00
|
|
|
%changelog
|