From 22763b410094f73963d43759bb407a10928fe080 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sat, 16 Nov 2024 09:29:00 -0500 Subject: [PATCH] nmap: rebuild for python3-3.13 --- srcpkgs/nmap/template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/nmap/template b/srcpkgs/nmap/template index 7113789d348..b1a15b21e68 100644 --- a/srcpkgs/nmap/template +++ b/srcpkgs/nmap/template @@ -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 } }