Commit Graph

534 Commits

Author SHA1 Message Date
Luigi Rizzo
9d73ee0f82 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 Rizzo
613ab60283 add an extra tty for picobsd builds 2015-07-08 16:42:28 +00:00
Luigi Rizzo
e4405be58b trap some errors when building picobsd 2015-07-08 16:41:25 +00:00
Luigi Rizzo
f43f9c89f2 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
Baptiste Daroussin
65c31e445c Convert to LIBADD 2014-11-26 08:12:21 +00:00
Alexander V. Chernikov
603eaf792b 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
Pedro F. Giffuni
fbbabf630e 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
Warner Losh
04efeffe99 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 Rizzo
7db42b3f97 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 Rizzo
f36b456b26 do not build libraries, they require a lot more stuff 2014-05-23 11:22:44 +00:00
Luigi Rizzo
7cb79611c2 remove unused code (building older releases should use the
picobsd file in the release itself)
2014-05-23 08:34:30 +00:00
Luigi Rizzo
60ae18aea8 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 Rizzo
c15bc72781 fix picobsd cross builds on stable/10 2014-05-22 12:30:56 +00:00
Warner Losh
c6063d0da8 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
Warner Losh
3bdf775801 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
Gleb Smirnoff
2c284d9395 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
Glen Barber
aa2e8af3e1 Chase r262505, and remove CVS exclusion from picobsd builds.
Sponsored by:	The FreeBSD Foundation
2014-02-26 00:54:59 +00:00
Luigi Rizzo
c3c9304aa9 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 Rizzo
c04dbdba8e do not use capsicum when building picobsd images 2014-01-06 08:09:19 +00:00
Luigi Rizzo
76210de388 revise the helper functions to lookup binaries and their
shared libraries.
2013-12-15 07:04:59 +00:00
Sergey Kandaurov
e0b8184b0c Update log message. Picobsd stopped using kgzip a while ago. 2013-11-11 10:54:06 +00:00
Luigi Rizzo
ffd7c2a470 bmake does not have a -v option so remove it 2013-11-04 23:46:20 +00:00
Luigi Rizzo
d8abca4a20 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 Rizzo
c6f0af7314 help running sshd on picobsd 2013-10-16 16:53:00 +00:00
Luigi Rizzo
c29b80b1ff update the picobsd script to build with GCC and not CLANG 2013-10-16 16:46:15 +00:00
Luigi Rizzo
cbb61c6b61 comment out some stale loader configurations. 2013-09-06 17:19:57 +00:00
Luigi Rizzo
c58e667d47 generate multiple host keys and do that unconditionally 2013-09-06 17:18:43 +00:00
Luigi Rizzo
d3d4b31dd4 r253616 nuked BINMAKE so we need to adapt to the new definition 2013-09-06 17:16:33 +00:00
Luigi Rizzo
6b7724bccf use a plain 'make toolchain' to build toolchain, and
support parallel make on this stage.
2013-05-05 20:59:22 +00:00
Luigi Rizzo
6e873a2d39 remove a leftover comment 2013-05-05 18:54:25 +00:00
Luigi Rizzo
544e778f1a support for sshd (newer config file location) 2013-04-30 13:20:11 +00:00
Luigi Rizzo
afad0b868f the NO_PAM option has been finally removed in favor of WITHOUT_PAM. 2013-02-18 02:08:41 +00:00
Luigi Rizzo
6be79c7b99 enable building picobsd with CC instead of CLANG 2012-12-23 22:41:54 +00:00
Eitan Adler
839f11a4fe 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 Schouten
902d9eafbf 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 Rizzo
6b21af5af4 use MALLOC_PRODUCTION for picobsd builds, be more frugal in memory usage. 2012-08-27 16:42:32 +00:00
Dag-Erling Smørgrav
5d75780525 Remove dead code. 2012-06-12 15:32:14 +00:00
Luigi Rizzo
23eb7ebf94 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
Dimitry Andric
5e0a19bdee 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
Ulrich Spörlein
b07e9f3fac Spelling fixes for release/ 2012-01-07 16:09:43 +00:00
Luigi Rizzo
ef632da67a 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
Luigi Rizzo
60a5d89732 remove some stale options (such as running without /boot/loader)
improve support for multi-arch and cross-arch builds, by adding
a suffix to the kernel config file and build_directory.
(cross builds not clean yet, a cross-built kernel boots
but fails when starting /sbin/init)
2012-01-04 19:37:25 +00:00
Luigi Rizzo
61f49b5bc9 some tweaks to build picobsd for different architectures. 2011-11-23 12:05:39 +00:00
Luigi Rizzo
7f2428704d following the recent (218130) changes to Makefile and Makefile.inc1,
we need to set TARGET and TARGET_ARCH to get a correct WMAKEENV.
I am setting both to i386 since this is what picobsd is used for,
though there might be a better fix.

Add initial support for parallel make. This is disabled right now,
because there are incorrect dependencies somewhere which require
to run picobsd 2-3 times to complete a build.

MFC after:	2 weeks
2011-02-05 23:03:40 +00:00
Luigi Rizzo
2f8d87d326 move the initialization of BINMAKE earler, so it is
available throughout the entire build process.

Submitted by:	Matteo Landi
MFC after:	3 days
2010-11-12 12:48:41 +00:00
Luigi Rizzo
09bc43b0cf use make from the toolchain, as the source tree may depend on
specific features (e.g. on recent HEAD, rtld fails with older 'make')

MFC after:	3 days
2010-09-28 22:30:11 +00:00
Gavin Atkinson
86893cf0d5 Merge r114010 of head/usr.bin/login/login.c into PicoBSD's login.c:
Correct the login.conf variable name used for obtaining the login prompt.

PR:		conf/44717 (indirectly)
Spotted by:	gcooper
MFC after:	1 week
2010-08-08 16:55:27 +00:00
Gavin Atkinson
84f583c47e Correct two error messages to match the failure they are reporting.
MFC after:	1 week
2010-08-08 16:20:32 +00:00
Luigi Rizzo
d47335eec9 add some modern stuff: SMP, SCHED_ULE, PREEMPTION
and support for VIMAGE
2010-07-15 16:32:59 +00:00
Luigi Rizzo
28e1dd4b75 use log instead of logverbose in three places so the build won't need
input to run to completion

MFC after:	3 days
2010-02-14 15:55:30 +00:00