diff --git a/srcpkgs/inspircd/INSTALL.msg b/srcpkgs/inspircd/INSTALL.msg index 8f2d589b17..28be2fc456 100644 --- a/srcpkgs/inspircd/INSTALL.msg +++ b/srcpkgs/inspircd/INSTALL.msg @@ -1,2 +1,2 @@ You need to create a configuration file before running inspircd. -Example configuration can be found at /etc/inspircd/examples/ +Example configuration can be found at /usr/share/doc/inspircd diff --git a/srcpkgs/inspircd/template b/srcpkgs/inspircd/template index 86a42adea5..d80ffdef29 100644 --- a/srcpkgs/inspircd/template +++ b/srcpkgs/inspircd/template @@ -1,20 +1,21 @@ # Template file for 'inspircd' pkgname=inspircd -version=3.10.0 +version=3.13.0 revision=1 build_style=gnu-makefile hostmakedepends="perl pkg-config" -makedepends="geoip-devel openssl-devel sqlite-devel gnutls-devel" +makedepends="gnutls-devel libmaxminddb-devel openssl-devel sqlite-devel" short_desc="Modular Internet Relay Chat server" maintainer="Alexander Gehrke " license="GPL-2.0-only" homepage="http://www.inspircd.org/" distfiles="https://github.com/inspircd/inspircd/archive/v${version}.tar.gz" -checksum=9bbf3581fc1a9443ef4c4595b208e5b8852483cb78b20fe3e98d225fa4538982 +checksum=0a4534114f5db1602c53ca4cfbb5ad623b9f990737d8c8f85890d8de47165729 system_accounts="inspircd" inspircd_homedir="/var/lib/inspircd" make_dirs=" + /run/inspircd 0750 ${pkgname} ${pkgname} /var/log/inspircd 0750 ${pkgname} ${pkgname} /var/lib/inspircd 0750 ${pkgname} ${pkgname}" @@ -26,24 +27,17 @@ pre_configure() { } do_configure() { - ./configure --enable-extras=m_ssl_openssl.cpp,m_regex_posix.cpp,m_sqlite3.cpp ./configure \ - --prefix=/usr \ - --config-dir=/etc/inspircd \ - --log-dir=/var/log/inspircd \ - --data-dir=/var/lib/inspircd \ - --manual-dir=/usr/share/man/man1 \ - --module-dir=/usr/lib/${pkgname}/modules \ - --binary-dir=/usr/bin \ + --enable-extras "geo_maxmind regex_posix regex_stdlib ssl_gnutls ssl_openssl sslrehashsignal sqlite3" + ./configure \ + --binary-dir /usr/bin \ + --disable-auto-extras \ + --disable-ownership \ --distribution-label voidlinux-${revision} \ - --gid 0 \ - --uid 0 \ - --disable-interactive + --system vsed -i 's/-ldl/& -lm/' GNUmakefile } post_install() { vsv inspircd - rm ${DESTDIR}/usr/${pkgname} - rm ${DESTDIR}/usr/inspircd.service }