upg lighttpd libssh python-setuptools
This commit is contained in:
joborun linux 2022-08-31 02:27:56 +03:00
parent 5e32a9b985
commit 83a2ab5b8c
10 changed files with 171 additions and 57 deletions

63
gcr/PKGBUILD Normal file
View File

@ -0,0 +1,63 @@
#!/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 |---------------------------------------
#pkgbase=gcr
#pkgname=(gcr gcr-docs)
pkgname=gcr
pkgver=3.41.1
pkgrel=02
pkgdesc="A library for bits of crypto UI and parsing w/o systemd"
url="https://gitlab.gnome.org/GNOME/gcr"
arch=(x86_64)
depends=(gtk3 libgcrypt p11-kit openssh libsecret)
makedepends=(gobject-introspection vala libxslt git gi-docgen meson)
# options=(debug) ### remove this to have the debug pkg produced
_commit=664f8d8619cc6d661bd863107824efbac383a9bf # tags/3.41.1^0
source=("git+https://gitlab.gnome.org/GNOME/gcr.git#commit=$_commit")
pkgver() {
cd gcr
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd gcr
}
build() {
arch-meson gcr build -D systemd=disabled
meson compile -C build
}
check() {
# Secure memory tests fail
dbus-run-session meson test -C build --print-errorlogs || :
}
#package_gcr() {
package() {
provides=(libgck-1.so libgcr-{base,ui}-3.so)
# install=gcr.install ## enables systemd ssh sockets for systemctl
meson install -C build --destdir "$pkgdir"
mkdir -p doc/usr/share
mv {"$pkgdir",doc}/usr/share/doc
}
#package_gcr-docs() {
# pkgdesc+=" (documentation)"
# depends=()
#
# mv doc/* "$pkgdir"
#}
#---- license gpg-key sha256sums ----
license=(GPL2)
sha256sums=(SKIP)

55
gcr/PKGBUILD-arch Normal file
View File

@ -0,0 +1,55 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgbase=gcr
pkgname=(gcr gcr-docs)
pkgver=3.41.1
pkgrel=2
pkgdesc="A library for bits of crypto UI and parsing"
url="https://gitlab.gnome.org/GNOME/gcr"
arch=(x86_64)
license=(GPL2)
depends=(gtk3 libgcrypt p11-kit openssh libsecret)
makedepends=(gobject-introspection vala libxslt git gi-docgen meson)
options=(debug)
_commit=664f8d8619cc6d661bd863107824efbac383a9bf # tags/3.41.1^0
source=("git+https://gitlab.gnome.org/GNOME/gcr.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd gcr
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd gcr
}
build() {
arch-meson gcr build
meson compile -C build
}
check() {
# Secure memory tests fail
dbus-run-session meson test -C build --print-errorlogs || :
}
package_gcr() {
provides=(libgck-1.so libgcr-{base,ui}-3.so)
install=gcr.install
meson install -C build --destdir "$pkgdir"
mkdir -p doc/usr/share
mv {"$pkgdir",doc}/usr/share/doc
}
package_gcr-docs() {
pkgdesc+=" (documentation)"
depends=()
mv doc/* "$pkgdir"
}
# vim:set sw=2 sts=-1 et:

1
gcr/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {gcr,src,pkg}

10
gcr/deps Normal file
View File

@ -0,0 +1,10 @@
gobject-introspection
vala
gi-docgen
gtk3
openssh
git
meson
gettext

6
gcr/time Normal file
View File

@ -0,0 +1,6 @@
real 1m3.415s
user 2m54.061s
sys 0m13.396s

View File

@ -7,47 +7,39 @@
pkgbase=libssh
pkgname=(libssh libssh-docs)
pkgver=0.10.0
pkgver=0.10.1
pkgrel=01
pkgdesc='Library for accessing ssh client services through C libraries'
url='https://www.libssh.org/'
arch=('x86_64')
depends=('zlib' 'openssl')
makedepends=('cmake' 'cmocka' 'doxygen' 'python' 'openssh')
provides=('libssh.so')
arch=(x86_64)
depends=(zlib openssl)
makedepends=(cmake cmocka doxygen python openssh)
provides=(libssh.so)
source=("https://www.libssh.org/files/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.asc})
prepare() {
# disable the test. It is confused by our clean container setup.
# 'extra-x86-build' uses user 'nobody' that has a record in /etc/passwd file
# but $HOME envvar is set to '/build'. The test expects that $HOME corresponds to passwd file.
sed 's/cmocka_unit_test(torture_path_expand_tilde_unix),//' -i libssh-${pkgver}/tests/unittests/torture_misc.c
mkdir -p build
}
build() {
cd build
cmake ../$pkgname-$pkgver \
cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_GSSAPI=OFF \
-DUNIT_TESTING=ON
make
make docs
cmake --build build
cmake --build build --target docs
}
check() {
cd build
make test
cmake --build build --target test
}
package_libssh() {
cd build
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" cmake --install build
}
package_libssh-docs() {
pkgdesc="Documentation for libssh"
pkgdesc='Documentation for libssh'
depends=()
provides=()
@ -59,10 +51,12 @@ package_libssh-docs() {
#---- license gpg-key sha256sums ----
license=('LGPL')
license=(LGPL)
validpgpkeys=(8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D) # Andreas Schneider <asn@cryptomilk.org>
sha256sums=(da2b3337a0dd1d1e3788376ee471548520cad91a4f3f23ea3f50c5a73a7e69a5 # libssh-0.10.1.tar.xz
f2b8921d4754adca9db2851cbb73aea50fa578a039f056166c2433fdc2a50a83) # libssh-0.10.1.tar.xz.asc
validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <asn@cryptomilk.org>
sha256sums=(0dc158c534cd838ad0b785a82dec586de40da7e096523ae6c08c9b7bd2af0b57 # libssh-0.10.0.tar.xz
42d546f2205e2ca8a56b612bd409e1abecc9f35c553bf4a42ad063b4a9ad5627) # libssh-0.10.0.tar.xz.asc

View File

@ -6,51 +6,39 @@
pkgbase=libssh
pkgname=(libssh libssh-docs)
pkgver=0.10.0
pkgver=0.10.1
pkgrel=1
pkgdesc='Library for accessing ssh client services through C libraries'
url='https://www.libssh.org/'
license=('LGPL')
arch=('x86_64')
depends=('zlib' 'openssl')
makedepends=('cmake' 'cmocka' 'doxygen' 'python' 'openssh')
provides=('libssh.so')
license=(LGPL)
arch=(x86_64)
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=('0dc158c534cd838ad0b785a82dec586de40da7e096523ae6c08c9b7bd2af0b57'
sha256sums=('da2b3337a0dd1d1e3788376ee471548520cad91a4f3f23ea3f50c5a73a7e69a5'
'SKIP')
validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <asn@cryptomilk.org>
prepare() {
# disable the test. It is confused by our clean container setup.
# 'extra-x86-build' uses user 'nobody' that has a record in /etc/passwd file
# but $HOME envvar is set to '/build'. The test expects that $HOME corresponds to passwd file.
sed 's/cmocka_unit_test(torture_path_expand_tilde_unix),//' -i libssh-${pkgver}/tests/unittests/torture_misc.c
mkdir -p build
}
build() {
cd build
cmake ../$pkgname-$pkgver \
cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_GSSAPI=OFF \
-DUNIT_TESTING=ON
make
make docs
cmake --build build
cmake --build build --target docs
}
check() {
cd build
make test
cmake --build build --target test
}
package_libssh() {
cd build
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" cmake --install build
}
package_libssh-docs() {
pkgdesc="Documentation for libssh"
pkgdesc='Documentation for libssh'
depends=()
provides=()

View File

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=python-setuptools
pkgver=62.3.0
pkgver=62.3.1
pkgrel=01
epoch=1
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
@ -100,9 +100,7 @@ package() {
license=('PSF')
sha256sums=(88323dac1057234b8ed943edab1395137280427b89c0bcb05bd4c2057bf5e687 # python-setuptools-62.3.0.tar.gz
sha256sums=(0535ba68a15a60e70a65196c0d47b0040bc417ad41367e8ea99adc5504f893c4 # python-setuptools-62.3.1.tar.gz
3fffbffa0d0116ab64cb1e0e9b33ea28c60147c8f4fdbcfe71fac2adcfedd14a) # system-validate-pyproject.patch

View File

@ -3,7 +3,7 @@
# Contributor: Eli Schwartz <eschwartz@archlinux.org>
pkgname=python-setuptools
pkgver=62.3.0
pkgver=62.3.1
pkgrel=1
epoch=1
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
@ -22,7 +22,7 @@ provides=('python-distribute')
replaces=('python-distribute')
source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/setuptools/archive/v$pkgver.tar.gz"
system-validate-pyproject.patch)
sha512sums=('19a3cd5864cf9cae73e13f04eff643f3a8685d5408f0ab8cf3ae457a0b09581f91c302a4b95ed1b2b2e7c38fa6502cf6f85216f41ccde56e8281a76233e69986'
sha512sums=('4f0ec8827291e432e5ba3cf668224abd7a0cb559191a3b25155472aa583240884b7a17b173b79310894d186bf83fadce97e18d81f4a6a6b30633c3bab538b1cc'
'50495062093b1b6902484c384abe073896e4f45c5768741582e178014367f186831711a72a8a987e7bacafe96d871161fc07c686dd92c6886de19302f6a10b56')
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0

View File

@ -26,4 +26,3 @@ python-ini2toml
python-tomli-w