Commit Graph

544 Commits

Author SHA1 Message Date
imp
d5ce8f1e1b Remove RELEASE_CRUNCH here. It's obsolete.
Remove RELEASE_CRUNCH here. It's obsolete and hasn't worked in a while.  The
build options need to be revisited, since many older ones are listed, while
newer useful ones are not. But that rototilling I'll leave to others.
2019-07-15 15:02:40 +00:00
emaste
eed5cf142c picobsd: also exclude .git where we exclude .svn today
Sponsored by:	The FreeBSD Foundation
2019-06-27 13:31:55 +00:00
cem
aae886fade sys: Remove DEV_RANDOM device option
Remove 'device random' from kernel configurations that reference it (most).
Replace perhaps mistaken 'nodevice random' in two MIPS configs with 'options
RANDOM_LOADABLE' instead.  Document removal in UPDATING; update NOTES and
random.4.

Reviewed by:	delphij, markm (previous version)
Approved by:	secteam(delphij)
Differential Revision:	https://reviews.freebsd.org/D19918
2019-06-21 00:16:30 +00:00
pfg
9da7bdde06 spdx: initial adoption of licensing ID tags.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.

Initially, only tag files that use BSD 4-Clause "Original" license.

RelNotes:	yes
Differential Revision:	https://reviews.freebsd.org/D13133
2017-11-18 14:26:50 +00:00
imp
11aae85ca7 Revert prior commit to restore the files mangled by my "fixing" merge
conflicts for a git rebase I tried to do.
2017-03-01 02:10:40 +00:00
imp
7e6cabd06e Renumber copyright clause 4
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by:	Jan Schaumann <jschauma@stevens.edu>
Pull Request:	https://github.com/freebsd/freebsd/pull/96
2017-02-28 23:42:47 +00:00
luigi
766078b4ad adjust picobsd script to work with HEAD 2016-10-14 15:16:44 +00:00
pfg
bdd407638b picobsd: minor spelling fixes. 2016-05-01 16:16:11 +00:00
bdrewery
59f4cb814d Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.
Reviewed by:	emaste, hselasky (partial), brooks (brief)
Discussed on:	arch@
Sponsored by:	EMC / Isilon Storage Division
Differential Revision:	https://reviews.freebsd.org/D5742
2016-03-30 23:50:23 +00:00
luigi
0f9bc3ce0c rev.284898 removed _SHLIBDIRPREFIX so we need to reconstruct its value
to properly locate libraries created in the buildworld phase.
2015-07-10 05:07:18 +00:00
luigi
0c01cffa69 add an extra tty for picobsd builds 2015-07-08 16:42:28 +00:00
luigi
87dfc98e70 trap some errors when building picobsd 2015-07-08 16:41:25 +00:00
luigi
70c9059ac6 do not strip /stand
This is a temporary workaround until the elftoolchain's version
of strip is fixed:

The previous (GNU) strip, when acting on a file with multiple links,
would modify the one and only file in place (which means creating
a new stripped copy, and then writing it back to the original).

The new version from elftoolchain creates the new file and then
unlinks the old one and renames the new.
With multiple hard links, the original remains alive.  In the /stand
directory, this ends up creating 80+ copies of the same file.
2015-01-24 08:48:05 +00:00
bapt
876d27ab4b Convert to LIBADD 2014-11-26 08:12:21 +00:00
melifaro
b5d711d3a6 Renove faith(4) and faithd(8) from base. It looks like industry
have chosen different (and more traditional) stateless/statuful
NAT64 as translation mechanism. Last non-trivial commits to both
faith(4) and faithd(8) happened more than 12 years ago, so I assume
it is time to drop RFC3142 in FreeBSD.

No objections from:	net@
2014-11-09 21:33:01 +00:00
pfg
c0bdd03cda simple_httpd: cosmetic cleanups.
Many tab vs space cleanups.
Use setpgid() instead of setpgrp() which is more portable,

MFC after:	5 weeks
2014-09-18 16:53:44 +00:00
imp
0ed032933f When building picobsd, define WITHOUT_OPENSSL and WITHOUT_KERBEROS and
remove the now-redundant checks for RELEASE_CRUNCH. This originally
was defined for building smaller sysinstall images, but was later also
used by picobsd builds for a similar purpose. Now that we've moved
away from sysinstall, picobsd is the only remaining consumer of this
interface. Adding these two options reduces the RELEASE_CRUNCH
special cases in the tree by half.
2014-06-06 04:09:07 +00:00
luigi
310e93a4a7 add '3wire' (no handshake lines) to gettytab and ttys so that after
svn 264175 bhyve etc. work -- without that, /usr/bin/login would stop
in getpass()

MFC after:	3 days
2014-05-28 00:30:32 +00:00
luigi
e666b50f14 do not build libraries, they require a lot more stuff 2014-05-23 11:22:44 +00:00
luigi
a5bffeb3e9 remove unused code (building older releases should use the
picobsd file in the release itself)
2014-05-23 08:34:30 +00:00
luigi
171912e317 add libraries to the initial build for picobsd.
add a -j option so we can tune the amount of parallel make,
the default we used (-j 8) is large and was giving problems
with SUBDIR_PARALLEL due to some missing dependencies.
2014-05-23 08:10:07 +00:00
luigi
a5b9d0ccf7 fix picobsd cross builds on stable/10 2014-05-22 12:30:56 +00:00
imp
2118f42afd Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.
2014-05-06 04:22:01 +00:00
imp
c39e6fc2c9 NO_MAN= has been deprecated in favor of MAN= for some time, go ahead
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.
2014-04-13 05:21:56 +00:00
glebius
d494babace Remove IPX support.
IPX was a network transport protocol in Novell's NetWare network operating
system from late 80s and then 90s. The NetWare itself switched to TCP/IP
as default transport in 1998. Later, in this century the Novell Open
Enterprise Server became successor of Novell NetWare. The last release
that claimed to still support IPX was OES 2 in 2007. Routing equipment
vendors (e.g. Cisco) discontinued support for IPX in 2011.

Thus, IPX won't be supported in FreeBSD 11.0-RELEASE.
2014-03-14 02:58:48 +00:00
gjb
057e8b4bc7 Chase r262505, and remove CVS exclusion from picobsd builds.
Sponsored by:	The FreeBSD Foundation
2014-02-26 00:54:59 +00:00
luigi
0e6492a43b enable rfc1323 and rfc1644 by default in picobsd images.
I disabled it some 15 years ago but it is useful to have them on
when doing tcp throughput tests.
2014-02-18 04:38:26 +00:00
luigi
1b1ca7f807 do not use capsicum when building picobsd images 2014-01-06 08:09:19 +00:00
luigi
352a463ebf revise the helper functions to lookup binaries and their
shared libraries.
2013-12-15 07:04:59 +00:00
pluknet
f54ff2f69e Update log message. Picobsd stopped using kgzip a while ago. 2013-11-11 10:54:06 +00:00
luigi
c78dc87cdc bmake does not have a -v option so remove it 2013-11-04 23:46:20 +00:00
luigi
03bfda952a small cleanup for building picobsd-head without CLANG.
Note that svn 257268 gnu/usr.bin/binutils/ld/Makefile
seems to break the "toolchain" target when building HEAD
on RELENG_9, so until this is solved you may want to

    svn update -r 257267 gnu/usr.bin/binutils/ld/Makefile

before building picobsd
2013-11-01 18:29:27 +00:00
luigi
36f75b57a3 help running sshd on picobsd 2013-10-16 16:53:00 +00:00
luigi
c3d3ffef19 update the picobsd script to build with GCC and not CLANG 2013-10-16 16:46:15 +00:00
luigi
baf6916d29 comment out some stale loader configurations. 2013-09-06 17:19:57 +00:00
luigi
0c8c98d14e generate multiple host keys and do that unconditionally 2013-09-06 17:18:43 +00:00
luigi
1393045356 r253616 nuked BINMAKE so we need to adapt to the new definition 2013-09-06 17:16:33 +00:00
luigi
9e0ab53d2e use a plain 'make toolchain' to build toolchain, and
support parallel make on this stage.
2013-05-05 20:59:22 +00:00
luigi
c546a54503 remove a leftover comment 2013-05-05 18:54:25 +00:00
luigi
30e9f694de support for sshd (newer config file location) 2013-04-30 13:20:11 +00:00
luigi
6b4006784b the NO_PAM option has been finally removed in favor of WITHOUT_PAM. 2013-02-18 02:08:41 +00:00
luigi
59cd15065c enable building picobsd with CC instead of CLANG 2012-12-23 22:41:54 +00:00
eadler
9860195389 A number of places in the source tree still reference cuad.* after
sio(4) was deprecated by uart(4).

s/cuad/cuau/g/

PR:		docs/171533
Reviewed by:	imp
Approved by:	cperciva (implicit)
MFC after:	3 weeks
2012-12-08 22:16:36 +00:00
ed
02dcf28b58 Rework all non-contributed files that use `struct timezone'.
This structure is not part of POSIX. According to POSIX, gettimeofday()
has the following prototype:

	int gettimeofday(struct timeval *restrict tp, void *restrict tzp);

Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is
not used). Remove dead error handling code. Also use NULL for a
nul-pointer instead of integer 0.

While there, change all pieces of code that only use tv_sec to use
time(3), as this provides less overhead.
2012-09-01 14:45:15 +00:00
luigi
2d97353026 use MALLOC_PRODUCTION for picobsd builds, be more frugal in memory usage. 2012-08-27 16:42:32 +00:00
des
0a471f315b Remove dead code. 2012-06-12 15:32:14 +00:00
luigi
4a439608e6 Omit clang when building picobsd, it takes way too long.
Also note that loader.conf support is incomplete.
2012-05-03 20:50:55 +00:00
dim
489adb600f Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor
set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp.

MFC after:	1 week
2012-02-07 09:27:07 +00:00
uqs
92c988259b Spelling fixes for release/ 2012-01-07 16:09:43 +00:00
luigi
31642250d5 now picobsd cross builds work (tried with host amd64, target i386 ).
The fix involved adding a proper build of ld-elf.so.1 ,
and also replacing ldd with objdump (suggested by Garrett Cooper)
to build the list of shared libraries needed by the binaries
and libraries on the target.
2012-01-04 23:00:25 +00:00