[oe-commits] Marcin Juszkiewicz : tftp-hpa: fix name of /etc/default/tftp(d)-hpa

git version control git at git.openembedded.org
Wed Jun 10 18:19:18 UTC 2009


Module: openembedded.git
Branch: xora/angstrom-srcpv
Commit: 8b0ed3ad71efeb1153073e06fbf64e69a5365aef
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8b0ed3ad71efeb1153073e06fbf64e69a5365aef

Author: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>
Date:   Tue Jun  9 17:28:44 2009 +0200

tftp-hpa: fix name of /etc/default/tftp(d)-hpa

---

 recipes/tftp-hpa/files/init      |    6 +++---
 recipes/tftp-hpa/tftp-hpa_5.0.bb |    5 +++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/recipes/tftp-hpa/files/init b/recipes/tftp-hpa/files/init
index 2a24884..5ad8c52 100644
--- a/recipes/tftp-hpa/files/init
+++ b/recipes/tftp-hpa/files/init
@@ -60,12 +60,12 @@ d_reload() {
 
 case "$1" in
   start)
-	echo -n "Starting $DESC: $NAME"
+	echo  "Starting $DESC: $NAME"
 	d_start
 	echo "."
 	;;
   stop)
-	echo -n "Stopping $DESC: $NAME"
+	echo  "Stopping $DESC: $NAME"
 	d_stop
 	echo "."
 	;;
@@ -88,7 +88,7 @@ case "$1" in
 	#	option to the "reload" entry above. If not, "force-reload" is
 	#	just the same as "restart".
 	#
-	echo -n "Restarting $DESC: $NAME"
+	echo "Restarting $DESC: $NAME"
 	d_stop
 	sleep 1
 	d_start
diff --git a/recipes/tftp-hpa/tftp-hpa_5.0.bb b/recipes/tftp-hpa/tftp-hpa_5.0.bb
index 4137bf0..9533e01 100644
--- a/recipes/tftp-hpa/tftp-hpa_5.0.bb
+++ b/recipes/tftp-hpa/tftp-hpa_5.0.bb
@@ -2,6 +2,7 @@ DESCRIPTION = "HPA's tftp server"
 DEPENDS = "tcp-wrappers readline"
 SECTION = "network"
 LICENSE = "BSD"
+PR = "r1"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/software/network/tftp/tftp-hpa-${PV}.tar.bz2 \
            file://default \
@@ -22,7 +23,7 @@ do_install() {
 	install -d ${D}${sysconfdir}/default
 	install -d ${D}${sysconfdir}/init.d
 
-	install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/tftp-hpa
+	install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/tftpd-hpa
 	install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/tftp-hpa
 }
 
@@ -34,7 +35,7 @@ PACKAGES += "tftpd-hpa"
 
 FILES_${PN} = "${bindir}"
 FILES_tftpd-hpa = "${sbindir} ${sysconfdir}"
-CONFFILES_tftpd-hpa = "${sysconfdir}/default/${PN}"
+CONFFILES_tftpd-hpa = "${sysconfdir}/default/tftpd-hpa"
 
 ALTERNATIVE_NAME = "tftp"
 ALTERNATIVE_LINK = "${bindir}/tftp"





More information about the Openembedded-commits mailing list