[Bug 210131] Configuring base system

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 8 10:14:16 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210131

            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 at FreeBSD.org
          Reporter: kpect at protonmail.com
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at FreeBSD.org

Hello.
1.
I have following setting in /etc/src.conf:
WITHOUT_TCP_WRAPPERS=YES 
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} != "no"
ITOOLS+=makewhatis
.endif

I have settings in /etc/src.conf:
#WITHOUT_MAN=YES
WITHOUT_MAN_UTILS=YES
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 should
be set as:
# Needed for share/man
.if ${MK_MAN_UTILS} != "no"
ITOOLS+=makewhatis
.endif

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

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

5. 
I'm not a developer and don't need dtrace in base, so i have to use following
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=YES
WITHOUT_BSNMP=YES
WITHOUT_TCP_WRAPPERS=YES 
WITHOUT_RADIUS_SUPPORT=YES

But appropriate libraies are not removed from the system, so I have to remove
'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.

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


More information about the freebsd-amd64 mailing list