Commit Graph

636 Commits

Author SHA1 Message Date
Peter Wemm
9886bcdf93 Merge into a single US-exportable libcrypt, which only provides
one-way hash functions for authentication purposes.  There is no more
"set the libcrypt->libXXXcrypt" nightmare.
- Undo the libmd.so hack, use -D to hide the md5c.c internals.
- Remove the symlink hacks in release/Makefile
- the algorthm is set by set_crypt_format() as before.  If this is
  not called, it tries to heuristically figure out the hash format, and
  if all else fails, it uses the optional auth.conf entry to chose the
  overall default hash.
- Since source has non-hidden crypto in it there may be some issues with
  having the source it in some countries, so preserve the "secure/*"
  division.  You can still build a des-free libcrypt library if you want
  to badly enough.  This should not be a problem in the US or exporting
  from the US as freebsd.org had notified BXA some time ago.  That makes
  this stuff re-exportable by anyone.
- For consistancy, the default in absence of any other clues is md5.  This
  is to try and minimize POLA across buildworld where folk may suddenly
  be activating des-crypt()-hash support.  Since the des hash may not
  always be present, it seemed sensible to make the stronger md5 algorithm
  the default.
All things being equal, no functionality is lost.

Reviewed-by: jkh

(flame-proof suit on)
2000-12-28 10:32:02 +00:00
Marcel Moolenaar
0a0743b52a Fix release, broken by the perl cross-build fixes.
The distribute target is basicly the same as an install. For
perl, this means that miniperl is needed. Since miniperl is
only present in the object directory, we need to make sure
the path is set correctly. To do this, we have make release
use a new distribworld target that sets the path before doing
a make distribute.
2000-11-21 04:37:30 +00:00
Jordan K. Hubbard
5be3b5d994 Stop using AUXRELEASETAG for everything and use PORTSRELEASETAG and
DOCRELEASETAG in the appropriate places instead.

Submitted by:	asami
2000-11-12 11:04:11 +00:00
Jordan K. Hubbard
c8d2a747a4 MFS: comment character and readability fixes. 2000-11-05 22:49:15 +00:00
Don Lewis
937d0d5119 Ignore chflags failure so that doMFSKERN won't abort on an NFS mounted
filesystem.
2000-11-05 15:38:05 +00:00
Don Lewis
d777543987 Change MAKEDEV so that it prepends /sbin:/bin to $PATH instead of totally
overwriting $PATH, and find mknod $PATH instead of hardcoding /sbin so
that the copy of MAKEDEV on the fixit floppy is usable, since mknod and
expr live in /mnt2/stand when the fixit floppy is running.

Get rid of the sed invokation in release/Makefile that attempts to
delete the PATH setting stuff from MAKEDEV on the fixit floppy.  This
hasn't worked since a long ago change to MAKEDEV caused the sed
expression to no longer match.

PR:		misc/21241
2000-11-05 15:34:58 +00:00
Tatsumi Hosokawa
6415544bf7 Better way to ensure vn.ko is loaded.
This does not affect the kernel that vn is linked statically.
2000-11-02 15:14:27 +00:00
Tatsumi Hosokawa
caab6fc8a5 Revert 1.574 (maybe dummy vnconfig is better)
Requested by:	jkh@FreeBSD.org
2000-11-02 13:22:25 +00:00
Tatsumi Hosokawa
bbe6d0827c Merge from RELENG_4 (1.536.2.24 to 1.536.2.25).
Ensure vn.ko is loaded.

Submitted by:	obrien@FreeBSD.org
2000-11-02 12:29:22 +00:00
Tatsumi Hosokawa
b98c5f70ff Moved driver modules for some PCI NICs and PCCARD-only NICs to mfsroot.flp.
http://people.freebsd.org/~hosokawa/driver-floppy/ for details.

Reviewed by:	current@FreeBSD.org
2000-10-31 07:39:07 +00:00
John W. De Boskey
04063000a5 Always need to 'load /kernel', it's the 'read' that needs to
be isolated out for the 2 floppy install.

5.0-20001026-SNAP cdrom now boots correctly.

Reviewed by:	Mike Smith <msmith@FreeBSD.org>
2000-10-26 15:22:47 +00:00
David E. O'Brien
9e239bc22f Remove /boot/boot[12] from the MFS installation floppies.
This saves us 8KB.

Submitted by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
Reviewed by:	jhb
2000-10-24 19:05:39 +00:00
Gregory Neil Shapiro
85e427cc94 Fix up the build for the STARTTLS version of sendmail (again). This method
mimics that of tcpdump in that for normal builds, sendmail will only be
built once.  For 'make release', it is built once for the bin dist and
once for the crypto dist.  This method also removes the need for two separate
Makefiles (which could become out of sync).

Suggested by: bde
Assisted by: kris
2000-10-24 16:04:56 +00:00
Gregory Neil Shapiro
a4799e4431 Remove obsolete setting. The directory src/usr.sbin/sendmail/cf hasn't
existing since sendmail was moved to contrib.  Also, we now provide the cf
subdirectory in /usr/share/sendmail/cf/.
2000-10-22 05:57:50 +00:00
David E. O'Brien
a00533ec57 Seems ${RD}/trees/bin/boot/kernel can exist before the `release.6:' target
runs.  So perform a copy that take that into account.
2000-10-07 05:52:41 +00:00
David E. O'Brien
a8730a56d3 This change adds:
/boot/GENERIC/kernel
    /boot/kernel/kernel
    /boot/kernel/*.ko
and removes:
    /kernel.GENERIC
from the bin dist.

Approved by:	jkh
2000-10-05 06:51:56 +00:00
John Baldwin
281ec158d7 - Revert gratuitous reinstall -> install change in previous commit.
- Don't try to build modules when compiling a kernel during release.
2000-09-07 16:51:23 +00:00
David E. O'Brien
2440c807a3 The kernel is now known as `kernel.ko' and it and its matching modules
live in ``/boot/kernel/''.  So tweak the release build to match previous
assumptions and expectations.
2000-09-07 05:52:43 +00:00
John Baldwin
08945429b9 Revert back to the previous i-node values for the fixit floppy. 2000-08-28 23:16:14 +00:00
John Hay
b102f2e18e The fixit floppy needs a few more inodes. 2000-08-28 14:25:53 +00:00
Jordan K. Hubbard
4dddeb4900 Use consistent timezone so date information can be meaningfully compared. 2000-08-22 09:43:12 +00:00
John Baldwin
9999fb1546 Touch ftp.1 and cdrom.1 when those stages are done to speed up make
rerelease when a release dies very late.
2000-08-21 22:42:09 +00:00
Yoshihiro Takahashi
b0976c1455 Decrease the size of mfsroot.flp for PC-98 to 1.2MB. 2000-08-16 09:30:47 +00:00
Yoshihiro Takahashi
7920b17f9a - Make both 1.2MB and 1.44MB floppy images for PC-98.
- Rename BIGBOOT to FDSIZE for the floppy image size.
2000-08-12 14:21:33 +00:00
Jordan K. Hubbard
ce144400b0 Fix a paste-o error which broke the build
Pointy-hat to:	jhb
2000-07-26 12:19:14 +00:00
John Baldwin
dc2475c540 Take a lesson from picoBSD: symlink /bin and /sbin to /stand in the mfsroot
and install dhclient-script in stand/.
2000-07-26 04:28:21 +00:00
John Baldwin
1596ed11ca Grrr, build a non-crypto version of tcpdump to stick in the bin distribution.
Submitted by:	kris
2000-07-25 22:30:09 +00:00
Jordan K. Hubbard
b81dd6afa5 Actually make the date printing hack work. 2000-07-25 08:16:10 +00:00
Marcel Moolenaar
11017a687b Backout addition of -L switch to mtree. Using -L breaks the
build process in too many cases. Adding mtree to bootstrap-tools
to solve this breaks the upgrade path because mtree needs a
libc that has strtofflags and fflagstostr.
2000-07-23 16:33:00 +00:00
John Baldwin
fff8eb5743 - Don't use quotes for the MD_ROOT_SIZE option when generating the BOOTMFS
kernel config file.
- Add WORLD_FLAGS and KERNEL_FLAGS so you can build world and kernel with
  extra make options such as -jX to speed up release builds.
