aboutsummaryrefslogtreecommitdiff
path: root/irc/sircd
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-24 14:15:40 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-24 14:15:40 +0000
commit208b487577de10b45c1cdd4935cf74a5d618643c (patch)
tree32176eb989fa4c4bc5b35a42e7a6caeea1e068c0 /irc/sircd
parent63a15f29709b8cfe1c93c22c562af999417578fe (diff)
downloadports-208b487577de10b45c1cdd4935cf74a5d618643c.tar.gz
ports-208b487577de10b45c1cdd4935cf74a5d618643c.zip
Notes
Diffstat (limited to 'irc/sircd')
-rw-r--r--irc/sircd/Makefile38
-rw-r--r--irc/sircd/distinfo1
-rw-r--r--irc/sircd/files/patch-sircd::src::srv_commands.c11
-rw-r--r--irc/sircd/pkg-comment1
-rw-r--r--irc/sircd/pkg-descr3
-rw-r--r--irc/sircd/pkg-plist8
6 files changed, 62 insertions, 0 deletions
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 <bsd.port.mk>
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 <srv_include.h>
++#include <sys/types.h>
++#include <sys/stat.h>
+
+ #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