summaryrefslogblamecommitdiff
path: root/user/libetpan/APKBUILD
blob: b8fe55fd2ea43c4c2bd48eb6268a5c9dcef65f4c (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
            
        




                                         

                                                                      
                          

                                                                                               

                              
         
 



                      
         










                                         



                  


                                      
                                                                                                                                                                   


                                                                                                                                                         
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libetpan
pkgver=1.9.4
pkgrel=1
pkgdesc="Mail library for C"
url="https://www.etpan.org/libetpan.html"
arch="all"
license="BSD-3-Clause"
depends=""
makedepends="autoconf automake cyrus-sasl-dev db-dev expat-dev libtool
	openssl-dev zlib-dev"
subpackages="$pkgname-dev"
source="libetpan-$pkgver.tar.gz::https://github.com/dinhviethoa/libetpan/archive/$pkgver.tar.gz
	missing-header.patch
	CVE-2020-15953-a.patch
	CVE-2020-15953-b.patch
	"

# secfixes:
#   1.9.4-r1:
#     - CVE-2020-15953

build() {
	./autogen.sh \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="7b7047d084fb4ce0c91821c2ad78e921d6d009106851afb7f5b068713c84ebe6926f6bf7a7423f263eeebef617511e44f6b65448d892bbc058c447235fd55c0f  libetpan-1.9.4.tar.gz
df0ba883c9328b7cab408a54f38e6f9c7f5f603b0f016b7ea2e9fa49aa4118ff6723218bb9942f278028291e1c7e9da0bb1d48ab2c471b0ddf5edc3e78a8a1df  missing-header.patch
17f2773dc7b807178b152293474e2dc05f4a0d708d56ca01a95a33f1a84af3839efa64e318fd18af946640311032e3c7c2e27a2259d9222ce8e175caa161dbc2  CVE-2020-15953-a.patch
61bfa931ce10a5a25caca261f672135f80202e266feaff981ffe994ea5d55d099b127c5734cca02194ad1bd0ef4d7d37a0022640e749a5168a9f56018580de5f  CVE-2020-15953-b.patch"