Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bart Ribbers
aports
Commits
6030f8b1
Commit
6030f8b1
authored
9 years ago
by
Sören Tempel
Browse files
Options
Downloads
Patches
Plain Diff
main/nmap: upgrade to 7.10
parent
b3571c86
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/nmap/APKBUILD
+10
-6
10 additions, 6 deletions
main/nmap/APKBUILD
main/nmap/fortify-source.patch
+16
-0
16 additions, 0 deletions
main/nmap/fortify-source.patch
with
26 additions
and
6 deletions
main/nmap/APKBUILD
+
10
−
6
View file @
6030f8b1
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname
=
nmap
pkgver
=
7.
0
1
pkgrel
=
1
pkgver
=
7.1
0
pkgrel
=
0
pkgdesc
=
"A network exploration tool and security/port scanner"
url
=
"http://nmap.org"
arch
=
"all"
...
...
@@ -15,7 +15,8 @@ subpackages="
$pkgname
-nselibs
$pkgname
-nping
$pkgname
-ncat"
source
=
"http://nmap.org/dist/
$pkgname
-
$pkgver
.tar.bz2"
source
=
"http://nmap.org/dist/
$pkgname
-
$pkgver
.tar.bz2
fortify-source.patch"
_builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
build
()
{
...
...
@@ -74,6 +75,9 @@ nping() {
mv
"
$pkgdir
"
/usr/bin/nping
"
$subpkgdir
"
/usr/bin
||
return
1
}
md5sums
=
"7fa4edc592184c7addc14f5acb3fe6f7 nmap-7.01.tar.bz2"
sha256sums
=
"cf1fcd2643ba2ef52f47acb3c18e52fa12a4ae4b722804da0e54560704627705 nmap-7.01.tar.bz2"
sha512sums
=
"8b37616c2af2134a5a3bb292f25f2bc0232e20e08405620734c07d84bbc9070a87db4d4b14e8a10c67a3684960035ed202be5dd6feddfb613c134208fc62a2a7 nmap-7.01.tar.bz2"
md5sums
=
"4fbc455d3f097755fca9d56ae60fa5bc nmap-7.10.tar.bz2
cb569526cad25daaf60eb3fec751ebc7 fortify-source.patch"
sha256sums
=
"58cf8896d09057d1c3533f430c06b22791d0227ebbb93dede2ccb73693ed4b4b nmap-7.10.tar.bz2
afe6c342d3253a6de5117dd0a5f23cbcb4af2325fea739e01034df8582fdf884 fortify-source.patch"
sha512sums
=
"38bdbc1902875db150faf2051d90d4200dd3c2ca2abbd7dbe55981899e90c1ab173f84d9d76f1a3d4d3ff1edf927373f948c12cfcb0eae79d8ede20607308e6f nmap-7.10.tar.bz2
2d1f6e290723ac643f456a0e1ac95c4c966106cf2ab743839d25c835bf0141dc2d6bfee19285c3518d4c5f553b0505dabe5a496b769ba47b7adb03e791f05b8d fortify-source.patch"
This diff is collapsed.
Click to expand it.
main/nmap/fortify-source.patch
0 → 100644
+
16
−
0
View file @
6030f8b1
-D_FORTIFY_SOURCE=2 is enable in gcc by default on alpine. See the
010_all_default-fortify-source.patch patch in main/gcc. Disabling
it here silences a bunch of compiler warnings.
diff -upr nmap-7.10.orig/Makefile.in nmap-7.10/Makefile.in
--- nmap-7.10.orig/Makefile.in 2016-03-20 00:47:16.555111217 +0100
+++ nmap-7.10/Makefile.in 2016-03-20 00:47:26.348392650 +0100
@@ -41,7 +41,7 @@
DEFS = @DEFS@ -DNMAP_NAME=\"$(NMAP_NAME)
# http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html
# Level 1 only makes changes that don't affect "conforming" programs,
# while level 2 enforces additional restrictions.
-DEFS += -D_FORTIFY_SOURCE=2
+# DEFS += -D_FORTIFY_SOURCE=2
# For mtrace debugging -- see MTRACE define in main.cc for instructions
# Should only be enabled during debugging and not in any real release.
# DEFS += -DMTRACE=1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment