diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2013-02-05 14:32:38 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-02-16 05:55:24 +0100 |
commit | 3b214e28bc19834d39ff0c441e12a914d494ca54 (patch) | |
tree | 25be0fcd47748e9139089673268a69209e249b7a /meta-oe/recipes-connectivity/samba | |
parent | b51fc0f069f3444d485d75bfdd373b7d559d6b61 (diff) | |
download | meta-openembedded-3b214e28bc19834d39ff0c441e12a914d494ca54.tar.gz |
samba: Split libnss-winbind package
This allows for applications to resolv wins without the winbindd and
sambad.
Change-Id: Iaa86154a59e758b37f28796963e6550ed2d30464
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/samba')
-rw-r--r-- | meta-oe/recipes-connectivity/samba/samba-basic.inc | 9 | ||||
-rw-r--r-- | meta-oe/recipes-connectivity/samba/samba.inc | 2 | ||||
-rw-r--r-- | meta-oe/recipes-connectivity/samba/samba_3.6.8.bb | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/meta-oe/recipes-connectivity/samba/samba-basic.inc b/meta-oe/recipes-connectivity/samba/samba-basic.inc index af4e04ed8..05a5b3a45 100644 --- a/meta-oe/recipes-connectivity/samba/samba-basic.inc +++ b/meta-oe/recipes-connectivity/samba/samba-basic.inc | |||
@@ -9,7 +9,7 @@ EXTRA_OECONF += "\ | |||
9 | --without-ldap \ | 9 | --without-ldap \ |
10 | --without-krb5" | 10 | --without-krb5" |
11 | 11 | ||
12 | PACKAGES =+ "libwbclient libwinbind libwinbind-dbg winbind winbind-dbg libnetapi libtdb libsmbsharemodes libsmbclient libsmbclient-dev cifs cifs-doc swat" | 12 | PACKAGES =+ "libwbclient libwinbind libwinbind-dbg libnss-winbind winbind winbind-dbg libnetapi libtdb libsmbsharemodes libsmbclient libsmbclient-dev cifs cifs-doc swat" |
13 | 13 | ||
14 | FILES_winbind-dbg = "${libdir}/idmap/.debug/*.so \ | 14 | FILES_winbind-dbg = "${libdir}/idmap/.debug/*.so \ |
15 | ${libdir}/security/.debug/pam_winbind.so \ | 15 | ${libdir}/security/.debug/pam_winbind.so \ |
@@ -41,13 +41,14 @@ FILES_winbind = "${sbindir}/winbindd \ | |||
41 | ${bindir}/ntlm_auth \ | 41 | ${bindir}/ntlm_auth \ |
42 | ${sysconfdir}/init.d/winbind \ | 42 | ${sysconfdir}/init.d/winbind \ |
43 | " | 43 | " |
44 | FILES_libwinbind = "${libdir}/libnss_*${SOLIBS} \ | 44 | FILES_libwinbind = "${libdir}/idmap/*.so \ |
45 | ${libdir}/idmap/*.so \ | ||
46 | ${libdir}/nss_info \ | ||
47 | ${libdir}/pdb \ | 45 | ${libdir}/pdb \ |
48 | ${libdir}/gpext \ | 46 | ${libdir}/gpext \ |
49 | ${libdir}/perfcount \ | 47 | ${libdir}/perfcount \ |
50 | ${libdir}/security/pam_winbind.so \ | 48 | ${libdir}/security/pam_winbind.so \ |
51 | " | 49 | " |
52 | 50 | ||
51 | FILES_libnss-winbind = "${libdir}/libnss_*${SOLIBS} \ | ||
52 | ${libdir}/nss_info" | ||
53 | |||
53 | FILES_swat = "${sbindir}/swat ${datadir}/swat ${libdir}/*.msg" | 54 | FILES_swat = "${sbindir}/swat ${datadir}/swat ${libdir}/*.msg" |
diff --git a/meta-oe/recipes-connectivity/samba/samba.inc b/meta-oe/recipes-connectivity/samba/samba.inc index a86c8be20..3ee43ad1c 100644 --- a/meta-oe/recipes-connectivity/samba/samba.inc +++ b/meta-oe/recipes-connectivity/samba/samba.inc | |||
@@ -96,7 +96,7 @@ do_install_append() { | |||
96 | 96 | ||
97 | 97 | ||
98 | 98 | ||
99 | pkg_postinst_winbind () { | 99 | pkg_postinst_libnss-winbind () { |
100 | # add wins to the list of resolvers | 100 | # add wins to the list of resolvers |
101 | ns=$D${sysconfdir}/nsswitch.conf | 101 | ns=$D${sysconfdir}/nsswitch.conf |
102 | if ! grep "hosts:.*wins" $ns > /dev/null; then | 102 | if ! grep "hosts:.*wins" $ns > /dev/null; then |
diff --git a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb index f144de3a2..35d20c5f0 100644 --- a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb +++ b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb | |||
@@ -3,7 +3,7 @@ require samba-basic.inc | |||
3 | LICENSE = "GPLv3" | 3 | LICENSE = "GPLv3" |
4 | LIC_FILES_CHKSUM = "file://../COPYING;md5=d32239bcb673463ab874e80d47fae504" | 4 | LIC_FILES_CHKSUM = "file://../COPYING;md5=d32239bcb673463ab874e80d47fae504" |
5 | 5 | ||
6 | PR = "r6" | 6 | PR = "r7" |
7 | 7 | ||
8 | SRC_URI += "\ | 8 | SRC_URI += "\ |
9 | file://config-h.patch \ | 9 | file://config-h.patch \ |