mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 15:49:36 +02:00
Compare commits
15 Commits
yocto-5.0.
...
1.1_M1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b4a215bd94 | ||
|
|
ea4a13a0d6 | ||
|
|
4ff7af11ef | ||
|
|
4c99fb5ec6 | ||
|
|
9425e8eee1 | ||
|
|
dd7e260fe3 | ||
|
|
5f76f3b18d | ||
|
|
35c39d2bd9 | ||
|
|
38ab87bd32 | ||
|
|
21f7761f2b | ||
|
|
3b023d4766 | ||
|
|
7fa8cbf213 | ||
|
|
c2f65d99c7 | ||
|
|
d5bbbf84ae | ||
|
|
0d444bf7fa |
@@ -941,16 +941,21 @@ class BBCooker:
|
|||||||
collectlog.error("no recipe files to build, check your BBPATH and BBFILES?")
|
collectlog.error("no recipe files to build, check your BBPATH and BBFILES?")
|
||||||
bb.event.fire(CookerExit(), self.configuration.event_data)
|
bb.event.fire(CookerExit(), self.configuration.event_data)
|
||||||
|
|
||||||
newfiles = set()
|
# Can't use set here as order is important
|
||||||
|
newfiles = []
|
||||||
for f in files:
|
for f in files:
|
||||||
if os.path.isdir(f):
|
if os.path.isdir(f):
|
||||||
dirfiles = self.find_bbfiles(f)
|
dirfiles = self.find_bbfiles(f)
|
||||||
newfiles.update(dirfiles)
|
for g in dirfiles:
|
||||||
|
if g not in newfiles:
|
||||||
|
newfiles.append(g)
|
||||||
else:
|
else:
|
||||||
globbed = glob.glob(f)
|
globbed = glob.glob(f)
|
||||||
if not globbed and os.path.exists(f):
|
if not globbed and os.path.exists(f):
|
||||||
globbed = [f]
|
globbed = [f]
|
||||||
newfiles.update(globbed)
|
for g in globbed:
|
||||||
|
if g not in newfiles:
|
||||||
|
newfiles.append(g)
|
||||||
|
|
||||||
bbmask = bb.data.getVar('BBMASK', self.configuration.data, 1)
|
bbmask = bb.data.getVar('BBMASK', self.configuration.data, 1)
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,9 @@ MACHINE_FEATURES = "kernel26 keyboard pci ext2 ext3 serial"
|
|||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
|
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
|
||||||
#PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
|
#PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
|
||||||
|
PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
|
||||||
|
XSERVER = "xserver-kdrive-fbdev"
|
||||||
|
|
||||||
|
|
||||||
UBOOT_ENTRYPOINT = "0x00000000"
|
UBOOT_ENTRYPOINT = "0x00000000"
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,9 @@ KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
|
|||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
|
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
|
||||||
#PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
|
#PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
|
||||||
|
PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
|
||||||
|
XSERVER = "xserver-kdrive-fbdev"
|
||||||
|
|
||||||
|
|
||||||
SERIAL_CONSOLE = "115200 ttyS0"
|
SERIAL_CONSOLE = "115200 ttyS0"
|
||||||
|
|
||||||
|
|||||||
@@ -18,18 +18,18 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
|
|||||||
|
|
||||||
GCCVERSION ?= "4.6.0"
|
GCCVERSION ?= "4.6.0"
|
||||||
SDKGCCVERSION ?= "4.6.0"
|
SDKGCCVERSION ?= "4.6.0"
|
||||||
GCCVERSION_mips ?= "4.5.1"
|
|
||||||
SDKGCCVERSION_mips ?= "4.5.1"
|
|
||||||
GCCVERSION_ppc ?= "4.5.1"
|
|
||||||
SDKGCCVERSION_ppc ?= "4.5.1"
|
|
||||||
BINUVERSION ?= "2.21"
|
BINUVERSION ?= "2.21"
|
||||||
GLIBCVERSION ?= "2.10.1"
|
GLIBCVERSION ?= "2.10.1"
|
||||||
EGLIBCVERSION ?= "2.12"
|
EGLIBCVERSION ?= "2.13"
|
||||||
LINUXLIBCVERSION ?= "2.6.37.2"
|
LINUXLIBCVERSION ?= "2.6.37.2"
|
||||||
|
|
||||||
# Temporary preferred version overrides for PPC
|
# Temporary preferred version overrides for PPC
|
||||||
PREFERRED_VERSION_u-boot-mkimage-native_powerpc ?= "2009.08"
|
PREFERRED_VERSION_u-boot-mkimage-native_powerpc ?= "2009.08"
|
||||||
|
|
||||||
|
# Temporary workaround for gcc 4.6.0 ICE with beagleboard
|
||||||
|
# gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47719
|
||||||
|
TARGET_CC_ARCH_arm_pn-mesa-xlib := "${@'${TARGET_CC_ARCH}'.replace('armv7-a','armv5')}"
|
||||||
|
|
||||||
PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
|
PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
|
||||||
PREFERRED_VERSION_gcc-cross ?= "${GCCVERSION}"
|
PREFERRED_VERSION_gcc-cross ?= "${GCCVERSION}"
|
||||||
PREFERRED_VERSION_gcc-cross-initial ?= "${GCCVERSION}"
|
PREFERRED_VERSION_gcc-cross-initial ?= "${GCCVERSION}"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ DESCRIPTION = "Tools for GUPnP"
|
|||||||
LICENSE = "GPLv2+"
|
LICENSE = "GPLv2+"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
|
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
|
||||||
file://src/network-light/main.c;beginline=1;endline=21;md5=033bf37c030780c5a72165846b3003f6"
|
file://src/network-light/main.c;beginline=1;endline=21;md5=033bf37c030780c5a72165846b3003f6"
|
||||||
DEPENDS = "gupnp gtk+ libglade gnome-icon-theme"
|
DEPENDS = "gupnp gupnp-av gtk+ libglade gnome-icon-theme"
|
||||||
|
|
||||||
SRC_URI = "http://gupnp.org/sites/all/files/sources/${BPN}-${PV}.tar.gz"
|
SRC_URI = "http://gupnp.org/sites/all/files/sources/${BPN}-${PV}.tar.gz"
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
|
|||||||
file://COPYRIGHT;endline=15;md5=349c872e0066155e1818b786938876a4"
|
file://COPYRIGHT;endline=15;md5=349c872e0066155e1818b786938876a4"
|
||||||
PR = "r1"
|
PR = "r1"
|
||||||
|
|
||||||
|
# Need to set this since it has machine specific components
|
||||||
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
||||||
# USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf.
|
# USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf.
|
||||||
# Set PACKAGE_ARCH appropriately.
|
# Set PACKAGE_ARCH appropriately.
|
||||||
PACKAGE_ARCH_${PN}-inittab = "${MACHINE_ARCH}"
|
PACKAGE_ARCH_${PN}-inittab = "${MACHINE_ARCH}"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ BUGTRACKER = "http://sourceware.org/bugzilla/"
|
|||||||
SECTION = "devel"
|
SECTION = "devel"
|
||||||
LICENSE = "GPLv3"
|
LICENSE = "GPLv3"
|
||||||
|
|
||||||
DEPENDS = "flex-native bison-native"
|
DEPENDS = "flex-native bison-native zlib-native"
|
||||||
|
|
||||||
inherit autotools gettext
|
inherit autotools gettext
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ require gcc-common.inc
|
|||||||
|
|
||||||
require gcc-4_6-branch-backports.inc
|
require gcc-4_6-branch-backports.inc
|
||||||
|
|
||||||
PR = "r2"
|
PR = "r3"
|
||||||
|
|
||||||
DEPENDS =+ "mpfr gmp libmpc"
|
DEPENDS =+ "mpfr gmp libmpc"
|
||||||
NATIVEDEPS = "mpfr-native gmp-native gettext-native libmpc-native"
|
NATIVEDEPS = "mpfr-native gmp-native gettext-native libmpc-native"
|
||||||
@@ -53,7 +53,9 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
|
|||||||
file://gcc-poison-parameters.patch \
|
file://gcc-poison-parameters.patch \
|
||||||
file://GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch \
|
file://GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch \
|
||||||
file://COLLECT_GCC_OPTIONS.patch \
|
file://COLLECT_GCC_OPTIONS.patch \
|
||||||
|
file://volatile_access_backport.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 "
|
SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 "
|
||||||
|
|
||||||
SRC_URI[md5sum] = "93d1c436bf991564524701259b6285a2"
|
SRC_URI[md5sum] = "93d1c436bf991564524701259b6285a2"
|
||||||
|
|||||||
@@ -0,0 +1,28 @@
|
|||||||
|
Pulled from http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01477.html
|
||||||
|
|
||||||
|
Upstream-Status: Backport
|
||||||
|
|
||||||
|
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
||||||
|
|
||||||
|
gcc/
|
||||||
|
* expr.c (expand_expr_real_1): Only use BLKmode for volatile
|
||||||
|
accesses which are not naturally aligned.
|
||||||
|
|
||||||
|
Index: gcc-4.6.0/gcc/expr.c
|
||||||
|
===================================================================
|
||||||
|
--- gcc-4.6.0.orig/gcc/expr.c 2011-06-01 15:28:55.000000000 -0700
|
||||||
|
+++ gcc-4.6.0/gcc/expr.c 2011-06-01 15:41:17.154848182 -0700
|
||||||
|
@@ -9178,8 +9178,11 @@
|
||||||
|
&& modifier != EXPAND_CONST_ADDRESS
|
||||||
|
&& modifier != EXPAND_INITIALIZER)
|
||||||
|
/* If the field is volatile, we always want an aligned
|
||||||
|
- access. */
|
||||||
|
- || (volatilep && flag_strict_volatile_bitfields > 0)
|
||||||
|
+ access. Only do this if the access is not already naturally
|
||||||
|
+ aligned, otherwise "normal" (non-bitfield) volatile fields
|
||||||
|
+ become non-addressable. */
|
||||||
|
+ || (volatilep && flag_strict_volatile_bitfields > 0
|
||||||
|
+ && (bitpos % GET_MODE_ALIGNMENT (mode) != 0))
|
||||||
|
/* If the field isn't aligned enough to fetch as a memref,
|
||||||
|
fetch it as a bit field. */
|
||||||
|
|| (mode1 != BLKmode
|
||||||
35
meta/recipes-devtools/rpm/rpm/fprint-pointer-fix.patch
Normal file
35
meta/recipes-devtools/rpm/rpm/fprint-pointer-fix.patch
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
Upstream-Status: Submitted
|
||||||
|
|
||||||
|
From: Qing He <qing.he@intel.com>
|
||||||
|
Subject: [PATCH] rpm 5.4.0: Fix pointer mishandling
|
||||||
|
|
||||||
|
In fpLookupSubdir, data returned by hash should be of type
|
||||||
|
"struct rpmffi_s **" instead of "struct rpmffi_s *" to avoid
|
||||||
|
segfault.
|
||||||
|
|
||||||
|
Signed-off-by: Qing He <qing.he@intel.com>
|
||||||
|
|
||||||
|
diff --git a/rpmdb/fprint.c b/rpmdb/fprint.c
|
||||||
|
index 0e76148..82b8f45 100644
|
||||||
|
--- a/rpmdb/fprint.c
|
||||||
|
+++ b/rpmdb/fprint.c
|
||||||
|
@@ -333,7 +333,7 @@ restart:
|
||||||
|
*te = '\0';
|
||||||
|
|
||||||
|
while (te < se) {
|
||||||
|
- struct rpmffi_s * recs;
|
||||||
|
+ struct rpmffi_s ** recs;
|
||||||
|
int numRecs;
|
||||||
|
int i;
|
||||||
|
|
||||||
|
@@ -346,8 +346,8 @@ restart:
|
||||||
|
const char * link;
|
||||||
|
int fx;
|
||||||
|
|
||||||
|
- fx = recs[i].fileno;
|
||||||
|
- fi = recs[i].p->fi;
|
||||||
|
+ fx = recs[i]->fileno;
|
||||||
|
+ fi = recs[i]->p->fi;
|
||||||
|
flink = fi->flinks[fx];
|
||||||
|
if (!(flink && *flink != '\0'))
|
||||||
|
continue;
|
||||||
@@ -43,7 +43,7 @@ LICENSE = "LGPL 2.1"
|
|||||||
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
|
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
|
||||||
|
|
||||||
DEPENDS = "bzip2 zlib python perl db openssl elfutils expat libpcre attr acl popt"
|
DEPENDS = "bzip2 zlib python perl db openssl elfutils expat libpcre attr acl popt"
|
||||||
PR = "r15"
|
PR = "r16"
|
||||||
|
|
||||||
# rpm2cpio is a shell script, which is part of the rpm src.rpm. It is needed
|
# rpm2cpio is a shell script, which is part of the rpm src.rpm. It is needed
|
||||||
# in order to extract the distribution SRPM into a format we can extract...
|
# in order to extract the distribution SRPM into a format we can extract...
|
||||||
@@ -57,6 +57,7 @@ SRC_URI = "http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.0-0.20101229.src.rpm;ex
|
|||||||
file://rpm-nofsync.patch \
|
file://rpm-nofsync.patch \
|
||||||
file://rpm-solvedb.patch \
|
file://rpm-solvedb.patch \
|
||||||
file://rpm-tools-mtree-LDFLAGS.patch \
|
file://rpm-tools-mtree-LDFLAGS.patch \
|
||||||
|
file://fprint-pointer-fix.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
# file://hdraddorappend.patch \
|
# file://hdraddorappend.patch \
|
||||||
|
|||||||
@@ -4,10 +4,11 @@ EndSection
|
|||||||
|
|
||||||
Section "InputDevice"
|
Section "InputDevice"
|
||||||
Identifier "Generic Keyboard"
|
Identifier "Generic Keyboard"
|
||||||
Driver "kbd"
|
Driver "evdev"
|
||||||
Option "CoreKeyboard"
|
Option "CoreKeyboard"
|
||||||
|
Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
|
||||||
Option "XkbRules" "xorg"
|
Option "XkbRules" "xorg"
|
||||||
Option "XkbModel" "pc105"
|
Option "XkbModel" "evdev"
|
||||||
Option "XkbLayout" "us"
|
Option "XkbLayout" "us"
|
||||||
EndSection
|
EndSection
|
||||||
|
|
||||||
|
|||||||
@@ -4,10 +4,11 @@ EndSection
|
|||||||
|
|
||||||
Section "InputDevice"
|
Section "InputDevice"
|
||||||
Identifier "Generic Keyboard"
|
Identifier "Generic Keyboard"
|
||||||
Driver "kbd"
|
Driver "evdev"
|
||||||
Option "CoreKeyboard"
|
Option "CoreKeyboard"
|
||||||
|
Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
|
||||||
Option "XkbRules" "xorg"
|
Option "XkbRules" "xorg"
|
||||||
Option "XkbModel" "pc105"
|
Option "XkbModel" "evdev"
|
||||||
Option "XkbLayout" "us"
|
Option "XkbLayout" "us"
|
||||||
EndSection
|
EndSection
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.x.org"
|
|||||||
SECTION = "x11/base"
|
SECTION = "x11/base"
|
||||||
LICENSE = "MIT-X"
|
LICENSE = "MIT-X"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||||
PR = "r9"
|
PR = "r10"
|
||||||
|
|
||||||
SRC_URI = "file://xorg.conf"
|
SRC_URI = "file://xorg.conf"
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
|
|||||||
file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \
|
file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \
|
||||||
file://gst/ffmpegcolorspace/utils.c;beginline=1;endline=20;md5=9c83a200b8e597b26ca29df20fc6ecd0"
|
file://gst/ffmpegcolorspace/utils.c;beginline=1;endline=20;md5=9c83a200b8e597b26ca29df20fc6ecd0"
|
||||||
|
|
||||||
DEPENDS += "virtual/libx11 alsa-lib freetype gnome-vfs liboil libogg libvorbis libxv libtheora avahi util-linux"
|
DEPENDS += "virtual/libx11 alsa-lib freetype gnome-vfs liboil libogg libvorbis libxv libtheora avahi util-linux tremor"
|
||||||
RDEPENDS_${PN} += "gnome-vfs-plugin-file gnome-vfs-plugin-http gnome-vfs-plugin-ftp \
|
RDEPENDS_${PN} += "gnome-vfs-plugin-file gnome-vfs-plugin-http gnome-vfs-plugin-ftp \
|
||||||
gnome-vfs-plugin-sftp"
|
gnome-vfs-plugin-sftp"
|
||||||
|
|
||||||
|
|||||||
@@ -6,24 +6,19 @@ There are two fixes:
|
|||||||
1. -native needs to customize prefix
|
1. -native needs to customize prefix
|
||||||
2. needs to change python reference in binaries
|
2. needs to change python reference in binaries
|
||||||
|
|
||||||
Upstream-Status: Inappropriate [native]
|
|
||||||
|
|
||||||
Signed-off-by: Qing He <qing.he@intel.com>
|
Signed-off-by: Qing He <qing.he@intel.com>
|
||||||
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
|
||||||
|
|
||||||
Index: createrepo-0.9.9/Makefile
|
diff --git a/Makefile b/Makefile
|
||||||
===================================================================
|
index b2d1a32..3c3639f 100644
|
||||||
--- createrepo-0.9.9.orig/Makefile 2011-01-26 09:14:30.000000000 -0800
|
--- a/Makefile
|
||||||
+++ createrepo-0.9.9/Makefile 2011-04-06 14:12:06.608923997 -0700
|
+++ b/Makefile
|
||||||
@@ -10,22 +10,22 @@
|
@@ -3,22 +3,22 @@ VERSION = 0.4.11
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
top_srcdir = .
|
top_srcdir = .
|
||||||
srcdir = .
|
srcdir = .
|
||||||
-prefix = /usr
|
-prefix = /usr
|
||||||
-exec_prefix = ${prefix}
|
-exec_prefix = ${prefix}
|
||||||
+prefix ?= /usr
|
-
|
||||||
+exec_prefix ?= ${prefix}
|
|
||||||
|
|
||||||
-bindir = ${exec_prefix}/bin
|
-bindir = ${exec_prefix}/bin
|
||||||
-sbindir = ${exec_prefix}/sbin
|
-sbindir = ${exec_prefix}/sbin
|
||||||
-libexecdir = ${exec_prefix}/libexec
|
-libexecdir = ${exec_prefix}/libexec
|
||||||
@@ -33,6 +28,9 @@ Index: createrepo-0.9.9/Makefile
|
|||||||
-localstatedir = ${prefix}/var
|
-localstatedir = ${prefix}/var
|
||||||
-libdir = ${exec_prefix}/lib
|
-libdir = ${exec_prefix}/lib
|
||||||
-infodir = ${prefix}/info
|
-infodir = ${prefix}/info
|
||||||
|
+prefix ?= /usr
|
||||||
|
+exec_prefix ?= ${prefix}
|
||||||
|
+
|
||||||
+bindir ?= ${exec_prefix}/bin
|
+bindir ?= ${exec_prefix}/bin
|
||||||
+sbindir ?= ${exec_prefix}/sbin
|
+sbindir ?= ${exec_prefix}/sbin
|
||||||
+libexecdir ?= ${exec_prefix}/libexec
|
+libexecdir ?= ${exec_prefix}/libexec
|
||||||
@@ -49,21 +47,19 @@ Index: createrepo-0.9.9/Makefile
|
|||||||
-mandir = ${prefix}/share/man
|
-mandir = ${prefix}/share/man
|
||||||
+mandir ?= ${prefix}/share/man
|
+mandir ?= ${prefix}/share/man
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/$(PKGNAME)
|
pkgdatadir = $(datadir)/$(PACKAGE)
|
||||||
pkglibdir = $(libdir)/$(PKGNAME)
|
pkglibdir = $(libdir)/$(PACKAGE)
|
||||||
Index: createrepo-0.9.9/bin/Makefile
|
diff --git a/bin/Makefile b/bin/Makefile
|
||||||
===================================================================
|
index 52c1f50..e30610e 100644
|
||||||
--- createrepo-0.9.9.orig/bin/Makefile 2011-01-26 09:14:30.000000000 -0800
|
--- a/bin/Makefile
|
||||||
+++ createrepo-0.9.9/bin/Makefile 2011-04-06 14:15:07.212923998 -0700
|
+++ b/bin/Makefile
|
||||||
@@ -1,22 +1,22 @@
|
@@ -1,22 +1,22 @@
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
top_srcdir = ..
|
top_srcdir = ..
|
||||||
srcdir = ../bin
|
srcdir = ../bin
|
||||||
-prefix = /usr
|
-prefix = /usr
|
||||||
-exec_prefix = ${prefix}
|
-exec_prefix = ${prefix}
|
||||||
+prefix ?= /usr
|
-
|
||||||
+exec_prefix ?= ${prefix}
|
|
||||||
|
|
||||||
-bindir = ${exec_prefix}/bin
|
-bindir = ${exec_prefix}/bin
|
||||||
-sbindir = ${exec_prefix}/sbin
|
-sbindir = ${exec_prefix}/sbin
|
||||||
-libexecdir = ${exec_prefix}/libexec
|
-libexecdir = ${exec_prefix}/libexec
|
||||||
@@ -73,6 +69,9 @@ Index: createrepo-0.9.9/bin/Makefile
|
|||||||
-localstatedir = ${prefix}/var
|
-localstatedir = ${prefix}/var
|
||||||
-libdir = ${exec_prefix}/lib
|
-libdir = ${exec_prefix}/lib
|
||||||
-infodir = ${prefix}/info
|
-infodir = ${prefix}/info
|
||||||
|
+prefix ?= /usr
|
||||||
|
+exec_prefix ?= ${prefix}
|
||||||
|
+
|
||||||
+bindir ?= ${exec_prefix}/bin
|
+bindir ?= ${exec_prefix}/bin
|
||||||
+sbindir ?= ${exec_prefix}/sbin
|
+sbindir ?= ${exec_prefix}/sbin
|
||||||
+libexecdir ?= ${exec_prefix}/libexec
|
+libexecdir ?= ${exec_prefix}/libexec
|
||||||
@@ -89,55 +88,49 @@ Index: createrepo-0.9.9/bin/Makefile
|
|||||||
-mandir = ${prefix}/man
|
-mandir = ${prefix}/man
|
||||||
+mandir ?= ${prefix}/man
|
+mandir ?= ${prefix}/man
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/$(PKGNAME)
|
pkgdatadir = $(datadir)/$(PACKAGE)
|
||||||
pkglibdir = $(libdir)/$(PKGNAME)
|
pkglibdir = $(libdir)/$(PACKAGE)
|
||||||
@@ -41,9 +41,14 @@
|
@@ -40,8 +40,11 @@ all: $(srcdir)/$(PACKAGE)
|
||||||
|
|
||||||
|
|
||||||
install: all installdirs
|
install: all installdirs
|
||||||
- $(INSTALL_BIN) $(srcdir)/$(PKGNAME) $(DESTDIR)$(bindir)/$(PKGNAME)
|
- $(INSTALL_BIN) $(srcdir)/$(PACKAGE) $(DESTDIR)$(bindir)/$(PACKAGE)
|
||||||
- $(INSTALL_BIN) $(srcdir)/modifyrepo $(DESTDIR)$(bindir)/modifyrepo
|
- $(INSTALL_BIN) $(srcdir)/modifyrepo $(DESTDIR)$(bindir)/modifyrepo
|
||||||
- $(INSTALL_BIN) $(srcdir)/mergerepo $(DESTDIR)$(bindir)/mergerepo
|
|
||||||
+ sed -e "s|@DATADIR@|$(datadir)|" $(srcdir)/$(PACKAGE) > $(srcdir)/$(PACKAGE).tmp
|
+ sed -e "s|@DATADIR@|$(datadir)|" $(srcdir)/$(PACKAGE) > $(srcdir)/$(PACKAGE).tmp
|
||||||
+ sed -e "s|@DATADIR@|$(datadir)|" $(srcdir)/modifyrepo > $(srcdir)/modifyrepo.tmp
|
+ sed -e "s|@DATADIR@|$(datadir)|" $(srcdir)/modifyrepo > $(srcdir)/modifyrepo.tmp
|
||||||
+ sed -e "s|@DATADIR@|$(datadir)|" $(srcdir)/mergerepo > $(srcdir)/mergerepo.tmp
|
|
||||||
+ $(INSTALL_BIN) $(srcdir)/$(PACKAGE).tmp $(DESTDIR)$(bindir)/$(PACKAGE)
|
+ $(INSTALL_BIN) $(srcdir)/$(PACKAGE).tmp $(DESTDIR)$(bindir)/$(PACKAGE)
|
||||||
+ $(INSTALL_BIN) $(srcdir)/modifyrepo.tmp $(DESTDIR)$(bindir)/modifyrepo
|
+ $(INSTALL_BIN) $(srcdir)/modifyrepo.tmp $(DESTDIR)$(bindir)/modifyrepo
|
||||||
+ $(INSTALL_BIN) $(srcdir)/mergerepo.tmp $(DESTDIR)$(bindir)/mergerepo
|
+ rm -f $(srcdir)/$(PACKAGE).tmp $(srcdir)/modifyrepo.tmp
|
||||||
+ rm -f $(srcdir)/$(PACKAGE).tmp $(srcdir)/modifyrepo.tmp $(srcdir)/mergerepo.tmp
|
|
||||||
+
|
|
||||||
|
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
Index: createrepo-0.9.9/bin/createrepo
|
diff --git a/bin/createrepo b/bin/createrepo
|
||||||
===================================================================
|
index b0de515..eaacb39 100755
|
||||||
--- createrepo-0.9.9.orig/bin/createrepo 2011-01-26 09:14:30.000000000 -0800
|
--- a/bin/createrepo
|
||||||
+++ createrepo-0.9.9/bin/createrepo 2011-04-06 14:12:06.608923997 -0700
|
+++ b/bin/createrepo
|
||||||
@@ -1,2 +1,2 @@
|
@@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
-exec /usr/share/createrepo/genpkgmetadata.py "$@"
|
-exec /usr/share/createrepo/genpkgmetadata.py "$@"
|
||||||
+exec @DATADIR@/createrepo/genpkgmetadata.py "$@"
|
+exec @DATADIR@/createrepo/genpkgmetadata.py "$@"
|
||||||
Index: createrepo-0.9.9/bin/modifyrepo
|
diff --git a/bin/modifyrepo b/bin/modifyrepo
|
||||||
===================================================================
|
index c9732d8..6f7c1d4 100755
|
||||||
--- createrepo-0.9.9.orig/bin/modifyrepo 2011-01-26 09:14:30.000000000 -0800
|
--- a/bin/modifyrepo
|
||||||
+++ createrepo-0.9.9/bin/modifyrepo 2011-04-06 14:12:06.608923997 -0700
|
+++ b/bin/modifyrepo
|
||||||
@@ -1,2 +1,2 @@
|
@@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
-exec /usr/share/createrepo/modifyrepo.py "$@"
|
-exec /usr/share/createrepo/modifyrepo.py "$@"
|
||||||
+exec @DATADIR@/createrepo/modifyrepo.py "$@"
|
+exec @DATADIR@/createrepo/modifyrepo.py "$@"
|
||||||
Index: createrepo-0.9.9/docs/Makefile
|
diff --git a/docs/Makefile b/docs/Makefile
|
||||||
===================================================================
|
index 0a41179..e128c85 100644
|
||||||
--- createrepo-0.9.9.orig/docs/Makefile 2011-01-26 09:14:30.000000000 -0800
|
--- a/docs/Makefile
|
||||||
+++ createrepo-0.9.9/docs/Makefile 2011-04-06 14:12:06.608923997 -0700
|
+++ b/docs/Makefile
|
||||||
@@ -1,22 +1,22 @@
|
@@ -1,22 +1,22 @@
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
top_srcdir = ..
|
top_srcdir = ..
|
||||||
srcdir = ../docs
|
srcdir = ../docs
|
||||||
-prefix = /usr
|
-prefix = /usr
|
||||||
-exec_prefix = ${prefix}
|
-exec_prefix = ${prefix}
|
||||||
+prefix ?= /usr
|
-
|
||||||
+exec_prefix ?= ${prefix}
|
|
||||||
|
|
||||||
-bindir = ${exec_prefix}/bin
|
-bindir = ${exec_prefix}/bin
|
||||||
-sbindir = ${exec_prefix}/sbin
|
-sbindir = ${exec_prefix}/sbin
|
||||||
-libexecdir = ${exec_prefix}/libexec
|
-libexecdir = ${exec_prefix}/libexec
|
||||||
@@ -147,6 +140,9 @@ Index: createrepo-0.9.9/docs/Makefile
|
|||||||
-localstatedir = ${prefix}/var
|
-localstatedir = ${prefix}/var
|
||||||
-libdir = ${exec_prefix}/lib
|
-libdir = ${exec_prefix}/lib
|
||||||
-infodir = ${prefix}/info
|
-infodir = ${prefix}/info
|
||||||
|
+prefix ?= /usr
|
||||||
|
+exec_prefix ?= ${prefix}
|
||||||
|
+
|
||||||
+bindir ?= ${exec_prefix}/bin
|
+bindir ?= ${exec_prefix}/bin
|
||||||
+sbindir ?= ${exec_prefix}/sbin
|
+sbindir ?= ${exec_prefix}/sbin
|
||||||
+libexecdir ?= ${exec_prefix}/libexec
|
+libexecdir ?= ${exec_prefix}/libexec
|
||||||
@@ -163,5 +159,5 @@ Index: createrepo-0.9.9/docs/Makefile
|
|||||||
-mandir = ${datadir}/man
|
-mandir = ${datadir}/man
|
||||||
+mandir ?= ${datadir}/man
|
+mandir ?= ${datadir}/man
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/$(PKGNAME)
|
pkgdatadir = $(datadir)/$(PACKAGE)
|
||||||
pkglibdir = $(libdir)/$(PKGNAME)
|
pkglibdir = $(libdir)/$(PACKAGE)
|
||||||
|
|||||||
@@ -4,13 +4,14 @@ HOMEPAGE = "http://createrepo.baseurl.org/"
|
|||||||
LICENSE = "GPLv2+"
|
LICENSE = "GPLv2+"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
|
||||||
|
|
||||||
PR = "r0"
|
PR = "r1"
|
||||||
|
|
||||||
SRC_URI= "http://createrepo.baseurl.org/download/${BP}.tar.gz \
|
SRC_URI= "http://createrepo.baseurl.org/download/${BP}.tar.gz \
|
||||||
file://fix-native-install.patch \
|
file://fix-native-install.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[md5sum] = "10641f19a40e9f633b300e23dde00349"
|
|
||||||
SRC_URI[sha256sum] = "ee897463837b299fb20bf6e970f8c5324cd8b7f26ad3675a9938a2d7ae42ff03"
|
SRC_URI[md5sum] = "3e9ccf4abcffe3f49af078c83611eda2"
|
||||||
|
SRC_URI[sha256sum] = "a73ae11a0dcde8bde36d900bc3f7f8f1083ba752c70a5c61b72d1e1e7608f21b"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native"
|
||||||
|
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
DESCRIPTION = "GNU Transport Layer Security Library"
|
DESCRIPTION = "GNU Transport Layer Security Library"
|
||||||
HOMEPAGE = "http://www.gnu.org/software/gnutls/"
|
HOMEPAGE = "http://www.gnu.org/software/gnutls/"
|
||||||
BUGTRACKER = "https://savannah.gnu.org/support/?group=gnutls"
|
BUGTRACKER = "https://savannah.gnu.org/support/?group=gnutls"
|
||||||
DEPENDS = "zlib lzo libtasn1 libgcrypt (>= 1.4.2)"
|
DEPENDS = "zlib lzo libtasn1 libgcrypt (>= 1.4.2) libcap"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
INC_PR = "r1"
|
||||||
|
|
||||||
LICENSE = "GPLv3+ & LGPLv2.1+"
|
LICENSE = "GPLv3+ & LGPLv2.1+"
|
||||||
LICENSE_${PN} = "LGPLv2.1+"
|
LICENSE_${PN} = "LGPLv2.1+"
|
||||||
@@ -44,3 +44,5 @@ FILES_${PN}-dev += "${bindir}/*-config ${bindir}/gnutls-cli-debug"
|
|||||||
FILES_${PN}-extra = "${libdir}/libgnutls-extra.so.*"
|
FILES_${PN}-extra = "${libdir}/libgnutls-extra.so.*"
|
||||||
FILES_${PN}-openssl = "${libdir}/libgnutls-openssl.so.*"
|
FILES_${PN}-openssl = "${libdir}/libgnutls-openssl.so.*"
|
||||||
FILES_${PN}-xx = "${libdir}/libgnutlsxx.so.*"
|
FILES_${PN}-xx = "${libdir}/libgnutlsxx.so.*"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
require gnutls.inc
|
require gnutls.inc
|
||||||
|
|
||||||
PR = "r0"
|
PR = "${INC_PR}.0"
|
||||||
|
|
||||||
SRC_URI += "file://gnutls-openssl.patch \
|
SRC_URI += "file://gnutls-openssl.patch \
|
||||||
file://gnutls-texinfo-euro.patch \
|
file://gnutls-texinfo-euro.patch \
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ LICENSE = "BSD | GPL"
|
|||||||
LIC_FILES_CHKSUM = "file://License;md5=731de803c1ccbcb05a9b3523279c8d7f"
|
LIC_FILES_CHKSUM = "file://License;md5=731de803c1ccbcb05a9b3523279c8d7f"
|
||||||
|
|
||||||
DEPENDS = "libpam attr perl-native"
|
DEPENDS = "libpam attr perl-native"
|
||||||
|
# attr and pam are disabled by EXTRA_OEMAKE_virtclass-native
|
||||||
|
DEPENDS_virtclass-native = "perl-native"
|
||||||
|
|
||||||
SRC_URI = "${KERNELORG_MIRROR}/linux/libs/security/linux-privs/libcap2/${BPN}-${PV}.tar.bz2"
|
SRC_URI = "${KERNELORG_MIRROR}/linux/libs/security/linux-privs/libcap2/${BPN}-${PV}.tar.bz2"
|
||||||
|
|
||||||
@@ -32,3 +34,5 @@ do_install() {
|
|||||||
# pam files
|
# pam files
|
||||||
FILES_${PN} += "${libdir}/security/*.so"
|
FILES_${PN} += "${libdir}/security/*.so"
|
||||||
FILES_${PN}-dbg += "${libdir}/security/.debug/*.so"
|
FILES_${PN}-dbg += "${libdir}/security/.debug/*.so"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native"
|
||||||
|
|||||||
Reference in New Issue
Block a user