1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/emulators/linux_base-f10/files/yp.conf.sample
Alexander Leidinger affb190b16 The port is intended to become the new default linux_base port (replaces
the current linux_base-8 port).

You should only switch to this port if you know what you are doing.
You may or may not have problems with installing other linux related
ports after switching to it. Success or failure reports welcome.

To switch:
 - echo "OVERRIDE_LINUX_BASE_PORT=fc3" >> /etc/make.conf
 - portupgrade -fo emulators/linux_base-fc3 linux_base-8

News and changes (from submitter with some small changes by me):
 - based on linux_base-8 port;
 - don't use linux rpm binary to install. The whole source tree is
   created at ${WRKDIR} and then installed (using cpio);
 - removes some files and directories (etc/passwd, etc/group,
   usr/local, ...) to ensure using FreeBSD original files;
 - introduces etc/nsswitch.conf.dist and etc/yp.conf.sample files,
   uses correct install/deinstall behaviour with etc/nsswitch.conf
   and etc/yp.conf files;
 - doesn't do [u]mounting while install/deinstall process.
   Thus it is possible to use jails while building packages.
   But since linprocfs is not automounted, special measures should be
   taken at package building for those ports which need a mounted
   linprocfs (i.e. for linux JDK building);
 - uses linux ldconfig in the pkg-install file (as opposed to using in
   the Makefile). It is needed when upgrading (i.e. when other linux
   libraries are present in the system) and when installing by packages.

Submitted by:	Boris Samorodov <bsam@ipt.ru> (some small changes by me)
2006-03-18 19:07:04 +00:00

16 lines
400 B
Plaintext

# sample yp.conf file
#
# Legal entries are:
#
# domainname <domain> Override the default YP domain
# (If not set uses the one from
# the getdomainname() syscall)
#
# ypserver <grape> [<domain>] Define which host to contact
# for YP service. If the <domain>
# argument is included then this
# host service the specified YP
# domain.
#domainname my.domain
#ypserver localhost