[oe-commits] org.oe.dev appweb: refactor get_appweb_host function out into common .inc
mickeyl commit
openembedded-commits at lists.openembedded.org
Fri Oct 13 09:48:14 UTC 2006
appweb: refactor get_appweb_host function out into common .inc
Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: bd364f8b48161b3ca86592a0e157c134233ef2e5
ViewMTN: http://monotone.openembedded.org/revision.psp?id=bd364f8b48161b3ca86592a0e157c134233ef2e5
Files:
1
packages/appweb/appweb.inc
packages/appweb/appweb_1.2.0.bb
packages/appweb/appweb_2.0.4.bb
Diffs:
#
# mt diff -r2d07bbfac0832656a770c9f8bb610ec4ccba55cc -rbd364f8b48161b3ca86592a0e157c134233ef2e5
#
#
#
# add_file "packages/appweb/appweb.inc"
# content [ebf0c6db66a2a81976b0bb29bf956eec60dc1a54]
#
# patch "packages/appweb/appweb_1.2.0.bb"
# from [efc9db9fa9d852db474f56a3d68b6d793e7ddc38]
# to [711ea059936cb5c74095ead5c44692c42dae21f1]
#
# patch "packages/appweb/appweb_2.0.4.bb"
# from [9b2ff146f8ad9ffdfca8981dd491fde7adbb50d7]
# to [b14b5badfd04a876357987b4ea67a6b7e6eaed09]
#
============================================================
--- packages/appweb/appweb.inc ebf0c6db66a2a81976b0bb29bf956eec60dc1a54
+++ packages/appweb/appweb.inc ebf0c6db66a2a81976b0bb29bf956eec60dc1a54
@@ -0,0 +1,4 @@
+def get_appweb_host(d, bb):
+ host = bb.data.getVar('HOST_SYS', d, 1)
+ return host.replace('-linux-uclibc', '-linux')
+
============================================================
--- packages/appweb/appweb_1.2.0.bb efc9db9fa9d852db474f56a3d68b6d793e7ddc38
+++ packages/appweb/appweb_1.2.0.bb 711ea059936cb5c74095ead5c44692c42dae21f1
@@ -1,6 +1,6 @@ SECTION = "console/network"
DESCRIPTION = "AppWeb is an embedded HTTP Web server that has been designed with security in mind."
SECTION = "console/network"
-LICENSE="GPL"
+LICENSE = "GPL"
SRC_URI = "http://www.mbedthis.com/software/appWeb-src-1.2.0-1.tar.gz \
file://makerules.patch;patch=1 \
file://nonrootinstall.patch;patch=1"
@@ -9,10 +9,7 @@ APPWEB_BUILD = "${BUILD_SYS}"
APPWEB_HOST = "${@get_appweb_host(d, bb)}"
APPWEB_BUILD = "${BUILD_SYS}"
-def get_appweb_host(d, bb):
- host = bb.data.getVar('HOST_SYS', d, 1)
- return host.replace('-linux-uclibc', '-linux')
-
+require appweb.inc
# --buildNumber=NUMBER Set the build number part of the version (1.0.0.X).
# --name=NAME Set the full product name (BLD_NAME define).
============================================================
--- packages/appweb/appweb_2.0.4.bb 9b2ff146f8ad9ffdfca8981dd491fde7adbb50d7
+++ packages/appweb/appweb_2.0.4.bb b14b5badfd04a876357987b4ea67a6b7e6eaed09
@@ -10,10 +10,7 @@ APPWEB_BUILD = "${BUILD_SYS}"
APPWEB_HOST = "${@get_appweb_host(d, bb)}"
APPWEB_BUILD = "${BUILD_SYS}"
-def get_appweb_host(d, bb):
- host = bb.data.getVar('HOST_SYS', d, 1)
- return host.replace('-linux-uclibc', '-linux')
-
+require appweb.inc
# --buildNumber=NUMBER Set the build number part of the version (1.0.0.X).
# --name=NAME Set the full product name (BLD_NAME define).
More information about the Openembedded-commits
mailing list