upg libssh

add neon
This commit is contained in:
joborun linux 2022-09-05 21:59:06 +03:00
parent 6d7be54b27
commit 61084d652a
8 changed files with 94 additions and 5 deletions

View File

@ -8,7 +8,7 @@
#pkgbase=libssh
#pkgname=(libssh libssh-docs)
pkgname=libssh
pkgver=0.10.2
pkgver=0.10.3
pkgrel=01
pkgdesc='Library for accessing ssh client services through C libraries'
url='https://www.libssh.org/'
@ -53,7 +53,7 @@ license=(LGPL)
validpgpkeys=(8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D) # Andreas Schneider <asn@cryptomilk.org>
sha256sums=(15b83d7b74c8c67f758fb32faf1d9a35d5f8f50db523276a419e9876530f098a # libssh-0.10.2.tar.xz
d344e972e3f1914a777bde83c7892635256c01b70cc666a5bebe164ba185b85e) # libssh-0.10.2.tar.xz.asc
sha256sums=(6e889dbe4f3eecd13a452ca868ec85525ab9c39d778519a9c141b83da738c8aa # libssh-0.10.3.tar.xz
45a26f135cad8673ef6766ccbfe718c287d74ce292664dec56f3ee8235244a04) # libssh-0.10.3.tar.xz.asc

View File

@ -6,7 +6,7 @@
pkgbase=libssh
pkgname=(libssh libssh-docs)
pkgver=0.10.2
pkgver=0.10.3
pkgrel=1
pkgdesc='Library for accessing ssh client services through C libraries'
url='https://www.libssh.org/'
@ -16,7 +16,7 @@ depends=(zlib openssl)
makedepends=(cmake cmocka doxygen python openssh)
provides=(libssh.so)
source=("https://www.libssh.org/files/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.asc})
sha256sums=('15b83d7b74c8c67f758fb32faf1d9a35d5f8f50db523276a419e9876530f098a'
sha256sums=('6e889dbe4f3eecd13a452ca868ec85525ab9c39d778519a9c141b83da738c8aa'
'SKIP')
validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <asn@cryptomilk.org>

45
neon/PKGBUILD Normal file
View File

@ -0,0 +1,45 @@
#!/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=neon
pkgver=0.32.3
pkgrel=01
pkgdesc="HTTP and WebDAV client library with a C interface"
arch=('x86_64')
url="https://notroj.github.io/neon/"
depends=('krb5' 'expat' 'ca-certificates' 'zlib')
makedepends=('xmlto' 'docbook-xsl')
options=('libtool') # FS#16067
source=(https://notroj.github.io/neon/$pkgname-$pkgver.tar.gz)
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--with-expat \
--enable-shared \
--disable-static \
--with-ssl=openssl \
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
#---- license gpg-key sha256sums ----
license=('GPL' 'LGPL')
validpgpkeys=('190555472DCC589BEF01609C608A86DF9833CC49') # Joe Orton
sha512sums=('8dec5cbc823e38506725529c9e8fad95c93145d9e5d54131f8ceca6bbfe1b64f7f0eb1ce117072ea2f28edc67fa2f5a7f53bcc08ee644010fea76403ab6bbaad')
sha256sums=(94cb875dc6dbfcdee58f039b763c674b0232886cdfd7a5de91be5cdfa2b7596a) # neon-0.32.3.tar.gz

34
neon/PKGBUILD-arch Normal file
View File

@ -0,0 +1,34 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
pkgname=neon
pkgver=0.32.3
pkgrel=1
pkgdesc="HTTP and WebDAV client library with a C interface"
arch=('x86_64')
url="https://notroj.github.io/neon/"
license=('GPL' 'LGPL')
depends=('krb5' 'expat' 'ca-certificates' 'zlib')
makedepends=('xmlto' 'docbook-xsl')
options=('libtool') # FS#16067
source=(https://notroj.github.io/neon/$pkgname-$pkgver.tar.gz)
sha512sums=('8dec5cbc823e38506725529c9e8fad95c93145d9e5d54131f8ceca6bbfe1b64f7f0eb1ce117072ea2f28edc67fa2f5a7f53bcc08ee644010fea76403ab6bbaad')
validpgpkeys=('190555472DCC589BEF01609C608A86DF9833CC49') # Joe Orton
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--with-expat \
--enable-shared \
--disable-static \
--with-ssl=openssl \
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}

1
neon/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {neon*tar.gz*,src,pkg}

2
neon/deps Normal file
View File

@ -0,0 +1,2 @@
xmlto
docbook-xsl

1
neon/key Normal file
View File

@ -0,0 +1 @@
gpg -v --recv-keys 608A86DF9833CC49

6
neon/time Normal file
View File

@ -0,0 +1,6 @@
real 0m13.505s
user 0m11.729s
sys 0m1.700s