NetBSD/usr.bin/Makefile

80 lines
2.3 KiB
Makefile
Raw Normal View History

Remove MKCRYPTO option. Originally, MKCRYPTO was introduced because the United States classified cryptography as a munition and restricted its export. The export controls were substantially relaxed fifteen years ago, and are essentially irrelevant for software with published source code. In the intervening time, nobody bothered to remove the option after its motivation -- the US export restriction -- was eliminated. I'm not aware of any other operating system that has a similar option; I expect it is mainly out of apathy for churn that we still have it. Today, cryptography is an essential part of modern computing -- you can't use the internet responsibly without cryptography. The position of the TNF board of directors is that TNF makes no representation that MKCRYPTO=no satisfies any country's cryptography regulations. My personal position is that the availability of cryptography is a basic human right; that any local laws restricting it to a privileged few are fundamentally immoral; and that it is wrong for developers to spend effort crippling cryptography to work around such laws. As proposed on tech-crypto, tech-security, and tech-userlevel to no objections: https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html P.S. Reviewing all the uses of MKCRYPTO in src revealed a lot of *bad* crypto that was conditional on it, e.g. DES in telnet... That should probably be removed too, but on the grounds that it is bad, not on the grounds that it is (nominally) crypto.
2017-05-21 18:28:36 +03:00
# $NetBSD: Makefile,v 1.229 2017/05/21 15:28:42 riastradh Exp $
1997-03-07 09:14:02 +03:00
# from: @(#)Makefile 8.3 (Berkeley) 1/7/94
.include <bsd.own.mk>
SUBDIR= apply asa at audio audiocfg \
banner basename biff bthset btkey btpin \
bzip2 bzip2recover c11 c89 c99 cal calendar cap_mkdb cdplay \
2011-10-08 23:16:54 +04:00
checknr chflags chpass cksum cmp cleantags col colcrt colrm \
column comm compress config crunch csplit ctags cut cvslatest \
2017-04-10 19:38:19 +03:00
dc deroff db dirname du \
2005-06-30 01:20:15 +04:00
eject elf2aout elf2ecoff env error expand extattr \
false fdformat fgen fincore find finger flock fmt fold fpr from \
fsplit fstat ftp gcore genassym gencat getaddrinfo getconf getent \
getopt gettext gprof \
head hexdump iconv id indent infocmp innetgr ipcrm ipcs join jot \
2011-07-04 01:58:52 +04:00
kdump ktrace ktruss lam last lastcomm ldd leave \
2009-10-27 00:37:10 +03:00
locale locate lock logger login logname look lorder m4 \
2014-12-30 07:22:18 +03:00
machine mail make man menuc mesg midiplay midirecord mixerctl \
mkcsmapper mkdep mkesdb mkfifo mklocale mkstr mktemp mkubootimage \
moduli msgc msgs \
2017-02-06 19:04:07 +03:00
nbperf nc netgroup netstat newgrp newsyslog nfsstat nice nl nohup \
pagesize passwd paste patch pathchk pkill pmap pmc pr \
2015-03-03 00:54:13 +03:00
printenv printf progress pwait pwhash qsubst quota radioctl rdist \
Add a rump server which comes with all the drivers currently available. In terms of modules it maps to: golem> rump.modstat NAME CLASS SOURCE REFS SIZE REQUIRES bpf driver builtin 0 - - cd9660 vfs builtin 0 - - cgd driver builtin 0 - - dm driver builtin 0 - - efs vfs builtin 0 - - ext2fs vfs builtin 0 - ffs fdesc vfs builtin 0 - - ffs vfs builtin 3 - - fss driver builtin 0 - - hfs vfs builtin 0 - - kernfs vfs builtin 0 - - ksem misc builtin 0 - - layerfs misc builtin 2 - - lfs vfs builtin 0 - ffs mfs vfs builtin 0 - ffs msdos vfs builtin 0 - - nfs vfs builtin 1 - - nfsserver misc builtin 0 - nfs nilfs vfs builtin 0 - - ntfs vfs builtin 0 - - null vfs builtin 0 - layerfs pad driver builtin 0 - - ptyfs vfs builtin 0 - - puffs vfs builtin 0 - putter putter driver builtin 1 - - scsiverbose misc builtin 0 - - smbfs vfs builtin 0 - - suser secmodel builtin 0 - - swsensor driver builtin 0 - - sysvbfs vfs builtin 0 - - tmpfs vfs builtin 0 - - udf vfs builtin 0 - - umap vfs builtin 0 - layerfs union vfs builtin 0 - - usbverbose misc builtin 0 - - wapbl vfs builtin 0 - - In terms of interfaces: golem> rump.ifconfig -C shmif virt lo carp and dmesg: NetBSD 5.99.41 (RUMP-ROAST) #0: Tue Nov 30 15:35:05 CET 2010 pooka@pain-rustique.localhost:/usr/allsrc/src/sys/rump/librump/rumpkern total memory = unlimited (host limit) timecounter: Timecounters tick every 10.000 msec timecounter: Timecounter "rumpclk" frequency 100 Hz quality 0 cpu0 at thinair0: rump virtual cpu cpu1 at thinair0: rump virtual cpu root file system type: rumpfs mainbus0 (root) ugenhc0 at mainbus0 usb0 at ugenhc0: USB revision 2.0 uhub0 at usb0: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1 uhub0: 1 port with 1 removable, self powered ugenhc1 at mainbus0 usb1 at ugenhc1: USB revision 2.0 uhub1 at usb1: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1 uhub1: 1 port with 1 removable, self powered ugenhc2 at mainbus0 usb2 at ugenhc2: USB revision 2.0 uhub2 at usb2: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1 uhub2: 1 port with 1 removable, self powered ugenhc3 at mainbus0 usb3 at ugenhc3: USB revision 2.0 uhub3 at usb3: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1 uhub3: 1 port with 1 removable, self powered scsitest0 at mainbus0 scsibus0 at scsitest0: 2 targets, 1 lun per target cd0 at scsibus0 target 1 lun 0: <RUMPHOBO, It's a LIE, 0.00> cdrom removable Chicony Electronics Chicony Electronics, class 0/0, rev 2.00/1.00, addr 2, uhub0 port 1 not configured AuthenTec AuthenTec, class 255/255, rev 1.10/6.21, addr 2, uhub1 port 1 not configured swwdog0: software watchdog initialized Kernelized RAIDframe activated pad0: outputs: 44100Hz, 16-bit, stereo audio0 at pad0: half duplex, playback, capture There a bunch of other stuff which doesn't show up as any of the above, plus of course the usb drivers which are probed only if I have the appropriate hardware plugged into my workstation.
2010-12-05 20:37:32 +03:00
renice rev revoke rfcomm_sppd rlogin rpcgen rpcinfo rs rsh \
2012-08-08 18:13:46 +04:00
rup ruptime rusers rwall rwho \
script sdiff sdpquery sed seq shar shlock \
showmount shuffle sockstat sort sortinfo \
spell split stat su sys_info systat \
tabs tail talk tcopy tee telnet tftp tic time timeout tip touch \
tpfmt tput \
tr true tset tsort tty ul uname unexpand unifdef \
uniq units unvis unzip usbhidaction usbhidctl users utoppya \
2010-12-26 14:31:43 +03:00
uudecode uuencode uuidgen vacation vgrind videoctl vis \
vmstat vndcompress w \
wall wc what whereis who whois \
2009-10-29 04:01:17 +03:00
write xargs xinstall xlint xstr yes
SUBDIR+= ../external/zlib/pigz/bin/pigz
.if (${MKGROFF} == "no")
SUBDIR+= soelim
.endif
2012-08-04 19:50:16 +04:00
.if (${MKMAKEMANDB} == "no")
SUBDIR+= apropos whatis
.endif
2012-08-08 18:13:46 +04:00
.if (${MKRUMP} != "no")
SUBDIR+= rump_allserver rump_dhcpclient rump_halt rump_server shmif_dumpbus \
rump_wmd
2012-08-08 18:13:46 +04:00
.endif
.if (${MKBSDGREP} != "no")
SUBDIR+= grep
.endif
.if (${MKPIGZGZIP} != "no")
# nothing
.else
SUBDIR+= gzip
.endif
.if (${MKHESIOD} != "no")
SUBDIR+= hesinfo
.endif
.if (${MKSKEY} != "no")
SUBDIR+= skey skeyinfo skeyinit
.endif
.if (${MKYP} != "no")
SUBDIR+= ypcat ypmatch ypwhich
.endif
1993-03-21 12:45:37 +03:00
SUBDIR+= bdes
2008-05-11 21:58:45 +04:00
SUBDIR+= nbsvtool
1999-07-13 02:11:37 +04:00
1993-03-21 12:45:37 +03:00
.include <bsd.subdir.mk>