Re: a few OptionalObsoleteFiles.inc improvements

2010-12-18 Thread Ulrich Spörlein
On Fri, 17.12.2010 at 19:35:23 +, Alexander Best wrote:
> On Fri Dec 17 10, Miroslav Lachman wrote:
> > Alexander Best wrote:
> > 
> > [...]
> > 
> > >>I'm glad to see that you're filling in some of the many missing bits
> > >>in this file.
> > >
> > >yet another addition.
> > >
> > >cheers.
> > >alex
> > >
> > > .if ${MK_TCSH} == no
> > 
> > And what about usr/share/skel/dot.cshrc?
> 
> hmm...i'm not sure about that file. if you e.g. add WITHOUT_RCMDS to src.conf
> you still get usr/share/skel/dot.rhosts. i'm not saying dot.cshrc should stay,
> but maybe there are reasons it doesn't get deleted.

Please keep them, there are enough use-cases where you want them
installed to a new users home, no matter what's installed locally (think
NFS homedirs)

Uli
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: a few OptionalObsoleteFiles.inc improvements

2010-12-17 Thread Warner Losh

On 12/17/2010 14:59, Garrett Cooper wrote:

On Fri, Dec 17, 2010 at 11:48 AM, b. f.  wrote:

On 12/17/10, Alexander Best  wrote:

On Tue Dec 14 10, b. f. wrote:

Alexander Best wrote:

...


The last part of your patch reverts a change that Warner Losh made in
r212525 as part of his tbemd project merge.  It's possible that this
change may have been an unintended, but it followed a discussion in
which Warner rejected a related patch proposed by Garrett Cooper,
partly because sysinstall is included in build-tools in Makefile.inc1,
even though some thought that it should not be.  In any event, you
should probably look into that before committing the last part of your
patch.

so is csh, but still you can set WITHOUT_TCSH=true and have a world without
(t)csh.

I'll be more explicit:

Garrett's original patch went a little farther than yours: he also
conditionally removed sysinstall (subject to the use of
WITHOUT_SYSINSTALL) from build-tools in Makefile.inc1, as is done now
under other knobs with sys/modules/aic7xxx/aicasm,
share/syscons/scrnmaps, kerberos5/tools, and rescue/rescue.  That is
primarily what resulted in it being rejected, as no one remembered why
it had been added in:

http://svn.freebsd.org/viewvc/base?view=revision&revision=71238

Subsequently, Warner agreed that it could in fact be removed:

http://lists.freebsd.org/pipermail/freebsd-arch/2010-June/010398.html

However, he didn't remove it, and even later effectively disabled the
WITHOUT_SYSINSTALL knob.  So I'm suggesting that you find out why he
changed his mind (it may have been an oversight), and if sysinstall
really isn't needed, then not only make the changes that you
originally proposed, but also prevent it from being built in the first
place during build-tools, like Garrett did.  (The same should be done
for other parts of that target, too, like the csh bits.)

...


no need to worry i'll commit any changes, since i don't have commit rights.
;)

...or before asking someone else to commit it.

 In the same token I also added needed knobs to remove
pc-sysinstall that wasn't really popular at the time because it had
just been introduced into the tree. I hadn't gone to great lengths to
validate that everything was sane with either a standard build or
release (it would be nice if release could be tuned to use either
pc-sysinstall or sysinstall, but for right now it's tied to
sysinstall).
They weren't popular because there's a lot of churn in the shell scripts 
that are going into the tree.  besides, it is totally stupid to maintain 
two long lists of files in two separate locations.  The amount of 
'bloat' from pc-sysinstall in small enough to make this problem not 
interesting to solve.


Warner
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: a few OptionalObsoleteFiles.inc improvements

