summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile11
-rw-r--r--sysutils/cotty/Makefile29
-rw-r--r--sysutils/cotty/distinfo2
-rw-r--r--sysutils/cotty/files/patch-cotty-0.4c.c31
-rw-r--r--sysutils/cotty/pkg-descr10
-rw-r--r--sysutils/dt/Makefile60
-rw-r--r--sysutils/dt/distinfo2
-rw-r--r--sysutils/dt/pkg-descr14
-rw-r--r--sysutils/dt/pkg-plist25
-rw-r--r--sysutils/gkrellfire/Makefile31
-rw-r--r--sysutils/gkrellfire/distinfo2
-rw-r--r--sysutils/gkrellfire/pkg-descr3
-rw-r--r--sysutils/log_analysis/Makefile44
-rw-r--r--sysutils/log_analysis/distinfo2
-rw-r--r--sysutils/log_analysis/files/patch-log__analysis.in20
-rw-r--r--sysutils/log_analysis/pkg-descr7
-rw-r--r--sysutils/mksunbootcd/Makefile25
-rw-r--r--sysutils/mksunbootcd/distinfo2
-rw-r--r--sysutils/mksunbootcd/pkg-descr8
-rw-r--r--sysutils/rfstool/Makefile30
-rw-r--r--sysutils/rfstool/distinfo2
-rw-r--r--sysutils/rfstool/files/patch-reiserfs.h11
-rw-r--r--sysutils/rfstool/pkg-descr6
-rw-r--r--sysutils/skill/Makefile19
-rw-r--r--sysutils/skill/distinfo2
-rw-r--r--sysutils/skill/files/patch-Makefile40
-rw-r--r--sysutils/skill/pkg-descr10
-rw-r--r--sysutils/skill/pkg-plist3
-rw-r--r--sysutils/sloth/Makefile24
-rw-r--r--sysutils/sloth/distinfo2
-rw-r--r--sysutils/sloth/files/patch-sloth.c11
-rw-r--r--sysutils/sloth/pkg-descr4
-rw-r--r--sysutils/snowlog/Makefile36
-rw-r--r--sysutils/snowlog/distinfo2
-rw-r--r--sysutils/snowlog/files/patch-Makefile71
-rw-r--r--sysutils/snowlog/pkg-descr8
-rw-r--r--sysutils/snowlog/pkg-message13
-rw-r--r--sysutils/snowlog/pkg-plist7
-rw-r--r--sysutils/wmfire/Makefile30
-rw-r--r--sysutils/wmfire/distinfo2
-rw-r--r--sysutils/wmfire/pkg-descr5
-rw-r--r--sysutils/xbattbar/Makefile27
-rw-r--r--sysutils/xbattbar/distinfo2
-rw-r--r--sysutils/xbattbar/files/patch-Imakefile12
-rw-r--r--sysutils/xbattbar/files/patch-xbattbar.c149
-rw-r--r--sysutils/xbattbar/files/patch-xbattbar.man11
-rw-r--r--sysutils/xbattbar/pkg-descr7
47 files changed, 0 insertions, 874 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 9133a599cc4b..a03425b69f84 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -195,7 +195,6 @@
SUBDIR += copytape
SUBDIR += coreos-ct
SUBDIR += coreutils
- SUBDIR += cotty
SUBDIR += cpdup
SUBDIR += cpu
SUBDIR += cpu-x
@@ -267,7 +266,6 @@
SUBDIR += dsbmd
SUBDIR += dsbsu
SUBDIR += dsbwrtsysctl
- SUBDIR += dt
SUBDIR += dtc
SUBDIR += dtpstree
SUBDIR += du2ps
@@ -419,7 +417,6 @@
SUBDIR += gigolo
SUBDIR += gkfreq
SUBDIR += gkleds2
- SUBDIR += gkrellfire
SUBDIR += gkrellflynn
SUBDIR += gkrellm-trayicons
SUBDIR += gkrellm2
@@ -601,7 +598,6 @@
SUBDIR += lmon
SUBDIR += lnav
SUBDIR += lockfile-progs
- SUBDIR += log_analysis
SUBDIR += logrotate
SUBDIR += logstalgia
SUBDIR += logstash-forwarder
@@ -681,7 +677,6 @@
SUBDIR += mkfile
SUBDIR += mkfwimage
SUBDIR += mkntpwd
- SUBDIR += mksunbootcd
SUBDIR += mmc-utils
SUBDIR += mmve
SUBDIR += mnrpes
@@ -1063,7 +1058,6 @@
SUBDIR += restic
SUBDIR += retail
SUBDIR += rex
- SUBDIR += rfstool
SUBDIR += rhc
SUBDIR += riak-cs
SUBDIR += rinse
@@ -1214,10 +1208,8 @@
SUBDIR += signon-plugin-oauth2
SUBDIR += signon-qt5
SUBDIR += signon-ui
- SUBDIR += skill
SUBDIR += slack
SUBDIR += sleuthkit
- SUBDIR += sloth
SUBDIR += slst
SUBDIR += slurm-wlm
SUBDIR += smart
@@ -1227,7 +1219,6 @@
SUBDIR += snap
SUBDIR += snmp_exporter
SUBDIR += snooze
- SUBDIR += snowlog
SUBDIR += sockaddr
SUBDIR += socket
SUBDIR += socklog
@@ -1451,7 +1442,6 @@
SUBDIR += wmcpuload
SUBDIR += wmcube
SUBDIR += wmdiskmon
- SUBDIR += wmfire
SUBDIR += wmflame
SUBDIR += wmmemfree
SUBDIR += wmmemload
@@ -1462,7 +1452,6 @@
SUBDIR += wuzzah
SUBDIR += x86info
SUBDIR += xbatt
- SUBDIR += xbattbar
SUBDIR += xcdroast
SUBDIR += xcpustate
SUBDIR += xdu
diff --git a/sysutils/cotty/Makefile b/sysutils/cotty/Makefile
deleted file mode 100644
index 63bbf358ca93..000000000000
--- a/sysutils/cotty/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# Created by: Oliver Breuninger <ob@breuninger.org>
-# $FreeBSD$
-
-PORTNAME= cotty
-PORTVERSION= 0.4c
-CATEGORIES= sysutils
-MASTER_SITES= http://www.breuninger.org/files/distfiles/
-EXTRACT_SUFX= .c.gz
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Simple command-line pseudo terminal manager
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-NO_WRKSUBDIR= yes
-PLIST_FILES= bin/cotty
-EXTRACT_CMD= ${GZCAT}
-EXTRACT_BEFORE_ARGS= # empty
-EXTRACT_AFTER_ARGS= > ${WRKSRC}/${DISTNAME}.c
-
-do-build:
- ${CC} ${CFLAGS} -o ${WRKSRC}/cotty ${WRKSRC}/${DISTNAME}.c
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/cotty ${STAGEDIR}${PREFIX}/bin
-
-.include <bsd.port.mk>
diff --git a/sysutils/cotty/distinfo b/sysutils/cotty/distinfo
deleted file mode 100644
index e048298c5f31..000000000000
--- a/sysutils/cotty/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (cotty-0.4c.c.gz) = e157927da3f66ada472f65a941726068f2230b60c3cff0c7c274ac72a3b49eb2
-SIZE (cotty-0.4c.c.gz) = 9846
diff --git a/sysutils/cotty/files/patch-cotty-0.4c.c b/sysutils/cotty/files/patch-cotty-0.4c.c
deleted file mode 100644
index a35d448380db..000000000000
--- a/sysutils/cotty/files/patch-cotty-0.4c.c
+++ /dev/null
@@ -1,31 +0,0 @@
---- cotty-0.4c.c.orig Sun Aug 22 21:39:06 2004
-+++ cotty-0.4c.c Sun Aug 22 21:40:01 2004
-@@ -748,6 +748,7 @@
- return 1;
- case normal:
- case keep_current:
-+ break;
- }
- return 2;
- }
-@@ -762,7 +763,8 @@
- case normal:
- case keep_current:
- case direct:
-- }
-+ break;
-+ }
- return 2;
- }
-
-@@ -989,8 +991,8 @@
- strcpy(tty_name[1],pty_name[0]);
- strcpy(pty_name[1],tty_name[0]);
- break;
-- case normal:
-- case keep_current:
-+ case normal: break;
-+ case keep_current: break;
- }
- /* we don't need those null fds anymore */
- for (j=0;j<3;j++) {
diff --git a/sysutils/cotty/pkg-descr b/sysutils/cotty/pkg-descr
deleted file mode 100644
index 19f2c95e211c..000000000000
--- a/sysutils/cotty/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-Simple command-line pseudo terminal manager:
-allows to run coprocesses talking to each other thru their tty and/or pty.
-
-Most useful to drive from scripts programs that want a tty, as in
- cotty -d -- pppd silent 192.168.0.1:192.168.0.2 \
- -- ssh -t root@remote pppd
-This particular use has been obsoleted under Linux
-(but probably not under the various free BSDs and proprietary Unices),
-as it can be done without cotty with
- pppd pty 'ssh -t root@remote pppd' silent 192.168.0.1:192.168.0.2
diff --git a/sysutils/dt/Makefile b/sysutils/dt/Makefile
deleted file mode 100644
index f13aa9d37f96..000000000000
--- a/sysutils/dt/Makefile
+++ /dev/null
@@ -1,60 +0,0 @@
-# Created by: Radim Kolar
-# $FreeBSD$
-
-PORTNAME= dt
-PORTVERSION= 17.07
-PORTREVISION= 1
-CATEGORIES= sysutils
-MASTER_SITES= http://home.comcast.net/~SCSIguy/SCSI_FAQ/RMiller_Tools/ftp/dt/ \
- http://ionut.tetcu.info/FreeBSD/ports/distfiles/
-#PORTVERSION= 18.32
-#MASTER_SITES= http://www.scsifaq.org/RMiller_Tools/ftp/dt/ \
-# http://dl.dropboxusercontent.com/u/32363629/Datatest/
-#DISTNAME= ${PORTNAME}-source-v${PORTVERSION
-DISTNAME= ${PORTNAME}-source
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Data Test Program - disk/tape error diagnostic tool
-
-LICENSE= ISCL
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-OPTIONS_DEFINE= DOCS
-
-USES= shebangfix
-SHEBANG_FILES= Scripts/DiskTests.ksh \
- Scripts/butterfly.ksh \
- Scripts/butterfly_file.ksh \
- Scripts/dt_noprog_script.ksh
-WRKSRC= ${WRKDIR}/dt.d
-MAKEFILE= Makefile.freebsd
-ALL_TARGET= dt
-
-PORTDOCS= README.1st ToDoList WhatsNew-* dt-UsersGuide.pdf dt-Overview.txt
-
-post-patch:
- @${REINPLACE_CMD} -i '' -e 's|/usr/bin/ksh|${ksh_CMD}|' \
- ${WRKSRC}/Scripts/trigger-AIX.ksh
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dt ${STAGEDIR}${PREFIX}/sbin
- @${MKDIR} ${STAGEDIR}${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/data/pattern_* ${STAGEDIR}${DATADIR}
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-.for script in DiskTests.ksh butterfly.ksh butterfly_file.ksh dt_noprog_script.ksh \
- dta dtc dtf dtr dts dtt dtw trigger-AIX.ksh
- ${INSTALL_SCRIPT} ${WRKSRC}/Scripts/${script} ${STAGEDIR}${EXAMPLESDIR}
-.endfor
-
-do-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.1st \
- ${WRKSRC}/ToDoList \
- ${WRKSRC}/WhatsNewFiles/WhatsNew-* \
- ${WRKSRC}/Documentation/dt-UsersGuide.pdf ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/Documentation/dt.help ${STAGEDIR}${DOCSDIR}/dt-Overview.txt
-
-.include <bsd.port.mk>
diff --git a/sysutils/dt/distinfo b/sysutils/dt/distinfo
deleted file mode 100644
index f505c24fc52c..000000000000
--- a/sysutils/dt/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (dt-source.tar.gz) = 6a213b8da2b8907c4f1633c3b90229085ac239e4d43aa5879b0123c21f951cab
-SIZE (dt-source.tar.gz) = 3058711
diff --git a/sysutils/dt/pkg-descr b/sysutils/dt/pkg-descr
deleted file mode 100644
index 6ae49a2daaf0..000000000000
--- a/sysutils/dt/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-dt is a generic data test program used to verify proper operation of
-peripherals, file systems, device drivers, or any data stream supported
-by the operating system. In its simplest mode of operation, dt writes
-and then verifies its default data pattern, then displays performance
-statistics and other test parameters before exiting. Since verification
-of data is performed, dt can be thought of as a generic diagnostic tool.
-
-dt has been used to successfully test disks, tapes, serial lines,
-parallel lines, pipes, and memory mapped files. In fact, dt can be used
-for any device that allows the standard open, read, write, and close
-system calls. Special support is necessary for some devices, such as
-serial lines, for setting up the speed, parity, data bits, etc.
-
-WWW: http://home.comcast.net/~SCSIguy/SCSI_FAQ/RMiller_Tools/dt.html
diff --git a/sysutils/dt/pkg-plist b/sysutils/dt/pkg-plist
deleted file mode 100644
index 297d28d55bb9..000000000000
--- a/sysutils/dt/pkg-plist
+++ /dev/null
@@ -1,25 +0,0 @@
-sbin/dt
-%%DATADIR%%/pattern_0
-%%DATADIR%%/pattern_1
-%%DATADIR%%/pattern_2
-%%DATADIR%%/pattern_3
-%%DATADIR%%/pattern_4
-%%DATADIR%%/pattern_5
-%%DATADIR%%/pattern_6
-%%DATADIR%%/pattern_7
-%%DATADIR%%/pattern_8
-%%DATADIR%%/pattern_9
-%%DATADIR%%/pattern_all
-%%DATADIR%%/pattern_dedup
-%%EXAMPLESDIR%%/dta
-%%EXAMPLESDIR%%/dtc
-%%EXAMPLESDIR%%/dtf
-%%EXAMPLESDIR%%/dtr
-%%EXAMPLESDIR%%/dts
-%%EXAMPLESDIR%%/dtt
-%%EXAMPLESDIR%%/dt_noprog_script.ksh
-%%EXAMPLESDIR%%/trigger-AIX.ksh
-%%EXAMPLESDIR%%/DiskTests.ksh
-%%EXAMPLESDIR%%/butterfly_file.ksh
-%%EXAMPLESDIR%%/butterfly.ksh
-%%EXAMPLESDIR%%/dtw
diff --git a/sysutils/gkrellfire/Makefile b/sysutils/gkrellfire/Makefile
deleted file mode 100644
index e6bdfc7b2ffb..000000000000
--- a/sysutils/gkrellfire/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-# Created by: Roman Bogorodskiy <bogorodskiy@inbox.ru>
-# $FreeBSD$
-
-PORTNAME= gkrellfire
-PORTVERSION= 0.4.2
-PORTREVISION= 5
-CATEGORIES= sysutils
-MASTER_SITES= http://freenet-homepage.de/thomas-steinke/ \
- LOCAL/novel
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Gkrellm2 plugin which shows the system load as a flame
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:sysutils/gkrellm2
-RUN_DEPENDS= gkrellm:sysutils/gkrellm2
-
-PLIST_FILES= libexec/gkrellm2/plugins/${PORTNAME}.so
-
-USES= gmake pkgconfig tar:tgz
-MAKE_ARGS= CC="${CC}"
-
-do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
- ${INSTALL_LIB} ${WRKSRC}/${PORTNAME}.so \
- ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
-
-.include <bsd.port.mk>
diff --git a/sysutils/gkrellfire/distinfo b/sysutils/gkrellfire/distinfo
deleted file mode 100644
index a44b7ed9a8d3..000000000000
--- a/sysutils/gkrellfire/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (gkrellfire-0.4.2.tgz) = b8c81e038c4fad56be360af2a8423c096c98bb2bc382b024a1734fa36fddbb40
-SIZE (gkrellfire-0.4.2.tgz) = 12474
diff --git a/sysutils/gkrellfire/pkg-descr b/sysutils/gkrellfire/pkg-descr
deleted file mode 100644
index d91c88d0e7df..000000000000
--- a/sysutils/gkrellfire/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-GKrellFire is a plugin for GKrellM - it shows the system load as a flame.
-
-WWW: http://people.freenet.de/thomas-steinke/
diff --git a/sysutils/log_analysis/Makefile b/sysutils/log_analysis/Makefile
deleted file mode 100644
index d9bc683c3461..000000000000
--- a/sysutils/log_analysis/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# Created by: petef@FreeBSD.org
-# $FreeBSD$
-
-PORTNAME= log_analysis
-PORTVERSION= 0.46
-CATEGORIES= sysutils
-MASTER_SITES= http://userpages.umbc.edu/~mabzug1/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Utility that extracts a summary of useful data from logs
-
-LICENSE= GPLv3
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-USES= perl5
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= PERL="${PERL}"
-NO_ARCH= yes
-
-PORTDOCS= *
-PORTEXAMPLES= *
-PORTDATA= *
-PLIST_FILES= bin/log_analysis \
- man/man1/log_analysis.1.gz
-
-OPTIONS_DEFINE= DOCS EXAMPLES TK
-
-TK_RUN_DEPENDS= p5-Tk>0:x11-toolkits/p5-Tk
-
-post-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/NEWS \
- ${WRKSRC}/AUTHORS ${WRKSRC}/doc/Tutorial \
- ${STAGEDIR}${DOCSDIR}
-
-post-install-EXAMPLES-on:
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/sample-* ${STAGEDIR}${EXAMPLESDIR}
-
-.include <bsd.port.mk>
diff --git a/sysutils/log_analysis/distinfo b/sysutils/log_analysis/distinfo
deleted file mode 100644
index 1f571b980a2b..000000000000
--- a/sysutils/log_analysis/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (log_analysis-0.46.tar.gz) = ce1959aa28fe513527914e8c628976cdb38d547bbb7e3a01c634bffd580db88d
-SIZE (log_analysis-0.46.tar.gz) = 163515
diff --git a/sysutils/log_analysis/files/patch-log__analysis.in b/sysutils/log_analysis/files/patch-log__analysis.in
deleted file mode 100644
index 975b25bb626a..000000000000
--- a/sysutils/log_analysis/files/patch-log__analysis.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- log_analysis.in.orig 2012-04-17 10:39:50 UTC
-+++ log_analysis.in
-@@ -8788,8 +8788,6 @@ line is ignored.
- Before the config is parsed, it is passed through a preprocessor inspired
- by the L<aide(1)> preprocessor.
-
--=over 4
--
- =head2 Pattern directives
-
- These directives describe your logs, and are the main point of this
-@@ -8799,6 +8797,8 @@ that describe different kinds of log mes
- the message. For each perl pattern, you specify one or more
- destinations that describe what you want done with it.
-
-+=over 4
-+
- =item B<logtype:> I<type>
-
- Future patterns should be applied to this logtype (ie. sulog, syslog,
diff --git a/sysutils/log_analysis/pkg-descr b/sysutils/log_analysis/pkg-descr
deleted file mode 100644
index e1c9a7388320..000000000000
--- a/sysutils/log_analysis/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-log_analysis is a log file analysis engine that extracts relevant
-data for any of the recognized log messages and produces a summary
-that is much easier to read. It can be configured to recognize
-entirely new log types. log_analysis natively understands about
-100 different kinds of syslog messages, as well as wtmp messages.
-
-WWW: http://userpages.umbc.edu/~mabzug1/log_analysis.html
diff --git a/sysutils/mksunbootcd/Makefile b/sysutils/mksunbootcd/Makefile
deleted file mode 100644
index ab15be464efb..000000000000
--- a/sysutils/mksunbootcd/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-# Created by: Roman Shterenzon <roman@xpert.com>
-# $FreeBSD$
-
-PORTNAME= mksunbootcd
-PORTVERSION= 1.0
-PORTREVISION= 1
-CATEGORIES= sysutils
-MASTER_SITES= NETBSD
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Makes ISO images suitable to boot on sparc systems
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-PLIST_FILES= bin/mksunbootcd man/man1/${PORTNAME}.1.gz
-
-GNU_CONFIGURE= yes
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mksunbootcd ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
-
-.include <bsd.port.mk>
diff --git a/sysutils/mksunbootcd/distinfo b/sysutils/mksunbootcd/distinfo
deleted file mode 100644
index 1462081beb33..000000000000
--- a/sysutils/mksunbootcd/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (mksunbootcd-1.0.tar.gz) = 1a1e37f0312982df7b94061c0dab95362ad4fccae42259a3d0e4ddb882e3ea52
-SIZE (mksunbootcd-1.0.tar.gz) = 24812
diff --git a/sysutils/mksunbootcd/pkg-descr b/sysutils/mksunbootcd/pkg-descr
deleted file mode 100644
index 120f664452bd..000000000000
--- a/sysutils/mksunbootcd/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-mksunbootcd combines filesystem partitions for Sun Microsystems,
-Inc. computers into an image suitable for writing to a compact
-disc, that will allow the disc to be booted on the sun3, sun3x, sun4,
-sun4c, sun4m and sun4u platforms. This hardware is supported by the
-NetBSD sparc, sparc64 and sun3 ports.
-See http://www.netbsd.org for more information on NetBSD.
-
-WWW: http://www.netbsd.org/
diff --git a/sysutils/rfstool/Makefile b/sysutils/rfstool/Makefile
deleted file mode 100644
index 4589003e97b3..000000000000
--- a/sysutils/rfstool/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-# Created by: trevor
-# $FreeBSD$
-
-PORTNAME= rfstool
-PORTVERSION= 0.14
-CATEGORIES= sysutils
-MASTER_SITES= NETBSD
-DISTNAME= rfstool-0.14-source
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Read from a Reiser file system
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-PLIST_FILES= bin/rfstool
-USES= dos2unix zip
-USE_CXXSTD= c++98
-DOS2UNIX_FILES= reiserfs.h
-WRKSRC= ${WRKDIR}/rfstool-0.14/RFSTOOL
-MAKEFILE= makefile.gcc3x
-
-post-extract:
- @${REINPLACE_CMD} -e "s,g++,\$${CXX} \$${CXXFLAGS},g" ${WRKSRC}/${MAKEFILE}
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rfstool ${STAGEDIR}${PREFIX}/bin
-
-.include <bsd.port.mk>
diff --git a/sysutils/rfstool/distinfo b/sysutils/rfstool/distinfo
deleted file mode 100644
index 618a4c4dc742..000000000000
--- a/sysutils/rfstool/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (rfstool-0.14-source.zip) = 86a43f5f0d8982471fd7c0dd6f80e732c8d3871d758a210bda2484041f550d85
-SIZE (rfstool-0.14-source.zip) = 80381
diff --git a/sysutils/rfstool/files/patch-reiserfs.h b/sysutils/rfstool/files/patch-reiserfs.h
deleted file mode 100644
index 4a59c3bb85e7..000000000000
--- a/sysutils/rfstool/files/patch-reiserfs.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- reiserfs.h.orig 2016-06-20 13:19:25 UTC
-+++ reiserfs.h
-@@ -268,7 +268,7 @@ class ReiserFsBlock : public PNode
- {
- }
-
-- ReiserFsBlock::~ReiserFsBlock()
-+ ~ReiserFsBlock()
- {
- delete m_lpbMemory;
- }
diff --git a/sysutils/rfstool/pkg-descr b/sysutils/rfstool/pkg-descr
deleted file mode 100644
index ae1704342bbd..000000000000
--- a/sysutils/rfstool/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-Rfstool is an mtools-like utility which lets you read from Reiser
-file systems.
-
-The home page has instructions on its usage.
-
-WWW: http://p-nand-q.com/download/rfstool.html
diff --git a/sysutils/skill/Makefile b/sysutils/skill/Makefile
deleted file mode 100644
index c5d58dca3c23..000000000000
--- a/sysutils/skill/Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
-# Created by: Joao Carlos Mendes Luis <jonny@jonny.eng.br>
-# $FreeBSD$
-
-PORTNAME= skill
-PORTVERSION= 4.1.4
-CATEGORIES= sysutils
-MASTER_SITES= ftp://ftp.flux.utah.edu/pub/skill/ \
- ftp://fast.cs.utah.edu/pub/skill/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= SuperKILL, kill, or renice processes by pid, name, tty, or uid
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-USES= tar:tgz
-
-.include <bsd.port.mk>
diff --git a/sysutils/skill/distinfo b/sysutils/skill/distinfo
deleted file mode 100644
index f86e11b67d78..000000000000
--- a/sysutils/skill/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (skill-4.1.4.tgz) = c0375b854b206a8f0295ab276078c9c34df1ac96f62c571254cfc1271c5c8f43
-SIZE (skill-4.1.4.tgz) = 46349
diff --git a/sysutils/skill/files/patch-Makefile b/sysutils/skill/files/patch-Makefile
deleted file mode 100644
index 9544c6b7ecc3..000000000000
--- a/sysutils/skill/files/patch-Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
---- Makefile.orig Fri Apr 5 23:53:39 2002
-+++ Makefile Sat Apr 20 02:26:08 2002
-@@ -55,7 +55,6 @@
-
- DESTDIR=
- SHELL= /bin/sh
--PREFIX= /usr/local
-
- # CONFIGURE: Set location of executable, it's group and mode.
- BINDIR= ${PREFIX}/bin
-@@ -79,7 +78,7 @@
- OBJS= main.o argparse.o getproc.o
- HDRS= conf.h
-
--CFLAGS= -O ${COPTS}
-+#CFLAGS= -O ${COPTS}
-
- all: skill
-
-@@ -96,18 +95,11 @@
- #(SysV) filepriv -d ${DESTDIR}/${BINDIR}/skill
- rm -f ${DESTDIR}/${BINDIR}/skill ${DESTDIR}/${MANDIR}/skill.${MANSFX}
- rm -f ${DESTDIR}/${BINDIR}/snice ${DESTDIR}/${MANDIR}/snice.${MANSFX}
--# install -c -g ${BINGRP} -m ${BINMOD} -s skill ${DESTDIR}/${BINDIR}
-- cp skill ${DESTDIR}/${BINDIR}/skill
-- strip ${DESTDIR}/${BINDIR}/skill
-- chgrp ${BINGRP} ${DESTDIR}/${BINDIR}/skill
-- chmod ${BINMOD} ${DESTDIR}/${BINDIR}/skill
-+ ${BSD_INSTALL_PROGRAM} skill ${DESTDIR}/${BINDIR}
- ln ${DESTDIR}/${BINDIR}/skill ${DESTDIR}/${BINDIR}/snice
- #(SysV) filepriv -f dacread ${DESTDIR}/${BINDIR}/skill
- # install -c -m 644 skill.1 ${DESTDIR}/${MANDIR}/skill.${MANSFX}
-- cp skill.1 ${DESTDIR}/${MANDIR}/skill.${MANSFX}
-- chmod 644 ${DESTDIR}/${MANDIR}/skill.${MANSFX}
-- ln ${DESTDIR}/${MANDIR}/skill.${MANSFX}\
-- ${DESTDIR}/${MANDIR}/snice.${MANSFX}
-+ ${BSD_INSTALL_MAN} skill.1 ${DESTDIR}/${MANDIR}/skill.${MANSFX}
-
- config Config: FRC
- ./Config
diff --git a/sysutils/skill/pkg-descr b/sysutils/skill/pkg-descr
deleted file mode 100644
index ba7597f2397f..000000000000
--- a/sysutils/skill/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
- `skill' is a program which sends signals to processes given
-any combination of user names, ttys, commands, and pids. `snice' is
-a program which changes the priority of processes (given the same).
-It's actually one program which examines argv to determine what action
-is to be taken on matching processes. It is similar to kill(1) and
-renice(8), however the command line is completely order independent.
-There are also verbose, search, and interactive modes of operation.
-
-The name `skill' stems from `SuperKILL', but if you use it under `csh',
-you may discover another reason for calling it `skill' (hint "s!!").
diff --git a/sysutils/skill/pkg-plist b/sysutils/skill/pkg-plist
deleted file mode 100644
index d73177435250..000000000000
--- a/sysutils/skill/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/skill
-bin/snice
-man/man1/skill.1.gz
diff --git a/sysutils/sloth/Makefile b/sysutils/sloth/Makefile
deleted file mode 100644
index 393ebea35c13..000000000000
--- a/sysutils/sloth/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# Created by: ijliao
-# $FreeBSD$
-
-PORTNAME= sloth
-PORTVERSION= 1.1.0
-CATEGORIES= sysutils
-MASTER_SITES= http://www.sourcefiles.org/Utilities/Miscellaneous/ \
- http://T32.TecNik93.com/FreeBSD/others_ports/${PORTNAME}${PKGNAMESUFFIX}/sources/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Slow down a process
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-GNU_CONFIGURE= yes
-
-PLIST_FILES= bin/sloth man/man1/${PORTNAME}.1.gz
-
-post-patch:
- @${REINPLACE_CMD} -e "s,wait.h,sys/wait.h,g" ${WRKSRC}/configure
-
-.include <bsd.port.mk>
diff --git a/sysutils/sloth/distinfo b/sysutils/sloth/distinfo
deleted file mode 100644
index c6b3c111c5e7..000000000000
--- a/sysutils/sloth/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (sloth-1.1.0.tar.gz) = 341c01e6b8321e4512e92bbcdfae016938e123321666b28176499c6fac5b3cd7
-SIZE (sloth-1.1.0.tar.gz) = 32319
diff --git a/sysutils/sloth/files/patch-sloth.c b/sysutils/sloth/files/patch-sloth.c
deleted file mode 100644
index 9db1d5168400..000000000000
--- a/sysutils/sloth/files/patch-sloth.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- sloth.c.orig Sat May 11 01:25:43 2002
-+++ sloth.c Sat May 11 01:25:49 2002
-@@ -23,7 +23,7 @@
- */
-
- #include <stdio.h>
--#include <wait.h>
-+#include <sys/wait.h>
- #include <signal.h>
- #include <sys/types.h>
- #include <sys/time.h>
diff --git a/sysutils/sloth/pkg-descr b/sysutils/sloth/pkg-descr
deleted file mode 100644
index 24188f4b4d53..000000000000
--- a/sysutils/sloth/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-Sloth allows you to slow down a specified application by specifying (in
-miliseconds) the delay on the process. It slows down the process by sending
-SIGSTOP & SIGCONT signals to the process over a very fast period of time,
-giving the appearance of a slower application.
diff --git a/sysutils/snowlog/Makefile b/sysutils/snowlog/Makefile
deleted file mode 100644
index c43f51f068f0..000000000000
--- a/sysutils/snowlog/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-# Created by: Cheng-Lung Sung <clsung@dragon2.net>
-# $FreeBSD$
-
-PORTNAME= snowlog
-PORTVERSION= 1.1.1
-PORTREVISION= 3
-CATEGORIES= sysutils
-MASTER_SITES= http://kiza.kcore.de/software/snowlog/download/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Webserver access log browser/analyzer
-
-LICENSE= GPLv2 # only
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-LIB_DEPENDS= libpcre.so:devel/pcre
-
-USES= ncurses
-DOCS= INSTALLATION doc/README doc/filters.example
-SHAREDOCS= referers.regexp useragents.regexp
-
-OPTIONS_DEFINE= DOCS
-
-post-install:
- @${MKDIR} ${STAGEDIR}${DATADIR}
- cd ${WRKSRC}/share && ${INSTALL_DATA} ${SHAREDOCS} ${STAGEDIR}${DATADIR}
-
-post-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/sysutils/snowlog/distinfo b/sysutils/snowlog/distinfo
deleted file mode 100644
index f81d262a14da..000000000000
--- a/sysutils/snowlog/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (snowlog-1.1.1.tar.gz) = 780587a18b34330a3483b95101a4b382d9582f3f7a4c881ac08fe0e15e5921cd
-SIZE (snowlog-1.1.1.tar.gz) = 30066
diff --git a/sysutils/snowlog/files/patch-Makefile b/sysutils/snowlog/files/patch-Makefile
deleted file mode 100644
index 0225e70c82bf..000000000000
--- a/sysutils/snowlog/files/patch-Makefile
+++ /dev/null
@@ -1,71 +0,0 @@
---- Makefile.orig 2005-07-20 18:13:17 UTC
-+++ Makefile
-@@ -1,13 +1,10 @@
--CC= gcc
--MAKE= make
- INSTALL= install
--PREFIX= /usr/local
- DATAPATH= $(PREFIX)/share
- LOCALEPATH= $(DATAPATH)/locale
- DOCPATH= $(DATAPATH)/doc
-
--CFLAGS= -Wall -O2 -I/usr/local/include -DDATAPATH="\"$(DATAPATH)\"" -DVERSION=\"$(VERSION)\"
--LDFLAGS= -L/usr/local/lib -lncurses -lpcre
-+CFLAGS+= -Wall -O2 -I$(LOCALBASE)/include -DDATAPATH="\"$(DATAPATH)\"" -DVERSION=\"$(VERSION)\"
-+LDFLAGS= -L$(LOCALBASE)/lib -lncurses -lpcre
-
- OBJFILES= main.o loadlog.o internals.o interface.o snowtk.o regexp.o filters.o setup.o
-
-@@ -27,35 +24,35 @@ man:
- sed s#DATAPATH#$(DATAPATH)# | sed s#VERSION#$(VERSION)# \
- > doc/man/snowlog.1
-
--install: install-bin install-data install-man install-doc
-+install: install-bin install-man
-
- install-bin: snowlog
-- if [ ! -d "$(PREFIX)/bin" ]; then \
-- mkdir -p $(PREFIX)/bin; \
-+ if [ ! -d "$(DESTDIR)$(PREFIX)/bin" ]; then \
-+ mkdir -p $(DESTDIR)$(PREFIX)/bin; \
- fi
-- $(INSTALL) -s src/snowlog $(PREFIX)/bin
-+ $(INSTALL) -s src/snowlog $(DESTDIR)$(PREFIX)/bin
-
- install-data:
-- if [ ! -d "$(DATAPATH)/snowlog" ]; then \
-- mkdir -p $(DATAPATH)/snowlog; \
-+ if [ ! -d "$(DESTDIR)$(DATAPATH)/snowlog" ]; then \
-+ mkdir -p $(DESTDIR)$(DATAPATH)/snowlog; \
- fi
-- $(INSTALL) -m 0644 share/referers.regexp $(DATAPATH)/snowlog
-- $(INSTALL) -m 0644 share/useragents.regexp $(DATAPATH)/snowlog
-+ $(INSTALL) -m 0644 share/referers.regexp $(DESTDIR)$(DATAPATH)/snowlog
-+ $(INSTALL) -m 0644 share/useragents.regexp $(DESTDIR)$(DATAPATH)/snowlog
-
- install-man: man
-- if [ ! -d "$(PREFIX)/man/man1" ]; then \
-- mkdir -p $(PREFIX)/man/man1; \
-+ if [ ! -d "$(DESTDIR)$(PREFIX)/man/man1" ]; then \
-+ mkdir -p $(DESTDIR)$(PREFIX)/man/man1; \
- fi
-- $(INSTALL) -m 0644 doc/man/snowlog.1 $(PREFIX)/man/man1
-+ $(INSTALL) -m 0644 doc/man/snowlog.1 $(DESTDIR)$(PREFIX)/man/man1
-
- install-doc:
-- if [ ! -d "$(DOCPATH)/snowlog" ]; then \
-- mkdir -p $(DOCPATH)/snowlog; \
-+ if [ ! -d "$(DESTDIR)$(DOCPATH)/snowlog" ]; then \
-+ mkdir -p $(DESTDIR)$(DOCPATH)/snowlog; \
- fi
-- $(INSTALL) -m 0644 INSTALLATION $(DOCPATH)/snowlog
-- $(INSTALL) -m 0644 doc/README $(DOCPATH)/snowlog
-- $(INSTALL) -m 0644 doc/filters.example $(DOCPATH)/snowlog
-- $(INSTALL) -m 0644 Changelog $(DOCPATH)/snowlog
-+ $(INSTALL) -m 0644 INSTALLATION $(DESTDIR)$(DOCPATH)/snowlog
-+ $(INSTALL) -m 0644 doc/README $(DESTDIR)$(DOCPATH)/snowlog
-+ $(INSTALL) -m 0644 doc/filters.example $(DESTDIR)$(DOCPATH)/snowlog
-+ $(INSTALL) -m 0644 Changelog $(DESTDIR)$(DOCPATH)/snowlog
-
- clean: clean-bin clean-man
-
diff --git a/sysutils/snowlog/pkg-descr b/sysutils/snowlog/pkg-descr
deleted file mode 100644
index 83b2c71c929e..000000000000
--- a/sysutils/snowlog/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Snowlog is a program that lets you browse your web server's access log files.
-It does not generate static HTML status reports but instead shows you all
-accesses in a list that you can filter, sort and search easily. It's a
-console application and supposed to run on the server via ssh.
-
-Filters that accept regular expressions can be applied.
-
-WWW: http://kiza.kcore.de/software/snowlog/
diff --git a/sysutils/snowlog/pkg-message b/sysutils/snowlog/pkg-message
deleted file mode 100644
index 30b7e319715a..000000000000
--- a/sysutils/snowlog/pkg-message
+++ /dev/null
@@ -1,13 +0,0 @@
-[
-{ type: install
- message: <<EOM
-To use snowlog, adding this to httpd.conf
-
-LogFormat "%a\t%l\t%u\t%{%s}t\t%r\t%>s\t%X\t%{Content-Type}o\t%b\t%{Referer}i\t%{User-Agent}i\t%V\t%{LogHint}e" parsable
-
-Next, tell apache to make parsable logs:
-
-CustomLog /path/to/httpd_access_parsable.log parsable
-EOM
-}
-]
diff --git a/sysutils/snowlog/pkg-plist b/sysutils/snowlog/pkg-plist
deleted file mode 100644
index 4733ae2402d6..000000000000
--- a/sysutils/snowlog/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-bin/snowlog
-man/man1/snowlog.1.gz
-%%PORTDOCS%%%%DOCSDIR%%/INSTALLATION
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/filters.example
-%%PORTDOCS%%%%DATADIR%%/referers.regexp
-%%PORTDOCS%%%%DATADIR%%/useragents.regexp
diff --git a/sysutils/wmfire/Makefile b/sysutils/wmfire/Makefile
deleted file mode 100644
index c89ecec2f339..000000000000
--- a/sysutils/wmfire/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-# Created by: Chris D. Faulhaber <jedgar@fxp.org>
-# $FreeBSD$
-
-PORTNAME= wmfire
-PORTVERSION= 1.2.4
-PORTREVISION= 4
-CATEGORIES= sysutils
-MASTER_SITES= http://www.swanson.ukfsn.org/wmfire/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Window Maker dock app showing load average as a flame
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-LIB_DEPENDS= libgtop-2.0.so:devel/libgtop
-
-USES= pkgconfig
-USE_GNOME= gtk20
-GNU_CONFIGURE= yes
-USE_CSTD= gnu89
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -lm
-MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
- AUTOMAKE="${TRUE}"
-
-PLIST_FILES= bin/wmfire man/man1/${PORTNAME}.1.gz
-
-.include <bsd.port.mk>
diff --git a/sysutils/wmfire/distinfo b/sysutils/wmfire/distinfo
deleted file mode 100644
index 9138801674ba..000000000000
--- a/sysutils/wmfire/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (wmfire-1.2.4.tar.gz) = e38b508519faf132273a9eaf75db56f1b14a5912667dd6843fc902d4a0ca2f80
-SIZE (wmfire-1.2.4.tar.gz) = 91144
diff --git a/sysutils/wmfire/pkg-descr b/sysutils/wmfire/pkg-descr
deleted file mode 100644
index 7c6be348b9a6..000000000000
--- a/sysutils/wmfire/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-Window Maker dock app showing load average as a flame.
-
-Not terribly useful, but looks cool.
-
-WWW: http://www.swanson.ukfsn.org/#wmfire
diff --git a/sysutils/xbattbar/Makefile b/sysutils/xbattbar/Makefile
deleted file mode 100644
index a81adb9dbef6..000000000000
--- a/sysutils/xbattbar/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# Created by: sumikawa
-# $FreeBSD$
-
-PORTNAME= xbattbar
-PORTVERSION= 1.4.2
-PORTREVISION= 7
-CATEGORIES= sysutils
-MASTER_SITES= http://iplab.aist-nara.ac.jp/member/suguru/
-DISTNAME= ${PORTNAME}_${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Simple battery meter
-
-LICENSE= GPLv2+
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-USES= imake
-USE_XORG= x11 xext
-WRKSRC= ${WRKDIR}/xbattbar-${PORTVERSION}
-PLIST_FILES= bin/xbattbar \
- man/man1/xbattbar.1.gz
-
-.include <bsd.port.mk>
diff --git a/sysutils/xbattbar/distinfo b/sysutils/xbattbar/distinfo
deleted file mode 100644
index 3fed8893cfd3..000000000000
--- a/sysutils/xbattbar/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (xbattbar_1.4.2.tar.gz) = 55a5ed609282398f55e0141e473f9f04300d1ad3070810c7c6930f6c45970b4a
-SIZE (xbattbar_1.4.2.tar.gz) = 14079
diff --git a/sysutils/xbattbar/files/patch-Imakefile b/sysutils/xbattbar/files/patch-Imakefile
deleted file mode 100644
index 1db9be1cb6ce..000000000000
--- a/sysutils/xbattbar/files/patch-Imakefile
+++ /dev/null
@@ -1,12 +0,0 @@
---- Imakefile- Fri Oct 16 02:14:52 1998
-+++ Imakefile Fri Oct 16 02:15:41 1998
-@@ -4,9 +4,6 @@
- XCOMM All rights reserved.
- XCOMM
-
--BINDIR = /usr/local/bin
--MANDIR = /usr/local/man/cat1
--
- LOCAL_LIBRARIES = $(XLIB)
-
- SRCS = xbattbar.c
diff --git a/sysutils/xbattbar/files/patch-xbattbar.c b/sysutils/xbattbar/files/patch-xbattbar.c
deleted file mode 100644
index 65d3eaa7b1f8..000000000000
--- a/sysutils/xbattbar/files/patch-xbattbar.c
+++ /dev/null
@@ -1,149 +0,0 @@
---- xbattbar.c.orig 2001-02-02 06:25:29.000000000 +0100
-+++ xbattbar.c 2012-04-04 17:47:34.000000000 +0200
-@@ -29,6 +29,8 @@ static char *ReleaseVersion="1.4.2";
- #include <sys/time.h>
- #include <signal.h>
- #include <stdio.h>
-+#include <stdlib.h>
-+#include <string.h>
- #include <unistd.h>
- #include <sys/file.h>
- #include <sys/ioctl.h>
-@@ -501,6 +503,10 @@ void battery_check(void)
-
- #ifdef __FreeBSD__
-
-+#include <sys/types.h>
-+#include <sys/sysctl.h>
-+
-+#if defined(__i386__)
- #include <machine/apm_bios.h>
-
- #define APMDEV21 "/dev/apm0"
-@@ -515,54 +521,90 @@ void battery_check(void)
- #define APM_STAT_BATT_LOW 1
- #define APM_STAT_BATT_CRITICAL 2
- #define APM_STAT_BATT_CHARGING 3
-+#endif /* i386 */
-
- int first = 1;
- void battery_check(void)
- {
-- int fd, r, p;
-- struct apm_info info;
-+ int r, p;
-+ static int sysctl = 1;
-
-- if ((fd = open(APMDEV21, O_RDWR)) == -1 &&
-- (fd = open(APMDEV22, O_RDWR)) == -1) {
-- fprintf(stderr, "xbattbar: cannot open apm device\n");
-- exit(1);
-- }
-- if (ioctl(fd, APMIO_GETINFO, &info) == -1) {
-- fprintf(stderr, "xbattbar: ioctl APMIO_GETINFO failed\n");
-- exit(1);
-+ if (sysctl) {
-+ size_t r_size, p_size;
-+
-+ /* get current status */
-+ r_size = sizeof(r);
-+ if (sysctl && sysctlbyname("hw.acpi.battery.life", &r, &r_size, NULL, 0) == -1) {
-+#if defined(__i386__)
-+ fprintf(stderr, "xbattbar: fall back to apm interface\n");
-+ sysctl = 0;
-+#else /* !i386 */
-+ fprintf(stderr, "xbattbar: can not get battery status\n");
-+ exit(1);
-+#endif /* i386 */
-+ }
-+
-+ /* get AC-line status */
-+ p_size = sizeof(p);
-+ if (sysctl && sysctlbyname("hw.acpi.acline", &p, &p_size, NULL, 0) == -1) {
-+#if defined(__i386__)
-+ fprintf(stderr, "xbattbar: fall back to apm interface\n");
-+ sysctl = 0;
-+#else /* !i386 */
-+ fprintf(stderr, "xbattbar: can not get AC-line status\n");
-+ exit(1);
-+#endif /* i386 */
-+ }
- }
-- close (fd);
-
-- ++elapsed_time;
-+#if defined(__i386__)
-+ if (!sysctl) {
-+ int fd;
-+ struct apm_info info;
-+
-+ if ((fd = open(APMDEV21, O_RDONLY)) == -1 &&
-+ (fd = open(APMDEV22, O_RDONLY)) == -1) {
-+ fprintf(stderr, "xbattbar: cannot open apm device\n");
-+ exit(1);
-+ }
-+ if (ioctl(fd, APMIO_GETINFO, &info) == -1) {
-+ fprintf(stderr, "xbattbar: ioctl APMIO_GETINFO failed\n");
-+ exit(1);
-+ }
-+ close (fd);
-
-- /* get current status */
-- if (info.ai_batt_life == APM_STAT_UNKNOWN) {
-- switch (info.ai_batt_stat) {
-- case APM_STAT_BATT_HIGH:
-- r = 100;
-- break;
-- case APM_STAT_BATT_LOW:
-- r = 40;
-- break;
-- case APM_STAT_BATT_CRITICAL:
-- r = 10;
-- break;
-- default: /* expected to be APM_STAT_UNKNOWN */
-+ /* get current status */
-+ if (info.ai_batt_life == APM_STAT_UNKNOWN) {
-+ switch (info.ai_batt_stat) {
-+ case APM_STAT_BATT_HIGH:
-+ r = 100;
-+ break;
-+ case APM_STAT_BATT_LOW:
-+ r = 40;
-+ break;
-+ case APM_STAT_BATT_CRITICAL:
-+ r = 10;
-+ break;
-+ default: /* expected to be APM_STAT_UNKNOWN */
-+ r = 100;
-+ }
-+ } else if (info.ai_batt_life > 100) {
-+ /* some APM BIOSes return values slightly > 100 */
- r = 100;
-+ } else {
-+ r = info.ai_batt_life;
- }
-- } else if (info.ai_batt_life > 100) {
-- /* some APM BIOSes return values slightly > 100 */
-- r = 100;
-- } else {
-- r = info.ai_batt_life;
-- }
-
-- /* get AC-line status */
-- if (info.ai_acline == APM_STAT_LINE_ON) {
-- p = APM_STAT_LINE_ON;
-- } else {
-- p = APM_STAT_LINE_OFF;
-+ /* get AC-line status */
-+ if (info.ai_acline == APM_STAT_LINE_ON) {
-+ p = APM_STAT_LINE_ON;
-+ } else {
-+ p = APM_STAT_LINE_OFF;
-+ }
- }
-+#endif /* i386 */
-+
-+ ++elapsed_time;
-
- if (first || ac_line != p || battery_level != r) {
- first = 0;
diff --git a/sysutils/xbattbar/files/patch-xbattbar.man b/sysutils/xbattbar/files/patch-xbattbar.man
deleted file mode 100644
index dfc205599164..000000000000
--- a/sysutils/xbattbar/files/patch-xbattbar.man
+++ /dev/null
@@ -1,11 +0,0 @@
---- xbattbar.man.orig 2012-04-04 17:49:01.000000000 +0200
-+++ xbattbar.man 2012-04-04 17:49:17.000000000 +0200
-@@ -58,7 +58,7 @@ forces the status indicator to be at the
- display,
- respectively.
- Though it's a default, you can also use
--.Nm buttom
-+.Nm bottom
- as the option.
- .Pp
- In the case the AC line is on-line (plugged in),
diff --git a/sysutils/xbattbar/pkg-descr b/sysutils/xbattbar/pkg-descr
deleted file mode 100644
index 18ba1422710b..000000000000
--- a/sysutils/xbattbar/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-Xbattbar shows the current (laptop) battery status in the X window
-environment. The battery indicator of this program is very simple: a simple
-bar in the bottom of your display. With its color, it indicates the
-AC-line status (plugged in or off-line), and battery
-charging/remaining level.
-
-WWW: http://iplab.aist-nara.ac.jp/member/suguru/xbattbar.html