pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

net/ntp4 on linux and chroot


I was having trouble with Linux and ntp4 with a chroot-ed environment. The patch below was my solution. It works for me, but I'm not sure it does everything correct.

This is in pkgsrc-2008Q1. The HEAD has a new version but I'm not using that yet. So the patch should probably be different anyway.

If there are no problems with this I'd like to see it pulled into pkgsrc...


--- net/ntp4/Makefile.orig      2008-05-20 14:53:14.000000000 -0400
+++ net/ntp4/Makefile   2008-05-20 14:53:35.000000000 -0400
@@ -62,6 +62,13 @@
 TIMETRIM=      "@comment "

+# Allow for a chroot environment on Linux
+.if ${OPSYS} == "Linux"
+CONFIGURE_ARGS+=       --enable-linuxcaps
+PKG_USERS=             ntpd:ntpd

 .include "../../security/openssl/"

Home | Main Index | Thread Index | Old Index