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


                                                           

             

                                                                
          
                  
                                               
                   
                                       
                                                                  
                                        



                     

         
                     



                                   


                                 
                                  
                                



            
                  


           


                                      
            

                                                                                                                                                                 
 
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=hivex
pkgver=1.3.20
pkgrel=0
pkgdesc="System for extracting the contents of Windows Registry"
url="https://libguestfs.org/"
arch="all"
license="LGPL-2.1"
makedepends="libxml2-dev readline-dev perl-dev"
checkdepends="bash"
subpackages="$pkgname-dev $pkgname-doc"
source="https://libguestfs.org/download/hivex/hivex-$pkgver.tar.gz
	disable-test-gnuopt-posix.patch"

# secfixes:
#   1.3.19-r2:
#     - CVE-2021-3504

build() {
	./configure \
		--bindir=/usr/bin \
		--libdir=/usr/lib \
		--prefix=/usr \
		--disable-rpath \
		--disable-perl \
		--disable-ruby \
		--disable-ocaml \
		--disable-python \
		--disable-static
	make
}

check() {
	make check
}

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

sha512sums="
366e84c2a13ff53c70036df60db6e2b469cd06e3405761df73c47978b4fa0245246a1ea912aa5852b1272221d55c6c100b40b00e4c9a6f5668d12ff7f93c787a  hivex-1.3.20.tar.gz
5f84b0a33b4ebe30db597b3f1addbf53289cd75d5f636151af5e2782acc6bdc288bad51381e907d91eaa7542deb9de197dc1bbb5b6c6b9e1612bf3bbfacc9eb5  disable-test-gnuopt-posix.patch
"