[oe-commits] org.oe.dev dhcdbd_2.0.bb : new upstream version, also added patch to disable sending

xora commit openembedded-commits at lists.openembedded.org
Wed Oct 18 08:56:46 UTC 2006


dhcdbd_2.0.bb : new upstream version, also added patch to disable sending
-x to dhclient (which is a patch dhclient needs if it is to understand
this new arg)

Author: xora at openembedded.org
Branch: org.openembedded.dev
Revision: ab0313a11e170f4e88a966dfdf5b90ab36ca4ccb
ViewMTN: http://monotone.openembedded.org/revision.psp?id=ab0313a11e170f4e88a966dfdf5b90ab36ca4ccb
Files:
1
packages/dhcdbd/dhcdbd_2.0.bb
packages/dhcdbd/files/no-ext-options.patch
Diffs:

#
# mt diff -r0f00f5e16ae646f65c57618dc7e3ef8ba0b28fce -rab0313a11e170f4e88a966dfdf5b90ab36ca4ccb
#
# 
# 
# add_file "packages/dhcdbd/dhcdbd_2.0.bb"
#  content [4ed6c518e15b3aa4ae3e62dfd036c474351b886d]
# 
# add_file "packages/dhcdbd/files/no-ext-options.patch"
#  content [f27f6384da801f3e2c726a5a41dbc0b86d41d656]
# 
============================================================
--- packages/dhcdbd/dhcdbd_2.0.bb	4ed6c518e15b3aa4ae3e62dfd036c474351b886d
+++ packages/dhcdbd/dhcdbd_2.0.bb	4ed6c518e15b3aa4ae3e62dfd036c474351b886d
@@ -0,0 +1,25 @@
+DESCRIPTION="DBus-enabled dhcp client"
+SECTION="net"
+LICENSE="GPL"
+HOMEPAGE="http://people.redhat.com/jvdias/dhcdbd/"
+
+DEPENDS = "dbus"
+RDEPENDS = "dhcp-client"
+
+PR = "r0"
+
+SRC_URI="http://people.redhat.com/dcantrel/dhcdbd/dhcdbd-${PV}.tar.bz2 \
+         file://no-ext-options.patch;patch=1 \
+         file://dhcdbd"
+
+do_compile() {
+	CC=${TARGET_SYS}-gcc DESTDIR=${prefix} make
+}
+
+do_install() {
+	DESTDIR=${D} make install
+	install -d ${D}/etc/init.d
+	install -m 0755 ${WORKDIR}/dhcdbd ${D}/etc/init.d/
+}
+
+FILES_${PN} += "${sysconfdir} ${datadir}/dbus-1 ${base_sbindir}/*"
============================================================
--- packages/dhcdbd/files/no-ext-options.patch	f27f6384da801f3e2c726a5a41dbc0b86d41d656
+++ packages/dhcdbd/files/no-ext-options.patch	f27f6384da801f3e2c726a5a41dbc0b86d41d656
@@ -0,0 +1,13 @@
+Index: dhcdbd-2.0/include/dhcdbd.h
+===================================================================
+--- dhcdbd-2.0.orig/include/dhcdbd.h	2006-10-18 09:38:18.000000000 +0100
++++ dhcdbd-2.0/include/dhcdbd.h	2006-10-18 09:38:45.000000000 +0100
+@@ -76,7 +76,7 @@
+ #endif
+ 
+ #ifndef DHCLIENT_EXTENDED_OPTION_ENVIRONMENT
+-#define DHCLIENT_EXTENDED_OPTION_ENVIRONMENT 1
++#define DHCLIENT_EXTENDED_OPTION_ENVIRONMENT 0
+ #endif
+ 
+ #define DHCDBD_INTERFACE_TEXT "text"   






More information about the Openembedded-commits mailing list