2020-08-27 09:02:04 -04:00
|
|
|
Do not attempt to create $localstatedir and $sysconfdir (i.e., /var and /etc)
|
|
|
|
upon "make install".
|
|
|
|
|
gnu: sssd: Update to 2.7.0.
Add support for renewing AD membership with adcli. Wrap binaries with
LDB_MODULES_PATH. Fix the sss_analyze utility to run without systemd
libraries. Add native inputs to generate man pages and run additional tests
during build.
* gnu/packages/sssd.scm (sssd): Update to 2.7.0.
[patches]: Drop patches applied upstream. Add a patch for sss_analyze.
[inputs]: Add adcli, bash-minimal, jose, keyutils, libnl, pcre2, python.
Drop augeas, pcre.
[native-inputs]: Add cmocka, doxygen, gettext-minimal, libfaketime,
libtool, openssh, po4a, softhsm.
[arguments]: Rewrite in gexp style. Fix configure checks. Remove static
library from install. Wrap binaries to set correct paths.
* gnu/packages/patches/sssd-collision-with-external-nss-symbol.patch,
gnu/packages/patches/sssd-fix-samba-4.15.3.patch,
gnu/packages/patches/sssd-fix-samba.patch: Delete files.
* gnu/packages/patches/sssd-optional-systemd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 14:54:18 -04:00
|
|
|
diff --git a/Makefile.am b/Makefile.am
|
|
|
|
index 0de53a2c8..51ad57bf1 100644
|
|
|
|
--- a/Makefile.am
|
|
|
|
+++ b/Makefile.am
|
|
|
|
@@ -58,7 +58,7 @@ sssddatadir = $(datadir)/sssd
|
2020-08-27 09:02:04 -04:00
|
|
|
sssdapiplugindir = $(sssddatadir)/sssd.api.d
|
|
|
|
sssdtapscriptdir = $(sssddatadir)/systemtap
|
gnu: sssd: Update to 2.7.0.
Add support for renewing AD membership with adcli. Wrap binaries with
LDB_MODULES_PATH. Fix the sss_analyze utility to run without systemd
libraries. Add native inputs to generate man pages and run additional tests
during build.
* gnu/packages/sssd.scm (sssd): Update to 2.7.0.
[patches]: Drop patches applied upstream. Add a patch for sss_analyze.
[inputs]: Add adcli, bash-minimal, jose, keyutils, libnl, pcre2, python.
Drop augeas, pcre.
[native-inputs]: Add cmocka, doxygen, gettext-minimal, libfaketime,
libtool, openssh, po4a, softhsm.
[arguments]: Rewrite in gexp style. Fix configure checks. Remove static
library from install. Wrap binaries to set correct paths.
* gnu/packages/patches/sssd-collision-with-external-nss-symbol.patch,
gnu/packages/patches/sssd-fix-samba-4.15.3.patch,
gnu/packages/patches/sssd-fix-samba.patch: Delete files.
* gnu/packages/patches/sssd-optional-systemd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 14:54:18 -04:00
|
|
|
krb5snippetsdir = $(sssddatadir)/krb5-snippets
|
2020-08-27 09:02:04 -04:00
|
|
|
-dbuspolicydir = $(sysconfdir)/dbus-1/system.d
|
|
|
|
+dbuspolicydir = $(prefix)/etc/dbus-1/system.d
|
|
|
|
dbusservicedir = $(datadir)/dbus-1/system-services
|
|
|
|
sss_statedir = $(localstatedir)/lib/sss
|
gnu: sssd: Update to 2.7.0.
Add support for renewing AD membership with adcli. Wrap binaries with
LDB_MODULES_PATH. Fix the sss_analyze utility to run without systemd
libraries. Add native inputs to generate man pages and run additional tests
during build.
* gnu/packages/sssd.scm (sssd): Update to 2.7.0.
[patches]: Drop patches applied upstream. Add a patch for sss_analyze.
[inputs]: Add adcli, bash-minimal, jose, keyutils, libnl, pcre2, python.
Drop augeas, pcre.
[native-inputs]: Add cmocka, doxygen, gettext-minimal, libfaketime,
libtool, openssh, po4a, softhsm.
[arguments]: Rewrite in gexp style. Fix configure checks. Remove static
library from install. Wrap binaries to set correct paths.
* gnu/packages/patches/sssd-collision-with-external-nss-symbol.patch,
gnu/packages/patches/sssd-fix-samba-4.15.3.patch,
gnu/packages/patches/sssd-fix-samba.patch: Delete files.
* gnu/packages/patches/sssd-optional-systemd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 14:54:18 -04:00
|
|
|
runstatedir = @runstatedir@
|
|
|
|
@@ -85,7 +85,7 @@ pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
krb5rcachedir = @krb5rcachedir@
|
2020-08-27 09:02:04 -04:00
|
|
|
sudolibdir = @sudolibpath@
|
gnu: sssd: Update to 2.7.0.
Add support for renewing AD membership with adcli. Wrap binaries with
LDB_MODULES_PATH. Fix the sss_analyze utility to run without systemd
libraries. Add native inputs to generate man pages and run additional tests
during build.
* gnu/packages/sssd.scm (sssd): Update to 2.7.0.
[patches]: Drop patches applied upstream. Add a patch for sss_analyze.
[inputs]: Add adcli, bash-minimal, jose, keyutils, libnl, pcre2, python.
Drop augeas, pcre.
[native-inputs]: Add cmocka, doxygen, gettext-minimal, libfaketime,
libtool, openssh, po4a, softhsm.
[arguments]: Rewrite in gexp style. Fix configure checks. Remove static
library from install. Wrap binaries to set correct paths.
* gnu/packages/patches/sssd-collision-with-external-nss-symbol.patch,
gnu/packages/patches/sssd-fix-samba-4.15.3.patch,
gnu/packages/patches/sssd-fix-samba.patch: Delete files.
* gnu/packages/patches/sssd-optional-systemd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 14:54:18 -04:00
|
|
|
polkitdir = @polkitdir@
|
2020-08-27 09:02:04 -04:00
|
|
|
-pamconfdir = $(sysconfdir)/pam.d
|
|
|
|
+pamconfdir = $(prefix)/etc/pam.d
|
|
|
|
systemtap_tapdir = @tapset_dir@
|
|
|
|
sssdkcmdatadir = $(datadir)/sssd-kcm
|
|
|
|
deskprofilepath = $(sss_statedir)/deskprofile
|
gnu: sssd: Update to 2.7.0.
Add support for renewing AD membership with adcli. Wrap binaries with
LDB_MODULES_PATH. Fix the sss_analyze utility to run without systemd
libraries. Add native inputs to generate man pages and run additional tests
during build.
* gnu/packages/sssd.scm (sssd): Update to 2.7.0.
[patches]: Drop patches applied upstream. Add a patch for sss_analyze.
[inputs]: Add adcli, bash-minimal, jose, keyutils, libnl, pcre2, python.
Drop augeas, pcre.
[native-inputs]: Add cmocka, doxygen, gettext-minimal, libfaketime,
libtool, openssh, po4a, softhsm.
[arguments]: Rewrite in gexp style. Fix configure checks. Remove static
library from install. Wrap binaries to set correct paths.
* gnu/packages/patches/sssd-collision-with-external-nss-symbol.patch,
gnu/packages/patches/sssd-fix-samba-4.15.3.patch,
gnu/packages/patches/sssd-fix-samba.patch: Delete files.
* gnu/packages/patches/sssd-optional-systemd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 14:54:18 -04:00
|
|
|
@@ -5195,7 +5195,6 @@ installsssddirs::
|
2020-08-27 09:02:04 -04:00
|
|
|
$(DESTDIR)$(bindir) \
|
|
|
|
$(DESTDIR)$(sbindir) \
|
|
|
|
$(DESTDIR)$(mandir) \
|
|
|
|
- $(DESTDIR)$(pidpath) \
|
|
|
|
$(DESTDIR)$(pluginpath) \
|
|
|
|
$(DESTDIR)$(libdir)/ldb \
|
|
|
|
$(DESTDIR)$(dbuspolicydir) \
|
gnu: sssd: Update to 2.7.0.
Add support for renewing AD membership with adcli. Wrap binaries with
LDB_MODULES_PATH. Fix the sss_analyze utility to run without systemd
libraries. Add native inputs to generate man pages and run additional tests
during build.
* gnu/packages/sssd.scm (sssd): Update to 2.7.0.
[patches]: Drop patches applied upstream. Add a patch for sss_analyze.
[inputs]: Add adcli, bash-minimal, jose, keyutils, libnl, pcre2, python.
Drop augeas, pcre.
[native-inputs]: Add cmocka, doxygen, gettext-minimal, libfaketime,
libtool, openssh, po4a, softhsm.
[arguments]: Rewrite in gexp style. Fix configure checks. Remove static
library from install. Wrap binaries to set correct paths.
* gnu/packages/patches/sssd-collision-with-external-nss-symbol.patch,
gnu/packages/patches/sssd-fix-samba-4.15.3.patch,
gnu/packages/patches/sssd-fix-samba.patch: Delete files.
* gnu/packages/patches/sssd-optional-systemd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 14:54:18 -04:00
|
|
|
@@ -5205,24 +5204,12 @@ installsssddirs::
|
2020-08-27 09:02:04 -04:00
|
|
|
$(DESTDIR)$(sssddatadir) \
|
|
|
|
$(DESTDIR)$(sudolibdir) \
|
|
|
|
$(DESTDIR)$(autofslibdir) \
|
|
|
|
- $(DESTDIR)$(pipepath)/private \
|
gnu: sssd: Update to 2.7.0.
Add support for renewing AD membership with adcli. Wrap binaries with
LDB_MODULES_PATH. Fix the sss_analyze utility to run without systemd
libraries. Add native inputs to generate man pages and run additional tests
during build.
* gnu/packages/sssd.scm (sssd): Update to 2.7.0.
[patches]: Drop patches applied upstream. Add a patch for sss_analyze.
[inputs]: Add adcli, bash-minimal, jose, keyutils, libnl, pcre2, python.
Drop augeas, pcre.
[native-inputs]: Add cmocka, doxygen, gettext-minimal, libfaketime,
libtool, openssh, po4a, softhsm.
[arguments]: Rewrite in gexp style. Fix configure checks. Remove static
library from install. Wrap binaries to set correct paths.
* gnu/packages/patches/sssd-collision-with-external-nss-symbol.patch,
gnu/packages/patches/sssd-fix-samba-4.15.3.patch,
gnu/packages/patches/sssd-fix-samba.patch: Delete files.
* gnu/packages/patches/sssd-optional-systemd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 14:54:18 -04:00
|
|
|
$(DESTDIR)$(krb5snippetsdir) \
|
2020-08-27 09:02:04 -04:00
|
|
|
- $(SSSD_USER_DIRS) \
|
|
|
|
$(NULL);
|
gnu: sssd: Update to 2.7.0.
Add support for renewing AD membership with adcli. Wrap binaries with
LDB_MODULES_PATH. Fix the sss_analyze utility to run without systemd
libraries. Add native inputs to generate man pages and run additional tests
during build.
* gnu/packages/sssd.scm (sssd): Update to 2.7.0.
[patches]: Drop patches applied upstream. Add a patch for sss_analyze.
[inputs]: Add adcli, bash-minimal, jose, keyutils, libnl, pcre2, python.
Drop augeas, pcre.
[native-inputs]: Add cmocka, doxygen, gettext-minimal, libfaketime,
libtool, openssh, po4a, softhsm.
[arguments]: Rewrite in gexp style. Fix configure checks. Remove static
library from install. Wrap binaries to set correct paths.
* gnu/packages/patches/sssd-collision-with-external-nss-symbol.patch,
gnu/packages/patches/sssd-fix-samba-4.15.3.patch,
gnu/packages/patches/sssd-fix-samba.patch: Delete files.
* gnu/packages/patches/sssd-optional-systemd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 14:54:18 -04:00
|
|
|
if SSSD_USER
|
|
|
|
-chown $(SSSD_USER):$(SSSD_USER) $(SSSD_USER_DIRS)
|
|
|
|
-chown $(SSSD_USER) $(DESTDIR)$(pipepath)/private
|
|
|
|
endif
|
2020-08-27 09:02:04 -04:00
|
|
|
- $(INSTALL) -d -m 0700 $(DESTDIR)$(dbpath) $(DESTDIR)$(logpath) \
|
|
|
|
- $(DESTDIR)$(keytabdir) \
|
|
|
|
- $(NULL)
|
|
|
|
- $(INSTALL) -d -m 0750 $(DESTDIR)$(pipepath)/private
|
|
|
|
- $(INSTALL) -d -m 0755 $(DESTDIR)$(mcpath) $(DESTDIR)$(pipepath) \
|
|
|
|
- $(DESTDIR)$(pubconfpath) \
|
|
|
|
- $(DESTDIR)$(pubconfpath)/krb5.include.d $(DESTDIR)$(gpocachepath)
|
|
|
|
- $(INSTALL) -d -m 0711 $(DESTDIR)$(sssdconfdir) \
|
|
|
|
- $(DESTDIR)$(sssdconfdir)/conf.d \
|
|
|
|
- $(DESTDIR)$(sssdconfdir)/pki
|
|
|
|
|
gnu: sssd: Update to 2.7.0.
Add support for renewing AD membership with adcli. Wrap binaries with
LDB_MODULES_PATH. Fix the sss_analyze utility to run without systemd
libraries. Add native inputs to generate man pages and run additional tests
during build.
* gnu/packages/sssd.scm (sssd): Update to 2.7.0.
[patches]: Drop patches applied upstream. Add a patch for sss_analyze.
[inputs]: Add adcli, bash-minimal, jose, keyutils, libnl, pcre2, python.
Drop augeas, pcre.
[native-inputs]: Add cmocka, doxygen, gettext-minimal, libfaketime,
libtool, openssh, po4a, softhsm.
[arguments]: Rewrite in gexp style. Fix configure checks. Remove static
library from install. Wrap binaries to set correct paths.
* gnu/packages/patches/sssd-collision-with-external-nss-symbol.patch,
gnu/packages/patches/sssd-fix-samba-4.15.3.patch,
gnu/packages/patches/sssd-fix-samba.patch: Delete files.
* gnu/packages/patches/sssd-optional-systemd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-23 14:54:18 -04:00
|
|
|
if HAVE_DOXYGEN
|
|
|
|
docs:
|
|
|
|
@@ -5338,7 +5325,6 @@ if BUILD_SAMBA
|
|
|
|
endif
|
|
|
|
if BUILD_KCM
|
|
|
|
$(MKDIR_P) $(DESTDIR)/$(sssdkcmdatadir)
|
|
|
|
- $(MKDIR_P) $(DESTDIR)$(secdbpath)
|
|
|
|
endif
|
|
|
|
|
|
|
|
uninstall-hook:
|