aboutsummaryrefslogtreecommitdiffstats
path: root/main/openntpd/ntp-user.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-09-17 14:30:38 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-09-17 14:31:10 +0200
commit4697b739dbd9c4bed4837da857747fb3679dc8f1 (patch)
tree389db7ba1347060ba30b769a369bb538cbdb4d51 /main/openntpd/ntp-user.patch
parent6859153e28d2401b9a461ea679f16efc675b840a (diff)
downloadaports-4697b739dbd9c4bed4837da857747fb3679dc8f1.tar.bz2
aports-4697b739dbd9c4bed4837da857747fb3679dc8f1.tar.xz
main/openntpd: fix ntp system user
Diffstat (limited to 'main/openntpd/ntp-user.patch')
-rw-r--r--main/openntpd/ntp-user.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/openntpd/ntp-user.patch b/main/openntpd/ntp-user.patch
new file mode 100644
index 0000000000..200676c860
--- /dev/null
+++ b/main/openntpd/ntp-user.patch
@@ -0,0 +1,13 @@
+diff --git a/src/ntpd.h b/src/ntpd.h
+index 6403391..cc41d42 100644
+--- a/src/ntpd.h
++++ b/src/ntpd.h
+@@ -37,7 +37,7 @@
+ #define MAXIMUM(a, b) ((a) > (b) ? (a) : (b))
+
+ #ifndef NTPD_USER
+-#define NTPD_USER "_ntp"
++#define NTPD_USER "ntp"
+ #endif
+
+ #ifndef SYSCONFDIR