Merge the projects/release-pkg branch to head.
This allows packaging the base system with pkg(8), including but not limited to providing the ability to provide upstream binary update possibilities for non-tier-1 architectures. This merge is a requirement of the 11.0-RELEASE, and as such, thank you to everyone that has tested the project branch. Documentation in build(7) etc. is still somewhat sparse, but updates to those parts will follow. Sponsored by: The FreeBSD Foundation
This commit is contained in:
commit
13caa46866
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298107
4
Makefile
4
Makefile
@ -127,7 +127,9 @@ TGTS= all all-man buildenv buildenvvars buildkernel buildworld \
|
||||
_build-tools _cross-tools _includes _libraries \
|
||||
build32 distribute32 install32 buildsoft distributesoft installsoft \
|
||||
builddtb xdev xdev-build xdev-install \
|
||||
xdev-links native-xtools installconfig \
|
||||
xdev-links native-xtools stageworld stagekernel stage-packages \
|
||||
create-world-packages create-kernel-packages create-packages \
|
||||
packages installconfig real-packages sign-packages package-pkg
|
||||
|
||||
TGTS+= ${SUBDIR_TARGETS}
|
||||
|
||||
|
190
Makefile.inc1
190
Makefile.inc1
@ -194,6 +194,21 @@ VERSION= FreeBSD ${REVISION}-${BRANCH:C/-p[0-9]+$//} ${TARGET_ARCH} ${SRCRELDATE
|
||||
.export VERSION
|
||||
.endif
|
||||
|
||||
.if !defined(PKG_VERSION)
|
||||
REVISION!= ${MAKE} -C ${SRCDIR}/release -V REVISION
|
||||
BRANCH!= ${MAKE} -C ${SRCDIR}/release -V BRANCH
|
||||
SRCRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \
|
||||
${SRCDIR}/sys/sys/param.h
|
||||
.if ${BRANCH:MSTABLE*} || ${BRANCH:MCURRENT*}
|
||||
TIMENOW= %Y%m%d%H%M%S
|
||||
EXTRA_REVISION= .s${TIMENOW:gmtime}
|
||||
.endif
|
||||
.if ${BRANCH:M*-p*}
|
||||
EXTRA_REVISION= _${BRANCH:C/.*-p([0-9]+$)/\1/}
|
||||
.endif
|
||||
PKG_VERSION= ${REVISION}${EXTRA_REVISION}
|
||||
.endif
|
||||
|
||||
KNOWN_ARCHES?= aarch64/arm64 \
|
||||
amd64 \
|
||||
arm \
|
||||
@ -262,10 +277,15 @@ TMPPATH= ${STRICTTMPPATH}:${PATH}
|
||||
# It may not be functional, e.g., due to new ABI
|
||||
# when in the middle of installing over this system.
|
||||
#
|
||||
.if make(distributeworld) || make(installworld)
|
||||
.if make(distributeworld) || make(installworld) || make(stageworld)
|
||||
INSTALLTMP!= /usr/bin/mktemp -d -u -t install
|
||||
.endif
|
||||
|
||||
.if make(stagekernel) || make(distributekernel)
|
||||
TAGS+= kernel
|
||||
PACKAGE= kernel
|
||||
.endif
|
||||
|
||||
#
|
||||
# Building a world goes through the following stages
|
||||
#
|
||||
@ -495,6 +515,9 @@ IMAKE+= -DNO_ROOT METALOG=${METALOG}
|
||||
INSTALLFLAGS+= -U -M ${METALOG} -D ${INSTALL_DDIR}
|
||||
MTREEFLAGS+= -W
|
||||
.endif
|
||||
.if defined(BUILD_PKGS)
|
||||
INSTALLFLAGS+= -h sha256
|
||||
.endif
|
||||
.if defined(DB_FROM_SRC) || defined(NO_ROOT)
|
||||
IMAKE_INSTALL= INSTALL="install ${INSTALLFLAGS}"
|
||||
IMAKE_MTREE= MTREE_CMD="mtree ${MTREEFLAGS}"
|
||||
@ -805,7 +828,7 @@ DEBUG_DISTRIBUTIONS+= base ${EXTRA_DISTRIBUTIONS:S,doc,,:S,tests,,}
|
||||
|
||||
MTREE_MAGIC?= mtree 2.0
|
||||
|
||||
distributeworld installworld: _installcheck_world
|
||||
distributeworld installworld stageworld: _installcheck_world
|
||||
mkdir -p ${INSTALLTMP}
|
||||
progs=$$(for prog in ${ITOOLS}; do \
|
||||
if progpath=`which $$prog`; then \
|
||||
@ -958,6 +981,21 @@ reinstall: .MAKE .PHONY
|
||||
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 install${libcompat}
|
||||
.endif
|
||||
|
||||
restage: .MAKE .PHONY
|
||||
@echo "--------------------------------------------------------------"
|
||||
@echo ">>> Making hierarchy"
|
||||
@echo "--------------------------------------------------------------"
|
||||
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 \
|
||||
LOCAL_MTREE=${LOCAL_MTREE:Q} hierarchy distribution
|
||||
@echo
|
||||
@echo "--------------------------------------------------------------"
|
||||
@echo ">>> Installing everything"
|
||||
@echo "--------------------------------------------------------------"
|
||||
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 install
|
||||
.if defined(LIB32TMP) && ${MK_LIB32} != "no"
|
||||
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 install32
|
||||
.endif
|
||||
|
||||
redistribute: .MAKE .PHONY
|
||||
@echo "--------------------------------------------------------------"
|
||||
@echo ">>> Distributing everything"
|
||||
@ -1123,7 +1161,7 @@ distributekernel distributekernel.debug:
|
||||
.endif
|
||||
mkdir -p ${DESTDIR}/${DISTDIR}
|
||||
.if defined(NO_ROOT)
|
||||
echo "#${MTREE_MAGIC}" > ${DESTDIR}/${DISTDIR}/kernel.premeta
|
||||
@echo "#${MTREE_MAGIC}" > ${DESTDIR}/${DISTDIR}/kernel.premeta
|
||||
.endif
|
||||
cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
|
||||
${IMAKEENV} ${IMAKE_INSTALL:S/METALOG/kernel.premeta/} \
|
||||
@ -1131,14 +1169,14 @@ distributekernel distributekernel.debug:
|
||||
DESTDIR=${INSTALL_DDIR}/kernel \
|
||||
${.TARGET:S/distributekernel/install/}
|
||||
.if defined(NO_ROOT)
|
||||
sed -e 's|^./kernel|.|' ${DESTDIR}/${DISTDIR}/kernel.premeta > \
|
||||
@sed -e 's|^./kernel|.|' ${DESTDIR}/${DISTDIR}/kernel.premeta > \
|
||||
${DESTDIR}/${DISTDIR}/kernel.meta
|
||||
.endif
|
||||
.endif
|
||||
.if ${BUILDKERNELS:[#]} > 1 && !defined(NO_INSTALLEXTRAKERNELS)
|
||||
.for _kernel in ${BUILDKERNELS:[2..-1]}
|
||||
.if defined(NO_ROOT)
|
||||
echo "#${MTREE_MAGIC}" > ${DESTDIR}/${DISTDIR}/kernel.${_kernel}.premeta
|
||||
@echo "#${MTREE_MAGIC}" > ${DESTDIR}/${DISTDIR}/kernel.${_kernel}.premeta
|
||||
.endif
|
||||
cd ${KRNLOBJDIR}/${_kernel}; \
|
||||
${IMAKEENV} ${IMAKE_INSTALL:S/METALOG/kernel.${_kernel}.premeta/} \
|
||||
@ -1147,7 +1185,7 @@ distributekernel distributekernel.debug:
|
||||
DESTDIR=${INSTALL_DDIR}/kernel.${_kernel} \
|
||||
${.TARGET:S/distributekernel/install/}
|
||||
.if defined(NO_ROOT)
|
||||
sed -e 's|^./kernel|.|' \
|
||||
@sed -e "s|^./kernel.${_kernel}|.|" \
|
||||
${DESTDIR}/${DISTDIR}/kernel.${_kernel}.premeta > \
|
||||
${DESTDIR}/${DISTDIR}/kernel.${_kernel}.meta
|
||||
.endif
|
||||
@ -1199,6 +1237,146 @@ packagekernel:
|
||||
.endif
|
||||
.endif
|
||||
|
||||
stagekernel:
|
||||
${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} distributekernel
|
||||
|
||||
PORTSDIR?= /usr/ports
|
||||
WSTAGEDIR?= ${MAKEOBJDIRPREFIX}${.CURDIR}/${TARGET}.${TARGET_ARCH}/worldstage
|
||||
KSTAGEDIR?= ${MAKEOBJDIRPREFIX}${.CURDIR}/${TARGET}.${TARGET_ARCH}/kernelstage
|
||||
REPODIR?= ${MAKEOBJDIRPREFIX}${.CURDIR}/repo
|
||||
PKGSIGNKEY?= # empty
|
||||
|
||||
.ORDER: stage-packages create-packages
|
||||
.ORDER: create-packages create-world-packages
|
||||
.ORDER: create-packages create-kernel-packages
|
||||
.ORDER: create-packages sign-packages
|
||||
|
||||
_pkgbootstrap:
|
||||
.if !exists(${LOCALBASE}/sbin/pkg)
|
||||
@env ASSUME_ALWAYS_YES=YES pkg bootstrap
|
||||
.endif
|
||||
|
||||
packages:
|
||||
${MAKE} -C ${.CURDIR} PKG_VERSION=${PKG_VERSION} real-packages
|
||||
|
||||
package-pkg:
|
||||
rm -rf /tmp/ports.${TARGET} || :
|
||||
env ${WMAKEENV:Q} SRCDIR=${.CURDIR} PORTSDIR=${PORTSDIR} REVISION=${REVISION} \
|
||||
PKG_VERSION=${PKG_VERSION} REPODIR=${REPODIR} WSTAGEDIR=${WSTAGEDIR} \
|
||||
sh ${.CURDIR}/release/scripts/make-pkg-package.sh
|
||||
|
||||
real-packages: stage-packages create-packages sign-packages
|
||||
|
||||
stage-packages:
|
||||
@mkdir -p ${REPODIR} ${WSTAGEDIR} ${KSTAGEDIR}
|
||||
${_+_}@cd ${.CURDIR}; \
|
||||
${MAKE} DESTDIR=${WSTAGEDIR} -DNO_ROOT -B stageworld ; \
|
||||
${MAKE} DESTDIR=${KSTAGEDIR} -DNO_ROOT -B stagekernel
|
||||
|
||||
create-packages: _pkgbootstrap
|
||||
@mkdir -p ${REPODIR}
|
||||
${_+_}@cd ${.CURDIR}; \
|
||||
${MAKE} DESTDIR=${WSTAGEDIR} \
|
||||
PKG_VERSION=${PKG_VERSION} create-world-packages ; \
|
||||
${MAKE} DESTDIR=${KSTAGEDIR} \
|
||||
PKG_VERSION=${PKG_VERSION} DISTDIR=kernel \
|
||||
create-kernel-packages
|
||||
|
||||
create-world-packages: _pkgbootstrap
|
||||
@rm -f ${WSTAGEDIR}/*.plist 2>/dev/null || :
|
||||
@cd ${WSTAGEDIR} ; \
|
||||
awk -f ${SRCDIR}/release/scripts/mtree-to-plist.awk \
|
||||
${WSTAGEDIR}/METALOG
|
||||
@for plist in ${WSTAGEDIR}/*.plist; do \
|
||||
plist=$${plist##*/} ; \
|
||||
pkgname=$${plist%.plist} ; \
|
||||
sh ${SRCDIR}/release/packages/generate-ucl.sh -o $${pkgname} \
|
||||
-s ${SRCDIR} -u ${WSTAGEDIR}/$${pkgname}.ucl ; \
|
||||
done
|
||||
@for plist in ${WSTAGEDIR}/*.plist; do \
|
||||
plist=$${plist##*/} ; \
|
||||
pkgname=$${plist%.plist} ; \
|
||||
awk -F\" ' \
|
||||
/^name/ { printf("===> Creating %s-", $$2); next } \
|
||||
/^version/ { print $$2; next } \
|
||||
' ${WSTAGEDIR}/$${pkgname}.ucl ; \
|
||||
pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh -o ALLOW_BASE_SHLIBS=yes \
|
||||
create -M ${WSTAGEDIR}/$${pkgname}.ucl \
|
||||
-p ${WSTAGEDIR}/$${pkgname}.plist \
|
||||
-r ${WSTAGEDIR} \
|
||||
-o ${REPODIR}/$$(pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/${PKG_VERSION} ; \
|
||||
done
|
||||
|
||||
create-kernel-packages: _pkgbootstrap
|
||||
.if exists(${KSTAGEDIR}/kernel.meta)
|
||||
.for flavor in "" -debug
|
||||
@cd ${KSTAGEDIR}/${DISTDIR} ; \
|
||||
awk -f ${SRCDIR}/release/scripts/mtree-to-plist.awk \
|
||||
-v kernel=yes -v _kernconf=${INSTALLKERNEL} \
|
||||
${KSTAGEDIR}/kernel.meta ; \
|
||||
cap_arg=`cd ${SRCDIR}/etc ; ${MAKE} -VCAP_MKDB_ENDIAN` ; \
|
||||
pwd_arg=`cd ${SRCDIR}/etc ; ${MAKE} -VPWD_MKDB_ENDIAN` ; \
|
||||
sed -e "s/%VERSION%/${PKG_VERSION}/" \
|
||||
-e "s/%PKGNAME%/kernel-${INSTALLKERNEL:tl}${flavor}/" \
|
||||
-e "s/%COMMENT%/FreeBSD ${INSTALLKERNEL} kernel ${flavor}/" \
|
||||
-e "s/%DESC%/FreeBSD ${INSTALLKERNEL} kernel ${flavor}/" \
|
||||
-e "s/%CAP_MKDB_ENDIAN%/$${cap_arg}/g" \
|
||||
-e "s/%PWD_MKDB_ENDIAN%/$${pwd_arg}/g" \
|
||||
${SRCDIR}/release/packages/kernel.ucl \
|
||||
> ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${flavor}.ucl ; \
|
||||
awk -F\" ' \
|
||||
/name/ { printf("===> Creating %s-", $$2); next } \
|
||||
/version/ {print $$2; next } ' \
|
||||
${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${flavor}.ucl ; \
|
||||
pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh -o ALLOW_BASE_SHLIBS=yes \
|
||||
create -M ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${flavor}.ucl \
|
||||
-p ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${flavor}.plist \
|
||||
-r ${KSTAGEDIR}/${DISTDIR} \
|
||||
-o ${REPODIR}/$$(pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/${PKG_VERSION}
|
||||
.endfor
|
||||
.endif
|
||||
.if ${BUILDKERNELS:[#]} > 1 && !defined(NO_INSTALLEXTRAKERNELS)
|
||||
.for _kernel in ${BUILDKERNELS:[2..-1]}
|
||||
.if exists(${KSTAGEDIR}/kernel.${_kernel}.meta)
|
||||
.for flavor in "" -debug
|
||||
@cd ${KSTAGEDIR}/kernel.${_kernel} ; \
|
||||
awk -f ${SRCDIR}/release/scripts/mtree-to-plist.awk \
|
||||
-v kernel=yes -v _kernconf=${_kernel} \
|
||||
${KSTAGEDIR}/kernel.${_kernel}.meta ; \
|
||||
cap_arg=`cd ${SRCDIR}/etc ; ${MAKE} -VCAP_MKDB_ENDIAN` ; \
|
||||
pwd_arg=`cd ${SRCDIR}/etc ; ${MAKE} -VPWD_MKDB_ENDIAN` ; \
|
||||
sed -e "s/%VERSION%/${PKG_VERSION}/" \
|
||||
-e "s/%PKGNAME%/kernel-${_kernel:tl}${flavor}/" \
|
||||
-e "s/%COMMENT%/FreeBSD ${_kernel} kernel ${flavor}/" \
|
||||
-e "s/%DESC%/FreeBSD ${_kernel} kernel ${flavor}/" \
|
||||
-e "s/%CAP_MKDB_ENDIAN%/$${cap_arg}/g" \
|
||||
-e "s/%PWD_MKDB_ENDIAN%/$${pwd_arg}/g" \
|
||||
${SRCDIR}/release/packages/kernel.ucl \
|
||||
> ${KSTAGEDIR}/kernel.${_kernel}/kernel.${_kernel}${flavor}.ucl ; \
|
||||
awk -F\" ' \
|
||||
/name/ { printf("===> Creating %s-", $$2); next } \
|
||||
/version/ {print $$2; next } ' \
|
||||
${KSTAGEDIR}/kernel.${_kernel}/kernel.${_kernel}${flavor}.ucl ; \
|
||||
pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh -o ALLOW_BASE_SHLIBS=yes \
|
||||
create -M ${KSTAGEDIR}/kernel.${_kernel}/kernel.${_kernel}${flavor}.ucl \
|
||||
-p ${KSTAGEDIR}/kernel.${_kernel}/kernel.${_kernel}${flavor}.plist \
|
||||
-r ${KSTAGEDIR}/kernel.${_kernel} \
|
||||
-o ${REPODIR}/$$(pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/${PKG_VERSION}
|
||||
.endfor
|
||||
.endif
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
sign-packages: _pkgbootstrap
|
||||
@[ -L "${REPODIR}/$$(pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/latest" ] && \
|
||||
unlink ${REPODIR}/$$(pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/latest ; \
|
||||
pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh repo \
|
||||
-o ${REPODIR}/$$(pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/${PKG_VERSION} \
|
||||
${REPODIR}/$$(pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/${PKG_VERSION} \
|
||||
${PKGSIGNKEY} ; \
|
||||
ln -s ${REPODIR}/$$(pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/${PKG_VERSION} \
|
||||
${REPODIR}/$$(pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/latest
|
||||
|
||||
#
|
||||
#
|
||||
# checkworld
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= cat
|
||||
|
||||
.if ${MK_TESTS} != "no"
|
||||
|
@ -1,5 +1,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
|
||||
NETBSD_ATF_TESTS_SH= cat_test
|
||||
|
||||
FILESDIR= ${TESTSDIR}
|
||||
|
@ -1,6 +1,7 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= chflags
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,6 +1,7 @@
|
||||
# $FreeBSD$
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= chio
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,6 +1,7 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= chmod
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,6 +1,7 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= cp
|
||||
SRCS= cp.c utils.c
|
||||
CFLAGS+= -DVM_AND_BUFFER_CACHE_SYNCHRONIZED -D_ACL_PRIVATE
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=runtime
|
||||
TCSHDIR= ${.CURDIR}/../../contrib/tcsh
|
||||
.PATH: ${TCSHDIR}
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= date
|
||||
SRCS= date.c netdate.c vary.c
|
||||
|
||||
|
@ -2,6 +2,10 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
|
||||
ATF_TESTS_SH= format_string_test
|
||||
|
||||
.include <bsd.test.mk>
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= dd
|
||||
SRCS= args.c conv.c conv_tab.c dd.c misc.c position.c
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
|
||||
NETBSD_ATF_TESTS_SH= dd_test
|
||||
|
||||
.include <netbsd-tests.test.mk>
|
||||
|
@ -1,6 +1,7 @@
|
||||
# @(#)Makefile 8.3 (Berkeley) 5/8/95
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
MOUNT= ${.CURDIR}/../../sbin/mount
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= domainname
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,6 +1,7 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= echo
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= ed
|
||||
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
|
||||
LINKS= ${BINDIR}/ed ${BINDIR}/red
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= expr
|
||||
SRCS= expr.y
|
||||
YFLAGS=
|
||||
|
@ -1,5 +1,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
|
||||
NETBSD_ATF_TESTS_SH= expr_test
|
||||
|
||||
ATF_TESTS_SH_SED_expr_test+= -e 's/eval expr/eval expr --/g'
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
SCRIPTS = freebsd-version
|
||||
MAN = freebsd-version.1
|
||||
CLEANFILES = freebsd-version freebsd-version.sh
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= getfacl
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,6 +1,7 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= hostname
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= kenv
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,6 +1,7 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= kill
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,6 +1,7 @@
|
||||
# @(#)Makefile 8.2 (Berkeley) 5/31/93
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= ln
|
||||
MAN= ln.1 symlink.7
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= ls
|
||||
SRCS= cmp.c ls.c print.c util.c
|
||||
LIBADD= xo util
|
||||
|
@ -1,5 +1,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
|
||||
ATF_TESTS_SH+= ls_tests
|
||||
# This seems like overkill, but the idea in mind is that all of the testcases
|
||||
# should be runnable as !root
|
||||
|
@ -1,6 +1,7 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= mkdir
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= mv
|
||||
|
||||
.if ${MK_TESTS} != "no"
|
||||
|
@ -2,6 +2,10 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
|
||||
TAP_TESTS_SH= legacy_test
|
||||
|
||||
.include <bsd.test.mk>
|
||||
|
@ -27,6 +27,7 @@
|
||||
# regex routines and must define NET2_REGEX.
|
||||
# Pax may not compile if this not (un)defined properly.
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= pax
|
||||
SRCS= ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file_subs.c ftree.c \
|
||||
gen_subs.c getoldopt.c options.c pat_rep.c pax.c sel_subs.c \
|
||||
|
@ -2,6 +2,10 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
|
||||
TAP_TESTS_PERL= legacy_test
|
||||
|
||||
.include <bsd.test.mk>
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= pkill
|
||||
|
||||
LIBADD= kvm jail
|
||||
|
@ -2,6 +2,10 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
|
||||
TAP_TESTS_SH= pgrep-F_test
|
||||
TAP_TESTS_SH+= pgrep-LF_test
|
||||
TAP_TESTS_SH+= pgrep-P_test
|
||||
|
@ -1,6 +1,7 @@
|
||||
# $FreeBSD$
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/2/93
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= ps
|
||||
SRCS= fmt.c keyword.c nlist.c print.c ps.c
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= pwait
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,6 +1,7 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= pwd
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,10 +1,13 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=rcmds
|
||||
PROG= rcp
|
||||
SRCS= rcp.c util.c
|
||||
CFLAGS+=-DBINDIR=${BINDIR}
|
||||
|
||||
PACKAGE=rcmds
|
||||
|
||||
BINOWN= root
|
||||
BINMODE=4555
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= realpath
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,6 +1,7 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= rm
|
||||
|
||||
LINKS= ${BINDIR}/rm ${BINDIR}/unlink
|
||||
|
@ -1,6 +1,7 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=sendmail
|
||||
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
|
||||
.PATH: ${SENDMAIL_DIR}/rmail
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= rmdir
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= setfacl
|
||||
SRCS= file.c mask.c merge.c remove.c setfacl.c util.c
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= sh
|
||||
INSTALLFLAGS= -S
|
||||
SHSRCS= alias.c arith_yacc.c arith_yylex.c cd.c echo.c error.c eval.c \
|
||||
|
@ -2,6 +2,10 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
|
||||
TESTS_SUBDIRS+= builtins
|
||||
TESTS_SUBDIRS+= errors
|
||||
TESTS_SUBDIRS+= execution
|
||||
|
@ -2,6 +2,9 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
|
||||
|
||||
.PATH: ${.CURDIR:H}
|
||||
|
@ -1,5 +1,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
|
||||
|
||||
.PATH: ${.CURDIR:H}
|
||||
|
@ -1,5 +1,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
|
||||
|
||||
.PATH: ${.CURDIR:H}
|
||||
|
@ -1,5 +1,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
|
||||
|
||||
.PATH: ${.CURDIR:H}
|
||||
|
@ -1,5 +1,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
|
||||
|
||||
.PATH: ${.CURDIR:H}
|
||||
|
@ -1,5 +1,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
|
||||
|
||||
.PATH: ${.CURDIR:H}
|
||||
|
@ -1,5 +1,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
|
||||
|
||||
.PATH: ${.CURDIR:H}
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= sleep
|
||||
|
||||
.if ${MK_TESTS} != "no"
|
||||
|
@ -2,6 +2,10 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
|
||||
NETBSD_ATF_TESTS_SH= sleep_test
|
||||
|
||||
.include <bsd.test.mk>
|
||||
|
@ -1,6 +1,7 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= stty
|
||||
SRCS= cchar.c gfmt.c key.c modes.c print.c stty.c util.c
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= sync
|
||||
MAN= sync.8
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= test
|
||||
LINKS= ${BINDIR}/test ${BINDIR}/[
|
||||
MLINKS= test.1 [.1
|
||||
|
@ -2,6 +2,10 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
|
||||
TAP_TESTS_SH= legacy_test
|
||||
# Some tests in here are silently not run when the tests are executed as
|
||||
# root. Explicitly tell Kyua to drop privileges.
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTS+= Kyuafile
|
||||
|
||||
.PATH: ${SRCTOP}/tests
|
||||
KYUAFILE= yes
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=runtime
|
||||
PROG= uuidgen
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTS+= Kyuafile
|
||||
|
||||
.PATH: ${SRCTOP}/tests
|
||||
KYUAFILE= yes
|
||||
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTS+= Kyuafile
|
||||
|
||||
.PATH: ${SRCTOP}/tests
|
||||
KYUAFILE= yes
|
||||
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTS+= Kyuafile
|
||||
|
||||
.PATH: ${SRCTOP}/tests
|
||||
KYUAFILE= yes
|
||||
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTS+= Kyuafile
|
||||
|
||||
.PATH: ${SRCTOP}/tests
|
||||
KYUAFILE= yes
|
||||
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTS+= Kyuafile
|
||||
|
||||
.PATH: ${SRCTOP}/tests
|
||||
KYUAFILE= yes
|
||||
|
||||
|
@ -3,6 +3,10 @@
|
||||
* traps. Provides service to ntpq and others.
|
||||
*/
|
||||
|
||||
/*
|
||||
* $FreeBSD: projects/release-pkg/contrib/ntp/ntpd/ntp_control.c 277386 2015-01-19 16:15:12Z gjb $
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
16
etc/Makefile
16
etc/Makefile
@ -3,9 +3,10 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
FILESGROUPS= FILES
|
||||
|
||||
# No need as it is empty and just causes rebuilds since this file does so much.
|
||||
UPDATE_DEPENDFILE= no
|
||||
|
||||
SUBDIR= \
|
||||
newsyslog.conf.d
|
||||
|
||||
@ -82,8 +83,13 @@ BIN1+= apmd.conf
|
||||
.endif
|
||||
|
||||
.if ${MK_AUTOFS} != "no"
|
||||
BIN1+= auto_master
|
||||
FILESGROUPS+= AUTOFS
|
||||
AUTOFS+= auto_master
|
||||
.endif
|
||||
AUTOFSDIR= /etc
|
||||
AUTOFSMODE= ${BINMODE}
|
||||
AUTOFSPACKAGE= autofs
|
||||
AUTOFSTAGS= config
|
||||
|
||||
.if ${MK_FREEBSD_UPDATE} != "no"
|
||||
BIN1+= freebsd-update.conf
|
||||
@ -135,8 +141,12 @@ BIN1+= pf.os
|
||||
.endif
|
||||
|
||||
.if ${MK_SENDMAIL} != "no"
|
||||
BIN1+= rc.sendmail
|
||||
FILESGROUPS+= SENDMAILRC
|
||||
SENDMAILRC= rc.sendmail
|
||||
.endif
|
||||
SENDMAILRCDIR= /etc
|
||||
SENDMAILRCMODE= ${BINMODE}
|
||||
SENDMAILRCPACKAGE=sendmail
|
||||
|
||||
.if ${MK_TCSH} != "no"
|
||||
BIN1+= csh.cshrc csh.login csh.logout
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
FILES=
|
||||
FILEGROUPS= FILES
|
||||
|
||||
.if ${MACHINE} == "powerpc"
|
||||
FILES+= apple.conf
|
||||
@ -10,7 +10,12 @@ FILES+= apple.conf
|
||||
|
||||
.if ${MACHINE} == "amd64" || ${MACHINE} == "i386"
|
||||
.if ${MK_ACPI} != "no"
|
||||
FILES+= asus.conf
|
||||
FILESGROUPS+= ACPI
|
||||
ACPI= asus.conf
|
||||
ACPIPACKAGE= acpi
|
||||
ACPIDIR= /etc/devd
|
||||
ACPITAGS= config
|
||||
ACPIMODE= 644
|
||||
.endif
|
||||
.if ${MK_HYPERV} != "no"
|
||||
FILES+= hyperv.conf
|
||||
|
@ -9,9 +9,9 @@
|
||||
..
|
||||
at
|
||||
/set uname=daemon
|
||||
jobs
|
||||
jobs tags=package=at
|
||||
..
|
||||
spool
|
||||
spool tags=package=at
|
||||
..
|
||||
/set uname=root
|
||||
..
|
||||
@ -99,8 +99,8 @@
|
||||
vi.recover mode=01777
|
||||
..
|
||||
..
|
||||
unbound uname=unbound gname=unbound mode=0755
|
||||
conf.d uname=unbound gname=unbound mode=0755
|
||||
unbound uname=unbound gname=unbound mode=0755 tags=package=unbound
|
||||
conf.d uname=unbound gname=unbound mode=0755 tags=package=unbound
|
||||
..
|
||||
..
|
||||
yp
|
||||
|
@ -4,6 +4,8 @@
|
||||
|
||||
NO_OBJ=
|
||||
|
||||
FILESGROUPS= FILES
|
||||
|
||||
FILES= README \
|
||||
cron \
|
||||
ftpd \
|
||||
@ -11,13 +13,24 @@ FILES= README \
|
||||
login \
|
||||
other \
|
||||
passwd pop3 \
|
||||
rsh \
|
||||
sshd su system \
|
||||
telnetd \
|
||||
xdm
|
||||
|
||||
.if ${MK_AT} != "no"
|
||||
FILES+= atrun
|
||||
FILESGROUPS+= AT
|
||||
AT+= atrun
|
||||
ATPACKAGE+= at
|
||||
ATDIR= /etc/pam.d
|
||||
ATMODE= 644
|
||||
.endif
|
||||
|
||||
.if ${MK_RCMDS} != "no"
|
||||
FILESGROUPS+= RCMDS
|
||||
RCMDS+= rsh
|
||||
RCMDSPACKAGE+= rcmds
|
||||
RCMDSDIR= /etc/pam.d
|
||||
RCMDSMODE= 644
|
||||
.endif
|
||||
|
||||
FILESDIR= /etc/pam.d
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
FILESGROUPS=FILES
|
||||
|
||||
FILES= 100.clean-disks \
|
||||
110.clean-tmps \
|
||||
120.clean-preserve \
|
||||
@ -23,8 +25,12 @@ FILES= 100.clean-disks \
|
||||
# NB: keep these sorted by MK_* knobs
|
||||
|
||||
.if ${MK_ACCT} != "no"
|
||||
FILES+= 310.accounting
|
||||
FILESGROUPS+= ACCT
|
||||
ACCT+= 310.accounting
|
||||
.endif
|
||||
ACCTDIR= /etc/periodic/daily
|
||||
ACCTMODE= ${BINMODE}
|
||||
ACCTPACKAGE= acct
|
||||
|
||||
.if ${MK_CALENDAR} != "no"
|
||||
FILES+= 300.calendar
|
||||
@ -40,8 +46,12 @@ FILES+= 480.status-ntpd \
|
||||
.endif
|
||||
|
||||
.if ${MK_RCMDS} != "no"
|
||||
FILES+= 140.clean-rwho
|
||||
FILESGROUPS+= RCMDS
|
||||
RCMDS+= 140.clean-rwho
|
||||
.endif
|
||||
RCMDSDIR= /etc/periodic/daily
|
||||
RCMDSMODE= ${BINMODE}
|
||||
RCMDSPACKAGE= rcmds
|
||||
|
||||
.if ${MK_SENDMAIL} != "no"
|
||||
FILES+= 150.clean-hoststat \
|
||||
|
@ -2,13 +2,19 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
FILESGROUPS=FILES
|
||||
|
||||
FILES= 450.status-security \
|
||||
999.local
|
||||
|
||||
# NB: keep these sorted by MK_* knobs
|
||||
|
||||
.if ${MK_UTMPX} != "no"
|
||||
FILES+= 200.accounting
|
||||
FILESGROUPS+= ACCT
|
||||
ACCT+= 200.accounting
|
||||
.endif
|
||||
ACCTDIR= /etc/periodic/monthly
|
||||
ACCTMODE= ${BINMODE}
|
||||
ACCTPACKAGE= acct
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,13 +2,16 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
FILESGROUPS= FILES
|
||||
FILESDIR= /etc/rc.d
|
||||
FILESMODE= ${BINMODE}
|
||||
|
||||
FILES= DAEMON \
|
||||
FILESYSTEMS \
|
||||
LOGIN \
|
||||
NETWORKING \
|
||||
SERVERS \
|
||||
abi \
|
||||
accounting \
|
||||
addswap \
|
||||
adjkerntz \
|
||||
archdep \
|
||||
@ -108,7 +111,6 @@ FILES= DAEMON \
|
||||
securelevel \
|
||||
serial \
|
||||
sppp \
|
||||
${_sshd} \
|
||||
statd \
|
||||
static_arp \
|
||||
static_ndp \
|
||||
@ -120,7 +122,6 @@ FILES= DAEMON \
|
||||
tmp \
|
||||
${_ubthidhci} \
|
||||
ugidfw \
|
||||
${_unbound} \
|
||||
${_utx} \
|
||||
var \
|
||||
watchdogd \
|
||||
@ -134,25 +135,41 @@ FILES= DAEMON \
|
||||
zvol
|
||||
|
||||
.if ${MK_ACCT} != "no"
|
||||
FILES+= accounting
|
||||
FILESGROUPS+= ACCT
|
||||
ACCT+= accounting
|
||||
.endif
|
||||
ACCTDIR= /etc/rc.d
|
||||
ACCTMODE= ${BINMODE}
|
||||
ACCTPACKAGE= acct
|
||||
|
||||
.if ${MK_ACPI} != "no"
|
||||
FILES+= power_profile
|
||||
FILESGROUPS+= ACPI
|
||||
ACPI= power_profile
|
||||
.endif
|
||||
ACPIDIR= /etc/rc.d
|
||||
ACPIMODE= ${BINMODE}
|
||||
ACPIPACKAGE= acpi
|
||||
|
||||
.if ${MK_ACPI} != "no" || ${MK_APM} != "no"
|
||||
FILES+= powerd
|
||||
.endif
|
||||
|
||||
.if ${MK_AMD} != "no"
|
||||
FILES+= amd
|
||||
FILESGROUPS+= AMD
|
||||
AMD+= amd
|
||||
.endif
|
||||
AMDDIR= /etc/rc.d
|
||||
AMDMODE= ${BINMODE}
|
||||
AMDPACKAGE= amd
|
||||
|
||||
.if ${MK_APM} != "no"
|
||||
FILES+= apm
|
||||
FILES+= apmd
|
||||
FILESGROUPS+= APM
|
||||
APM+= apm
|
||||
APM+= apmd
|
||||
.endif
|
||||
APMDIR= /etc/rc.d
|
||||
APMMODE= ${BINMODE}
|
||||
APMPACKAGE= apm
|
||||
|
||||
.if ${MK_AUTOFS} != "no"
|
||||
FILES+= automount
|
||||
@ -172,8 +189,12 @@ FILES+= bootparams
|
||||
.endif
|
||||
|
||||
.if ${MK_BSNMP} != "no"
|
||||
FILES+= bsnmpd
|
||||
FILESGROUPS+= BSNMP
|
||||
BSNMP+= bsnmpd
|
||||
.endif
|
||||
BSNMPDIR= /etc/rc.d
|
||||
BSNMPMODE= ${BINMODE}
|
||||
BSNMPPACKAGE= bsnmp
|
||||
|
||||
.if ${MK_CCD} != "no"
|
||||
FILES+= ccd
|
||||
@ -184,8 +205,12 @@ FILES+= ftpd
|
||||
.endif
|
||||
|
||||
.if ${MK_HAST} != "no"
|
||||
FILES+= hastd
|
||||
FILESGROUPS+= HAST
|
||||
HAST= hastd
|
||||
.endif
|
||||
HASTDIR= /etc/rc.d
|
||||
HASTMODE= ${BINMODE}
|
||||
HASTPACKAGE= hast
|
||||
|
||||
.if ${MK_INETD} != "no"
|
||||
FILES+= inetd
|
||||
@ -197,8 +222,12 @@ FILES+= iscsid
|
||||
.endif
|
||||
|
||||
.if ${MK_JAIL} != "no"
|
||||
FILES+= jail
|
||||
FILESGROUPS+= JAIL
|
||||
JAIL+= jail
|
||||
.endif
|
||||
JAILDIR= /etc/rc.d
|
||||
JAILMODE= ${BINMODE}
|
||||
JAILPACKAGE= jail
|
||||
|
||||
.if ${MK_LEGACY_CONSOLE} != "no"
|
||||
FILES+= moused
|
||||
@ -239,47 +268,64 @@ FILES+= keyserv
|
||||
.endif
|
||||
|
||||
.if ${MK_OPENSSH} != "no"
|
||||
_sshd= sshd
|
||||
FILESGROUPS+= SSH
|
||||
SSH= sshd
|
||||
.endif
|
||||
SSHDIR= /etc/rc.d
|
||||
SSHMODE= ${BINMODE}
|
||||
SSHPACKAGE= ssh
|
||||
|
||||
.if ${MK_PF} != "no"
|
||||
FILES+= ftp-proxy
|
||||
.endif
|
||||
|
||||
.if ${MK_RCMDS} != "no"
|
||||
FILES+= rwho
|
||||
FILESGROUPS+= RCMDS
|
||||
RCMDS+= rwho
|
||||
.endif
|
||||
RCMDSDIR= /etc/rc.d
|
||||
RCMDSMODE= ${BINMODE}
|
||||
RCMDSPACKAGE= rcmds
|
||||
|
||||
.if ${MK_ROUTED} != "no"
|
||||
FILES+= routed
|
||||
.endif
|
||||
|
||||
.if ${MK_SENDMAIL} != "no"
|
||||
FILES+= sendmail
|
||||
FILESGROUPS+= SMRCD
|
||||
SMRCD= sendmail
|
||||
.endif
|
||||
SMRCDDIR= /etc/rc.d
|
||||
SMRCDDIRMODE= ${BINMODE}
|
||||
SMRCDPACKAGE= sendmail
|
||||
|
||||
.if ${MK_TIMED} != "no"
|
||||
FILES+= timed
|
||||
.endif
|
||||
|
||||
.if ${MK_UNBOUND} != "no"
|
||||
_unbound= local_unbound
|
||||
FILESGROUPS+= UNBOUND
|
||||
UNBOUND+= local_unbound
|
||||
.endif
|
||||
UNBOUNDDIR= /etc/rc.d
|
||||
UNBOUNDMODE= ${BINMODE}
|
||||
UNBOUNDPACKAGE= unbound
|
||||
|
||||
.if ${MK_UTMPX} != "no"
|
||||
_utx= utx
|
||||
.endif
|
||||
|
||||
.if ${MK_VI} != "no"
|
||||
FILES+= virecover
|
||||
FILESGROUPS+= VI
|
||||
VI+= virecover
|
||||
.endif
|
||||
VIDIR= /etc/rc.d
|
||||
VIMODE= ${BINMODE}
|
||||
VIPACKAGE= vi
|
||||
|
||||
.if ${MK_WIRELESS} != "no"
|
||||
FILES+= hostapd
|
||||
FILES+= wpa_supplicant
|
||||
.endif
|
||||
|
||||
FILESDIR= /etc/rc.d
|
||||
FILESMODE= ${BINMODE}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE= clibs
|
||||
GCCDIR= ${.CURDIR}/../../../contrib/gcc
|
||||
GCCLIB= ${.CURDIR}/../../../contrib/gcclibs
|
||||
COMPILERRTDIR= ${.CURDIR}/../../../contrib/compiler-rt
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTS+= Kyuafile
|
||||
|
||||
.PATH: ${SRCTOP}/tests
|
||||
KYUAFILE= yes
|
||||
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTS+= Kyuafile
|
||||
|
||||
.PATH: ${SRCTOP}/tests
|
||||
KYUAFILE= yes
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
WARNS?= 3
|
||||
PACKAGE= binutils
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
@ -1,5 +1,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
|
||||
TESTSRC= ${SRCTOP}/contrib/netbsd-tests/usr.bin/diff
|
||||
|
||||
NETBSD_ATF_TESTS_SH= diff_test
|
||||
|
@ -3,6 +3,8 @@
|
||||
VERSION= "6.1.1 [FreeBSD]"
|
||||
VENDOR= marcel
|
||||
|
||||
PACKAGE= gdb
|
||||
|
||||
BMAKE_GDB= ${.CURDIR}/..
|
||||
BMAKE_ROOT= ${BMAKE_GDB}/..
|
||||
BMAKE_BU= ${BMAKE_ROOT}/binutils
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
BINDIR?= /usr/bin
|
||||
SHELL= /bin/sh
|
||||
PACKAGE= groff
|
||||
|
||||
# Define `page' to be letter if your PostScript printer uses 8.5x11
|
||||
# paper (USA) and define it to be A4, if it uses A4 paper (rest of the
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTS+= Kyuafile
|
||||
|
||||
.PATH: ${SRCTOP}/tests
|
||||
KYUAFILE= yes
|
||||
|
||||
|
@ -5,6 +5,8 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=runtime
|
||||
TAGS+= development
|
||||
CLEANFILES= osreldate.h version
|
||||
SUBDIR= arpa protocols rpcsvc rpc xlocale
|
||||
SUBDIR_PARALLEL=
|
||||
@ -154,78 +156,78 @@ copies:
|
||||
.endfor
|
||||
.for i in ${LDIRS} ${LSUBDIRS:Ndev/agp:Ndev/acpica:Ndev/bktr:Ndev/nand:Ndev/pci} ${LSUBSUBDIRS}
|
||||
cd ${.CURDIR}/../sys; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 $i/*.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 $i/*.h \
|
||||
${DESTDIR}${INCLUDEDIR}/$i
|
||||
.endfor
|
||||
cd ${.CURDIR}/../sys/dev/acpica; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 acpiio.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 acpiio.h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/acpica; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 acpi_hpet.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 acpi_hpet.h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/acpica
|
||||
cd ${.CURDIR}/../sys/dev/agp; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 agpreg.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 agpreg.h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/agp
|
||||
cd ${.CURDIR}/../sys/dev/bktr; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ioctl_*.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 ioctl_*.h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/bktr
|
||||
.if ${MK_NAND} != "no"
|
||||
cd ${.CURDIR}/../sys/dev/nand; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 nandsim.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 nandsim.h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/nand; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 nand_dev.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 nand_dev.h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/nand
|
||||
.endif
|
||||
cd ${.CURDIR}/../sys/dev/pci; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 pcireg.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 pcireg.h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/pci
|
||||
cd ${.CURDIR}/../sys/fs/cd9660/; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${DESTDIR}${INCLUDEDIR}/isofs/cd9660
|
||||
.if ${MK_IPFILTER} != "no"
|
||||
cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${DESTDIR}${INCLUDEDIR}/netinet
|
||||
.endif
|
||||
.if ${MK_PF} != "no"
|
||||
cd ${.CURDIR}/../sys/netpfil/pf; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${DESTDIR}${INCLUDEDIR}/netpfil/pf
|
||||
.endif
|
||||
cd ${.CURDIR}/../sys/crypto; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 rijndael/rijndael.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 rijndael/rijndael.h \
|
||||
${DESTDIR}${INCLUDEDIR}/crypto
|
||||
cd ${.CURDIR}/../sys/opencrypto; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${DESTDIR}${INCLUDEDIR}/crypto
|
||||
cd ${.CURDIR}/../sys/${MACHINE}/include; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${DESTDIR}${INCLUDEDIR}/machine
|
||||
.if exists(${.CURDIR}/../sys/${MACHINE}/include/pc)
|
||||
cd ${.CURDIR}/../sys/${MACHINE}/include/pc; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${DESTDIR}${INCLUDEDIR}/machine/pc
|
||||
.endif
|
||||
.for _MARCH in ${_MARCHS}
|
||||
.if exists(${.CURDIR}/../sys/${_MARCH}/include)
|
||||
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||
${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}; \
|
||||
cd ${.CURDIR}/../sys/${_MARCH}/include; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}
|
||||
.if exists(${.CURDIR}/../sys/${_MARCH}/include/pc)
|
||||
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||
${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \
|
||||
cd ${.CURDIR}/../sys/${_MARCH}/include/pc; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}/pc
|
||||
.endif
|
||||
.endif
|
||||
.endfor
|
||||
cd ${.CURDIR}/../sys/rpc; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 types.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 types.h \
|
||||
${DESTDIR}${INCLUDEDIR}/rpc
|
||||
cd ${.CURDIR}/../sys/teken; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 teken.h \
|
||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 teken.h \
|
||||
${DESTDIR}${INCLUDEDIR}/teken
|
||||
|
||||
symlinks:
|
||||
@ -233,99 +235,99 @@ symlinks:
|
||||
.for i in ${LDIRS}
|
||||
cd ${.CURDIR}/../sys/$i; \
|
||||
for h in *.h; do \
|
||||
${INSTALL_SYMLINK} ../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \
|
||||
done
|
||||
.endfor
|
||||
.for i in ${LSUBDIRS:Ndev/agp:Ndev/acpica:Ndev/bktr:Ndev/nand:Ndev/pci}
|
||||
cd ${.CURDIR}/../sys/$i; \
|
||||
for h in *.h; do \
|
||||
${INSTALL_SYMLINK} ../../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \
|
||||
done
|
||||
.endfor
|
||||
cd ${.CURDIR}/../sys/dev/acpica; \
|
||||
for h in acpiio.h acpi_hpet.h; do \
|
||||
${INSTALL_SYMLINK} ../../../../sys/dev/acpica/$$h \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/acpica/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/acpica; \
|
||||
done
|
||||
cd ${.CURDIR}/../sys/dev/agp; \
|
||||
for h in agpreg.h; do \
|
||||
${INSTALL_SYMLINK} ../../../../sys/dev/agp/$$h \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/agp/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/agp; \
|
||||
done
|
||||
cd ${.CURDIR}/../sys/dev/bktr; \
|
||||
for h in ioctl_*.h; do \
|
||||
${INSTALL_SYMLINK} ../../../../sys/dev/bktr/$$h \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/bktr/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/bktr; \
|
||||
done
|
||||
.if ${MK_NAND} != "no"
|
||||
cd ${.CURDIR}/../sys/dev/nand; \
|
||||
for h in nandsim.h nand_dev.h; do \
|
||||
${INSTALL_SYMLINK} ../../../../sys/dev/nand/$$h \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/nand/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/nand; \
|
||||
done
|
||||
.endif
|
||||
cd ${.CURDIR}/../sys/dev/pci; \
|
||||
for h in pcireg.h; do \
|
||||
${INSTALL_SYMLINK} ../../../../sys/dev/pci/$$h \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/pci/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/pci; \
|
||||
done
|
||||
.for i in ${LSUBSUBDIRS}
|
||||
cd ${.CURDIR}/../sys/$i; \
|
||||
for h in *.h; do \
|
||||
${INSTALL_SYMLINK} ../../../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \
|
||||
done
|
||||
.endfor
|
||||
.if ${MK_IPFILTER} != "no"
|
||||
cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \
|
||||
for h in *.h; do \
|
||||
${INSTALL_SYMLINK} ../../../sys/contrib/ipfilter/netinet/$$h \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/contrib/ipfilter/netinet/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/netinet; \
|
||||
done
|
||||
.endif
|
||||
.if ${MK_PF} != "no"
|
||||
cd ${.CURDIR}/../sys/netpfil/pf; \
|
||||
for h in *.h; do \
|
||||
${INSTALL_SYMLINK} ../../../../sys/netpfil/pf/$$h \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/netpfil/pf/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/netpfil/pf; \
|
||||
done
|
||||
.endif
|
||||
cd ${.CURDIR}/../sys/crypto; \
|
||||
for h in rijndael/rijndael.h; do \
|
||||
${INSTALL_SYMLINK} ../../../sys/crypto/$$h \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/crypto/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/crypto; \
|
||||
done
|
||||
cd ${.CURDIR}/../sys/opencrypto; \
|
||||
for h in *.h; do \
|
||||
${INSTALL_SYMLINK} ../../../sys/opencrypto/$$h \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/opencrypto/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/crypto; \
|
||||
done
|
||||
cd ${.CURDIR}/../sys/${MACHINE}/include; \
|
||||
for h in *.h; do \
|
||||
${INSTALL_SYMLINK} ../../../sys/${MACHINE}/include/$$h \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/${MACHINE}/include/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/machine; \
|
||||
done
|
||||
.if exists(${.CURDIR}/../sys/${MACHINE}/include/pc)
|
||||
cd ${.CURDIR}/../sys/${MACHINE}/include/pc; \
|
||||
for h in *.h; do \
|
||||
${INSTALL_SYMLINK} ../../../../sys/${MACHINE}/include/pc/$$h \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/${MACHINE}/include/pc/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/machine/pc; \
|
||||
done
|
||||
.endif
|
||||
.for _MARCH in ${_MARCHS}
|
||||
.if exists(${.CURDIR}/../sys/${_MARCH}/include)
|
||||
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||
${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}; \
|
||||
cd ${.CURDIR}/../sys/${_MARCH}/include; \
|
||||
for h in *.h; do \
|
||||
${INSTALL_SYMLINK} ../../../sys/${_MARCH}/include/$$h \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/${_MARCH}/include/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}; \
|
||||
done
|
||||
.if exists(${.CURDIR}/../sys/${_MARCH}/include/pc)
|
||||
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||
${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \
|
||||
cd ${.CURDIR}/../sys/${_MARCH}/include/pc; \
|
||||
for h in *.h; do \
|
||||
${INSTALL_SYMLINK} ../../../../sys/${_MARCH}/include/pc/$$h \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/${_MARCH}/include/pc/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \
|
||||
done
|
||||
.endif
|
||||
@ -333,12 +335,12 @@ symlinks:
|
||||
.endfor
|
||||
cd ${.CURDIR}/../sys/fs/cd9660; \
|
||||
for h in *.h; do \
|
||||
${INSTALL_SYMLINK} ../../../../sys/fs/cd9660/$$h \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/fs/cd9660/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/isofs/cd9660; \
|
||||
done
|
||||
cd ${.CURDIR}/../sys/rpc; \
|
||||
for h in types.h; do \
|
||||
${INSTALL_SYMLINK} ../../../sys/rpc/$$h \
|
||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/rpc/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/rpc; \
|
||||
done
|
||||
|
||||
|
@ -148,6 +148,7 @@ SUBDIR_DEPEND_libpjdlog= libutil
|
||||
SUBDIR_DEPEND_libprocstat= libkvm libutil
|
||||
SUBDIR_DEPEND_libradius= libmd
|
||||
SUBDIR_DEPEND_libsmb= libkiconv
|
||||
SUBDIR_DEPEND_libstdc++:= msun
|
||||
SUBDIR_DEPEND_libtacplus= libmd
|
||||
SUBDIR_DEPEND_libulog= libmd
|
||||
SUBDIR_DEPEND_libunbound= ${_libldns}
|
||||
|
@ -2,6 +2,10 @@
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
PACKAGE=tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
|
||||
TESTS_SUBDIRS= detail
|
||||
|
||||
ATF= ${SRCTOP}/contrib/atf
|
||||
|
@ -2,6 +2,9 @@
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTSDIR= ${TESTSBASE}/lib/atf/libatf-c++/detail
|
||||
|
||||
ATF= ${SRCTOP}/contrib/atf
|
||||
|
@ -2,6 +2,10 @@
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
|
||||
TESTS_SUBDIRS= detail
|
||||
|
||||
ATF= ${SRCTOP}/contrib/atf
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTS+= Kyuafile
|
||||
|
||||
TESTSDIR= ${TESTSBASE}/lib/atf/libatf-c/detail
|
||||
|
||||
ATF= ${SRCTOP}/contrib/atf
|
||||
|
@ -2,7 +2,12 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTSDIR= ${TESTSBASE}/lib/atf
|
||||
TESTS+= Kyuafile
|
||||
|
||||
|
||||
.PATH: ${SRCTOP}/tests
|
||||
KYUAFILE= yes
|
||||
|
@ -2,7 +2,11 @@
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
TESTSDIR= ${TESTSBASE}/lib/atf/test-programs
|
||||
TESTS+= Kyuafile
|
||||
KYUAFILE= yes
|
||||
|
||||
ATF= ${SRCTOP}/contrib/atf
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= 80211
|
||||
SHLIBDIR?= /lib
|
||||
SHLIB_MAJOR= 1
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
.PATH: ${.CURDIR}/../../../sys/netinet/libalias
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= alias
|
||||
SHLIBDIR?= /lib
|
||||
SHLIB_MAJOR= 7
|
||||
|
@ -1,6 +1,7 @@
|
||||
# $FreeBSD$
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
_LIBARCHIVEDIR= ${.CURDIR}/../../contrib/libarchive
|
||||
|
||||
LIB= archive
|
||||
|
@ -1,5 +1,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE= tests
|
||||
FILESGROUPS= TESTS
|
||||
TESTSPACKAGE= ${PACKAGE}
|
||||
|
||||
_LIBARCHIVEDIR= ${SRCTOP}/contrib/libarchive
|
||||
|
||||
ATF_TESTS_SH+= functional_test
|
||||
|
@ -2,6 +2,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
OPENBSMDIR= ${.CURDIR}/../../contrib/openbsm
|
||||
_LIBAUDITDDIR= ${OPENBSMDIR}/libauditd
|
||||
_LIBBSMDIR= ${OPENBSMDIR}/libbsm
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
LIBBEGEMOT_DIR=${.CURDIR}/../../contrib/libbegemot
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
.PATH: ${LIBBEGEMOT_DIR}
|
||||
|
||||
LIB= begemot
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE=lib${LIB:tl}
|
||||
LIB= BlocksRuntime
|
||||
SHLIB_MAJOR=0
|
||||
CFLAGS+=-I${.CURDIR}
|
||||
|
@ -1,6 +1,7 @@
|
||||
# $Id: Makefile,v 1.5 2003/07/22 18:38:04 max Exp $
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE= lib${LIB}
|
||||
LIB= bluetooth
|
||||
MAN= bluetooth.3
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PACKAGE= lib${LIB}
|
||||
LIB= bsdstat
|
||||
SHLIB_MAJOR= 1
|
||||
PRIVATELIB=
|
||||
|
@ -2,6 +2,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PACKAGE= lib${LIB}
|
||||
OPENBSMDIR= ${.CURDIR}/../../contrib/openbsm
|
||||
_LIBBSMDIR= ${OPENBSMDIR}/libbsm
|
||||
|
||||
|
@ -2,5 +2,6 @@
|
||||
|
||||
NO_WERROR=
|
||||
INCSDIR= ${INCLUDEDIR}/bsnmp
|
||||
PACKAGE= bsnmp
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user