mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Update to 1.3.1b
Submitted by: Jonas Kvinge <jonas@emptyglass.night-light.net> (maintainer) Approved by: linimon (mentor)
This commit is contained in:
parent
d9669b026a
commit
cd8375131c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203975
4 changed files with 50 additions and 34 deletions
|
@ -6,30 +6,45 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= ircproxy
|
PORTNAME= ircproxy
|
||||||
DISTVERSION= 1.2.42d.pre3
|
PORTVERSION= 1.3.1b
|
||||||
CATEGORIES= irc
|
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
|
MAINTAINER= jonas@night-light.net
|
||||||
COMMENT= An IRC proxy/bouncer daemon
|
COMMENT= An IRC proxy/bouncer daemon
|
||||||
|
|
||||||
|
LIB_DEPENDS= cares.1:${PORTSDIR}/dns/c-ares
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_WRKSRC= ${WRKSRC}/config
|
CONFIGURE_ARGS= --prefix=${LOCALBASE}
|
||||||
|
|
||||||
#
|
OPTIONS= SSL "Enable SSL support" on \
|
||||||
# Copy the freebsd port setup file to automatically generate setup.h
|
IPV6 "Enable IPv6 support" on \
|
||||||
# So we dont need to do make config, I think this might be the best
|
MEMDEBUG "Enable memory debugging" on \
|
||||||
# solution.
|
FDDEBUG "Enable file descriptor debugging" on
|
||||||
#
|
|
||||||
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 <bsd.port.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.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 <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (ircproxy-1.2.42d.pre3.tar.gz) = 6fbb849489912e6dabedba3f35ba782c
|
MD5 (ircproxy-1.3.1b.tar.gz) = b17e861248d5b62d0a208caefd2ed4de
|
||||||
SHA256 (ircproxy-1.2.42d.pre3.tar.gz) = 1d66b58ce596e45c0168327d795211452e5a7db061e968b9ee678ad894ba36b6
|
SHA256 (ircproxy-1.3.1b.tar.gz) = a90176cd36924b510dfa87a62a1e8af296ef38721d1967e3bcdba0648b3a0ae3
|
||||||
SIZE (ircproxy-1.2.42d.pre3.tar.gz) = 239450
|
SIZE (ircproxy-1.3.1b.tar.gz) = 359480
|
||||||
|
|
|
@ -26,9 +26,9 @@ if [ "$2" = "POST-INSTALL" ]; then
|
||||||
pw useradd ${EUSER} -u ${UID} -g ${EGROUP} -s /nonexistent -c "Night Light IRC Proxy"
|
pw useradd ${EUSER} -u ${UID} -g ${EGROUP} -s /nonexistent -c "Night Light IRC Proxy"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i -e "s:^IRCPROXYBINFILE=.*:IRCPROXYBINFILE=${PKG_PREFIX}/sbin/${BINFILE}:" ${PKG_PREFIX}/sbin/ircproxy.sh || exit 1
|
#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
|
#sed -i -e "s:^IRCPROXYPIDFILE=.*:IRCPROXYPIDFILE=${PIDFILE}:" ${PKG_PREFIX}/sbin/ircproxy.sh || exit 1
|
||||||
rm -f ${PKG_PREFIX}/sbin/ircproxy.sh-e
|
#rm -f ${PKG_PREFIX}/sbin/ircproxy.sh-e
|
||||||
|
|
||||||
#grep -q "^[^#]*${PKG_PREFIX}/sbin/ircproxy\.sh" /etc/crontab >/dev/null 2>&1
|
#grep -q "^[^#]*${PKG_PREFIX}/sbin/ircproxy\.sh" /etc/crontab >/dev/null 2>&1
|
||||||
#if [ ! $? -eq 0 ] ; then
|
#if [ ! $? -eq 0 ] ; then
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
sbin/ircproxyd
|
bin/ircproxyd
|
||||||
sbin/mkpasswd
|
bin/imkpasswd
|
||||||
sbin/ircproxy.sh
|
share/ircproxy/ircproxyd.conf
|
||||||
etc/ircproxy/ircproxy-listen.conf
|
share/ircproxy/ircproxyd-listen.conf
|
||||||
etc/ircproxy/ircproxy-access.conf
|
share/ircproxy/ircproxyd-access.conf
|
||||||
etc/ircproxy/ircproxy-user.conf
|
share/ircproxy/ircproxyd-user.conf
|
||||||
etc/ircproxy/ircproxy-conn.conf
|
share/ircproxy/ircproxyd-conn.conf
|
||||||
@dirrm etc/ircproxy
|
share/ircproxy/ircproxyd-autoop.conf
|
||||||
|
@dirrm share/ircproxy
|
||||||
|
|
Loading…
Add table
Reference in a new issue