aboutsummaryrefslogblamecommitdiffstats
path: root/community/libsoup/APKBUILD
blob: 3d56e13d07d90e4d417174e9bee5b04a00eafd4d (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                    
               
             
        

                                             
          
                                                                                
                           
                                                     
                                                   

                                                                         


                                                                                      
 
           

                      


                     
         
               
                               

                                      








                                   


           
                                                 
 

                                                                                                                                                                   
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libsoup
pkgver=2.66.2
pkgrel=2
pkgdesc="Gnome HTTP client/server Library"
url="https://wiki.gnome.org/Projects/libsoup"
arch="all"
options="!check" # Wants to bind to ports, which doesn't work in our environment
license="LGPL-2.0-or-later"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends="glib-networking gsettings-desktop-schemas"
makedepends="libgcrypt-dev libgpg-error-dev zlib-dev meson gtk-doc
	gobject-introspection-dev vala libxml2-dev libpsl-dev sqlite-dev"
source="https://download.gnome.org/sources/libsoup/${pkgver%.*}/libsoup-$pkgver.tar.xz
	CVE-2019-17266.patch
	"

# secfixes:
#   2.66.2-r2:
#     - CVE-2019-17266
#   2.58.2-r0:
#     - CVE-2017-2885

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		-Dtls_check=false \
		-Dgssapi=false \
		-Ddoc=true \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="1df443470239f23d22301e37e36f3d34963352ee0122f317cd15b19d90115831091bddcee27bc6f0d4994adcf4e5bd9c0395de2bd7f39ae305ba0edea7789092  libsoup-2.66.2.tar.xz
0bf7cfb12afc32329e5ad55cbf7b399cde5582f97f3bdaefa97d648cfcc8e99588d851658489e4be79c57f5472f7f98cd2e38d16ead49db5a8398c60f6e166fd  CVE-2019-17266.patch"