2010-12-17 Thread Garrett Cooper
On Fri, Dec 17, 2010 at 11:48 AM, b. f.  wrote:
> On 12/17/10, Alexander Best  wrote:
>> On Tue Dec 14 10, b. f. wrote:
>>> Alexander Best wrote:
>
> ...
>
>>> The last part of your patch reverts a change that Warner Losh made in
>>> r212525 as part of his tbemd project merge.  It's possible that this
>>> change may have been an unintended, but it followed a discussion in
>>> which Warner rejected a related patch proposed by Garrett Cooper,
>>> partly because sysinstall is included in build-tools in Makefile.inc1,
>>> even though some thought that it should not be.  In any event, you
>>> should probably look into that before committing the last part of your
>>> patch.
>>
>> so is csh, but still you can set WITHOUT_TCSH=true and have a world without
>> (t)csh.
>
> I'll be more explicit:
>
> Garrett's original patch went a little farther than yours: he also
> conditionally removed sysinstall (subject to the use of
> WITHOUT_SYSINSTALL) from build-tools in Makefile.inc1, as is done now
> under other knobs with sys/modules/aic7xxx/aicasm,
> share/syscons/scrnmaps, kerberos5/tools, and rescue/rescue.  That is
> primarily what resulted in it being rejected, as no one remembered why
> it had been added in:
>
> http://svn.freebsd.org/viewvc/base?view=revision&revision=71238
>
> Subsequently, Warner agreed that it could in fact be removed:
>
> http://lists.freebsd.org/pipermail/freebsd-arch/2010-June/010398.html
>
> However, he didn't remove it, and even later effectively disabled the
> WITHOUT_SYSINSTALL knob.  So I'm suggesting that you find out why he
> changed his mind (it may have been an oversight), and if sysinstall
> really isn't needed, then not only make the changes that you
> originally proposed, but also prevent it from being built in the first
> place during build-tools, like Garrett did.  (The same should be done
> for other parts of that target, too, like the csh bits.)
>
> ...
>
>> no need to worry i'll commit any changes, since i don't have commit rights.
>> ;)
>
> ...or before asking someone else to commit it.

In the same token I also added needed knobs to remove
pc-sysinstall that wasn't really popular at the time because it had
just been introduced into the tree. I hadn't gone to great lengths to
validate that everything was sane with either a standard build or
release (it would be nice if release could be tuned to use either
pc-sysinstall or sysinstall, but for right now it's tied to
sysinstall).
Thanks!
-Garrett
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: a few OptionalObsoleteFiles.inc improvements

2010-12-17 Thread b. f.
On 12/17/10, Alexander Best  wrote:
> On Tue Dec 14 10, b. f. wrote:
>> Alexander Best wrote:

...

>> The last part of your patch reverts a change that Warner Losh made in
>> r212525 as part of his tbemd project merge.  It's possible that this
>> change may have been an unintended, but it followed a discussion in
>> which Warner rejected a related patch proposed by Garrett Cooper,
>> partly because sysinstall is included in build-tools in Makefile.inc1,
>> even though some thought that it should not be.  In any event, you
>> should probably look into that before committing the last part of your
>> patch.
>
> so is csh, but still you can set WITHOUT_TCSH=true and have a world without
> (t)csh.

I'll be more explicit:

Garrett's original patch went a little farther than yours: he also
conditionally removed sysinstall (subject to the use of
WITHOUT_SYSINSTALL) from build-tools in Makefile.inc1, as is done now
under other knobs with sys/modules/aic7xxx/aicasm,
share/syscons/scrnmaps, kerberos5/tools, and rescue/rescue.  That is
primarily what resulted in it being rejected, as no one remembered why
it had been added in:

http://svn.freebsd.org/viewvc/base?view=revision&revision=71238

Subsequently, Warner agreed that it could in fact be removed:

http://lists.freebsd.org/pipermail/freebsd-arch/2010-June/010398.html

However, he didn't remove it, and even later effectively disabled the
WITHOUT_SYSINSTALL knob.  So I'm suggesting that you find out why he
changed his mind (it may have been an oversight), and if sysinstall
really isn't needed, then not only make the changes that you
originally proposed, but also prevent it from being built in the first
place during build-tools, like Garrett did.  (The same should be done
for other parts of that target, too, like the csh bits.)

...

> no need to worry i'll commit any changes, since i don't have commit rights.
> ;)

...or before asking someone else to commit it.

b.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: a few OptionalObsoleteFiles.inc improvements

2010-12-17 Thread Alexander Best
On Fri Dec 17 10, Miroslav Lachman wrote:
> Alexander Best wrote:
> 
> [...]
> 
> >>I'm glad to see that you're filling in some of the many missing bits
> >>in this file.
> >
> >yet another addition.
> >
> >cheers.
> >alex
> >
> > .if ${MK_TCSH} == no
> 
> And what about usr/share/skel/dot.cshrc?

hmm...i'm not sure about that file. if you e.g. add WITHOUT_RCMDS to src.conf
you still get usr/share/skel/dot.rhosts. i'm not saying dot.cshrc should stay,
but maybe there are reasons it doesn't get deleted.

cheers.
alex

> 
> Miroslav Lachman

-- 
a13x
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: a few OptionalObsoleteFiles.inc improvements

2010-12-17 Thread Miroslav Lachman

Alexander Best wrote:

[...]


I'm glad to see that you're filling in some of the many missing bits
in this file.


yet another addition.

cheers.
alex

>
> .if ${MK_TCSH} == no

And what about usr/share/skel/dot.cshrc?

Miroslav Lachman
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: a few OptionalObsoleteFiles.inc improvements

2010-12-17 Thread Alexander Best
On Tue Dec 14 10, b. f. wrote:
> Alexander Best wrote:
> 
> >any thoughts on this patch? it adds files which will be removed when
> >WITHOUT_SYSCONS is set. also it makes sure sysinstall(8) and sade(8) only get
> >installed when WITHOUT_SYSINSTALL wasn't defined and also that any related
> >executables and manual pages get removed if in fact that var is defined.
> 
> ...
> 
> >diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
> >index f3e853e..2151868 100644
> >--- a/usr.sbin/Makefile
> >+++ b/usr.sbin/Makefile
> >@@ -250,7 +250,6 @@ SUBDIR+=ftp-proxy
> > SUBDIR+=   pkg_install
> > .endif
> >
> >-# XXX MK_TOOLCHAIN?
> > .if ${MK_PMC} != "no"
> > SUBDIR+=   pmcannotate
> > SUBDIR+=   pmccontrol
> >@@ -283,7 +282,9 @@ SUBDIR+=praliases
> > SUBDIR+=   sendmail
> > .endif
>  >
> >+.if ${MK_SYSINSTALL} != "no"
> > SUBDIR+=   sysinstall
> >+.endif
> 
> I'm glad to see that you're filling in some of the many missing bits
> in this file.

yet another addition.

cheers.
alex

> 
> The last part of your patch reverts a change that Warner Losh made in
> r212525 as part of his tbemd project merge.  It's possible that this
> change may have been an unintended, but it followed a discussion in
> which Warner rejected a related patch proposed by Garrett Cooper,
> partly because sysinstall is included in build-tools in Makefile.inc1,
> even though some thought that it should not be.  In any event, you
> should probably look into that before committing the last part of your
> patch.
> 
> b.

-- 
a13x
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc 
b/tools/build/mk/OptionalObsoleteFiles.inc
index db8251c..ece6af9 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -2232,6 +2232,9 @@ OLD_FILES+=usr/share/sendmail/cf/siteconfig/uucp.ucbvax.m4
 .if ${MK_TCSH} == no
 OLD_FILES+=bin/csh
 OLD_FILES+=bin/tcsh
+OLD_FILES+=etc/csh.cshrc
+OLD_FILES+=etc/csh.login
+OLD_FILES+=etc/csh.logout
 OLD_FILES+=rescue/csh
 OLD_FILES+=rescue/tcsh
 OLD_FILES+=usr/share/examples/tcsh/complete.tcsh
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: a few OptionalObsoleteFiles.inc improvements

2010-12-17 Thread Alexander Best
On Tue Dec 14 10, Bruce Cran wrote:
> On Tue, 14 Dec 2010 04:47:39 +
> "b. f."  wrote:
> 
> > The last part of your patch reverts a change that Warner Losh made in
> > r212525 as part of his tbemd project merge.  It's possible that this
> > change may have been an unintended, but it followed a discussion in
> > which Warner rejected a related patch proposed by Garrett Cooper,
> > partly because sysinstall is included in build-tools in Makefile.inc1,
> > even though some thought that it should not be.  In any event, you
> > should probably look into that before committing the last part of your
> > patch.
> 
> I'm wondering if people might be surprised to find sade gone if they
> set WITHOUT_SYSINSTALL - one's an installer, the other a partitioning
> program.

that's a good argument. so WITHOUT_SYSINSTALL mustn't affect sade.

cheers.
alex

> 
> -- 
> Bruce Cran

-- 
a13x
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: a few OptionalObsoleteFiles.inc improvements

2010-12-17 Thread Alexander Best
On Tue Dec 14 10, b. f. wrote:
> Alexander Best wrote:
> 
> >any thoughts on this patch? it adds files which will be removed when
> >WITHOUT_SYSCONS is set. also it makes sure sysinstall(8) and sade(8) only get
> >installed when WITHOUT_SYSINSTALL wasn't defined and also that any related
> >executables and manual pages get removed if in fact that var is defined.
> 
> ...
> 
> >diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
> >index f3e853e..2151868 100644
> >--- a/usr.sbin/Makefile
> >+++ b/usr.sbin/Makefile
> >@@ -250,7 +250,6 @@ SUBDIR+=ftp-proxy
> > SUBDIR+=   pkg_install
> > .endif
> >
> >-# XXX MK_TOOLCHAIN?
> > .if ${MK_PMC} != "no"
> > SUBDIR+=   pmcannotate
> > SUBDIR+=   pmccontrol
> >@@ -283,7 +282,9 @@ SUBDIR+=praliases
> > SUBDIR+=   sendmail
> > .endif
>  >
> >+.if ${MK_SYSINSTALL} != "no"
> > SUBDIR+=   sysinstall
> >+.endif
> 
> I'm glad to see that you're filling in some of the many missing bits
> in this file.
> 
> The last part of your patch reverts a change that Warner Losh made in
> r212525 as part of his tbemd project merge.  It's possible that this
> change may have been an unintended, but it followed a discussion in
> which Warner rejected a related patch proposed by Garrett Cooper,
> partly because sysinstall is included in build-tools in Makefile.inc1,
> even though some thought that it should not be.  In any event, you
> should probably look into that before committing the last part of your
> patch.

so is csh, but still you can set WITHOUT_TCSH=true and have a world without
(t)csh.

no need to worry i'll commit any changes, since i don't have commit rights. ;)

cheers.
alex

> 
> b.

-- 
a13x
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: a few OptionalObsoleteFiles.inc improvements

2010-12-14 Thread Bruce Cran
On Tue, 14 Dec 2010 04:47:39 +
"b. f."  wrote:

> The last part of your patch reverts a change that Warner Losh made in
> r212525 as part of his tbemd project merge.  It's possible that this
> change may have been an unintended, but it followed a discussion in
> which Warner rejected a related patch proposed by Garrett Cooper,
> partly because sysinstall is included in build-tools in Makefile.inc1,
> even though some thought that it should not be.  In any event, you
> should probably look into that before committing the last part of your
> patch.

I'm wondering if people might be surprised to find sade gone if they
set WITHOUT_SYSINSTALL - one's an installer, the other a partitioning
program.

-- 
Bruce Cran
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: a few OptionalObsoleteFiles.inc improvements

2010-12-13 Thread b. f.
Alexander Best wrote:

>any thoughts on this patch? it adds files which will be removed when
>WITHOUT_SYSCONS is set. also it makes sure sysinstall(8) and sade(8) only get
>installed when WITHOUT_SYSINSTALL wasn't defined and also that any related
>executables and manual pages get removed if in fact that var is defined.

...

>diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
>index f3e853e..2151868 100644
>--- a/usr.sbin/Makefile
>+++ b/usr.sbin/Makefile
>@@ -250,7 +250,6 @@ SUBDIR+=ftp-proxy
> SUBDIR+=   pkg_install
> .endif
>
>-# XXX MK_TOOLCHAIN?
> .if ${MK_PMC} != "no"
> SUBDIR+=   pmcannotate
> SUBDIR+=   pmccontrol
>@@ -283,7 +282,9 @@ SUBDIR+=praliases
> SUBDIR+=   sendmail
> .endif
 >
