[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#814456: RFS: pam-ufpidentity/1.0-1 [ITP] -- UFP Identity PAM Module



Hi, lets go ahead with this:


>    install -d debian/pam-ufpidentity/lib/i386-linux-gnu/security

>    cp -a ./pam_ufpidentity.so
>debian/pam-ufpidentity/lib/i386-linux-gnu/security/


probably defined for dh-exec, while debian/rules has a no-op dh_install.

I did some changes in the packaging, because with a single binary there is no need to specify an install
file.

Changes I did:
-Build-Depends: debhelper (>= 9), dh-exec, libpam-dev, libufpidentity-dev, libssl-dev
+Build-Depends: debhelper (>= 9), libpam-dev, libufpidentity-dev, libssl-dev


-Depends: ${shlibs:Depends}, ${misc:Depends}, libpam0g, libc | libc6, identity4c
+Depends: ${shlibs:Depends}, ${misc:Depends}


libpam0g is picked up by shlibs:Depends, and libc | libc6 too.

Identity4c is needed at runtime? why isn't picked up by shlibs:Depends?

these are the runtime dependencies after my work:
Depends: libc6 (>= 2.4), libpam0g (>= 0.99.7.1), libufpidentity1 (>= 1.0)

It seems everything on place.

remove "pam-ufpidentity.install"

add this to rules:
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+export LIBDIR=/lib/${DEB_HOST_MULTIARCH}


and remove the overrides:
-override_dh_auto_install:
-       $(MAKE) DESTDIR=${CURDIR} LIBDIR=/lib/${DEB_HOST_MULTIARCH} install
-
-override_dh_shlibdeps:
-       dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
-

attaching the debian packaging to this email.

what do you think about?

let me know

G.

Attachment: pam-ufpidentity_1.0-1.debian.tar.xz
Description: application/xz


Reply to: