Created
May 31, 2020 03:06
-
-
Save ChrisTX/21567e58a438215758ed9b9aeec79232 to your computer and use it in GitHub Desktop.
InspIRCd PKGBUILD fixes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- PKGBUILD.orig 2020-05-31 05:04:39.000000000 +0200 | |
+++ PKGBUILD.fixed 2020-05-31 05:03:22.721953311 +0200 | |
@@ -8,22 +8,28 @@ | |
pkgver='3.6.0' | |
pkgrel='2' | |
pkgdesc='InspIRCd is a modular Internet Relay Chat (IRC) server written in C++ for Linux, BSD, Windows and macOS systems.' | |
-arch=('any') | |
+arch=('x86_64') | |
url='https://www.inspircd.org/' | |
license=('GPL2') | |
conflicts=('inspircd') | |
provides=('inspircd') | |
depends=('perl') | |
-makedepends=('pkgconf' 'libmariadbclient' 'sqlite3' 'libldap' 'geoip' | |
- 'gnutls' 'openssl' 'libgcrypt') | |
+makedepends=('libmariadbclient' 'sqlite3' 'libldap' 'geoip' | |
+ 'gnutls' 'openssl' 'libgcrypt' 'postgresql-client' | |
+ 're2' 'tre' 'mbedtls') | |
optdepends=('gnutls: m_ssl_gnutls' | |
'libgcrypt: m_ssl_gnutls' | |
'openssl: m_ssl_openssl' | |
'libmariadbclient: m_mysql' | |
+ 'postgresql-client: m_pgsql' | |
+ 'libmaxminddb: m_geo_maxmind' | |
'pcre: m_regex_pcre' | |
'sqlite3: m_sqlite3' | |
- 'libldap: m_ldapoper and m_ldapauth' | |
- 'geoip: m_geoip') | |
+ 'libldap: m_ldap' | |
+ 'geoip: m_geoip' | |
+ 're2: m_regex_re2' | |
+ 'tre: m_regex_tre' | |
+ 'mbedtls: m_ssl_mbedtls') | |
install='inspircd.install' | |
source=("https://github.com/inspircd/inspircd/archive/v$pkgver.tar.gz" | |
"$pkgname.service" | |
@@ -37,18 +43,24 @@ | |
cd "${srcdir}/inspircd-${pkgver}" | |
./configure \ | |
- --enable-extras=m_geoip.cpp \ | |
- --enable-extras=m_ldapauth.cpp \ | |
- --enable-extras=m_ldapoper.cpp \ | |
+ --enable-extras=m_geo_maxmind.cpp \ | |
+ --enable-extras=m_ldap.cpp \ | |
--enable-extras=m_mysql.cpp \ | |
+ --enable-extras=m_pgsql.cpp \ | |
--enable-extras=m_regex_pcre.cpp \ | |
--enable-extras=m_regex_posix.cpp \ | |
+ --enable-extras=m_regex_stdlib.cpp \ | |
+ --enable-extras=m_regex_re2.cpp \ | |
+ --enable-extras=m_regex_tre.cpp \ | |
--enable-extras=m_sqlite3.cpp \ | |
--enable-extras=m_ssl_gnutls.cpp \ | |
- --enable-extras=m_ssl_openssl.cpp | |
+ --enable-extras=m_ssl_openssl.cpp \ | |
+ --enable-extras=m_ssl_mbedtls.cpp \ | |
+ --enable-extras=m_sslrehashsignal.cpp | |
./configure \ | |
--uid=0 \ | |
+ --gid=0 \ | |
--prefix=/usr/lib/inspircd \ | |
--binary-dir=/usr/bin \ | |
--module-dir=/usr/lib/inspircd/modules \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment