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