From cd8375131c0f6fd41a4c904f5f1662fa311e98e2 Mon Sep 17 00:00:00 2001 From: Beech Rintoul Date: Tue, 18 Dec 2007 08:22:10 +0000 Subject: - Update to 1.3.1b Submitted by: Jonas Kvinge (maintainer) Approved by: linimon (mentor) --- irc/ircproxy/Makefile | 57 ++++++++++++++++++++++++++++++------------------ irc/ircproxy/distinfo | 6 ++--- irc/ircproxy/pkg-install | 6 ++--- irc/ircproxy/pkg-plist | 17 ++++++++------- 4 files changed, 51 insertions(+), 35 deletions(-) (limited to 'irc') diff --git a/irc/ircproxy/Makefile b/irc/ircproxy/Makefile index 96ac05b176a8..122f367911e7 100644 --- a/irc/ircproxy/Makefile +++ b/irc/ircproxy/Makefile @@ -6,30 +6,45 @@ # PORTNAME= ircproxy -DISTVERSION= 1.2.42d.pre3 +PORTVERSION= 1.3.1b CATEGORIES= irc -MASTER_SITES= http://www.ircproxy.night-light.net/files/ +MASTER_SITES= http://filearchive.night-light.net/packages/sources/ircproxy/ MAINTAINER= jonas@night-light.net COMMENT= An IRC proxy/bouncer daemon -GNU_CONFIGURE= yes -CONFIGURE_WRKSRC= ${WRKSRC}/config +LIB_DEPENDS= cares.1:${PORTSDIR}/dns/c-ares -# -# Copy the freebsd port setup file to automatically generate setup.h -# So we dont need to do make config, I think this might be the best -# solution. -# -pre-build: - @if [ ! -f ${WRKSRC}/config/setup-file ]; then ( \ - if [ ! -f ${WRKSRC}/setup/setup-freebsd ]; then ( ${ECHO} "Missing the setup-freebsd file!"; exit 1; ) fi; \ - ${CP} ${WRKSRC}/setup/setup-freebsd ${WRKSRC}/setup/setup-file || exit 1; \ - cd ${WRKSRC}/setup; SETUP_BATCH=y SETUP_QUIET=y ${SH} ./setup || exit 1; \ - cd ${WRKSRC}/setup; ${SH} ./setup-makefile || exit 1; \ - ) \ - fi; - ${CHMOD} u+x ${WRKSRC}/pkg-install || exit 1 - ${CHMOD} u+x ${WRKSRC}/pkg-deinstall || exit 1 - -.include +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${LOCALBASE} + +OPTIONS= SSL "Enable SSL support" on \ + IPV6 "Enable IPv6 support" on \ + MEMDEBUG "Enable memory debugging" on \ + FDDEBUG "Enable file descriptor debugging" on + +.include + +.if defined(WITH_SSL) +.include "${PORTSDIR}/Mk/bsd.openssl.mk" +.else +CONFIGURE_ARGS+= --disable-ssl +.endif + +.if !defined(WITH_IPV6) +CONFIGURE_ARGS+= --disable-ipv6 +.endif + +.if defined(WITH_MEMDEBUG) +CONFIGURE_ARGS+= --enable-memdebug +.else +CONFIGURE_ARGS+= --disable-memdebug +.endif + +.if defined(WITH_FDDEBUG) +CONFIGURE_ARGS+= --enable-fddebug +.else +CONFIGURE_ARGS+= --disable-fddebug +.endif + +.include diff --git a/irc/ircproxy/distinfo b/irc/ircproxy/distinfo index e8160a743fd0..1fdedb6f21f9 100644 --- a/irc/ircproxy/distinfo +++ b/irc/ircproxy/distinfo @@ -1,3 +1,3 @@ -MD5 (ircproxy-1.2.42d.pre3.tar.gz) = 6fbb849489912e6dabedba3f35ba782c -SHA256 (ircproxy-1.2.42d.pre3.tar.gz) = 1d66b58ce596e45c0168327d795211452e5a7db061e968b9ee678ad894ba36b6 -SIZE (ircproxy-1.2.42d.pre3.tar.gz) = 239450 +MD5 (ircproxy-1.3.1b.tar.gz) = b17e861248d5b62d0a208caefd2ed4de +SHA256 (ircproxy-1.3.1b.tar.gz) = a90176cd36924b510dfa87a62a1e8af296ef38721d1967e3bcdba0648b3a0ae3 +SIZE (ircproxy-1.3.1b.tar.gz) = 359480 diff --git a/irc/ircproxy/pkg-install b/irc/ircproxy/pkg-install index cd290e7faf5c..c28057b03d4e 100644 --- a/irc/ircproxy/pkg-install +++ b/irc/ircproxy/pkg-install @@ -26,9 +26,9 @@ if [ "$2" = "POST-INSTALL" ]; then pw useradd ${EUSER} -u ${UID} -g ${EGROUP} -s /nonexistent -c "Night Light IRC Proxy" fi - sed -i -e "s:^IRCPROXYBINFILE=.*:IRCPROXYBINFILE=${PKG_PREFIX}/sbin/${BINFILE}:" ${PKG_PREFIX}/sbin/ircproxy.sh || exit 1 - sed -i -e "s:^IRCPROXYPIDFILE=.*:IRCPROXYPIDFILE=${PIDFILE}:" ${PKG_PREFIX}/sbin/ircproxy.sh || exit 1 - rm -f ${PKG_PREFIX}/sbin/ircproxy.sh-e + #sed -i -e "s:^IRCPROXYBINFILE=.*:IRCPROXYBINFILE=${PKG_PREFIX}/sbin/${BINFILE}:" ${PKG_PREFIX}/sbin/ircproxy.sh || exit 1 + #sed -i -e "s:^IRCPROXYPIDFILE=.*:IRCPROXYPIDFILE=${PIDFILE}:" ${PKG_PREFIX}/sbin/ircproxy.sh || exit 1 + #rm -f ${PKG_PREFIX}/sbin/ircproxy.sh-e #grep -q "^[^#]*${PKG_PREFIX}/sbin/ircproxy\.sh" /etc/crontab >/dev/null 2>&1 #if [ ! $? -eq 0 ] ; then diff --git a/irc/ircproxy/pkg-plist b/irc/ircproxy/pkg-plist index 0f7bb037affb..783c45a800f2 100644 --- a/irc/ircproxy/pkg-plist +++ b/irc/ircproxy/pkg-plist @@ -1,8 +1,9 @@ -sbin/ircproxyd -sbin/mkpasswd -sbin/ircproxy.sh -etc/ircproxy/ircproxy-listen.conf -etc/ircproxy/ircproxy-access.conf -etc/ircproxy/ircproxy-user.conf -etc/ircproxy/ircproxy-conn.conf -@dirrm etc/ircproxy +bin/ircproxyd +bin/imkpasswd +share/ircproxy/ircproxyd.conf +share/ircproxy/ircproxyd-listen.conf +share/ircproxy/ircproxyd-access.conf +share/ircproxy/ircproxyd-user.conf +share/ircproxy/ircproxyd-conn.conf +share/ircproxy/ircproxyd-autoop.conf +@dirrm share/ircproxy -- cgit v1.2.3