Teach source installation shell script and sysinstall(8) about

the 'scompat' source dist that holds src/compat/.

Reported by:	Mars G Miro
This commit is contained in:
ru 2007-11-09 08:50:02 +00:00
parent e38a58a81f
commit 00bdd701b8
4 changed files with 8 additions and 4 deletions

View File

@ -11,8 +11,8 @@ if [ $# -lt 1 ]; then
echo "You must specify which components of src to extract"
echo "possible subcomponents are:"
echo
echo "base bin cddl contrib crypto etc games gnu include krb5 lib"
echo "libexec release rescue sbin secure share sys tools ubin"
echo "base bin cddl compat contrib crypto etc games gnu include krb5"
echo "lib libexec release rescue sbin secure share sys tools ubin"
echo "usbin"
echo
echo "You may also specify all to extract all subcomponents."
@ -20,7 +20,7 @@ if [ $# -lt 1 ]; then
fi
if [ "$1" = "all" ]; then
dists="base bin cddl contrib crypto etc games gnu include krb5 lib libexec release rescue sbin secure share sys tools ubin usbin"
dists="base bin cddl compat contrib crypto etc games gnu include krb5 lib libexec release rescue sbin secure share sys tools ubin usbin"
else
dists="$*"
fi

View File

@ -109,6 +109,7 @@ static Distribution KernelDistTable[] = {
static Distribution SrcDistTable[] = {
DTE_TARBALL("sbase", &SrcDists, SRC_BASE, "/usr/src"),
DTE_TARBALL("scddl", &SrcDists, SRC_CDDL, "/usr/src"),
DTE_TARBALL("scompat", &SrcDists, SRC_COMPAT, "/usr/src"),
DTE_TARBALL("scontrib", &SrcDists, SRC_CONTRIB, "/usr/src"),
DTE_TARBALL("scrypto", &SrcDists, SRC_SCRYPTO, "/usr/src"),
DTE_TARBALL("sgnu", &SrcDists, SRC_GNU, "/usr/src"),

View File

@ -44,7 +44,8 @@
#define DIST_SRC_SKERBEROS5 0x40000
#define DIST_SRC_RESCUE 0x80000
#define DIST_SRC_CDDL 0x100000
#define DIST_SRC_ALL 0x1FFFFF
#define DIST_SRC_COMPAT 0x200000
#define DIST_SRC_ALL 0x3FFFFF
/* Subtypes for X.Org packages */
#define DIST_XORG_APPS 0x000001

View File

@ -1066,6 +1066,8 @@ DMenu MenuSrcDistributions = {
dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_BASE },
{ " cddl", "/usr/src/cddl (software from Sun)",
dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_CDDL },
{ " compat", "/usr/src/compat (compatibility software)",
dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_COMPAT },
{ " contrib", "/usr/src/contrib (contributed software)",
dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_CONTRIB },
{ " crypto", "/usr/src/crypto (contrib encryption sources)",