Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12242088
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
4 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/pillar/devserver/ports.sls b/pillar/devserver/ports.sls
index c849f4f..156170d 100644
--- a/pillar/devserver/ports.sls
+++ b/pillar/devserver/ports.sls
@@ -1,125 +1,143 @@
# -------------------------------------------------------------
# Salt configuration for Nasqueron servers
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2020-01-18
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
# -------------------------------------------------------------
# Ports to build manually
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ports:
xaos:
category: graphics
name: xaos
creates: /usr/local/bin/xaos
options:
set:
- NLS
- AALIB
unset:
- THREADS
- GTK2
- "X11"
+
ffmpeg:
category: multimedia
name: ffmpeg
creates: /usr/local/bin/ffmpeg
options:
set:
- AOM
- CACA
- DAV1D
- FONTCONFIG
- FREETYPE
- FREI0R
- ICONV
- LAME
- MMX
- OPENCV
- OPTIMIZED_CFLAGS
- OPUS
- RTCPU
- SSE
- THEORA
- V4L
- VAAPI
- VDPAU
- VORBIS
- VPX
- "X264"
- "X265"
- XCB
- XVID
- GMP
- GNUTLS
- GPL3
- NONFREE
unset:
- ALSA
- AMR_NB
- AMR_WB
- ASS
- BEIGNET
- BS2B
- CDIO
- CELT
- CODEC2
- DC1394
- DEBUG
- DOCS
- DRM
- FDK_AAC
- FLITE
- FRIBIDI
- GME
- GSM
- ILBC
- JACK
- KVAZAAR
- LADSPA
- LENSFUN
- LIBBLURAY
- LIBRSVG2
- LIBXML2
- LV2
- MODPLUG
- MYSOFA
- OPENAL
- OPENCL
- OPENGL
- OPENH264
- OPENJPEG
- OPENMPT
- POCKETSPHINX
- PULSEAUDIO
- RAV1E
- RUBBERBAND
- SDL
- SMB
- SNAPPY
- SNDIO
- SOXR
- SPEEX
- SSH
- SVTAV1
- SVTHEVC
- SVTVP9
- TESSERACT
- TWOLAME
- VAPOURSYNTH
- VIDSTAB
- VMAF
- VO_AMRWBENC
- WAVPACK
- WEBP
- XVIDEO
- ZIMG
- ZMQ
- ZVBI
- GCRYPT
- LIBRTMP
- MBEDTLS
- OPENSSL
+
+ node:
+ category: www
+ name: node
+ creates: /usr/local/bin/node
+ options:
+ set:
+ - BUNDLED_SSL
+ - NLS
+ unset:
+ - DOCS
+ - DTRACE
+
+ npm:
+ category: www
+ name: npm
+ creates: /usr/local/bin/npm
diff --git a/roles/devserver/userland-software/ports.sls b/roles/devserver/userland-software/ports.sls
index 41ef8ab..a4d4d7a 100644
--- a/roles/devserver/userland-software/ports.sls
+++ b/roles/devserver/userland-software/ports.sls
@@ -1,38 +1,42 @@
# -------------------------------------------------------------
# Salt — Provision dev software
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2020-01-18
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% if grains['os'] == 'FreeBSD' %}
{% for port, args in pillar.get("ports", {}).items() %}
# -------------------------------------------------------------
# Provision port options
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+{% if 'options' in args %}
+
/var/db/ports/{{ args['category'] }}_{{ args['name'] }}/options:
file.managed:
- source: salt://roles/devserver/userland-software/files/port_options
- template: jinja
- mode: 644
- context:
args: {{ args }}
+{% endif %}
+
# -------------------------------------------------------------
# Build and install package
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
port_{{ port }}:
cmd.run:
- name: |
make build package deinstall reinstall
pkg lock {{ port }}
- cwd: /usr/ports/{{ args['category'] }}/{{ args['name'] }}
- creates: {{ args['creates'] }}
{% endfor %}
{% endif %}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Oct 12, 07:31 (13 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3059650
Default Alt Text
(4 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment