Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
b4248bc6
Commit
b4248bc6
authored
Oct 16, 2017
by
Fred Clift
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add nping from the nmap suite - a network diagnostic tool.
parent
f6d86d3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
packages/nping.rb
packages/nping.rb
+37
-0
No files found.
packages/nping.rb
0 → 100644
View file @
b4248bc6
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'
source_url
'https://nmap.org/dist/nmap-7.60.tar.bz2'
source_sha256
'a8796ecc4fa6c38aad6139d9515dc8113023a82e9d787e5a5fb5fa1b05516f21'
binary_url
({
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/nping-7.60-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
x86_64:
'208ed7878333564c9ea15d82174d542ea1c6e5d93b2ef0219000c5b8de695eb2'
,
})
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 dont have the right dependencies to build this by itself
# so just make the whole thing and then install nping - not effecient, 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment