From 208b487577de10b45c1cdd4935cf74a5d618643c Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Fri, 24 Aug 2001 14:15:40 +0000 Subject: [PATCH] add sircd The Smart IRC Daemon --- irc/Makefile | 1 + irc/sircd/Makefile | 38 +++++++++++++++++++ irc/sircd/distinfo | 1 + .../files/patch-sircd::src::srv_commands.c | 11 ++++++ irc/sircd/pkg-comment | 1 + irc/sircd/pkg-descr | 3 ++ irc/sircd/pkg-plist | 8 ++++ 7 files changed, 63 insertions(+) create mode 100644 irc/sircd/Makefile create mode 100644 irc/sircd/distinfo create mode 100644 irc/sircd/files/patch-sircd::src::srv_commands.c create mode 100644 irc/sircd/pkg-comment create mode 100644 irc/sircd/pkg-descr create mode 100644 irc/sircd/pkg-plist diff --git a/irc/Makefile b/irc/Makefile index 04732a239191..52c5335f08d7 100644 --- a/irc/Makefile +++ b/irc/Makefile @@ -39,6 +39,7 @@ SUBDIR += scrollz-doc SUBDIR += sic SUBDIR += sirc + SUBDIR += sircd SUBDIR += slirc SUBDIR += tirc SUBDIR += tircproxy diff --git a/irc/sircd/Makefile b/irc/sircd/Makefile new file mode 100644 index 000000000000..2418dbe7ac62 --- /dev/null +++ b/irc/sircd/Makefile @@ -0,0 +1,38 @@ +# ex:ts=8 +# New ports collection makefile for: sircd +# Date created: Jun 15, 2001 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= sircd +PORTVERSION= 0.2.5a +CATEGORIES= irc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + http://www.sircd.org/files/ +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}-${PORTVERSION:S/a/-alpha/} + +MAINTAINER= ports@FreeBSD.org + +USE_OPENSSL= yes +WRKSRC= ${WRKDIR}/${DISTNAME}/server +USE_GMAKE= yes +ALL_TARGET= release +INSTALLS_SHLIB= yes + +post-patch: + @${PERL} -pi -e "s,-lssl,-lssl -lcrypto,g" ${WRKSRC}/sircd/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/sircd/sircd ${PREFIX}/sbin + ${INSTALL} ${WRKSRC}/../syscore/libsyscore.so ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/sircd/sircd.conf ${PREFIX}/etc/sircd.conf.sample + ${MKDIR} ${PREFIX}/share/sircd/plugins +.for file in mod_base.so mod_oper.so + ${INSTALL} ${WRKSRC}/plugins/${file} ${PREFIX}/share/sircd/plugins +.endfor + ${INSTALL_DATA} ${WRKSRC}/sircd/motd.txt ${PREFIX}/share/sircd + +.include diff --git a/irc/sircd/distinfo b/irc/sircd/distinfo new file mode 100644 index 000000000000..aff1e29dcd6a --- /dev/null +++ b/irc/sircd/distinfo @@ -0,0 +1 @@ +MD5 (sircd-0.2.5-alpha.tar.gz) = 001aef9c4e700a240a503f01d351b746 diff --git a/irc/sircd/files/patch-sircd::src::srv_commands.c b/irc/sircd/files/patch-sircd::src::srv_commands.c new file mode 100644 index 000000000000..640343412e0f --- /dev/null +++ b/irc/sircd/files/patch-sircd::src::srv_commands.c @@ -0,0 +1,11 @@ +--- sircd/src/srv_commands.c.orig Fri Jun 15 16:10:36 2001 ++++ sircd/src/srv_commands.c Fri Jun 15 16:11:25 2001 +@@ -11,6 +11,8 @@ + */ + + #include ++#include ++#include + + #ifdef WIN32 + #pragma warning(disable : 4090) // const diff --git a/irc/sircd/pkg-comment b/irc/sircd/pkg-comment new file mode 100644 index 000000000000..8e81951bacab --- /dev/null +++ b/irc/sircd/pkg-comment @@ -0,0 +1 @@ +The Smart IRC Daemon diff --git a/irc/sircd/pkg-descr b/irc/sircd/pkg-descr new file mode 100644 index 000000000000..3812d4b533b3 --- /dev/null +++ b/irc/sircd/pkg-descr @@ -0,0 +1,3 @@ +The Smart IRC Daemon + +WWW: http://www.sircd.org/ diff --git a/irc/sircd/pkg-plist b/irc/sircd/pkg-plist new file mode 100644 index 000000000000..a90812c36e7d --- /dev/null +++ b/irc/sircd/pkg-plist @@ -0,0 +1,8 @@ +sbin/sircd +lib/libsyscore.so +etc/sircd.conf.sample +share/sircd/motd.txt +share/sircd/plugins/mod_base.so +share/sircd/plugins/mod_oper.so +@dirrm share/sircd/plugins +@dirrm share/sircd