Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F7886052
D2468.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D2468.diff
View Options
diff --git a/pillar/devserver/ports.sls b/pillar/devserver/ports.sls
--- a/pillar/devserver/ports.sls
+++ b/pillar/devserver/ports.sls
@@ -23,6 +23,7 @@
- THREADS
- GTK2
- "X11"
+
ffmpeg:
category: multimedia
name: ffmpeg
@@ -123,3 +124,20 @@
- 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
--- a/roles/devserver/userland-software/ports.sls
+++ b/roles/devserver/userland-software/ports.sls
@@ -14,6 +14,8 @@
# 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
@@ -22,6 +24,8 @@
- context:
args: {{ args }}
+{% endif %}
+
# -------------------------------------------------------------
# Build and install package
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, May 5, 16:05 (17 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2633283
Default Alt Text
D2468.diff (1 KB)
Attached To
Mode
D2468: Compile manually node and npm with bundled SSL
Attached
Detach File
Event Timeline
Log In to Comment