>+.if ${MK_SYSINSTALL} != "no"
> SUBDIR+=   sysinstall
>+.endif

I'm glad to see that you're filling in some of the many missing bits
in this file.

The last part of your patch reverts a change that Warner Losh made in
r212525 as part of his tbemd project merge.  It's possible that this
change may have been an unintended, but it followed a discussion in
which Warner rejected a related patch proposed by Garrett Cooper,
partly because sysinstall is included in build-tools in Makefile.inc1,
even though some thought that it should not be.  In any event, you
should probably look into that before committing the last part of your
patch.

b.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: a few OptionalObsoleteFiles.inc improvements

2010-12-12 Thread Alexander Leidinger
On Sun, 12 Dec 2010 12:21:09 + Alexander Best 
wrote:

> On Sun Dec 12 10, Alexander Leidinger wrote:
> > On Sat, 11 Dec 2010 22:24:17 + Alexander Best
> >  wrote:
> > 
> > > hi there,
> > > 
> > > any thoughts on this patch? it adds files which will be removed
> > > when WITHOUT_SYSCONS is set. also it makes sure sysinstall(8) and
> > > sade(8) only get installed when WITHOUT_SYSINSTALL wasn't defined
> > > and also
> > 
> > Ooops, sorry, I hit the wrong button in my previous mail, it was
> > supposed to go to Alex only. The translation: I think I remember a
> > commit which changed something related to sade recently. I do not
> > remember if it is related to all architectures or only to one.
> > Something to look at...
> 
> this one?
> 
> http://www.mail-archive.com/svn-src-head@freebsd.org/msg08677.html

Yes. So it's not an issue.

Bye,
Alexander.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: a few OptionalObsoleteFiles.inc improvements

2010-12-12 Thread Alexander Best
On Sun Dec 12 10, Alexander Leidinger wrote:
> On Sat, 11 Dec 2010 22:24:17 + Alexander Best 
> wrote:
> 
> > hi there,
> > 
> > any thoughts on this patch? it adds files which will be removed when
> > WITHOUT_SYSCONS is set. also it makes sure sysinstall(8) and sade(8)
> > only get installed when WITHOUT_SYSINSTALL wasn't defined and also
> 
> Ooops, sorry, I hit the wrong button in my previous mail, it was
> supposed to go to Alex only. The translation: I think I remember a
> commit which changed something related to sade recently. I do not
> remember if it is related to all architectures or only to one.
> Something to look at...

this one?

http://www.mail-archive.com/svn-src-head@freebsd.org/msg08677.html

> 
> Bye,
> Alexander.
> 
> > that any related executables and manual pages get removed if in fact
> > that var is defined.
> > 
> > cheers.
> > alex
> > 

-- 
a13x
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: a few OptionalObsoleteFiles.inc improvements

2010-12-12 Thread Alexander Leidinger
On Sat, 11 Dec 2010 22:24:17 + Alexander Best 
wrote:

> hi there,
> 
> any thoughts on this patch? it adds files which will be removed when
> WITHOUT_SYSCONS is set. also it makes sure sysinstall(8) and sade(8)
> only get installed when WITHOUT_SYSINSTALL wasn't defined and also

Ooops, sorry, I hit the wrong button in my previous mail, it was
supposed to go to Alex only. The translation: I think I remember a
commit which changed something related to sade recently. I do not
remember if it is related to all architectures or only to one.
Something to look at...

Bye,
Alexander.

> that any related executables and manual pages get removed if in fact
> that var is defined.
> 
> cheers.
> alex
> 

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: a few OptionalObsoleteFiles.inc improvements

2010-12-12 Thread Alexander Leidinger
On Sat, 11 Dec 2010 22:24:17 + Alexander Best 
wrote:

> hi there,
> 
> any thoughts on this patch? it adds files which will be removed when
> WITHOUT_SYSCONS is set. also it makes sure sysinstall(8) and sade(8)
> only get installed when WITHOUT_SYSINSTALL wasn't defined and also

