mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
Update to 2.0.17
Properly configure default data and log directories. Enable OPENSSL as default open -- crypto should be possible out of the box.
This commit is contained in:
parent
4408c743f8
commit
b021067d57
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368534
@ -2,15 +2,13 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= inspircd
|
||||
PORTVERSION= 2.0.14
|
||||
PORTREVISION= 6
|
||||
PORTVERSION= 2.0.17
|
||||
CATEGORIES= irc
|
||||
|
||||
MAINTAINER= feld@FreeBSD.org
|
||||
COMMENT= Modular C++ IRC daemon
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/docs/COPYING
|
||||
|
||||
CONFLICTS= inspircd-1.*
|
||||
|
||||
@ -18,7 +16,7 @@ USE_GITHUB= yes
|
||||
GH_ACCOUNT= inspircd
|
||||
GH_PROJECT= ${GH_ACCOUNT}
|
||||
GH_TAGNAME= v${PORTVERSION}
|
||||
GH_COMMIT= 5661a9e
|
||||
GH_COMMIT= 2cc3d7e
|
||||
|
||||
USE_RC_SUBR= ${PORTNAME}
|
||||
MAKEFILE= BSDmakefile
|
||||
@ -42,12 +40,14 @@ USE_PERL5= build
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-cc=${CXX} --config-dir=${ETCDIR} \
|
||||
--module-dir=${PREFIX}/lib/${PORTNAME}/modules \
|
||||
--prefix=${PREFIX}/lib/${PORTNAME} --binary-dir=${PREFIX}/bin \
|
||||
--prefix=${PREFIX}/lib/${PORTNAME} \
|
||||
--binary-dir=${PREFIX}/bin --library-dir=${PREFIX}/lib/${PORTNAME} \
|
||||
--log-dir=${INSPIRCD_LOG} --data-dir=/var/db/inspircd \
|
||||
--enable-kqueue --disable-interactive \
|
||||
--uid=${INSPIRCD_UID}
|
||||
|
||||
OPTIONS_DEFINE= MYSQL PGSQL SQLITE LDAPAUTH LDAPOPER GNUTLS OPENSSL PCRE POSIX
|
||||
OPTIONS_DEFAULT= POSIX
|
||||
OPTIONS_DEFAULT= OPENSSL POSIX
|
||||
|
||||
GNUTLS_DESC= Build m_ssl_gnutls module
|
||||
LDAPAUTH_DESC= Build m_ldapauth module
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (inspircd-2.0.14.tar.gz) = a3dec8ef3a0813c732927ad2cc45a880cfdc33a38fb0a9c88127dee0e65a19a8
|
||||
SIZE (inspircd-2.0.14.tar.gz) = 742244
|
||||
SHA256 (inspircd-2.0.17.tar.gz) = c0dd6755189a838a729c2f357aaf5c588d60500d96efb9a1c123f24f62ca13a5
|
||||
SIZE (inspircd-2.0.17.tar.gz) = 744799
|
||||
|
@ -35,6 +35,7 @@ load_rc_config ${name}
|
||||
: ${inspircd_pidfile="%%INSPIRCD_RUN%%/inspircd.pid"}
|
||||
: ${inspircd_user="%%USERS%%"}
|
||||
: ${inspircd_group="%%GROUPS%%"}
|
||||
: ${inspircd_data="/var/db/inspircd"}
|
||||
: ${inspircd_logfile="%%INSPIRCD_LOG%%"}
|
||||
: ${inspircd_flags="${inspircd_flags} --logfile ${inspircd_logfile} --config ${inspircd_config}"}
|
||||
|
||||
@ -55,6 +56,7 @@ inspircd_prestart()
|
||||
for i in ${inspircd_pidfile} ${inspircd_logfile}; do
|
||||
install -d -m 755 -o ${inspircd_user} -g ${inspircd_group} ${i%/*}
|
||||
done
|
||||
install -d -m 755 -o ${inspircd_user} -g ${inspircd_group} ${inspircd_data}
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user