mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
nmap: rebuild for python3-3.13
This commit is contained in:
parent
58457d8708
commit
22763b4100
1 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'nmap'
|
# Template file for 'nmap'
|
||||||
pkgname=nmap
|
pkgname=nmap
|
||||||
version=7.95
|
version=7.95
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--without-ndiff --with-openssl --with-zenmap $(vopt_with lua liblua)"
|
configure_args="--without-ndiff --with-openssl --with-zenmap $(vopt_with lua liblua)"
|
||||||
hostmakedepends="python3-setuptools automake python3-build python3-pip pkg-config python3-cairo python3-gobject"
|
hostmakedepends="python3-setuptools automake python3-build python3-pip pkg-config python3-cairo python3-gobject"
|
||||||
|
@ -27,8 +27,11 @@ alternatives="
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
||||||
# do not use bundled certificates, use only system ones
|
# Do not use bundled certificates, use only system ones
|
||||||
rm -f ${DESTDIR}/usr/share/ncat/ca-bundle.crt
|
rm -f ${DESTDIR}/usr/share/ncat/ca-bundle.crt
|
||||||
|
|
||||||
|
# Move zenmap data to /usr/share
|
||||||
|
mv ${DESTDIR}/${py3_sitelib}/zenmapCore/data ${DESTDIR}/usr/share/zenmap
|
||||||
}
|
}
|
||||||
|
|
||||||
zenmap_package() {
|
zenmap_package() {
|
||||||
|
@ -39,11 +42,8 @@ zenmap_package() {
|
||||||
vmove usr/bin/xnmap
|
vmove usr/bin/xnmap
|
||||||
vmove usr/bin/zenmap
|
vmove usr/bin/zenmap
|
||||||
vmove usr/share/applications
|
vmove usr/share/applications
|
||||||
mv ${DESTDIR}/usr/lib/python3.12/site-packages/zenmapCore/data \
|
|
||||||
${DESTDIR}/usr/share/zenmap
|
|
||||||
vmove usr/share/zenmap
|
vmove usr/share/zenmap
|
||||||
vmove usr/share/man/man1/zenmap.1
|
vmove usr/share/man/man1/zenmap.1
|
||||||
vmove usr/lib
|
vmove usr/lib
|
||||||
rm -f ${DESTDIR}/usr/bin/uninstall_zenmap
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue