Index: radix-1.9/app/pkgtools/0.2.1/pkgtools-pkg-description.in
===================================================================
--- radix-1.9/app/pkgtools/0.2.1/pkgtools-pkg-description.in (revision 202)
+++ radix-1.9/app/pkgtools/0.2.1/pkgtools-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------------------------------------------------------|
-pkgtools: pkgtools @VERSION@ (Package Tools)
-pkgtools:
-pkgtools: This is a set of command line utilities for creating alienated
-pkgtools: packages, for installing and updating the root file system, as well
-pkgtools: as for uninstalling unnecessary packages. A distinctive feature of
-pkgtools: these tools is that they can be used during a parallel assembly of
-pkgtools: several distributions at the same time.
-pkgtools:
-pkgtools: Homepage: https://radix.pro/build-system/pkgtool
-pkgtools: Subversion: https://csvn.radix.pro/pkgtools
-pkgtools:
Index: radix-1.9/app/pkgtools/0.2.1/pkgtools-pkg-install.sh
===================================================================
--- radix-1.9/app/pkgtools/0.2.1/pkgtools-pkg-install.sh (revision 202)
+++ radix-1.9/app/pkgtools/0.2.1/pkgtools-pkg-install.sh (nonexistent)
@@ -1,53 +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() {
- /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: radix-1.9/app/pkgtools/0.2.1/pkgtools-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: radix-1.9/app/pkgtools/0.2.1/Makefile
===================================================================
--- radix-1.9/app/pkgtools/0.2.1/Makefile (revision 202)
+++ radix-1.9/app/pkgtools/0.2.1/Makefile (nonexistent)
@@ -1,235 +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/a/pkgtools
-
-REQUIRES = app/dialog/1.3-20210621
-REQUIRES += app/coreutils/8.32
-REQUIRES += app/findutils/4.8.0
-REQUIRES += app/grep/3.6
-REQUIRES += app/sed/4.8
-REQUIRES += app/tar/1.34
-REQUIRES += app/xz/5.2.7
-REQUIRES += app/lzip/1.22
-REQUIRES += app/gzip/1.10
-REQUIRES += app/bzip2/1.0.8
-REQUIRES += net/gnupg2/2.2.27
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 0.2.1
-tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/a/pkgtools/pkgtools-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/pkgtools-$(version)
-src_dir_name = pkgtools-$(version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-PATCHES = PATCHES
-
-build_dir = $(TARGET_BUILD_DIR)/built
-build_target = $(TARGET_BUILD_DIR)/.build_done
-install_target = $(TARGET_BUILD_DIR)/.install_done
-
-
-####### Targets
-
-PKG_GROUP = app
-
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-PKGTOOLS_PKG_NAME = pkgtools
-PKGTOOLS_PKG_VERSION = 0.2.1
-PKGTOOLS_PKG_ARCH = $(PKGARCH)
-PKGTOOLS_PKG_DISTRO_NAME = $(DISTRO_NAME)
-PKGTOOLS_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-PKGTOOLS_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-PKGTOOLS_PKG_SHORT_DESCRIPTION = Package Tools
-PKGTOOLS_PKG_URL = $(BUG_URL)
-PKGTOOLS_PKG_LICENSE = Radix.pro
-PKGTOOLS_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(PKGTOOLS_PKG_NAME)-pkg-description
-PKGTOOLS_PKG_DESCRIPTION_FILE_IN = $(PKGTOOLS_PKG_NAME)-pkg-description.in
-PKGTOOLS_PKG_INSTALL_SCRIPT = $(PKGTOOLS_PKG_NAME)-pkg-install.sh
-
-PKGTOOLS_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(PKGTOOLS_PKG_NAME)-package
-
-pkg_basename = $(PKGTOOLS_PKG_NAME)-$(PKGTOOLS_PKG_VERSION)-$(PKGTOOLS_PKG_ARCH)-$(PKGTOOLS_PKG_DISTRO_NAME)-$(PKGTOOLS_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=$(PKGTOOLS_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 += --sbindir=/sbin/pkgtools
-extra_configure_switches += --with-gpg2=$(TARGET_DEST_DIR)/usr
-extra_configure_switches += --with-dialog=$(TARGET_DEST_DIR)/usr
-extra_configure_switches += --with-dialog-test=yes
-extra_configure_switches += --with-distro-name=$(DISTRO_NAME)
-extra_configure_switches += --with-distro-version=$(DISTRO_VERSION)
-
-
-LDFLAGS += -Wl,-rpath,/lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
- $(APPLY_PATCHES)
- @touch $@
-
-$(build_target): $(src_done)
- @cd $(SRC_DIR) && ./bootstrap --target-dest-dir=$(TARGET_DEST_DIR)
- @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) all
- @touch $@
-
-$(install_target): $(build_target)
- @mkdir -p $(PKGTOOLS_PKG)
- @echo -e "\n======= Installing PKGTOOLS binaries =======\n"
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
- # ======= Install Documentation =======
- @if [ -d $(PKGTOOLS_PKG)/usr/share/man ]; then \
- ( cd $(PKGTOOLS_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 $(PKGTOOLS_PKG)/usr/doc/$(src_dir_name)
- @cp -a $(SRC_DIR)/LICENSE \
- $(PKGTOOLS_PKG)/usr/doc/$(src_dir_name)
- @mkdir -p $(PKGTOOLS_PKG)/usr/share/doc/$(src_dir_name)
- @( cd $(SRC_DIR) ; \
- cp -a LICENSE README* doc/autogen-examples doc/dialog \
- $(PKGTOOLS_PKG)/usr/share/doc/$(src_dir_name) ; \
- chmod 644 $(PKGTOOLS_PKG)/usr/share/doc/$(src_dir_name)/autogen-examples/* ; \
- )
- @( cd $(SRC_DIR) ; \
- if [ -r ChangeLog ]; then \
- DOCSDIR=`echo $(PKGTOOLS_PKG)/usr/share/doc/$(src_dir_name)` ; \
- cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
- touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
- fi \
- )
- # ======= Install the same to $(TARGET_DEST_DIR) =======
- $(call install-into-devenv, $(PKGTOOLS_PKG))
- # ======= Strip Binaries =======
- @( cd $(PKGTOOLS_PKG) ; \
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- )
- @touch $@
-
-$(PKGTOOLS_PKG_DESCRIPTION_FILE): $(PKGTOOLS_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) $(PKGTOOLS_PKG_DESCRIPTION_FILE) $(PKGTOOLS_PKG_INSTALL_SCRIPT)
- @cp $(PKGTOOLS_PKG_DESCRIPTION_FILE) $(PKGTOOLS_PKG)/.DESCRIPTION
- @cp $(PKGTOOLS_PKG_INSTALL_SCRIPT) $(PKGTOOLS_PKG)/.INSTALL
- @$(BUILD_PKG_REQUIRES) $(PKGTOOLS_PKG)/.REQUIRES
- @echo "pkgname=$(PKGTOOLS_PKG_NAME)" > $(PKGTOOLS_PKG)/.PKGINFO ; \
- echo "pkgver=$(PKGTOOLS_PKG_VERSION)" >> $(PKGTOOLS_PKG)/.PKGINFO ; \
- echo "arch=$(PKGTOOLS_PKG_ARCH)" >> $(PKGTOOLS_PKG)/.PKGINFO ; \
- echo "distroname=$(PKGTOOLS_PKG_DISTRO_NAME)" >> $(PKGTOOLS_PKG)/.PKGINFO ; \
- echo "distrover=$(PKGTOOLS_PKG_DISTRO_VERSION)" >> $(PKGTOOLS_PKG)/.PKGINFO ; \
- echo "group=$(PKGTOOLS_PKG_GROUP)" >> $(PKGTOOLS_PKG)/.PKGINFO ; \
- echo "short_description=\"$(PKGTOOLS_PKG_SHORT_DESCRIPTION)\"" >> $(PKGTOOLS_PKG)/.PKGINFO ; \
- echo "url=$(PKGTOOLS_PKG_URL)" >> $(PKGTOOLS_PKG)/.PKGINFO ; \
- echo "license=$(PKGTOOLS_PKG_LICENSE)" >> $(PKGTOOLS_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(PKGTOOLS_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: radix-1.9/app/pkgtools/0.2.1
===================================================================
--- radix-1.9/app/pkgtools/0.2.1 (revision 202)
+++ radix-1.9/app/pkgtools/0.2.1 (nonexistent)
Property changes on: radix-1.9/app/pkgtools/0.2.1
___________________________________________________________________
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: radix-1.9/app/pkgtools/0.2.2/Makefile
===================================================================
--- radix-1.9/app/pkgtools/0.2.2/Makefile (nonexistent)
+++ radix-1.9/app/pkgtools/0.2.2/Makefile (revision 203)
@@ -0,0 +1,235 @@
+
+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/a/pkgtools
+
+REQUIRES = app/dialog/1.3-20210621
+REQUIRES += app/coreutils/8.32
+REQUIRES += app/findutils/4.8.0
+REQUIRES += app/grep/3.6
+REQUIRES += app/sed/4.8
+REQUIRES += app/tar/1.34
+REQUIRES += app/xz/5.2.7
+REQUIRES += app/lzip/1.22
+REQUIRES += app/gzip/1.10
+REQUIRES += app/bzip2/1.0.8
+REQUIRES += net/gnupg2/2.2.27
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 0.2.2
+tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/a/pkgtools/pkgtools-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/pkgtools-$(version)
+src_dir_name = pkgtools-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/built
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = app
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+PKGTOOLS_PKG_NAME = pkgtools
+PKGTOOLS_PKG_VERSION = 0.2.2
+PKGTOOLS_PKG_ARCH = $(PKGARCH)
+PKGTOOLS_PKG_DISTRO_NAME = $(DISTRO_NAME)
+PKGTOOLS_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+PKGTOOLS_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+PKGTOOLS_PKG_SHORT_DESCRIPTION = Package Tools
+PKGTOOLS_PKG_URL = $(BUG_URL)
+PKGTOOLS_PKG_LICENSE = Radix.pro
+PKGTOOLS_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(PKGTOOLS_PKG_NAME)-pkg-description
+PKGTOOLS_PKG_DESCRIPTION_FILE_IN = $(PKGTOOLS_PKG_NAME)-pkg-description.in
+PKGTOOLS_PKG_INSTALL_SCRIPT = $(PKGTOOLS_PKG_NAME)-pkg-install.sh
+
+PKGTOOLS_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(PKGTOOLS_PKG_NAME)-package
+
+pkg_basename = $(PKGTOOLS_PKG_NAME)-$(PKGTOOLS_PKG_VERSION)-$(PKGTOOLS_PKG_ARCH)-$(PKGTOOLS_PKG_DISTRO_NAME)-$(PKGTOOLS_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=$(PKGTOOLS_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 += --sbindir=/sbin/pkgtools
+extra_configure_switches += --with-gpg2=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-dialog=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-dialog-test=yes
+extra_configure_switches += --with-distro-name=$(DISTRO_NAME)
+extra_configure_switches += --with-distro-version=$(DISTRO_VERSION)
+
+
+LDFLAGS += -Wl,-rpath,/lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @cd $(SRC_DIR) && ./bootstrap --target-dest-dir=$(TARGET_DEST_DIR)
+ @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) all
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(PKGTOOLS_PKG)
+ @echo -e "\n======= Installing PKGTOOLS binaries =======\n"
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ # ======= Install Documentation =======
+ @if [ -d $(PKGTOOLS_PKG)/usr/share/man ]; then \
+ ( cd $(PKGTOOLS_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 $(PKGTOOLS_PKG)/usr/doc/$(src_dir_name)
+ @cp -a $(SRC_DIR)/LICENSE \
+ $(PKGTOOLS_PKG)/usr/doc/$(src_dir_name)
+ @mkdir -p $(PKGTOOLS_PKG)/usr/share/doc/$(src_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a LICENSE README* doc/autogen-examples doc/dialog \
+ $(PKGTOOLS_PKG)/usr/share/doc/$(src_dir_name) ; \
+ chmod 644 $(PKGTOOLS_PKG)/usr/share/doc/$(src_dir_name)/autogen-examples/* ; \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r ChangeLog ]; then \
+ DOCSDIR=`echo $(PKGTOOLS_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+ touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(PKGTOOLS_PKG))
+ # ======= Strip Binaries =======
+ @( cd $(PKGTOOLS_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ @touch $@
+
+$(PKGTOOLS_PKG_DESCRIPTION_FILE): $(PKGTOOLS_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) $(PKGTOOLS_PKG_DESCRIPTION_FILE) $(PKGTOOLS_PKG_INSTALL_SCRIPT)
+ @cp $(PKGTOOLS_PKG_DESCRIPTION_FILE) $(PKGTOOLS_PKG)/.DESCRIPTION
+ @cp $(PKGTOOLS_PKG_INSTALL_SCRIPT) $(PKGTOOLS_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(PKGTOOLS_PKG)/.REQUIRES
+ @echo "pkgname=$(PKGTOOLS_PKG_NAME)" > $(PKGTOOLS_PKG)/.PKGINFO ; \
+ echo "pkgver=$(PKGTOOLS_PKG_VERSION)" >> $(PKGTOOLS_PKG)/.PKGINFO ; \
+ echo "arch=$(PKGTOOLS_PKG_ARCH)" >> $(PKGTOOLS_PKG)/.PKGINFO ; \
+ echo "distroname=$(PKGTOOLS_PKG_DISTRO_NAME)" >> $(PKGTOOLS_PKG)/.PKGINFO ; \
+ echo "distrover=$(PKGTOOLS_PKG_DISTRO_VERSION)" >> $(PKGTOOLS_PKG)/.PKGINFO ; \
+ echo "group=$(PKGTOOLS_PKG_GROUP)" >> $(PKGTOOLS_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(PKGTOOLS_PKG_SHORT_DESCRIPTION)\"" >> $(PKGTOOLS_PKG)/.PKGINFO ; \
+ echo "url=$(PKGTOOLS_PKG_URL)" >> $(PKGTOOLS_PKG)/.PKGINFO ; \
+ echo "license=$(PKGTOOLS_PKG_LICENSE)" >> $(PKGTOOLS_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(PKGTOOLS_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: radix-1.9/app/pkgtools/0.2.2/PATCHES
===================================================================
Index: radix-1.9/app/pkgtools/0.2.2/pkgtools-pkg-description.in
===================================================================
--- radix-1.9/app/pkgtools/0.2.2/pkgtools-pkg-description.in (nonexistent)
+++ radix-1.9/app/pkgtools/0.2.2/pkgtools-pkg-description.in (revision 203)
@@ -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------------------------------------------------------|
+pkgtools: pkgtools @VERSION@ (Package Tools)
+pkgtools:
+pkgtools: This is a set of command line utilities for creating alienated
+pkgtools: packages, for installing and updating the root file system, as well
+pkgtools: as for uninstalling unnecessary packages. A distinctive feature of
+pkgtools: these tools is that they can be used during a parallel assembly of
+pkgtools: several distributions at the same time.
+pkgtools:
+pkgtools: Homepage: https://radix.pro/build-system/pkgtool
+pkgtools: Subversion: https://csvn.radix.pro/pkgtools
+pkgtools:
Index: radix-1.9/app/pkgtools/0.2.2/pkgtools-pkg-install.sh
===================================================================
--- radix-1.9/app/pkgtools/0.2.2/pkgtools-pkg-install.sh (nonexistent)
+++ radix-1.9/app/pkgtools/0.2.2/pkgtools-pkg-install.sh (revision 203)
@@ -0,0 +1,53 @@
+#!/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() {
+ /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: radix-1.9/app/pkgtools/0.2.2/pkgtools-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: radix-1.9/app/pkgtools/0.2.2
===================================================================
--- radix-1.9/app/pkgtools/0.2.2 (nonexistent)
+++ radix-1.9/app/pkgtools/0.2.2 (revision 203)
Property changes on: radix-1.9/app/pkgtools/0.2.2
___________________________________________________________________
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: radix-1.9/base/radix-setup/Makefile
===================================================================
--- radix-1.9/base/radix-setup/Makefile (revision 202)
+++ radix-1.9/base/radix-setup/Makefile (revision 203)
@@ -57,7 +57,7 @@
include ../../build-system/constants.mk
-REQUIRES = app/pkgtools/0.2.1
+REQUIRES = app/pkgtools/0.2.2
# ======= __END_OF_REQUIRES__ =======
Index: radix-1.9/products/base/Makefile
===================================================================
--- radix-1.9/products/base/Makefile (revision 202)
+++ radix-1.9/products/base/Makefile (revision 203)
@@ -1352,7 +1352,7 @@
#
# pkgtools requires dialog and GnuPG2
#
-REQUIRES += app/pkgtools/0.2.1
+REQUIRES += app/pkgtools/0.2.2
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
REQUIRES += app/dialog/1.3-20210621-ppc32
endif
Index: radix-1.9/sources/packages/a/pkgtools/Makefile
===================================================================
--- radix-1.9/sources/packages/a/pkgtools/Makefile (revision 202)
+++ radix-1.9/sources/packages/a/pkgtools/Makefile (revision 203)
@@ -8,7 +8,7 @@
url = $(DOWNLOAD_SERVER)/sources/packages/a/pkgtools
-versions = 0.2.1
+versions = 0.2.2
pkgname = pkgtools
suffix = tar.xz