Jump to content


mrk72

Member Since 18 Apr 2012
Offline Last Active 09 Oct 2012 20:06
-----

Topics I've Started

cleaning recipes packages

25 April 2012 - 14:23

I know, it's always rather difficult to throw something away, but I think we should discuss about deleting some packages from the recipes folder in our distro.

I think, that the main intention of the distro is to build a system for STB's and that mainly only these packages should stay here.
In the beginning, the openembedded folder has been cloned from oe and therefore we have packages for the X11 - System and many other things which we would never use.

At my point of view these packages should be deleted from the repository to keep it clear and structured.


I would suggest to delete this packages first:[list]
[*]abiword
[*]aceofpenguins (X11)
[*]aliens
[*]apache (there is apache2!)
[*]application-registry
[*]balsa (X11 / gnome)
[*]billiardz (X11 /QT)
[*]bl (it's for iPAQ)
[*]blackbox (X11, windowsmanager)
[*]brickout (X11 / QT)
[*]bug-desktop-icons (belongs to matchbox-desktop)
[*]bug-icon-theme (belongs to matchbox-desktop)
[*]buglabs (belongs to matchbox-desktop)
[*]buglabs-apps (belongs to matchbox-desktop)
[*]bug labs-osgi (belongs to matchbox-desktop)
[*]cccc
[*]cellhunter (X11)
[*]cellwriter (X11)
[*]clutter (X11)
[*]corsair (palmtop / QT)
[*]cumulus (palmtop / QT)
[*]dillo (X11)
[*]echinus (X11)
[*]gpe-* (palmtop)
[*]inkscape (X11)
[*]ipaq-*
[*]iphone
[*]kazehakase (X11)
[*]knights (palmtop)
[*]maemo (nokia phones)
[*]matchbox-* (X11 / windowsmanager)
[*]nautilus (X11 / gnome)
[*]nogravity (X11)
[*]openmoko-* (X11)
[*]opie-* (X11)
[*]palmpre
[*]palmt650
[*]pingus (X11)
[*]povray (X11)
[*]prism54
[*]qpe-* (palmtop / qt)
[*]qpealarmclock (belongs to opie-*)
[*]qpegps (belongs to opie-*)
[*]qpenmapfe (belongs to opie-*)
[*]qplot (belongs to opie-*)
[*]qpphoto (belongs to opie-*)
[*]qscintilla (belongs to opie-*)
[*]qsvn (qt)
[*]rdesktop (X11)
[*]resistorui (belongs to opie-*)
[*]snes9x (X11)
[*]snes232
[*]totem (X11 / gnome)
[*]viking (X11)
[*]xdialog (X11)
[*]xdiskusage
[*]xdotool
[*]xfce-* (X11 / windowsmanager)
[*]xffm (X11)
[*]xinput-calibrator (X11)
[*]xkbd (X11)
[*]xkeyboard-config (X11)
[*]xorg-* (X11)
[*]....
[/list]
This is really not the complete list and should only start the discussion.

So what do You say?

updated recipes packages

21 April 2012 - 21:47

I don't know if it's more useful to open a new thread for every single updated package-patch.
Therefore I will put my patches in this thread here.

If someone doesn't likes this, just post.

-----------------

The attached package will correct package djmount.
The present package stops working while do_configure,
because the updated autoreconf tools doesn't like the config files in djmount.

The old autoreconf tools doesn't matter about this and worked on.

[patch] base-passwd

18 April 2012 - 23:25

I tried to build openPLi from scratch an ran into some missing files.

At present the package base-passwd tries to download the version 3.5.20, which is no longer available from debian server.
We have to update to version 3.5.24.

This patch will do this.

greetz
mrk

recipes/base-passwd/base-passwd-3.5.24/mysql.patch |	8 ++
.../base-passwd-3.5.24/passwd.master.patch		 |	8 ++
recipes/base-passwd/base-passwd_3.5.20.bb		  |   71 --------------------
recipes/base-passwd/base-passwd_3.5.24.bb		  |   71 ++++++++++++++++++++
4 files changed, 87 insertions(+), 71 deletions(-)
create mode 100644 recipes/base-passwd/base-passwd-3.5.24/mysql.patch
create mode 100644 recipes/base-passwd/base-passwd-3.5.24/passwd.master.patch
delete mode 100644 recipes/base-passwd/base-passwd_3.5.20.bb
create mode 100644 recipes/base-passwd/base-passwd_3.5.24.bb
diff --git a/recipes/base-passwd/base-passwd-3.5.24/mysql.patch b/recipes/base-passwd/base-passwd-3.5.24/mysql.patch
new file mode 100644
index 0000000..b641f41
--- /dev/null
+++ b/recipes/base-passwd/base-passwd-3.5.24/mysql.patch
@@ -0,0 +1,8 @@
+--- base-passwd/group.master.orig 2005-07-08 06:36:07.717990112 +0200
++++ base-passwd/group.master 2005-07-08 06:36:32.000000000 +0200
+@@ -36,4 +36,5 @@
+ staff:*:50:
+ games:*:60:
+ users:*:100:
++mysql:*:64001:
+ nogroup:*:65534:
diff --git a/recipes/base-passwd/base-passwd-3.5.24/passwd.master.patch b/recipes/base-passwd/base-passwd-3.5.24/passwd.master.patch
new file mode 100644
index 0000000..9ef52dd
--- /dev/null
+++ b/recipes/base-passwd/base-passwd-3.5.24/passwd.master.patch
@@ -0,0 +1,8 @@
+--- base-passwd/passwd.master.orig 2009-03-17 14:23:49.000000000 +0100
++++ base-passwd/passwd.master 2012-04-18 23:42:18.882015620 +0200
+@@ -1,4 +1,4 @@
+-root:*:0:0:root:/root:/bin/bash
++root:*:0:0:root:/home/root:/bin/sh
+ daemon:*:1:1:daemon:/usr/sbin:/bin/sh
+ bin:*:2:2:bin:/bin:/bin/sh
+ sys:*:3:3:sys:/dev:/bin/sh
diff --git a/recipes/base-passwd/base-passwd_3.5.20.bb b/recipes/base-passwd/base-passwd_3.5.20.bb
deleted file mode 100644
index 6e9c51b..0000000
--- a/recipes/base-passwd/base-passwd_3.5.20.bb
+++ /dev/null
@@ -1,71 +0,0 @@
-DESCRIPTION = "Base system password/group files."
-SECTION = "base"
-LICENSE = "GPLv2"
-PR = "r1"
-
-SRC_URI = "\
-  ${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz \
-  file://nobash.patch \
-  file://root-home.patch \
-  file://mysql.patch \
-"
-S = "${WORKDIR}/base-passwd"
-
-inherit autotools
-
-do_install_docs () {
- install -d -m 755 \
- ${D}${mandir}/man8 ${D}${mandir}/pl/man8
- install -p -m 644 man/update-passwd.8 \
- ${D}${mandir}/man8/
- install -p -m 644 man/update-passwd.pl.8 \
- ${D}${mandir}/pl/man8/update-passwd.8
- gzip -9 ${D}${mandir}/man8/* \
- ${D}${mandir}/pl/man8/*
-
- install -d -m 755 ${D}${docdir}/${PN}
- install -p -m 644 debian/changelog ${D}${docdir}/${PN}/
- gzip -9 ${D}${docdir}/${PN}/*
- install -p -m 644 README ${D}${docdir}/${PN}/
- install -p -m 644 debian/copyright ${D}${docdir}/${PN}/
-}
-
-do_install () {
-		do_install_docs
-
- install -d -m 755 ${D}${sbindir}
- install -p -m 755 update-passwd ${D}${sbindir}/
- install -d -m 755 ${D}${datadir}/base-passwd
- install -p -m 644 passwd.master \
- ${D}${datadir}/base-passwd/
- install -p -m 644 group.master \
- ${D}${datadir}/base-passwd/
-}
-
-do_install_micro () {
- install -d -m 755 ${D}${sysconfdir}
- install -p -m 644 passwd.master ${D}${sysconfdir}/passwd
- install -p -m 644 group.master ${D}${sysconfdir}/group
-}
-
-do_install_append_openmn() {
- echo "0:Jn6tcg/qjqvUE:0:0:root:/root:/bin/sh" >>${D}${datadir}/base-passwd/passwd.master
-}
-
-FILES_${PN}-doc += "${docdir}"
-
-pkg_postinst () {
- set -e
-
- if [ ! -e $D${sysconfdir}/passwd ] ; then
- cp $D${datadir}/base-passwd/passwd.master $D${sysconfdir}/passwd
- fi
-
- if [ ! -e $D${sysconfdir}/group ] ; then
- cp $D${datadir}/base-passwd/group.master $D${sysconfdir}/group
- fi
- exit 0
-}
-
-SRC_URI[md5sum] = "1f93b419b35f0b0b2ae78cf3cb1ef491"
-SRC_URI[sha256sum] = "3f4f59d07af4fccdf6aed0822b25422ad7cfaee442a3ab870dc031f173d456f2"

diff --git a/recipes/base-passwd/base-passwd_3.5.24.bb b/recipes/base-passwd/base-passwd_3.5.24.bb
new file mode 100644
index 0000000..4242247
--- /dev/null
+++ b/recipes/base-passwd/base-passwd_3.5.24.bb
@@ -0,0 +1,71 @@
+DESCRIPTION = "Base system password/group files."
+SECTION = "base"
+LICENSE = "GPLv2"
+PR = "r1"
+
+SRC_URI = "\
+  ${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz \
+  file://passwd.master.patch \
+  file://mysql.patch \
+"
+SRC_URI[md5sum] = "8f6b9420c50e90edaff41eb2fb7e9e16"
+SRC_URI[sha256sum] = "196083d6f675190d4e2cede0a5fa6b3c91088705c5386f76292fec8e74b6369e"
+
+S = "${WORKDIR}/base-passwd"
+
+inherit autotools
+
+do_install_docs () {
+ install -d -m 755 \
+ ${D}${mandir}/man8 ${D}${mandir}/pl/man8
+ install -p -m 644 man/update-passwd.8 \
+ ${D}${mandir}/man8/
+ install -p -m 644 man/update-passwd.pl.8 \
+ ${D}${mandir}/pl/man8/update-passwd.8
+ gzip -9 ${D}${mandir}/man8/* \
+ ${D}${mandir}/pl/man8/*
+
+ install -d -m 755 ${D}${docdir}/${PN}
+ install -p -m 644 debian/changelog ${D}${docdir}/${PN}/
+ gzip -9 ${D}${docdir}/${PN}/*
+ install -p -m 644 README ${D}${docdir}/${PN}/
+ install -p -m 644 debian/copyright ${D}${docdir}/${PN}/
+}
+
+do_install () {
+		do_install_docs
+
+ install -d -m 755 ${D}${sbindir}
+ install -p -m 755 update-passwd ${D}${sbindir}/
+ install -d -m 755 ${D}${datadir}/base-passwd
+ install -p -m 644 passwd.master \
+ ${D}${datadir}/base-passwd/
+ install -p -m 644 group.master \
+ ${D}${datadir}/base-passwd/
+}
+
+do_install_micro () {
+ install -d -m 755 ${D}${sysconfdir}
+ install -p -m 644 passwd.master ${D}${sysconfdir}/passwd
+ install -p -m 644 group.master ${D}${sysconfdir}/group
+}
+
+do_install_append_openmn() {
+ echo "0:Jn6tcg/qjqvUE:0:0:root:/root:/bin/sh" >>${D}${datadir}/base-passwd/passwd.master
+}
+
+FILES_${PN}-doc += "${docdir}"
+
+pkg_postinst () {
+ set -e
+
+ if [ ! -e $D${sysconfdir}/passwd ] ; then
+ cp $D${datadir}/base-passwd/passwd.master $D${sysconfdir}/passwd
+ fi
+
+ if [ ! -e $D${sysconfdir}/group ] ; then
+ cp $D${datadir}/base-passwd/group.master $D${sysconfdir}/group
+ fi
+ exit 0
+}
+