aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Schurig <schurig@mn-solutions.de>2004-09-29 10:15:33 +0000
committerHolger Schurig <schurig@mn-solutions.de>2004-09-29 10:15:33 +0000
commit33587a8612c1d14fba4dd84ba0f6bedbbd6cfa13 (patch)
tree8eedf2fdd61fbeff3a52d6c14f9e88f63022bf46
parent8dd6328e322ee6690929a3df6b1d10336ce3f8c3 (diff)
downloadopenembedded-33587a8612c1d14fba4dd84ba0f6bedbbd6cfa13.tar.gz
more lint changes
BKrev: 415a8b45sj56tRu3DNvk-RtKBIdS5w
-rw-r--r--busybox/busybox_1.00-rc1.oe1
-rw-r--r--busybox/busybox_1.00-rc3.oe1
-rw-r--r--classes/oelint.oeclass42
-rw-r--r--linux/mnci-ramses_2.4.21-rmk2-pxa1.oe2
-rw-r--r--mpd/mpd_0.11.1.oe18
-rw-r--r--tinylogin/tinylogin_1.4.oe4
6 files changed, 65 insertions, 3 deletions
diff --git a/busybox/busybox_1.00-rc1.oe b/busybox/busybox_1.00-rc1.oe
index e56b0daa8d..5a1539f2ef 100644
--- a/busybox/busybox_1.00-rc1.oe
+++ b/busybox/busybox_1.00-rc1.oe
@@ -7,6 +7,7 @@ cousins; however, the options that are included provide the expected \
functionality and behave very much like their GNU counterparts. BusyBox \
provides a fairly complete POSIX environment for any small or embedded \
system."
+HOMEPAGE = "http://www.busybox.net"
LICENSE = "GPL"
PR = "r2"
diff --git a/busybox/busybox_1.00-rc3.oe b/busybox/busybox_1.00-rc3.oe
index 19722c8dd4..a0ba32284d 100644
--- a/busybox/busybox_1.00-rc3.oe
+++ b/busybox/busybox_1.00-rc3.oe
@@ -7,6 +7,7 @@ cousins; however, the options that are included provide the expected \
functionality and behave very much like their GNU counterparts. BusyBox \
provides a fairly complete POSIX environment for any small or embedded \
system."
+HOMEPAGE = "http://www.busybox.net"
LICENSE = "GPL"
SECTION = "base"
PRIORITY = "required"
diff --git a/classes/oelint.oeclass b/classes/oelint.oeclass
index c4f24002e1..d7df1dd641 100644
--- a/classes/oelint.oeclass
+++ b/classes/oelint.oeclass
@@ -18,18 +18,58 @@ python do_lint() {
##############################
+ # Test that HOMEPAGE exists
+ #
+ s = testVar("HOMEPAGE")
+ if s=="unknown":
+ oe.error("HOMEPAGE is not set")
+ elif not s.startswith("http://"):
+ oe.error("HOMEPAGE doesn't start with http://")
+
+
+
+ ##############################
# Test for valid LICENSE
#
+ valid_licenses = {
+ "GPL-2" : "GPLv2",
+ "GPL LGPL FDL" : True,
+ "GPL PSF" : True,
+ "GPL/QPL" : True,
+ "GPL" : True,
+ "GPLv2" : True,
+ "IBM" : True,
+ "LGPL GPL" : True,
+ "LGPL" : True,
+ "MIT" : True,
+ "OSL" : True,
+ "Perl" : True,
+ "Public Domain" : True,
+ "QPL" : "GPL/QPL",
+ }
s = testVar("LICENSE")
if s=="unknown":
oe.error("LICENSE is not set")
+ elif s.startswith("Vendor"):
+ pass
+ else:
+ try:
+ newlic = valid_licenses[s]
+ if newlic == False:
+ oe.note("LICENSE '%s' is not recommended" % s)
+ elif newlic != True:
+ oe.note("LICENSE '%s' is not recommended, better use '%s'" % (s, newsect))
+ except:
+ oe.note("LICENSE '%s' is not recommended" % s)
##############################
# Test for valid MAINTAINER
#
s = testVar("MAINTAINER")
- if s and s.find("@") == -1:
+ if s=="OpenEmbedded Team <oe@handhelds.org>":
+ oe.error("explicit MAINTAINER is missing, using default")
+ elif s and s.find("@") == -1:
oe.error("You forgot to put an e-mail address into MAINTAINER")
diff --git a/linux/mnci-ramses_2.4.21-rmk2-pxa1.oe b/linux/mnci-ramses_2.4.21-rmk2-pxa1.oe
index 8432e2ac93..143bc71659 100644
--- a/linux/mnci-ramses_2.4.21-rmk2-pxa1.oe
+++ b/linux/mnci-ramses_2.4.21-rmk2-pxa1.oe
@@ -1,5 +1,5 @@
DESCRIPTION = "Linux kernel for MNCI device"
-MAINTAINER = "M&N Solutions"
+MAINTAINER = "M&N Solutions <info@mn-solutions.de>"
LICENSE = "GPL"
KV = "2.4.21"
RMKV = "2"
diff --git a/mpd/mpd_0.11.1.oe b/mpd/mpd_0.11.1.oe
index e69de29bb2..2e14c9d746 100644
--- a/mpd/mpd_0.11.1.oe
+++ b/mpd/mpd_0.11.1.oe
@@ -0,0 +1,18 @@
+DESCRIPTION = "Music Player Daemon (mpd)"
+HOMEPAGE = "http://www.musicpd.org"
+LICENSE = "GPLv2"
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+DEPENDS = "libvorbis libogg libid3tag libao zlib libmikmod libmad"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/musicpd/mpd-${PV}.tar.gz"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-ogg \
+ --enable-mpd-mad \
+ --enable-mpd-id3tag \
+ --with-id3tag-libraries=${STAGING_LIBDIR} \
+ --with-id3tag-includes=${STAGING_INCDIR} \
+ --with-mad-libraries=${STAGING_LIBDIR} \
+ --with-mad-includes=${STAGING_INCDIR} \
+ --without-faad"
diff --git a/tinylogin/tinylogin_1.4.oe b/tinylogin/tinylogin_1.4.oe
index b2828ffaee..aa0cbf88ef 100644
--- a/tinylogin/tinylogin_1.4.oe
+++ b/tinylogin/tinylogin_1.4.oe
@@ -1,8 +1,10 @@
-PR = "r1"
DESCRIPTION = "TinyLogin is a suite of tiny UNIX \
utilities for handling logins, user authentication, \
changing passwords, and otherwise maintaining users \
and groups on an embedded system."
+HOMEPAGE = "http://tinylogin.busybox.net/"
+LICENSE = "GPL"
+PR = "r1"
SRC_URI = "http://tinylogin.busybox.net/downloads/tinylogin-${PV}.tar.bz2 \
file://cvs-20040608.patch;patch=1;pnum=1 \