Gab es nicht "gerade" einen commit der sade von sysinstall unabhängig
installiert? Kann auch sein, dass es nur ein commit war der für eine
bestimmte Architektur sade nun auch installiert...

Bye,
Alexander.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


a few OptionalObsoleteFiles.inc improvements

2010-12-11 Thread Alexander Best
hi there,

any thoughts on this patch? it adds files which will be removed when
WITHOUT_SYSCONS is set. also it makes sure sysinstall(8) and sade(8) only get
installed when WITHOUT_SYSINSTALL wasn't defined and also that any related
executables and manual pages get removed if in fact that var is defined.

cheers.
alex

-- 
a13x
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index b7747d8..2ab7fc7 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -414,7 +414,6 @@ MAN=aac.4 \
sym.4 \
syncache.4 \
syncer.4 \
-   syscons.4 \
sysmouse.4 \
tap.4 \
targ.4 \
@@ -611,7 +610,6 @@ MLINKS+=ste.4 if_ste.4
 MLINKS+=stf.4 if_stf.4
 MLINKS+=stge.4 if_stge.4
 MLINKS+=syncache.4 syncookies.4
-MLINKS+=syscons.4 sc.4
 MLINKS+=tap.4 if_tap.4
 MLINKS+=tdfx.4 tdfx_linux.4
 MLINKS+=ti.4 if_ti.4
@@ -637,6 +635,11 @@ MLINKS+=xe.4 if_xe.4
 MLINKS+=xl.4 if_xl.4
 MLINKS+=zyd.4 if_zyd.4
 
+.if ${MK_SYSCONS} != "no"
+MAN+=  syscons.4
+MLINKS+=syscons.4 sc.4
+.endif
+
 .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
 _acpi_asus.4=  acpi_asus.4
 _acpi_dock.4=  acpi_dock.4
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc 
b/tools/build/mk/OptionalObsoleteFiles.inc
index db8251c..91b3cbf 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -1943,7 +1943,7 @@ OLD_FILES+=usr/lib/libz_p.a
 
 .if ${MK_RCMDS} == no
 OLD_FILES+=bin/rcp
-OLD_FILES+=etc/periodic/daily/140.clean-rwho 
+OLD_FILES+=etc/periodic/daily/140.clean-rwho
 OLD_FILES+=etc/periodic/daily/430.status-rwho
 OLD_FILES+=rescue/rcp
 OLD_FILES+=usr/bin/rlogin
@@ -2226,9 +2226,196 @@ 
OLD_FILES+=usr/share/sendmail/cf/siteconfig/uucp.ucbvax.m4
 #.endif
 
 #.if ${MK_SYSCONS} == no
