1# This include file contains global definitions for the
2# various NIS packages.
3#
4# These packages will only function correctly with glibc -
5# the rpcsvc functionality is not present in uclibc
6DESCRIPTION = "NIS Server and Tools"
7HOMEPAGE = "http://www.linux-nis.org/nis/"
8SECTION = "net"
9LICENSE = "GPL-2.0-only"
10LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
11
12inherit autotools gettext pkgconfig
13
14# install is broken because src/Makefile heroically adds '-s'
15# to the install flags - passing -s to the build /usr/bin/install!
16# install-strip gets it right but installs ypbind -m <default>,
17# not -m 555.  In an OE build this is not, so far as I can see,
18# a security problem (and this fix to the build problem is *much*
19# easier and more maintainable.)
20do_install() {
21    oe_runmake 'DESTDIR=${D}' install-strip
22}
23