From 956f12ef597b4f7748aef1f42ceb031d962bb988 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 8 Feb 2013 13:04:09 +0100 Subject: [PATCH] pam: split out shlibs to a new subpkg: pam-libs. --- common/shlibs | 5 +++-- srcpkgs/pam-libs | 1 + srcpkgs/pam/pam-devel.template | 2 +- srcpkgs/pam/pam-libs.template | 8 ++++++++ srcpkgs/pam/template | 4 ++-- 5 files changed, 15 insertions(+), 5 deletions(-) create mode 120000 srcpkgs/pam-libs create mode 100644 srcpkgs/pam/pam-libs.template diff --git a/common/shlibs b/common/shlibs index edda11e8e5..017e42923e 100644 --- a/common/shlibs +++ b/common/shlibs @@ -170,8 +170,9 @@ libacl.so.1 acl-2.2.47_1 libpython2.7.so.1.0 python-2.7_1 libffi.so.5 libffi-3.0.8_1 libcrack.so.2 libcracklib-2.8.22_2 -libpam.so.0 pam-1.0.0_1 -libpam_misc.so.0 pam-1.0.0_1 +libpam.so.0 pam-libs-1.1.6_3 +libpamc.so.0 pam-libs-1.1.6_3 +libpam_misc.so.0 pam-libs-1.1.6_3 libcap.so.2 libcap-2.16_1 liblzma.so.5 liblzma-5.0.0_1 libuuid.so.1 libuuid-2.18_1 diff --git a/srcpkgs/pam-libs b/srcpkgs/pam-libs new file mode 120000 index 0000000000..4b9cd459f8 --- /dev/null +++ b/srcpkgs/pam-libs @@ -0,0 +1 @@ +pam \ No newline at end of file diff --git a/srcpkgs/pam/pam-devel.template b/srcpkgs/pam/pam-devel.template index 13409d03b2..9bbebe5050 100644 --- a/srcpkgs/pam/pam-devel.template +++ b/srcpkgs/pam/pam-devel.template @@ -1,7 +1,7 @@ # Template file for 'pam-devel'. # noarch=yes -depends="cracklib-devel db-devel pam>=$version" +depends="cracklib-devel db-devel pam-libs>=${version}" short_desc="${short_desc} -- development files" do_install() { diff --git a/srcpkgs/pam/pam-libs.template b/srcpkgs/pam/pam-libs.template new file mode 100644 index 0000000000..d6769a6cac --- /dev/null +++ b/srcpkgs/pam/pam-libs.template @@ -0,0 +1,8 @@ +# Template file for 'pam-lib'. +# +short_desc="${short_desc} -- runtime libraries" +replaces="pam<1.1.6_3" + +do_install() { + vmove "usr/lib/*.so*" usr/lib +} diff --git a/srcpkgs/pam/template b/srcpkgs/pam/template index a7f62403de..f96e2ce06a 100644 --- a/srcpkgs/pam/template +++ b/srcpkgs/pam/template @@ -1,12 +1,12 @@ # Template file for 'pam' pkgname=pam version=1.1.6 -revision=2 +revision=3 wrksrc="Linux-PAM-$version" build_style=gnu-configure configure_args="--libdir=/usr/lib --sbindir=/usr/sbin --docdir=/usr/share/doc/pam" depends="cracklib" -subpackages="pam-devel pam-userdb" +subpackages="pam-devel pam-userdb pam-libs" makedepends="flex cracklib-devel db-devel libtirpc-devel" crossmakedepends="libfl-devel cracklib-devel db-devel libtirpc-devel" short_desc="A flexible mechanism for authenticating users"