Github messages for voidlinux
 help / color / mirror / Atom feed
From: iFoundSilentHouse <iFoundSilentHouse@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] nmap: update to 7.95, rework zenmap packaging
Date: Fri, 26 Apr 2024 18:13:11 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50046@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 827 bytes --]

There is a new pull request by iFoundSilentHouse against master on the void-packages repository

https://github.com/iFoundSilentHouse/void-packages nmap-7.95
https://github.com/void-linux/void-packages/pull/50046

nmap: update to 7.95, rework zenmap packaging
- I tested the changes in this PR: **YES**
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures:
  - x86_64-musl
  - aarch64(cross)

build fails without `automake`. Make cannot see `aclocal.m4` without it.
`python3-cairo python3-gobject` used for zenmap installation on `do_install` phase
line 42 were added so zenmap config, pixmaps etc. files will remain in their previous place `/usr/share/zenmap/`

A patch file from https://github.com/void-linux/void-packages/pull/50046.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nmap-7.95-50046.patch --]
[-- Type: text/x-diff, Size: 1827 bytes --]

From 2a0877801049e8d5ed2ed5130c99cd47f3051fc8 Mon Sep 17 00:00:00 2001
From: IFoundSilentHouse <adeptslab@gmail.com>
Date: Fri, 26 Apr 2024 20:40:25 +0600
Subject: [PATCH] nmap: update to 7.95.

---
 srcpkgs/nmap/template | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/nmap/template b/srcpkgs/nmap/template
index a7357e3daa3f3b..7113789d34846d 100644
--- a/srcpkgs/nmap/template
+++ b/srcpkgs/nmap/template
@@ -1,19 +1,19 @@
 # Template file for 'nmap'
 pkgname=nmap
-version=7.94
-revision=4
+version=7.95
+revision=1
 build_style=gnu-configure
 configure_args="--without-ndiff --with-openssl --with-zenmap $(vopt_with lua liblua)"
-hostmakedepends="python3-setuptools"
+hostmakedepends="python3-setuptools automake python3-build python3-pip pkg-config python3-cairo python3-gobject"
 makedepends="libpcap-devel openssl-devel libssh2-devel pcre-devel
- $(vopt_if lua lua53-devel)"
+ $(vopt_if lua lua54-devel)"
 short_desc="Utility for network discovery and security auditing"
 maintainer="Piraty <mail@piraty.dev>"
 license="custom:nmap"
 homepage="https://nmap.org"
 changelog="https://raw.githubusercontent.com/nmap/nmap/master/CHANGELOG"
 distfiles="https://nmap.org/dist/nmap-${version}.tar.bz2"
-checksum=d71be189eec43d7e099bac8571509d316c4577ca79491832ac3e1217bc8f92cc
+checksum=e14ab530e47b5afd88f1c8a2bac7f89cd8fe6b478e22d255c5b9bddb7a1c5778
 repository=nonfree
 python_version=3
 
@@ -38,10 +38,12 @@ zenmap_package() {
 		vmove usr/bin/nmapfe
 		vmove usr/bin/xnmap
 		vmove usr/bin/zenmap
-		vmove usr/lib
 		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
 	}
 }

                 reply	other threads:[~2024-04-26 16:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50046@inbox.vuxu.org \
    --to=ifoundsilenthouse@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).