[oe-commits] org.oe.dev upstart: Finer grained packaging. Fix license. New package, needs testing.

likewise commit openembedded-commits at lists.openembedded.org
Wed May 9 22:14:35 UTC 2007


upstart: Finer grained packaging. Fix license. New package, needs testing.

Author: likewise at openembedded.org
Branch: org.openembedded.dev
Revision: 7ce8482617dacb21bddaed0ba9c8a445bbf9dfdf
ViewMTN: http://monotone.openembedded.org/revision.psp?id=7ce8482617dacb21bddaed0ba9c8a445bbf9dfdf
Files:
1
packages/upstart/upstart.inc
packages/upstart/upstart_0.3.8.bb
Diffs:

#
# mt diff -ra539bcb60c6f9bed8bce4062a843e6af65394769 -r7ce8482617dacb21bddaed0ba9c8a445bbf9dfdf
#
# 
# 
# patch "packages/upstart/upstart.inc"
#  from [5ab39cdf8b256ac442bc1d0f98019bbe8652f43a]
#    to [fcbea82b2950d06ae990b08aa5584e6a5e70313d]
# 
# patch "packages/upstart/upstart_0.3.8.bb"
#  from [fbf6b463e359214354e5ef91d74e9c21f4ad8870]
#    to [7cf4359a5185a2145cc3d0a5aaafc951894ea45e]
# 
============================================================
--- packages/upstart/upstart.inc	5ab39cdf8b256ac442bc1d0f98019bbe8652f43a
+++ packages/upstart/upstart.inc	fcbea82b2950d06ae990b08aa5584e6a5e70313d
@@ -1,11 +1,26 @@ DESCRIPTION = "Event driven system init"
 SECTION = "base"
 PRIORITY = "optional"
 DEPENDS = ""
 DESCRIPTION = "Event driven system init"
-LICENSE = "MPL LGPL"
+LICENSE = "GPL"
 
 inherit autotools pkgconfig 
 
+# --enable-compat builds halt, reboot, shutdown tools
+EXTRA_OECONF += "--enable-compat"
+
 do_stage () {
  	autotools_stage_all
 }
+
+# libupstart can be used for upstart event generation from other programs.
+# However it is not used by upstart itself, so package it seperately.
+PACKAGES =+ "libupstart libupstart-dev"
+FILES_libupstart += "${libdir}/libupstart.so.*"
+FILES_libupstart-dev += "${libdir}/libupstart.* ${includedir}/upstart/"
+
+# upstart-sysvcompat provides Sys V Init compatible tools: halt, reboot,
+# shutdown, telinit. These might be needed by other scripts.
+PACKAGES =+ "upstart-sysvcompat upstart-sysvtools-doc"
+FILES_upstart-sysvcompat += "${sbindir}/reboot ${sbindir}/halt ${sbindir}/shutdown ${sbindir}/telinit"
+FILES_upstart-sysvcompat-doc += "${mandir}/*/reboot.* ${mandir}/*/halt.* ${mandir}/*/shutdown.* ${mandir}/*/telinit.*"
============================================================
--- packages/upstart/upstart_0.3.8.bb	fbf6b463e359214354e5ef91d74e9c21f4ad8870
+++ packages/upstart/upstart_0.3.8.bb	7cf4359a5185a2145cc3d0a5aaafc951894ea45e
@@ -1,7 +1,7 @@ file://autoconf_version.patch;patch=1"
 require upstart.inc
 
 SRC_URI = "http://upstart.ubuntu.com/download/0.3/upstart-${PV}.tar.bz2 \
 file://autoconf_version.patch;patch=1"
 
-PR = "r0"
+PR = "r1"
 






More information about the Openembedded-commits mailing list