qca paketi
This commit is contained in:
1 parent
6490eda5a3
commit
5775f3fe0b
3 files changed
+82
No files matched your search
@@ -0,0 +1,35 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='qca'
|
||||||
|
release='1'
|
||||||
|
version='2.3.7'
|
||||||
|
url='https://userbase.kde.org/QCA'
|
||||||
|
description='Qt cryptographic architecture'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('LGPL')
|
||||||
|
source=("https://download.kde.org/stable/qca/2.3.7/qca-${version}.tar.xz")
|
||||||
|
depends=(make-ca which cyrus-sasl)
|
||||||
|
makedepends=(cmake doxygen libgcrypt openssl qt5-base)
|
||||||
|
md5sums=('0e50817de610e145c83ca012f79f18f5')
|
||||||
|
group=(app.crypt)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup () {
|
||||||
|
cmake -B build-qt5 -G Ninja \
|
||||||
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DWITH_cyrus-sasl_PLUGIN=yes \
|
||||||
|
-DQT6=OFF
|
||||||
|
}
|
||||||
|
|
||||||
|
build () {
|
||||||
|
cmake --build build-qt5
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
DESTDIR="$DESTDIR" cmake --install build-qt5
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
command="/usr/sbin/saslauthd"
|
||||||
|
command_args=${SASLAUTHD_OPTS:--a sasldb}
|
||||||
|
pidfile="/run/saslauthd/saslauthd.pid"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
after firewall
|
||||||
|
}
|
||||||
|
|
||||||
|
start_pre() {
|
||||||
|
checkpath --directory --mode 0775 /run/saslauthd
|
||||||
|
}
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='cyrus-sasl'
|
||||||
|
release='1'
|
||||||
|
version='2.1.28'
|
||||||
|
url='https://www.cyrusimap.org/sasl/'
|
||||||
|
description='Cyrus Simple Authentication Service Layer (SASL)'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('custom')
|
||||||
|
source=("https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-${version}/cyrus-sasl-${version}.tar.gz"
|
||||||
|
"saslauthd.initd")
|
||||||
|
depends=()
|
||||||
|
makedepends=(gdbm openssl py3-sphinx sqlite libtool)
|
||||||
|
md5sums=('6f228a692516f5318a64505b46966cfa' 'SKIP')
|
||||||
|
group=(dev.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup () {
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build () {
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package () {
|
||||||
|
make DESTDIR="$DESTDIR" install $jobs
|
||||||
|
install -Dm755 ../saslauthd.initd "$DESTDIR"/etc/init.d/saslauthd
|
||||||
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user