mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
cdb428e7c4
* based on discussion in pndeprecated thread: https://patchwork.openembedded.org/patch/137573/ update the messages to warn possible users that the recipe will be removed before the end of the next development cycle (before Yocto 2.4 is released). * updated with: sed -i 's/^\(PNBLACKLIST.*".*\)"/\1 - the recipe will be removed on 2017-09-01 unless the issue is fixed"/g' `git grep PNBLACKLIST | sed 's/:.*//g' | sort -u | xargs` * then noticed couple recipes being blacklisted only based on DISTRO_FEATURES, so removed those: meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb meta-oe/recipes-navigation/gypsy/gypsy.inc meta-oe/recipes-navigation/navit/navit.inc meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb * if it isn't fixed by this date, it's fair game to be removed whenever someone gets around to i Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
54 lines
1.8 KiB
BlitzBasic
54 lines
1.8 KiB
BlitzBasic
# This package builds the NIS ypbind daemon
|
|
# The source package is utils/net/NIS/ypbind-mt
|
|
#
|
|
require nis.inc
|
|
|
|
DESCRIPTION = " \
|
|
Multithreaded NIS bind service (ypbind-mt). \
|
|
ypbind-mt is a complete new implementation of a NIS \
|
|
binding daemon for Linux. It has the following \
|
|
features. Supports ypbind protocol V1 and V2. \
|
|
Uses threads for better response. Supports multiple \
|
|
domain bindings. Supports /var/yp/binding/* file \
|
|
for Linux libc 4/5 and glibc 2.x. Supports a list \
|
|
of known secure NIS server (/etc/yp.conf) Binds to \
|
|
the server which answered as first. \
|
|
"
|
|
HOMEPAGE = "http://www.linux-nis.org/nis/ypbind-mt/index.html"
|
|
DEPENDS = "yp-tools ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
|
|
PROVIDES += "ypbind"
|
|
|
|
PNBLACKLIST[ypbind-mt] ?= "BROKEN: Depends on broken yp-tools - the recipe will be removed on 2017-09-01 unless the issue is fixed"
|
|
|
|
SRC_URI = "http://www.linux-nis.org/download/ypbind-mt/${BP}.tar.bz2 \
|
|
file://ypbind.init \
|
|
file://ypbind.service \
|
|
"
|
|
SRC_URI[md5sum] = "54e2040d8266ae7d302d081ca310c8a8"
|
|
SRC_URI[sha256sum] = "dc2f7d97c94dcab0acfdcd115cd8b464eb8c427e4bb0fe68404ae7465f517cd3"
|
|
|
|
inherit systemd update-rc.d
|
|
|
|
SYSTEMD_SERVICE_${PN} = "ypbind.service"
|
|
INITSCRIPT_NAME = "ypbind"
|
|
INITSCRIPT_PARAMS = "start 44 3 5 . stop 70 0 1 2 6 ."
|
|
|
|
CACHED_CONFIGUREVARS = "ac_cv_prog_STRIP=/bin/true"
|
|
|
|
EXTRA_OECONF = "PKG_CONFIG_PATH='${STAGING_LIBDIR}/yp-nis/pkgconfig/'"
|
|
|
|
do_install_append () {
|
|
install -d ${D}${sysconfdir}/init.d
|
|
install -d ${D}${sysconfdir}/rcS.d
|
|
|
|
install -m 0755 ${WORKDIR}/ypbind.init ${D}${sysconfdir}/init.d/ypbind
|
|
|
|
install -d ${D}${systemd_unitdir}/system
|
|
install -m 0644 ${WORKDIR}/ypbind.service ${D}${systemd_unitdir}/system
|
|
}
|
|
|
|
|
|
RPROVIDES_${PN} += "${PN}-systemd"
|
|
RREPLACES_${PN} += "${PN}-systemd"
|
|
RCONFLICTS_${PN} += "${PN}-systemd"
|