- When building kernels, allow their hints to tag along, and use this to
  install hints onto the boot floppy.  Since the boot floppy doesn't load
  loader.4th, we have to change device.hints to strip comments and change
  each line to an explicit set command.
2000-07-20 03:07:29 +00:00
Jordan K. Hubbard
4b3d3c6d79 Add descriptive start/stop time information to make release. Now
you can just ``grep >>> release.log'' and get all the highlights.
2000-07-17 04:50:28 +00:00
Andrey A. Chernov
06eaff03b7 Forget to add -L to one mtree call 2000-07-16 08:20:54 +00:00
Andrey A. Chernov
590694fb28 Add -L to mtree calls since default changed back 2000-07-16 08:02:48 +00:00
John Baldwin
d191a99c2e - Add in some sanity checking. If NOPORTS is set but NODOC is not set,
print an error message and die immediately rather than an hour later.
2000-07-14 18:03:32 +00:00
Hajimu UMEMOTO
2931df8a40 IPv6 support.
IPv6 configuration is only done by rtsol.  Does someone really
need manual configuration? :-)
You can specify IPv6 DNS server as well.
We have only one server ftp7.jp.freebsd.org that speaks IPv6
in this time.  ftp7.jp speaks IPv4 as well and also listed as
Japan #7.

Approved by:	jkh
2000-07-14 08:33:10 +00:00
John Baldwin
c27edf93b0 - Build modules with world so that modules are back in the bin dist.
- Small cleanups to kernel installs.
- Don't install kernel.config and loader.config on the boot floppy since
  they haven't been used in quite some time.
2000-07-01 21:48:05 +00:00
Yoshihiro Takahashi
7ec62217f0 - Removed machine dependent directory and command from
src/release/{boot,fixit}_crunch.conf.
- Added machine specific fixit_crunch.conf for PC/AT and PC-98 to
  src/release/$MACHINE.
- Use config file in src/release/$MACHINE if exist. If it does not exist,
  use in src/release.
2000-06-29 13:34:54 +00:00
Alexander Langer
16cca1b2bc Fix doc: RELENG_4 is -stable now.
PR:		19474
Submitted by:	Bruce A. Mah <bmah@cisco.com>
2000-06-23 17:49:54 +00:00
Yoshihiro Takahashi
20ffc587ec Set BASE=5.0 2000-06-23 12:22:08 +00:00
Yoshihiro Takahashi
a40915d750 - Remove obsolete PC-card boot.flp hack. It was for making both PC-card
boot.flp and plain boot.flp.
- Clean up crunchgen related routine.

- Add PC-98 support.
  TODO:
    o Documentation
    o Fix some messages for PC-98
    o Decrease the size of fixit.flp to 1.2MB
    o I18N (See: http://www.jp.FreeBSD.org/BootAsia/index.html)

No response from jkh
2000-06-05 13:17:23 +00:00
Josef Karthauser
3ad254b3de Disable colour support in ls when building the fixit floppy, and make
a note of it in the release Makefile.
2000-06-05 02:25:55 +00:00
Jordan K. Hubbard
ce51a9fcf9 Add a new release variable, AUTO_KEYBOARD_DETECT. If you set it to
1, the -P flag is used on the boot floppies.  If not, don't.  The new
default is to not use it.
2000-06-04 04:41:41 +00:00
Jordan K. Hubbard
50ee7e6c72 Make the ports readmes and foreign docs more optional.
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
2000-06-01 02:43:55 +00:00
John Baldwin
fead5c443b Add USB devices to /dev on the install floppy.
Add usbd.conf to /etc on the install floppy.
2000-05-12 02:58:59 +00:00
John Baldwin
065aa0a04f Actually, overriding DISTFILES at all is just a bad idea, so remove the
variable all together.

PR:		misc/14104
Submitted by:	Don Croyle <croyle@gelemna.ft-wayne.in.us>
2000-05-09 21:21:42 +00:00
John Baldwin
f6ede19c6d Add a DOCDISTFILES variable to point to a directory containing the
distfiles to build the docproj port during release.  Prior to this, the
distfiles were copied froom ${DISTFILES}.  However, if like me, you needed
to store the distfiles in some directory other than /usr/ports/distfiles,
for example /usr/docdistfiles, then when you overrode ${DISTFILES} it broke
the release build when it tried to build docproj port in the chroot'd
release area.  To preserve backwards compatibility, DOCDISTFILES defaults
to the value of DISTFILES.

Ok'd by:	jkh
2000-05-08 22:21:17 +00:00
Jordan K. Hubbard
e0477e7f07 make release builds a bit more error-resistant 2000-04-22 09:00:51 +00:00
Mitsuru IWASAKI
15558ea043 Create mfsfd/etc/defaults/ first before copying etc/defaults/pccard.conf. 2000-04-17 05:13:27 +00:00
Mitsuru IWASAKI
e8bbfc060c Fix the location of pccard.conf,
etc/pccard.conf.sample -> etc/defaults/pccard.conf.

Submitted by:	Makoto MATSUSHITA <matusita@jp.freebsd.org>
2000-04-17 03:09:05 +00:00
Satoshi Asami
3f17d264cd Convert "RELENG_ver_RELEASE" to "RELEASE_ver" and use it to check out
the ports and doc trees.  There is no change if we are not building a
release (i.e., we are not using a tag of the form RELENG_ver_RELEASE
--e.g., a RELENG_ver tag used to build a snapshot).

This should allow the ports and doc freezes during the release cycles
to be somewhat shorter, as commits to those (non-branched) trees can
resume as soon as the tags are laid down.

Reviewed by:	nik
Approved by:	jkh
2000-04-06 10:00:20 +00:00
Jordan K. Hubbard
871b7d1c7f Add USA_RESIDENT to release make variables; can't hurt.
Submitted by:	Tatsumi Hosokawa <hosokawa@itc.keio.ac.jp>
2000-03-12 19:19:31 +00:00
John Hay
0de0036736 Fix a copy and paste error. Make release should be operational again.
Reviewed by:	markm
2000-03-03 20:39:22 +00:00
Jordan K. Hubbard
470f825f69 release glue to support s/des/crypto/
Submitted by:	markm
2000-02-29 11:26:24 +00:00
David E. O'Brien
2a0bb85541 Forgot to setup disc2 (the livefs) for booting also. 2000-01-29 01:15:52 +00:00
David E. O'Brien
2a76df63e2 Setup cdrom/disc1/ for booting in the Alpha case. 2000-01-29 00:26:41 +00:00
David E. O'Brien
873bfb6396 Remove historical vestage from the days when there was 1 boot floppy for
i386 and 2 for the Alpha.

Ok'ed by:	JKH
2000-01-25 07:07:32 +00:00
David E. O'Brien
7b5036eb77 In the "cdrom" target it is best to write to the CDROM stage area, *NOT*
the FTP stage area.
2000-01-24 01:22:30 +00:00
Wilko Bulte
f4da27bf59 missing ] in if at cdrom.1 target 2000-01-23 10:03:21 +00:00
Wilko Bulte
10c6fb3dd8 Check if the various .TXT files exist before trying to copy them.
Oh why did I select a first project that needed to touch release/Makefile..
The fact that my release-building Alpha panics on me does not help either :(
2000-01-22 18:33:24 +00:00
Wilko Bulte
8e0f26e8b8 Allow automatic 'pulling in' of machdep *.TXT files from ./texts/[alpha,i386]
and concat these  to the corresponding generic *.TXT living in ./texts
This is currently aimed at HARDWARE.TXT but works for things like RELNOTES.TXT
too.

Reviewed by: jkh
2000-01-19 22:48:50 +00:00
Poul-Henning Kamp
e3b3872931 Fix !crypto releases once more. 2000-01-16 17:21:28 +00:00
Tatsumi Hosokawa
cb4ec7028b Eliminate PC-card installation floppy and add PC-card support for
generic installation floppy.
2000-01-14 02:17:57 +00:00
Warner Losh
968f82b738 Use GENERIC for both pccard and non-pccard disks now that GENERIC is
(or should be) everything that PCCARD is.
2000-01-10 16:27:32 +00:00
Peter Wemm
23a297f255 - Revert --strip-all of /kernel on a new installed system (it would work
with kld etc just fine, but tracebacks would have less information and
nm /kernel wouldn't be so good).
- Just strip the kernel on the boot disk. This does not affect kld or
module loading, there are two symbol tables in a kernel.  There is the
dynamic linking one (.dynsym+.strtab) with just global symbols and a user
symbol table (.symtab+.strtab) with all symbols.  BTW; objdump lies and
hides the second one.  There's a good half a meg or so that can be saved
from an average kernel by stripping it.
2000-01-10 06:15:43 +00:00
Jordan K. Hubbard
96fc6c7221 Strip even more unneeded symbols.
Suggested by:	peter
2000-01-09 08:23:17 +00:00
Jordan K. Hubbard
e621ac22e9 nuke debugging symbols from kern.flp kernels. 2000-01-03 09:59:37 +00:00
Poul-Henning Kamp
518aacad79 Don't barf on the releasename symlink in the ftp area on make rerelease. 1999-12-22 18:56:14 +00:00
Jordan K. Hubbard
fcc943bc7f Copy the loader.help file to the boot floppy. 1999-12-16 00:58:58 +00:00
Joerg Wunsch
7f047619e3 Step #2 of fixing the fixit floppy.
Kill duplicates for programs that have been in the boot crunched image
as well as on the fixit floppy (pwd, newfs, hostname, test).  Our
space is really too valuable to have them around there twice.  I doubt
pwd needs to be there at all since it's a builtin into sh(1) anyway
(oh, and the same applies to test(1) IIRC), but heck, leave them by
now.

Use the new `fixit' target in MAKEDEV to create the /dev nodes on
the floppy, instead of including the kitchensink...

Finally, tune the values used for creating the floppy.  I currently
end up with

Filesystem  1K-blocks     Used    Avail Capacity iused   ifree  %iused
/dev/vnn0c       1363     1301      -47   104%     368      14    96%

...which is not quite ideal yet, but at least a working configuration
again.
1999-12-14 22:41:09 +00:00
Poul-Henning Kamp
f7c8e61db6 Create a symbolic link in the ftp directory, so that the user can
enter the URL directly to the FTP directory without worrying about
the BUILD_NAME.

Remove some extra quoting in a kernel config file.
1999-11-27 14:32:27 +00:00
Nick Sayer
15ec540290 Reverse order of krb4 and des build so that SRA telnet does not
overwrite Kerberos Telnet.
1999-10-07 22:56:16 +00:00
Poul-Henning Kamp
bc8427c52d Fix building non-crypto releases. 1999-10-03 06:43:57 +00:00
Jordan K. Hubbard
cd8d8dac8c Guard against an rm returning non-zero status.
Noticed by:		Makoto MATSUSHITA
1999-09-23 18:40:54 +00:00
Mark Murray
df3819c1b4 Prepare for K5. 1999-09-19 22:30:39 +00:00
Jordan K. Hubbard
27b5e4fde7 Make trash removals less chatty. 1999-09-19 02:05:52 +00:00
Jordan K. Hubbard
eeeeec707a MF3: various small tweaks. 1999-09-17 09:32:22 +00:00
Jordan K. Hubbard
335d64e6d3 Some minor cosmetics: make mkdir less chatty in the output and stop making /R
magic.
1999-09-16 08:44:22 +00:00
Peter Wemm
9e12711016 Make the fixit floppy 2.88MB as a temporary "solution" to get the nightly
snaps re-running.  This is not a fix.  (The alpha already does this)
1999-09-13 19:06:21 +00:00
Jordan K. Hubbard
75f462f45d Allow flags to be passed to patch when using LOCAL_PATCHES 1999-09-07 20:47:42 +00:00
Jordan K. Hubbard
7114cf8c67 Fix an old reference to the old docs directories. Looks like
this one went completely uncaught for months!

Caught by:	jack <jack@germanium.xtalwind.net>
1999-09-06 03:30:38 +00:00
Jordan K. Hubbard
9a125cb82f MFS: I found a few bogons here which were fixed in -stable (!) but not
-current.
1999-09-04 08:47:15 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Nik Clayton
5916b53ae2 Handle the new Makefile infrastructure in the doc/ repository.
Set ALLLANG to install all the languages, otherwise set DOC_LANG
to just the languages (and encodings) you want to install.

Default to building the html-split (lots of small HTML files, with
links to go between them), html (one big honking HTML file), and plain
text versions of the documentation.  Does not compress any of the docs
prior to doing the installation.

Testing and feedback:   Jack O'Neill <jack@germanium.xtalwind.net>,
Cockups and typos:      nik
1999-08-26 19:50:14 +00:00
Jordan K. Hubbard
96fa877024 I was clearly smoking crack when I committed the change to allow for
architecture-specific docs on the boot floppy and CDROM.  Do it right this
time.

Noticed by:	jhay
1999-08-05 08:37:31 +00:00
Jordan K. Hubbard
85486998be Turn docs back on - ache was very quick. 1999-08-05 01:28:00 +00:00
Jordan K. Hubbard
f37f110dcb Turn docs off by default again - somebody has broken the docproj port. 1999-08-04 17:30:00 +00:00
Jordan K. Hubbard
022090a693 Add INSTALL.TXT back. 1999-07-31 19:15:29 +00:00
Jordan K. Hubbard
733dd2266a Get bpf0 onto the MFS image. 1999-07-20 05:00:00 +00:00
Jordan K. Hubbard
ad183257e6 Another batch of fixes for dhcp support in sysinstall, now dragging
in some code from C. Stone to parse the lease information.  This is still
a WIP and this commit is largely intended to allow others to sync up; the
dhclient code still only works when doing dhcp configuration post-install
and requires a bit more work on the boot floppy before it will truly
work in the minimal bootstrapping role.
1999-07-19 10:06:18 +00:00
Jordan K. Hubbard
bb1bff6dec Miscellaneous fixes for dhcp client support. 1999-07-18 02:20:56 +00:00
Tatsumi Hosokawa
78518611ef Added a short README to PC-card boot.flp directory.
(please check English grammer...:-) )
1999-07-06 13:07:51 +00:00
Tatsumi Hosokawa
0f37309e5c Use #include <pccard_conf.h> instead of -DPCCARD.
Now we don't have to make clean before make boot.flp's.
1999-07-06 09:16:00 +00:00
Tatsumi Hosokawa
ae1ae57486 Exclude CHECKSUM.MD5 itself from CHECKSUM.MD5 in PC-card floppy directory. 1999-07-06 08:24:35 +00:00
Tatsumi Hosokawa
a5986bae8c My last modification for PC-card boot.flp was incomplete, and one more patch
is needed.
This seems a sort of quick-hack, but it's hard to fix it in proper way.
I'll do it later.
1999-07-05 07:15:42 +00:00
Tatsumi Hosokawa
4b861c74b9 make release (actually, make floppies) makes PC-card boot.flp automatically. 1999-07-04 13:31:05 +00:00
Mark Murray
1a95b917f0 Add bits of PAO that are non-controversial.
Submitted by: Tatsumi HOSOKAWA
1999-06-17 19:04:56 +00:00
Jordan K. Hubbard
14870ecf9f Don't put CVS files in ports. It's kinda useful for cvs updating
a ports tree which was installed initially with the system later,
but this is probably not the general case (user CVSups the repository
rather than the checked-out bits) and it's penalizing everyone else
with excessive inode consumption.
1999-05-29 00:42:05 +00:00
Brian Somers
3da2229c1c Use RELENG_3 as an example, not RELENG_2_2. 1999-05-23 20:01:20 +00:00
Poul-Henning Kamp
6c2859940e More crypto bogosity.
(I just built a current snap-shot)
1999-05-16 12:21:54 +00:00
Poul-Henning Kamp
ce737050df INSTALL.TXT is gone in -current (despite what Jordan says :-)
kerberisIV requires crypto as well.
1999-05-16 08:07:34 +00:00