mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
nis: update yp-tools and ypbind
Both yp-tools and ypbind-mt were out of date with their latest released versions, so bump them up to current. Remove two dead patches at the same time and reorganize the recipes to better follow the preferred OE style. Finally, the new release includes a new version of the GPLv2 COPYING file, with a significant amount of whitespace fixes, so update the license checksum. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
parent
d1d09c1167
commit
1013f586c5
|
|
@ -1,12 +0,0 @@
|
|||
--- pwdutils-2.6/configure.in.orig 2005-04-19 20:22:36.603052192 -0700
|
||||
+++ pwdutils-2.6/configure.in 2005-04-19 21:09:45.308023672 -0700
|
||||
@@ -178,6 +178,9 @@
|
||||
AC_CHECK_LIB(ldap, main, LDAP_LIBS="-lldap $LDAP_LIBS" found_ldap_lib=yes,,$LDAP_LIBS)
|
||||
fi
|
||||
|
||||
+ dnl this always needs dl
|
||||
+ AC_CHECK_LIB(dl, dlopen, LDAP_LIBS="$LDAP_LIBS -ldl")
|
||||
+
|
||||
if test -z "$found_ldap_lib" -a \( $with_ldap_lib = auto -o $with_ldap_lib = netscape5 \); then
|
||||
AC_CHECK_LIB(ldap50, main, LDAP_LIBS="-lldap50 -lssldap50 -lssl3 -lnss3 -lnspr4 -lprldap50 -lplc4 -lplds4" found_ldap_lib=yes need_pthread=true,, -lpthread)
|
||||
fi
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
--- pwdutils-2.6/lib/copy_xattr.c.orig 2005-04-16 17:15:52.916660880 -0700
|
||||
+++ pwdutils-2.6/lib/copy_xattr.c 2005-04-16 17:18:10.345768480 -0700
|
||||
@@ -127,8 +127,11 @@
|
||||
|
||||
if (lsetxattr (to, name, value, size, 0) != 0)
|
||||
{
|
||||
- if (strcmp (name, "security.selinux") == 0 &&
|
||||
- is_selinux_enabled() == 0)
|
||||
+ if (strcmp (name, "security.selinux") == 0
|
||||
+#if defined(WITH_SELINUX)
|
||||
+ && is_selinux_enabled() == 0
|
||||
+#endif
|
||||
+ )
|
||||
fprintf (stderr,
|
||||
_("SELinux not enabled, ignore attribute %s for `%s'.\n"),
|
||||
name, to);
|
||||
|
|
@ -7,7 +7,7 @@ DESCRIPTION = "NIS Server and Tools"
|
|||
HOMEPAGE = "http://www.linux-nis.org/nis/"
|
||||
SECTION = "console/network"
|
||||
LICENSE = "GPL-2.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
inherit autotools gettext pkgconfig
|
||||
|
||||
|
|
|
|||
|
|
@ -1,29 +1,32 @@
|
|||
# This package builds tools to manage NIS
|
||||
# The source package is utils/net/NIS/yp-tools
|
||||
#
|
||||
PR = "r3"
|
||||
DESCRIPTION="\
|
||||
require nis.inc
|
||||
|
||||
SUMMARY = "NIS client programs"
|
||||
DESCRIPTION = " \
|
||||
Network Information Service tools. \
|
||||
This package contains ypcat, ypmatch, ypset, \
|
||||
ypwhich, yppasswd, domainname, nisdomainname \
|
||||
and ypdomainname."
|
||||
and ypdomainname. \
|
||||
\
|
||||
This is the final IPv4-only version of yp-tools. \
|
||||
"
|
||||
|
||||
require nis.inc
|
||||
SRC_URI = "http://www.linux-nis.org/download/yp-tools/${BP}.tar.bz2 \
|
||||
file://domainname.service \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "ce1e06d86caa285fa8cd76fdf103f51e"
|
||||
SRC_URI[sha256sum] = "6ae8321666eea7837da343eea90ea30273fb74943ad111d5a4befd2afb252063"
|
||||
|
||||
CACHED_CONFIGUREVARS += "ac_cv_prog_STRIP=/bin/true"
|
||||
SRC_URI[md5sum] = "ba1f121c17e3ad65368be173b977cd13"
|
||||
SRC_URI[sha256sum] = "d01f70fadc643a55107a0edc47c6be99d0306bcc4f66df56f65e74238b0124c9"
|
||||
|
||||
inherit systemd
|
||||
SYSTEMD_SERVICE_${PN} = "domainname.service"
|
||||
|
||||
RPROVIDES_${PN} += "${PN}-systemd"
|
||||
RREPLACES_${PN} += "${PN}-systemd"
|
||||
RCONFLICTS_${PN} += "${PN}-systemd"
|
||||
SYSTEMD_SERVICE_${PN} = "domainname.service"
|
||||
|
||||
CACHED_CONFIGUREVARS += "ac_cv_prog_STRIP=/bin/true"
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
|
|
@ -1,8 +1,9 @@
|
|||
# This package builds the NIS ypbind daemon
|
||||
# The source package is utils/net/NIS/ypbind-mt
|
||||
#
|
||||
PR = "r3"
|
||||
DESCRIPTION="\
|
||||
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 \
|
||||
|
|
@ -11,23 +12,28 @@ 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"
|
||||
|
||||
require nis.inc
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=082c9a0886c7c3db1bc862b5b62ffe08"
|
||||
the server which answered as first. \
|
||||
\
|
||||
This is the final IPv4-only version of ypbind-mt. \
|
||||
"
|
||||
HOMEPAGE = "http://www.linux-nis.org/nis/ypbind-mt/index.html"
|
||||
DEPENDS = "yp-tools"
|
||||
# ypbind-mt now provides all the functionality of ypbind
|
||||
# and is used in place of it.
|
||||
PROVIDES += "ypbind"
|
||||
|
||||
SRC_URI = "http://www.linux-nis.org/download/ypbind-mt/${BP}.tar.bz2 \
|
||||
file://ypbind-yocto.init \
|
||||
file://ypbind.service \
|
||||
"
|
||||
SRC_URI[md5sum] = "135834db97d78ff6d79fdee2810b4056"
|
||||
SRC_URI[sha256sum] = "0eff76c1849f4b38ea1a60280d8397c4240369c641fe5402ce57edf1a90958c7"
|
||||
SRC_URI[md5sum] = "094088c0e282fa7f3b3dd6cc51d0a4e1"
|
||||
SRC_URI[sha256sum] = "1930ce19f6ccfe10400f3497b31867f71690d2bcd3f5b575199fa915559b7746"
|
||||
|
||||
# ypbind-mt now provides all the functionality of ypbind
|
||||
# and is used in place of it.
|
||||
PROVIDES += "ypbind"
|
||||
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"
|
||||
|
||||
|
|
@ -37,16 +43,11 @@ do_install_append () {
|
|||
|
||||
install -m 0755 ${WORKDIR}/ypbind-yocto.init ${D}${sysconfdir}/init.d/ypbind
|
||||
|
||||
# TODO, use update-rc.d
|
||||
ln -s ../init.d/ypbind ${D}${sysconfdir}/rcS.d/S44ypbind
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/ypbind.service ${D}${systemd_unitdir}/system
|
||||
}
|
||||
|
||||
inherit systemd
|
||||
|
||||
RPROVIDES_${PN} += "${PN}-systemd"
|
||||
RREPLACES_${PN} += "${PN}-systemd"
|
||||
RCONFLICTS_${PN} += "${PN}-systemd"
|
||||
SYSTEMD_SERVICE_${PN} = "ypbind.service"
|
||||
Loading…
Reference in New Issue
Block a user