-# to be filled in
+OLD_FILES+=share/man/man4/sc.4.gz
+OLD_FILES+=share/man/man4/syscons.4.gz
+OLD_FILES+=share/syscons/fonts/INDEX.fonts
+OLD_FILES+=share/syscons/fonts/armscii8-8x14.fnt
+OLD_FILES+=share/syscons/fonts/armscii8-8x16.fnt
+OLD_FILES+=share/syscons/fonts/armscii8-8x8.fnt
+OLD_FILES+=share/syscons/fonts/cp1251-8x14.fnt
+OLD_FILES+=share/syscons/fonts/cp1251-8x16.fnt
+OLD_FILES+=share/syscons/fonts/cp1251-8x8.fnt
+OLD_FILES+=share/syscons/fonts/cp437-8x14.fnt
+OLD_FILES+=share/syscons/fonts/cp437-8x16.fnt
+OLD_FILES+=share/syscons/fonts/cp437-8x8.fnt
+OLD_FILES+=share/syscons/fonts/cp437-thin-8x16.fnt
+OLD_FILES+=share/syscons/fonts/cp437-thin-8x8.fnt
+OLD_FILES+=share/syscons/fonts/cp850-8x14.fnt
+OLD_FILES+=share/syscons/fonts/cp850-8x16.fnt
+OLD_FILES+=share/syscons/fonts/cp850-8x8.fnt
+OLD_FILES+=share/syscons/fonts/cp850-thin-8x16.fnt
+OLD_FILES+=share/syscons/fonts/cp850-thin-8x8.fnt
+OLD_FILES+=share/syscons/fonts/cp865-8x14.fnt
+OLD_FILES+=share/syscons/fonts/cp865-8x16.fnt
+OLD_FILES+=share/syscons/fonts/cp865-8x8.fnt
+OLD_FILES+=share/syscons/fonts/cp865-thin-8x16.fnt
+OLD_FILES+=share/syscons/fonts/cp865-thin-8x8.fnt
+OLD_FILES+=share/syscons/fonts/cp866-8x14.fnt
+OLD_FILES+=share/syscons/fonts/cp866-8x16.fnt
+OLD_FILES+=share/syscons/fonts/cp866-8x8.fnt
+OLD_FILES+=share/syscons/fonts/cp866b-8x16.fnt
+OLD_FILES+=share/syscons/fonts/cp866c-8x16.fnt
+OLD_FILES+=share/syscons/fonts/cp866u-8x14.fnt
+OLD_FILES+=share/syscons/fonts/cp866u-8x16.fnt
+OLD_FILES+=share/syscons/fonts/cp866u-8x8.fnt
+OLD_FILES+=share/syscons/fonts/haik8-8x14.fnt
+OLD_FILES+=share/syscons/fonts/haik8-8x16.fnt
+OLD_FILES+=share/syscons/fonts/haik8-8x8.fnt
+OLD_FILES+=share/syscons/fonts/iso-8x14.fnt
+OLD_FILES+=share/syscons/fonts/iso-8x16.fnt
+OLD_FILES+=share/syscons/fonts/iso-8x8.fnt
+OLD_FILES+=share/syscons/fonts/iso-thin-8x16.fnt
+OLD_FILES+=share/syscons/fonts/iso02-8x14.fnt
+OLD_FILES+=share/syscons/fonts/iso02-8x16.fnt
+OLD_FILES+=share/syscons/fonts/iso02-8x8.fnt
+OLD_FILES+=share/syscons/fonts/iso04-8x14.fnt
+OLD_FILES+=share/syscons/fonts/iso04-8x16.fnt
+OLD_FILES+=share/syscons/fonts/iso04-8x8.fnt
+OLD_FILES+=share/syscons/fonts/iso04-vga9-8x14.fnt
+OLD_FILES+=share/syscons/fonts/iso04-vga9-8x16.fnt
+OLD_FILES+=share/syscons/fonts/iso04-vga9-8x8.fnt
+OLD_FILES+=share/syscons/fonts/iso04-vga9-wide-8x16.fnt
+OLD_FILES+=share/syscons/fonts/iso04-wide-8x16.fnt
+OLD_FILES+=share/syscons/fonts/iso05-8x14.fnt
+OLD_FILES+=share/syscons/fonts/iso05-8x16.fnt
+OLD_FILES+=share/syscons/fonts/iso05-8x8.fnt
+OLD_FILES+=share/syscons/fonts/iso07-8x14.fnt
+OLD_FILES+=share/syscons/fonts/iso07-8x16.fnt
+OLD_FILES+=share/syscons/fonts/iso07-8x8.fnt
+OLD_FILES+=share/syscons/fonts/iso08-8x14.fnt
+OLD_FILES+=share/syscons/fonts/iso08-8x16.fnt
+OLD_FILES+=share/syscons/fonts/iso08-8x8.fnt
+OLD_FILES+=share/syscons/fonts/iso09-8x16.fnt
+OLD_FILES+=share/syscons/fonts/iso15-8x14.fnt
+OLD_FILES+=share/syscons/fonts/iso15-8x16.fnt
+OLD_FILES+=share/syscons/fonts/iso15-8x8.fnt
+OLD_FILES+=share/syscons/fonts/iso15-thin-8x16.fnt
+OLD_FILES+=share/syscons/fonts/koi8-r-8x14.fnt
+OLD_FILES+=share/syscons/fonts/koi8-r-8x16.fnt
+OLD_FILES+=share/syscons/fonts/koi8-r-8