changeset 536:adaa1ae0fe9d

security: use new FHS
author David Demelier <markand@malikania.fr>
date Wed, 10 Apr 2019 20:22:00 +0200
parents 830d949b71a6
children fbc0fc4c9880
files security/linux-pam/linux-pam.sh security/polkit/polkit.sh security/shadow/shadow.sh
diffstat 3 files changed, 10 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/security/linux-pam/linux-pam.sh	Wed Apr 10 20:20:00 2019 +0200
+++ b/security/linux-pam/linux-pam.sh	Wed Apr 10 20:22:00 2019 +0200
@@ -79,11 +79,11 @@
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
-		--prefix=/usr \
-		--sbindir=/usr/sbin \
+		--prefix=/ \
+		--sbindir=/bin \
 		--disable-db \
-		--libdir=/usr/lib \
-		--docdir=/usr/share/doc/linux-pam \
+		--libdir=/lib \
+		--docdir=/share/doc/linux-pam \
 		$with_nls \
 		$with_selinux
 	make
@@ -93,8 +93,8 @@
 	install -Dm0600 ../system-auth $DESTDIR/etc/pam.d/system-auth
 	install -Dm0600 ../system-password $DESTDIR/etc/pam.d/system-password
 	install -Dm0600 ../system-session $DESTDIR/etc/pam.d/system-session
-	rm -f $DESTDIR/usr/lib/libpam{,c,_misc}.la
-	rm -f $DESTDIR/usr/lib/security/pam*.la
+	rm -f $DESTDIR/lib/libpam{,c,_misc}.la
+	rm -f $DESTDIR/lib/security/pam*.la
 
 	popd
 	rm -rf Linux-PAM-$PKGVERSION
--- a/security/polkit/polkit.sh	Wed Apr 10 20:20:00 2019 +0200
+++ b/security/polkit/polkit.sh	Wed Apr 10 20:22:00 2019 +0200
@@ -58,9 +58,7 @@
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
-		--prefix=/usr \
-		--localstatedir=/var \
-		--sysconfdir=/etc \
+		--prefix=/ \
 		--disable-libsystemd-login \
 		--disable-libelogind \
 		--enable-introspection=yes \
--- a/security/shadow/shadow.sh	Wed Apr 10 20:20:00 2019 +0200
+++ b/security/shadow/shadow.sh	Wed Apr 10 20:22:00 2019 +0200
@@ -89,10 +89,9 @@
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
-		--prefix=/usr \
-		--bindir=/usr/bin \
-		--sbindir=/usr/sbin \
-		--sysconfdir=/etc \
+		--prefix=/ \
+		--bindir=/bin \
+		--sbindir=/bin \
 		--without-audit \
 		--without-tcb \
 		--without-libcrack \