diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-10-22 14:58:32 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-10-22 14:58:32 +0000 |
commit | 40b422b869e80e1748e6a205ea1edd9db605acfd (patch) | |
tree | e10b467aa933353bf7e4130733a2375e780fb089 | |
parent | 2eaea200a97e05deffdf75a19aa5a2e790dad29a (diff) | |
download | ports-40b422b869e80e1748e6a205ea1edd9db605acfd.tar.gz ports-40b422b869e80e1748e6a205ea1edd9db605acfd.zip |
add ctrlproxy 2.5
IRC proxy
Notes
Notes:
svn path=/head/; revision=91899
-rw-r--r-- | irc/Makefile | 1 | ||||
-rw-r--r-- | irc/ctrlproxy/Makefile | 41 | ||||
-rw-r--r-- | irc/ctrlproxy/distinfo | 1 | ||||
-rw-r--r-- | irc/ctrlproxy/files/patch-Makefile.in | 20 | ||||
-rw-r--r-- | irc/ctrlproxy/files/patch-doc:Makefile.in | 11 | ||||
-rw-r--r-- | irc/ctrlproxy/files/patch-mods:Makefile.in | 11 | ||||
-rw-r--r-- | irc/ctrlproxy/files/patch-printstats.c | 13 | ||||
-rw-r--r-- | irc/ctrlproxy/pkg-descr | 8 | ||||
-rw-r--r-- | irc/ctrlproxy/pkg-plist | 21 |
9 files changed, 127 insertions, 0 deletions
diff --git a/irc/Makefile b/irc/Makefile index 4764ba328ab2..9be33648a259 100644 --- a/irc/Makefile +++ b/irc/Makefile @@ -6,6 +6,7 @@ SUBDIR += blackened SUBDIR += bnc SUBDIR += bobot++ + SUBDIR += ctrlproxy SUBDIR += dancer SUBDIR += dancer-ircd SUBDIR += dancer-services diff --git a/irc/ctrlproxy/Makefile b/irc/ctrlproxy/Makefile new file mode 100644 index 000000000000..d881f2fcbbc3 --- /dev/null +++ b/irc/ctrlproxy/Makefile @@ -0,0 +1,41 @@ +# ex:ts=8 +# Ports collection makefile for: ctrlproxy +# Date created: Oct 22, 2003 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= ctrlproxy +PORTVERSION= 2.5 +CATEGORIES= irc +MASTER_SITES= http://jelmer.vernstok.nl/ctrlproxy/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= IRC proxy + +LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \ + xml2.5:${PORTSDIR}/textproc/libxml2 \ + pcre.0:${PORTSDIR}/devel/pcre \ + tdb.1:${PORTSDIR}/databases/tdb + +USE_REINPLACE= yes +UES_OPENSSL= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +USE_GMAKE= yes +MAKE_ENV= LDFLAGS="-L${LOCALBASE}/lib" + +MAN1= ctrlproxy.1 +MAN5= ctrlproxyrc.5 +MAN7= admin.7ctrlproxy antiflood.7ctrlproxy auto-away.7ctrlproxy \ + ctcp.7ctrlproxy log_custom.7ctrlproxy log_irssi.7ctrlproxy \ + nickserv.7ctrlproxy noticelog.7ctrlproxy repl_memory.7ctrlproxy \ + socket.7ctrlproxy stats.7ctrlproxy strip.7ctrlproxy + +post-patch: + @${FIND} ${WRKSRC} -name "*.c" | ${XARGS} ${GREP} -lR "malloc\.h" | \ + ${XARGS} ${REINPLACE_CMD} -e "s@malloc.h@stdlib.h@g" + +.include <bsd.port.mk> diff --git a/irc/ctrlproxy/distinfo b/irc/ctrlproxy/distinfo new file mode 100644 index 000000000000..52044f19953b --- /dev/null +++ b/irc/ctrlproxy/distinfo @@ -0,0 +1 @@ +MD5 (ctrlproxy-2.5.tar.gz) = 42ce7a61b3ca885f110125bfd28fff3e diff --git a/irc/ctrlproxy/files/patch-Makefile.in b/irc/ctrlproxy/files/patch-Makefile.in new file mode 100644 index 000000000000..8beaefc5c4ba --- /dev/null +++ b/irc/ctrlproxy/files/patch-Makefile.in @@ -0,0 +1,20 @@ +--- Makefile.in.orig Tue Oct 14 02:15:45 2003 ++++ Makefile.in Wed Oct 22 22:47:20 2003 +@@ -5,7 +5,7 @@ + CFLAGS = @CFLAGS@ @PKG_CFLAGS@ + INSTALL = @INSTALL@ + bindir = @bindir@ +-docdir = @prefix@/doc/ctrlproxy ++docdir = @prefix@/share/doc/ctrlproxy + modulesdir = @libdir@/ctrlproxy + includedir = @includedir@ + man1dir = @mandir@/man1 +@@ -23,7 +23,7 @@ + $(CC) $(LIBS) -rdynamic -o $@ $(OBJS) + + printstats: printstats.o +- $(CC) -ltdb -o $@ $< ++ $(CC) ${LDFLAGS} -ltdb -o $@ $< + + %.o: %.c + $(CC) $(CFLAGS) -c $< diff --git a/irc/ctrlproxy/files/patch-doc:Makefile.in b/irc/ctrlproxy/files/patch-doc:Makefile.in new file mode 100644 index 000000000000..cd504ab25c0e --- /dev/null +++ b/irc/ctrlproxy/files/patch-doc:Makefile.in @@ -0,0 +1,11 @@ +--- doc/Makefile.in.orig Wed Oct 22 22:44:44 2003 ++++ doc/Makefile.in Wed Oct 22 22:45:09 2003 +@@ -4,7 +4,7 @@ + DOCS = ctrlproxy.1 ctrlproxyrc.5 ctrlproxy.pdf ctrlproxy.html $(MOD_DOCS) + XSLTPROC = @XSLTPROC@ --xinclude + XMLTO = @XMLTO@ +-docdir = @prefix@/doc/ctrlproxy ++docdir = @prefix@/share/doc/ctrlproxy + INSTALL = @INSTALL@ + prefix = @prefix@ + mandir = @mandir@ diff --git a/irc/ctrlproxy/files/patch-mods:Makefile.in b/irc/ctrlproxy/files/patch-mods:Makefile.in new file mode 100644 index 000000000000..9ca5d5bb5749 --- /dev/null +++ b/irc/ctrlproxy/files/patch-mods:Makefile.in @@ -0,0 +1,11 @@ +--- mods/Makefile.in.orig Wed Oct 22 22:37:21 2003 ++++ mods/Makefile.in Wed Oct 22 22:37:47 2003 +@@ -17,7 +17,7 @@ + $(CC) $(CFLAGS) -fPIC -c $< + + libstats.so: stats.o +- $(CC) $(CFLAGS) -shared -o $@ $< -ltdb @LIB_PCRE@ ++ $(CC) $(CFLAGS) -shared -o $@ $< ${LDFLAGS} -ltdb @LIB_PCRE@ + + libsocket.so: @SOCKET_OBJS@ + $(CC) $(CFLAGS) -shared -o $@ @SOCKET_OBJS@ @SSL_LIB@ diff --git a/irc/ctrlproxy/files/patch-printstats.c b/irc/ctrlproxy/files/patch-printstats.c new file mode 100644 index 000000000000..fd8f70f7f6e1 --- /dev/null +++ b/irc/ctrlproxy/files/patch-printstats.c @@ -0,0 +1,13 @@ +--- printstats.c.orig Wed Oct 22 22:34:42 2003 ++++ printstats.c Wed Oct 22 22:34:48 2003 +@@ -34,9 +34,9 @@ + + int traverse_keys(TDB_CONTEXT *tdb_context, TDB_DATA key, TDB_DATA value, void *pattern) + { ++ long *ivalue; + if(!key.dptr) return 0; + +- long *ivalue; + ivalue = (long *)value.dptr; + printf("%s: %ld\n", key.dptr, *ivalue); + return 0; diff --git a/irc/ctrlproxy/pkg-descr b/irc/ctrlproxy/pkg-descr new file mode 100644 index 000000000000..f8abcf2fe538 --- /dev/null +++ b/irc/ctrlproxy/pkg-descr @@ -0,0 +1,8 @@ +CtrlProxy runs on a computer with a 24/7 internet connection and allows you to +transparently connect to IRC from anywhere on the world to your nick. It +connects to one or more IRC servers and then allows you to connect to it with +any number of clients, providing access to these servers. This is very useful +if you don't want to leave IRC but still want to be able to use it from home, +school or work. + +WWW: http://jelmer.vernstok.nl/ctrlproxy/ diff --git a/irc/ctrlproxy/pkg-plist b/irc/ctrlproxy/pkg-plist new file mode 100644 index 000000000000..be9e812a03fe --- /dev/null +++ b/irc/ctrlproxy/pkg-plist @@ -0,0 +1,21 @@ +bin/ctrlproxy +include/ctrlproxy.h +lib/ctrlproxy/libadmin.so +lib/ctrlproxy/libantiflood.so +lib/ctrlproxy/libauto-away.so +lib/ctrlproxy/libctcp.so +lib/ctrlproxy/liblog_custom.so +lib/ctrlproxy/liblog_irssi.so +lib/ctrlproxy/libnickserv.so +lib/ctrlproxy/libnoticelog.so +lib/ctrlproxy/librepl_memory.so +lib/ctrlproxy/libsocket.so +lib/ctrlproxy/libstats.so +lib/ctrlproxy/libstrip.so +@dirrm lib/ctrlproxy +%%DOCSDIR%%/AUTHORS +%%DOCSDIR%%/COPYING +%%DOCSDIR%%/TODO +%%DOCSDIR%%/ctrlproxy.html +%%DOCSDIR%%/ctrlproxy.pdf +@dirrm %%DOCSDIR%% |