nmap: rebuild for python3-3.13

This commit is contained in:
Andrew J. Hesford 2024-11-16 09:29:00 -05:00
parent 58457d8708
commit 22763b4100

View File

@ -1,7 +1,7 @@
# Template file for 'nmap'
pkgname=nmap
version=7.95
revision=1
revision=2
build_style=gnu-configure
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"
@ -27,8 +27,11 @@ alternatives="
post_install() {
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
# Move zenmap data to /usr/share
mv ${DESTDIR}/${py3_sitelib}/zenmapCore/data ${DESTDIR}/usr/share/zenmap
}
zenmap_package() {
@ -39,11 +42,8 @@ zenmap_package() {
vmove usr/bin/xnmap
vmove usr/bin/zenmap
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/man/man1/zenmap.1
vmove usr/lib
rm -f ${DESTDIR}/usr/bin/uninstall_zenmap
}
}