Index: 2.1.27/Makefile
===================================================================
--- 2.1.27/Makefile (nonexistent)
+++ 2.1.27/Makefile (revision 5)
@@ -0,0 +1,211 @@
+
+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_WECHIP_TX6)
+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_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/n/cyrus-sasl
+
+REQUIRES = app/db/18.1.40
+REQUIRES += app/sqlite/3.39.4.0
+REQUIRES += net/openssl/1.1.1r
+REQUIRES += secure/pam/1.5.1
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 2.1.27
+tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/n/cyrus-sasl/cyrus-sasl-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/cyrus-sasl-$(version)
+src_dir_name = cyrus-sasl-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+rc_saslauthd = $(CURDIR)/scripts/rc.saslauthd
+
+
+PATCHES = PATCHES
+
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+
+SASL_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/cyrus-sasl-package
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(SASL_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
+extra_configure_switches += --with-plugindir=/usr/lib$(LIBSUFFIX)/sasl2
+extra_configure_switches += --with-configdir=/etc/sasl2
+extra_configure_switches += --enable-login
+extra_configure_switches += --disable-anon
+extra_configure_switches += --without-ldap
+extra_configure_switches += --enable-gssapi=no
+extra_configure_switches += --with-saslauthd=no
+
+extra_configure_switches += --enable-sql
+extra_configure_switches += --without-pgsql
+extra_configure_switches += --without-mysql
+extra_configure_switches += --with-sqlite3=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-dblib=berkeley
+extra_configure_switches += --with-devrandom=/dev/urandom
+
+ifeq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --enable-static=yes
+else
+extra_configure_switches += --enable-static=no
+endif
+extra_configure_switches += --enable-shared=yes
+
+
+sasl_environment = sasldir=/usr/lib$(LIBSUFFIX)/sasl2
+
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC) $(TOOLCHAIN_RK33XX_GLIBC) \
+ $(TOOLCHAIN_RK339X_GLIBC) $(TOOLCHAIN_S9XX_GLIBC) \
+ $(TOOLCHAIN_A311X_GLIBC) $(TOOLCHAIN_M1000_GLIBC) \
+ $(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC) \
+ $(TOOLCHAIN_POWER8LE_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC) \
+ $(TOOLCHAIN_RISCV64_GLIBC) $(TOOLCHAIN_X86_64_GLIBC)),)
+extra_build_environment = CC_FOR_BUILD='gcc'
+extra_build_environment += CPP_FOR_BUILD='gcc -E'
+extra_build_environment += LDFLAGS_FOR_BUILD='-L/lib$(BUILD_MULTILIB_SUFFIX) -L/usr/lib$(BUILD_MULTILIB_SUFFIX)'
+else
+extra_build_environment = CC_FOR_BUILD='gcc -m32'
+extra_build_environment += CPP_FOR_BUILD='gcc -m32 -E'
+extra_build_environment += LDFLAGS_FOR_BUILD='-m32 -L/lib$(BUILD_MULTILIB_X86_32_SUFFIX) -L/usr/lib$(BUILD_MULTILIB_X86_32_SUFFIX)'
+endif
+
+extra_build_environment += CFLAGS_FOR_BUILD=-I/usr/include
+extra_build_environment += CPPFLAGS_FOR_BUILD=-I/usr/include
+
+
+LDFLAGS += -Wl,-rpath=/lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX):/usr/lib/../lib$(LIBSUFFIX)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @cp -a $(CONFIG_GUESS) $(CONFIG_SUB) $(SRC_DIR)/config
+ @( cd $(SRC_DIR) ; autoreconf -fiv --warnings=none )
+ @touch $@
+
+$(build_target): $(src_done)
+ @cd $(SRC_DIR) && $(BUILD_ENVIRONMENT) $(extra_build_environment) $(sasl_environment) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET) \
+ $(extra_configure_switches)
+ # ======= Remove target CPPFLAGS from CPPFLAGS_FOR_BUILD: =======
+ sed -i "/^CPPFLAGS[ \t]*=/s,$(TARGET_DEST_DIR),," $(SRC_DIR)/include/Makefile
+ # ======= Build =======
+ @cd $(SRC_DIR) && $(BUILD_ENVIRONMENT) $(MAKE) $(sasl_environment)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(SASL_PKG)
+ @cd $(SRC_DIR) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(sasl_environment) $(env_sysroot)
+ @rm -rf $(SASL_PKG)/usr/share
+ @rm -rf $(SASL_PKG)/usr/sbin
+ # ======= remove toolchain path from target libtool *.la files =======
+ @( cd $(SASL_PKG)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libsasl2.la ; \
+ )
+ @( cd $(SASL_PKG)/usr/lib$(LIBSUFFIX)/sasl2 ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libcrammd5.la libdigestmd5.la liblogin.la libotp.la \
+ libplain.la libsasldb.la libscram.la libsql.la ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(SASL_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" libsasl2.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libsasl2.la ; \
+ )
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/sasl2 ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libcrammd5.la libdigestmd5.la liblogin.la libotp.la \
+ libplain.la libsasldb.la libscram.la libsql.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libcrammd5.la libdigestmd5.la liblogin.la libotp.la \
+ libplain.la libsasldb.la libscram.la libsql.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" libsasl2.pc ; \
+ )
+ # ======= Strip binaries =======
+ @( cd $(SASL_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 $(SASL_PKG) ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
+ )
+endif
+ @touch $@
Index: 2.1.27/PATCHES
===================================================================
--- 2.1.27/PATCHES (nonexistent)
+++ 2.1.27/PATCHES (revision 5)
@@ -0,0 +1,3 @@
+
+../../../sources/packages/n/cyrus-sasl/patches/cyrus-sasl-2.1.27-docsrc.patch -p0
+../../../sources/packages/n/cyrus-sasl/patches/cyrus-sasl-2.1.27-ln-sf.patch -p0
Index: 2.1.27
===================================================================
--- 2.1.27 (nonexistent)
+++ 2.1.27 (revision 5)
Property changes on: 2.1.27
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# 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: 2.1.27-ppc32/Makefile
===================================================================
--- 2.1.27-ppc32/Makefile (nonexistent)
+++ 2.1.27-ppc32/Makefile (revision 5)
@@ -0,0 +1,163 @@
+
+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/n/cyrus-sasl
+
+REQUIRES = env/cyrus-sasl/2.1.27
+REQUIRES += app/db/18.1.40-ppc32
+REQUIRES += app/sqlite/3.39.4.0-ppc32
+REQUIRES += net/openssl/1.1.1r-ppc32
+REQUIRES += secure/pam/1.5.1-ppc32
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 2.1.27
+tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/n/cyrus-sasl/cyrus-sasl-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/cyrus-sasl-$(version)
+src_dir_name = cyrus-sasl-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+
+SASL_32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/cyrus-sasl-x32-package
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(SASL_32_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
+extra_configure_switches += --with-plugindir=/usr/lib$(MULTILIB_PPC32_SUFFIX)/sasl2
+extra_configure_switches += --with-configdir=/etc/sasl2
+extra_configure_switches += --enable-login
+extra_configure_switches += --disable-anon
+extra_configure_switches += --without-ldap
+extra_configure_switches += --enable-gssapi=no
+extra_configure_switches += --with-saslauthd=no
+
+extra_configure_switches += --sbindir=/usr/sbin/32
+
+extra_configure_switches += --enable-sql
+extra_configure_switches += --without-pgsql
+extra_configure_switches += --without-mysql
+extra_configure_switches += --with-sqlite3=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-dblib=berkeley
+extra_configure_switches += --with-devrandom=/dev/urandom
+
+ifeq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --enable-static=yes
+else
+extra_configure_switches += --enable-static=no
+endif
+extra_configure_switches += --enable-shared=yes
+
+
+sasl_environment = sasldir=/usr/lib$(MULTILIB_PPC32_SUFFIX)/sasl2
+
+
+extra_build_environment = CC_FOR_BUILD='gcc -m32'
+extra_build_environment += CPP_FOR_BUILD='gcc -m32 -E'
+extra_build_environment += LDFLAGS_FOR_BUILD='-m32 -L/lib$(BUILD_MULTILIB_X86_32_SUFFIX) -L/usr/lib$(BUILD_MULTILIB_X86_32_SUFFIX)'
+extra_build_environment += CFLAGS_FOR_BUILD=-I/usr/include
+extra_build_environment += CPPFLAGS_FOR_BUILD=-I/usr/include
+
+
+LDFLAGS += -Wl,-rpath=/lib$(MULTILIB_PPC32_SUFFIX):/usr/lib$(MULTILIB_PPC32_SUFFIX):/usr/lib/../lib$(MULTILIB_PPC32_SUFFIX)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @cp -a $(CONFIG_GUESS) $(CONFIG_SUB) $(SRC_DIR)/config
+ @( cd $(SRC_DIR) ; autoreconf -fiv --warnings=none )
+ @touch $@
+
+$(build_target): $(src_done)
+ @cd $(SRC_DIR) && $(BUILD_ENVIRONMENT) $(extra_build_environment) $(sasl_environment) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET32) \
+ $(extra_configure_switches)
+ # ======= Remove target CPPFLAGS from CPPFLAGS_FOR_BUILD: =======
+ sed -i "/^CPPFLAGS[ \t]*=/s,$(TARGET_DEST_DIR),," $(SRC_DIR)/include/Makefile
+ # ======= Fix configure.ac error related LIB_SQLITE3: =======
+ sed -i "/^LIB_SQLITE3[ \t]*=/s,/usr/lib,/usr/lib$(MULTILIB_PPC32_SUFFIX),g" $(SRC_DIR)/Makefile
+ sed -i "/^LIB_SQLITE3[ \t]*=/s,/usr/lib,/usr/lib$(MULTILIB_PPC32_SUFFIX),g" $(SRC_DIR)/plugins/Makefile
+ # ======= Build =======
+ @cd $(SRC_DIR) && $(BUILD_ENVIRONMENT) $(MAKE) $(sasl_environment)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(SASL_32_PKG)
+ @cd $(SRC_DIR) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(sasl_environment) $(env_sysroot)
+ @rm -rf $(SASL_32_PKG)/usr/include
+ @rm -rf $(SASL_32_PKG)/usr/share
+ @rm -rf $(SASL_32_PKG)/usr/sbin
+ # ======= remove toolchain path from target libtool *.la files =======
+ @( cd $(SASL_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libsasl2.la ; \
+ )
+ @( cd $(SASL_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/sasl2 ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libcrammd5.la libdigestmd5.la liblogin.la libotp.la \
+ libplain.la libsasldb.la libscram.la libsql.la ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(SASL_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" libsasl2.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libsasl2.la ; \
+ )
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/sasl2 ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libcrammd5.la libdigestmd5.la liblogin.la libotp.la \
+ libplain.la libsasldb.la libscram.la libsql.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libcrammd5.la libdigestmd5.la liblogin.la libotp.la \
+ libplain.la libsasldb.la libscram.la libsql.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" libsasl2.pc ; \
+ )
+ @( cd $(SASL_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 $(SASL_32_PKG) ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
+ )
+endif
+ @touch $@
Index: 2.1.27-ppc32/PATCHES
===================================================================
--- 2.1.27-ppc32/PATCHES (nonexistent)
+++ 2.1.27-ppc32/PATCHES (revision 5)
@@ -0,0 +1,3 @@
+
+../../../sources/packages/n/cyrus-sasl/patches/cyrus-sasl-2.1.27-docsrc.patch -p0
+../../../sources/packages/n/cyrus-sasl/patches/cyrus-sasl-2.1.27-ln-sf.patch -p0
Index: 2.1.27-ppc32
===================================================================
--- 2.1.27-ppc32 (nonexistent)
+++ 2.1.27-ppc32 (revision 5)
Property changes on: 2.1.27-ppc32
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# 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: 2.1.27-x86_32/Makefile
===================================================================
--- 2.1.27-x86_32/Makefile (nonexistent)
+++ 2.1.27-x86_32/Makefile (revision 5)
@@ -0,0 +1,164 @@
+
+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/n/cyrus-sasl
+
+REQUIRES = env/cyrus-sasl/2.1.27
+REQUIRES += app/db/18.1.40-x86_32
+REQUIRES += app/sqlite/3.39.4.0-x86_32
+REQUIRES += net/openssl/1.1.1r-x86_32
+REQUIRES += secure/pam/1.5.1-x86_32
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 2.1.27
+tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/n/cyrus-sasl/cyrus-sasl-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/cyrus-sasl-$(version)
+src_dir_name = cyrus-sasl-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+
+SASL_32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/cyrus-sasl-x32-package
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(SASL_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 += --mandir=/usr/share/man
+extra_configure_switches += --disable-dependency-tracking
+extra_configure_switches += --sysconfdir=/etc
+extra_configure_switches += --localstatedir=/var
+extra_configure_switches += --with-plugindir=/usr/lib$(MULTILIB_X86_32_SUFFIX)/sasl2
+extra_configure_switches += --with-configdir=/etc/sasl2
+extra_configure_switches += --enable-login
+extra_configure_switches += --disable-anon
+extra_configure_switches += --without-ldap
+extra_configure_switches += --enable-gssapi=no
+extra_configure_switches += --with-saslauthd=no
+
+extra_configure_switches += --sbindir=/usr/sbin/32
+
+extra_configure_switches += --enable-sql
+extra_configure_switches += --without-pgsql
+extra_configure_switches += --without-mysql
+extra_configure_switches += --with-sqlite3=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-dblib=berkeley
+extra_configure_switches += --with-devrandom=/dev/urandom
+
+ifeq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --enable-static=yes
+else
+extra_configure_switches += --enable-static=no
+endif
+extra_configure_switches += --enable-shared=yes
+
+
+sasl_environment = sasldir=/usr/lib$(MULTILIB_X86_32_SUFFIX)/sasl2
+
+
+extra_build_environment = CC_FOR_BUILD='gcc -m32'
+extra_build_environment += CPP_FOR_BUILD='gcc -m32 -E'
+extra_build_environment += LDFLAGS_FOR_BUILD='-m32 -L/lib$(BUILD_MULTILIB_X86_32_SUFFIX) -L/usr/lib$(BUILD_MULTILIB_X86_32_SUFFIX)'
+extra_build_environment += CFLAGS_FOR_BUILD=-I/usr/include
+extra_build_environment += CPPFLAGS_FOR_BUILD=-I/usr/include
+
+
+LDFLAGS += -Wl,-rpath=/lib$(MULTILIB_X86_32_SUFFIX):/usr/lib$(MULTILIB_X86_32_SUFFIX):/usr/lib/../lib$(MULTILIB_X86_32_SUFFIX)
+
+
+TARGET_BIN_RPATH = /lib$(MULTILIB_X86_32_SUFFIX):/usr/lib$(MULTILIB_X86_32_SUFFIX)
+TARGET_LIB_RPATH = /lib$(MULTILIB_X86_32_SUFFIX):/usr/lib$(MULTILIB_X86_32_SUFFIX):/usr/lib/../lib$(MULTILIB_X86_32_SUFFIX)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @cp -a $(CONFIG_GUESS) $(CONFIG_SUB) $(SRC_DIR)/config
+ @( cd $(SRC_DIR) ; autoreconf -fiv --warnings=none )
+ @touch $@
+
+$(build_target): $(src_done)
+ @cd $(SRC_DIR) && $(BUILD_ENVIRONMENT) $(sasl_environment) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET32) \
+ $(extra_configure_switches)
+ # ======= Remove target CPPFLAGS from CPPFLAGS_FOR_BUILD: =======
+ sed -i "/^CPPFLAGS[ \t]*=/s,$(TARGET_DEST_DIR),," $(SRC_DIR)/include/Makefile
+ # ======= Fix configure.ac error related LIB_SQLITE3: =======
+ sed -i "/^LIB_SQLITE3[ \t]*=/s,/usr/lib,/usr/lib$(MULTILIB_X86_32_SUFFIX),g" $(SRC_DIR)/Makefile
+ sed -i "/^LIB_SQLITE3[ \t]*=/s,/usr/lib,/usr/lib$(MULTILIB_X86_32_SUFFIX),g" $(SRC_DIR)/plugins/Makefile
+ # ======= Build =======
+ @cd $(SRC_DIR) && $(BUILD_ENVIRONMENT) $(MAKE) $(sasl_environment)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(SASL_32_PKG)
+ @cd $(SRC_DIR) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(sasl_environment) $(env_sysroot)
+ @rm -rf $(SASL_32_PKG)/usr/include
+ @rm -rf $(SASL_32_PKG)/usr/share
+ @rm -rf $(SASL_32_PKG)/usr/sbin
+ # ======= remove toolchain path from target libtool *.la files =======
+ @( cd $(SASL_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libsasl2.la ; \
+ )
+ @( cd $(SASL_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/sasl2 ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libcrammd5.la libdigestmd5.la liblogin.la libotp.la \
+ libplain.la libsasldb.la libscram.la libsql.la ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(SASL_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" libsasl2.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libsasl2.la ; \
+ )
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/sasl2 ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libcrammd5.la libdigestmd5.la liblogin.la libotp.la \
+ libplain.la libsasldb.la libscram.la libsql.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libcrammd5.la libdigestmd5.la liblogin.la libotp.la \
+ libplain.la libsasldb.la libscram.la libsql.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" libsasl2.pc ; \
+ )
+ @( cd $(SASL_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 $(SASL_32_PKG) ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
+ )
+endif
+ @touch $@
Index: 2.1.27-x86_32/PATCHES
===================================================================
--- 2.1.27-x86_32/PATCHES (nonexistent)
+++ 2.1.27-x86_32/PATCHES (revision 5)
@@ -0,0 +1,3 @@
+
+../../../sources/packages/n/cyrus-sasl/patches/cyrus-sasl-2.1.27-docsrc.patch -p0
+../../../sources/packages/n/cyrus-sasl/patches/cyrus-sasl-2.1.27-ln-sf.patch -p0
Index: 2.1.27-x86_32
===================================================================
--- 2.1.27-x86_32 (nonexistent)
+++ 2.1.27-x86_32 (revision 5)
Property changes on: 2.1.27-x86_32
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# 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: .
===================================================================
--- . (nonexistent)
+++ . (revision 5)
Property changes on: .
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# 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
+*~