summaryrefslogblamecommitdiff
path: root/user/catdoc/APKBUILD
blob: 4296c8167424b0eed05cf01d99fbf76a36d2e314 (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=catdoc
pkgver=0.95
pkgrel=2
pkgdesc="Read information and data from Microsoft Office documents"
url="http://www.wagner.pp.ru/~vitus/software/catdoc/"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0-only"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="http://ftp.wagner.pp.ru/pub/catdoc/catdoc-$pkgver.tar.gz
	CVE-2017-11110.patch"

# secfixes:
#   0.95-r2:
#     - CVE-2017-11110

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-install-root="$pkgdir"
	make
}

package() {
	cd "$builddir"
	make -j1 install
}

sha512sums="dd6bded4b6b70749c007256b182b063ff266f86d53024d8582001678821e8096c5b980bc8f43015d9c82bbe022d71d4ba5fe68aff31b2ff6db3688595e651b2c  catdoc-0.95.tar.gz
15d1da9fe095c6e4a990faa22ee67952d91494057a1fd6334f2eb671898156c95245b54f229549a5662d13dec6ecc4e607583e865fb9775fea8d163755cf04b0  CVE-2017-11110.patch"