Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jun 2016 10:14:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 210131] Configuring base system
Message-ID:  <bug-210131-6@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210131

            Bug ID: 210131
           Summary: Configuring base system
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: kpect@protonmail.com
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@FreeBSD.org

Hello.
1.
I have following setting in /etc/src.conf:
WITHOUT_TCP_WRAPPERS=3DYES=20
nontheless building sshd fails requireing tcpd.h file.

2.
Found out that file /usr/src/Makefile.inc1 contains following
# Needed for share/man
.if ${MK_MAN} !=3D "no"
ITOOLS+=3Dmakewhatis
.endif

I have settings in /etc/src.conf:
#WITHOUT_MAN=3DYES
WITHOUT_MAN_UTILS=3DYES
which should build man pages but skip man utils (i use mandoc from ports)

but building releasi iso fails, requiring makewhatis file, i suppose it sho=
uld
be set as:
# Needed for share/man
.if ${MK_MAN_UTILS} !=3D "no"
ITOOLS+=3Dmakewhatis
.endif

3.
Setting following variables in /etc/src.conf:
WITHOUT_AUDIT=3DYES
WITHOUT_PF=3DYES
WITHOUT_QUOTAS=3DYES
...
and many more,
doesn't remove auditd, auditdistd, pf, pflog, pfsync, quota ... etc. files =
from
/etc/rc.d=20

4.
Setting following variable in make.conf:
MODULES_OVERRIDE=3D"drm2/drm2 drm2/i915kms"
works well (when you want to build some modules from subdirectory), but
WITHOUT_MODULES=3D"usb/umass" would not work.

5.=20
I'm not a developer and don't need dtrace in base, so i have to use followi=
ng
to rip it off from the system:

sed -E -i '' -e '/ (drti|lib(ctf|dtrace))/d' \
${SRCDIR}/cddl/lib/Makefile

sed -E -i '' -e '/ ctf.*/d' \
${SRCDIR}/cddl/usr.bin/Makefile

sed -E -i '' -e '/ (dtr(ace|uss)|p?lockstat)/d' \
${SRCDIR}/cddl/usr.sbin/Makefile

sed -E -i '' -e '/ dtrace/d' \
${SRCDIR}/share/Makefile

Could you please add WITHOUT_DTRACE to be able to disable it from the base.

6.
I have following settings in /etc/src.conf:
WITHOUT_AUDIT=3DYES
WITHOUT_BSNMP=3DYES
WITHOUT_TCP_WRAPPERS=3DYES=20
WITHOUT_RADIUS_SUPPORT=3DYES

But appropriate libraies are not removed from the system, so I have to remo=
ve
'em manually:
sed -E -i '' -e '/ lib(auditd|begemot|bsm|tacplus|wrap)/d' \
${SRCDIR}/lib/Makefile

7.
Could you please add WITHOUT_ options for SAMBA, NFS, OPIE, TACACS, UGIDFW.
Now I have to rip them off manually from the system.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210131-6>