-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
prelude: | ||
- |- | ||
export FEATURES="-sandbox -usersandbox -ipc-sandbox -pid-sandbox -network-sandbox" && \ | ||
export JOBS={{ ( index .Values.labels "jobs" ) | default "3" }} && \ | ||
eval 'mkdir -p /var/cache/portage/distfiles || true' && \ | ||
chown portage:portage -R /var/cache/portage/ && \ | ||
{{- if .Values.use_flags }} | ||
USE="{{ join " " .Values.use_flags }}" emerge {{ ( index .Values.labels "emerge.packages" ) }} -pv -t && \ | ||
{{- else }} | ||
emerge -j ${JOBS} {{ ( index .Values.labels "emerge.packages" ) }} -pv -t && \ | ||
{{- end }} | ||
{{- if .Values.use_flags }} | ||
USE="{{ join " " .Values.use_flags }}" emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }} | ||
{{- else }} | ||
emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }} | ||
{{- end }} | ||
- export LUET_PORTAGE_CACHE_PACKAGES="/var/cache/portage/packages" && export LUET_PORTAGE_IGNORE_TAR_WARNING=1 | ||
&& export LUET_PORTAGE_PKGMETA=1 && export LUET_PORTAGE_PKGFILES=1 && eval 'rm -rf | ||
/pkgdir/ || true' && mkdir -p /pkgdir/{{ .Values.name }} && luet-portage --dir /pkgdir/{{ | ||
.Values.name }} {{ ( index .Values.labels "emerge.packages" ) }} && eval 'rm -v | ||
/var/cache/distfiles/* ${LUET_PORTAGE_CACHE_PACKAGES}/* || true' | ||
package_dir: /pkgdir/{{ .Values.name }} | ||
excludes: | ||
- ^/var/cache/portage/ | ||
- ^/var/git/ | ||
requires: | ||
- name: liblinear | ||
version: '>=0' | ||
category: dev-libs | ||
- name: lua | ||
version: '>=0' | ||
category: dev-lua-5.3 |
58 changes: 58 additions & 0 deletions
58
packages/atoms/base-net2/net-analyzer/nmap/definition.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: nmap | ||
version: "7.91" | ||
category: net-analyzer | ||
use_flags: | ||
- -libressl | ||
- -libssh2 | ||
- lua_single_target_lua5-3 | ||
- nse | ||
- ssl | ||
- system-lua | ||
requires: | ||
- name: liblinear | ||
version: '>=0' | ||
category: dev-libs | ||
- name: libpcre | ||
version: '>=0' | ||
category: dev-libs-3 | ||
- name: openssl | ||
version: '>=0' | ||
category: dev-libs | ||
- name: lua | ||
version: '>=0' | ||
category: dev-lua-5.3 | ||
- name: libpcap | ||
version: '>=0' | ||
category: net-libs | ||
annotations: | ||
subsets: | ||
rules: | ||
devel: | ||
- ^/usr/include/ | ||
portage: | ||
- ^/var/db/pkg/ | ||
description: Network exploration tool and security / port scanner | ||
uri: | ||
- https://nmap.org/ | ||
license: '|| ( NPSL GPL-2 )' | ||
labels: | ||
BDEPEND: '>=app-portage/elt-patches-20170815 !<sys-devel/gettext-0.18.1.1-r3 || | ||
( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 | ||
>=sys-devel/libtool-2.4' | ||
DEPEND: dev-libs/liblinear:= dev-libs/libpcre net-libs/libpcap libssh2? ( net-libs/libssh2[zlib] | ||
sys-libs/zlib ) nse? ( sys-libs/zlib ) ssl? ( !libressl? ( dev-libs/openssl:0= | ||
) libressl? ( dev-libs/libressl:= ) ) system-lua? ( lua_single_target_lua5-3? | ||
( dev-lua/lua:5.3[deprecated] ) ) | ||
IUSE: ipv6 libressl libssh2 ncat nping +nse ssl +system-lua +lua_single_target_lua5-3 | ||
python_single_target_python3_7 python_single_target_python3_9 python_single_target_python3_8 | ||
python_single_target_python3_10 python_targets_python3_7 python_targets_python3_9 | ||
python_targets_python3_8 python_targets_python3_10 | ||
RDEPEND: dev-libs/liblinear:= dev-libs/libpcre net-libs/libpcap libssh2? ( net-libs/libssh2[zlib] | ||
sys-libs/zlib ) nse? ( sys-libs/zlib ) ssl? ( !libressl? ( dev-libs/openssl:0= | ||
) libressl? ( dev-libs/libressl:= ) ) system-lua? ( lua_single_target_lua5-3? | ||
( dev-lua/lua:5.3[deprecated] ) ) | ||
emerge.packages: net-analyzer/nmap | ||
kit: net-kit | ||
original.package.name: net-analyzer/nmap | ||
original.package.slot: "0" | ||
original.package.version: "7.91" |