ppa update
This commit is contained in:
@@ -2,53 +2,54 @@
|
||||
# Contributor: Damian Nowak <damian.nowak@atlashost.eu>
|
||||
# Contributor: Kyle Fuller <inbox@kylefuller.co.uk>
|
||||
# Contributor: jibi <jibi@paranoici.org>
|
||||
# Co-Maintainer: TheGoliath <contact@xdfr.de>
|
||||
|
||||
pkgname='inspircd'
|
||||
pkgver='2.0.27'
|
||||
pkgver='3.2.0'
|
||||
pkgrel='1'
|
||||
pkgdesc='A stable, modern and lightweight IRC daemon'
|
||||
pkgdesc='A modular C++ IRC daemon (ircd).'
|
||||
arch=('any')
|
||||
url='http://www.inspircd.org/'
|
||||
license=('GPL2')
|
||||
conflicts=('inspircd')
|
||||
provides=('inspircd')
|
||||
depends=('perl' 'openssl')
|
||||
makedepends=('pkg-config' 'geoip')
|
||||
optdepends=('geoip: m_geoip')
|
||||
depends=('perl')
|
||||
makedepends=('pkgconf' 'libmariadbclient' 'sqlite3' 'libldap' 'geoip'
|
||||
'gnutls' 'openssl' 'libgcrypt')
|
||||
optdepends=('gnutls: m_ssl_gnutls'
|
||||
'libgcrypt: m_ssl_gnutls'
|
||||
'openssl: m_ssl_openssl'
|
||||
'libmariadbclient: m_mysql'
|
||||
'pcre: m_regex_pcre'
|
||||
'sqlite3: m_sqlite3'
|
||||
'libldap: m_ldapoper and m_ldapauth'
|
||||
'geoip: m_geoip')
|
||||
install='inspircd.install'
|
||||
source=("https://github.com/inspircd/inspircd/archive/v$pkgver.tar.gz"
|
||||
"https://raw.githubusercontent.com/inspircd/inspircd-extras/master/2.0/m_rehashsslsignal.cpp"
|
||||
'inspircd.service')
|
||||
sha512sums=('56f03c3259fad54365e97fd82f4e309edc60b641ccadd7916d04156fd157858f79930c8b9df99aa98c5505f76ab19e6bcd150ae5ed04d2bddfff572e18226cdd'
|
||||
'a5f2a01bbc3e3ba0d5979d5146818edc3c6cfe975f1cdd84b7bb8ceb6ea734d2b3e1cfa8a41551b3ef622df508baddcc0c6f6fe79239026eed6c23cc9e31984f'
|
||||
'5a16a7c237693ffc6a108358f339b6aa2451fb16430561848ae869f890199b38fab6a13640bcc35cf1d07e32d7e5fff405d88668ee05ddaffc2ef61cb42ee832')
|
||||
sha512sums=('8792614785d7f0415a38d49cc1786204d838917df54792ee6755b9ad8fd895020539364fdfc6daae60a911b8f39af1326e172ac40335b700241ca832410a4498'
|
||||
'5a16a7c237693ffc6a108358f339b6aa2451fb16430561848ae869f890199b38fab6a13640bcc35cf1d07e32d7e5fff405d88668ee05ddaffc2ef61cb42ee832')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/inspircd-${pkgver}"
|
||||
|
||||
cp "${srcdir}/m_rehashsslsignal.cpp" src/modules/extra/
|
||||
|
||||
./configure \
|
||||
--enable-extras=m_geoip.cpp \
|
||||
--enable-extras=m_rehashsslsignal.cpp \
|
||||
--enable-extras=m_ssl_openssl.cpp
|
||||
# --enable-extras=m_ldapauth.cpp \
|
||||
# --enable-extras=m_ldapoper.cpp \
|
||||
# --enable-extras=m_mysql.cpp \
|
||||
# --enable-extras=m_regex_pcre.cpp \
|
||||
# --enable-extras=m_regex_posix.cpp
|
||||
# --enable-extras=m_sqlite3.cpp
|
||||
--enable-extras=m_ldapauth.cpp \
|
||||
--enable-extras=m_ldapoper.cpp \
|
||||
--enable-extras=m_mysql.cpp \
|
||||
--enable-extras=m_regex_pcre.cpp \
|
||||
--enable-extras=m_regex_posix.cpp \
|
||||
--enable-extras=m_sqlite3.cpp
|
||||
|
||||
./configure \
|
||||
--enable-openssl \
|
||||
--uid=0 \
|
||||
--prefix=/usr/lib/inspircd \
|
||||
--binary-dir=/usr/bin \
|
||||
--module-dir=/usr/lib/inspircd/modules \
|
||||
--config-dir=/etc/inspircd \
|
||||
--data-dir=/var/lib/inspircd \
|
||||
--log-dir=/var/log/inspircd \
|
||||
--enable-epoll
|
||||
--log-dir=/var/log/inspircd
|
||||
|
||||
make
|
||||
}
|
||||
@@ -65,4 +66,10 @@ package() {
|
||||
|
||||
rm -rf "${pkgdir}"/usr/lib/inspircd/logs
|
||||
rm -rf "${pkgdir}"/usr/lib/inspircd/data
|
||||
|
||||
# Warn about major upgrade
|
||||
echo "Version 3 is a major upgrade!"
|
||||
echo "Please consult https://docs.inspircd.org/3/configuration-changes/"
|
||||
echo "for configuration changes and add them accordingly"
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user