]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
autotools: fix securedir and pam_lastlog2 install
authorKarel Zak <kzak@redhat.com>
Tue, 27 Aug 2024 10:00:21 +0000 (12:00 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 3 Jan 2025 11:21:42 +0000 (12:21 +0100)
Addresses: https://github.com/util-linux/util-linux/pull/3173
Signed-off-by: Karel Zak <kzak@redhat.com>
(cherry picked from commit 9c787eaac43f5f01146f792b0239f587e4b81202)

Makefile.am
configure.ac
pam_lastlog2/src/Makemodule.am

index 54e0fd4977656308f7bbbe16d57a41924b631b80..0662effe00565bdaefd67e33b5c4d24600950166 100644 (file)
@@ -56,7 +56,7 @@ usrsbin_exec_PROGRAMS =
 man_MANS =
 pkgconfig_DATA =
 usrlib_exec_LTLIBRARIES =
-usrsecurelib_exec_LTLIBRARIES =
+securelib_exec_LTLIBRARIES =
 bin_PROGRAMS =
 sbin_PROGRAMS =
 dist_usrbin_exec_SCRIPTS =
@@ -154,11 +154,11 @@ EXTRA_DIST += \
 # pylibmountexec module must be installed after usrlib_exec libraries,
 # otherwise the libtool relink step will fail to find libmount.la and
 # will try -lmount which is possibly not available.
-# The same for usrsecurelib_exec and liblastlog2.la
+# The same for securelib_exec and liblastlog2.la
 #
 # So introduce this dependency rule:
 # install-pylibmountexecLTLIBRARIES: install-usrlib_execLTLIBRARIES
-# install-usrsecurelib_execLTLIBRARIES: install-usrlib_execLTLIBRARIES
+# install-securelib_execLTLIBRARIES: install-usrlib_execLTLIBRARIES
 @verbatim_extra_dependency@
 
 #
index 3b2904121b1a65c34736d5ba084b67bde7ad9845..f056744aba8ed1ab760b9ddca809acfb18364ec9 100644 (file)
@@ -120,8 +120,8 @@ AS_CASE([$libdir],
 )
 AC_SUBST([usrlib_execdir])
 
-usrsecurelib_execdir='${usrlib_execdir}/security'
-AC_SUBST([usrsecurelib_execdir])
+securelib_execdir='${libdir}/security'
+AC_SUBST([securelib_execdir])
 
 # static configuration maintaned by packages (e.g. /usr/lib)
 AC_ARG_VAR([SYSCONFSTATICDIR],
@@ -2781,7 +2781,7 @@ verbatim_extra_dependency='
 # otherwise the libtool relink step will fail to find libmount.la and
 # will try -lmount which is possibly not available.
 install-pylibmountexecLTLIBRARIES: install-usrlib_execLTLIBRARIES
-install-usrsecurelib_execLTLIBRARIES: install-usrlib_execLTLIBRARIES
+install-securelib_execLTLIBRARIES: install-usrlib_execLTLIBRARIES
 
 '
 AC_SUBST([verbatim_extra_dependency])
index 6d2365378e8665d87d8c5ee4696c3694965569d8..a2becac889181ac1bb6782ead9327cca6a843218 100644 (file)
@@ -1,4 +1,4 @@
-usrsecurelib_exec_LTLIBRARIES += pam_lastlog2.la
+securelib_exec_LTLIBRARIES += pam_lastlog2.la
 
 pam_lastlog2_la_SOURCES = \
        pam_lastlog2/src/pam_lastlog2.c