Remove nping package (#9655)

This commit is contained in:
Ed Reel
2024-04-16 02:35:05 -05:00
committed by GitHub
parent 43c334de5f
commit 3111067eb9
6 changed files with 1 additions and 51 deletions

View File

@@ -41,6 +41,7 @@ pkg_update_arr = [
{ pkg_name: 'libmfx', pkg_rename: nil, pkg_deprecated: true, comments: 'No longer compatible with any architecture' },
{ pkg_name: 'mercurial', pkg_rename: 'py3_mercurial', pkg_deprecated: nil, comments: 'Renamed to match other pip packages.' },
{ pkg_name: 'meson', pkg_rename: 'mesonbuild', pkg_deprecated: nil, comments: 'Renamed to avoid conflict with buildsystems/meson.' },
{ pkg_name: 'nping', pkg_rename: nil, pkg_deprecated: true, comments: 'Removed to avoid conflict with nmap.' },
{ pkg_name: 'qtbase', pkg_rename: 'qt5_base', pkg_deprecated: nil, comments: 'Qt packages renamed to qt5_*' },
{ pkg_name: 'qtcharts', pkg_rename: 'qt5_charts', pkg_deprecated: nil, comments: nil },
{ pkg_name: 'qtchooser', pkg_rename: nil, pkg_deprecated: true, comments: "Doesn't work for newer Qt versions." },

View File

@@ -1,2 +0,0 @@
/usr/local/bin/nping
/usr/local/share/man/man1/nping.1

View File

@@ -1,2 +0,0 @@
/usr/local/bin/nping
/usr/local/share/man/man1/nping.1

View File

@@ -1,2 +0,0 @@
/usr/local/bin/nping
/usr/local/share/man/man1/nping.1

View File

@@ -1,40 +0,0 @@
require 'package'
class Nping < Package
description 'Nping is part of the nmap suite - a network diagnostics tool`.'
homepage 'https://nmap.org/nping/'
version '7.60'
license 'NPSL'
compatibility 'all'
source_url 'https://nmap.org/dist/nmap-7.60.tar.bz2'
source_sha256 'a8796ecc4fa6c38aad6139d9515dc8113023a82e9d787e5a5fb5fa1b05516f21'
binary_compression 'tar.xz'
binary_sha256({
aarch64: 'e57915081b9648b6f4ea639a40f611306d870fced74b47ee3438daa8414e1921',
armv7l: 'e57915081b9648b6f4ea639a40f611306d870fced74b47ee3438daa8414e1921',
i686: 'a45af5836acefe2c9aad17a732cea4edad65e272d079d574c8dbf3cfdab26910',
x86_64: '558f8cc197f92003dfd44adab12ec4461b594f322e41d0498a8e961ae030f00a'
})
depends_on 'buildessential' => :build
depends_on 'filecmd' => :build # configure uses file
def self.build
# fixup "/usr/bin/file" -> "file" in the configure script
system "sed -i s#/usr/bin/file##{CREW_PREFIX}/bin/file#g libdnet-stripped/configure"
# without-zenmap in configure removes openssl dependency
system "./configure --without-zenmap --prefix=#{CREW_PREFIX}"
# Make files in the project don't have the right dependencies to build this by itself
# so just make the whole thing and then install nping - not efficient, but
# more likely to work than a bunch of Makefile dependency edits
system 'make'
end
def self.install
system "cd nping && make DESTDIR=#{CREW_DEST_DIR} install"
end
end

View File

@@ -6166,11 +6166,6 @@ url: https://github.com/hokaccha/nodebrew/releases
activity: low
---
kind: url
name: nping
url: https://nmap.org/dist/
activity: low
---
kind: url
name: npth
url: https://www.gnupg.org/ftp/gcrypt/npth
activity: medium