[Pkg-sssd-devel] sssd: Changes to 'wheezy-backport'
Timo Aaltonen
tjaalton at moszumanska.debian.org
Wed Jul 22 05:21:31 UTC 2015
.gitignore | 2
Makefile.am | 273 -
configure.ac | 12
contrib/sssd.spec.in | 25
debian/changelog | 69
debian/control | 184
debian/copyright | 63
debian/generate-config | 136
debian/libnss-sss.postinst | 2
debian/libnss-sss.postrm | 6
debian/libpam-sss.prerm | 5
debian/libsss-sudo.postinst | 22
debian/libsss-sudo.postrm | 5
debian/patches/fix-automake-compat.diff | 65
debian/patches/fix-catchchild.diff | 33
debian/patches/fix-obsolete-target.diff | 13
debian/patches/make-samba4-optional.diff | 115
debian/patches/series | 4
debian/python-sss.install | 2
debian/rules | 3
debian/sssd-common.install | 13
debian/sssd-common.postinst | 4
debian/sssd-common.sssd.default | 2
debian/sssd-common.sssd.upstart.in | 6
debian/sssd-dbus.install | 4
debian/sssd-ipa.install | 1
debian/sssd-krb5-common.install | 4
debian/sssd-krb5.install | 1
debian/sssd-ldap.install | 1
po/bg.po | 780 +--
po/ca.po | 886 +--
po/de.po | 1570 +++---
po/es.po | 788 +--
po/eu.po | 781 +--
po/fr.po | 831 +--
po/hu.po | 786 +--
po/id.po | 780 +--
po/it.po | 778 +--
po/ja.po | 792 +--
po/nb.po | 774 +--
po/nl.po | 794 +--
po/pl.po | 821 +--
po/pt.po | 780 +--
po/ru.po | 778 +--
po/sssd.pot | 770 +--
po/sv.po | 819 +--
po/tg.po | 774 +--
po/tr.po | 774 +--
po/uk.po | 825 +--
po/zh_CN.po | 774 +--
po/zh_TW.po | 774 +--
src/conf_macros.m4 | 39
src/confdb/confdb.c | 175
src/confdb/confdb.h | 8
src/confdb/confdb_setup.c | 61
src/config/SSSDConfig/__init__.py.in | 12
src/config/SSSDConfig/sssd_upgrade_config.py | 3
src/config/SSSDConfigTest.py | 8
src/config/etc/sssd.api.conf | 8
src/config/etc/sssd.api.d/sssd-ad.conf | 6
src/config/etc/sssd.api.d/sssd-ipa.conf | 6
src/config/etc/sssd.api.d/sssd-ldap.conf | 7
src/db/sysdb.c | 113
src/db/sysdb.h | 1
src/db/sysdb_autofs.c | 78
src/db/sysdb_idmap.c | 44
src/db/sysdb_ops.c | 413 +
src/db/sysdb_ranges.c | 38
src/db/sysdb_search.c | 26
src/db/sysdb_selinux.c | 28
src/db/sysdb_services.c | 74
src/db/sysdb_ssh.c | 46
src/db/sysdb_subdomains.c | 44
src/db/sysdb_sudo.c | 62
src/db/sysdb_sudo.h | 1
src/db/sysdb_upgrade.c | 140
src/external/libndr_nbt.m4 | 11
src/external/pam.m4 | 27
src/external/sasl.m4 | 17
src/krb5_plugin/sssd_krb5_locator_plugin.c | 4
src/man/Makefile.am | 11
src/man/include/homedir_substring.xml | 18
src/man/include/override_homedir.xml | 7
src/man/include/seealso.xml | 6
src/man/pam_sss.8.xml | 14
src/man/po/br.po | 2096 +++++---
src/man/po/ca.po | 2312 +++++----
src/man/po/cs.po | 2030 ++++----
src/man/po/es.po | 2540 +++++-----
src/man/po/eu.po | 2008 ++++----
src/man/po/fr.po | 2836 ++++++-----
src/man/po/ja.po | 2565 +++++-----
src/man/po/lv.po | 2104 +++++---
src/man/po/nl.po | 2080 +++++---
src/man/po/po4a.cfg | 2
src/man/po/pt.po | 2192 +++++---
src/man/po/ru.po | 2078 +++++---
src/man/po/sssd-docs.pot | 1977 ++++----
src/man/po/tg.po | 2078 +++++---
src/man/po/uk.po | 3190 ++++++++-----
src/man/po/zh_CN.po | 2044 ++++----
src/man/sssd-ad.5.xml | 1
src/man/sssd-ifp.5.xml | 140
src/man/sssd-ldap.5.xml | 157
src/man/sssd.8.xml | 45
src/man/sssd.conf.5.xml | 65
src/monitor/monitor.c | 478 -
src/monitor/monitor_iface.xml | 55
src/monitor/monitor_iface_generated.c | 109
src/monitor/monitor_iface_generated.h | 86
src/monitor/monitor_interfaces.h | 27
src/monitor/monitor_netlink.c | 118
src/monitor/monitor_sbus.c | 81
src/providers/ad/ad_access.c | 18
src/providers/ad/ad_common.c | 157
src/providers/ad/ad_domain_info.c | 56
src/providers/ad/ad_dyndns.c | 52
src/providers/ad/ad_id.c | 96
src/providers/ad/ad_init.c | 50
src/providers/ad/ad_opts.h | 8
src/providers/ad/ad_srv.c | 66
src/providers/ad/ad_subdomains.c | 194
src/providers/ad/ad_sudo.c | 6
src/providers/data_provider.h | 19
src/providers/data_provider_be.c | 1175 ++--
src/providers/data_provider_callbacks.c | 39
src/providers/data_provider_fo.c | 85
src/providers/data_provider_iface.xml | 53
src/providers/data_provider_iface_generated.c | 95
src/providers/data_provider_iface_generated.h | 82
src/providers/data_provider_opts.c | 111
src/providers/dp_auth_util.c | 59
src/providers/dp_backend.h | 3
src/providers/dp_dyndns.c | 133
src/providers/dp_pam_data_util.c | 31
src/providers/dp_ptask.c | 111
src/providers/dp_ptask.h | 13
src/providers/dp_refresh.c | 12
src/providers/fail_over.c | 136
src/providers/fail_over_srv.c | 28
src/providers/ipa/ipa_access.c | 71
src/providers/ipa/ipa_auth.c | 66
src/providers/ipa/ipa_autofs.c | 4
src/providers/ipa/ipa_common.c | 199
src/providers/ipa/ipa_config.c | 8
src/providers/ipa/ipa_dyndns.c | 36
src/providers/ipa/ipa_hbac_common.c | 95
src/providers/ipa/ipa_hbac_hosts.c | 44
src/providers/ipa/ipa_hbac_rules.c | 18
src/providers/ipa/ipa_hbac_services.c | 63
src/providers/ipa/ipa_hbac_users.c | 40
src/providers/ipa/ipa_hostid.c | 8
src/providers/ipa/ipa_hosts.c | 22
src/providers/ipa/ipa_id.c | 11
src/providers/ipa/ipa_idmap.c | 70
src/providers/ipa/ipa_init.c | 95
src/providers/ipa/ipa_netgroups.c | 63
src/providers/ipa/ipa_opts.h | 8
src/providers/ipa/ipa_s2n_exop.c | 134
src/providers/ipa/ipa_selinux.c | 98
src/providers/ipa/ipa_selinux_common.c | 12
src/providers/ipa/ipa_selinux_maps.c | 8
src/providers/ipa/ipa_srv.c | 10
src/providers/ipa/ipa_subdomains.c | 182
src/providers/ipa/ipa_subdomains_ext_groups.c | 162
src/providers/ipa/ipa_subdomains_id.c | 117
src/providers/ipa/ipa_sudo.c | 6
src/providers/krb5/krb5_access.c | 32
src/providers/krb5/krb5_auth.c | 239
src/providers/krb5/krb5_become_user.c | 30
src/providers/krb5/krb5_child.c | 347 -
src/providers/krb5/krb5_child_handler.c | 70
src/providers/krb5/krb5_common.c | 232
src/providers/krb5/krb5_delayed_online_authentication.c | 101
src/providers/krb5/krb5_init.c | 31
src/providers/krb5/krb5_init_shared.c | 20
src/providers/krb5/krb5_renew_tgt.c | 155
src/providers/krb5/krb5_utils.c | 201
src/providers/krb5/krb5_wait_queue.c | 36
src/providers/ldap/ldap_access.c | 4
src/providers/ldap/ldap_auth.c | 172
src/providers/ldap/ldap_child.c | 193
src/providers/ldap/ldap_common.c | 279 -
src/providers/ldap/ldap_id.c | 89
src/providers/ldap/ldap_id_cleanup.c | 58
src/providers/ldap/ldap_id_enum.c | 10
src/providers/ldap/ldap_id_netgroup.c | 9
src/providers/ldap/ldap_id_services.c | 8
src/providers/ldap/ldap_init.c | 111
src/providers/ldap/ldap_opts.h | 17
src/providers/ldap/sdap.c | 416 +
src/providers/ldap/sdap.h | 29
src/providers/ldap/sdap_access.c | 973 +++
src/providers/ldap/sdap_access.h | 9
src/providers/ldap/sdap_async.c | 347 -
src/providers/ldap/sdap_async_autofs.c | 108
src/providers/ldap/sdap_async_connection.c | 293 -
src/providers/ldap/sdap_async_enum.c | 75
src/providers/ldap/sdap_async_groups.c | 444 +
src/providers/ldap/sdap_async_groups_ad.c | 30
src/providers/ldap/sdap_async_initgroups.c | 425 -
src/providers/ldap/sdap_async_initgroups_ad.c | 424 +
src/providers/ldap/sdap_async_nested_groups.c | 196
src/providers/ldap/sdap_async_netgroups.c | 98
src/providers/ldap/sdap_async_services.c | 70
src/providers/ldap/sdap_async_sudo.c | 44
src/providers/ldap/sdap_async_sudo_hostinfo.c | 68
src/providers/ldap/sdap_async_sudo_timer.c | 14
src/providers/ldap/sdap_async_users.c | 117
src/providers/ldap/sdap_autofs.c | 20
src/providers/ldap/sdap_child_helpers.c | 57
src/providers/ldap/sdap_dyndns.c | 85
src/providers/ldap/sdap_fd_events.c | 59
src/providers/ldap/sdap_id_op.c | 100
src/providers/ldap/sdap_idmap.c | 90
src/providers/ldap/sdap_range.c | 26
src/providers/ldap/sdap_refresh.c | 14
src/providers/ldap/sdap_reinit.c | 36
src/providers/ldap/sdap_sudo.c | 178
src/providers/ldap/sdap_sudo_cache.c | 30
src/providers/proxy/proxy_auth.c | 163
src/providers/proxy/proxy_child.c | 171
src/providers/proxy/proxy_id.c | 241
src/providers/proxy/proxy_init.c | 200
src/providers/proxy/proxy_netgroup.c | 39
src/providers/proxy/proxy_services.c | 32
src/providers/simple/simple_access.c | 30
src/providers/simple/simple_access_check.c | 118
src/resolv/async_resolv.c | 163
src/resolv/async_resolv_utils.c | 28
src/responder/autofs/autofssrv.c | 91
src/responder/autofs/autofssrv_cmd.c | 202
src/responder/autofs/autofssrv_dp.c | 18
src/responder/common/negcache.c | 74
src/responder/common/responder.h | 36
src/responder/common/responder_cmd.c | 11
src/responder/common/responder_common.c | 263 -
src/responder/common/responder_dp.c | 85
src/responder/common/responder_get_domains.c | 165
src/responder/common/responder_sbus.h | 3
src/responder/ifp/ifp_iface.xml | 25
src/responder/ifp/ifp_iface_generated.c | 91
src/responder/ifp/ifp_iface_generated.h | 62
src/responder/ifp/ifp_private.h | 77
src/responder/ifp/ifpsrv.c | 431 +
src/responder/ifp/ifpsrv_cmd.c | 862 +++
src/responder/ifp/ifpsrv_util.c | 326 +
src/responder/ifp/org.freedesktop.sssd.infopipe.conf | 25
src/responder/ifp/org.freedesktop.sssd.infopipe.service.in | 4
src/responder/nss/nsssrv.c | 201
src/responder/nss/nsssrv.h | 1
src/responder/nss/nsssrv_cmd.c | 700 +-
src/responder/nss/nsssrv_mmap_cache.c | 100
src/responder/nss/nsssrv_netgroup.c | 142
src/responder/nss/nsssrv_private.h | 4
src/responder/nss/nsssrv_services.c | 140
src/responder/pac/pacsrv.c | 74
src/responder/pac/pacsrv_cmd.c | 182
src/responder/pac/pacsrv_utils.c | 92
src/responder/pam/pam_LOCAL_domain.c | 43
src/responder/pam/pam_helpers.c | 16
src/responder/pam/pamsrv.c | 73
src/responder/pam/pamsrv_cmd.c | 165
src/responder/pam/pamsrv_dp.c | 32
src/responder/ssh/sshsrv.c | 77
src/responder/ssh/sshsrv_cmd.c | 94
src/responder/ssh/sshsrv_dp.c | 18
src/responder/sudo/sudosrv.c | 73
src/responder/sudo/sudosrv_cmd.c | 50
src/responder/sudo/sudosrv_dp.c | 36
src/responder/sudo/sudosrv_get_sudorules.c | 143
src/responder/sudo/sudosrv_query.c | 40
src/sbus/sbus_client.c | 16
src/sbus/sbus_client.h | 5
src/sbus/sbus_codegen | 764 +++
src/sbus/sssd_dbus.h | 208
src/sbus/sssd_dbus_common.c | 29
src/sbus/sssd_dbus_connection.c | 406 +
src/sbus/sssd_dbus_introspect.c | 345 +
src/sbus/sssd_dbus_meta.c | 67
src/sbus/sssd_dbus_meta.h | 89
src/sbus/sssd_dbus_private.h | 49
src/sbus/sssd_dbus_request.c | 486 +
src/sbus/sssd_dbus_server.c | 87
src/sss_client/autofs/sss_autofs.c | 30
src/sss_client/nss_mc_common.c | 46
src/sss_client/nss_mc_group.c | 8
src/sss_client/nss_mc_passwd.c | 8
src/sss_client/pam_sss.c | 18
src/sss_client/pam_test_client.c | 17
src/sss_client/ssh/sss_ssh_authorizedkeys.c | 8
src/sss_client/ssh/sss_ssh_knownhostsproxy.c | 46
src/sss_client/sss_pam_compat.h | 45
src/sss_client/sss_pam_macros.h | 19
src/sysv/systemd/sssd.service.in | 3
src/tests/auth-tests.c | 2
src/tests/cmocka/common_mock_resp.c | 71
src/tests/cmocka/common_mock_resp_dp.c | 117
src/tests/cmocka/sbus_internal_tests.c | 265 +
src/tests/cmocka/test_dyndns.c | 89
src/tests/cmocka/test_fqnames.c | 301 +
src/tests/cmocka/test_ifp.c | 349 +
src/tests/cmocka/test_nss_srv.c | 3
src/tests/cmocka/test_responder_common.c | 318 +
src/tests/cmocka/test_sss_ssh.c | 100
src/tests/cmocka/test_string_utils.c | 135
src/tests/cmocka/test_utils.c | 197
src/tests/cmocka/test_utils.h | 33
src/tests/common.h | 17
src/tests/common_dbus.c | 198
src/tests/common_dom.c | 56
src/tests/common_tev.c | 4
src/tests/debug-tests.c | 365 -
src/tests/dlopen-tests.c | 2
src/tests/files-tests.c | 15
src/tests/ipa_ldap_opt-tests.c | 55
src/tests/krb5_child-test.c | 44
src/tests/leak_check.c | 8
src/tests/resolv-tests.c | 49
src/tests/sbus_codegen_tests.c | 581 ++
src/tests/sbus_codegen_tests.xml | 112
src/tests/sbus_codegen_tests_generated.c | 393 +
src/tests/sbus_codegen_tests_generated.h | 89
src/tests/sbus_tests.c | 413 +
src/tests/simple_access-tests.c | 10
src/tests/sysdb-tests.c | 10
src/tests/sysdb_ssh-tests.c | 2
src/tools/files.c | 112
src/tools/selinux.c | 81
src/tools/sss_cache.c | 66
src/tools/sss_debuglevel.c | 28
src/tools/sss_groupadd.c | 15
src/tools/sss_groupdel.c | 9
src/tools/sss_groupmod.c | 27
src/tools/sss_groupshow.c | 59
src/tools/sss_seed.c | 126
src/tools/sss_signal.c | 37
src/tools/sss_sync_ops.c | 41
src/tools/sss_useradd.c | 27
src/tools/sss_userdel.c | 15
src/tools/sss_usermod.c | 24
src/tools/tools_mc_util.c | 52
src/tools/tools_util.c | 127
src/tools/tools_util.h | 2
src/util/authtok.c | 2
src/util/backup_file.c | 24
src/util/check_and_open.c | 29
src/util/child_common.c | 123
src/util/crypto/libcrypto/crypto_base64.c | 2
src/util/crypto/libcrypto/crypto_obfuscate.c | 18
src/util/crypto/libcrypto/crypto_sha512crypt.c | 4
src/util/crypto/nss/nss_obfuscate.c | 73
src/util/crypto/nss/nss_sha512crypt.c | 4
src/util/crypto/nss/nss_util.c | 10
src/util/debug.c | 78
src/util/domain_info_utils.c | 102
src/util/find_uid.c | 60
src/util/nscd.c | 25
src/util/server.c | 78
src/util/signal.c | 2
src/util/sss_ini.c | 26
src/util/sss_krb5.c | 116
src/util/sss_krb5.h | 2
src/util/sss_ldap.c | 84
src/util/sss_nss.c | 90
src/util/sss_nss.h | 13
src/util/sss_selinux.c | 26
src/util/sss_ssh.c | 20
src/util/sss_tc_utf8.c | 6
src/util/string_utils.c | 85
src/util/user_info_msg.c | 4
src/util/usertools.c | 98
src/util/util.c | 10
src/util/util.h | 120
src/util/util_errors.c | 7
src/util/util_errors.h | 7
src/util/util_lock.c | 10
version.m4 | 2
378 files changed, 51253 insertions(+), 32900 deletions(-)
New commits:
commit e9384c0e9b38fff9e8cb9f1cf638f6c4081c2d97
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Wed Jul 22 08:10:38 2015 +0300
releasing package sssd version 1.11.7.3-3~bpo70+1
diff --git a/debian/changelog b/debian/changelog
index b2243fb..b5b1e4c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-sssd (1.11.7.3-3~bpo70+1) UNRELEASED; urgency=medium
+sssd (1.11.7.3-3~bpo70+1) wheezy-backports; urgency=medium
* Backport to wheezy.
- make-samba-optional.diff: Added a patch to enable building
@@ -8,7 +8,7 @@ sssd (1.11.7.3-3~bpo70+1) UNRELEASED; urgency=medium
- control: relax libkrb5-dev build-dep, disable tests
- control, rules, sssd-common.install: disable systemd
- -- Timo Aaltonen <tjaalton at ubuntu.com> Fri, 09 May 2014 20:46:53 +0300
+ -- Timo Aaltonen <tjaalton at debian.org> Wed, 22 Jul 2015 08:10:24 +0300
sssd (1.11.7-3) unstable; urgency=medium
commit 33141ada81a07c984beb8b1d06d7913cad658ac8
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Wed Jul 22 08:10:18 2015 +0300
fix version number, changelog
diff --git a/debian/changelog b/debian/changelog
index 908a94b..b2243fb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,12 @@
-sssd (1.11.7.3-3~wheezy1) UNRELEASED; urgency=medium
+sssd (1.11.7.3-3~bpo70+1) UNRELEASED; urgency=medium
* Backport to wheezy.
- make-samba-optional.diff: Added a patch to enable building
without samba4.
- - control: disable sssd-ad*, sssd-ipa
+ - control, sssd-common.install: disable sssd-ad*, sssd-ipa
- rules: configure without samba.
- control: relax libkrb5-dev build-dep, disable tests
- - control, rules: disable systemd
+ - control, rules, sssd-common.install: disable systemd
-- Timo Aaltonen <tjaalton at ubuntu.com> Fri, 09 May 2014 20:46:53 +0300
commit 11dfbea92c956c300d0fc661333ab3ccd3b64a9e
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Fri Jan 16 14:32:53 2015 +0200
releasing package sssd version 1.11.7-3
diff --git a/debian/changelog b/debian/changelog
index 582880e..ae7ce3d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-sssd (1.11.7-3) UNRELEASED; urgency=medium
+sssd (1.11.7-3) unstable; urgency=medium
* libsss-sudo.postrm: Delete sudoers line from nsswitch.conf, if only
files source left. (Closes: #749722)
@@ -6,7 +6,7 @@ sssd (1.11.7-3) UNRELEASED; urgency=medium
* libsss-sudo.postinst: Check nsswitch sudoers entry unconditionally,
so that it is added on upgrade too if missing.
- -- Timo Aaltonen <tjaalton at debian.org> Thu, 27 Nov 2014 15:59:43 +0200
+ -- Timo Aaltonen <tjaalton at debian.org> Fri, 16 Jan 2015 13:53:22 +0200
sssd (1.11.7-2) unstable; urgency=medium
commit 85890f61a25590f2ade8f6f03e3e93f563a4c7d5
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Fri Nov 28 09:34:27 2014 +0200
libsss-sudo.postinst: Check nsswitch sudoers entry unconditionally, so that it is added on upgrade too if missing.
diff --git a/debian/changelog b/debian/changelog
index 7e5cab1..582880e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ sssd (1.11.7-3) UNRELEASED; urgency=medium
* libsss-sudo.postrm: Delete sudoers line from nsswitch.conf, if only
files source left. (Closes: #749722)
* libsss-sudo.postinst: Fix comments.
+ * libsss-sudo.postinst: Check nsswitch sudoers entry unconditionally,
+ so that it is added on upgrade too if missing.
-- Timo Aaltonen <tjaalton at debian.org> Thu, 27 Nov 2014 15:59:43 +0200
diff --git a/debian/libsss-sudo.postinst b/debian/libsss-sudo.postinst
index cdc5cc1..1cd9ff2 100644
--- a/debian/libsss-sudo.postinst
+++ b/debian/libsss-sudo.postinst
@@ -47,20 +47,7 @@ insert_nss_entry() {
fi
}
-action="$1"
+insert_nss_entry
-if [ configure = "$action" ]; then
- if [ -z "$2" ]; then
- log "First installation detected..."
- # first install: setup the recommended configuration (unless
- # nsswitch.conf already contains sss entries)
- insert_nss_entry
- else
- # upgrade
- version="$2"
-
- # Nothing to do here yet
- fi
-fi
exit 0
commit 817abc6751f03f4cf80456aafaeb21b10ad3b566
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Thu Nov 27 16:54:38 2014 +0200
libsss-sudo.postinst: Fix comments.
diff --git a/debian/changelog b/debian/changelog
index 78a8086..7e5cab1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ sssd (1.11.7-3) UNRELEASED; urgency=medium
* libsss-sudo.postrm: Delete sudoers line from nsswitch.conf, if only
files source left. (Closes: #749722)
+ * libsss-sudo.postinst: Fix comments.
-- Timo Aaltonen <tjaalton at debian.org> Thu, 27 Nov 2014 15:59:43 +0200
diff --git a/debian/libsss-sudo.postinst b/debian/libsss-sudo.postinst
index 298c758..cdc5cc1 100644
--- a/debian/libsss-sudo.postinst
+++ b/debian/libsss-sudo.postinst
@@ -24,10 +24,9 @@ log() {
echo "$*"
}
-# try to insert sss entries to the passwd, group, shadow and netgroup
-# lines in /etc/nsswitch.conf to automatically enable libnss-sss
-# support; do not change the configuration if the lines already
-# references some sss lookups
+# try to insert sss entries to the sudoers line in /etc/nsswitch.conf to
+# automatically enable libsss-sudo support; do not change the configuration
+# if the lines already references some sss lookups
insert_nss_entry() {
log "Checking NSS setup..."
# abort if /etc/nsswitch.conf does not exist
commit 324b08f0109045128bd1e573f182243e87b1dc36
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Thu Nov 27 16:03:11 2014 +0200
libsss-sudo.postrm: Delete sudoers line from nsswitch.conf, if only files source left. (Closes: #749722)
diff --git a/debian/changelog b/debian/changelog
index 18d8788..78a8086 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+sssd (1.11.7-3) UNRELEASED; urgency=medium
+
+ * libsss-sudo.postrm: Delete sudoers line from nsswitch.conf, if only
+ files source left. (Closes: #749722)
+
+ -- Timo Aaltonen <tjaalton at debian.org> Thu, 27 Nov 2014 15:59:43 +0200
+
sssd (1.11.7-2) unstable; urgency=medium
* default, upstart.in: Upstream ticket #2312 is fixed now, so drop the
diff --git a/debian/libsss-sudo.postrm b/debian/libsss-sudo.postrm
index fbcf104..6817b47 100644
--- a/debian/libsss-sudo.postrm
+++ b/debian/libsss-sudo.postrm
@@ -22,6 +22,11 @@ remove_nss_entry() {
s/[[:space:]]+$//
}
' /etc/nsswitch.conf
+
+ # delete sudoers line if only default entry left"
+ if ! [ -z "grep \"^sudoers: files$\" /etc/nsswitch.conf" ]; then
+ sed -i /^sudoers:/d /etc/nsswitch.conf
+ fi
}
case "$1" in
commit e667868f00d825f6ae3313dcc792a785b32853b8
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Thu Oct 30 14:49:34 2014 +0200
releasing package sssd version 1.11.7-2
diff --git a/debian/changelog b/debian/changelog
index fceeb66..18d8788 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-sssd (1.11.7-2) UNRELEASED; urgency=medium
+sssd (1.11.7-2) unstable; urgency=medium
* default, upstart.in: Upstream ticket #2312 is fixed now, so drop the
workaround to run the daemon in the foreground. (Closes: #760353)
@@ -7,7 +7,7 @@ sssd (1.11.7-2) UNRELEASED; urgency=medium
* fix-catchchild.diff: Fix build failure with samba 4.1.13, bump
samba-dev build-dependency to match.
- -- Timo Aaltonen <tjaalton at debian.org> Wed, 29 Oct 2014 00:09:40 +0200
+ -- Timo Aaltonen <tjaalton at debian.org> Thu, 30 Oct 2014 14:49:05 +0200
sssd (1.11.7-1) unstable; urgency=medium
commit 0d5d35647b31ccbaab252ac80146360f76125adb
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Thu Oct 30 14:48:17 2014 +0200
fix-catchchild.diff: Fix build failure with samba 4.1.13, bump samba-dev build-dependency to match.
diff --git a/debian/changelog b/debian/changelog
index 2c015fc..fceeb66 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ sssd (1.11.7-2) UNRELEASED; urgency=medium
workaround to run the daemon in the foreground. (Closes: #760353)
* fix-automake-compat.diff: Added an upstream commit to fix configure
with new automake.
+ * fix-catchchild.diff: Fix build failure with samba 4.1.13, bump
+ samba-dev build-dependency to match.
-- Timo Aaltonen <tjaalton at debian.org> Wed, 29 Oct 2014 00:09:40 +0200
diff --git a/debian/control b/debian/control
index 0bf1a14..75dd849 100644
--- a/debian/control
+++ b/debian/control
@@ -44,7 +44,7 @@ Build-Depends:
lsb-release,
python-dev (>= 2.6.6-3~),
quilt,
- samba-dev,
+ samba-dev (>= 2:4.1.13),
xml-core,
xsltproc
Standards-Version: 3.9.5
diff --git a/debian/patches/fix-catchchild.diff b/debian/patches/fix-catchchild.diff
new file mode 100644
index 0000000..dd20c67
--- /dev/null
+++ b/debian/patches/fix-catchchild.diff
@@ -0,0 +1,33 @@
+--- a/src/util/signal.c
++++ b/src/util/signal.c
+@@ -131,7 +131,7 @@ void (*CatchSignal(int signum,void (*han
+ Ignore SIGCLD via whatever means is necessary for this OS.
+ **/
+
+-void CatchChild(void)
++void (*CatchChild(void))(int)
+ {
+ CatchSignal(SIGCLD, sig_cld);
+ }
+@@ -140,7 +140,7 @@ void CatchChild(void)
+ Catch SIGCLD but leave the child around so it's status can be reaped.
+ **/
+
+-void CatchChildLeaveStatus(void)
++void (*CatchChildLeaveStatus(void))(int)
+ {
+ CatchSignal(SIGCLD, sig_cld_leave_status);
+ }
+--- a/src/util/util.h
++++ b/src/util/util.h
+@@ -227,8 +227,8 @@ void sig_term(int sig);
+ #include <signal.h>
+ void BlockSignals(bool block, int signum);
+ void (*CatchSignal(int signum,void (*handler)(int )))(int);
+-void CatchChild(void);
+-void CatchChildLeaveStatus(void);
++void (*CatchChild(void))(int);
++void (*CatchChildLeaveStatus(void))(int);
+
+ /* from memory.c */
+ typedef int (void_destructor_fn_t)(void *);
diff --git a/debian/patches/series b/debian/patches/series
index 84406cb..ba8daa7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
fix-obsolete-target.diff
fix-automake-compat.diff
+fix-catchchild.diff
commit f09648c7ee917c3f92754808e4490e57fe7c4baa
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Thu Oct 30 13:19:19 2014 +0200
fix-automake-compat.diff: Added an upstream commit to fix configure with new automake.
diff --git a/debian/changelog b/debian/changelog
index 0f75a53..2c015fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ sssd (1.11.7-2) UNRELEASED; urgency=medium
* default, upstart.in: Upstream ticket #2312 is fixed now, so drop the
workaround to run the daemon in the foreground. (Closes: #760353)
+ * fix-automake-compat.diff: Added an upstream commit to fix configure
+ with new automake.
-- Timo Aaltonen <tjaalton at debian.org> Wed, 29 Oct 2014 00:09:40 +0200
diff --git a/debian/patches/fix-automake-compat.diff b/debian/patches/fix-automake-compat.diff
new file mode 100644
index 0000000..605b0a3
--- /dev/null
+++ b/debian/patches/fix-automake-compat.diff
@@ -0,0 +1,65 @@
+commit 703dc1eb5b050b24235a6640f271d34ea008cf98
+Author: Jan Engelhardt <jengelh at inai.de>
+Date: Sat Oct 11 12:36:07 2014 +0000
+
+ build: call AC_BUILD_AUX_DIR before anything else
+
+ sssd's configure.ac (abridged) contains these lines:
+
+ AC_INIT([sssd], ...)
+ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS],
+ [AC_USE_SYSTEM_EXTENSIONS], [AC_GNU_SOURCE])
+ AC_CONFIG_AUX_DIR([build])
+
+ When turned into configure, this will be emitted:
+
+ ac_aux_dir=
+ for ac_dir in build "$srcdir"/build; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+
+ However, with automake commit v1.14.1-36-g7bc5927, this will be emitted
+ instead:
+
+ ac_aux_dir=
+ for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+
+ As configure no longer looks into build/ for install-sh, running
+ ./configure fails:
+
+ configure: error: cannot find install-sh, install.sh,
+ or shtool in "." "./.." "./../.."
+
+ I think the error is that someone placed AC_BUILD_AUX_DIR
+ too late. Move it upwards.
+
+ Reviewed-by: Jakub Hrozek <jhrozek at redhat.com>
+
+diff --git a/configure.ac b/configure.ac
+index 660ea8d..e6745cb 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -4,6 +4,8 @@ m4_include([version.m4])
+ AC_INIT([sssd],
+ VERSION_NUMBER,
+ [sssd-devel at lists.fedorahosted.org])
++AC_CONFIG_SRCDIR([BUILD.txt])
++AC_CONFIG_AUX_DIR([build])
+
+ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS],
+ [AC_USE_SYSTEM_EXTENSIONS],
+@@ -11,8 +13,6 @@ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS],
+
+ CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
+
+-AC_CONFIG_SRCDIR([BUILD.txt])
+-AC_CONFIG_AUX_DIR([build])
+
+ AM_INIT_AUTOMAKE([-Wall foreign subdir-objects tar-pax])
+ AM_PROG_CC_C_O
diff --git a/debian/patches/series b/debian/patches/series
index 9e41f28..84406cb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix-obsolete-target.diff
+fix-automake-compat.diff
commit a6f4e1a6506eebdbdd668ed5497a48d7595fcd23
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Wed Oct 29 00:15:56 2014 +0200
default, upstart.in: Upstream ticket #2312 is fixed now, so drop the workaround to run the daemon in the foreground. (Closes: #760353)
diff --git a/debian/changelog b/debian/changelog
index 6d91713..0f75a53 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+sssd (1.11.7-2) UNRELEASED; urgency=medium
+
+ * default, upstart.in: Upstream ticket #2312 is fixed now, so drop the
+ workaround to run the daemon in the foreground. (Closes: #760353)
+
+ -- Timo Aaltonen <tjaalton at debian.org> Wed, 29 Oct 2014 00:09:40 +0200
+
sssd (1.11.7-1) unstable; urgency=medium
* New upstream release.
diff --git a/debian/sssd-common.sssd.default b/debian/sssd-common.sssd.default
index 2de17c8..fed8a35 100644
--- a/debian/sssd-common.sssd.default
+++ b/debian/sssd-common.sssd.default
@@ -7,4 +7,4 @@
#
# Additional options that are passed to the Daemon.
-DAEMON_OPTS="-i -f"
+DAEMON_OPTS="-D -f"
diff --git a/debian/sssd-common.sssd.upstart.in b/debian/sssd-common.sssd.upstart.in
index 3c0180a..aae8470 100644
--- a/debian/sssd-common.sssd.upstart.in
+++ b/debian/sssd-common.sssd.upstart.in
@@ -10,6 +10,7 @@ description "System Security Services Daemon"
start on (filesystem and net-device-up)
stop on runlevel [06]
+expect fork
respawn
env DEFAULTFILE=/etc/default/sssd
@@ -24,10 +25,5 @@ script
. "$DEFAULTFILE"
fi
- # Use the same pts device for stdin as stdout, stderr.
- # This is required because using /dev/null causes sssd to exit
- # immediately and using /dev/zero makes it use 100% of CPU...
- exec 0>&1
-
exec sssd $DAEMON_OPTS
end script
commit cedf8f77bb8ade9a5139baf3c3543ba892af6fc8
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Wed Sep 24 07:08:15 2014 +0300
releasing package sssd version 1.11.7-1
diff --git a/debian/changelog b/debian/changelog
index 67f3aa7..6d91713 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-sssd (1.11.7-1) UNRELEASED; urgency=medium
+sssd (1.11.7-1) unstable; urgency=medium
* New upstream release.
* sssd-common.install, sssd-dbus.install: Add new sss_signal helper
@@ -7,7 +7,7 @@ sssd (1.11.7-1) UNRELEASED; urgency=medium
* libnss-sss.post*: Add sss entry to shadow and services on
nsswitch.conf. (Closes: #761173)
- -- Timo Aaltonen <tjaalton at debian.org> Fri, 19 Sep 2014 16:04:59 +0300
+ -- Timo Aaltonen <tjaalton at debian.org> Wed, 24 Sep 2014 07:08:04 +0300
sssd (1.11.6-1) unstable; urgency=medium
commit 6e73c864b4753403e561d930f571936581d3ddd1
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Sat Sep 20 08:24:39 2014 +0300
libnss-sss.post*: Add sss entry to shadow and services on nsswitch.conf. (Closes: #761173)
diff --git a/debian/changelog b/debian/changelog
index 5ab9d3b..67f3aa7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,11 @@
-sssd (1.11.7-1) debian; urgency=medium
+sssd (1.11.7-1) UNRELEASED; urgency=medium
* New upstream release.
* sssd-common.install, sssd-dbus.install: Add new sss_signal helper
and the dbus service using it.
* fix-obsolete-target.diff: Drop syslog.target from the service file.
+ * libnss-sss.post*: Add sss entry to shadow and services on
+ nsswitch.conf. (Closes: #761173)
-- Timo Aaltonen <tjaalton at debian.org> Fri, 19 Sep 2014 16:04:59 +0300
diff --git a/debian/libnss-sss.postinst b/debian/libnss-sss.postinst
index 13a2f12..f0fea89 100755
--- a/debian/libnss-sss.postinst
+++ b/debian/libnss-sss.postinst
@@ -22,7 +22,7 @@ insert_nss_entry() {
fi
# append 'sss' to the end of the line if it's not found already
sed -i --regexp-extended '
- /^(passwd|group|netgroup):/ {
+ /^(passwd|group|shadow|netgroup|services):/ {
/\bsss\b/! s/$/ sss/
}
' /etc/nsswitch.conf
diff --git a/debian/libnss-sss.postrm b/debian/libnss-sss.postrm
index 83823ac..c49c105 100755
--- a/debian/libnss-sss.postrm
+++ b/debian/libnss-sss.postrm
@@ -17,7 +17,7 @@ remove_nss_entry() {
return
fi
sed -i --regexp-extended '
- /^(passwd|group|shadow|netgroup):/ {
+ /^(passwd|group|shadow|netgroup|services):/ {
s/\bsss\b//g
s/[[:space:]]+$//
}
commit e74f409a270df88215a5a0ea3f9d228855441507
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Sat Sep 20 08:16:43 2014 +0300
fix-obsolete-target.diff: Drop syslog.target from the service file.
diff --git a/debian/changelog b/debian/changelog
index 4a307a8..5ab9d3b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
-sssd (1.11.7-1) UNRELEASED; urgency=medium
+sssd (1.11.7-1) debian; urgency=medium
* New upstream release.
* sssd-common.install, sssd-dbus.install: Add new sss_signal helper
and the dbus service using it.
+ * fix-obsolete-target.diff: Drop syslog.target from the service file.
-- Timo Aaltonen <tjaalton at debian.org> Fri, 19 Sep 2014 16:04:59 +0300
diff --git a/debian/patches/fix-obsolete-target.diff b/debian/patches/fix-obsolete-target.diff
new file mode 100644
index 0000000..49211f4
--- /dev/null
+++ b/debian/patches/fix-obsolete-target.diff
@@ -0,0 +1,13 @@
+diff --git a/src/sysv/systemd/sssd.service.in b/src/sysv/systemd/sssd.service.in
+index 06445ea..b0d7311 100644
+--- a/src/sysv/systemd/sssd.service.in
++++ b/src/sysv/systemd/sssd.service.in
+@@ -1,7 +1,7 @@
+ [Unit]
+ Description=System Security Services Daemon
+ # SSSD will not be started until syslog is
+-After=syslog.target
++# After=syslog.target
+ # SSSD must be running before we permit user sessions
+ Before=systemd-user-sessions.service nss-user-lookup.target
+ Wants=nss-user-lookup.target
diff --git a/debian/patches/series b/debian/patches/series
index a82d1b4..9e41f28 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1 @@
-#placeholder
+fix-obsolete-target.diff
commit 332b50386fa63df9378a29f9bc0e9b9dfd1b76a4
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Sat Sep 20 08:13:55 2014 +0300
New upstream release.
* New upstream release.
* sssd-common.install, sssd-dbus.install: Add new sss_signal helper
and the dbus service using it.
diff --git a/debian/changelog b/debian/changelog
index a79a44f..4a307a8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+sssd (1.11.7-1) UNRELEASED; urgency=medium
+
+ * New upstream release.
+ * sssd-common.install, sssd-dbus.install: Add new sss_signal helper
+ and the dbus service using it.
+
+ -- Timo Aaltonen <tjaalton at debian.org> Fri, 19 Sep 2014 16:04:59 +0300
+
sssd (1.11.6-1) unstable; urgency=medium
* New upstream release.
diff --git a/debian/sssd-common.install b/debian/sssd-common.install
index 455c8e3..baae49c 100644
--- a/debian/sssd-common.install
+++ b/debian/sssd-common.install
@@ -11,6 +11,7 @@ usr/lib/*/sssd/libsss_ldap_common.so
usr/lib/*/sssd/libsss_simple.so
usr/lib/*/sssd/libsss_util.so
usr/lib/*/sssd/modules/libsss_autofs.so
+usr/lib/*/sssd/sss_signal
usr/lib/*/sssd/sssd_autofs
More information about the Pkg-sssd-devel
mailing list