upg libglvnd
add dovecot fastd
This commit is contained in:
parent
a67282c3f6
commit
9e32fd8a72
20 changed files with 667 additions and 8 deletions
131
dovecot/PKGBUILD
Normal file
131
dovecot/PKGBUILD
Normal file
|
@ -0,0 +1,131 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
# --->>> remember to rebuild/bump the following packages TOGETHER with a new dovecot ABI:
|
||||
# +pigeonhole
|
||||
# +dovecot-fts-elastic
|
||||
# +dovecot-fts-xapian
|
||||
|
||||
pkgname=dovecot
|
||||
pkgver=2.3.20
|
||||
pkgrel=03
|
||||
|
||||
pkgdesc="An IMAP and POP3 server written with security primarily in mind w/o systemd and zstd"
|
||||
url="https://dovecot.org/"
|
||||
depends=('krb5' 'openssl' 'sqlite' 'mariadb-libs' 'libsodium'
|
||||
'postgresql-libs' 'bzip2' 'lz4' 'expat' 'curl' 'pam')
|
||||
makedepends=('libcap' 'libldap' 'lua53' 'xz' 'clucene')
|
||||
optdepends=('libldap: ldap plugin'
|
||||
'lua53: LUA auth and push support'
|
||||
'clucene: alternative FTS indexer')
|
||||
provides=('imap-server' 'pop3-server')
|
||||
backup=('etc/pam.d/dovecot')
|
||||
# LTO seems to cause issues with at least up to 2.3.17.1
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997513
|
||||
# TODO regularly check if upstream has implemented in-code fixes w.r.t. LTO
|
||||
options=('!emptydirs' '!lto')
|
||||
source=("https://dovecot.org/releases/2.3/${pkgname}-${pkgver}.tar.gz"{,.sig}
|
||||
'dovecot-2.3.14-opensslv3.patch'
|
||||
'dovecot.sysusers'
|
||||
'dovecot.tmpfiles'
|
||||
'dovecot.ld.so.conf'
|
||||
'dovecot.pam')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
patch -Np1 -i ../dovecot-2.3.14-opensslv3.patch
|
||||
|
||||
# fix path in helper script
|
||||
sed -i 's:OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}:OPENSSLCONFIG=${OPENSSLCONFIG- /etc/ssl/dovecot-openssl.cnf}:' doc/mkcert.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sbindir=/usr/bin \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--libexecdir=/usr/lib \
|
||||
--with-rundir=/run/dovecot \
|
||||
--with-moduledir=/usr/lib/dovecot/modules \
|
||||
--disable-static \
|
||||
--with-nss \
|
||||
--with-pam \
|
||||
--with-sqlite \
|
||||
--with-pgsql \
|
||||
--with-mysql \
|
||||
--with-ssl=openssl \
|
||||
--with-ssldir=/etc/ssl \
|
||||
--with-gssapi \
|
||||
--with-ldap=plugin \
|
||||
--with-lua=plugin \
|
||||
--with-zlib \
|
||||
--with-bzlib \
|
||||
--with-lzma \
|
||||
--with-lz4 \
|
||||
--with-zstd=no \
|
||||
--with-systemd=no \
|
||||
--with-lucene \
|
||||
--with-solr \
|
||||
--with-sodium \
|
||||
--with-libcap \
|
||||
--with-docs
|
||||
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
# one test connecting to a local port fails
|
||||
#check() {
|
||||
# cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
# make check
|
||||
#}
|
||||
|
||||
package() {
|
||||
# system user/group dovenull - 74
|
||||
# system user/group dovecot - 76
|
||||
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 "${srcdir}/dovecot.sysusers" \
|
||||
"${pkgdir}/usr/lib/sysusers.d/dovecot.conf"
|
||||
install -Dm644 "${srcdir}/dovecot.tmpfiles" \
|
||||
"${pkgdir}/usr/lib/tmpfiles.d/dovecot.conf"
|
||||
install -d -m755 "${pkgdir}/etc/dovecot/conf.d"
|
||||
rm -f "${pkgdir}/etc/dovecot/README"
|
||||
|
||||
# install mkcert helper script
|
||||
install -m 755 doc/mkcert.sh "${pkgdir}/usr/lib/dovecot/mkcert.sh"
|
||||
|
||||
# add dovecot libdir
|
||||
install -Dm644 "${srcdir}/dovecot.ld.so.conf" "${pkgdir}/etc/ld.so.conf.d/dovecot.conf"
|
||||
|
||||
# install PAM snippet for dovecot
|
||||
install -Dm644 "${srcdir}/dovecot.pam" "${pkgdir}/etc/pam.d/dovecot"
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=("LGPL")
|
||||
|
||||
validpgpkeys=('E643F0BDFDCD04D9FFCB6279C948525140558AC9' # Timo Sirainen <tss@iki.fi>
|
||||
'2BE74AAB3EE754DFB9C80D3318A348AEED409DA1') # Dovecot Community Edition
|
||||
|
||||
sha256sums=(caa832eb968148abdf35ee9d0f534b779fa732c0ce4a913d9ab8c3469b218552 # dovecot-2.3.20.tar.gz
|
||||
ebf86daf738c3b3a417af4d9ca11b2e8af1bb110f465098a0a9afa6177cc0fa9 # dovecot-2.3.20.tar.gz.sig
|
||||
356e5761dc9161283cb795e62997c807ca081f4b42b443001cce07c03c47876d # dovecot-2.3.14-opensslv3.patch
|
||||
c5e3a8ffe23e5deb4f7893d9877d972347c2ee45c4ebf713de85c537e47cfcaf # dovecot.sysusers
|
||||
0b0625b1e66ca6a95d506fd00d6a68e70620c8ea28606e2528953ffb1806b08e # dovecot.tmpfiles
|
||||
a457a1691cfa82495fc0503bfa4b61e54b149e63400fe0f568dff2c24a3f7858 # dovecot.ld.so.conf
|
||||
ad9245f5e916480edd67139603cbe52e7a868233075f900ab63a0ce58f03741a) # dovecot.pam
|
||||
|
||||
## 62ef397009ab1c42a4c721db9dd22f52e16a7bdad50176dfae1a9cb07e4bec13 dovecot-2.3.20-03-x86_64.pkg.tar.lz
|
133
dovecot/PKGBUILD-arch
Normal file
133
dovecot/PKGBUILD-arch
Normal file
|
@ -0,0 +1,133 @@
|
|||
# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
|
||||
# Maintainer: Thore Bödecker <foxxx0@archlinux.org>
|
||||
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
||||
# Contributor: Paul Mattal <paul@mattal.com>
|
||||
# Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com>
|
||||
# Contributor: GARETTE Emmanuel <gnunux at laposte dot net>
|
||||
# Contributor: Phillip Schichtel <phillip@schich.tel>
|
||||
|
||||
# --->>> remember to rebuild/bump the following packages TOGETHER with a new dovecot ABI:
|
||||
# +pigeonhole
|
||||
# +dovecot-fts-elastic
|
||||
# +dovecot-fts-xapian
|
||||
|
||||
pkgname=dovecot
|
||||
pkgver=2.3.20
|
||||
pkgrel=3
|
||||
|
||||
pkgdesc="An IMAP and POP3 server written with security primarily in mind"
|
||||
url="https://dovecot.org/"
|
||||
arch=('x86_64')
|
||||
license=("LGPL")
|
||||
|
||||
depends=('krb5' 'openssl' 'sqlite' 'mariadb-libs' 'libsodium'
|
||||
'postgresql-libs' 'bzip2' 'lz4' 'expat' 'curl' 'pam' 'systemd-libs')
|
||||
makedepends=('libcap' 'libldap' 'lua53' 'xz' 'clucene' 'systemd')
|
||||
optdepends=('libldap: ldap plugin'
|
||||
'lua53: LUA auth and push support'
|
||||
'clucene: alternative FTS indexer')
|
||||
|
||||
provides=('imap-server' 'pop3-server')
|
||||
|
||||
backup=('etc/pam.d/dovecot')
|
||||
|
||||
# LTO seems to cause issues with at least up to 2.3.17.1
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997513
|
||||
# TODO regularly check if upstream has implemented in-code fixes w.r.t. LTO
|
||||
options=('!emptydirs' '!lto')
|
||||
|
||||
source=("https://dovecot.org/releases/2.3/${pkgname}-${pkgver}.tar.gz"{,.sig}
|
||||
'dovecot-2.3.14-opensslv3.patch'
|
||||
'dovecot.sysusersd'
|
||||
'dovecot.tmpfilesd'
|
||||
'dovecot.ld.so.conf'
|
||||
'dovecot.pam')
|
||||
|
||||
sha256sums=('caa832eb968148abdf35ee9d0f534b779fa732c0ce4a913d9ab8c3469b218552'
|
||||
'SKIP'
|
||||
'356e5761dc9161283cb795e62997c807ca081f4b42b443001cce07c03c47876d'
|
||||
'c5e3a8ffe23e5deb4f7893d9877d972347c2ee45c4ebf713de85c537e47cfcaf'
|
||||
'0b0625b1e66ca6a95d506fd00d6a68e70620c8ea28606e2528953ffb1806b08e'
|
||||
'a457a1691cfa82495fc0503bfa4b61e54b149e63400fe0f568dff2c24a3f7858'
|
||||
'ad9245f5e916480edd67139603cbe52e7a868233075f900ab63a0ce58f03741a')
|
||||
|
||||
validpgpkeys=(
|
||||
'E643F0BDFDCD04D9FFCB6279C948525140558AC9' # Timo Sirainen <tss@iki.fi>
|
||||
'2BE74AAB3EE754DFB9C80D3318A348AEED409DA1' # Dovecot Community Edition
|
||||
)
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
patch -Np1 -i ../dovecot-2.3.14-opensslv3.patch
|
||||
|
||||
# fix path in helper script
|
||||
sed -i 's:OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}:OPENSSLCONFIG=${OPENSSLCONFIG- /etc/ssl/dovecot-openssl.cnf}:' doc/mkcert.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sbindir=/usr/bin \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--libexecdir=/usr/lib \
|
||||
--with-rundir=/run/dovecot \
|
||||
--with-moduledir=/usr/lib/dovecot/modules \
|
||||
--disable-static \
|
||||
--with-nss \
|
||||
--with-pam \
|
||||
--with-sqlite \
|
||||
--with-pgsql \
|
||||
--with-mysql \
|
||||
--with-ssl=openssl \
|
||||
--with-ssldir=/etc/ssl \
|
||||
--with-gssapi \
|
||||
--with-ldap=plugin \
|
||||
--with-lua=plugin \
|
||||
--with-zlib \
|
||||
--with-bzlib \
|
||||
--with-lzma \
|
||||
--with-lz4 \
|
||||
--with-zstd \
|
||||
--with-lucene \
|
||||
--with-solr \
|
||||
--with-sodium \
|
||||
--with-libcap \
|
||||
--with-docs
|
||||
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
# system user/group dovenull - 74
|
||||
# system user/group dovecot - 76
|
||||
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 "${srcdir}/dovecot.sysusersd" \
|
||||
"${pkgdir}/usr/lib/sysusers.d/dovecot.conf"
|
||||
install -Dm644 "${srcdir}/dovecot.tmpfilesd" \
|
||||
"${pkgdir}/usr/lib/tmpfiles.d/dovecot.conf"
|
||||
install -d -m755 "${pkgdir}/etc/dovecot/conf.d"
|
||||
rm -f "${pkgdir}/etc/dovecot/README"
|
||||
|
||||
# install mkcert helper script
|
||||
install -m 755 doc/mkcert.sh "${pkgdir}/usr/lib/dovecot/mkcert.sh"
|
||||
|
||||
# add dovecot libdir
|
||||
install -Dm644 "${srcdir}/dovecot.ld.so.conf" "${pkgdir}/etc/ld.so.conf.d/dovecot.conf"
|
||||
|
||||
# install PAM snippet for dovecot
|
||||
install -Dm644 "${srcdir}/dovecot.pam" "${pkgdir}/etc/pam.d/dovecot"
|
||||
}
|
||||
## f90a852af72aa7669fa64596690234fa052c2f813a0350281b56eacee325e8d1 # PKGBUILD
|
1
dovecot/clean
Normal file
1
dovecot/clean
Normal file
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,dovecot-*.tar.gz*}
|
223
dovecot/configure.help
Normal file
223
dovecot/configure.help
Normal file
|
@ -0,0 +1,223 @@
|
|||
`configure' configures Dovecot 2.3.20 to adapt to many kinds of systems.
|
||||
|
||||
Usage: src/dovecot-2.3.20/configure [OPTION]... [VAR=VALUE]...
|
||||
|
||||
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
||||
VAR=VALUE. See below for descriptions of some of the useful variables.
|
||||
|
||||
Defaults for the options are specified in brackets.
|
||||
|
||||
Configuration:
|
||||
-h, --help display this help and exit
|
||||
--help=short display options specific to this package
|
||||
--help=recursive display the short help of all the included packages
|
||||
-V, --version display version information and exit
|
||||
-q, --quiet, --silent do not print `checking ...' messages
|
||||
--cache-file=FILE cache test results in FILE [disabled]
|
||||
-C, --config-cache alias for `--cache-file=config.cache'
|
||||
-n, --no-create do not create output files
|
||||
--srcdir=DIR find the sources in DIR [configure dir or `..']
|
||||
|
||||
Installation directories:
|
||||
--prefix=PREFIX install architecture-independent files in PREFIX
|
||||
[/usr/local]
|
||||
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
||||
[PREFIX]
|
||||
|
||||
By default, `make install' will install all the files in
|
||||
`/usr/local/bin', `/usr/local/lib' etc. You can specify
|
||||
an installation prefix other than `/usr/local' using `--prefix',
|
||||
for instance `--prefix=$HOME'.
|
||||
|
||||
For better control, use the options below.
|
||||
|
||||
Fine tuning of the installation directories:
|
||||
--bindir=DIR user executables [EPREFIX/bin]
|
||||
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
||||
--libexecdir=DIR program executables [EPREFIX/libexec]
|
||||
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
||||
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
||||
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
||||
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
|
||||
--libdir=DIR object code libraries [EPREFIX/lib]
|
||||
--includedir=DIR C header files [PREFIX/include]
|
||||
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
||||
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
||||
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
||||
--infodir=DIR info documentation [DATAROOTDIR/info]
|
||||
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
||||
--mandir=DIR man documentation [DATAROOTDIR/man]
|
||||
--docdir=DIR documentation root [DATAROOTDIR/doc/dovecot]
|
||||
--htmldir=DIR html documentation [DOCDIR]
|
||||
--dvidir=DIR dvi documentation [DOCDIR]
|
||||
--pdfdir=DIR pdf documentation [DOCDIR]
|
||||
--psdir=DIR ps documentation [DOCDIR]
|
||||
|
||||
Program names:
|
||||
--program-prefix=PREFIX prepend PREFIX to installed program names
|
||||
--program-suffix=SUFFIX append SUFFIX to installed program names
|
||||
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
||||
|
||||
System types:
|
||||
--build=BUILD configure for building on BUILD [guessed]
|
||||
--host=HOST cross-compile to build programs to run on HOST [BUILD]
|
||||
|
||||
Optional Features:
|
||||
--disable-option-checking ignore unrecognized --enable/--with options
|
||||
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
||||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
||||
--enable-silent-rules less verbose build output (undo: "make V=1")
|
||||
--disable-silent-rules verbose build output (undo: "make V=0")
|
||||
--enable-maintainer-mode
|
||||
enable make rules and dependencies not useful (and
|
||||
sometimes confusing) to the casual installer
|
||||
--enable-devel-checks Enable some extra expensive checks for developers
|
||||
--enable-static-checker Enable code to be used when building with static
|
||||
code analyzer
|
||||
--enable-asserts Enable asserts (default)
|
||||
--enable-dependency-tracking
|
||||
do not reject slow dependency extractors
|
||||
--disable-dependency-tracking
|
||||
speeds up one-time build
|
||||
--enable-shared[=PKGS] build shared libraries [default=yes]
|
||||
--enable-static[=PKGS] build static libraries [default=yes]
|
||||
--enable-fast-install[=PKGS]
|
||||
optimize for fast installation [default=yes]
|
||||
--disable-libtool-lock avoid locking (might break parallel builds)
|
||||
--disable-rpath do not hardcode runtime library paths
|
||||
--enable-hardening=yes Enable various hardenings (default: yes)
|
||||
--enable-ubsan Enable undefined behaviour sanitizes (default=no)
|
||||
--disable-largefile omit support for large files
|
||||
|
||||
Optional Packages:
|
||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
||||
--with-shared-libs Link binaries using shared Dovecot libraries
|
||||
(default)
|
||||
--with-mem-align=BYTES Set the memory alignment (default: 8)
|
||||
--with-ioloop=IOLOOP Specify the I/O loop method to use (epoll, kqueue,
|
||||
poll; best for the fastest available; default is
|
||||
best)
|
||||
--with-notify=NOTIFY Specify the file system notification method to use
|
||||
(inotify, kqueue, none; default is detected in the
|
||||
above order)
|
||||
--with-nss Build with NSS module support (auto)
|
||||
--with-shadow Build with shadow password support (auto)
|
||||
--with-pam Build with PAM support (auto)
|
||||
--with-bsdauth Build with BSD authentication support (auto)
|
||||
--with-gssapi=yes|plugin Build with GSSAPI authentication support
|
||||
|
||||
--with-ldap=yes|plugin Build with LDAP support
|
||||
--with-libunwind Build with libunwind support (auto)
|
||||
--with-cdb Build with CDB support
|
||||
--with-sql=yes|plugin Build with generic SQL support
|
||||
--with-pgsql Build with PostgreSQL driver support
|
||||
--with-mysql Build with MySQL driver support
|
||||
--with-sqlite Build with SQLite3 driver support
|
||||
--with-cassandra Build with Cassandra driver support
|
||||
--with-lucene Build with CLucene full text search support
|
||||
--with-stemmer Build with libstemmer support (for FTS) (auto)
|
||||
--with-textcat Build with libtextcat support (for FTS) (auto)
|
||||
--with-icu Build with libicu support (for FTS normalization)
|
||||
(auto)
|
||||
--with-solr Build with Solr full text search support
|
||||
--with-sodium Build with libsodium support (enables argon2,
|
||||
default: auto)
|
||||
--with-zlib Build with zlib compression support (auto)
|
||||
--with-bzlib Build with bzlib compression support (auto)
|
||||
--with-lzma Build with LZMA decompression support (auto)
|
||||
--with-lz4 Build with LZ4 compression support (auto)
|
||||
--with-zstd Build with ZSTD compression support (auto)
|
||||
--with-libcap Build with libcap support (Dropping capabilities)
|
||||
(auto)
|
||||
--with-libwrap Build with libwrap, ie. TCP-wrappers
|
||||
--with-ssl=gnutls|openssl
|
||||
Build with GNUTLS or OpenSSL (default)
|
||||
--with-ssldir=DIR SSL base directory for certificates (/etc/ssl)
|
||||
--with-rundir=DIR Runtime data directory (LOCALSTATEDIR/run/dovecot)
|
||||
--with-statedir=DIR Permanent data directory (LOCALSTATEDIR/lib/dovecot)
|
||||
--with-systemd Build with systemd support (default=auto)
|
||||
--with-moduledir=DIR Base directory for dynamically loadable modules
|
||||
--with-docs Install documentation (default)
|
||||
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
|
||||
both]
|
||||
--with-aix-soname=aix|svr4|both
|
||||
shared library versioning (aka "SONAME") variant to
|
||||
provide on AIX, [default=aix].
|
||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||
--with-sysroot[=DIR] Search for dependent libraries within DIR (or the
|
||||
compiler's sysroot if not specified).
|
||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
|
||||
--without-libiconv-prefix don't search for libiconv in includedir and libdir
|
||||
--with-retpoline=<choice>
|
||||
Retpoline mitigation choice (default: keep)
|
||||
--with-fuzzer=clang Build with clang fuzzer (default: no)
|
||||
--with-libbsd Use libbsd (default is no)
|
||||
--with-random-source=file
|
||||
Device file to use as random source
|
||||
(default=/dev/urandom)
|
||||
--with-lua=yes|plugin build Lua Bindings
|
||||
--with-apparmor enable apparmor plugin (default=auto)
|
||||
|
||||
Some influential environment variables:
|
||||
PKG_CONFIG path to pkg-config utility
|
||||
PKG_CONFIG_PATH
|
||||
directories to add to pkg-config's search path
|
||||
PKG_CONFIG_LIBDIR
|
||||
path overriding pkg-config's built-in search path
|
||||
SYSTEMD_CFLAGS
|
||||
C compiler flags for SYSTEMD, overriding pkg-config
|
||||
SYSTEMD_LIBS
|
||||
linker flags for SYSTEMD, overriding pkg-config
|
||||
systemdsystemunitdir
|
||||
value of systemdsystemunitdir for systemd, overriding pkg-config
|
||||
CC C compiler command
|
||||
CFLAGS C compiler flags
|
||||
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
||||
nonstandard directory <lib dir>
|
||||
LIBS libraries to pass to the linker, e.g. -l<library>
|
||||
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
||||
you have headers in a nonstandard directory <include dir>
|
||||
CPP C preprocessor
|
||||
CXX C++ compiler command
|
||||
CXXFLAGS C++ compiler flags
|
||||
LT_SYS_LIBRARY_PATH
|
||||
User-defined run-time library search path.
|
||||
CXXCPP C++ preprocessor
|
||||
SSL_CFLAGS C compiler flags for SSL, overriding pkg-config
|
||||
SSL_LIBS linker flags for SSL, overriding pkg-config
|
||||
LIBUNWIND_CFLAGS
|
||||
C compiler flags for LIBUNWIND, overriding pkg-config
|
||||
LIBUNWIND_LIBS
|
||||
linker flags for LIBUNWIND, overriding pkg-config
|
||||
LUA_CFLAGS C compiler flags for LUA, overriding pkg-config
|
||||
LUA_LIBS linker flags for LUA, overriding pkg-config
|
||||
LIBSODIUM_CFLAGS
|
||||
C compiler flags for LIBSODIUM, overriding pkg-config
|
||||
LIBSODIUM_LIBS
|
||||
linker flags for LIBSODIUM, overriding pkg-config
|
||||
ZSTD_CFLAGS C compiler flags for ZSTD, overriding pkg-config
|
||||
ZSTD_LIBS linker flags for ZSTD, overriding pkg-config
|
||||
LIBTIRPC_CFLAGS
|
||||
C compiler flags for LIBTIRPC, overriding pkg-config
|
||||
LIBTIRPC_LIBS
|
||||
linker flags for LIBTIRPC, overriding pkg-config
|
||||
CLUCENE_CFLAGS
|
||||
C compiler flags for CLUCENE, overriding pkg-config
|
||||
CLUCENE_LIBS
|
||||
linker flags for CLUCENE, overriding pkg-config
|
||||
LIBEXTTEXTCAT_CFLAGS
|
||||
C compiler flags for LIBEXTTEXTCAT, overriding pkg-config
|
||||
LIBEXTTEXTCAT_LIBS
|
||||
linker flags for LIBEXTTEXTCAT, overriding pkg-config
|
||||
LIBICU_CFLAGS
|
||||
C compiler flags for LIBICU, overriding pkg-config
|
||||
LIBICU_LIBS linker flags for LIBICU, overriding pkg-config
|
||||
PANDOC Path to pandoc program
|
||||
VALGRIND Path to valgrind
|
||||
|
||||
Use these variables to override the choices made by `configure' or to help
|
||||
it to find libraries and programs with nonstandard names/locations.
|
||||
|
||||
Report bugs to <dovecot@dovecot.org>.
|
6
dovecot/deps
Normal file
6
dovecot/deps
Normal file
|
@ -0,0 +1,6 @@
|
|||
mariadb-libs
|
||||
libsodium
|
||||
postgresql-libs
|
||||
lua53
|
||||
clucene
|
||||
|
34
dovecot/dovecot-2.3.14-opensslv3.patch
Normal file
34
dovecot/dovecot-2.3.14-opensslv3.patch
Normal file
|
@ -0,0 +1,34 @@
|
|||
diff -up dovecot-2.3.14/src/lib-dcrypt/dcrypt-openssl.c.opensslv3 dovecot-2.3.14/src/lib-dcrypt/dcrypt-openssl.c
|
||||
--- dovecot-2.3.14/src/lib-dcrypt/dcrypt-openssl.c.opensslv3 2021-06-03 18:56:52.573174433 +0200
|
||||
+++ dovecot-2.3.14/src/lib-dcrypt/dcrypt-openssl.c 2021-06-03 18:56:52.585174274 +0200
|
||||
@@ -73,10 +73,30 @@
|
||||
2<tab>key algo oid<tab>1<tab>symmetric algo name<tab>salt<tab>hash algo<tab>rounds<tab>E(RSA = i2d_PrivateKey, EC=Private Point)<tab>key id
|
||||
**/
|
||||
|
||||
+#if OPENSSL_VERSION_MAJOR == 3
|
||||
+static EC_KEY *EVP_PKEY_get0_EC_KEYv3(EVP_PKEY *key)
|
||||
+{
|
||||
+ EC_KEY *eck = EVP_PKEY_get1_EC_KEY(key);
|
||||
+ EVP_PKEY_set1_EC_KEY(key, eck);
|
||||
+ EC_KEY_free(eck);
|
||||
+ return eck;
|
||||
+}
|
||||
+
|
||||
+static EC_KEY *EVP_PKEY_get1_EC_KEYv3(EVP_PKEY *key)
|
||||
+{
|
||||
+ EC_KEY *eck = EVP_PKEY_get1_EC_KEY(key);
|
||||
+ EVP_PKEY_set1_EC_KEY(key, eck);
|
||||
+ return eck;
|
||||
+}
|
||||
+
|
||||
+#define EVP_PKEY_get0_EC_KEY EVP_PKEY_get0_EC_KEYv3
|
||||
+#define EVP_PKEY_get1_EC_KEY EVP_PKEY_get1_EC_KEYv3
|
||||
+#else
|
||||
#ifndef HAVE_EVP_PKEY_get0
|
||||
#define EVP_PKEY_get0_EC_KEY(x) x->pkey.ec
|
||||
#define EVP_PKEY_get0_RSA(x) x->pkey.rsa
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#ifndef HAVE_OBJ_LENGTH
|
||||
#define OBJ_length(o) ((o)->length)
|
1
dovecot/dovecot.ld.so.conf
Normal file
1
dovecot/dovecot.ld.so.conf
Normal file
|
@ -0,0 +1 @@
|
|||
/usr/lib/dovecot
|
5
dovecot/dovecot.pam
Normal file
5
dovecot/dovecot.pam
Normal file
|
@ -0,0 +1,5 @@
|
|||
#%PAM-1.0
|
||||
auth include system-auth
|
||||
account include system-auth
|
||||
session include system-auth
|
||||
password include system-auth
|
2
dovecot/dovecot.sysusers
Normal file
2
dovecot/dovecot.sysusers
Normal file
|
@ -0,0 +1,2 @@
|
|||
u dovenull 74 "Dovecot user for completely untrustworthy processes" -
|
||||
u dovecot 76 "Dovecot user" -
|
1
dovecot/dovecot.tmpfiles
Normal file
1
dovecot/dovecot.tmpfiles
Normal file
|
@ -0,0 +1 @@
|
|||
d /run/dovecot 0755 root dovecot -
|
2
dovecot/key
Normal file
2
dovecot/key
Normal file
|
@ -0,0 +1,2 @@
|
|||
gpg --recv-key 18A348AEED409DA1
|
||||
gpg --recv-key C948525140558AC9
|
1
dovecot/time
Normal file
1
dovecot/time
Normal file
|
@ -0,0 +1 @@
|
|||
4m
|
57
fastd/PKGBUILD
Normal file
57
fastd/PKGBUILD
Normal file
|
@ -0,0 +1,57 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=fastd
|
||||
pkgver=22
|
||||
pkgrel=3
|
||||
pkgdesc="Fast and secure tunneling daemon w/o systemd"
|
||||
depends=('gcc-libs' 'libcap' 'libmnl' 'libuecc>=6' 'libsodium' 'json-c' 'openssl')
|
||||
makedepends=('meson' 'bison' 'clang')
|
||||
checkdepends=('cmocka')
|
||||
url="https://github.com/NeoRaider/fastd"
|
||||
source=("https://github.com/NeoRaider/fastd/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
|
||||
|
||||
build() {
|
||||
cd "$srcdir/fastd-${pkgver}"
|
||||
meson setup \
|
||||
--prefix=/usr \
|
||||
-Dbuildtype=release \
|
||||
-Db_lto=true \
|
||||
-Dsystemd=disabled \
|
||||
-Dbuild_tests=true \
|
||||
. "$srcdir/build-${pkgver}"
|
||||
|
||||
cd "$srcdir/build-${pkgver}"
|
||||
ninja
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir/build-${pkgver}"
|
||||
ninja test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/build-${pkgver}"
|
||||
DESTDIR="$pkgdir" ninja install
|
||||
|
||||
install -dm755 "${pkgdir}/etc/fastd/"
|
||||
|
||||
install -Dm644 "$srcdir/${pkgname}-${pkgver}/COPYRIGHT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
# install -Dm644 "$srcdir/${pkgname}-${pkgver}/doc/examples/fastd@.service" "${pkgdir}/usr/lib/systemd/system/fastd@.service"
|
||||
install -Dm644 "$srcdir/${pkgname}-${pkgver}/doc/fastd.1" "${pkgdir}/usr/share/man/man1/fastd.1"
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('BSD')
|
||||
|
||||
sha256sums=(19750b88705d66811b7c21b672537909c19ae6b21350688cbd1a3a54d08a8951) # fastd-22.tar.xz
|
||||
|
||||
## 9010cd84533f8f7e832ca60b15752c32c977cffcbd1d08064cf3460658ced247 fastd-22-3-x86_64.pkg.tar.lz
|
||||
|
47
fastd/PKGBUILD-arch
Normal file
47
fastd/PKGBUILD-arch
Normal file
|
@ -0,0 +1,47 @@
|
|||
# Maintainer: Konstantin Gizdov <arch at kge dot pw>
|
||||
# Contributor: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
|
||||
# Contributor: NeoRaider
|
||||
|
||||
pkgname=fastd
|
||||
pkgver=22
|
||||
pkgrel=4
|
||||
arch=('x86_64')
|
||||
pkgdesc="Fast and secure tunneling daemon"
|
||||
makedepends=('meson')
|
||||
checkdepends=('cmocka')
|
||||
depends=('gcc-libs' 'libcap' 'libmnl' 'libuecc>=6' 'libsodium' 'json-c' 'openssl')
|
||||
url="https://github.com/NeoRaider/fastd"
|
||||
license=('BSD')
|
||||
source=("https://github.com/NeoRaider/fastd/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
|
||||
sha512sums=('66196fa13c93b87b78b9e31bc267cf616dcfb4a964387c4a3f0f3176fa1529be335a6fac91379038d6a8b1a1be4fea547659551a8a9fa8d6939589d5f8a9a7aa')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/fastd-${pkgver}"
|
||||
meson setup \
|
||||
--prefix=/usr \
|
||||
-Dbuildtype=release \
|
||||
-Db_lto=true \
|
||||
-Dsystemd=enabled \
|
||||
-Dbuild_tests=true \
|
||||
. "$srcdir/build-${pkgver}"
|
||||
|
||||
cd "$srcdir/build-${pkgver}"
|
||||
ninja
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir/build-${pkgver}"
|
||||
ninja test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/build-${pkgver}"
|
||||
DESTDIR="$pkgdir" ninja install
|
||||
|
||||
install -dm755 "${pkgdir}/etc/fastd/"
|
||||
|
||||
install -Dm644 "$srcdir/${pkgname}-${pkgver}/COPYRIGHT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
install -Dm644 "$srcdir/${pkgname}-${pkgver}/doc/examples/fastd@.service" "${pkgdir}/usr/lib/systemd/system/fastd@.service"
|
||||
install -Dm644 "$srcdir/${pkgname}-${pkgver}/doc/fastd.1" "${pkgdir}/usr/share/man/man1/fastd.1"
|
||||
}
|
||||
## 8e369a41e82d482b36e93acf70d5ba373fdabe9c76b93b213838945f9596049d # PKGBUILD
|
1
fastd/clean
Normal file
1
fastd/clean
Normal file
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,fastd-*.tar.xz}
|
8
fastd/deps
Normal file
8
fastd/deps
Normal file
|
@ -0,0 +1,8 @@
|
|||
libuecc
|
||||
libsodium
|
||||
meson
|
||||
cmocka
|
||||
bison
|
||||
clang
|
||||
|
||||
|
6
fastd/time
Normal file
6
fastd/time
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
real 0m6.646s
|
||||
user 0m13.628s
|
||||
sys 0m1.744s
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=libglvnd
|
||||
pkgver=1.6.0
|
||||
pkgver=1.7.0
|
||||
pkgrel=01
|
||||
pkgdesc="The GL Vendor-Neutral Dispatch library"
|
||||
url="https://gitlab.freedesktop.org/glvnd/libglvnd"
|
||||
|
@ -38,11 +38,10 @@ arch=(x86_64)
|
|||
|
||||
license=('custom:BSD-like')
|
||||
|
||||
sha512sums=('8b8be80d94da7d9ffe58dccbcd5bd8079e86326a3a1a880ff1f7bf6f2d74eb5143cd3783fc2d8119fed597b3376e33f34ed889cc2259073dfd1d6c985a739df6'
|
||||
'bf0f4a7e04220a407400f89226ecc1f798cc43035f2538cc8860e5088e1f84140baf0d4b0b28f66e4b802d4d6925769a1297c24e1ba39c1c093902b2931781a5')
|
||||
sha512sums=('7b6eb8e075b48f1d915b892044adc3260547d74ed61d1e2fa6c5f0f8c3527754abea314181e088626d4fd58bb221085e5288c4758d828e171c7dcb0e4991745c'
|
||||
'bf0f4a7e04220a407400f89226ecc1f798cc43035f2538cc8860e5088e1f84140baf0d4b0b28f66e4b802d4d6925769a1297c24e1ba39c1c093902b2931781a5')
|
||||
|
||||
sha256sums=(efc756ffd24b24059e1c53677a9d57b4b237b00a01c54a6f1611e1e51661d70c # libglvnd-v1.6.0.tar.gz
|
||||
sha256sums=(2b6e15b06aafb4c0b6e2348124808cbd9b291c647299eaaba2e3202f51ff2f3d # libglvnd-v1.7.0.tar.gz
|
||||
1a99f7487849c41fc3520e0af3dfcf28a0df05e78956d9ec58c2c52b1f20a77d) # LICENSE
|
||||
|
||||
## 68792f0c05a6302a198753aea46b81a901f816d6904487d14e5edb324e82ff3f libglvnd-1.6.0-01-x86_64.pkg.tar.lz
|
||||
|
||||
## fd75380c5aa858d9393e453186532c7e9807b2996086c45e1214cb898345ddee libglvnd-1.7.0-01-x86_64.pkg.tar.lz
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
|
||||
pkgname=libglvnd
|
||||
pkgver=1.6.0
|
||||
pkgver=1.7.0
|
||||
pkgrel=1
|
||||
pkgdesc="The GL Vendor-Neutral Dispatch library"
|
||||
arch=('x86_64')
|
||||
|
@ -12,7 +12,7 @@ provides=('libgl' 'libegl' 'libgles')
|
|||
provides+=(libEGL.so libGL.so libGLESv2.so libGLX.so libGLdispatch.so libOpenGL.so)
|
||||
source=("https://gitlab.freedesktop.org/glvnd/libglvnd/-/archive/v$pkgver/libglvnd-v$pkgver.tar.gz"
|
||||
LICENSE)
|
||||
sha512sums=('8b8be80d94da7d9ffe58dccbcd5bd8079e86326a3a1a880ff1f7bf6f2d74eb5143cd3783fc2d8119fed597b3376e33f34ed889cc2259073dfd1d6c985a739df6'
|
||||
sha512sums=('7b6eb8e075b48f1d915b892044adc3260547d74ed61d1e2fa6c5f0f8c3527754abea314181e088626d4fd58bb221085e5288c4758d828e171c7dcb0e4991745c'
|
||||
'bf0f4a7e04220a407400f89226ecc1f798cc43035f2538cc8860e5088e1f84140baf0d4b0b28f66e4b802d4d6925769a1297c24e1ba39c1c093902b2931781a5')
|
||||
|
||||
build() {
|
||||
|
|
|
@ -4,3 +4,4 @@ xorgproto
|
|||
python
|
||||
meson
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue