diff options
author | pav <pav@FreeBSD.org> | 2004-03-29 21:50:19 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-03-29 21:50:19 +0800 |
commit | b034a0aedbd891fc40931ebb6896b616bb494445 (patch) | |
tree | be2fc10bd147d214c9e5c1747ca856277b61be0e /irc/undernet-ircu | |
parent | f8502f4b0e13d66aa0b1918fd37e2bd4a4460514 (diff) | |
download | freebsd-ports-gnome-b034a0aedbd891fc40931ebb6896b616bb494445.tar.gz freebsd-ports-gnome-b034a0aedbd891fc40931ebb6896b616bb494445.tar.zst freebsd-ports-gnome-b034a0aedbd891fc40931ebb6896b616bb494445.zip |
Add undernet-ircu, an IRC daemon used by Undernet network.
http://coder-com.undernet.org
PR: ports/62997
Submitted by: Walter Venable <weaseal@hotmail.com>
Diffstat (limited to 'irc/undernet-ircu')
-rw-r--r-- | irc/undernet-ircu/Makefile | 114 | ||||
-rw-r--r-- | irc/undernet-ircu/distinfo | 2 | ||||
-rw-r--r-- | irc/undernet-ircu/files/patch-ircd-Makefile.in | 20 | ||||
-rw-r--r-- | irc/undernet-ircu/pkg-descr | 9 |
4 files changed, 145 insertions, 0 deletions
diff --git a/irc/undernet-ircu/Makefile b/irc/undernet-ircu/Makefile new file mode 100644 index 000000000000..83655c6c1e4c --- /dev/null +++ b/irc/undernet-ircu/Makefile @@ -0,0 +1,114 @@ +# New ports collection makefile for: undernet-ircu +# Date created: 2004-2-17 +# Whom: Walter Venable <weaseal@users.sourceforge.net> +# +# $FreeBSD$ + +PORTNAME= undernet-ircu +PORTVERSION= 2.10.11.06 +CATEGORIES= irc net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= undernet-ircu +DISTNAME= ircu${PORTVERSION} + +MAINTAINER= weaseal@users.sourceforge.net +COMMENT= Undernet IRCU irc daemon + +CONFLICTS= ircd-hybrid* + +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --with-dpath=${PREFIX}/etc + +PLIST_FILES= bin/chkconf bin/ircd etc/ircd.conf.example + +MAN8= ircd.8 + +.include <bsd.port.pre.mk> + +pre-everything:: + + @${ECHO} "" + @${ECHO} "Here is a list of possible configuration options:" + @${ECHO} "(Note that options already selected will not be shown)" + @${ECHO} "" + +.if defined(ENABLE_POLL) +CONFIGURE_ARGS+= --enable-poll +.else + @${ECHO} " ENABLE_POLL: Force poll to be used regardless of whether or not" + @${ECHO} " it is a system call." +.endif + +.if defined(ENABLE_DEBUG) +CONFIGURE_ARGS+= --enable-debug +.else + @${ECHO} " ENABLE_DEBUG: Turn on debugging mode." +.endif + +.if defined(DISABLE_ASSERTS) +CONFIGURE_ARGS+= --disable-asserts +.else + @${ECHO} " DISABLE_ASSERTS: Disable assertion checking." +.endif + +.if defined(DISABLE_SYMBOLS) +CONFIGURE_ARGS+= --disable-symbols +.else + @${ECHO} " DISABLE_SYMBOLS: Disable debugging symbols (remove -g from CFLAGS)." +.endif + +.if defined(ENABLE_PROFILE) +CONFIGURE_ARGS+= --enable-profile +.else + @${ECHO} " ENABLE_PROFILE: Enable profiling support (add -pg to CFLAGS)." +.endif + +.if defined(ENABLE_PEDANTIC) +CONFIGURE_ARGS+= --enable-pedantic +.else + @${ECHO} " ENABLE_PEDANTIC: Enable pedantic warnings (add -pedantic to CFLAGS)." +.endif + +.if defined(ENABLE_WARNINGS) +CONFIGURE_ARGS+= --enable-warnings +.else + @${ECHO} " ENABLE_WARNINGS: Enable warnings (add -Wall to CFLAGS)." +.endif + +.if defined(DISABLE_INLINES) +CONFIGURE_ARGS+= --disable-inlines +.else + @${ECHO} " DISABLE_INLINES: Disable inlining for a few critical functions." +.endif + +.if defined(DISABLE_DEVPOLL) +CONFIGURE_ARGS+= --disable-devpoll +.else + @${ECHO} " DISABLE_DEVPOLL: Disable the /dev/poll-based engine." +.endif + +.if defined(DISABLE_KQUEUE) +CONFIGURE_ARGS+= --disable-kqueue +.else + @${ECHO} " DISABLE_KQUEUE: Disable the kqueue-based engine." +.endif + +.if defined(DISABLE_EPOLL) +CONFIGURE_ARGS+= --disable-epoll +.else + @${ECHO} " DISABLE_EPOLL: Disable the epoll-based engine." +.endif + @${ECHO} "" + @${ECHO} "To select any of these options CTRL+C now! Then, for example: " + @${ECHO} " 'make ENABLE_OPTION=1'." + @${ECHO} "" +post-install: + @ ${ECHO} "" + @ ${ECHO} " PLEASE NOTE:" + @ ${ECHO} " When you 'make deinstall', a binary file will remain in ${PREFIX}/bin" + @ ${ECHO} " with the name ircd.YEAR-MONTH-DAY-HOUR-MINUTE (of install). This file" + @ ${ECHO} " must be removed manually." + @ ${ECHO} "" + +.include <bsd.port.post.mk> diff --git a/irc/undernet-ircu/distinfo b/irc/undernet-ircu/distinfo new file mode 100644 index 000000000000..875dc3e781a1 --- /dev/null +++ b/irc/undernet-ircu/distinfo @@ -0,0 +1,2 @@ +MD5 (ircu2.10.11.06.tar.gz) = b1863d044eaae96ccef8d3dba6725346 +SIZE (ircu2.10.11.06.tar.gz) = 833888 diff --git a/irc/undernet-ircu/files/patch-ircd-Makefile.in b/irc/undernet-ircu/files/patch-ircd-Makefile.in new file mode 100644 index 000000000000..cceec6f10d77 --- /dev/null +++ b/irc/undernet-ircu/files/patch-ircd-Makefile.in @@ -0,0 +1,20 @@ +--- ircd/Makefile.in Sat Nov 1 05:19:09 2003 ++++ ircd/Makefile.in Wed Feb 18 01:45:08 2004 +@@ -273,7 +273,7 @@ + ${LN_S} ircd.`cat /tmp/ircd.tag` ${SYMLINK}; ) + @${RM} /tmp/ircd.tag + ${INSTALL} -s -m 700 -o ${IRCDOWN} -g ${IRCDGRP} chkconf ${BINDIR} +- ${INSTALL} -m 600 -o ${IRCDOWN} -g ${IRCDGRP} ${top_srcdir}/doc/example.conf ${DPATH} ++ ${INSTALL} -m 600 -o ${IRCDOWN} -g ${IRCDGRP} ${top_srcdir}/doc/example.conf ${DPATH}/ircd.conf.example + # ( cd ${DPATH}; \ + # ${TOUCH} ${MPATH}; \ + # ${TOUCH} ${RPATH}; \ +@@ -291,7 +291,7 @@ + @echo "Installing new ircd as ${BINDIR}/ircd :" + ${INSTALL} -m ${IRCDMODE} -o ${IRCDOWN} -g ${IRCDGRP} ircd ${BINDIR}/ircd + ${INSTALL} -s -m 700 -o ${IRCDOWN} -g ${IRCDGRP} chkconf ${BINDIR} +- ${INSTALL} -m 600 -o ${IRCDOWN} -g ${IRCDGRP} ${top_srcdir}/doc/example.conf ${DPATH} ++ ${INSTALL} -m 600 -o ${IRCDOWN} -g ${IRCDGRP} ${top_srcdir}/doc/example.conf ${DPATH}/ircd.conf.example + # ( cd ${DPATH}; \ + # ${TOUCH} ${MPATH}; \ + # ${TOUCH} ${RPATH}; \ diff --git a/irc/undernet-ircu/pkg-descr b/irc/undernet-ircu/pkg-descr new file mode 100644 index 000000000000..6b3ff2f11c5f --- /dev/null +++ b/irc/undernet-ircu/pkg-descr @@ -0,0 +1,9 @@ +Undernet's popular and reliable irc daemon. See website (URL below) for +details. + +Note that this port is titled "undernet-ircu" to differentiate it from another +ircd known as ircu (which was created and is maintained by a former undernet +coder who forked project paths without changing project names). + +Author: "Coder-Com" <coder-com@undernet.org> +WWW: http://coder-com.undernet.org |