1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

Remove dcons, dcons was integrated to FreeBSD system.

Pointed out by:	bento via kris
Suggested by:	simokawa (developper)
This commit is contained in:
Norikatsu Shigemura 2004-01-28 16:41:56 +00:00
parent 5ddd771fd6
commit 94f8dfe2b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99324
9 changed files with 0 additions and 146 deletions

View File

@ -172,7 +172,6 @@
SUBDIR += cxxtest
SUBDIR += darcs
SUBDIR += darts
SUBDIR += dcons
SUBDIR += ddd
SUBDIR += decompyle
SUBDIR += devhelp

View File

@ -1,65 +0,0 @@
# New ports collection makefile for: dcons
# Date created: 2003/05/25
# Whom: nork@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= dcons
PORTVERSION= 20031025
PORTREVISION= 0
CATEGORIES= devel sysutils
MASTER_SITES= http://people.FreeBSD.org/~simokawa/firewire/
MAINTAINER= nork@FreeBSD.org
COMMENT= Dumb CONSole device driver
NO_WRKSUBDIR= yes
MANCOMPRESSED= yes
MAN4= dcons.4 dcons_crom.4
MAN8= dconschat.8
PKGMESSAGE= ${WRKSRC}/pkg-message
.include <bsd.port.pre.mk>
KMODDIR= ${PREFIX}/lib/dcons
MAKE_ENV= KMODDIR=${KMODDIR} \
BINDIR=${PREFIX}/sbin \
MANDIR=${MANPREFIX}/man/man
MKNOD?= /sbin/mknod
MAKEDEV= /dev/MAKEDEV
DCONS_DEV= /dev/dcons
DCONS_MAJOR= 184
DCONS_MINOR= 0
DCONS_MODE= 0622
PLIST_SUB= KMODDIR=${KMODDIR} MKNOD=${MKNOD} MAKEDEV=${MAKEDEV} \
DCONS_DEV=${DCONS_DEV} \
DCONS_MAJOR=${DCONS_MAJOR} DCONS_MINOR=${DCONS_MINOR} \
DCONS_MODE=${DCONS_MODE}
post-extract:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
@${CP} ${FILESDIR}/share::man::man4::Makefile \
${WRKSRC}/share/man/man4/Makefile
post-build:
@${SED} "s,%%DOCSDIR%%,${DOCSDIR}," \
${.CURDIR}/pkg-message > ${PKGMESSAGE}
pre-install:
@${MKDIR} ${PREFIX}/lib/dcons
@${INSTALL_SCRIPT} ${FILESDIR}/dcons.sh ${PREFIX}/etc/rc.d/
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README.dcons ${DOCSDIR}/
@${INSTALL_DATA} ${WRKSRC}/usr.sbin/dconschat/gdb-usage ${DOCSDIR}/
if [ -x ${MAKEDEV} ]; then \
${RM} -f ${DCONS_DEV}; \
${MKNOD} ${DCONS_DEV} c ${DCONS_MAJOR} ${DCONS_MINOR}; \
${CHMOD} ${DCONS_MODE} ${DCONS_DEV}; \
fi
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -1 +0,0 @@
MD5 (dcons-20031025.tar.gz) = d05c3927189652b3982498ec5e98da55

View File

@ -1,5 +0,0 @@
# $FreeBSD$
SUBDIR= sys/modules/dcons sys/modules/dcons_crom usr.sbin/dconschat share/man/man4
.include <bsd.subdir.mk>

View File

@ -1,38 +0,0 @@
#!/bin/sh
if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/${0##*/}\$"); then
echo "$0: Cannot determine the PREFIX" >&2
exit 64
fi
if [ -r /etc/defaults/rc.conf ]; then
. /etc/defaults/rc.conf
source_rc_confs
elif [ -r /etc/rc.conf ]; then
. /etc/rc.conf
fi
case "$1" in
start)
case ${dcons_enable:-NO} in
[Yy][Ee][Ss])
/sbin/kldload ${PREFIX}/lib/dcons/dcons.ko && echo -n ' dcons'
/sbin/kldload ${PREFIX}/lib/dcons/dcons_crom.ko && echo -n ' dcons_crom'
/usr/sbin/fwcontrol -r
;;
esac
;;
stop)
case ${dcons_enable:-NO} in
[Yy][Ee][Ss])
/sbin/kldunload dcons & echo -n ' dcons'
/sbin/kldunload dcons_crom & echo -n ' dcons_crom'
;;
esac
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
;;
esac
exit 0

View File

@ -1,3 +0,0 @@
MAN= dcons.4 dcons_crom.4
.include <bsd.prog.mk>

View File

@ -1,6 +0,0 @@
For a replacement of the serial console, this framework exploits
physical access faculty of the IEEE1394 OHCI chip(fwochi(4)).
Please note dcons(4) is device(FireWire)-independent by itself
(And almost platform independent).
WWW: http://people.freebsd.org/~simokawa/firewire/dcons-cbug-20030517/

View File

@ -1,15 +0,0 @@
Though dcons(4) is loaded as a modules by default in this port,
I recommend you to link it to kernel statically for several
reasons especially when used with gdb.
On -current, thanks to multiple console device support(conscontrol(8)),
we can use both syscons(4) and dcons(4) as console and DDB port at the
same time.
On -stable, because only one console device is allowed, we have to
hijack the console port from syscons(4) to use dcons(4) as the
console. (Define FORCE_CONSOLE to 1 in dcons.c for this.) Even it
is not used as console, it can still be used as GDB(not DDB) port.
See %%DOCSDIR%%/README.dcons and manpage of dcons(4)
and dconschat(8) for details.

View File

@ -1,12 +0,0 @@
sbin/dconschat
@unexec [ -f %%MAKEDEV%% ] && /bin/rm -f %%DCONS_DEV%% || true
@unexec /bin/rm -f %D/lib/dcons/linker.hints
lib/dcons/dcons.ko
lib/dcons/dcons_crom.ko
@exec type kldxref > /dev/null 2>&1 && kldxref %D/lib/dcons
@exec [ -f %%MAKEDEV%% ] && /bin/rm -f %%DCONS_DEV%%; %%MKNOD%% %%DCONS_DEV%% c %%DCONS_MAJOR%% %%DCONS_MINOR%%; /bin/chmod %%DCONS_MODE%% || true
etc/rc.d/dcons.sh
%%DOCSDIR%%/gdb-usage
%%DOCSDIR%%/README.dcons
@dirrm lib/dcons
@dirrm %%DOCSDIR%%