Remove net/sirc.

The program segfaults on startup when calling tputs.

ChangeLog says that sirc 2.211 was released in March 1998, there is no
upstream anymore. It's time to remove it.

Thanks to Dawid Kostur for reporting the issue.

OK bket@, sthen@, rsadowski@, bentley@
This commit is contained in:
fcambus 2018-03-02 11:04:19 +00:00
parent 14fc586508
commit dfe0f339b0
7 changed files with 1 additions and 100 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1055 2018/02/28 15:11:26 giovanni Exp $
# $OpenBSD: Makefile,v 1.1056 2018/03/02 11:04:19 fcambus Exp $
SUBDIR =
SUBDIR += GeoIP
@ -650,7 +650,6 @@
SUBDIR += sing
SUBDIR += sipcalc
SUBDIR += sipsak
SUBDIR += sirc
SUBDIR += slurm
SUBDIR += smokeping
SUBDIR += snmptt

View File

@ -1,46 +0,0 @@
# $OpenBSD: Makefile,v 1.16 2016/12/25 15:31:34 zhuk Exp $
COMMENT= programmable small perl irc client
DISTNAME= sirc-2.211
CATEGORIES= net
REVISION= 0
MASTER_SITES= http://www.iagora.com/~espel/sirc/
MASTER_SITES0= http://www.iagora.com/~espel/sirc/scripts/
PATCHFILES= ssfe.diff:0
HOMEPAGE= http://www.iagora.com/~espel/sirc/sirc.html
MAINTAINER= Peter Valchev <pvalchev@sightly.net>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c termcap
NO_TEST= Yes
pre-configure:
@sed s!PREFIX.SED!${PREFIX}!g ${FILESDIR}/sirc-script > \
${WRKSRC}/sirc
@sed s!PREFIX.SED!${PREFIX}!g ${WRKSRC}/dsirc > \
${WRKSRC}/dsirc.sed
@sed s!/usr/local/bin/perl!/usr/bin/perl! ${WRKSRC}/dsirc.sed > \
${WRKSRC}/dsirc
@gzip -d ${WRKSRC}/sirc.help.gz
do-build:
${CC} ${CFLAGS} ${WRKSRC}/ssfe.c -o ${WRKSRC}/ssfe -ltermcap
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/sirc ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/ssfe ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/dsirc ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/sirc
${INSTALL_DATA} ${WRKSRC}/sirc.help ${PREFIX}/share/sirc
${INSTALL_DATA} ${WRKSRC}/n0thing.pl ${PREFIX}/share/sirc
${INSTALL_MAN} ${WRKSRC}/ssfe.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/sirc.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -1,4 +0,0 @@
SHA256 (sirc-2.211.tar.gz) = 65MYetKkfcyUS3HdmZo7fbTJuS6Xwytb6cz0BvyEhI0=
SHA256 (ssfe.diff) = bytFz+2xMcWrhURSaQ+j/QhDMYPt4MVepgsAG2Ew+CY=
SIZE (sirc-2.211.tar.gz) = 83875
SIZE (ssfe.diff) = 1337

View File

@ -1,16 +0,0 @@
#!/bin/sh
PERL=/usr/bin/perl
if test -z "$SIRCSERVER" && test -z "$IRCSERVER"
then
SIRCSERVER="irc.ef.net"
export SIRCSERVER
fi
case "$1" in
-d) shift
exec ${PERL} PREFIX.SED/bin/dsirc "$@"
;;
*) eval exec PREFIX.SED/bin/ssfe $SSFE ${PERL} PREFIX.SED/bin/dsirc \"\$@\"
esac

View File

@ -1,18 +0,0 @@
$OpenBSD: patch-dsirc,v 1.1.1.1 2001/02/24 11:25:59 reinhard Exp $
--- dsirc.orig Tue Mar 10 12:55:50 1998
+++ dsirc Fri Feb 9 22:50:08 2001
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl
# dsirc: dumb-mode small irc client in perl
# by orabidoo <roger.espel.llima@pobox.com>
@@ -38,7 +38,7 @@ $version='2.211';
$date='10 Mar 1998';
$add_ons='';
-$libdir=$ENV{"SIRCLIB"} || ".";
+$libdir=$ENV{"SIRCLIB"} || "PREFIX.SED/share/sirc/";
push(@INC, $libdir, $ENV{"HOME"});
@loadpath=($ENV{"HOME"}."/.sirc", $libdir, ".");

View File

@ -1,4 +0,0 @@
Sirc is an Internet Relay Chat programmable client written
in perl and C. It has a main perl script that can be run in
'dumb' mode, standalone, and a separate split-screen front
end in C, called ssfe.

View File

@ -1,10 +0,0 @@
@comment $OpenBSD: PLIST,v 1.4 2004/09/18 13:01:48 espie Exp $
@conflict kdenetwork-*
bin/dsirc
bin/sirc
bin/ssfe
@man man/man1/sirc.1
@man man/man1/ssfe.1
share/sirc/
share/sirc/n0thing.pl
share/sirc/sirc.help