aboutsummaryrefslogblamecommitdiffstats
path: root/main/zeromq/APKBUILD
blob: da9b6dbe35f73ef91b89f0dc63540840d36e53ea (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                    

                                                   
            
        
                                                
                         
          
                                           
                                         
                                             
         
                                                                 
                                                                                         

                         
 
           

                      
             
                      
             
                     
 
         
                     

                                 
                               

                                         
                                           

                                

 
         
                  

 
           
                                      

 
                                                                                                                                                                 
                                                                                                                                                    
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=zeromq
pkgver=4.3.3
pkgrel=1
pkgdesc="The ZeroMQ messaging library and tools"
url="https://zeromq.org/"
arch="all"
license="LGPL-3.0-or-later with exceptions"
makedepends="util-linux-dev libsodium-dev
	perl asciidoc xmlto autoconf automake
	"
subpackages="libzmq-static $pkgname-dev $pkgname-doc libzmq:libs"
source="https://github.com/zeromq/libzmq/releases/download/v$pkgver/zeromq-$pkgver.tar.gz
	test-driver.patch
	"

# secfixes:
#   4.3.3-r0:
#     - CVE-2020-15166
#   4.3.2-r0:
#     - CVE-2019-13132
#   4.3.1-r0:
#     - CVE-2019-6250

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-libsodium
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="4c18d784085179c5b1fcb753a93813095a12c8d34970f2e1bfca6499be6c9d67769c71c68b7ca54ff181b20390043170e89733c22f76ff1ea46494814f7095b1  zeromq-4.3.3.tar.gz
64e4ae2c89469359480743beeb4f1e08976a4c52dbfd2dd33020463df78e927993319e456299682901001e0832ebed85291eea0decc1d27a58de78a6c891e660  test-driver.patch"