Created
May 14, 2018 15:00
-
-
Save nedrichards/6317d2e49157beeeb274d519937b7283 to your computer and use it in GitHub Desktop.
flatpak manifest for nmap - still has a problem with zenmap congfig path but nmap works fine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"app-id": "org.nmap.Zenmap", | |
"branch": "stable", | |
"runtime": "org.gnome.Platform", | |
"runtime-version": "3.28", | |
"sdk": "org.gnome.Sdk", | |
"command": "zenmap", | |
"rename-icon": "zenmap", | |
"rename-desktop-file": "zenmap.desktop", | |
"finish-args": [ | |
"--socket=x11", | |
"--share=ipc", | |
"--share=network", | |
"--persist=.zenmap" | |
], | |
"modules": [ | |
{ | |
"name": "py2cairo", | |
"buildsystem": "simple", | |
"build-commands": [ | |
"./waf configure --prefix=/app", | |
"./waf build", | |
"./waf install" | |
], | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "http://cairographics.org/releases/py2cairo-1.10.0.tar.bz2", | |
"sha256": "d30439f06c2ec1a39e27464c6c828b6eface3b22ee17b2de05dc409e429a7431" | |
} | |
] | |
}, | |
{ | |
"name": "pygobject", | |
"config-opts": [ | |
"--disable-introspection" | |
], | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.28/pygobject-2.28.7.tar.xz", | |
"sha256": "bb9d25a3442ca7511385a7c01b057492095c263784ef31231ffe589d83a96a5a" | |
} | |
] | |
}, | |
{ | |
"name": "pygtk", | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.24/pygtk-2.24.0.tar.gz", | |
"sha256": "6e3e54fa6e65a69ac60bd58cb2e60a57f3346ac52efe995f3d10b6c38c972fd8" | |
}, | |
{ | |
"type": "shell", | |
"commands": [ "cp -p /usr/share/automake-*/config.{sub,guess} ." ] | |
} | |
] | |
}, | |
{ | |
"name": "nmap", | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "https://nmap.org/dist/nmap-7.70.tar.bz2", | |
"sha256": "847b068955f792f4cc247593aca6dc3dc4aae12976169873247488de147a6e18" | |
} | |
], | |
"post-install": [ | |
"install -Dm644 /app/share/zenmap/pixmaps/zenmap.png /app/share/icons/hicolor/256x256/apps/zenmap.png" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment