Index: Wayland/wayland/1.21.0/Makefile
===================================================================
--- Wayland/wayland/1.21.0/Makefile (revision 443)
+++ Wayland/wayland/1.21.0/Makefile (revision 444)
@@ -61,7 +61,7 @@
SOURCE_REQUIRES = sources/Wayland/wayland
REQUIRES = libs/expat/2.5.0
-REQUIRES += libs/libffi/3.4.6
+REQUIRES += libs/libffi/3.4.7
REQUIRES += libs/libxml2/2.11.4
# ======= __END_OF_REQUIRES__ =======
Index: Wayland/wayland/1.21.0-ppc32/Makefile
===================================================================
--- Wayland/wayland/1.21.0-ppc32/Makefile (revision 443)
+++ Wayland/wayland/1.21.0-ppc32/Makefile (revision 444)
@@ -17,7 +17,7 @@
REQUIRES = Wayland/wayland/1.21.0
REQUIRES += libs/expat/2.5.0-ppc32
-REQUIRES += libs/libffi/3.4.6-ppc32
+REQUIRES += libs/libffi/3.4.7-ppc32
REQUIRES += libs/libxml2/2.11.4-ppc32
# ======= __END_OF_REQUIRES__ =======
Index: Wayland/wayland/1.21.0-x86_32/Makefile
===================================================================
--- Wayland/wayland/1.21.0-x86_32/Makefile (revision 443)
+++ Wayland/wayland/1.21.0-x86_32/Makefile (revision 444)
@@ -14,7 +14,7 @@
REQUIRES = Wayland/wayland/1.21.0
REQUIRES += libs/expat/2.5.0-x86_32
-REQUIRES += libs/libffi/3.4.6-x86_32
+REQUIRES += libs/libffi/3.4.7-x86_32
REQUIRES += libs/libxml2/2.11.4-x86_32
# ======= __END_OF_REQUIRES__ =======
Index: X11/app/chromium/119.0.6026.1/Makefile
===================================================================
--- X11/app/chromium/119.0.6026.1/Makefile (revision 443)
+++ X11/app/chromium/119.0.6026.1/Makefile (revision 444)
@@ -70,7 +70,7 @@
REQUIRES += X11/X.org/lib/libXdamage/1.1.6
REQUIRES += X11/X.org/lib/libXcomposite/0.4.6
REQUIRES += libs/expat/2.5.0
-REQUIRES += libs/libffi/3.4.6
+REQUIRES += libs/libffi/3.4.7
REQUIRES += app/dbus/1.13.18
REQUIRES += net/nss/3.97
Index: X11/app/chromium/123.0.6286.1/Makefile
===================================================================
--- X11/app/chromium/123.0.6286.1/Makefile (revision 443)
+++ X11/app/chromium/123.0.6286.1/Makefile (revision 444)
@@ -70,7 +70,7 @@
REQUIRES += X11/X.org/lib/libXdamage/1.1.6
REQUIRES += X11/X.org/lib/libXcomposite/0.4.6
REQUIRES += libs/expat/2.5.0
-REQUIRES += libs/libffi/3.4.6
+REQUIRES += libs/libffi/3.4.7
REQUIRES += app/dbus/1.13.18
REQUIRES += net/nss/3.97
Index: X11/dev/openjdk/21.35/Makefile
===================================================================
--- X11/dev/openjdk/21.35/Makefile (revision 443)
+++ X11/dev/openjdk/21.35/Makefile (revision 444)
@@ -65,7 +65,7 @@
REQUIRES += libs/lcms2/2.14
REQUIRES += libs/giflib/5.2.1
REQUIRES += libs/libjpeg-turbo/2.1.2
-REQUIRES += libs/libffi/3.4.6
+REQUIRES += libs/libffi/3.4.7
REQUIRES += media/alsa-lib/1.2.8
# ======= __END_OF_REQUIRES__ =======
Index: X11/libs/gjs/1.76.2/Makefile
===================================================================
--- X11/libs/gjs/1.76.2/Makefile (revision 443)
+++ X11/libs/gjs/1.76.2/Makefile (revision 444)
@@ -65,7 +65,7 @@
REQUIRES += X11/libs/cairo/1.17.8
REQUIRES += libs/mozjs/102.15.0
REQUIRES += libs/dconf/0.40.0
-REQUIRES += libs/libffi/3.4.6
+REQUIRES += libs/libffi/3.4.7
REQUIRES += libs/readline/8.2
REQUIRES += app/dbus/1.13.18
Index: X11/libs/gnome-keyring/42.1/Makefile
===================================================================
--- X11/libs/gnome-keyring/42.1/Makefile (revision 443)
+++ X11/libs/gnome-keyring/42.1/Makefile (revision 444)
@@ -62,7 +62,7 @@
REQUIRES = X11/libs/gcr/3.41.1
REQUIRES += app/dbus/1.13.18
-REQUIRES += libs/libffi/3.4.6
+REQUIRES += libs/libffi/3.4.7
REQUIRES += secure/pam/1.5.1
# ======= __END_OF_REQUIRES__ =======
Index: X11/libs/vulkan/spirv-llvm-translator/16.0.0/Makefile
===================================================================
--- X11/libs/vulkan/spirv-llvm-translator/16.0.0/Makefile (revision 443)
+++ X11/libs/vulkan/spirv-llvm-translator/16.0.0/Makefile (revision 444)
@@ -62,7 +62,7 @@
REQUIRES = dev/llvm/16.0.2
REQUIRES += X11/libs/vulkan/glslang/1.3.239.0
-REQUIRES += libs/libffi/3.4.6
+REQUIRES += libs/libffi/3.4.7
REQUIRES += libs/ncurses/6.5
REQUIRES += libs/zstd/1.5.6
Index: X11/libs/vulkan/spirv-llvm-translator/16.0.0-ppc32/Makefile
===================================================================
--- X11/libs/vulkan/spirv-llvm-translator/16.0.0-ppc32/Makefile (revision 443)
+++ X11/libs/vulkan/spirv-llvm-translator/16.0.0-ppc32/Makefile (revision 444)
@@ -18,7 +18,7 @@
REQUIRES = X11/libs/vulkan/spirv-llvm-translator/16.0.0
REQUIRES += dev/llvm/16.0.2-ppc32
REQUIRES += X11/libs/vulkan/glslang/1.3.239.0-ppc32
-REQUIRES += libs/libffi/3.4.6-ppc32
+REQUIRES += libs/libffi/3.4.7-ppc32
REQUIRES += libs/ncurses/6.5-ppc32
REQUIRES += libs/zstd/1.5.6-ppc32
Index: X11/libs/vulkan/spirv-llvm-translator/16.0.0-x86_32/Makefile
===================================================================
--- X11/libs/vulkan/spirv-llvm-translator/16.0.0-x86_32/Makefile (revision 443)
+++ X11/libs/vulkan/spirv-llvm-translator/16.0.0-x86_32/Makefile (revision 444)
@@ -15,7 +15,7 @@
REQUIRES = X11/libs/vulkan/spirv-llvm-translator/16.0.0
REQUIRES += dev/llvm/16.0.2-x86_32
REQUIRES += X11/libs/vulkan/glslang/1.3.239.0-x86_32
-REQUIRES += libs/libffi/3.4.6-x86_32
+REQUIRES += libs/libffi/3.4.7-x86_32
REQUIRES += libs/ncurses/6.5-x86_32
REQUIRES += libs/zstd/1.5.6-x86_32
Index: X11/net/avahi/0.8/Makefile
===================================================================
--- X11/net/avahi/0.8/Makefile (revision 443)
+++ X11/net/avahi/0.8/Makefile (revision 444)
@@ -67,7 +67,7 @@
REQUIRES += X11/libs/pygobject/3.44.1
REQUIRES += libs/libdaemon/0.14
REQUIRES += net/nss-mdns/0.15.1
-REQUIRES += libs/gdbm/1.23
+REQUIRES += libs/gdbm/1.24
REQUIRES += libs/dbus-glib/0.112
REQUIRES += libs/dbus-python/1.3.2
REQUIRES += libs/libevent/2.1.12
Index: app/man-db/2.9.4/Makefile
===================================================================
--- app/man-db/2.9.4/Makefile (revision 443)
+++ app/man-db/2.9.4/Makefile (revision 444)
@@ -64,7 +64,7 @@
REQUIRES = app/groff/1.22.4
REQUIRES += app/less/580
REQUIRES += app/gzip/1.13
-REQUIRES += libs/gdbm/1.23
+REQUIRES += libs/gdbm/1.24
REQUIRES += libs/libpipeline/1.5.4
REQUIRES += libs/zlib/1.3.1
Index: dev/guile/3.0.5/Makefile
===================================================================
--- dev/guile/3.0.5/Makefile (revision 443)
+++ dev/guile/3.0.5/Makefile (revision 444)
@@ -60,7 +60,7 @@
SOURCE_REQUIRES = sources/GNU/guile
-REQUIRES = libs/libffi/3.4.6
+REQUIRES = libs/libffi/3.4.7
REQUIRES += libs/gmp/6.2.1
REQUIRES += libs/readline/8.2
REQUIRES += dev/libtool/2.4.6
Index: dev/guile/3.0.5-ppc32/Makefile
===================================================================
--- dev/guile/3.0.5-ppc32/Makefile (revision 443)
+++ dev/guile/3.0.5-ppc32/Makefile (revision 444)
@@ -16,7 +16,7 @@
SOURCE_REQUIRES = sources/GNU/guile
REQUIRES = dev/guile/3.0.5
-REQUIRES += libs/libffi/3.4.6-ppc32
+REQUIRES += libs/libffi/3.4.7-ppc32
REQUIRES += libs/gmp/6.2.1-ppc32
REQUIRES += libs/readline/8.2-ppc32
REQUIRES += dev/libtool/2.4.6-ppc32
Index: dev/guile/3.0.5-x86_32/Makefile
===================================================================
--- dev/guile/3.0.5-x86_32/Makefile (revision 443)
+++ dev/guile/3.0.5-x86_32/Makefile (revision 444)
@@ -13,7 +13,7 @@
SOURCE_REQUIRES = sources/GNU/guile
REQUIRES = dev/guile/3.0.5
-REQUIRES += libs/libffi/3.4.6-x86_32
+REQUIRES += libs/libffi/3.4.7-x86_32
REQUIRES += libs/gmp/6.2.1-x86_32
REQUIRES += libs/readline/8.2-x86_32
REQUIRES += dev/libtool/2.4.6-x86_32
Index: dev/llvm/16.0.2/Makefile
===================================================================
--- dev/llvm/16.0.2/Makefile (revision 443)
+++ dev/llvm/16.0.2/Makefile (revision 444)
@@ -61,7 +61,7 @@
SOURCE_REQUIRES = sources/packages/d/llvm
REQUIRES = dev/gcc/14.2.0
-REQUIRES += libs/libffi/3.4.6
+REQUIRES += libs/libffi/3.4.7
REQUIRES += libs/elfutils/0.192
REQUIRES += libs/libxml2/2.11.4
REQUIRES += libs/libedit/20191231-3.1
Index: dev/llvm/16.0.2-ppc32/Makefile
===================================================================
--- dev/llvm/16.0.2-ppc32/Makefile (revision 443)
+++ dev/llvm/16.0.2-ppc32/Makefile (revision 444)
@@ -16,7 +16,7 @@
SOURCE_REQUIRES = sources/packages/d/llvm
REQUIRES = dev/llvm/16.0.2
-REQUIRES += libs/libffi/3.4.6-ppc32
+REQUIRES += libs/libffi/3.4.7-ppc32
REQUIRES += libs/elfutils/0.192-ppc32
REQUIRES += libs/libxml2/2.11.4-ppc32
REQUIRES += libs/libedit/20191231-3.1-ppc32
Index: dev/llvm/16.0.2-x86_32/Makefile
===================================================================
--- dev/llvm/16.0.2-x86_32/Makefile (revision 443)
+++ dev/llvm/16.0.2-x86_32/Makefile (revision 444)
@@ -13,7 +13,7 @@
SOURCE_REQUIRES = sources/packages/d/llvm
REQUIRES = dev/llvm/16.0.2
-REQUIRES += libs/libffi/3.4.6-x86_32
+REQUIRES += libs/libffi/3.4.7-x86_32
REQUIRES += libs/elfutils/0.192-x86_32
REQUIRES += libs/libxml2/2.11.4-x86_32
REQUIRES += libs/libedit/20191231-3.1-x86_32
Index: dev/perl/5.36.0/Makefile
===================================================================
--- dev/perl/5.36.0/Makefile (revision 443)
+++ dev/perl/5.36.0/Makefile (revision 444)
@@ -61,7 +61,7 @@
SOURCE_REQUIRES = sources/packages/d/perl
SOURCE_REQUIRES += sources/packages/d/perl-cross/1.4
-REQUIRES = libs/gdbm/1.23
+REQUIRES = libs/gdbm/1.24
# ======= __END_OF_REQUIRES__ =======
Index: dev/perl/5.36.0-ppc32/Makefile
===================================================================
--- dev/perl/5.36.0-ppc32/Makefile (revision 443)
+++ dev/perl/5.36.0-ppc32/Makefile (revision 444)
@@ -16,7 +16,7 @@
SOURCE_REQUIRES += sources/packages/d/perl-cross/1.4
REQUIRES = dev/perl/5.36.0
-REQUIRES += libs/gdbm/1.23-ppc32
+REQUIRES += libs/gdbm/1.24-ppc32
# ======= __END_OF_REQUIRES__ =======
Index: dev/perl/5.36.0-x86_32/Makefile
===================================================================
--- dev/perl/5.36.0-x86_32/Makefile (revision 443)
+++ dev/perl/5.36.0-x86_32/Makefile (revision 444)
@@ -13,7 +13,7 @@
SOURCE_REQUIRES += sources/packages/d/perl-cross/1.4
REQUIRES = dev/perl/5.36.0
-REQUIRES += libs/gdbm/1.23-x86_32
+REQUIRES += libs/gdbm/1.24-x86_32
# ======= __END_OF_REQUIRES__ =======
Index: dev/perl-modules/perl-b-c/1.57/Makefile
===================================================================
--- dev/perl-modules/perl-b-c/1.57/Makefile (revision 443)
+++ dev/perl-modules/perl-b-c/1.57/Makefile (revision 444)
@@ -62,7 +62,7 @@
REQUIRES = dev/perl/5.36.0
REQUIRES += app/db/18.1.40
-REQUIRES += libs/gdbm/1.23
+REQUIRES += libs/gdbm/1.24
REQUIRES += net/libnsl/1.3.0
# ======= __END_OF_REQUIRES__ =======
Index: dev/python2/2.7.18/Makefile
===================================================================
--- dev/python2/2.7.18/Makefile (revision 443)
+++ dev/python2/2.7.18/Makefile (revision 444)
@@ -63,7 +63,7 @@
REQUIRES = libs/zlib/1.3.1
REQUIRES += app/xz/5.6.3
-REQUIRES += libs/libffi/3.4.6
+REQUIRES += libs/libffi/3.4.7
REQUIRES += libs/readline/8.2
REQUIRES += libs/expat/2.5.0
REQUIRES += net/openssl/3.4.1
Index: dev/python2/2.7.18-ppc32/Makefile
===================================================================
--- dev/python2/2.7.18-ppc32/Makefile (revision 443)
+++ dev/python2/2.7.18-ppc32/Makefile (revision 444)
@@ -18,7 +18,7 @@
REQUIRES = dev/python2/2.7.18
REQUIRES += libs/zlib/1.3.1-ppc32
REQUIRES += app/xz/5.6.3-ppc32
-REQUIRES += libs/libffi/3.4.6-ppc32
+REQUIRES += libs/libffi/3.4.7-ppc32
REQUIRES += libs/readline/8.2-ppc32
REQUIRES += libs/expat/2.5.0-ppc32
REQUIRES += net/openssl/3.4.1-ppc32
Index: dev/python2/2.7.18-x86_32/Makefile
===================================================================
--- dev/python2/2.7.18-x86_32/Makefile (revision 443)
+++ dev/python2/2.7.18-x86_32/Makefile (revision 444)
@@ -15,7 +15,7 @@
REQUIRES = dev/python2/2.7.18
REQUIRES += libs/zlib/1.3.1-x86_32
REQUIRES += app/xz/5.6.3-x86_32
-REQUIRES += libs/libffi/3.4.6-x86_32
+REQUIRES += libs/libffi/3.4.7-x86_32
REQUIRES += libs/readline/8.2-x86_32
REQUIRES += libs/expat/2.5.0-x86_32
REQUIRES += net/openssl/3.4.1-x86_32
Index: dev/python3/3.10.8/Makefile
===================================================================
--- dev/python3/3.10.8/Makefile (revision 443)
+++ dev/python3/3.10.8/Makefile (revision 444)
@@ -65,9 +65,9 @@
REQUIRES += app/xz/5.6.3
REQUIRES += app/bzip2/1.0.8
REQUIRES += app/sqlite/3.39.4.0
-REQUIRES += libs/libffi/3.4.6
+REQUIRES += libs/libffi/3.4.7
REQUIRES += libs/expat/2.5.0
-REQUIRES += libs/gdbm/1.23
+REQUIRES += libs/gdbm/1.24
REQUIRES += net/openssl/3.4.1
# ======= __END_OF_REQUIRES__ =======
Index: dev/python3/3.10.8-ppc32/Makefile
===================================================================
--- dev/python3/3.10.8-ppc32/Makefile (revision 443)
+++ dev/python3/3.10.8-ppc32/Makefile (revision 444)
@@ -20,9 +20,9 @@
REQUIRES += app/xz/5.6.3-ppc32
REQUIRES += app/bzip2/1.0.8-ppc32
REQUIRES += app/sqlite/3.39.4.0-ppc32
-REQUIRES += libs/libffi/3.4.6-ppc32
+REQUIRES += libs/libffi/3.4.7-ppc32
REQUIRES += libs/expat/2.5.0-ppc32
-REQUIRES += libs/gdbm/1.23-ppc32
+REQUIRES += libs/gdbm/1.24-ppc32
REQUIRES += net/openssl/3.4.1-ppc32
# ======= __END_OF_REQUIRES__ =======
Index: dev/python3/3.10.8-x86_32/Makefile
===================================================================
--- dev/python3/3.10.8-x86_32/Makefile (revision 443)
+++ dev/python3/3.10.8-x86_32/Makefile (revision 444)
@@ -17,9 +17,9 @@
REQUIRES += app/xz/5.6.3-x86_32
REQUIRES += app/bzip2/1.0.8-x86_32
REQUIRES += app/sqlite/3.39.4.0-x86_32
-REQUIRES += libs/libffi/3.4.6-x86_32
+REQUIRES += libs/libffi/3.4.7-x86_32
REQUIRES += libs/expat/2.5.0-x86_32
-REQUIRES += libs/gdbm/1.23-x86_32
+REQUIRES += libs/gdbm/1.24-x86_32
REQUIRES += net/openssl/3.4.1-x86_32
# ======= __END_OF_REQUIRES__ =======
Index: dev/ruby/3.2.0/Makefile
===================================================================
--- dev/ruby/3.2.0/Makefile (revision 443)
+++ dev/ruby/3.2.0/Makefile (revision 444)
@@ -61,11 +61,11 @@
SOURCE_REQUIRES = sources/packages/d/ruby
REQUIRES = libs/gmp/6.2.1
-REQUIRES += libs/libffi/3.4.6
+REQUIRES += libs/libffi/3.4.7
REQUIRES += libs/libyaml/0.2.5
REQUIRES += libs/readline/8.2
REQUIRES += libs/zlib/1.3.1
-REQUIRES += libs/gdbm/1.23
+REQUIRES += libs/gdbm/1.24
REQUIRES += net/openssl/3.4.1
# ======= __END_OF_REQUIRES__ =======
Index: dev/ruby/3.2.0-ppc32/Makefile
===================================================================
--- dev/ruby/3.2.0-ppc32/Makefile (revision 443)
+++ dev/ruby/3.2.0-ppc32/Makefile (revision 444)
@@ -17,11 +17,11 @@
REQUIRES = dev/ruby/3.2.0
REQUIRES += libs/gmp/6.2.1-ppc32
-REQUIRES += libs/libffi/3.4.6-ppc32
+REQUIRES += libs/libffi/3.4.7-ppc32
REQUIRES += libs/libyaml/0.2.5-ppc32
REQUIRES += libs/readline/8.2-ppc32
REQUIRES += libs/zlib/1.3.1-ppc32
-REQUIRES += libs/gdbm/1.23-ppc32
+REQUIRES += libs/gdbm/1.24-ppc32
REQUIRES += net/openssl/3.4.1-ppc32
Index: dev/ruby/3.2.0-x86_32/Makefile
===================================================================
--- dev/ruby/3.2.0-x86_32/Makefile (revision 443)
+++ dev/ruby/3.2.0-x86_32/Makefile (revision 444)
@@ -14,11 +14,11 @@
REQUIRES = dev/ruby/3.2.0
REQUIRES += libs/gmp/6.2.1-x86_32
-REQUIRES += libs/libffi/3.4.6-x86_32
+REQUIRES += libs/libffi/3.4.7-x86_32
REQUIRES += libs/libyaml/0.2.5-x86_32
REQUIRES += libs/readline/8.2-x86_32
REQUIRES += libs/zlib/1.3.1-x86_32
-REQUIRES += libs/gdbm/1.23-x86_32
+REQUIRES += libs/gdbm/1.24-x86_32
REQUIRES += net/openssl/3.4.1-x86_32
Index: libs/accountsservice/23.13.9/Makefile
===================================================================
--- libs/accountsservice/23.13.9/Makefile (revision 443)
+++ libs/accountsservice/23.13.9/Makefile (revision 444)
@@ -61,7 +61,7 @@
SOURCE_REQUIRES = sources/packages/l/accountsservice
REQUIRES = libs/polkit/123
-REQUIRES += libs/libffi/3.4.6
+REQUIRES += libs/libffi/3.4.7
REQUIRES += libs/pcre2/10.45
REQUIRES += secure/libcap/2.48
REQUIRES += dev/vala/0.56.6
Index: libs/gdbm/1.23-ppc32/gdbm-x32-pkg-description.in
===================================================================
--- libs/gdbm/1.23-ppc32/gdbm-x32-pkg-description.in (revision 443)
+++ libs/gdbm/1.23-ppc32/gdbm-x32-pkg-description.in (nonexistent)
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-gdbm-x32: gdbm-x32 @VERSION@ (GNU database routines)
-gdbm-x32:
-gdbm-x32: GNU dbm is a set of database routines that work similar to the
-gdbm-x32: standard UNIX dbm routines.
-gdbm-x32:
-gdbm-x32:
-gdbm-x32:
-gdbm-x32:
-gdbm-x32:
-gdbm-x32:
-gdbm-x32:
Index: libs/gdbm/1.23-ppc32/gdbm-x32-pkg-install.sh
===================================================================
--- libs/gdbm/1.23-ppc32/gdbm-x32-pkg-install.sh (revision 443)
+++ libs/gdbm/1.23-ppc32/gdbm-x32-pkg-install.sh (nonexistent)
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-# arg 1: the new package version
-pre_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-post_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_update() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_update() {
- post_install
-}
-
-# arg 1: the old package version
-pre_remove() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
-
-
-operation=$1
-shift
-
-$operation $*
Property changes on: libs/gdbm/1.23-ppc32/gdbm-x32-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: libs/gdbm/1.23-ppc32/Makefile
===================================================================
--- libs/gdbm/1.23-ppc32/Makefile (revision 443)
+++ libs/gdbm/1.23-ppc32/Makefile (nonexistent)
@@ -1,168 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_S824L)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
-
-NEED_ABS_PATH = true
-COMPONENT_IS_3PP = true
-
-CREATE_PPC32_PACKAGE = true
-
-
-include ../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/GNU/gdbm
-
-REQUIRES = libs/gdbm/1.23
-REQUIRES += libs/glibc/2.41-ppc32
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 1.23
-tar_gz_archive = $(SRC_PACKAGE_PATH)/GNU/gdbm/gdbm-$(version).tar.gz
-SRC_ARCHIVE = $(tar_gz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/gdbm-$(version)
-src_dir_name = gdbm-$(version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-PATCHES = PATCHES
-
-build_dir = $(TARGET_BUILD_DIR)/build
-build_target = $(TARGET_BUILD_DIR)/.build_done
-install_target = $(TARGET_BUILD_DIR)/.install_done
-
-
-####### Targets
-
-PKG_GROUP = libs
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-GDBM_32_PKG_NAME = gdbm-x32
-GDBM_32_PKG_VERSION = 1.23
-GDBM_32_PKG_ARCH = $(PKGARCH)
-GDBM_32_PKG_DISTRO_NAME = $(DISTRO_NAME)
-GDBM_32_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-GDBM_32_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-GDBM_32_PKG_SHORT_DESCRIPTION = GNU database routines
-GDBM_32_PKG_URL = $(BUG_URL)
-GDBM_32_PKG_LICENSE = GPLv3
-GDBM_32_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(GDBM_32_PKG_NAME)-pkg-description
-GDBM_32_PKG_DESCRIPTION_FILE_IN = $(GDBM_32_PKG_NAME)-pkg-description.in
-GDBM_32_PKG_INSTALL_SCRIPT = $(GDBM_32_PKG_NAME)-pkg-install.sh
-
-GDBM_32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(GDBM_32_PKG_NAME)-package
-
-pkg_basename = $(GDBM_32_PKG_NAME)-$(GDBM_32_PKG_VERSION)-$(GDBM_32_PKG_ARCH)-$(GDBM_32_PKG_DISTRO_NAME)-$(GDBM_32_PKG_DISTRO_VERSION)
-
-pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
-pkg_certificate = $(call cert-name,$(pkg_archive))
-pkg_signature = $(call sign-name,$(pkg_archive))
-pkg_description = $(call desc-name,$(pkg_archive))
-products = $(call pkg-files,$(pkg_archive))
-
-BUILD_TARGETS = $(build_target)
-BUILD_TARGETS += $(install_target)
-
-PRODUCT_TARGETS = $(products)
-
-ROOTFS_TARGETS = $(pkg_archive)
-
-
-include ../../../build-system/core.mk
-
-
-env_sysroot = DESTDIR=$(GDBM_32_PKG)
-
-
-extra_configure_switches = --libdir=/usr/lib$(MULTILIB_PPC32_SUFFIX)
-extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
-extra_configure_switches += --infodir=/usr/share/info
-extra_configure_switches += --mandir=/usr/share/man
-extra_configure_switches += --disable-dependency-tracking
-extra_configure_switches += --enable-libgdbm-compat
-ifeq ($(__ENABLE_STATIC__),yes)
-extra_configure_switches += --enable-static=yes
-else
-extra_configure_switches += --enable-static=no
-endif
-extra_configure_switches += --enable-shared=yes
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
- $(APPLY_PATCHES)
- @cp -a $(CONFIG_GUESS) $(CONFIG_SUB) $(SRC_DIR)/build-aux
- @touch $@
-
-$(build_target): $(src_done)
- @mkdir -p $(build_dir)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
- --prefix=/usr \
- --build=$(BUILD) \
- --host=$(TARGET32) \
- $(extra_configure_switches)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
- @touch $@
-
-$(install_target): $(build_target)
- @mkdir -p $(GDBM_32_PKG)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
- @mkdir -p $(GDBM_32_PKG)/usr/bin/32
- @( cd $(GDBM_32_PKG)/usr/bin ; \
- find . -type f | xargs mv -t 32 ; \
- )
- @rm -rf $(GDBM_32_PKG)/usr/include
- @rm -rf $(GDBM_32_PKG)/usr/share
- # ======= remove toolchain path from target libtool *.la files =======
- @( cd $(GDBM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX) ; \
- sed -i "s,$(TARGET_DEST_DIR),,g" libgdbm.la libgdbm_compat.la \
- )
- # ======= Install the same to $(TARGET_DEST_DIR) =======
- $(call install-into-devenv, $(GDBM_32_PKG))
- # ======= tune libtool *.la search path to the target destination for development =======
- @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX) ; \
- sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libgdbm.la libgdbm_compat.la ; \
- sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libgdbm.la libgdbm_compat.la \
- )
- # ======= Strip binaries =======
- @( cd $(GDBM_32_PKG) ; \
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- )
-ifeq ($(__ENABLE_STATIC__),yes)
- @( cd $(GDBM_32_PKG) ; \
- find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
- )
-endif
- @touch $@
-
-$(GDBM_32_PKG_DESCRIPTION_FILE): $(GDBM_32_PKG_DESCRIPTION_FILE_IN)
- @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
-
-$(pkg_certificate) : $(pkg_archive) ;
-$(pkg_signature) : $(pkg_archive) ;
-$(pkg_description) : $(pkg_archive) ;
-
-$(pkg_archive): $(install_target) $(GDBM_32_PKG_DESCRIPTION_FILE) $(GDBM_32_PKG_INSTALL_SCRIPT)
- @cp $(GDBM_32_PKG_DESCRIPTION_FILE) $(GDBM_32_PKG)/.DESCRIPTION
- @cp $(GDBM_32_PKG_INSTALL_SCRIPT) $(GDBM_32_PKG)/.INSTALL
- @$(BUILD_PKG_REQUIRES) $(GDBM_32_PKG)/.REQUIRES
- @echo "pkgname=$(GDBM_32_PKG_NAME)" > $(GDBM_32_PKG)/.PKGINFO ; \
- echo "pkgver=$(GDBM_32_PKG_VERSION)" >> $(GDBM_32_PKG)/.PKGINFO ; \
- echo "arch=$(GDBM_32_PKG_ARCH)" >> $(GDBM_32_PKG)/.PKGINFO ; \
- echo "distroname=$(GDBM_32_PKG_DISTRO_NAME)" >> $(GDBM_32_PKG)/.PKGINFO ; \
- echo "distrover=$(GDBM_32_PKG_DISTRO_VERSION)" >> $(GDBM_32_PKG)/.PKGINFO ; \
- echo "group=$(GDBM_32_PKG_GROUP)" >> $(GDBM_32_PKG)/.PKGINFO ; \
- echo "short_description=\"$(GDBM_32_PKG_SHORT_DESCRIPTION)\"" >> $(GDBM_32_PKG)/.PKGINFO ; \
- echo "url=$(GDBM_32_PKG_URL)" >> $(GDBM_32_PKG)/.PKGINFO ; \
- echo "license=$(GDBM_32_PKG_LICENSE)" >> $(GDBM_32_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(GDBM_32_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: libs/gdbm/1.23-ppc32
===================================================================
--- libs/gdbm/1.23-ppc32 (revision 443)
+++ libs/gdbm/1.23-ppc32 (nonexistent)
Property changes on: libs/gdbm/1.23-ppc32
___________________________________________________________________
Deleted: svn:ignore
## -1,74 +0,0 ##
-
-# install dir
-dist
-
-# Target build dirs
-.a1x-newlib
-.a2x-newlib
-.at91sam7s-newlib
-
-.build-machine
-
-.a1x-glibc
-.a2x-glibc
-.h3-glibc
-.h5-glibc
-.i586-glibc
-.i686-glibc
-.imx6-glibc
-.jz47xx-glibc
-.makefile
-.am335x-glibc
-.omap543x-glibc
-.p5600-glibc
-.power8-glibc
-.power8le-glibc
-.power9-glibc
-.power9le-glibc
-.m1000-glibc
-.riscv64-glibc
-.rk328x-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.rk358x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.dist
-.rootfs
-
-# src & hw requires
-.src_requires
-.src_requires_depend
-.requires
-.requires_depend
-
-# Tarballs
-*.gz
-*.bz2
-*.lz
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Descriptions
-*.dsc
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# backup copies
-*~
Index: libs/gdbm/1.23-x86_32/gdbm-x32-pkg-description.in
===================================================================
--- libs/gdbm/1.23-x86_32/gdbm-x32-pkg-description.in (revision 443)
+++ libs/gdbm/1.23-x86_32/gdbm-x32-pkg-description.in (nonexistent)
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-gdbm-x32: gdbm-x32 @VERSION@ (GNU database routines)
-gdbm-x32:
-gdbm-x32: GNU dbm is a set of database routines that work similar to the
-gdbm-x32: standard UNIX dbm routines.
-gdbm-x32:
-gdbm-x32:
-gdbm-x32:
-gdbm-x32:
-gdbm-x32:
-gdbm-x32:
-gdbm-x32:
Index: libs/gdbm/1.23-x86_32/gdbm-x32-pkg-install.sh
===================================================================
--- libs/gdbm/1.23-x86_32/gdbm-x32-pkg-install.sh (revision 443)
+++ libs/gdbm/1.23-x86_32/gdbm-x32-pkg-install.sh (nonexistent)
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-# arg 1: the new package version
-pre_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-post_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_update() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_update() {
- post_install
-}
-
-# arg 1: the old package version
-pre_remove() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
-
-
-operation=$1
-shift
-
-$operation $*
Property changes on: libs/gdbm/1.23-x86_32/gdbm-x32-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: libs/gdbm/1.23-x86_32/Makefile
===================================================================
--- libs/gdbm/1.23-x86_32/Makefile (revision 443)
+++ libs/gdbm/1.23-x86_32/Makefile (nonexistent)
@@ -1,165 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_INTEL_PC64)
-
-NEED_ABS_PATH = true
-COMPONENT_IS_3PP = true
-
-CREATE_X86_32_PACKAGE = true
-
-
-include ../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/GNU/gdbm
-
-REQUIRES = libs/gdbm/1.23
-REQUIRES += libs/glibc/2.41-x86_32
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 1.23
-tar_gz_archive = $(SRC_PACKAGE_PATH)/GNU/gdbm/gdbm-$(version).tar.gz
-SRC_ARCHIVE = $(tar_gz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/gdbm-$(version)
-src_dir_name = gdbm-$(version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-PATCHES = PATCHES
-
-build_dir = $(TARGET_BUILD_DIR)/build
-build_target = $(TARGET_BUILD_DIR)/.build_done
-install_target = $(TARGET_BUILD_DIR)/.install_done
-
-
-####### Targets
-
-PKG_GROUP = libs
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-GDBM_32_PKG_NAME = gdbm-x32
-GDBM_32_PKG_VERSION = 1.23
-GDBM_32_PKG_ARCH = $(PKGARCH)
-GDBM_32_PKG_DISTRO_NAME = $(DISTRO_NAME)
-GDBM_32_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-GDBM_32_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-GDBM_32_PKG_SHORT_DESCRIPTION = GNU database routines
-GDBM_32_PKG_URL = $(BUG_URL)
-GDBM_32_PKG_LICENSE = GPLv3
-GDBM_32_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(GDBM_32_PKG_NAME)-pkg-description
-GDBM_32_PKG_DESCRIPTION_FILE_IN = $(GDBM_32_PKG_NAME)-pkg-description.in
-GDBM_32_PKG_INSTALL_SCRIPT = $(GDBM_32_PKG_NAME)-pkg-install.sh
-
-GDBM_32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(GDBM_32_PKG_NAME)-package
-
-pkg_basename = $(GDBM_32_PKG_NAME)-$(GDBM_32_PKG_VERSION)-$(GDBM_32_PKG_ARCH)-$(GDBM_32_PKG_DISTRO_NAME)-$(GDBM_32_PKG_DISTRO_VERSION)
-
-pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
-pkg_certificate = $(call cert-name,$(pkg_archive))
-pkg_signature = $(call sign-name,$(pkg_archive))
-pkg_description = $(call desc-name,$(pkg_archive))
-products = $(call pkg-files,$(pkg_archive))
-
-BUILD_TARGETS = $(build_target)
-BUILD_TARGETS += $(install_target)
-
-PRODUCT_TARGETS = $(products)
-
-ROOTFS_TARGETS = $(pkg_archive)
-
-
-include ../../../build-system/core.mk
-
-
-env_sysroot = DESTDIR=$(GDBM_32_PKG)
-
-
-extra_configure_switches = --libdir=/usr/lib$(MULTILIB_X86_32_SUFFIX)
-extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
-extra_configure_switches += --infodir=/usr/share/info
-extra_configure_switches += --mandir=/usr/share/man
-extra_configure_switches += --disable-dependency-tracking
-extra_configure_switches += --enable-libgdbm-compat
-ifeq ($(__ENABLE_STATIC__),yes)
-extra_configure_switches += --enable-static=yes
-else
-extra_configure_switches += --enable-static=no
-endif
-extra_configure_switches += --enable-shared=yes
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
- $(APPLY_PATCHES)
- @cp -a $(CONFIG_GUESS) $(CONFIG_SUB) $(SRC_DIR)/build-aux
- @touch $@
-
-$(build_target): $(src_done)
- @mkdir -p $(build_dir)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
- --prefix=/usr \
- --build=$(BUILD) \
- --host=$(TARGET32) \
- $(extra_configure_switches)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
- @touch $@
-
-$(install_target): $(build_target)
- @mkdir -p $(GDBM_32_PKG)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
- @mkdir -p $(GDBM_32_PKG)/usr/bin/32
- @( cd $(GDBM_32_PKG)/usr/bin ; \
- find . -type f | xargs mv -t 32 ; \
- )
- @rm -rf $(GDBM_32_PKG)/usr/include
- @rm -rf $(GDBM_32_PKG)/usr/share
- # ======= remove toolchain path from target libtool *.la files =======
- @( cd $(GDBM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
- sed -i "s,$(TARGET_DEST_DIR),,g" libgdbm.la libgdbm_compat.la \
- )
- # ======= Install the same to $(TARGET_DEST_DIR) =======
- $(call install-into-devenv, $(GDBM_32_PKG))
- # ======= tune libtool *.la search path to the target destination for development =======
- @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
- sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libgdbm.la libgdbm_compat.la ; \
- sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libgdbm.la libgdbm_compat.la \
- )
- # ======= Strip binaries =======
- @( cd $(GDBM_32_PKG) ; \
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- )
-ifeq ($(__ENABLE_STATIC__),yes)
- @( cd $(GDBM_32_PKG) ; \
- find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
- )
-endif
- @touch $@
-
-$(GDBM_32_PKG_DESCRIPTION_FILE): $(GDBM_32_PKG_DESCRIPTION_FILE_IN)
- @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
-
-$(pkg_certificate) : $(pkg_archive) ;
-$(pkg_signature) : $(pkg_archive) ;
-$(pkg_description) : $(pkg_archive) ;
-
-$(pkg_archive): $(install_target) $(GDBM_32_PKG_DESCRIPTION_FILE) $(GDBM_32_PKG_INSTALL_SCRIPT)
- @cp $(GDBM_32_PKG_DESCRIPTION_FILE) $(GDBM_32_PKG)/.DESCRIPTION
- @cp $(GDBM_32_PKG_INSTALL_SCRIPT) $(GDBM_32_PKG)/.INSTALL
- @$(BUILD_PKG_REQUIRES) $(GDBM_32_PKG)/.REQUIRES
- @echo "pkgname=$(GDBM_32_PKG_NAME)" > $(GDBM_32_PKG)/.PKGINFO ; \
- echo "pkgver=$(GDBM_32_PKG_VERSION)" >> $(GDBM_32_PKG)/.PKGINFO ; \
- echo "arch=$(GDBM_32_PKG_ARCH)" >> $(GDBM_32_PKG)/.PKGINFO ; \
- echo "distroname=$(GDBM_32_PKG_DISTRO_NAME)" >> $(GDBM_32_PKG)/.PKGINFO ; \
- echo "distrover=$(GDBM_32_PKG_DISTRO_VERSION)" >> $(GDBM_32_PKG)/.PKGINFO ; \
- echo "group=$(GDBM_32_PKG_GROUP)" >> $(GDBM_32_PKG)/.PKGINFO ; \
- echo "short_description=\"$(GDBM_32_PKG_SHORT_DESCRIPTION)\"" >> $(GDBM_32_PKG)/.PKGINFO ; \
- echo "url=$(GDBM_32_PKG_URL)" >> $(GDBM_32_PKG)/.PKGINFO ; \
- echo "license=$(GDBM_32_PKG_LICENSE)" >> $(GDBM_32_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(GDBM_32_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: libs/gdbm/1.23-x86_32
===================================================================
--- libs/gdbm/1.23-x86_32 (revision 443)
+++ libs/gdbm/1.23-x86_32 (nonexistent)
Property changes on: libs/gdbm/1.23-x86_32
___________________________________________________________________
Deleted: svn:ignore
## -1,74 +0,0 ##
-
-# install dir
-dist
-
-# Target build dirs
-.a1x-newlib
-.a2x-newlib
-.at91sam7s-newlib
-
-.build-machine
-
-.a1x-glibc
-.a2x-glibc
-.h3-glibc
-.h5-glibc
-.i586-glibc
-.i686-glibc
-.imx6-glibc
-.jz47xx-glibc
-.makefile
-.am335x-glibc
-.omap543x-glibc
-.p5600-glibc
-.power8-glibc
-.power8le-glibc
-.power9-glibc
-.power9le-glibc
-.m1000-glibc
-.riscv64-glibc
-.rk328x-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.rk358x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.dist
-.rootfs
-
-# src & hw requires
-.src_requires
-.src_requires_depend
-.requires
-.requires_depend
-
-# Tarballs
-*.gz
-*.bz2
-*.lz
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Descriptions
-*.dsc
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# backup copies
-*~
Index: libs/gdbm/1.23/gdbm-pkg-description.in
===================================================================
--- libs/gdbm/1.23/gdbm-pkg-description.in (revision 443)
+++ libs/gdbm/1.23/gdbm-pkg-description.in (nonexistent)
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-gdbm: gdbm @VERSION@ (GNU database routines)
-gdbm:
-gdbm: GNU dbm is a set of database routines that work similar to the
-gdbm: standard UNIX dbm routines.
-gdbm:
-gdbm:
-gdbm:
-gdbm:
-gdbm:
-gdbm:
-gdbm:
Index: libs/gdbm/1.23/gdbm-pkg-install.sh
===================================================================
--- libs/gdbm/1.23/gdbm-pkg-install.sh (revision 443)
+++ libs/gdbm/1.23/gdbm-pkg-install.sh (nonexistent)
@@ -1,72 +0,0 @@
-#!/bin/sh
-
-# Preserve new files
-install_file() {
- NEW="$1"
- OLD="`dirname $NEW`/`basename $NEW .new`"
- # If there's no file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-
-# arg 1: the new package version
-pre_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-post_install() {
- #
- # NOTE:
- # 'install-info' can work using relative paths and we can make use build machine
- # utility during installation to the some partition and use target 'install-info'
- # during installation directly on the running target machine.
- #
- if [ -x /usr/bin/install-info ] ; then
- install-info --info-dir=usr/share/info usr/share/info/gdbm.info.gz 2>/dev/null
- elif ! grep "gdbm" usr/share/info/dir 1> /dev/null 2> /dev/null ; then
- cat << EOF >> usr/share/info/dir
-
-Programming & development tools
-* gdbm_dump: (gdbm) gdbm_dump. Dump the GDBM database into a flat file.
-* gdbm_load: (gdbm) gdbm_load. Load the database from a flat file.
-* gdbmtool: (gdbm) gdbmtool. Examine and modify a GDBM database.
-* GDBM: (gdbm). The GNU database manager.
-EOF
- fi
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_update() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_update() {
- post_install
-}
-
-# arg 1: the old package version
-pre_remove() {
- if [ -x /usr/bin/install-info ] ; then
- install-info --delete --info-file=usr/share/info/gdbm.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
- fi
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
-
-
-operation=$1
-shift
-
-$operation $*
Property changes on: libs/gdbm/1.23/gdbm-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: libs/gdbm/1.23/Makefile
===================================================================
--- libs/gdbm/1.23/Makefile (revision 443)
+++ libs/gdbm/1.23/Makefile (nonexistent)
@@ -1,250 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
-COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
-COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
-COMPONENT_TARGETS += $(HARDWARE_CB1X)
-COMPONENT_TARGETS += $(HARDWARE_CB2X)
-COMPONENT_TARGETS += $(HARDWARE_CB3X)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
-COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
-COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
-COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
-COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
-COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
-COMPONENT_TARGETS += $(HARDWARE_POIN2)
-COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
-COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
-COMPONENT_TARGETS += $(HARDWARE_M201)
-COMPONENT_TARGETS += $(HARDWARE_MXV)
-COMPONENT_TARGETS += $(HARDWARE_P201)
-COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
-COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
-COMPONENT_TARGETS += $(HARDWARE_P212)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
-COMPONENT_TARGETS += $(HARDWARE_Q201)
-COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
-COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
-COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
-COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
-COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
-COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
-COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
-COMPONENT_TARGETS += $(HARDWARE_CI20)
-COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
-COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
-COMPONENT_TARGETS += $(HARDWARE_S824L)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN)
-COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
-COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
-COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
-
-
-NEED_ABS_PATH = true
-COMPONENT_IS_3PP = true
-
-
-include ../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/GNU/gdbm
-
-ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
-REQUIRES = dev/gcc/14.2.0
-else
-REQUIRES = libs/glibc/2.41
-endif
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 1.23
-tar_gz_archive = $(SRC_PACKAGE_PATH)/GNU/gdbm/gdbm-$(version).tar.gz
-SRC_ARCHIVE = $(tar_gz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/gdbm-$(version)
-src_dir_name = gdbm-$(version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-PATCHES = PATCHES
-
-build_dir = $(TARGET_BUILD_DIR)/build
-build_target = $(TARGET_BUILD_DIR)/.build_done
-install_target = $(TARGET_BUILD_DIR)/.install_done
-
-
-####### Targets
-
-PKG_GROUP = libs
-
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-GDBM_PKG_NAME = gdbm
-GDBM_PKG_VERSION = 1.23
-GDBM_PKG_ARCH = $(PKGARCH)
-GDBM_PKG_DISTRO_NAME = $(DISTRO_NAME)
-GDBM_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-GDBM_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-GDBM_PKG_SHORT_DESCRIPTION = GNU database routines
-GDBM_PKG_URL = $(BUG_URL)
-GDBM_PKG_LICENSE = GPLv3
-GDBM_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(GDBM_PKG_NAME)-pkg-description
-GDBM_PKG_DESCRIPTION_FILE_IN = $(GDBM_PKG_NAME)-pkg-description.in
-GDBM_PKG_INSTALL_SCRIPT = $(GDBM_PKG_NAME)-pkg-install.sh
-
-GDBM_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(GDBM_PKG_NAME)-package
-
-pkg_basename = $(GDBM_PKG_NAME)-$(GDBM_PKG_VERSION)-$(GDBM_PKG_ARCH)-$(GDBM_PKG_DISTRO_NAME)-$(GDBM_PKG_DISTRO_VERSION)
-
-pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
-pkg_certificate = $(call cert-name,$(pkg_archive))
-pkg_signature = $(call sign-name,$(pkg_archive))
-pkg_description = $(call desc-name,$(pkg_archive))
-products = $(call pkg-files,$(pkg_archive))
-
-BUILD_TARGETS = $(build_target)
-BUILD_TARGETS += $(install_target)
-
-PRODUCT_TARGETS = $(products)
-
-ROOTFS_TARGETS = $(pkg_archive)
-
-
-include ../../../build-system/core.mk
-
-
-env_sysroot = DESTDIR=$(GDBM_PKG)
-
-
-extra_configure_switches = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
-extra_configure_switches += --infodir=/usr/share/info
-extra_configure_switches += --mandir=/usr/share/man
-extra_configure_switches += --disable-dependency-tracking
-extra_configure_switches += --enable-libgdbm-compat
-ifeq ($(__ENABLE_STATIC__),yes)
-extra_configure_switches += --enable-static=yes
-else
-extra_configure_switches += --enable-static=no
-endif
-extra_configure_switches += --enable-shared=yes
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
- $(APPLY_PATCHES)
- @cp -a $(CONFIG_GUESS) $(CONFIG_SUB) $(SRC_DIR)/build-aux
- @touch $@
-
-$(build_target): $(src_done)
- @mkdir -p $(build_dir)
- @cd $(build_dir) && \
- $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
- --prefix=/usr \
- --build=$(BUILD) \
- --host=$(TARGET) \
- $(extra_configure_switches)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
- @touch $@
-
-$(install_target): $(build_target)
- @mkdir -p $(GDBM_PKG)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
- @mkdir -p $(GDBM_PKG)/usr/include/gdbm
- @( cd $(GDBM_PKG)/usr/include/gdbm ; \
- ln -sf ../dbm.h . ; \
- ln -sf ../gdbm.h . ; \
- ln -sf ../ndbm.h . ; \
- )
- @rm -f $(GDBM_PKG)/usr/share/info/dir
- @gzip -9 $(GDBM_PKG)/usr/share/info/*
- @if [ -d $(GDBM_PKG)/usr/share/man ]; then \
- ( cd $(GDBM_PKG)/usr/share/man ; \
- for manpagedir in `find . -type d -name "man*"` ; do \
- ( cd $$manpagedir ; \
- for eachpage in `find . -type l -maxdepth 1` ; do \
- ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
- rm $$eachpage ; \
- done ; \
- gzip -9 *.? ; \
- ) \
- done \
- ) \
- fi
- # ======= Install Documentation =======
- @mkdir -p $(GDBM_PKG)/usr/doc/$(src_dir_name)
- @cp -a $(SRC_DIR)/AUTHORS $(SRC_DIR)/COPYING \
- $(GDBM_PKG)/usr/doc/$(src_dir_name)
- @mkdir -p $(GDBM_PKG)/usr/share/doc/$(src_dir_name)
- @( cd $(SRC_DIR) ; \
- cp -a ABOUT-NLS AUTHORS COPYING INSTALL \
- NEWS NOTE-WARNING README THANKS \
- $(GDBM_PKG)/usr/share/doc/$(src_dir_name) ; \
- )
- @( cd $(SRC_DIR) ; \
- if [ -r ChangeLog ]; then \
- DOCSDIR=`echo $(GDBM_PKG)/usr/share/doc/$(src_dir_name)` ; \
- cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
- touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
- fi \
- )
- # ======= remove toolchain path from target libtool *.la files =======
- @( cd $(GDBM_PKG)/usr/lib$(LIBSUFFIX) ; \
- sed -i "s,$(TARGET_DEST_DIR),,g" libgdbm.la libgdbm_compat.la \
- )
- # ======= Install the same to $(TARGET_DEST_DIR) =======
- $(call install-into-devenv, $(GDBM_PKG))
- # ======= tune libtool *.la search path to the target destination for development =======
- @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) ; \
- sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libgdbm.la libgdbm_compat.la ; \
- sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libgdbm.la libgdbm_compat.la \
- )
- # ======= Strip binaries =======
- @( cd $(GDBM_PKG) ; \
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- )
-ifeq ($(__ENABLE_STATIC__),yes)
- @( cd $(GDBM_PKG) ; \
- find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
- )
-endif
- @touch $@
-
-$(GDBM_PKG_DESCRIPTION_FILE): $(GDBM_PKG_DESCRIPTION_FILE_IN)
- @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
-
-$(pkg_certificate) : $(pkg_archive) ;
-$(pkg_signature) : $(pkg_archive) ;
-$(pkg_description) : $(pkg_archive) ;
-
-$(pkg_archive): $(install_target) $(GDBM_PKG_DESCRIPTION_FILE) $(GDBM_PKG_INSTALL_SCRIPT)
- @cp $(GDBM_PKG_DESCRIPTION_FILE) $(GDBM_PKG)/.DESCRIPTION
- @cp $(GDBM_PKG_INSTALL_SCRIPT) $(GDBM_PKG)/.INSTALL
- @$(BUILD_PKG_REQUIRES) $(GDBM_PKG)/.REQUIRES
- @echo "pkgname=$(GDBM_PKG_NAME)" > $(GDBM_PKG)/.PKGINFO ; \
- echo "pkgver=$(GDBM_PKG_VERSION)" >> $(GDBM_PKG)/.PKGINFO ; \
- echo "arch=$(GDBM_PKG_ARCH)" >> $(GDBM_PKG)/.PKGINFO ; \
- echo "distroname=$(GDBM_PKG_DISTRO_NAME)" >> $(GDBM_PKG)/.PKGINFO ; \
- echo "distrover=$(GDBM_PKG_DISTRO_VERSION)" >> $(GDBM_PKG)/.PKGINFO ; \
- echo "group=$(GDBM_PKG_GROUP)" >> $(GDBM_PKG)/.PKGINFO ; \
- echo "short_description=\"$(GDBM_PKG_SHORT_DESCRIPTION)\"" >> $(GDBM_PKG)/.PKGINFO ; \
- echo "url=$(GDBM_PKG_URL)" >> $(GDBM_PKG)/.PKGINFO ; \
- echo "license=$(GDBM_PKG_LICENSE)" >> $(GDBM_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(GDBM_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: libs/gdbm/1.23
===================================================================
--- libs/gdbm/1.23 (revision 443)
+++ libs/gdbm/1.23 (nonexistent)
Property changes on: libs/gdbm/1.23
___________________________________________________________________
Deleted: svn:ignore
## -1,74 +0,0 ##
-
-# install dir
-dist
-
-# Target build dirs
-.a1x-newlib
-.a2x-newlib
-.at91sam7s-newlib
-
-.build-machine
-
-.a1x-glibc
-.a2x-glibc
-.h3-glibc
-.h5-glibc
-.i586-glibc
-.i686-glibc
-.imx6-glibc
-.jz47xx-glibc
-.makefile
-.am335x-glibc
-.omap543x-glibc
-.p5600-glibc
-.power8-glibc
-.power8le-glibc
-.power9-glibc
-.power9le-glibc
-.m1000-glibc
-.riscv64-glibc
-.rk328x-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.rk358x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.dist
-.rootfs
-
-# src & hw requires
-.src_requires
-.src_requires_depend
-.requires
-.requires_depend
-
-# Tarballs
-*.gz
-*.bz2
-*.lz
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Descriptions
-*.dsc
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# backup copies
-*~
Index: libs/gdbm/1.24/Makefile
===================================================================
--- libs/gdbm/1.24/Makefile (nonexistent)
+++ libs/gdbm/1.24/Makefile (revision 444)
@@ -0,0 +1,251 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/GNU/gdbm
+
+ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
+REQUIRES = dev/gcc/14.2.0
+else
+REQUIRES = libs/glibc/2.41
+endif
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 1.24
+tar_gz_archive = $(SRC_PACKAGE_PATH)/GNU/gdbm/gdbm-$(version).tar.gz
+SRC_ARCHIVE = $(tar_gz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/gdbm-$(version)
+src_dir_name = gdbm-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = libs
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+GDBM_PKG_NAME = gdbm
+GDBM_PKG_VERSION = 1.24
+GDBM_PKG_ARCH = $(PKGARCH)
+GDBM_PKG_DISTRO_NAME = $(DISTRO_NAME)
+GDBM_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+GDBM_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+GDBM_PKG_SHORT_DESCRIPTION = GNU database routines
+GDBM_PKG_URL = $(BUG_URL)
+GDBM_PKG_LICENSE = GPLv3
+GDBM_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(GDBM_PKG_NAME)-pkg-description
+GDBM_PKG_DESCRIPTION_FILE_IN = $(GDBM_PKG_NAME)-pkg-description.in
+GDBM_PKG_INSTALL_SCRIPT = $(GDBM_PKG_NAME)-pkg-install.sh
+
+GDBM_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(GDBM_PKG_NAME)-package
+
+pkg_basename = $(GDBM_PKG_NAME)-$(GDBM_PKG_VERSION)-$(GDBM_PKG_ARCH)-$(GDBM_PKG_DISTRO_NAME)-$(GDBM_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_certificate = $(call cert-name,$(pkg_archive))
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(GDBM_PKG)
+
+
+extra_configure_switches = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
+extra_configure_switches += --infodir=/usr/share/info
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --disable-dependency-tracking
+extra_configure_switches += --enable-libgdbm-compat
+
+ifeq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --enable-static=yes
+else
+extra_configure_switches += --enable-static=no
+endif
+extra_configure_switches += --enable-shared=yes
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @cp -a $(CONFIG_GUESS) $(CONFIG_SUB) $(SRC_DIR)/build-aux
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && \
+ $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET) \
+ $(extra_configure_switches)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(GDBM_PKG)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ @mkdir -p $(GDBM_PKG)/usr/include/gdbm
+ @( cd $(GDBM_PKG)/usr/include/gdbm ; \
+ ln -sf ../dbm.h . ; \
+ ln -sf ../gdbm.h . ; \
+ ln -sf ../ndbm.h . ; \
+ )
+ @rm -f $(GDBM_PKG)/usr/share/info/dir
+ @gzip -9 $(GDBM_PKG)/usr/share/info/*
+ @if [ -d $(GDBM_PKG)/usr/share/man ]; then \
+ ( cd $(GDBM_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ # ======= Install Documentation =======
+ @mkdir -p $(GDBM_PKG)/usr/doc/$(src_dir_name)
+ @cp -a $(SRC_DIR)/AUTHORS $(SRC_DIR)/COPYING \
+ $(GDBM_PKG)/usr/doc/$(src_dir_name)
+ @mkdir -p $(GDBM_PKG)/usr/share/doc/$(src_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a ABOUT-NLS AUTHORS COPYING INSTALL \
+ NEWS NOTE-WARNING README THANKS \
+ $(GDBM_PKG)/usr/share/doc/$(src_dir_name) ; \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r ChangeLog ]; then \
+ DOCSDIR=`echo $(GDBM_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+ touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+ fi \
+ )
+ # ======= remove toolchain path from target libtool *.la files =======
+ @( cd $(GDBM_PKG)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libgdbm.la libgdbm_compat.la ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(GDBM_PKG))
+ # ======= tune libtool *.la search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libgdbm.la libgdbm_compat.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libgdbm.la libgdbm_compat.la \
+ )
+ # ======= Strip binaries =======
+ @( cd $(GDBM_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ifeq ($(__ENABLE_STATIC__),yes)
+ @( cd $(GDBM_PKG) ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
+ )
+endif
+ @touch $@
+
+$(GDBM_PKG_DESCRIPTION_FILE): $(GDBM_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(GDBM_PKG_DESCRIPTION_FILE) $(GDBM_PKG_INSTALL_SCRIPT)
+ @cp $(GDBM_PKG_DESCRIPTION_FILE) $(GDBM_PKG)/.DESCRIPTION
+ @cp $(GDBM_PKG_INSTALL_SCRIPT) $(GDBM_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(GDBM_PKG)/.REQUIRES
+ @echo "pkgname=$(GDBM_PKG_NAME)" > $(GDBM_PKG)/.PKGINFO ; \
+ echo "pkgver=$(GDBM_PKG_VERSION)" >> $(GDBM_PKG)/.PKGINFO ; \
+ echo "arch=$(GDBM_PKG_ARCH)" >> $(GDBM_PKG)/.PKGINFO ; \
+ echo "distroname=$(GDBM_PKG_DISTRO_NAME)" >> $(GDBM_PKG)/.PKGINFO ; \
+ echo "distrover=$(GDBM_PKG_DISTRO_VERSION)" >> $(GDBM_PKG)/.PKGINFO ; \
+ echo "group=$(GDBM_PKG_GROUP)" >> $(GDBM_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(GDBM_PKG_SHORT_DESCRIPTION)\"" >> $(GDBM_PKG)/.PKGINFO ; \
+ echo "url=$(GDBM_PKG_URL)" >> $(GDBM_PKG)/.PKGINFO ; \
+ echo "license=$(GDBM_PKG_LICENSE)" >> $(GDBM_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(GDBM_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: libs/gdbm/1.24/PATCHES
===================================================================
Index: libs/gdbm/1.24/gdbm-pkg-description.in
===================================================================
--- libs/gdbm/1.24/gdbm-pkg-description.in (nonexistent)
+++ libs/gdbm/1.24/gdbm-pkg-description.in (revision 444)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+gdbm: gdbm @VERSION@ (GNU database routines)
+gdbm:
+gdbm: GNU dbm is a set of database routines that work similar to the
+gdbm: standard UNIX dbm routines.
+gdbm:
+gdbm:
+gdbm:
+gdbm:
+gdbm:
+gdbm:
+gdbm:
Index: libs/gdbm/1.24/gdbm-pkg-install.sh
===================================================================
--- libs/gdbm/1.24/gdbm-pkg-install.sh (nonexistent)
+++ libs/gdbm/1.24/gdbm-pkg-install.sh (revision 444)
@@ -0,0 +1,72 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ #
+ # NOTE:
+ # 'install-info' can work using relative paths and we can make use build machine
+ # utility during installation to the some partition and use target 'install-info'
+ # during installation directly on the running target machine.
+ #
+ if [ -x /usr/bin/install-info ] ; then
+ install-info --info-dir=usr/share/info usr/share/info/gdbm.info.gz 2>/dev/null
+ elif ! grep "gdbm" usr/share/info/dir 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> usr/share/info/dir
+
+Programming & development tools
+* gdbm_dump: (gdbm) gdbm_dump. Dump the GDBM database into a flat file.
+* gdbm_load: (gdbm) gdbm_load. Load the database from a flat file.
+* gdbmtool: (gdbm) gdbmtool. Examine and modify a GDBM database.
+* GDBM: (gdbm). The GNU database manager.
+EOF
+ fi
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ if [ -x /usr/bin/install-info ] ; then
+ install-info --delete --info-file=usr/share/info/gdbm.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ fi
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: libs/gdbm/1.24/gdbm-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: libs/gdbm/1.24
===================================================================
--- libs/gdbm/1.24 (nonexistent)
+++ libs/gdbm/1.24 (revision 444)
Property changes on: libs/gdbm/1.24
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: libs/gdbm/1.24-ppc32/Makefile
===================================================================
--- libs/gdbm/1.24-ppc32/Makefile (nonexistent)
+++ libs/gdbm/1.24-ppc32/Makefile (revision 444)
@@ -0,0 +1,169 @@
+
+COMPONENT_TARGETS = $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+CREATE_PPC32_PACKAGE = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/GNU/gdbm
+
+REQUIRES = libs/gdbm/1.24
+REQUIRES += libs/glibc/2.41-ppc32
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 1.24
+tar_gz_archive = $(SRC_PACKAGE_PATH)/GNU/gdbm/gdbm-$(version).tar.gz
+SRC_ARCHIVE = $(tar_gz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/gdbm-$(version)
+src_dir_name = gdbm-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = libs
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+GDBM_32_PKG_NAME = gdbm-x32
+GDBM_32_PKG_VERSION = 1.24
+GDBM_32_PKG_ARCH = $(PKGARCH)
+GDBM_32_PKG_DISTRO_NAME = $(DISTRO_NAME)
+GDBM_32_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+GDBM_32_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+GDBM_32_PKG_SHORT_DESCRIPTION = GNU database routines
+GDBM_32_PKG_URL = $(BUG_URL)
+GDBM_32_PKG_LICENSE = GPLv3
+GDBM_32_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(GDBM_32_PKG_NAME)-pkg-description
+GDBM_32_PKG_DESCRIPTION_FILE_IN = $(GDBM_32_PKG_NAME)-pkg-description.in
+GDBM_32_PKG_INSTALL_SCRIPT = $(GDBM_32_PKG_NAME)-pkg-install.sh
+
+GDBM_32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(GDBM_32_PKG_NAME)-package
+
+pkg_basename = $(GDBM_32_PKG_NAME)-$(GDBM_32_PKG_VERSION)-$(GDBM_32_PKG_ARCH)-$(GDBM_32_PKG_DISTRO_NAME)-$(GDBM_32_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_certificate = $(call cert-name,$(pkg_archive))
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(GDBM_32_PKG)
+
+
+extra_configure_switches = --libdir=/usr/lib$(MULTILIB_PPC32_SUFFIX)
+extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
+extra_configure_switches += --infodir=/usr/share/info
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --disable-dependency-tracking
+extra_configure_switches += --enable-libgdbm-compat
+
+ifeq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --enable-static=yes
+else
+extra_configure_switches += --enable-static=no
+endif
+extra_configure_switches += --enable-shared=yes
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @cp -a $(CONFIG_GUESS) $(CONFIG_SUB) $(SRC_DIR)/build-aux
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET32) \
+ $(extra_configure_switches)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(GDBM_32_PKG)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ @mkdir -p $(GDBM_32_PKG)/usr/bin/32
+ @( cd $(GDBM_32_PKG)/usr/bin ; \
+ find . -type f | xargs mv -t 32 ; \
+ )
+ @rm -rf $(GDBM_32_PKG)/usr/include
+ @rm -rf $(GDBM_32_PKG)/usr/share
+ # ======= remove toolchain path from target libtool *.la files =======
+ @( cd $(GDBM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libgdbm.la libgdbm_compat.la ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(GDBM_32_PKG))
+ # ======= tune libtool *.la search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libgdbm.la libgdbm_compat.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libgdbm.la libgdbm_compat.la ; \
+ )
+ # ======= Strip binaries =======
+ @( cd $(GDBM_32_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ifeq ($(__ENABLE_STATIC__),yes)
+ @( cd $(GDBM_32_PKG) ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
+ )
+endif
+ @touch $@
+
+$(GDBM_32_PKG_DESCRIPTION_FILE): $(GDBM_32_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(GDBM_32_PKG_DESCRIPTION_FILE) $(GDBM_32_PKG_INSTALL_SCRIPT)
+ @cp $(GDBM_32_PKG_DESCRIPTION_FILE) $(GDBM_32_PKG)/.DESCRIPTION
+ @cp $(GDBM_32_PKG_INSTALL_SCRIPT) $(GDBM_32_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(GDBM_32_PKG)/.REQUIRES
+ @echo "pkgname=$(GDBM_32_PKG_NAME)" > $(GDBM_32_PKG)/.PKGINFO ; \
+ echo "pkgver=$(GDBM_32_PKG_VERSION)" >> $(GDBM_32_PKG)/.PKGINFO ; \
+ echo "arch=$(GDBM_32_PKG_ARCH)" >> $(GDBM_32_PKG)/.PKGINFO ; \
+ echo "distroname=$(GDBM_32_PKG_DISTRO_NAME)" >> $(GDBM_32_PKG)/.PKGINFO ; \
+ echo "distrover=$(GDBM_32_PKG_DISTRO_VERSION)" >> $(GDBM_32_PKG)/.PKGINFO ; \
+ echo "group=$(GDBM_32_PKG_GROUP)" >> $(GDBM_32_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(GDBM_32_PKG_SHORT_DESCRIPTION)\"" >> $(GDBM_32_PKG)/.PKGINFO ; \
+ echo "url=$(GDBM_32_PKG_URL)" >> $(GDBM_32_PKG)/.PKGINFO ; \
+ echo "license=$(GDBM_32_PKG_LICENSE)" >> $(GDBM_32_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(GDBM_32_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: libs/gdbm/1.24-ppc32/PATCHES
===================================================================
Index: libs/gdbm/1.24-ppc32/gdbm-x32-pkg-description.in
===================================================================
--- libs/gdbm/1.24-ppc32/gdbm-x32-pkg-description.in (nonexistent)
+++ libs/gdbm/1.24-ppc32/gdbm-x32-pkg-description.in (revision 444)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+gdbm-x32: gdbm-x32 @VERSION@ (GNU database routines)
+gdbm-x32:
+gdbm-x32: GNU dbm is a set of database routines that work similar to the
+gdbm-x32: standard UNIX dbm routines.
+gdbm-x32:
+gdbm-x32:
+gdbm-x32:
+gdbm-x32:
+gdbm-x32:
+gdbm-x32:
+gdbm-x32:
Index: libs/gdbm/1.24-ppc32/gdbm-x32-pkg-install.sh
===================================================================
--- libs/gdbm/1.24-ppc32/gdbm-x32-pkg-install.sh (nonexistent)
+++ libs/gdbm/1.24-ppc32/gdbm-x32-pkg-install.sh (revision 444)
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: libs/gdbm/1.24-ppc32/gdbm-x32-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: libs/gdbm/1.24-ppc32
===================================================================
--- libs/gdbm/1.24-ppc32 (nonexistent)
+++ libs/gdbm/1.24-ppc32 (revision 444)
Property changes on: libs/gdbm/1.24-ppc32
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: libs/gdbm/1.24-x86_32/Makefile
===================================================================
--- libs/gdbm/1.24-x86_32/Makefile (nonexistent)
+++ libs/gdbm/1.24-x86_32/Makefile (revision 444)
@@ -0,0 +1,166 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC64)
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+CREATE_X86_32_PACKAGE = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/GNU/gdbm
+
+REQUIRES = libs/gdbm/1.24
+REQUIRES += libs/glibc/2.41-x86_32
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 1.24
+tar_gz_archive = $(SRC_PACKAGE_PATH)/GNU/gdbm/gdbm-$(version).tar.gz
+SRC_ARCHIVE = $(tar_gz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/gdbm-$(version)
+src_dir_name = gdbm-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = libs
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+GDBM_32_PKG_NAME = gdbm-x32
+GDBM_32_PKG_VERSION = 1.24
+GDBM_32_PKG_ARCH = $(PKGARCH)
+GDBM_32_PKG_DISTRO_NAME = $(DISTRO_NAME)
+GDBM_32_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+GDBM_32_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+GDBM_32_PKG_SHORT_DESCRIPTION = GNU database routines
+GDBM_32_PKG_URL = $(BUG_URL)
+GDBM_32_PKG_LICENSE = GPLv3
+GDBM_32_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(GDBM_32_PKG_NAME)-pkg-description
+GDBM_32_PKG_DESCRIPTION_FILE_IN = $(GDBM_32_PKG_NAME)-pkg-description.in
+GDBM_32_PKG_INSTALL_SCRIPT = $(GDBM_32_PKG_NAME)-pkg-install.sh
+
+GDBM_32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(GDBM_32_PKG_NAME)-package
+
+pkg_basename = $(GDBM_32_PKG_NAME)-$(GDBM_32_PKG_VERSION)-$(GDBM_32_PKG_ARCH)-$(GDBM_32_PKG_DISTRO_NAME)-$(GDBM_32_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_certificate = $(call cert-name,$(pkg_archive))
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(GDBM_32_PKG)
+
+
+extra_configure_switches = --libdir=/usr/lib$(MULTILIB_X86_32_SUFFIX)
+extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
+extra_configure_switches += --infodir=/usr/share/info
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --disable-dependency-tracking
+extra_configure_switches += --enable-libgdbm-compat
+
+ifeq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --enable-static=yes
+else
+extra_configure_switches += --enable-static=no
+endif
+extra_configure_switches += --enable-shared=yes
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @cp -a $(CONFIG_GUESS) $(CONFIG_SUB) $(SRC_DIR)/build-aux
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET32) \
+ $(extra_configure_switches)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(GDBM_32_PKG)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ @mkdir -p $(GDBM_32_PKG)/usr/bin/32
+ @( cd $(GDBM_32_PKG)/usr/bin ; \
+ find . -type f | xargs mv -t 32 ; \
+ )
+ @rm -rf $(GDBM_32_PKG)/usr/include
+ @rm -rf $(GDBM_32_PKG)/usr/share
+ # ======= remove toolchain path from target libtool *.la files =======
+ @( cd $(GDBM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libgdbm.la libgdbm_compat.la ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(GDBM_32_PKG))
+ # ======= tune libtool *.la search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libgdbm.la libgdbm_compat.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libgdbm.la libgdbm_compat.la ; \
+ )
+ # ======= Strip binaries =======
+ @( cd $(GDBM_32_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ifeq ($(__ENABLE_STATIC__),yes)
+ @( cd $(GDBM_32_PKG) ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
+ )
+endif
+ @touch $@
+
+$(GDBM_32_PKG_DESCRIPTION_FILE): $(GDBM_32_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(GDBM_32_PKG_DESCRIPTION_FILE) $(GDBM_32_PKG_INSTALL_SCRIPT)
+ @cp $(GDBM_32_PKG_DESCRIPTION_FILE) $(GDBM_32_PKG)/.DESCRIPTION
+ @cp $(GDBM_32_PKG_INSTALL_SCRIPT) $(GDBM_32_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(GDBM_32_PKG)/.REQUIRES
+ @echo "pkgname=$(GDBM_32_PKG_NAME)" > $(GDBM_32_PKG)/.PKGINFO ; \
+ echo "pkgver=$(GDBM_32_PKG_VERSION)" >> $(GDBM_32_PKG)/.PKGINFO ; \
+ echo "arch=$(GDBM_32_PKG_ARCH)" >> $(GDBM_32_PKG)/.PKGINFO ; \
+ echo "distroname=$(GDBM_32_PKG_DISTRO_NAME)" >> $(GDBM_32_PKG)/.PKGINFO ; \
+ echo "distrover=$(GDBM_32_PKG_DISTRO_VERSION)" >> $(GDBM_32_PKG)/.PKGINFO ; \
+ echo "group=$(GDBM_32_PKG_GROUP)" >> $(GDBM_32_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(GDBM_32_PKG_SHORT_DESCRIPTION)\"" >> $(GDBM_32_PKG)/.PKGINFO ; \
+ echo "url=$(GDBM_32_PKG_URL)" >> $(GDBM_32_PKG)/.PKGINFO ; \
+ echo "license=$(GDBM_32_PKG_LICENSE)" >> $(GDBM_32_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(GDBM_32_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: libs/gdbm/1.24-x86_32/PATCHES
===================================================================
Index: libs/gdbm/1.24-x86_32/gdbm-x32-pkg-description.in
===================================================================
--- libs/gdbm/1.24-x86_32/gdbm-x32-pkg-description.in (nonexistent)
+++ libs/gdbm/1.24-x86_32/gdbm-x32-pkg-description.in (revision 444)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+gdbm-x32: gdbm-x32 @VERSION@ (GNU database routines)
+gdbm-x32:
+gdbm-x32: GNU dbm is a set of database routines that work similar to the
+gdbm-x32: standard UNIX dbm routines.
+gdbm-x32:
+gdbm-x32:
+gdbm-x32:
+gdbm-x32:
+gdbm-x32:
+gdbm-x32:
+gdbm-x32:
Index: libs/gdbm/1.24-x86_32/gdbm-x32-pkg-install.sh
===================================================================
--- libs/gdbm/1.24-x86_32/gdbm-x32-pkg-install.sh (nonexistent)
+++ libs/gdbm/1.24-x86_32/gdbm-x32-pkg-install.sh (revision 444)
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: libs/gdbm/1.24-x86_32/gdbm-x32-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: libs/gdbm/1.24-x86_32
===================================================================
--- libs/gdbm/1.24-x86_32 (nonexistent)
+++ libs/gdbm/1.24-x86_32 (revision 444)
Property changes on: libs/gdbm/1.24-x86_32
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: libs/glib2/2.76.0/Makefile
===================================================================
--- libs/glib2/2.76.0/Makefile (revision 443)
+++ libs/glib2/2.76.0/Makefile (revision 444)
@@ -60,7 +60,7 @@
SOURCE_REQUIRES = sources/GNOME/core/glib2
-REQUIRES = libs/libffi/3.4.6
+REQUIRES = libs/libffi/3.4.7
REQUIRES += libs/elfutils/0.192
REQUIRES += libs/pcre2/10.45
REQUIRES += app/attr/2.5.2
Index: libs/glib2/2.76.0-ppc32/Makefile
===================================================================
--- libs/glib2/2.76.0-ppc32/Makefile (revision 443)
+++ libs/glib2/2.76.0-ppc32/Makefile (revision 444)
@@ -16,7 +16,7 @@
SOURCE_REQUIRES = sources/GNOME/core/glib2
REQUIRES = libs/glib2/2.76.0
-REQUIRES += libs/libffi/3.4.6-ppc32
+REQUIRES += libs/libffi/3.4.7-ppc32
REQUIRES += libs/elfutils/0.192-ppc32
REQUIRES += libs/pcre2/10.45-ppc32
REQUIRES += app/attr/2.5.2-ppc32
Index: libs/glib2/2.76.0-x86_32/Makefile
===================================================================
--- libs/glib2/2.76.0-x86_32/Makefile (revision 443)
+++ libs/glib2/2.76.0-x86_32/Makefile (revision 444)
@@ -13,7 +13,7 @@
SOURCE_REQUIRES = sources/GNOME/core/glib2
REQUIRES = libs/glib2/2.76.0
-REQUIRES += libs/libffi/3.4.6-x86_32
+REQUIRES += libs/libffi/3.4.7-x86_32
REQUIRES += libs/elfutils/0.192-x86_32
REQUIRES += libs/pcre2/10.45-x86_32
REQUIRES += app/attr/2.5.2-x86_32
Index: libs/gobject-introspection/1.76.1/Makefile
===================================================================
--- libs/gobject-introspection/1.76.1/Makefile (revision 443)
+++ libs/gobject-introspection/1.76.1/Makefile (revision 444)
@@ -61,7 +61,7 @@
SOURCE_REQUIRES = sources/GNOME/core/gobject-introspection
REQUIRES = libs/glib2/2.76.0
-REQUIRES += libs/libffi/3.4.6
+REQUIRES += libs/libffi/3.4.7
REQUIRES += dev/python3/3.10.8
# ======= __END_OF_REQUIRES__ =======
Index: libs/gobject-introspection/1.76.1-ppc32/Makefile
===================================================================
--- libs/gobject-introspection/1.76.1-ppc32/Makefile (revision 443)
+++ libs/gobject-introspection/1.76.1-ppc32/Makefile (revision 444)
@@ -17,7 +17,7 @@
REQUIRES = libs/gobject-introspection/1.76.1
REQUIRES += libs/glib2/2.76.0-ppc32
-REQUIRES += libs/libffi/3.4.6-ppc32
+REQUIRES += libs/libffi/3.4.7-ppc32
REQUIRES += dev/python3/3.10.8-ppc32
# ======= __END_OF_REQUIRES__ =======
Index: libs/gobject-introspection/1.76.1-x86_32/Makefile
===================================================================
--- libs/gobject-introspection/1.76.1-x86_32/Makefile (revision 443)
+++ libs/gobject-introspection/1.76.1-x86_32/Makefile (revision 444)
@@ -14,7 +14,7 @@
REQUIRES = libs/gobject-introspection/1.76.1
REQUIRES += libs/glib2/2.76.0-x86_32
-REQUIRES += libs/libffi/3.4.6-x86_32
+REQUIRES += libs/libffi/3.4.7-x86_32
REQUIRES += dev/python3/3.10.8-x86_32
# ======= __END_OF_REQUIRES__ =======
Index: libs/libffi/3.4.6/libffi-pkg-description.in
===================================================================
--- libs/libffi/3.4.6/libffi-pkg-description.in (revision 443)
+++ libs/libffi/3.4.6/libffi-pkg-description.in (nonexistent)
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-libffi: libffi @VERSION@ (A Portable Foreign Function Interface Library)
-libffi:
-libffi: FFI stands for Foreign Function Interface. A foreign function
-libffi: interface is the popular name for the interface that allows code
-libffi: written in one language to call code written in another language.
-libffi: The libffi library really only provides the lowest, machine
-libffi: dependent layer of a fully featured foreign function interface.
-libffi:
-libffi: Homepage: http://sourceware.org/libffi/
-libffi:
-libffi:
Index: libs/libffi/3.4.6/libffi-pkg-install.sh
===================================================================
--- libs/libffi/3.4.6/libffi-pkg-install.sh (revision 443)
+++ libs/libffi/3.4.6/libffi-pkg-install.sh (nonexistent)
@@ -1,69 +0,0 @@
-#!/bin/sh
-
-# Preserve new files
-install_file() {
- NEW="$1"
- OLD="`dirname $NEW`/`basename $NEW .new`"
- # If there's no file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-
-# arg 1: the new package version
-pre_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-post_install() {
- #
- # NOTE:
- # 'install-info' can work using relative paths and we can make use build machine
- # utility during installation to the some partition and use target 'install-info'
- # during installation directly on the running target machine.
- #
- if [ -x /usr/bin/install-info ] ; then
- install-info --info-dir=usr/share/info usr/share/info/libffi.info.gz 2>/dev/null
- elif ! grep "(libffi)" usr/share/info/dir 1> /dev/null 2> /dev/null ; then
- cat << EOF >> usr/share/info/dir
-
-Development
-* libffi: (libffi). Portable foreign function interface library.
-EOF
- fi
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_update() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_update() {
- post_install
-}
-
-# arg 1: the old package version
-pre_remove() {
- if [ -x /usr/bin/install-info ] ; then
- install-info --delete --info-file=usr/share/info/libffi.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
- fi
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
-
-
-operation=$1
-shift
-
-$operation $*
Property changes on: libs/libffi/3.4.6/libffi-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: libs/libffi/3.4.6/Makefile
===================================================================
--- libs/libffi/3.4.6/Makefile (revision 443)
+++ libs/libffi/3.4.6/Makefile (nonexistent)
@@ -1,251 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
-COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
-COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
-COMPONENT_TARGETS += $(HARDWARE_CB1X)
-COMPONENT_TARGETS += $(HARDWARE_CB2X)
-COMPONENT_TARGETS += $(HARDWARE_CB3X)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
-COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
-COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
-COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
-COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
-COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
-COMPONENT_TARGETS += $(HARDWARE_POIN2)
-COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
-COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
-COMPONENT_TARGETS += $(HARDWARE_M201)
-COMPONENT_TARGETS += $(HARDWARE_MXV)
-COMPONENT_TARGETS += $(HARDWARE_P201)
-COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
-COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
-COMPONENT_TARGETS += $(HARDWARE_P212)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
-COMPONENT_TARGETS += $(HARDWARE_Q201)
-COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
-COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
-COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
-COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
-COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
-COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
-COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
-COMPONENT_TARGETS += $(HARDWARE_CI20)
-COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
-COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
-COMPONENT_TARGETS += $(HARDWARE_S824L)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN)
-COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
-COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
-COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
-
-
-NEED_ABS_PATH = true
-COMPONENT_IS_3PP = true
-
-
-include ../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/packages/l/libffi
-
-ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
-REQUIRES = dev/gcc/14.2.0
-else
-REQUIRES = libs/glibc/2.41
-endif
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 3.4.6
-tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/l/libffi/libffi-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/libffi-$(version)
-src_dir_name = libffi-$(version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-PATCHES = PATCHES
-
-build_dir = $(TARGET_BUILD_DIR)/build
-build_target = $(TARGET_BUILD_DIR)/.build_done
-install_target = $(TARGET_BUILD_DIR)/.install_done
-
-
-####### Targets
-
-PKG_GROUP = libs
-
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-LIBFFI_PKG_NAME = libffi
-LIBFFI_PKG_VERSION = 3.4.6
-LIBFFI_PKG_ARCH = $(PKGARCH)
-LIBFFI_PKG_DISTRO_NAME = $(DISTRO_NAME)
-LIBFFI_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-LIBFFI_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-LIBFFI_PKG_SHORT_DESCRIPTION = Portable Foreign Function Interface Library
-LIBFFI_PKG_URL = $(BUG_URL)
-LIBFFI_PKG_LICENSE = GPLv2
-LIBFFI_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(LIBFFI_PKG_NAME)-pkg-description
-LIBFFI_PKG_DESCRIPTION_FILE_IN = $(LIBFFI_PKG_NAME)-pkg-description.in
-LIBFFI_PKG_INSTALL_SCRIPT = $(LIBFFI_PKG_NAME)-pkg-install.sh
-
-LIBFFI_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(LIBFFI_PKG_NAME)-package
-
-pkg_basename = $(LIBFFI_PKG_NAME)-$(LIBFFI_PKG_VERSION)-$(LIBFFI_PKG_ARCH)-$(LIBFFI_PKG_DISTRO_NAME)-$(LIBFFI_PKG_DISTRO_VERSION)
-
-pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
-pkg_certificate = $(call cert-name,$(pkg_archive))
-pkg_signature = $(call sign-name,$(pkg_archive))
-pkg_description = $(call desc-name,$(pkg_archive))
-products = $(call pkg-files,$(pkg_archive))
-
-BUILD_TARGETS = $(build_target)
-BUILD_TARGETS += $(install_target)
-
-PRODUCT_TARGETS = $(products)
-
-ROOTFS_TARGETS = $(pkg_archive)
-
-
-include ../../../build-system/core.mk
-
-
-env_sysroot = DESTDIR=$(LIBFFI_PKG)
-
-
-extra_configure_switches = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
-extra_configure_switches += --mandir=/usr/share/man
-extra_configure_switches += --disable-dependency-tracking
-extra_configure_switches += --sysconfdir=/etc
-extra_configure_switches += --localstatedir=/var
-
-ifeq ($(__ENABLE_STATIC__),yes)
-extra_configure_switches += --enable-static=yes
-else
-extra_configure_switches += --enable-static=no
-endif
-extra_configure_switches += --enable-shared=yes
-
-
-CFLAGS += -Wno-deprecated-declarations
-
-LDFLAGS += -Wl,-rpath,/lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
- $(APPLY_PATCHES)
- @( cd $(SRC_DIR) ; ./autogen.sh )
- @touch $@
-
-$(build_target): $(src_done)
- @mkdir -p $(build_dir)
- @cd $(build_dir) && \
- $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
- --prefix=/usr \
- --build=$(BUILD) \
- --host=$(TARGET) \
- $(extra_configure_switches)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -C doc html pdf
- @touch $@
-
-$(install_target): $(build_target)
- @mkdir -p $(LIBFFI_PKG)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
- # ======= Install Documentation =======
- @rm -f $(LIBFFI_PKG)/usr/share/info/dir
- @gzip -9 $(LIBFFI_PKG)/usr/share/info/*
- @if [ -d $(LIBFFI_PKG)/usr/share/man ]; then \
- ( cd $(LIBFFI_PKG)/usr/share/man ; \
- for manpagedir in `find . -type d -name "man*"` ; do \
- ( cd $$manpagedir ; \
- for eachpage in `find . -type l -maxdepth 1` ; do \
- ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
- rm $$eachpage ; \
- done ; \
- gzip -9 *.? ; \
- ) \
- done \
- ) \
- fi
- @mkdir -p $(LIBFFI_PKG)/usr/share/doc/$(src_dir_name)/html
- @cp -a $(SRC_DIR)/LICENSE* $(SRC_DIR)/README* $(build_dir)/doc/libffi.pdf \
- $(LIBFFI_PKG)/usr/share/doc/$(src_dir_name)
- @cp -a $(build_dir)/doc/libffi.html/*.html \
- $(LIBFFI_PKG)/usr/share/doc/$(src_dir_name)/html
- @( cd $(SRC_DIR) ; \
- if [ -r ChangeLog.old ]; then \
- DOCSDIR=`echo $(LIBFFI_PKG)/usr/share/doc/$(src_dir_name)` ; \
- cat ChangeLog.old | head -n 1000 > $$DOCSDIR/ChangeLog.old ; \
- touch -r ChangeLog.old $$DOCSDIR/ChangeLog.old ; \
- fi \
- )
- # ======= Remove toolchain path from target libtool *.la files =======
- @( cd $(LIBFFI_PKG)/usr/lib$(LIBSUFFIX) ; \
- sed -i "s,$(TARGET_DEST_DIR),,g" libffi.la ; \
- )
- # ======= Install the same to $(TARGET_DEST_DIR) =======
- $(call install-into-devenv, $(LIBFFI_PKG))
- # ======= Tune libtool *.la search path to the target destination for development =======
- @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) ; \
- sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libffi.la ; \
- sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libffi.la ; \
- )
- # ======= Tune pkg-config *.pc search path to the target destination for development =======
- @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/pkgconfig ; \
- sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libffi.pc ; \
- )
- # ======= Strip binaries =======
- @( cd $(LIBFFI_PKG) ; \
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- )
-ifeq ($(__ENABLE_STATIC__),yes)
- @( cd $(LIBFFI_PKG) ; \
- find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
- )
-endif
- @touch $@
-
-$(LIBFFI_PKG_DESCRIPTION_FILE): $(LIBFFI_PKG_DESCRIPTION_FILE_IN)
- @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
-
-$(pkg_certificate) : $(pkg_archive) ;
-$(pkg_signature) : $(pkg_archive) ;
-$(pkg_description) : $(pkg_archive) ;
-
-$(pkg_archive): $(install_target) $(LIBFFI_PKG_DESCRIPTION_FILE) $(LIBFFI_PKG_INSTALL_SCRIPT)
- @cp $(LIBFFI_PKG_DESCRIPTION_FILE) $(LIBFFI_PKG)/.DESCRIPTION
- @cp $(LIBFFI_PKG_INSTALL_SCRIPT) $(LIBFFI_PKG)/.INSTALL
- @$(BUILD_PKG_REQUIRES) $(LIBFFI_PKG)/.REQUIRES
- @echo "pkgname=$(LIBFFI_PKG_NAME)" > $(LIBFFI_PKG)/.PKGINFO ; \
- echo "pkgver=$(LIBFFI_PKG_VERSION)" >> $(LIBFFI_PKG)/.PKGINFO ; \
- echo "arch=$(LIBFFI_PKG_ARCH)" >> $(LIBFFI_PKG)/.PKGINFO ; \
- echo "distroname=$(LIBFFI_PKG_DISTRO_NAME)" >> $(LIBFFI_PKG)/.PKGINFO ; \
- echo "distrover=$(LIBFFI_PKG_DISTRO_VERSION)" >> $(LIBFFI_PKG)/.PKGINFO ; \
- echo "group=$(LIBFFI_PKG_GROUP)" >> $(LIBFFI_PKG)/.PKGINFO ; \
- echo "short_description=\"$(LIBFFI_PKG_SHORT_DESCRIPTION)\"" >> $(LIBFFI_PKG)/.PKGINFO ; \
- echo "url=$(LIBFFI_PKG_URL)" >> $(LIBFFI_PKG)/.PKGINFO ; \
- echo "license=$(LIBFFI_PKG_LICENSE)" >> $(LIBFFI_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(LIBFFI_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: libs/libffi/3.4.6
===================================================================
--- libs/libffi/3.4.6 (revision 443)
+++ libs/libffi/3.4.6 (nonexistent)
Property changes on: libs/libffi/3.4.6
___________________________________________________________________
Deleted: svn:ignore
## -1,74 +0,0 ##
-
-# install dir
-dist
-
-# Target build dirs
-.a1x-newlib
-.a2x-newlib
-.at91sam7s-newlib
-
-.build-machine
-
-.a1x-glibc
-.a2x-glibc
-.h3-glibc
-.h5-glibc
-.i586-glibc
-.i686-glibc
-.imx6-glibc
-.jz47xx-glibc
-.makefile
-.am335x-glibc
-.omap543x-glibc
-.p5600-glibc
-.power8-glibc
-.power8le-glibc
-.power9-glibc
-.power9le-glibc
-.m1000-glibc
-.riscv64-glibc
-.rk328x-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.rk358x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.dist
-.rootfs
-
-# src & hw requires
-.src_requires
-.src_requires_depend
-.requires
-.requires_depend
-
-# Tarballs
-*.gz
-*.bz2
-*.lz
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Descriptions
-*.dsc
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# backup copies
-*~
Index: libs/libffi/3.4.6-ppc32/libffi-x32-pkg-description.in
===================================================================
--- libs/libffi/3.4.6-ppc32/libffi-x32-pkg-description.in (revision 443)
+++ libs/libffi/3.4.6-ppc32/libffi-x32-pkg-description.in (nonexistent)
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-libffi-x32: libffi-x32 @VERSION@ (A Portable Foreign Function Interface Lib)
-libffi-x32:
-libffi-x32: FFI stands for Foreign Function Interface. A foreign function
-libffi-x32: interface is the popular name for the interface that allows code
-libffi-x32: written in one language to call code written in another language.
-libffi-x32: The libffi library really only provides the lowest, machine
-libffi-x32: dependent layer of a fully featured foreign function interface.
-libffi-x32:
-libffi-x32: Homepage: http://sourceware.org/libffi/
-libffi-x32:
-libffi-x32:
Index: libs/libffi/3.4.6-ppc32/libffi-x32-pkg-install.sh
===================================================================
--- libs/libffi/3.4.6-ppc32/libffi-x32-pkg-install.sh (revision 443)
+++ libs/libffi/3.4.6-ppc32/libffi-x32-pkg-install.sh (nonexistent)
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-# arg 1: the new package version
-pre_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-post_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_update() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_update() {
- post_install
-}
-
-# arg 1: the old package version
-pre_remove() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
-
-
-operation=$1
-shift
-
-$operation $*
Property changes on: libs/libffi/3.4.6-ppc32/libffi-x32-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: libs/libffi/3.4.6-ppc32/Makefile
===================================================================
--- libs/libffi/3.4.6-ppc32/Makefile (revision 443)
+++ libs/libffi/3.4.6-ppc32/Makefile (nonexistent)
@@ -1,174 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_S824L)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
-
-NEED_ABS_PATH = true
-COMPONENT_IS_3PP = true
-
-CREATE_PPC32_PACKAGE = true
-
-
-include ../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/packages/l/libffi
-
-REQUIRES = libs/libffi/3.4.6
-REQUIRES += libs/glibc/2.41-ppc32
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 3.4.6
-tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/l/libffi/libffi-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/libffi-$(version)
-src_dir_name = libffi-$(version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-PATCHES = PATCHES
-
-build_dir = $(TARGET_BUILD_DIR)/build
-build_target = $(TARGET_BUILD_DIR)/.build_done
-install_target = $(TARGET_BUILD_DIR)/.install_done
-
-
-####### Targets
-
-PKG_GROUP = libs
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-LIBFFI32_PKG_NAME = libffi-x32
-LIBFFI32_PKG_VERSION = 3.4.6
-LIBFFI32_PKG_ARCH = $(PKGARCH)
-LIBFFI32_PKG_DISTRO_NAME = $(DISTRO_NAME)
-LIBFFI32_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-LIBFFI32_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-LIBFFI32_PKG_SHORT_DESCRIPTION = Portable Foreign Function Interface Library
-LIBFFI32_PKG_URL = $(BUG_URL)
-LIBFFI32_PKG_LICENSE = GPLv2
-LIBFFI32_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(LIBFFI32_PKG_NAME)-pkg-description
-LIBFFI32_PKG_DESCRIPTION_FILE_IN = $(LIBFFI32_PKG_NAME)-pkg-description.in
-LIBFFI32_PKG_INSTALL_SCRIPT = $(LIBFFI32_PKG_NAME)-pkg-install.sh
-
-LIBFFI32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(LIBFFI32_PKG_NAME)-package
-
-pkg_basename = $(LIBFFI32_PKG_NAME)-$(LIBFFI32_PKG_VERSION)-$(LIBFFI32_PKG_ARCH)-$(LIBFFI32_PKG_DISTRO_NAME)-$(LIBFFI32_PKG_DISTRO_VERSION)
-
-pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
-pkg_certificate = $(call cert-name,$(pkg_archive))
-pkg_signature = $(call sign-name,$(pkg_archive))
-pkg_description = $(call desc-name,$(pkg_archive))
-products = $(call pkg-files,$(pkg_archive))
-
-BUILD_TARGETS = $(build_target)
-BUILD_TARGETS += $(install_target)
-
-PRODUCT_TARGETS = $(products)
-
-ROOTFS_TARGETS = $(pkg_archive)
-
-
-include ../../../build-system/core.mk
-
-
-env_sysroot = DESTDIR=$(LIBFFI32_PKG)
-
-
-extra_configure_switches = --libdir=/usr/lib$(MULTILIB_PPC32_SUFFIX)
-extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
-extra_configure_switches += --mandir=/usr/share/man
-extra_configure_switches += --disable-dependency-tracking
-extra_configure_switches += --sysconfdir=/etc
-extra_configure_switches += --localstatedir=/var
-
-ifeq ($(__ENABLE_STATIC__),yes)
-extra_configure_switches += --enable-static=yes
-else
-extra_configure_switches += --enable-static=no
-endif
-extra_configure_switches += --enable-shared=yes
-
-
-CFLAGS += -Wno-deprecated-declarations
-
-LDFLAGS += -Wl,-rpath,/lib$(MULTILIB_PPC32_SUFFIX):/usr/lib$(MULTILIB_PPC32_SUFFIX)
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
- $(APPLY_PATCHES)
- @( cd $(SRC_DIR) ; ./autogen.sh )
- @touch $@
-
-$(build_target): $(src_done)
- @mkdir -p $(build_dir)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
- --prefix=/usr \
- --build=$(BUILD) \
- --host=$(TARGET32) \
- $(extra_configure_switches)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
- @touch $@
-
-$(install_target): $(build_target)
- @mkdir -p $(LIBFFI32_PKG)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
- @rm -rf $(LIBFFI32_PKG)/usr/include
- @rm -rf $(LIBFFI32_PKG)/usr/share
- # ======= Remove toolchain path from target libtool *.la files =======
- @( cd $(LIBFFI32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX) ; \
- sed -i "s,$(TARGET_DEST_DIR),,g" libffi.la ; \
- )
- # ======= Install the same to $(TARGET_DEST_DIR) =======
- $(call install-into-devenv, $(LIBFFI32_PKG))
- # ======= Tune libtool *.la search path to the target destination for development =======
- @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX) ; \
- sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libffi.la ; \
- sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libffi.la ; \
- )
- # ======= Tune pkg-config *.pc search path to the target destination for development =======
- @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/pkgconfig ; \
- sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libffi.pc ; \
- )
- # ======= Strip binaries =======
- @( cd $(LIBFFI32_PKG) ; \
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- )
-ifeq ($(__ENABLE_STATIC__),yes)
- @( cd $(LIBFFI32_PKG) ; \
- find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
- )
-endif
- @touch $@
-
-$(LIBFFI32_PKG_DESCRIPTION_FILE): $(LIBFFI32_PKG_DESCRIPTION_FILE_IN)
- @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
-
-$(pkg_certificate) : $(pkg_archive) ;
-$(pkg_signature) : $(pkg_archive) ;
-$(pkg_description) : $(pkg_archive) ;
-
-$(pkg_archive): $(install_target) $(LIBFFI32_PKG_DESCRIPTION_FILE) $(LIBFFI32_PKG_INSTALL_SCRIPT)
- @cp $(LIBFFI32_PKG_DESCRIPTION_FILE) $(LIBFFI32_PKG)/.DESCRIPTION
- @cp $(LIBFFI32_PKG_INSTALL_SCRIPT) $(LIBFFI32_PKG)/.INSTALL
- @$(BUILD_PKG_REQUIRES) $(LIBFFI32_PKG)/.REQUIRES
- @echo "pkgname=$(LIBFFI32_PKG_NAME)" > $(LIBFFI32_PKG)/.PKGINFO ; \
- echo "pkgver=$(LIBFFI32_PKG_VERSION)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
- echo "arch=$(LIBFFI32_PKG_ARCH)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
- echo "distroname=$(LIBFFI32_PKG_DISTRO_NAME)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
- echo "distrover=$(LIBFFI32_PKG_DISTRO_VERSION)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
- echo "group=$(LIBFFI32_PKG_GROUP)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
- echo "short_description=\"$(LIBFFI32_PKG_SHORT_DESCRIPTION)\"" >> $(LIBFFI32_PKG)/.PKGINFO ; \
- echo "url=$(LIBFFI32_PKG_URL)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
- echo "license=$(LIBFFI32_PKG_LICENSE)" >> $(LIBFFI32_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(LIBFFI32_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: libs/libffi/3.4.6-ppc32
===================================================================
--- libs/libffi/3.4.6-ppc32 (revision 443)
+++ libs/libffi/3.4.6-ppc32 (nonexistent)
Property changes on: libs/libffi/3.4.6-ppc32
___________________________________________________________________
Deleted: svn:ignore
## -1,74 +0,0 ##
-
-# install dir
-dist
-
-# Target build dirs
-.a1x-newlib
-.a2x-newlib
-.at91sam7s-newlib
-
-.build-machine
-
-.a1x-glibc
-.a2x-glibc
-.h3-glibc
-.h5-glibc
-.i586-glibc
-.i686-glibc
-.imx6-glibc
-.jz47xx-glibc
-.makefile
-.am335x-glibc
-.omap543x-glibc
-.p5600-glibc
-.power8-glibc
-.power8le-glibc
-.power9-glibc
-.power9le-glibc
-.m1000-glibc
-.riscv64-glibc
-.rk328x-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.rk358x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.dist
-.rootfs
-
-# src & hw requires
-.src_requires
-.src_requires_depend
-.requires
-.requires_depend
-
-# Tarballs
-*.gz
-*.bz2
-*.lz
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Descriptions
-*.dsc
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# backup copies
-*~
Index: libs/libffi/3.4.6-x86_32/libffi-x32-pkg-description.in
===================================================================
--- libs/libffi/3.4.6-x86_32/libffi-x32-pkg-description.in (revision 443)
+++ libs/libffi/3.4.6-x86_32/libffi-x32-pkg-description.in (nonexistent)
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-libffi-x32: libffi-x32 @VERSION@ (A Portable Foreign Function Interface Lib)
-libffi-x32:
-libffi-x32: FFI stands for Foreign Function Interface. A foreign function
-libffi-x32: interface is the popular name for the interface that allows code
-libffi-x32: written in one language to call code written in another language.
-libffi-x32: The libffi library really only provides the lowest, machine
-libffi-x32: dependent layer of a fully featured foreign function interface.
-libffi-x32:
-libffi-x32: Homepage: http://sourceware.org/libffi/
-libffi-x32:
-libffi-x32:
Index: libs/libffi/3.4.6-x86_32/libffi-x32-pkg-install.sh
===================================================================
--- libs/libffi/3.4.6-x86_32/libffi-x32-pkg-install.sh (revision 443)
+++ libs/libffi/3.4.6-x86_32/libffi-x32-pkg-install.sh (nonexistent)
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-# arg 1: the new package version
-pre_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-post_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_update() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_update() {
- post_install
-}
-
-# arg 1: the old package version
-pre_remove() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
-
-
-operation=$1
-shift
-
-$operation $*
Property changes on: libs/libffi/3.4.6-x86_32/libffi-x32-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: libs/libffi/3.4.6-x86_32/Makefile
===================================================================
--- libs/libffi/3.4.6-x86_32/Makefile (revision 443)
+++ libs/libffi/3.4.6-x86_32/Makefile (nonexistent)
@@ -1,171 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_INTEL_PC64)
-
-NEED_ABS_PATH = true
-COMPONENT_IS_3PP = true
-
-CREATE_X86_32_PACKAGE = true
-
-
-include ../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/packages/l/libffi
-
-REQUIRES = libs/libffi/3.4.6
-REQUIRES += libs/glibc/2.41-x86_32
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 3.4.6
-tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/l/libffi/libffi-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/libffi-$(version)
-src_dir_name = libffi-$(version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-PATCHES = PATCHES
-
-build_dir = $(TARGET_BUILD_DIR)/build
-build_target = $(TARGET_BUILD_DIR)/.build_done
-install_target = $(TARGET_BUILD_DIR)/.install_done
-
-
-####### Targets
-
-PKG_GROUP = libs
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-LIBFFI32_PKG_NAME = libffi-x32
-LIBFFI32_PKG_VERSION = 3.4.6
-LIBFFI32_PKG_ARCH = $(PKGARCH)
-LIBFFI32_PKG_DISTRO_NAME = $(DISTRO_NAME)
-LIBFFI32_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-LIBFFI32_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-LIBFFI32_PKG_SHORT_DESCRIPTION = Portable Foreign Function Interface Library
-LIBFFI32_PKG_URL = $(BUG_URL)
-LIBFFI32_PKG_LICENSE = GPLv2
-LIBFFI32_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(LIBFFI32_PKG_NAME)-pkg-description
-LIBFFI32_PKG_DESCRIPTION_FILE_IN = $(LIBFFI32_PKG_NAME)-pkg-description.in
-LIBFFI32_PKG_INSTALL_SCRIPT = $(LIBFFI32_PKG_NAME)-pkg-install.sh
-
-LIBFFI32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(LIBFFI32_PKG_NAME)-package
-
-pkg_basename = $(LIBFFI32_PKG_NAME)-$(LIBFFI32_PKG_VERSION)-$(LIBFFI32_PKG_ARCH)-$(LIBFFI32_PKG_DISTRO_NAME)-$(LIBFFI32_PKG_DISTRO_VERSION)
-
-pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
-pkg_certificate = $(call cert-name,$(pkg_archive))
-pkg_signature = $(call sign-name,$(pkg_archive))
-pkg_description = $(call desc-name,$(pkg_archive))
-products = $(call pkg-files,$(pkg_archive))
-
-BUILD_TARGETS = $(build_target)
-BUILD_TARGETS += $(install_target)
-
-PRODUCT_TARGETS = $(products)
-
-ROOTFS_TARGETS = $(pkg_archive)
-
-
-include ../../../build-system/core.mk
-
-
-env_sysroot = DESTDIR=$(LIBFFI32_PKG)
-
-
-extra_configure_switches = --libdir=/usr/lib$(MULTILIB_X86_32_SUFFIX)
-extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
-extra_configure_switches += --mandir=/usr/share/man
-extra_configure_switches += --disable-dependency-tracking
-extra_configure_switches += --sysconfdir=/etc
-extra_configure_switches += --localstatedir=/var
-
-ifeq ($(__ENABLE_STATIC__),yes)
-extra_configure_switches += --enable-static=yes
-else
-extra_configure_switches += --enable-static=no
-endif
-extra_configure_switches += --enable-shared=yes
-
-
-CFLAGS += -Wno-deprecated-declarations
-
-LDFLAGS += -Wl,-rpath,/lib$(MULTILIB_X86_32_SUFFIX):/usr/lib$(MULTILIB_X86_32_SUFFIX)
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
- $(APPLY_PATCHES)
- @( cd $(SRC_DIR) ; ./autogen.sh )
- @touch $@
-
-$(build_target): $(src_done)
- @mkdir -p $(build_dir)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
- --prefix=/usr \
- --build=$(BUILD) \
- --host=$(TARGET32) \
- $(extra_configure_switches)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
- @touch $@
-
-$(install_target): $(build_target)
- @mkdir -p $(LIBFFI32_PKG)
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
- @rm -rf $(LIBFFI32_PKG)/usr/include
- @rm -rf $(LIBFFI32_PKG)/usr/share
- # ======= Remove toolchain path from target libtool *.la files =======
- @( cd $(LIBFFI32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
- sed -i "s,$(TARGET_DEST_DIR),,g" libffi.la ; \
- )
- # ======= Install the same to $(TARGET_DEST_DIR) =======
- $(call install-into-devenv, $(LIBFFI32_PKG))
- # ======= Tune libtool *.la search path to the target destination for development =======
- @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
- sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libffi.la ; \
- sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libffi.la ; \
- )
- # ======= Tune pkg-config *.pc search path to the target destination for development =======
- @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/pkgconfig ; \
- sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libffi.pc ; \
- )
- # ======= Strip binaries =======
- @( cd $(LIBFFI32_PKG) ; \
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- )
-ifeq ($(__ENABLE_STATIC__),yes)
- @( cd $(LIBFFI32_PKG) ; \
- find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
- )
-endif
- @touch $@
-
-$(LIBFFI32_PKG_DESCRIPTION_FILE): $(LIBFFI32_PKG_DESCRIPTION_FILE_IN)
- @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
-
-$(pkg_certificate) : $(pkg_archive) ;
-$(pkg_signature) : $(pkg_archive) ;
-$(pkg_description) : $(pkg_archive) ;
-
-$(pkg_archive): $(install_target) $(LIBFFI32_PKG_DESCRIPTION_FILE) $(LIBFFI32_PKG_INSTALL_SCRIPT)
- @cp $(LIBFFI32_PKG_DESCRIPTION_FILE) $(LIBFFI32_PKG)/.DESCRIPTION
- @cp $(LIBFFI32_PKG_INSTALL_SCRIPT) $(LIBFFI32_PKG)/.INSTALL
- @$(BUILD_PKG_REQUIRES) $(LIBFFI32_PKG)/.REQUIRES
- @echo "pkgname=$(LIBFFI32_PKG_NAME)" > $(LIBFFI32_PKG)/.PKGINFO ; \
- echo "pkgver=$(LIBFFI32_PKG_VERSION)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
- echo "arch=$(LIBFFI32_PKG_ARCH)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
- echo "distroname=$(LIBFFI32_PKG_DISTRO_NAME)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
- echo "distrover=$(LIBFFI32_PKG_DISTRO_VERSION)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
- echo "group=$(LIBFFI32_PKG_GROUP)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
- echo "short_description=\"$(LIBFFI32_PKG_SHORT_DESCRIPTION)\"" >> $(LIBFFI32_PKG)/.PKGINFO ; \
- echo "url=$(LIBFFI32_PKG_URL)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
- echo "license=$(LIBFFI32_PKG_LICENSE)" >> $(LIBFFI32_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(LIBFFI32_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: libs/libffi/3.4.6-x86_32
===================================================================
--- libs/libffi/3.4.6-x86_32 (revision 443)
+++ libs/libffi/3.4.6-x86_32 (nonexistent)
Property changes on: libs/libffi/3.4.6-x86_32
___________________________________________________________________
Deleted: svn:ignore
## -1,74 +0,0 ##
-
-# install dir
-dist
-
-# Target build dirs
-.a1x-newlib
-.a2x-newlib
-.at91sam7s-newlib
-
-.build-machine
-
-.a1x-glibc
-.a2x-glibc
-.h3-glibc
-.h5-glibc
-.i586-glibc
-.i686-glibc
-.imx6-glibc
-.jz47xx-glibc
-.makefile
-.am335x-glibc
-.omap543x-glibc
-.p5600-glibc
-.power8-glibc
-.power8le-glibc
-.power9-glibc
-.power9le-glibc
-.m1000-glibc
-.riscv64-glibc
-.rk328x-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.rk358x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.dist
-.rootfs
-
-# src & hw requires
-.src_requires
-.src_requires_depend
-.requires
-.requires_depend
-
-# Tarballs
-*.gz
-*.bz2
-*.lz
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Descriptions
-*.dsc
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# backup copies
-*~
Index: libs/libffi/3.4.7/Makefile
===================================================================
--- libs/libffi/3.4.7/Makefile (nonexistent)
+++ libs/libffi/3.4.7/Makefile (revision 444)
@@ -0,0 +1,251 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/l/libffi
+
+ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
+REQUIRES = dev/gcc/14.2.0
+else
+REQUIRES = libs/glibc/2.41
+endif
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 3.4.7
+tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/l/libffi/libffi-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/libffi-$(version)
+src_dir_name = libffi-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = libs
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+LIBFFI_PKG_NAME = libffi
+LIBFFI_PKG_VERSION = 3.4.7
+LIBFFI_PKG_ARCH = $(PKGARCH)
+LIBFFI_PKG_DISTRO_NAME = $(DISTRO_NAME)
+LIBFFI_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+LIBFFI_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+LIBFFI_PKG_SHORT_DESCRIPTION = Portable Foreign Function Interface Library
+LIBFFI_PKG_URL = $(BUG_URL)
+LIBFFI_PKG_LICENSE = GPLv2
+LIBFFI_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(LIBFFI_PKG_NAME)-pkg-description
+LIBFFI_PKG_DESCRIPTION_FILE_IN = $(LIBFFI_PKG_NAME)-pkg-description.in
+LIBFFI_PKG_INSTALL_SCRIPT = $(LIBFFI_PKG_NAME)-pkg-install.sh
+
+LIBFFI_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(LIBFFI_PKG_NAME)-package
+
+pkg_basename = $(LIBFFI_PKG_NAME)-$(LIBFFI_PKG_VERSION)-$(LIBFFI_PKG_ARCH)-$(LIBFFI_PKG_DISTRO_NAME)-$(LIBFFI_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_certificate = $(call cert-name,$(pkg_archive))
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(LIBFFI_PKG)
+
+
+extra_configure_switches = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --disable-dependency-tracking
+extra_configure_switches += --sysconfdir=/etc
+extra_configure_switches += --localstatedir=/var
+
+ifeq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --enable-static=yes
+else
+extra_configure_switches += --enable-static=no
+endif
+extra_configure_switches += --enable-shared=yes
+
+
+CFLAGS += -Wno-deprecated-declarations
+
+LDFLAGS += -Wl,-rpath,/lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @( cd $(SRC_DIR) ; ./autogen.sh )
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && \
+ $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET) \
+ $(extra_configure_switches)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -C doc html pdf
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(LIBFFI_PKG)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ # ======= Install Documentation =======
+ @rm -f $(LIBFFI_PKG)/usr/share/info/dir
+ @gzip -9 $(LIBFFI_PKG)/usr/share/info/*
+ @if [ -d $(LIBFFI_PKG)/usr/share/man ]; then \
+ ( cd $(LIBFFI_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(LIBFFI_PKG)/usr/share/doc/$(src_dir_name)/html
+ @cp -a $(SRC_DIR)/LICENSE* $(SRC_DIR)/README* $(build_dir)/doc/libffi.pdf \
+ $(LIBFFI_PKG)/usr/share/doc/$(src_dir_name)
+ @cp -a $(build_dir)/doc/libffi.html/*.html \
+ $(LIBFFI_PKG)/usr/share/doc/$(src_dir_name)/html
+ @( cd $(SRC_DIR) ; \
+ if [ -r ChangeLog.old ]; then \
+ DOCSDIR=`echo $(LIBFFI_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat ChangeLog.old | head -n 1000 > $$DOCSDIR/ChangeLog.old ; \
+ touch -r ChangeLog.old $$DOCSDIR/ChangeLog.old ; \
+ fi \
+ )
+ # ======= Remove toolchain path from target libtool *.la files =======
+ @( cd $(LIBFFI_PKG)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libffi.la ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(LIBFFI_PKG))
+ # ======= Tune libtool *.la search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libffi.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libffi.la ; \
+ )
+ # ======= Tune pkg-config *.pc search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/pkgconfig ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libffi.pc ; \
+ )
+ # ======= Strip binaries =======
+ @( cd $(LIBFFI_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ifeq ($(__ENABLE_STATIC__),yes)
+ @( cd $(LIBFFI_PKG) ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
+ )
+endif
+ @touch $@
+
+$(LIBFFI_PKG_DESCRIPTION_FILE): $(LIBFFI_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(LIBFFI_PKG_DESCRIPTION_FILE) $(LIBFFI_PKG_INSTALL_SCRIPT)
+ @cp $(LIBFFI_PKG_DESCRIPTION_FILE) $(LIBFFI_PKG)/.DESCRIPTION
+ @cp $(LIBFFI_PKG_INSTALL_SCRIPT) $(LIBFFI_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(LIBFFI_PKG)/.REQUIRES
+ @echo "pkgname=$(LIBFFI_PKG_NAME)" > $(LIBFFI_PKG)/.PKGINFO ; \
+ echo "pkgver=$(LIBFFI_PKG_VERSION)" >> $(LIBFFI_PKG)/.PKGINFO ; \
+ echo "arch=$(LIBFFI_PKG_ARCH)" >> $(LIBFFI_PKG)/.PKGINFO ; \
+ echo "distroname=$(LIBFFI_PKG_DISTRO_NAME)" >> $(LIBFFI_PKG)/.PKGINFO ; \
+ echo "distrover=$(LIBFFI_PKG_DISTRO_VERSION)" >> $(LIBFFI_PKG)/.PKGINFO ; \
+ echo "group=$(LIBFFI_PKG_GROUP)" >> $(LIBFFI_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(LIBFFI_PKG_SHORT_DESCRIPTION)\"" >> $(LIBFFI_PKG)/.PKGINFO ; \
+ echo "url=$(LIBFFI_PKG_URL)" >> $(LIBFFI_PKG)/.PKGINFO ; \
+ echo "license=$(LIBFFI_PKG_LICENSE)" >> $(LIBFFI_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(LIBFFI_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: libs/libffi/3.4.7/PATCHES
===================================================================
Index: libs/libffi/3.4.7/libffi-pkg-description.in
===================================================================
--- libs/libffi/3.4.7/libffi-pkg-description.in (nonexistent)
+++ libs/libffi/3.4.7/libffi-pkg-description.in (revision 444)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+libffi: libffi @VERSION@ (A Portable Foreign Function Interface Library)
+libffi:
+libffi: FFI stands for Foreign Function Interface. A foreign function
+libffi: interface is the popular name for the interface that allows code
+libffi: written in one language to call code written in another language.
+libffi: The libffi library really only provides the lowest, machine
+libffi: dependent layer of a fully featured foreign function interface.
+libffi:
+libffi: Homepage: http://sourceware.org/libffi/
+libffi:
+libffi:
Index: libs/libffi/3.4.7/libffi-pkg-install.sh
===================================================================
--- libs/libffi/3.4.7/libffi-pkg-install.sh (nonexistent)
+++ libs/libffi/3.4.7/libffi-pkg-install.sh (revision 444)
@@ -0,0 +1,69 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ #
+ # NOTE:
+ # 'install-info' can work using relative paths and we can make use build machine
+ # utility during installation to the some partition and use target 'install-info'
+ # during installation directly on the running target machine.
+ #
+ if [ -x /usr/bin/install-info ] ; then
+ install-info --info-dir=usr/share/info usr/share/info/libffi.info.gz 2>/dev/null
+ elif ! grep "(libffi)" usr/share/info/dir 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> usr/share/info/dir
+
+Development
+* libffi: (libffi). Portable foreign function interface library.
+EOF
+ fi
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ if [ -x /usr/bin/install-info ] ; then
+ install-info --delete --info-file=usr/share/info/libffi.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ fi
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: libs/libffi/3.4.7/libffi-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: libs/libffi/3.4.7
===================================================================
--- libs/libffi/3.4.7 (nonexistent)
+++ libs/libffi/3.4.7 (revision 444)
Property changes on: libs/libffi/3.4.7
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: libs/libffi/3.4.7-ppc32/Makefile
===================================================================
--- libs/libffi/3.4.7-ppc32/Makefile (nonexistent)
+++ libs/libffi/3.4.7-ppc32/Makefile (revision 444)
@@ -0,0 +1,174 @@
+
+COMPONENT_TARGETS = $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+CREATE_PPC32_PACKAGE = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/l/libffi
+
+REQUIRES = libs/libffi/3.4.7
+REQUIRES += libs/glibc/2.41-ppc32
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 3.4.7
+tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/l/libffi/libffi-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/libffi-$(version)
+src_dir_name = libffi-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = libs
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+LIBFFI32_PKG_NAME = libffi-x32
+LIBFFI32_PKG_VERSION = 3.4.7
+LIBFFI32_PKG_ARCH = $(PKGARCH)
+LIBFFI32_PKG_DISTRO_NAME = $(DISTRO_NAME)
+LIBFFI32_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+LIBFFI32_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+LIBFFI32_PKG_SHORT_DESCRIPTION = Portable Foreign Function Interface Library
+LIBFFI32_PKG_URL = $(BUG_URL)
+LIBFFI32_PKG_LICENSE = GPLv2
+LIBFFI32_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(LIBFFI32_PKG_NAME)-pkg-description
+LIBFFI32_PKG_DESCRIPTION_FILE_IN = $(LIBFFI32_PKG_NAME)-pkg-description.in
+LIBFFI32_PKG_INSTALL_SCRIPT = $(LIBFFI32_PKG_NAME)-pkg-install.sh
+
+LIBFFI32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(LIBFFI32_PKG_NAME)-package
+
+pkg_basename = $(LIBFFI32_PKG_NAME)-$(LIBFFI32_PKG_VERSION)-$(LIBFFI32_PKG_ARCH)-$(LIBFFI32_PKG_DISTRO_NAME)-$(LIBFFI32_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_certificate = $(call cert-name,$(pkg_archive))
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(LIBFFI32_PKG)
+
+
+extra_configure_switches = --libdir=/usr/lib$(MULTILIB_PPC32_SUFFIX)
+extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --disable-dependency-tracking
+extra_configure_switches += --sysconfdir=/etc
+extra_configure_switches += --localstatedir=/var
+
+ifeq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --enable-static=yes
+else
+extra_configure_switches += --enable-static=no
+endif
+extra_configure_switches += --enable-shared=yes
+
+
+CFLAGS += -Wno-deprecated-declarations
+
+LDFLAGS += -Wl,-rpath,/lib$(MULTILIB_PPC32_SUFFIX):/usr/lib$(MULTILIB_PPC32_SUFFIX)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @( cd $(SRC_DIR) ; ./autogen.sh )
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET32) \
+ $(extra_configure_switches)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(LIBFFI32_PKG)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ @rm -rf $(LIBFFI32_PKG)/usr/include
+ @rm -rf $(LIBFFI32_PKG)/usr/share
+ # ======= Remove toolchain path from target libtool *.la files =======
+ @( cd $(LIBFFI32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libffi.la ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(LIBFFI32_PKG))
+ # ======= Tune libtool *.la search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libffi.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libffi.la ; \
+ )
+ # ======= Tune pkg-config *.pc search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/pkgconfig ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libffi.pc ; \
+ )
+ # ======= Strip binaries =======
+ @( cd $(LIBFFI32_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ifeq ($(__ENABLE_STATIC__),yes)
+ @( cd $(LIBFFI32_PKG) ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
+ )
+endif
+ @touch $@
+
+$(LIBFFI32_PKG_DESCRIPTION_FILE): $(LIBFFI32_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(LIBFFI32_PKG_DESCRIPTION_FILE) $(LIBFFI32_PKG_INSTALL_SCRIPT)
+ @cp $(LIBFFI32_PKG_DESCRIPTION_FILE) $(LIBFFI32_PKG)/.DESCRIPTION
+ @cp $(LIBFFI32_PKG_INSTALL_SCRIPT) $(LIBFFI32_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(LIBFFI32_PKG)/.REQUIRES
+ @echo "pkgname=$(LIBFFI32_PKG_NAME)" > $(LIBFFI32_PKG)/.PKGINFO ; \
+ echo "pkgver=$(LIBFFI32_PKG_VERSION)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
+ echo "arch=$(LIBFFI32_PKG_ARCH)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
+ echo "distroname=$(LIBFFI32_PKG_DISTRO_NAME)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
+ echo "distrover=$(LIBFFI32_PKG_DISTRO_VERSION)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
+ echo "group=$(LIBFFI32_PKG_GROUP)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(LIBFFI32_PKG_SHORT_DESCRIPTION)\"" >> $(LIBFFI32_PKG)/.PKGINFO ; \
+ echo "url=$(LIBFFI32_PKG_URL)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
+ echo "license=$(LIBFFI32_PKG_LICENSE)" >> $(LIBFFI32_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(LIBFFI32_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: libs/libffi/3.4.7-ppc32/PATCHES
===================================================================
Index: libs/libffi/3.4.7-ppc32/libffi-x32-pkg-description.in
===================================================================
--- libs/libffi/3.4.7-ppc32/libffi-x32-pkg-description.in (nonexistent)
+++ libs/libffi/3.4.7-ppc32/libffi-x32-pkg-description.in (revision 444)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+libffi-x32: libffi-x32 @VERSION@ (A Portable Foreign Function Interface Lib)
+libffi-x32:
+libffi-x32: FFI stands for Foreign Function Interface. A foreign function
+libffi-x32: interface is the popular name for the interface that allows code
+libffi-x32: written in one language to call code written in another language.
+libffi-x32: The libffi library really only provides the lowest, machine
+libffi-x32: dependent layer of a fully featured foreign function interface.
+libffi-x32:
+libffi-x32: Homepage: http://sourceware.org/libffi/
+libffi-x32:
+libffi-x32:
Index: libs/libffi/3.4.7-ppc32/libffi-x32-pkg-install.sh
===================================================================
--- libs/libffi/3.4.7-ppc32/libffi-x32-pkg-install.sh (nonexistent)
+++ libs/libffi/3.4.7-ppc32/libffi-x32-pkg-install.sh (revision 444)
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: libs/libffi/3.4.7-ppc32/libffi-x32-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: libs/libffi/3.4.7-ppc32
===================================================================
--- libs/libffi/3.4.7-ppc32 (nonexistent)
+++ libs/libffi/3.4.7-ppc32 (revision 444)
Property changes on: libs/libffi/3.4.7-ppc32
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: libs/libffi/3.4.7-x86_32/Makefile
===================================================================
--- libs/libffi/3.4.7-x86_32/Makefile (nonexistent)
+++ libs/libffi/3.4.7-x86_32/Makefile (revision 444)
@@ -0,0 +1,171 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC64)
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+CREATE_X86_32_PACKAGE = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/l/libffi
+
+REQUIRES = libs/libffi/3.4.7
+REQUIRES += libs/glibc/2.41-x86_32
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 3.4.7
+tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/l/libffi/libffi-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/libffi-$(version)
+src_dir_name = libffi-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = libs
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+LIBFFI32_PKG_NAME = libffi-x32
+LIBFFI32_PKG_VERSION = 3.4.7
+LIBFFI32_PKG_ARCH = $(PKGARCH)
+LIBFFI32_PKG_DISTRO_NAME = $(DISTRO_NAME)
+LIBFFI32_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+LIBFFI32_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+LIBFFI32_PKG_SHORT_DESCRIPTION = Portable Foreign Function Interface Library
+LIBFFI32_PKG_URL = $(BUG_URL)
+LIBFFI32_PKG_LICENSE = GPLv2
+LIBFFI32_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(LIBFFI32_PKG_NAME)-pkg-description
+LIBFFI32_PKG_DESCRIPTION_FILE_IN = $(LIBFFI32_PKG_NAME)-pkg-description.in
+LIBFFI32_PKG_INSTALL_SCRIPT = $(LIBFFI32_PKG_NAME)-pkg-install.sh
+
+LIBFFI32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(LIBFFI32_PKG_NAME)-package
+
+pkg_basename = $(LIBFFI32_PKG_NAME)-$(LIBFFI32_PKG_VERSION)-$(LIBFFI32_PKG_ARCH)-$(LIBFFI32_PKG_DISTRO_NAME)-$(LIBFFI32_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_certificate = $(call cert-name,$(pkg_archive))
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(LIBFFI32_PKG)
+
+
+extra_configure_switches = --libdir=/usr/lib$(MULTILIB_X86_32_SUFFIX)
+extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --disable-dependency-tracking
+extra_configure_switches += --sysconfdir=/etc
+extra_configure_switches += --localstatedir=/var
+
+ifeq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --enable-static=yes
+else
+extra_configure_switches += --enable-static=no
+endif
+extra_configure_switches += --enable-shared=yes
+
+
+CFLAGS += -Wno-deprecated-declarations
+
+LDFLAGS += -Wl,-rpath,/lib$(MULTILIB_X86_32_SUFFIX):/usr/lib$(MULTILIB_X86_32_SUFFIX)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @( cd $(SRC_DIR) ; ./autogen.sh )
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET32) \
+ $(extra_configure_switches)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(LIBFFI32_PKG)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ @rm -rf $(LIBFFI32_PKG)/usr/include
+ @rm -rf $(LIBFFI32_PKG)/usr/share
+ # ======= Remove toolchain path from target libtool *.la files =======
+ @( cd $(LIBFFI32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libffi.la ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(LIBFFI32_PKG))
+ # ======= Tune libtool *.la search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libffi.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libffi.la ; \
+ )
+ # ======= Tune pkg-config *.pc search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/pkgconfig ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libffi.pc ; \
+ )
+ # ======= Strip binaries =======
+ @( cd $(LIBFFI32_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ifeq ($(__ENABLE_STATIC__),yes)
+ @( cd $(LIBFFI32_PKG) ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
+ )
+endif
+ @touch $@
+
+$(LIBFFI32_PKG_DESCRIPTION_FILE): $(LIBFFI32_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(LIBFFI32_PKG_DESCRIPTION_FILE) $(LIBFFI32_PKG_INSTALL_SCRIPT)
+ @cp $(LIBFFI32_PKG_DESCRIPTION_FILE) $(LIBFFI32_PKG)/.DESCRIPTION
+ @cp $(LIBFFI32_PKG_INSTALL_SCRIPT) $(LIBFFI32_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(LIBFFI32_PKG)/.REQUIRES
+ @echo "pkgname=$(LIBFFI32_PKG_NAME)" > $(LIBFFI32_PKG)/.PKGINFO ; \
+ echo "pkgver=$(LIBFFI32_PKG_VERSION)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
+ echo "arch=$(LIBFFI32_PKG_ARCH)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
+ echo "distroname=$(LIBFFI32_PKG_DISTRO_NAME)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
+ echo "distrover=$(LIBFFI32_PKG_DISTRO_VERSION)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
+ echo "group=$(LIBFFI32_PKG_GROUP)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(LIBFFI32_PKG_SHORT_DESCRIPTION)\"" >> $(LIBFFI32_PKG)/.PKGINFO ; \
+ echo "url=$(LIBFFI32_PKG_URL)" >> $(LIBFFI32_PKG)/.PKGINFO ; \
+ echo "license=$(LIBFFI32_PKG_LICENSE)" >> $(LIBFFI32_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(LIBFFI32_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: libs/libffi/3.4.7-x86_32/PATCHES
===================================================================
Index: libs/libffi/3.4.7-x86_32/libffi-x32-pkg-description.in
===================================================================
--- libs/libffi/3.4.7-x86_32/libffi-x32-pkg-description.in (nonexistent)
+++ libs/libffi/3.4.7-x86_32/libffi-x32-pkg-description.in (revision 444)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+libffi-x32: libffi-x32 @VERSION@ (A Portable Foreign Function Interface Lib)
+libffi-x32:
+libffi-x32: FFI stands for Foreign Function Interface. A foreign function
+libffi-x32: interface is the popular name for the interface that allows code
+libffi-x32: written in one language to call code written in another language.
+libffi-x32: The libffi library really only provides the lowest, machine
+libffi-x32: dependent layer of a fully featured foreign function interface.
+libffi-x32:
+libffi-x32: Homepage: http://sourceware.org/libffi/
+libffi-x32:
+libffi-x32:
Index: libs/libffi/3.4.7-x86_32/libffi-x32-pkg-install.sh
===================================================================
--- libs/libffi/3.4.7-x86_32/libffi-x32-pkg-install.sh (nonexistent)
+++ libs/libffi/3.4.7-x86_32/libffi-x32-pkg-install.sh (revision 444)
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: libs/libffi/3.4.7-x86_32/libffi-x32-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: libs/libffi/3.4.7-x86_32
===================================================================
--- libs/libffi/3.4.7-x86_32 (nonexistent)
+++ libs/libffi/3.4.7-x86_32 (revision 444)
Property changes on: libs/libffi/3.4.7-x86_32
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: net/p11-kit/0.23.22/Makefile
===================================================================
--- net/p11-kit/0.23.22/Makefile (revision 443)
+++ net/p11-kit/0.23.22/Makefile (revision 444)
@@ -60,7 +60,7 @@
SOURCE_REQUIRES = sources/packages/n/p11-kit
-REQUIRES = libs/libffi/3.4.6
+REQUIRES = libs/libffi/3.4.7
REQUIRES += libs/libtasn1/4.16.0
# ======= __END_OF_REQUIRES__ =======
Index: net/p11-kit/0.23.22-ppc32/Makefile
===================================================================
--- net/p11-kit/0.23.22-ppc32/Makefile (revision 443)
+++ net/p11-kit/0.23.22-ppc32/Makefile (revision 444)
@@ -16,7 +16,7 @@
SOURCE_REQUIRES = sources/packages/n/p11-kit
REQUIRES = net/p11-kit/0.23.22
-REQUIRES += libs/libffi/3.4.6-ppc32
+REQUIRES += libs/libffi/3.4.7-ppc32
REQUIRES += libs/libtasn1/4.16.0-ppc32
# ======= __END_OF_REQUIRES__ =======
Index: net/p11-kit/0.23.22-x86_32/Makefile
===================================================================
--- net/p11-kit/0.23.22-x86_32/Makefile (revision 443)
+++ net/p11-kit/0.23.22-x86_32/Makefile (revision 444)
@@ -13,7 +13,7 @@
SOURCE_REQUIRES = sources/packages/n/p11-kit
REQUIRES = net/p11-kit/0.23.22
-REQUIRES += libs/libffi/3.4.6-x86_32
+REQUIRES += libs/libffi/3.4.7-x86_32
REQUIRES += libs/libtasn1/4.16.0-x86_32
# ======= __END_OF_REQUIRES__ =======
Index: net/php/8.1.2/Makefile
===================================================================
--- net/php/8.1.2/Makefile (revision 443)
+++ net/php/8.1.2/Makefile (revision 444)
@@ -69,7 +69,7 @@
REQUIRES += net/libnsl/1.3.0
REQUIRES += libs/gmp/6.3.0
-REQUIRES += libs/libffi/3.4.6
+REQUIRES += libs/libffi/3.4.7
REQUIRES += libs/aspell/0.60.8
REQUIRES += libs/ncurses/6.5
REQUIRES += libs/argon2/20190702
@@ -88,7 +88,7 @@
REQUIRES += libs/serf/1.3.9
REQUIRES += libs/tidy-html5/5.8.0
-REQUIRES += libs/gdbm/1.23
+REQUIRES += libs/gdbm/1.24
REQUIRES += app/db/18.1.40
REQUIRES += app/mariadb/10.6.5
REQUIRES += app/postgresql/14.1
Index: products/base/Makefile
===================================================================
--- products/base/Makefile (revision 443)
+++ products/base/Makefile (revision 444)
@@ -156,9 +156,9 @@
# │ ├── app/xz/5.6.3-ppc32 └── app/kmod/33 │
# │ └── app/xz/5.6.3-x86_32 ├── app/kmod/33-ppc32 │
# │ └── app/kmod/33-x86_32 │
-# ├── libs/libffi/3.4.6 │
-# │ ├── libs/libffi/3.4.6-ppc32 │
-# │ └── libs/libffi/3.4.6-x86_32 │
+# ├── libs/libffi/3.4.7 │
+# │ ├── libs/libffi/3.4.7-ppc32 │
+# │ └── libs/libffi/3.4.7-x86_32 │
# │ │
# ├── libs/lzo/2.10 │
# │ ├── libs/lzo/2.10-ppc32 │
@@ -330,19 +330,19 @@
# │ └── app/db/18.1.40-x86_32
# │
# │
-# ├── libs/gdbm/1.23
-# │ ├── libs/gdbm/1.23-ppc32
-# │ └── libs/gdbm/1.23-x86_32
+# ├── libs/gdbm/1.24
+# │ ├── libs/gdbm/1.24-ppc32
+# │ └── libs/gdbm/1.24-x86_32
# │
# │ ...
# │ ├───────────────────────────────────┬── libs/zlib/1.3.1
# │ │ ├── app/xz/5.6.3
-# │ ├── dev/python2/2.7.18 ├── libs/libffi/3.4.6
+# │ ├── dev/python2/2.7.18 ├── libs/libffi/3.4.7
# │ │ ├── dev/python2/2.7.18-ppc32 ├── libs/readline/8.2
# │ │ └── dev/python2/2.7.18-x86_32 ├── libs/expat/2.5.0
# │ │ └── net/openssl/3.4.1
# │ │
-# │ ├───────────────────────────────────┬── libs/gdbm/1.23
+# │ ├───────────────────────────────────┬── libs/gdbm/1.24
# │ │ └── app/sqlite/3.39.4.0
# │ ├── dev/python3/3.10.8
# │ │ ├── dev/python3/3.10.8-ppc32
Index: sources/GNU/gdbm/create-1.11-patch/file.list
===================================================================
--- sources/GNU/gdbm/create-1.11-patch/file.list (revision 443)
+++ sources/GNU/gdbm/create-1.11-patch/file.list (nonexistent)
@@ -1,2 +0,0 @@
-gdbm-1.11/src/falloc.c
-gdbm-1.11/src/gdbmopen.c
Index: sources/GNU/gdbm/create-1.11-patch/create.patch.sh
===================================================================
--- sources/GNU/gdbm/create-1.11-patch/create.patch.sh (revision 443)
+++ sources/GNU/gdbm/create-1.11-patch/create.patch.sh (nonexistent)
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-VERSION=1.11
-
-tar --files-from=file.list -xzvf ../gdbm-$VERSION.tar.gz
-mv gdbm-$VERSION gdbm-$VERSION-orig
-
-cp -rf ./gdbm-$VERSION-new ./gdbm-$VERSION
-
-diff --unified -Nr gdbm-$VERSION-orig gdbm-$VERSION > gdbm-$VERSION.patch
-
-mv gdbm-$VERSION.patch ../patches
-
-rm -rf ./gdbm-$VERSION
-rm -rf ./gdbm-$VERSION-orig
Property changes on: sources/GNU/gdbm/create-1.11-patch/create.patch.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: sources/GNU/gdbm/create-1.11-patch/gdbm-1.11-new/src/falloc.c
===================================================================
--- sources/GNU/gdbm/create-1.11-patch/gdbm-1.11-new/src/falloc.c (revision 443)
+++ sources/GNU/gdbm/create-1.11-patch/gdbm-1.11-new/src/falloc.c (nonexistent)
@@ -1,470 +0,0 @@
-/* falloc.c - The file space management routines for dbm. */
-
-/* This file is part of GDBM, the GNU data base manager.
- Copyright (C) 1990, 1991, 1993, 1994, 2007, 2011, 2013 Free Software
- Foundation, Inc.
-
- GDBM is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3, or (at your option)
- any later version.
-
- GDBM is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with GDBM. If not, see <http://www.gnu.org/licenses/>. */
-
-/* Include system configuration before all else. */
-#include "autoconf.h"
-
-#include "gdbmdefs.h"
-
-
-/* The forward definitions for this file. See the functions for
- the definition of the function. */
-
-static avail_elem get_elem (int, avail_elem [], int *);
-static avail_elem get_block (int, GDBM_FILE);
-static void push_avail_block (GDBM_FILE);
-static void pop_avail_block (GDBM_FILE);
-static void adjust_bucket_avail (GDBM_FILE);
-
-/* Allocate space in the file DBF for a block NUM_BYTES in length. Return
- the file address of the start of the block.
-
- Each hash bucket has a fixed size avail table. We first check this
- avail table to satisfy the request for space. In most cases we can
- and this causes changes to be only in the current hash bucket.
- Allocation is done on a first fit basis from the entries. If a
- request can not be satisfied from the current hash bucket, then it is
- satisfied from the file header avail block. If nothing is there that
- has enough space, another block at the end of the file is allocated
- and the unused portion is returned to the avail block. This routine
- "guarantees" that an allocation does not cross a block boundary unless
- the size is larger than a single block. The avail structure is
- changed by this routine if a change is needed. If an error occurs,
- the value of 0 will be returned. */
-
-off_t
-_gdbm_alloc (GDBM_FILE dbf, int num_bytes)
-{
- off_t file_adr; /* The address of the block. */
- avail_elem av_el; /* For temporary use. */
-
- /* The current bucket is the first place to look for space. */
- av_el = get_elem (num_bytes, dbf->bucket->bucket_avail,
- &dbf->bucket->av_count);
-
- /* If we did not find some space, we have more work to do. */
- if (av_el.av_size == 0)
- {
- /* If the header avail table is less than half full, and there's
- something on the stack. */
- if ((dbf->header->avail.count <= (dbf->header->avail.size >> 1))
- && (dbf->header->avail.next_block != 0))
- pop_avail_block (dbf);
-
- /* check the header avail table next */
- av_el = get_elem (num_bytes, dbf->header->avail.av_table,
- &dbf->header->avail.count);
- if (av_el.av_size == 0)
- /* Get another full block from end of file. */
- av_el = get_block (num_bytes, dbf);
-
- dbf->header_changed = TRUE;
- }
-
- /* We now have the place from which we will allocate the new space. */
- file_adr = av_el.av_adr;
-
- /* Put the unused space back in the avail block. */
- av_el.av_adr += num_bytes;
- av_el.av_size -= num_bytes;
- _gdbm_free (dbf, av_el.av_adr, av_el.av_size);
-
- /* Return the address. */
- return file_adr;
-
-}
-
-
-
-/* Free space of size NUM_BYTES in the file DBF at file address FILE_ADR. Make
- it avaliable for reuse through _gdbm_alloc. This routine changes the
- avail structure. */
-
-void
-_gdbm_free (GDBM_FILE dbf, off_t file_adr, int num_bytes)
-{
- avail_elem temp;
-
- /* Is it too small to worry about? */
- if (num_bytes <= IGNORE_SIZE)
- return;
-
- /* Initialize the avail element. */
- temp.av_size = num_bytes;
- temp.av_adr = file_adr;
-
- /* Is the freed space large or small? */
- if ((num_bytes >= dbf->header->block_size) || dbf->central_free)
- {
- if (dbf->header->avail.count == dbf->header->avail.size)
- {
- push_avail_block (dbf);
- }
- _gdbm_put_av_elem (temp, dbf->header->avail.av_table,
- &dbf->header->avail.count, dbf->coalesce_blocks);
- dbf->header_changed = TRUE;
- }
- else
- {
- /* Try to put into the current bucket. */
- if (dbf->bucket->av_count < BUCKET_AVAIL)
- _gdbm_put_av_elem (temp, dbf->bucket->bucket_avail,
- &dbf->bucket->av_count, dbf->coalesce_blocks);
- else
- {
- if (dbf->header->avail.count == dbf->header->avail.size)
- {
- push_avail_block (dbf);
- }
- _gdbm_put_av_elem (temp, dbf->header->avail.av_table,
- &dbf->header->avail.count, dbf->coalesce_blocks);
- dbf->header_changed = TRUE;
- }
- }
-
- if (dbf->header_changed)
- adjust_bucket_avail (dbf);
-
- /* All work is done. */
- return;
-}
-
-
-
-/* The following are all utility routines needed by the previous two. */
-
-
-/* Gets the avail block at the top of the stack and loads it into the
- active avail block. It does a "free" for itself! This can (and is)
- now called even when the avail block is not empty, so we must be
- smart about things. */
-
-static void
-pop_avail_block (GDBM_FILE dbf)
-{
- int rc;
- off_t file_pos; /* For use with the lseek system call. */
- avail_elem new_el;
- avail_block *new_blk;
- int index;
-
- if (dbf->header->avail.count == dbf->header->avail.size)
- {
- /* We're kind of stuck here, so we re-split the header in order to
- avoid crashing. Sigh. */
- push_avail_block(dbf);
- }
-
- /* Set up variables. */
- new_el.av_adr = dbf->header->avail.next_block;
- new_el.av_size = ( ( (dbf->header->avail.size * sizeof (avail_elem)) >> 1)
- + sizeof (avail_block));
-
- /* Allocate space for the block. */
- new_blk = (avail_block *) malloc (new_el.av_size);
- if (new_blk == NULL) _gdbm_fatal(dbf, _("malloc failed"));
-
- /* Read the block. */
- file_pos = __lseek (dbf, new_el.av_adr, SEEK_SET);
- if (file_pos != new_el.av_adr) _gdbm_fatal (dbf, _("lseek error"));
- rc = _gdbm_full_read (dbf, new_blk, new_el.av_size);
- if (rc)
- _gdbm_fatal (dbf, gdbm_strerror (rc));
-
- /* Add the elements from the new block to the header. */
- index = 0;
- while (index < new_blk->count)
- {
- while(index < new_blk->count
- && dbf->header->avail.count < dbf->header->avail.size)
- {
- /* With luck, this will merge a lot of blocks! */
- _gdbm_put_av_elem(new_blk->av_table[index],
- dbf->header->avail.av_table,
- &dbf->header->avail.count, TRUE);
- index++;
- }
- if (dbf->header->avail.count == dbf->header->avail.size)
- {
- /* We're kind of stuck here, so we re-split the header in order to
- avoid crashing. Sigh. */
- push_avail_block(dbf);
- }
- }
-
- /* Fix next_block, as well. */
- dbf->header->avail.next_block = new_blk->next_block;
-
- /* We changed the header. */
- dbf->header_changed = TRUE;
-
- /* Free the previous avail block. It is possible that the header table
- is now FULL, which will cause us to overflow it! */
- if (dbf->header->avail.count == dbf->header->avail.size)
- {
- /* We're kind of stuck here, so we re-split the header in order to
- avoid crashing. Sigh. */
- push_avail_block(dbf);
- }
-
- _gdbm_put_av_elem (new_el, dbf->header->avail.av_table,
- &dbf->header->avail.count, TRUE);
- free (new_blk);
-}
-
-
-/* Splits the header avail block and pushes half onto the avail stack. */
-
-static void
-push_avail_block (GDBM_FILE dbf)
-{
- int av_size;
- off_t av_adr;
- int index;
- off_t file_pos;
- avail_block *temp;
- avail_elem new_loc;
- int rc;
-
- /* Caclulate the size of the split block. */
- av_size = ( (dbf->header->avail.size * sizeof (avail_elem)) >> 1)
- + sizeof (avail_block);
-
- /* Get address in file for new av_size bytes. */
- new_loc = get_elem (av_size, dbf->header->avail.av_table,
- &dbf->header->avail.count);
- if (new_loc.av_size == 0)
- new_loc = get_block (av_size, dbf);
- av_adr = new_loc.av_adr;
-
-
- /* Split the header block. */
- temp = (avail_block *) calloc (1, av_size);
- if (temp == NULL) _gdbm_fatal (dbf, _("malloc error"));
- /* Set the size to be correct AFTER the pop_avail_block. */
- temp->size = dbf->header->avail.size;
- temp->count = 0;
- temp->next_block = dbf->header->avail.next_block;
- dbf->header->avail.next_block = av_adr;
- for (index = 1; index < dbf->header->avail.count; index++)
- if ( (index & 0x1) == 1) /* Index is odd. */
- temp->av_table[temp->count++] = dbf->header->avail.av_table[index];
- else
- dbf->header->avail.av_table[index>>1]
- = dbf->header->avail.av_table[index];
-
- /* Update the header avail count to previous size divided by 2. */
- dbf->header->avail.count >>= 1;
-
- /* Free the unneeded space. */
- new_loc.av_adr += av_size;
- new_loc.av_size -= av_size;
- _gdbm_free (dbf, new_loc.av_adr, new_loc.av_size);
-
- /* Update the disk. */
- file_pos = __lseek (dbf, av_adr, SEEK_SET);
- if (file_pos != av_adr) _gdbm_fatal (dbf, _("lseek error"));
- rc = _gdbm_full_write (dbf, temp, av_size);
- if (rc)
- _gdbm_fatal (dbf, gdbm_strerror (rc));
- free (temp);
-}
-
-
-
-/* Get_elem returns an element in the AV_TABLE block which is
- larger than SIZE. AV_COUNT is the number of elements in the
- AV_TABLE. If an item is found, it extracts it from the AV_TABLE
- and moves the other elements up to fill the space. If no block is
- found larger than SIZE, get_elem returns a size of zero. This
- routine does no I/O. */
-
-static avail_elem
-get_elem (int size, avail_elem av_table[], int *av_count)
-{
- int index; /* For searching through the avail block. */
- avail_elem val; /* The default return value. */
-
- /* Initialize default return value. */
- val.av_adr = 0;
- val.av_size = 0;
-
- /* Search for element. List is sorted by size. */
- index = 0;
- while (index < *av_count && av_table[index].av_size < size)
- {
- index++;
- }
-
- /* Did we find one of the right size? */
- if (index >= *av_count)
- return val;
-
- /* Ok, save that element and move all others up one. */
- val = av_table[index];
- *av_count -= 1;
- while (index < *av_count)
- {
- av_table[index] = av_table[index+1];
- index++;
- }
-
- return val;
-}
-
-
-/* This routine inserts a single NEW_EL into the AV_TABLE block.
- This routine does no I/O. */
-
-int
-_gdbm_put_av_elem (avail_elem new_el, avail_elem av_table[], int *av_count,
- int can_merge)
-{
- int index; /* For searching through the avail block. */
- int index1;
-
- /* Is it too small to deal with? */
- if (new_el.av_size <= IGNORE_SIZE)
- return FALSE;
-
- if (can_merge == TRUE)
- {
- /* Search for blocks to coalesce with this one. */
- index = 0;
-
- while (index < *av_count)
- {
- /* Can we merge with the previous block? */
- if ((av_table[index].av_adr
- + av_table[index].av_size) == new_el.av_adr)
- {
- /* Simply expand the endtry. */
- av_table[index].av_size += new_el.av_size;
- }
- /* Can we merge with the next block? */
- else if ((new_el.av_adr
- + new_el.av_size) == av_table[index].av_adr)
- {
- /* Update this entry. */
- av_table[index].av_adr = new_el.av_adr;
- av_table[index].av_size += new_el.av_size;
- }
- /* Not contiguous */
- else
- {
- index++;
- continue;
- }
-
- /* If we got here, we're done. */
- return TRUE;
- }
- }
-
- /* Search for place to put element. List is sorted by size. */
- index = 0;
- while (index < *av_count && av_table[index].av_size < new_el.av_size)
- {
- index++;
- }
-
- /* Move all others up one. */
- index1 = *av_count-1;
- while (index1 >= index)
- {
- av_table[index1+1] = av_table[index1];
- index1--;
- }
-
- /* Add the new element. */
- av_table[index] = new_el;
-
- /* Increment the number of elements. */
- *av_count += 1;
-
- return TRUE;
-}
-
-
-
-
-
-/* Get_block "allocates" new file space and the end of the file. This is
- done in integral block sizes. (This helps insure that data smaller than
- one block size is in a single block.) Enough blocks are allocated to
- make sure the number of bytes allocated in the blocks is larger than SIZE.
- DBF contains the file header that needs updating. This routine does
- no I/O. */
-
-static avail_elem
-get_block (int size, GDBM_FILE dbf)
-{
- avail_elem val;
-
- /* Need at least one block. */
- val.av_adr = dbf->header->next_block;
- val.av_size = dbf->header->block_size;
-
- /* Get enough blocks to fit the need. */
- while (val.av_size < size)
- val.av_size += dbf->header->block_size;
-
- /* Update the header and return. */
- dbf->header->next_block += val.av_size;
-
- /* We changed the header. */
- dbf->header_changed = TRUE;
-
- return val;
-
-}
-
-
-/* When the header already needs writing, we can make sure the current
- bucket has its avail block as close to 1/3 full as possible. */
-static void
-adjust_bucket_avail (GDBM_FILE dbf)
-{
- int third = BUCKET_AVAIL / 3;
- avail_elem av_el;
-
- /* Can we add more entries to the bucket? */
- if (dbf->bucket->av_count < third)
- {
- if (dbf->header->avail.count > 0)
- {
- dbf->header->avail.count -= 1;
- av_el = dbf->header->avail.av_table[dbf->header->avail.count];
- _gdbm_put_av_elem (av_el, dbf->bucket->bucket_avail,
- &dbf->bucket->av_count, dbf->coalesce_blocks);
- dbf->bucket_changed = TRUE;
- }
- return;
- }
-
- /* Is there too much in the bucket? */
- while (dbf->bucket->av_count > BUCKET_AVAIL-third
- && dbf->header->avail.count < dbf->header->avail.size)
- {
- av_el = get_elem (0, dbf->bucket->bucket_avail, &dbf->bucket->av_count);
- _gdbm_put_av_elem (av_el, dbf->header->avail.av_table,
- &dbf->header->avail.count, dbf->coalesce_blocks);
- dbf->bucket_changed = TRUE;
- }
-}
Index: sources/GNU/gdbm/create-1.11-patch/gdbm-1.11-new/src/gdbmopen.c
===================================================================
--- sources/GNU/gdbm/create-1.11-patch/gdbm-1.11-new/src/gdbmopen.c (revision 443)
+++ sources/GNU/gdbm/create-1.11-patch/gdbm-1.11-new/src/gdbmopen.c (nonexistent)
@@ -1,475 +0,0 @@
-/* gdbmopen.c - Open the dbm file and initialize data structures for use. */
-
-/* This file is part of GDBM, the GNU data base manager.
- Copyright (C) 1990, 1991, 1993, 2007, 2011, 2013 Free Software Foundation,
- Inc.
-
- GDBM is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3, or (at your option)
- any later version.
-
- GDBM is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with GDBM. If not, see <http://www.gnu.org/licenses/>. */
-
-/* Include system configuration before all else. */
-#include "autoconf.h"
-
-#include "gdbmdefs.h"
-
-/* Determine our native magic number and bail if we can't. */
-#if SIZEOF_OFF_T == 4
-# define GDBM_MAGIC GDBM_MAGIC32
-#elif SIZEOF_OFF_T == 8
-# define GDBM_MAGIC GDBM_MAGIC64
-#else
-# error "Unsupported off_t size, contact GDBM maintainer. What crazy system is this?!?"
-#endif
-
-/* Initialize dbm system. FILE is a pointer to the file name. If the file
- has a size of zero bytes, a file initialization procedure is performed,
- setting up the initial structure in the file. BLOCK_SIZE is used during
- initialization to determine the size of various constructs. If the value
- is less than 512, the file system blocksize is used, otherwise the value
- of BLOCK_SIZE is used. BLOCK_SIZE is ignored if the file has previously
- initialized. If FLAGS is set to GDBM_READ the user wants to just
- read the database and any call to dbm_store or dbm_delete will fail. Many
- readers can access the database at the same time. If FLAGS is set to
- GDBM_WRITE, the user wants both read and write access to the database and
- requires exclusive access. If FLAGS is GDBM_WRCREAT, the user wants
- both read and write access to the database and if the database does not
- exist, create a new one. If FLAGS is GDBM_NEWDB, the user want a
- new database created, regardless of whether one existed, and wants read
- and write access to the new database. Any error detected will cause a
- return value of null and an approprate value will be in gdbm_errno. If
- no errors occur, a pointer to the "gdbm file descriptor" will be
- returned. */
-
-
-GDBM_FILE
-gdbm_open (const char *file, int block_size, int flags, int mode,
- void (*fatal_func) (const char *))
-{
- GDBM_FILE dbf; /* The record to return. */
- struct stat file_stat; /* Space for the stat information. */
- int len; /* Length of the file name. */
- off_t file_pos; /* Used with seeks. */
- int file_block_size; /* Block size to use for a new file. */
- int index; /* Used as a loop index. */
- char need_trunc; /* Used with GDBM_NEWDB and locking to avoid
- truncating a file from under a reader. */
- int rc; /* temporary error code */
- int fbits = 0; /* additional bits for open(2) flags */
-
- /* Initialize the gdbm_errno variable. */
- gdbm_errno = GDBM_NO_ERROR;
-
- /* Allocate new info structure. */
- dbf = (GDBM_FILE) malloc (sizeof (*dbf));
- if (dbf == NULL)
- {
- gdbm_errno = GDBM_MALLOC_ERROR;
- return NULL;
- }
-
- /* Initialize some fields for known values. This is done so gdbm_close
- will work if called before allocating some structures. */
- dbf->dir = NULL;
- dbf->bucket = NULL;
- dbf->header = NULL;
- dbf->bucket_cache = NULL;
- dbf->cache_size = 0;
-
- dbf->memory_mapping = FALSE;
- dbf->mapped_size_max = SIZE_T_MAX;
- dbf->mapped_region = NULL;
- dbf->mapped_size = 0;
- dbf->mapped_pos = 0;
- dbf->mapped_off = 0;
-
- /* Save name of file. */
- len = strlen (file);
- dbf->name = (char *) malloc (len + 1);
- if (dbf->name == NULL)
- {
- free (dbf);
- gdbm_errno = GDBM_MALLOC_ERROR;
- return NULL;
- }
- strcpy (dbf->name, file);
-
- /* Initialize the fatal error routine. */
- dbf->fatal_err = fatal_func;
-
- dbf->fast_write = TRUE; /* Default to setting fast_write. */
- dbf->file_locking = TRUE; /* Default to doing file locking. */
- dbf->central_free = FALSE; /* Default to not using central_free. */
- dbf->coalesce_blocks = FALSE; /* Default to not coalescing blocks. */
-
- /* GDBM_FAST used to determine whether or not we set fast_write. */
- if (flags & GDBM_SYNC)
- {
- /* If GDBM_SYNC has been requested, don't do fast_write. */
- dbf->fast_write = FALSE;
- }
- if (flags & GDBM_NOLOCK)
- {
- dbf->file_locking = FALSE;
- }
- if (flags & GDBM_CLOEXEC)
- {
- fbits = O_CLOEXEC;
- dbf->cloexec = TRUE;
- }
- else
- dbf->cloexec = FALSE;
-
- /* Open the file. */
- need_trunc = FALSE;
- switch (flags & GDBM_OPENMASK)
- {
- case GDBM_READER:
- dbf->desc = open (dbf->name, O_RDONLY|fbits, 0);
- break;
-
- case GDBM_WRITER:
- dbf->desc = open (dbf->name, O_RDWR|fbits, 0);
- break;
-
- case GDBM_NEWDB:
- dbf->desc = open (dbf->name, O_RDWR|O_CREAT|fbits, mode);
- need_trunc = TRUE;
- break;
-
- default:
- dbf->desc = open (dbf->name, O_RDWR|O_CREAT|fbits, mode);
- break;
-
- }
- if (dbf->desc < 0)
- {
- SAVE_ERRNO (free (dbf->name);
- free (dbf));
- gdbm_errno = GDBM_FILE_OPEN_ERROR;
- return NULL;
- }
-
- /* Get the status of the file. */
- if (fstat (dbf->desc, &file_stat))
- {
- SAVE_ERRNO (close (dbf->desc);
- free (dbf->name);
- free (dbf));
- gdbm_errno = GDBM_FILE_STAT_ERROR;
- return NULL;
- }
-
- /* Zero-length file can't be a reader... */
- if (((flags & GDBM_OPENMASK) == GDBM_READER) && (file_stat.st_size == 0))
- {
- close (dbf->desc);
- free (dbf->name);
- free (dbf);
- gdbm_errno = GDBM_EMPTY_DATABASE;
- return NULL;
- }
-
- /* Record the kind of user. */
- dbf->read_write = (flags & GDBM_OPENMASK);
-
- /* Lock the file in the appropriate way. */
- if (dbf->file_locking)
- {
- if (_gdbm_lock_file (dbf) == -1)
- {
- close (dbf->desc);
- free (dbf->name);
- free (dbf);
- if ((flags & GDBM_OPENMASK) == GDBM_READER)
- gdbm_errno = GDBM_CANT_BE_READER;
- else
- gdbm_errno = GDBM_CANT_BE_WRITER;
- return NULL;
- }
- }
-
- /* If we do have a write lock and it was a GDBM_NEWDB, it is
- now time to truncate the file. */
- if (need_trunc && file_stat.st_size != 0)
- {
- TRUNCATE (dbf);
- fstat (dbf->desc, &file_stat);
- }
-
- /* Decide if this is a new file or an old file. */
- if (file_stat.st_size == 0)
- {
-
- /* This is a new file. Create an empty database. */
-
- /* Start with the blocksize. */
- if (block_size < 512)
- file_block_size = STATBLKSIZE;
- else
- file_block_size = block_size;
-
- /* Get space for the file header. It will be written to disk, so
- make sure there's no garbage in it. */
- dbf->header = (gdbm_file_header *) calloc (1, file_block_size);
- if (dbf->header == NULL)
- {
- gdbm_close (dbf);
- gdbm_errno = GDBM_MALLOC_ERROR;
- return NULL;
- }
-
- /* Set the magic number and the block_size. */
- dbf->header->header_magic = GDBM_MAGIC;
- dbf->header->block_size = file_block_size;
-
- /* Create the initial hash table directory. */
- dbf->header->dir_size = 8 * sizeof (off_t);
- dbf->header->dir_bits = 3;
- while (dbf->header->dir_size < dbf->header->block_size)
- {
- dbf->header->dir_size <<= 1;
- dbf->header->dir_bits += 1;
- }
-
- /* Check for correct block_size. */
- if (dbf->header->dir_size != dbf->header->block_size)
- {
- gdbm_close (dbf);
- gdbm_errno = GDBM_BLOCK_SIZE_ERROR;
- return NULL;
- }
-
- /* Allocate the space for the directory. */
- dbf->dir = (off_t *) malloc (dbf->header->dir_size);
- if (dbf->dir == NULL)
- {
- gdbm_close (dbf);
- gdbm_errno = GDBM_MALLOC_ERROR;
- return NULL;
- }
- dbf->header->dir = dbf->header->block_size;
-
- /* Create the first and only hash bucket. */
- dbf->header->bucket_elems =
- (dbf->header->block_size - sizeof (hash_bucket))
- / sizeof (bucket_element) + 1;
- dbf->header->bucket_size = dbf->header->block_size;
- dbf->bucket = (hash_bucket *) calloc (1, dbf->header->bucket_size);
- if (dbf->bucket == NULL)
- {
- gdbm_close (dbf);
- gdbm_errno = GDBM_MALLOC_ERROR;
- return NULL;
- }
- _gdbm_new_bucket (dbf, dbf->bucket, 0);
- dbf->bucket->av_count = 1;
- dbf->bucket->bucket_avail[0].av_adr = 3*dbf->header->block_size;
- dbf->bucket->bucket_avail[0].av_size = dbf->header->block_size;
-
- /* Set table entries to point to hash buckets. */
- for (index = 0; index < GDBM_DIR_COUNT (dbf); index++)
- dbf->dir[index] = 2*dbf->header->block_size;
-
- /* Initialize the active avail block. */
- dbf->header->avail.size
- = ( (dbf->header->block_size - sizeof (gdbm_file_header))
- / sizeof (avail_elem)) + 1;
- dbf->header->avail.count = 0;
- dbf->header->avail.next_block = 0;
- dbf->header->next_block = 4*dbf->header->block_size;
-
- /* Write initial configuration to the file. */
- /* Block 0 is the file header and active avail block. */
- rc = _gdbm_full_write (dbf, dbf->header, dbf->header->block_size);
- if (rc)
- {
- SAVE_ERRNO (gdbm_close (dbf));
- gdbm_errno = rc;
- return NULL;
- }
-
- /* Block 1 is the initial bucket directory. */
- rc = _gdbm_full_write (dbf, dbf->dir, dbf->header->dir_size);
- if (rc)
- {
- SAVE_ERRNO (gdbm_close (dbf));
- gdbm_errno = rc;
- return NULL;
- }
-
- /* Block 2 is the only bucket. */
- rc = _gdbm_full_write (dbf, dbf->bucket, dbf->header->bucket_size);
- if (rc)
- {
- SAVE_ERRNO (gdbm_close (dbf));
- gdbm_errno = rc;
- return NULL;
- }
-
- /* Wait for initial configuration to be written to disk. */
- __fsync (dbf);
-
- free (dbf->bucket);
- }
- else
- {
- /* This is an old database. Read in the information from the file
- header and initialize the hash directory. */
-
- gdbm_file_header partial_header; /* For the first part of it. */
-
- /* Read the partial file header. */
- rc = _gdbm_full_read (dbf, &partial_header, sizeof (gdbm_file_header));
- if (rc)
- {
- SAVE_ERRNO (gdbm_close (dbf));
- gdbm_errno = rc;
- return NULL;
- }
-
- /* Is the magic number good? */
- if (partial_header.header_magic != GDBM_MAGIC
- && partial_header.header_magic != GDBM_OMAGIC)
- {
- gdbm_close (dbf);
- switch (partial_header.header_magic)
- {
- case GDBM_OMAGIC_SWAP:
- case GDBM_MAGIC32_SWAP:
- case GDBM_MAGIC64_SWAP:
- gdbm_errno = GDBM_BYTE_SWAPPED;
- break;
- case GDBM_MAGIC32:
- case GDBM_MAGIC64:
- gdbm_errno = GDBM_BAD_FILE_OFFSET;
- break;
- default:
- gdbm_errno = GDBM_BAD_MAGIC_NUMBER;
- }
- return NULL;
- }
-
- /* It is a good database, read the entire header. */
- dbf->header = (gdbm_file_header *) malloc (partial_header.block_size);
- if (dbf->header == NULL)
- {
- gdbm_close (dbf);
- gdbm_errno = GDBM_MALLOC_ERROR;
- return NULL;
- }
- memcpy (dbf->header, &partial_header, sizeof (gdbm_file_header));
- rc = _gdbm_full_read (dbf, &dbf->header->avail.av_table[1],
- dbf->header->block_size-sizeof (gdbm_file_header));
- if (rc)
- {
- SAVE_ERRNO (gdbm_close (dbf));
- gdbm_errno = rc;
- return NULL;
- }
-
- /* Allocate space for the hash table directory. */
- dbf->dir = (off_t *) malloc (dbf->header->dir_size);
- if (dbf->dir == NULL)
- {
- gdbm_close (dbf);
- gdbm_errno = GDBM_MALLOC_ERROR;
- return NULL;
- }
-
- /* Read the hash table directory. */
- file_pos = __lseek (dbf, dbf->header->dir, SEEK_SET);
- if (file_pos != dbf->header->dir)
- {
- SAVE_ERRNO (gdbm_close (dbf));
- gdbm_errno = GDBM_FILE_SEEK_ERROR;
- return NULL;
- }
-
- rc = _gdbm_full_read (dbf, dbf->dir, dbf->header->dir_size);
- if (rc)
- {
- SAVE_ERRNO (gdbm_close (dbf));
- gdbm_errno = rc;
- return NULL;
- }
-
- }
-
-#if HAVE_MMAP
- if (!(flags & GDBM_NOMMAP))
- {
- if (_gdbm_mapped_init (dbf) == 0)
- dbf->memory_mapping = TRUE;
- else
- {
- /* gdbm_errno should already be set. */
- close (dbf->desc);
- free (dbf->name);
- free (dbf);
- return NULL;
- }
- }
-#endif
-
- /* Finish initializing dbf. */
- dbf->last_read = -1;
- dbf->bucket = NULL;
- dbf->bucket_dir = 0;
- dbf->cache_entry = NULL;
- dbf->header_changed = FALSE;
- dbf->directory_changed = FALSE;
- dbf->bucket_changed = FALSE;
- dbf->second_changed = FALSE;
-
- /* Everything is fine, return the pointer to the file
- information structure. */
- return dbf;
-
-}
-
-/* Initialize the bucket cache. */
-int
-_gdbm_init_cache(GDBM_FILE dbf, size_t size)
-{
- int index;
-
- if (dbf->bucket_cache == NULL)
- {
- dbf->bucket_cache = (cache_elem *) malloc(sizeof(cache_elem) * size);
- if(dbf->bucket_cache == NULL)
- {
- gdbm_errno = GDBM_MALLOC_ERROR;
- return -1;
- }
- dbf->cache_size = size;
-
- for(index = 0; index < size; index++)
- {
- (dbf->bucket_cache[index]).ca_bucket
- = (hash_bucket *) calloc (1, dbf->header->bucket_size);
- if ((dbf->bucket_cache[index]).ca_bucket == NULL)
- {
- gdbm_errno = GDBM_MALLOC_ERROR;
- return -1;
- }
- (dbf->bucket_cache[index]).ca_adr = 0;
- (dbf->bucket_cache[index]).ca_changed = FALSE;
- (dbf->bucket_cache[index]).ca_data.hash_val = -1;
- (dbf->bucket_cache[index]).ca_data.elem_loc = -1;
- (dbf->bucket_cache[index]).ca_data.dptr = NULL;
- }
- dbf->bucket = dbf->bucket_cache[0].ca_bucket;
- dbf->cache_entry = &dbf->bucket_cache[0];
- }
- return 0;
-}
Index: sources/GNU/gdbm/create-1.11-patch/gdbm-1.11-new/src
===================================================================
--- sources/GNU/gdbm/create-1.11-patch/gdbm-1.11-new/src (revision 443)
+++ sources/GNU/gdbm/create-1.11-patch/gdbm-1.11-new/src (nonexistent)
Property changes on: sources/GNU/gdbm/create-1.11-patch/gdbm-1.11-new/src
___________________________________________________________________
Deleted: svn:ignore
## -1,73 +0,0 ##
-
-# install dir
-dist
-
-# Target build dirs
-.a1x-newlib
-.a2x-newlib
-.at91sam7s-newlib
-
-.build-machine
-
-.a1x-glibc
-.a2x-glibc
-.h3-glibc
-.h5-glibc
-.i586-glibc
-.i686-glibc
-.imx6-glibc
-.jz47xx-glibc
-.makefile
-.am335x-glibc
-.omap543x-glibc
-.p5600-glibc
-.power8-glibc
-.power8le-glibc
-.power9-glibc
-.power9le-glibc
-.m1000-glibc
-.riscv64-glibc
-.rk328x-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.dist
-.rootfs
-
-# src & hw requires
-.src_requires
-.src_requires_depend
-.requires
-.requires_depend
-
-# Tarballs
-*.gz
-*.bz2
-*.lz
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Descriptions
-*.dsc
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# backup copies
-*~
Index: sources/GNU/gdbm/create-1.11-patch/gdbm-1.11-new
===================================================================
--- sources/GNU/gdbm/create-1.11-patch/gdbm-1.11-new (revision 443)
+++ sources/GNU/gdbm/create-1.11-patch/gdbm-1.11-new (nonexistent)
Property changes on: sources/GNU/gdbm/create-1.11-patch/gdbm-1.11-new
___________________________________________________________________
Deleted: svn:ignore
## -1,73 +0,0 ##
-
-# install dir
-dist
-
-# Target build dirs
-.a1x-newlib
-.a2x-newlib
-.at91sam7s-newlib
-
-.build-machine
-
-.a1x-glibc
-.a2x-glibc
-.h3-glibc
-.h5-glibc
-.i586-glibc
-.i686-glibc
-.imx6-glibc
-.jz47xx-glibc
-.makefile
-.am335x-glibc
-.omap543x-glibc
-.p5600-glibc
-.power8-glibc
-.power8le-glibc
-.power9-glibc
-.power9le-glibc
-.m1000-glibc
-.riscv64-glibc
-.rk328x-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.dist
-.rootfs
-
-# src & hw requires
-.src_requires
-.src_requires_depend
-.requires
-.requires_depend
-
-# Tarballs
-*.gz
-*.bz2
-*.lz
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Descriptions
-*.dsc
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# backup copies
-*~
Index: sources/GNU/gdbm/create-1.11-patch
===================================================================
--- sources/GNU/gdbm/create-1.11-patch (revision 443)
+++ sources/GNU/gdbm/create-1.11-patch (nonexistent)
Property changes on: sources/GNU/gdbm/create-1.11-patch
___________________________________________________________________
Deleted: svn:ignore
## -1,73 +0,0 ##
-
-# install dir
-dist
-
-# Target build dirs
-.a1x-newlib
-.a2x-newlib
-.at91sam7s-newlib
-
-.build-machine
-
-.a1x-glibc
-.a2x-glibc
-.h3-glibc
-.h5-glibc
-.i586-glibc
-.i686-glibc
-.imx6-glibc
-.jz47xx-glibc
-.makefile
-.am335x-glibc
-.omap543x-glibc
-.p5600-glibc
-.power8-glibc
-.power8le-glibc
-.power9-glibc
-.power9le-glibc
-.m1000-glibc
-.riscv64-glibc
-.rk328x-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.dist
-.rootfs
-
-# src & hw requires
-.src_requires
-.src_requires_depend
-.requires
-.requires_depend
-
-# Tarballs
-*.gz
-*.bz2
-*.lz
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Descriptions
-*.dsc
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# backup copies
-*~
Index: sources/GNU/gdbm/patches/README
===================================================================
--- sources/GNU/gdbm/patches/README (revision 443)
+++ sources/GNU/gdbm/patches/README (nonexistent)
@@ -1,6 +0,0 @@
-
-/* begin *
-
- TODO: Leave some comment here.
-
- * end */
Index: sources/GNU/gdbm/patches
===================================================================
--- sources/GNU/gdbm/patches (revision 443)
+++ sources/GNU/gdbm/patches (nonexistent)
Property changes on: sources/GNU/gdbm/patches
___________________________________________________________________
Deleted: svn:ignore
## -1,73 +0,0 ##
-
-# install dir
-dist
-
-# Target build dirs
-.a1x-newlib
-.a2x-newlib
-.at91sam7s-newlib
-
-.build-machine
-
-.a1x-glibc
-.a2x-glibc
-.h3-glibc
-.h5-glibc
-.i586-glibc
-.i686-glibc
-.imx6-glibc
-.jz47xx-glibc
-.makefile
-.am335x-glibc
-.omap543x-glibc
-.p5600-glibc
-.power8-glibc
-.power8le-glibc
-.power9-glibc
-.power9le-glibc
-.m1000-glibc
-.riscv64-glibc
-.rk328x-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.dist
-.rootfs
-
-# src & hw requires
-.src_requires
-.src_requires_depend
-.requires
-.requires_depend
-
-# Tarballs
-*.gz
-*.bz2
-*.lz
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Descriptions
-*.dsc
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# backup copies
-*~
Index: sources/GNU/gdbm/Makefile
===================================================================
--- sources/GNU/gdbm/Makefile (revision 443)
+++ sources/GNU/gdbm/Makefile (revision 444)
@@ -7,7 +7,7 @@
url = $(DOWNLOAD_SERVER)/sources/GNU/gdbm
-versions = 1.11 1.19 1.23
+versions = 1.24
pkgname = gdbm
suffix = tar.gz
@@ -14,14 +14,10 @@
tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
sha1s = $(addsuffix .sha1sum, $(tarballs))
-patches = $(CURDIR)/patches/gdbm-1.11.patch
-.NOTPARALLEL: $(patches)
+BUILD_TARGETS = $(tarballs) $(sha1s)
-BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
-
-
include ../../../build-system/core.mk
@@ -47,10 +43,5 @@
fi ; \
done
-$(patches): $(sha1s)
- @echo -e "\n======= Create Patches =======\n" ; \
- ( cd create-1.11-patch ; ./create.patch.sh ) ; \
- echo -e "\n"
-
download_clean:
- @rm -f $(tarballs) $(sha1s) $(patches)
+ @rm -f $(tarballs) $(sha1s)
Index: sources/packages/l/libffi/Makefile
===================================================================
--- sources/packages/l/libffi/Makefile (revision 443)
+++ sources/packages/l/libffi/Makefile (revision 444)
@@ -7,7 +7,7 @@
url = $(DOWNLOAD_SERVER)/sources/packages/l/libffi
-versions = 3.4.6
+versions = 3.4.7
pkgname = libffi
suffix = tar.xz