]> code.ossystems Code Review - openembedded-core.git/commit
pam: rename to libpam and add core config files
authorKevin Tian <kevin.tian@intel.com>
Tue, 3 Aug 2010 07:53:38 +0000 (15:53 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 13 Aug 2010 12:36:01 +0000 (13:36 +0100)
commit46771a85b0cd8edeab2b2bb2b79754fb797f24b2
tree4b85393e5ddf09f5f45f64388c0105f361640be8
parent59e30ad05f3d51f5ebaaa7ffc855ce93a676a986
pam: rename to libpam and add core config files

So far pam is not really functional as there no pam config files exists, here
we borrow from openembedded to setup core /etc/pam.d to make it functional:

  * change 'pam' to 'libpam' following Debian naming convention, and change
    (R)DEPENDS in other recipes

  * borrow openembedded libpam-base-files with changes:
    - rename to libpam-runtime to follow Debian naming
    - only keep common-* core files which can be traced back to Debian
      libpam-runtime-1.0.1 for license track. Other service specific files
      (such as atd, cron, ...) are removed because either they may contaminate
      the license or it's right thing to have their own packages providing them
    - use same libpam recipe instead of creating a new. This way other /etc/
      stuff are all contained by libpam-runtime

  * like openembedded, we package each pam plugin into seperate package now,
    with some differnce though:
    - Some ${sbindir} binaries are bound to specific PAM plugin. So better to
      package them together with corresponding plugin package
    - populate_sysroot_prepend is invoked before actual populate_sysroot, at
      that time ${D} binaries haven't been tripped. So it's difficult to specify
      -dev for those plugin pacakges from _prepend which are simply empty.
      actually one -dev/-doc per recipe is one good exercise here.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
12 files changed:
meta/packages/libcap/libcap.inc
meta/packages/libcap/libcap_2.19.bb
meta/packages/pam/libpam-1.1.1/99_pam [moved from meta/packages/pam/pam-1.1.1/99_pam with 100% similarity]
meta/packages/pam/libpam-1.1.1/disable_crossbinary.patch [moved from meta/packages/pam/pam-1.1.1/disable_crossbinary.patch with 100% similarity]
meta/packages/pam/libpam-1.1.1/pam.d/common-account [new file with mode: 0644]
meta/packages/pam/libpam-1.1.1/pam.d/common-auth [new file with mode: 0644]
meta/packages/pam/libpam-1.1.1/pam.d/common-password [new file with mode: 0644]
meta/packages/pam/libpam-1.1.1/pam.d/common-session [new file with mode: 0644]
meta/packages/pam/libpam-1.1.1/pam.d/common-session-noninteractive [new file with mode: 0644]
meta/packages/pam/libpam-1.1.1/pam.d/other [new file with mode: 0644]
meta/packages/pam/libpam_1.1.1.bb [new file with mode: 0644]
meta/packages/polkit/polkit_0.96.bb