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