chroot: create chroot-curl subpackage, adopt.
The new potential build infrastructure needs a curl binary to send build results to outside the chroot, but we don't want it to be picked up by build systems. libcurl is part of the masterdir environment already, through binutils -> libdebuginfod -> libcurl, so we can simply copy the binary with a different name, and have the package also depend on libcurl.
This commit is contained in:
parent
eb874325f2
commit
5ab63bbf68
2 changed files with 10 additions and 2 deletions
1
srcpkgs/chroot-curl
Symbolic link
1
srcpkgs/chroot-curl
Symbolic link
|
@ -0,0 +1 @@
|
|||
curl
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'curl'
|
||||
pkgname=curl
|
||||
version=7.79.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6
|
||||
$(vopt_with rtmp) $(vopt_with gssapi) $(vopt_enable ldap) $(vopt_with gnutls)
|
||||
|
@ -19,7 +19,7 @@ depends="ca-certificates"
|
|||
# openssh isn't in checkdepends, because test 581 locks up
|
||||
checkdepends="python3 stunnel nghttp2"
|
||||
short_desc="Client that groks URLs"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
maintainer="Érico Nogueira <ericonr@disroot.org>"
|
||||
license="MIT"
|
||||
homepage="https://curl.haxx.se"
|
||||
changelog="https://curl.haxx.se/changes.html#${version//./_}"
|
||||
|
@ -71,3 +71,10 @@ libcurl-devel_package() {
|
|||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
||||
|
||||
chroot-curl_package() {
|
||||
short_desc+=" - for build infra use"
|
||||
pkg_install() {
|
||||
vbin $DESTDIR/usr/bin/curl chroot-curl
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue