summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--strata/ntpd.morph3
-rw-r--r--strata/ntpd/ntpd.morph10
2 files changed, 12 insertions, 1 deletions
diff --git a/strata/ntpd.morph b/strata/ntpd.morph
index 969e3d85..4c5483e5 100644
--- a/strata/ntpd.morph
+++ b/strata/ntpd.morph
@@ -1,9 +1,10 @@
name: ntpd
kind: stratum
build-depends:
-- morph: strata/core.morph
+- morph: strata/foundation.morph
chunks:
- name: ntpd
+ morph: strata/ntpd/ntpd.morph
repo: upstream:ntp
ref: b2ccf8dd31d1457ae9f0ae270054117179220370
unpetrify-ref: ntp-4.2.8p2
diff --git a/strata/ntpd/ntpd.morph b/strata/ntpd/ntpd.morph
new file mode 100644
index 00000000..fd561de1
--- /dev/null
+++ b/strata/ntpd/ntpd.morph
@@ -0,0 +1,10 @@
+name: ntpd
+kind: chunk
+build-system: autotools
+configure-commands:
+ - ./configure --prefix="$PREFIX" --enable-linuxcaps
+system-integration:
+ ntpd-misc:
+ 00-add-ntpd-user:
+ - groupadd -r ntp
+ - useradd -g ntp -d /home/ntp -s /bin/false -r ntp