11d9aa6707
update paths; and include everything in the "base" distribution. The "games" distribution being optional made sense when there were more games and we had small disks; but the "games-like" games were moved into the ports tree a dozen years ago and the remaining "utility-like" games occupy less than 0.001% of my laptop's small hard drive. Meanwhile every new user is confronted by the question "do you want games installed" when they they try to install FreeBSD. The next steps will be: 2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor, morse, number, primes, and random, since there is evidence that those are still being used. 3. Merging src/games into src/usr.bin. This change will not be MFCed. Reviewed by: jmg Discussed at: EuroBSDCon Approved by: gjb (release-affecting changes)
27 lines
774 B
Bash
Executable File
27 lines
774 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# make-manifest.sh: create checksums and package descriptions for the installer
|
|
#
|
|
# Usage: make-manifest.sh foo1.txz foo2.txz ...
|
|
#
|
|
# The output file looks like this (tab-delimited):
|
|
# foo1.txz SHA256-checksum Number-of-files foo1 Description Install-by-default
|
|
#
|
|
# $FreeBSD$
|
|
|
|
desc_base="Base system (MANDATORY)"
|
|
desc_kernel="Kernel (MANDATORY)"
|
|
desc_doc="Additional documentation"
|
|
doc_default=off
|
|
desc_lib32="32-bit compatibility libraries"
|
|
desc_ports="Ports tree"
|
|
desc_src="System source code"
|
|
desc_tests="Test suite"
|
|
src_default=off
|
|
tests_default=off
|
|
|
|
for i in $*; do
|
|
echo "`basename $i` `sha256 -q $i` `tar tvf $i | wc -l | tr -d ' '` `basename $i .txz` \"`eval echo \\\$desc_$(basename $i .txz)`\" `eval echo \\\${$(basename $i .txz)_default:-on}`"
|
|
done
|
|
|