diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/openntpd/files/makefile-install.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) | |
download | openembedded-709c4d66e0b107ca606941b988bad717c0b45d9b.tar.gz |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/openntpd/files/makefile-install.patch')
-rw-r--r-- | recipes/openntpd/files/makefile-install.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/openntpd/files/makefile-install.patch b/recipes/openntpd/files/makefile-install.patch new file mode 100644 index 0000000000..b11c1aedd3 --- /dev/null +++ b/recipes/openntpd/files/makefile-install.patch @@ -0,0 +1,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 ./ | \ |