summaryrefslogtreecommitdiff
path: root/packages/openntpd/files/makefile-install.patch
blob: b11c1aedd316714f46c7994353ea8eef5c8be241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- openntpd-3.7p1/Makefile.in.original	2005-07-02 06:08:47.795870784 +0200
+++ openntpd-3.7p1/Makefile.in	2005-07-02 06:15:34.768001616 +0200
@@ -78,26 +78,6 @@
 	else \
 		echo "$(DESTDIR)$(sysconfdir)/ntpd.conf already exists, install will not overwrite"; \
 	fi
-	@if [ ! -d $(DESTDIR)$(PRIVSEP_PATH) ]; then \
-		mkdir -p $(DESTDIR)$(PRIVSEP_PATH) ;\
-		chown 0 $(DESTDIR)$(PRIVSEP_PATH) ; \
-		chgrp 0 $(DESTDIR)$(PRIVSEP_PATH) ; \
-		chmod 0755 $(DESTDIR)$(PRIVSEP_PATH) ; \
-	fi
-	@if grep "$(PRIVSEP_USER):" /etc/group >/dev/null; then \
-	  : ;\
-	else \
-	  echo "Please create a dedicated group for ntpd." ;\
-	  echo "This is system-dependant, possibly:" ;\
-	  echo "# groupadd $(PRIVSEP_USER)" ;\
-	fi
-	@if grep "$(PRIVSEP_USER):" /etc/passwd >/dev/null; then \
-	  : ;\
-	else \
-	  echo "Please create a dedicated user for ntpd and ensure it can" ;\
-	  echo "not be used to log in.  This is system-dependant, possibly:" ;\
-	  echo "# useradd -g $(PRIVSEP_USER) -s /sbin/nologin -d $(PRIVSEP_PATH) -c 'OpenNTP daemon' $(PRIVSEP_USER)" ;\
-	fi
 
 diff:
 	-diff -x CVS -x Makefile -ru /usr/src/usr.sbin/ntpd ./ | \