summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/dcons/Makefile65
-rw-r--r--devel/dcons/distinfo1
-rw-r--r--devel/dcons/files/Makefile5
-rw-r--r--devel/dcons/files/dcons.sh38
-rw-r--r--devel/dcons/files/share::man::man4::Makefile3
-rw-r--r--devel/dcons/pkg-descr6
-rw-r--r--devel/dcons/pkg-message15
-rw-r--r--devel/dcons/pkg-plist12
9 files changed, 0 insertions, 146 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 71300418f7ab..8b791eae4dcf 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -172,7 +172,6 @@
SUBDIR += cxxtest
SUBDIR += darcs
SUBDIR += darts
- SUBDIR += dcons
SUBDIR += ddd
SUBDIR += decompyle
SUBDIR += devhelp
diff --git a/devel/dcons/Makefile b/devel/dcons/Makefile
deleted file mode 100644
index 77a83eb7cfe2..000000000000
--- a/devel/dcons/Makefile
+++ /dev/null
@@ -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>
diff --git a/devel/dcons/distinfo b/devel/dcons/distinfo
deleted file mode 100644
index d386ed9a5454..000000000000
--- a/devel/dcons/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (dcons-20031025.tar.gz) = d05c3927189652b3982498ec5e98da55
diff --git a/devel/dcons/files/Makefile b/devel/dcons/files/Makefile
deleted file mode 100644
index 30e1ae7601f4..000000000000
--- a/devel/dcons/files/Makefile
+++ /dev/null
@@ -1,5 +0,0 @@
-# $FreeBSD$
-
-SUBDIR= sys/modules/dcons sys/modules/dcons_crom usr.sbin/dconschat share/man/man4
-
-.include <bsd.subdir.mk>
diff --git a/devel/dcons/files/dcons.sh b/devel/dcons/files/dcons.sh
deleted file mode 100644
index 602934c1384e..000000000000
--- a/devel/dcons/files/dcons.sh
+++ /dev/null
@@ -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
diff --git a/devel/dcons/files/share::man::man4::Makefile b/devel/dcons/files/share::man::man4::Makefile
deleted file mode 100644
index 29d5ec7c0c03..000000000000
--- a/devel/dcons/files/share::man::man4::Makefile
+++ /dev/null
@@ -1,3 +0,0 @@
-MAN= dcons.4 dcons_crom.4
-
-.include <bsd.prog.mk>
diff --git a/devel/dcons/pkg-descr b/devel/dcons/pkg-descr
deleted file mode 100644
index af871a0099c3..000000000000
--- a/devel/dcons/pkg-descr
+++ /dev/null
@@ -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/
diff --git a/devel/dcons/pkg-message b/devel/dcons/pkg-message
deleted file mode 100644
index 3ca400497e17..000000000000
--- a/devel/dcons/pkg-message
+++ /dev/null
@@ -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.
diff --git a/devel/dcons/pkg-plist b/devel/dcons/pkg-plist
deleted file mode 100644
index 89e23755cd3a..000000000000
--- a/devel/dcons/pkg-plist
+++ /dev/null
@@ -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%%