# HG changeset patch # User Aleksej Bobylev # Date 1481843816 -7200 # Node ID c963361d3d542a5ec4f94eb6ff8fae2cdc1547d1 # Parent 792674d977261ca75b29ac58541b41b85091ef36 Initial commit to wok-next (SliTaz v.6 now): update 61 packages (about) according to LFS 7.10 diff -r 792674d97726 -r c963361d3d54 bash/description.txt --- a/bash/description.txt Wed Dec 14 21:23:06 2016 +0100 +++ b/bash/description.txt Fri Dec 16 01:16:56 2016 +0200 @@ -1,6 +1,7 @@ Bash is a shell, or command language interpreter, for the GNU operating system. -Bash is an sh-compatible shell that incorporates useful features from the Korn -shell (ksh) and C shell (csh). It is intended to conform to the IEEE POSIX -P1003.2/ISO 9945.2 Shell and Tools standard. It offers functional improvements -over sh for both programming and interactive use. In addition, most sh scripts + +Bash is an sh-compatible shell that incorporates useful features from the Korn +shell (ksh) and C shell (csh). It is intended to conform to the IEEE POSIX +P1003.2/ISO 9945.2 Shell and Tools standard. It offers functional improvements +over sh for both programming and interactive use. In addition, most sh scripts can be run by Bash without modification. diff -r 792674d97726 -r c963361d3d54 bash/receipt --- a/bash/receipt Wed Dec 14 21:23:06 2016 +0100 +++ b/bash/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -1,34 +1,34 @@ # SliTaz package receipt. PACKAGE="bash" -VERSION="4.3.42" +VERSION="4.3.48" BASEVERSION="${VERSION%.*}" -CATEGORY="system-tools" -SHORT_DESC="The GNU bourne SHell." +CATEGORY="shells" +SHORT_DESC="The GNU bourne shell" MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" +WEB_SITE="https://www.gnu.org/software/bash/" +TAGS="shell" + TARBALL="$PACKAGE-$BASEVERSION.tar.gz" -WEB_SITE="http://www.gnu.org/software/bash/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" + BASHCHECKURL="https://raw.githubusercontent.com/hannob/bashcheck/master/bashcheck" BASHCHECK="$(basename $BASHCHECKURL)" BASHPATCHES="$(for i in $(seq 1 ${VERSION##*.}); do printf "bash${BASEVERSION/./}-%03d " $i; done)" EXTRA_SOURCE_FILES="$BASHCHECK $BASHPATCHES" -TAGS="shell" -DEPENDS="libtinfo" # readline -BUILD_DEPENDS="readline bison wget texinfo" -#configure: WARNING: installed readline library is too old to be linked with bash -#configure: WARNING: using private bash version +DEPENDS="readline libtinfo" +BUILD_DEPENDS="readline texinfo gettext patch" patch_bash() { - for i in $BASHPATCHES ; do - [ -s "$SOURCES_REPOSITORY/$i" ] || + for i in $BASHPATCHES; do + [ -s "$SOURCES_REPOSITORY/$i" ] || wget -O "$SOURCES_REPOSITORY/$i" \ http://ftp.gnu.org/gnu/bash/bash-$BASEVERSION-patches/$i - echo "Apply $i ..." - patch -p0 < $SOURCES_REPOSITORY/$i + echo "Apply $i patch..." + patch -p0 -i $SOURCES_REPOSITORY/$i | awk '{print " * " $0;}' done } @@ -45,10 +45,9 @@ compile_rules() { # Patch and then build. - cd $src patch_bash # Skip tests that can not run while cross-compiling. - cat > config.cache << "EOF" + cat > config.cache < Makefile - + patch -p1 -i $stuff/bzip2-1.0.6-install_docs-1.patch + patch -p1 -i $stuff/bzip2-1.0.6-fix_install.patch + # No configure script, we must used CC, AR and RANLIB set by cook. case "$ARCH" in arm*) @@ -32,7 +32,7 @@ make clean && make ;; esac - cook_pick_manpages bzdiff.1 bzgrep.1 bzip2.1 bzmore.1 + make install } # Just to be sure when cross-compiling. @@ -44,12 +44,7 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - cp -a $src/bzip2-shared $fs/usr/bin/bzip2 - # Da bunzip2, bzcat and lib symlink. - cd $fs/usr/bin - ln -s bzip2 bunzip2 - ln -s bzip2 bzcat + cook_copy_files bzip2 bunzip2 bzcat } # Restore Busybox symlinks upon removal @@ -57,5 +52,4 @@ { ln -s /bin/busybox /usr/bin/bunzip2 ln -s /bin/busybox /usr/bin/bzcat - #ln -s /bin/busybox /usr/bin/bzip2 } diff -r 792674d97726 -r c963361d3d54 bzip2/stuff/bzip2-1.0.6-fix_install.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bzip2/stuff/bzip2-1.0.6-fix_install.patch Fri Dec 16 01:16:56 2016 +0200 @@ -0,0 +1,138 @@ +--- a/Makefile ++++ b/Makefile +@@ -24,7 +24,7 @@ + CFLAGS=-Wall -Winline -O2 -g $(BIGFILES) + + # Where you want it installed when you do 'make install' +-PREFIX=/usr/local ++PREFIX=/usr + DOCDIR=share/doc/$(DISTNAME) + + OBJS= blocksort.o \ +@@ -35,7 +35,7 @@ + decompress.o \ + bzlib.o + +-all: libbz2.a bzip2 bzip2recover test ++all: libbz2.a bzip2 bzip2recover + + bzip2: libbz2.a bzip2.o + $(CC) $(CFLAGS) $(LDFLAGS) -o bzip2 bzip2.o -L. -lbz2 +@@ -70,52 +70,71 @@ + @cat words3 + + install: bzip2 bzip2recover +- if ( test ! -d $(PREFIX)/bin ) ; then mkdir -p $(PREFIX)/bin ; fi +- if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi +- if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi +- if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi +- if ( test ! -d $(PREFIX)/$(DOCDIR) ) ; then mkdir -p $(PREFIX)/$(DOCDIR); fi +- if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi +- cp -f bzip2 $(PREFIX)/bin/bzip2 +- cp -f bzip2 $(PREFIX)/bin/bunzip2 +- cp -f bzip2 $(PREFIX)/bin/bzcat +- cp -f bzip2recover $(PREFIX)/bin/bzip2recover +- chmod a+x $(PREFIX)/bin/bzip2 +- chmod a+x $(PREFIX)/bin/bunzip2 +- chmod a+x $(PREFIX)/bin/bzcat +- chmod a+x $(PREFIX)/bin/bzip2recover +- cp -f bzip2.1 $(PREFIX)/man/man1 +- chmod a+r $(PREFIX)/man/man1/bzip2.1 +- cp -f bzlib.h $(PREFIX)/include +- chmod a+r $(PREFIX)/include/bzlib.h +- cp -f libbz2.a $(PREFIX)/lib +- chmod a+r $(PREFIX)/lib/libbz2.a +- cp -f bzgrep $(PREFIX)/bin/bzgrep +- ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzegrep +- ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzfgrep +- chmod a+x $(PREFIX)/bin/bzgrep +- cp -f bzmore $(PREFIX)/bin/bzmore +- ln -s -f $(PREFIX)/bin/bzmore $(PREFIX)/bin/bzless +- chmod a+x $(PREFIX)/bin/bzmore +- cp -f bzdiff $(PREFIX)/bin/bzdiff +- ln -s -f $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp +- chmod a+x $(PREFIX)/bin/bzdiff +- cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/man/man1 +- chmod a+r $(PREFIX)/man/man1/bzgrep.1 +- chmod a+r $(PREFIX)/man/man1/bzmore.1 +- chmod a+r $(PREFIX)/man/man1/bzdiff.1 +- echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzegrep.1 +- echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1 +- echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1 +- echo ".so man1/bzdiff.1" > $(PREFIX)/man/man1/bzcmp.1 +- cp -f manual.html $(PREFIX)/$(DOCDIR) +- cp -f manual.pdf $(PREFIX)/$(DOCDIR) +- cp -f manual.ps $(PREFIX)/$(DOCDIR) +- cp -f bzip2.txt $(PREFIX)/$(DOCDIR) +- chmod a+r $(PREFIX)/$(DOCDIR)/manual.html +- chmod a+r $(PREFIX)/$(DOCDIR)/manual.pdf +- chmod a+r $(PREFIX)/$(DOCDIR)/manual.ps +- chmod a+r $(PREFIX)/$(DOCDIR)/bzip2.txt ++ if ( test ! -d $(DESTDIR)$(PREFIX)/bin ) ; then mkdir -p $(DESTDIR)$(PREFIX)/bin ; fi ++ if ( test ! -d $(DESTDIR)$(PREFIX)/lib ) ; then mkdir -p $(DESTDIR)$(PREFIX)/lib ; fi ++ if ( test ! -d $(DESTDIR)/bin ) ; then mkdir -p $(DESTDIR)/bin ; fi ++ if ( test ! -d $(DESTDIR)/lib ) ; then mkdir -p $(DESTDIR)/lib ; fi ++ if ( test ! -d $(DESTDIR)$(PREFIX)/share/man/man1 ) ; then mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 ; fi ++ if ( test ! -d $(DESTDIR)$(PREFIX)/$(DOCDIR) ) ; then mkdir -p $(DESTDIR)$(PREFIX)/$(DOCDIR); fi ++ if ( test ! -d $(DESTDIR)$(PREFIX)/include ) ; then mkdir -p $(DESTDIR)$(PREFIX)/include ; fi ++ ++# shared bzip2 ++ cp -a bzip2-shared $(DESTDIR)/bin/bzip2 ++ chmod a+x $(DESTDIR)/bin/bzip2 ++# shared library ++ cp -a libbz2.so* $(DESTDIR)/lib ++ ln -s ../../lib/libbz2.so.1.0 $(DESTDIR)$(PREFIX)/lib/libbz2.so ++# bunzip2 ++ ln -s ../../bin/bzip2 $(DESTDIR)$(PREFIX)/bin/bunzip2 ++# bzcat ++ ln -s ../../bin/bzip2 $(DESTDIR)$(PREFIX)/bin/bzcat ++# bzdiff ++ cp -f bzdiff $(DESTDIR)$(PREFIX)/bin/bzdiff ++ chmod a+x $(DESTDIR)$(PREFIX)/bin/bzdiff ++# bzcmp ++ ln -s bzdiff $(DESTDIR)$(PREFIX)/bin/bzcmp ++# bzgrep ++ cp -f bzgrep $(DESTDIR)$(PREFIX)/bin/bzgrep ++ chmod a+x $(DESTDIR)$(PREFIX)/bin/bzgrep ++# bzegrep ++ ln -s bzgrep $(DESTDIR)$(PREFIX)/bin/bzegrep ++# bzfgrep ++ ln -s bzgrep $(DESTDIR)$(PREFIX)/bin/bzfgrep ++# bzip2recover ++ cp -f bzip2recover $(DESTDIR)$(PREFIX)/bin/bzip2recover ++ chmod a+x $(DESTDIR)$(PREFIX)/bin/bzip2recover ++# bzmore ++ cp -f bzmore $(DESTDIR)$(PREFIX)/bin/bzmore ++ chmod a+x $(DESTDIR)$(PREFIX)/bin/bzmore ++# bzless ++ ln -s bzmore $(DESTDIR)$(PREFIX)/bin/bzless ++# headers ++ cp -f bzlib.h bzlib_private.h $(DESTDIR)$(PREFIX)/include ++ chmod a+r $(DESTDIR)$(PREFIX)/include/bzlib.h ++ chmod a+r $(DESTDIR)$(PREFIX)/include/bzlib_private.h ++# static library ++ cp -f libbz2.a $(DESTDIR)$(PREFIX)/lib ++ chmod a+r $(DESTDIR)$(PREFIX)/lib/libbz2.a ++# man pages ++ cp -f bzip2.1 $(DESTDIR)$(PREFIX)/share/man/man1 ++ chmod a+r $(DESTDIR)$(PREFIX)/share/man/man1/bzip2.1 ++ cp -f bzgrep.1 bzmore.1 bzdiff.1 $(DESTDIR)$(PREFIX)/share/man/man1 ++ chmod a+r $(DESTDIR)$(PREFIX)/share/man/man1/bzgrep.1 ++ chmod a+r $(DESTDIR)$(PREFIX)/share/man/man1/bzmore.1 ++ chmod a+r $(DESTDIR)$(PREFIX)/share/man/man1/bzdiff.1 ++ echo ".so man1/bzgrep.1" > $(DESTDIR)$(PREFIX)/share/man/man1/bzegrep.1 ++ echo ".so man1/bzgrep.1" > $(DESTDIR)$(PREFIX)/share/man/man1/bzfgrep.1 ++ echo ".so man1/bzmore.1" > $(DESTDIR)$(PREFIX)/share/man/man1/bzless.1 ++ echo ".so man1/bzdiff.1" > $(DESTDIR)$(PREFIX)/share/man/man1/bzcmp.1 ++# docs ++ cp -f manual.html $(DESTDIR)$(PREFIX)/$(DOCDIR) ++ cp -f manual.pdf $(DESTDIR)$(PREFIX)/$(DOCDIR) ++ cp -f manual.ps $(DESTDIR)$(PREFIX)/$(DOCDIR) ++ cp -f bzip2.txt $(DESTDIR)$(PREFIX)/$(DOCDIR) ++ chmod a+r $(DESTDIR)$(PREFIX)/$(DOCDIR)/manual.html ++ chmod a+r $(DESTDIR)$(PREFIX)/$(DOCDIR)/manual.pdf ++ chmod a+r $(DESTDIR)$(PREFIX)/$(DOCDIR)/manual.ps ++ chmod a+r $(DESTDIR)$(PREFIX)/$(DOCDIR)/bzip2.txt + + clean: + rm -f *.o libbz2.a bzip2 bzip2recover \ diff -r 792674d97726 -r c963361d3d54 bzip2/stuff/bzip2-1.0.6-install_docs-1.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bzip2/stuff/bzip2-1.0.6-install_docs-1.patch Fri Dec 16 01:16:56 2016 +0200 @@ -0,0 +1,42 @@ +Submitted By: Matthew Burgess +Date: 2007-01-31 +Initial Package Version: 1.0.4 +Upstream Status: Not submitted +Origin: Randy McMurchy & Steve Crosby +Description: Installs pre-formatted documentation + +diff -Naur bzip2-1.0.4.orig/Makefile bzip2-1.0.4/Makefile +--- bzip2-1.0.4.orig/Makefile 2007-01-03 03:49:21.000000000 +0000 ++++ bzip2-1.0.4/Makefile 2007-01-26 20:00:01.000000000 +0000 +@@ -25,7 +25,7 @@ + + # Where you want it installed when you do 'make install' + PREFIX=/usr/local +- ++DOCDIR=share/doc/$(DISTNAME) + + OBJS= blocksort.o \ + huffman.o \ +@@ -74,6 +74,7 @@ + if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi + if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi + if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi ++ if ( test ! -d $(PREFIX)/$(DOCDIR) ) ; then mkdir -p $(PREFIX)/$(DOCDIR); fi + if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi + cp -f bzip2 $(PREFIX)/bin/bzip2 + cp -f bzip2 $(PREFIX)/bin/bunzip2 +@@ -107,6 +108,14 @@ + echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1 + echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1 + echo ".so man1/bzdiff.1" > $(PREFIX)/man/man1/bzcmp.1 ++ cp -f manual.html $(PREFIX)/$(DOCDIR) ++ cp -f manual.pdf $(PREFIX)/$(DOCDIR) ++ cp -f manual.ps $(PREFIX)/$(DOCDIR) ++ cp -f bzip2.txt $(PREFIX)/$(DOCDIR) ++ chmod a+r $(PREFIX)/$(DOCDIR)/manual.html ++ chmod a+r $(PREFIX)/$(DOCDIR)/manual.pdf ++ chmod a+r $(PREFIX)/$(DOCDIR)/manual.ps ++ chmod a+r $(PREFIX)/$(DOCDIR)/bzip2.txt + + clean: + rm -f *.o libbz2.a bzip2 bzip2recover \ diff -r 792674d97726 -r c963361d3d54 bzlib/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bzlib/description.txt Fri Dec 16 01:16:56 2016 +0200 @@ -0,0 +1,4 @@ +This package contains: + + * `libbz2.so` - The library implementing lossless, block-sorting data + compression, using the Burrows-Wheeler algorithm diff -r 792674d97726 -r c963361d3d54 bzlib/receipt --- a/bzlib/receipt Wed Dec 14 21:23:06 2016 +0100 +++ b/bzlib/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -2,20 +2,18 @@ PACKAGE="bzlib" VERSION="1.0.6" -CATEGORY="utilities" -SHORT_DESC="High-quality data compressor libraries." +CATEGORY="libs" +SHORT_DESC="High-quality data compressor (library)" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" WEB_SITE="http://www.bzip.org/" -WANTED="bzip2" HOST_ARCH="i486 arm" +WANTED="bzip2" DEPENDS="glibc-base" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $src/libbz2.so* $fs/usr/lib - ln -s libbz2.so.$VERSION $fs/usr/lib/libbz2.so + cook_copy_files *.so* } diff -r 792674d97726 -r c963361d3d54 coreutils-character/receipt --- a/coreutils-character/receipt Wed Dec 14 21:23:06 2016 +0100 +++ b/coreutils-character/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -14,18 +14,7 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mandir="$fs/usr/share/man/man1" - mkdir -p $mandir - - while read i; do - mkdir -p $fs$(dirname $i) - cp -a $install$i $fs$i - find $install -name "$(basename $i).*" -exec cp -a \{\} $mandir \; - done < configparms ;; esac - { $src/configure \ - --host=$HOST_SYSTEM \ - --build=$($src/scripts/config.guess) \ - --disable-profile --enable-add-ons \ - --enable-kernel=2.6.30 --with-headers=/tools/include \ - libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes && - make -j1 && - make install + { + # Build in a separate directory. + mkdir glibc-build + cd glibc-build + + ../configure \ + --host=$HOST_SYSTEM \ + --build=$($src/scripts/config.guess) \ + --disable-profile \ + --enable-add-ons \ + --enable-kernel=2.6.32 \ + --with-headers=/tools/include \ + libc_cv_forced_unwind=yes \ + libc_cv_c_cleanup=yes && + make -j1 && + make install } || return 1 # Link compiler to this new glibc. @@ -64,49 +69,50 @@ # Rules to configure and make the package. compile_rules() { - # SliTaz is a Busybox based OS, why we so small and fast. Using gawk by - # default to build package will not ensure package work with Busybox awk - # and so should NOT be use to cook. - if [ -x /usr/bin/cook ]; then - [ -d "/var/lib/tazpkg/installed/gawk" ] || tazpkg get-install gawk - fi +# # SliTaz is a Busybox based OS, why we so small and fast. Using gawk by +# # default to build package will not ensure package work with Busybox awk +# # and so should NOT be use to cook. +# if [ -x /usr/bin/cook ]; then +# [ -d "/var/lib/tazpkg/installed/gawk" ] || tazpkg get-install gawk +# fi - # Make 4.x support... - sed -i 's/3\.79/4.* | &/' configure* - # Fixes and patches from LFS, Redhat - sed -i -e 's/"db1"/& \&\& $name ne "nss_test1"/' scripts/test-installation.pl - sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in +# # Make 4.x support... +# sed -i 's/3\.79/4.* | &/' configure* +# # Fixes and patches from LFS, Redhat +# sed -i -e 's/"db1"/& \&\& $name ne "nss_test1"/' scripts/test-installation.pl +# sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in - # Glibc misc Bug Fixes - patch -Np1 -i $stuff/glibc-2.14.1-fixes-1.patch - - # Glibc Bug Sort Relocatable Objects Patch - #patch -Np1 -i $stuff/glibc-2.14.1-sort-1.patch - - # Fix a bug that prevents Glibc from building with GCC-4.6.2 - patch -Np1 -i $stuff/glibc-2.14.1-gcc_fix-1.patch - - # Revert commit causing issues with crappy DNS servers - patch -Np1 -i $stuff/glibc-2.14-revert-4768ae77.patch - - # re-export RPC interface until libtirpc is ready as a replacement - # http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=acee4873 (only fedora branch...) - patch -Np1 -i $stuff/glibc-2.14-reexport-rpc-interface.patch - # http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=bdd816a3 (only fedora branch...) - patch -Np1 -i $stuff/glibc-2.14-reinstall-nis-rpc-headers.patch - # GHOST - patch -Np1 -i $stuff/glibc-2.14.1-CVE-2015-0235.patch +# # Glibc misc Bug Fixes +# patch -Np1 -i $stuff/glibc-2.14.1-fixes-1.patch - # Fix a stack imbalance that occurs under some conditions: - sed -i '195,213 s/PRIVATE_FUTEX/FUTEX_CLOCK_REALTIME/' \ - nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S \ - nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S +# # Glibc Bug Sort Relocatable Objects Patch +# #patch -Np1 -i $stuff/glibc-2.14.1-sort-1.patch + +# # Fix a bug that prevents Glibc from building with GCC-4.6.2 +# patch -Np1 -i $stuff/glibc-2.14.1-gcc_fix-1.patch + +# # Revert commit causing issues with crappy DNS servers +# patch -Np1 -i $stuff/glibc-2.14-revert-4768ae77.patch + +# # re-export RPC interface until libtirpc is ready as a replacement +# # http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=acee4873 (only fedora branch...) +# patch -Np1 -i $stuff/glibc-2.14-reexport-rpc-interface.patch +# # http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=bdd816a3 (only fedora branch...) +# patch -Np1 -i $stuff/glibc-2.14-reinstall-nis-rpc-headers.patch +# # GHOST +# patch -Np1 -i $stuff/glibc-2.14.1-CVE-2015-0235.patch + +# # Fix a stack imbalance that occurs under some conditions: +# sed -i '195,213 s/PRIVATE_FUTEX/FUTEX_CLOCK_REALTIME/' \ +# nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S \ +# nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S # Glibc needs ld.so.conf in the install destdir. mkdir -p $WOK/$PACKAGE/install/etc - touch $WOK/$PACKAGE/install/etc/ld.so.conf - mkdir ../glibc-build && cd ../glibc-build - + touch $WOK/$PACKAGE/install/etc/ld.so.conf + +# mkdir ../glibc-build && cd ../glibc-build + # Read the INSTALL file in glibc. Also Glibc dont build with -Os flag. # --enale-kernel use latest SliTaz Kernel version. From Glibc INSTALL: # "The higher the VERSION number is, the less compatibility code is @@ -118,16 +124,24 @@ *) echo "CFLAGS += -O2 -march=$ARCH -mtune=$ARCH" > configparms ;; esac - { $src/configure \ - --disable-profile \ - --enable-add-ons \ - --enable-kernel=2.6.30 \ - --libexecdir=/usr/lib/glibc \ - --build=$HOST_SYSTEM \ - --host=$HOST_SYSTEM \ - --target=$BUILD_SYSTEM && - make -j1 && make install_root=$DESTDIR install + + # Glibc FHS Patch - LFS 7.10 + patch -p1 -i $stuff/glibc-2.24-fhs-1.patch + + { + mkdir build + cd build + $src/configure \ + --disable-profile \ + --enable-add-ons \ + --enable-kernel=2.6.32 \ + --libexecdir=/usr/lib/glibc \ + --build=$HOST_SYSTEM \ + --host=$HOST_SYSTEM \ + --target=$BUILD_SYSTEM && + make -j1 && make install_root=$DESTDIR install } || return 1 + for i in $DESTDIR/usr/share/i18n/charmaps/*.gz ; do advdef -z4 $i done @@ -150,10 +164,10 @@ LOCALE="" mkdir -p $fs/var - # Remove build directory. - rm -rf $WOK/$PACKAGE/source/$PACKAGE-build - rm -rf $WOK/$PACKAGE/$PACKAGE-build +# # Remove build directory. +# rm -rf $WOK/$PACKAGE/source/$PACKAGE-build +# rm -rf $WOK/$PACKAGE/$PACKAGE-build # check install - ls $install/lib/ + ls $install/lib/ | tr '\n' ' ' | fold -s } diff -r 792674d97726 -r c963361d3d54 glibc/stuff/glibc-2.24-fhs-1.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/glibc/stuff/glibc-2.24-fhs-1.patch Fri Dec 16 01:16:56 2016 +0200 @@ -0,0 +1,72 @@ +Submitted By: Armin K. +Date: 2013-02-11 +Initial Package Version: 2.17 +Upstream Status: Not Applicable +Origin: Self +Description: This patch removes references to /var/db directory which is not part + of FHS and replaces them with more suitable directories in /var + hierarchy - /var/cache/nscd for nscd and /var/lib/nss_db for nss_db. + +--- a/Makeconfig 2012-12-25 04:02:13.000000000 +0100 ++++ b/Makeconfig 2013-02-11 01:32:32.500667439 +0100 +@@ -250,7 +250,7 @@ + + # Directory for the database files and Makefile for nss_db. + ifndef vardbdir +-vardbdir = $(localstatedir)/db ++vardbdir = $(localstatedir)/lib/nss_db + endif + inst_vardbdir = $(install_root)$(vardbdir) + +--- a/nscd/nscd.h 2012-12-25 04:02:13.000000000 +0100 ++++ b/nscd/nscd.h 2013-02-11 01:32:32.500667439 +0100 +@@ -112,11 +112,11 @@ + + + /* Paths of the file for the persistent storage. */ +-#define _PATH_NSCD_PASSWD_DB "/var/db/nscd/passwd" +-#define _PATH_NSCD_GROUP_DB "/var/db/nscd/group" +-#define _PATH_NSCD_HOSTS_DB "/var/db/nscd/hosts" +-#define _PATH_NSCD_SERVICES_DB "/var/db/nscd/services" +-#define _PATH_NSCD_NETGROUP_DB "/var/db/nscd/netgroup" ++#define _PATH_NSCD_PASSWD_DB "/var/cache/nscd/passwd" ++#define _PATH_NSCD_GROUP_DB "/var/cache/nscd/group" ++#define _PATH_NSCD_HOSTS_DB "/var/cache/nscd/hosts" ++#define _PATH_NSCD_SERVICES_DB "/var/cache/nscd/services" ++#define _PATH_NSCD_NETGROUP_DB "/var/cache/nscd/netgroup" + + /* Path used when not using persistent storage. */ + #define _PATH_NSCD_XYZ_DB_TMP "/var/run/nscd/dbXXXXXX" +--- a/nss/db-Makefile 2012-12-25 04:02:13.000000000 +0100 ++++ b/nss/db-Makefile 2013-02-11 01:32:32.500667439 +0100 +@@ -22,7 +22,7 @@ + /etc/rpc /etc/services /etc/shadow /etc/gshadow \ + /etc/netgroup) + +-VAR_DB = /var/db ++VAR_DB = /var/lib/nss_db + + AWK = awk + MAKEDB = makedb --quiet +--- a/sysdeps/generic/paths.h 2012-12-25 04:02:13.000000000 +0100 ++++ b/sysdeps/generic/paths.h 2013-02-11 01:32:32.500667439 +0100 +@@ -68,7 +68,7 @@ + /* Provide trailing slash, since mostly used for building pathnames. */ + #define _PATH_DEV "/dev/" + #define _PATH_TMP "/tmp/" +-#define _PATH_VARDB "/var/db/" ++#define _PATH_VARDB "/var/lib/nss_db/" + #define _PATH_VARRUN "/var/run/" + #define _PATH_VARTMP "/var/tmp/" + +--- a/sysdeps/unix/sysv/linux/paths.h 2012-12-25 04:02:13.000000000 +0100 ++++ b/sysdeps/unix/sysv/linux/paths.h 2013-02-11 01:32:32.504000831 +0100 +@@ -68,7 +68,7 @@ + /* Provide trailing slash, since mostly used for building pathnames. */ + #define _PATH_DEV "/dev/" + #define _PATH_TMP "/tmp/" +-#define _PATH_VARDB "/var/db/" ++#define _PATH_VARDB "/var/lib/nss_db/" + #define _PATH_VARRUN "/var/run/" + #define _PATH_VARTMP "/var/tmp/" + diff -r 792674d97726 -r c963361d3d54 libform/receipt --- a/libform/receipt Wed Dec 14 21:23:06 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libform" -VERSION="5.9" -CATEGORY="development" -SHORT_DESC="Curses extension for programming forms" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="MIT" -WEB_SITE="http://invisible-island.net/ncurses/" -HOST_ARCH="i486 arm" - -DEPENDS="ncurses libtinfo" -WANTED="ncurses" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/lib - cp -a $install/lib/libform.so* $fs/lib -} diff -r 792674d97726 -r c963361d3d54 libgfortran/receipt --- a/libgfortran/receipt Wed Dec 14 21:23:06 2016 +0100 +++ b/libgfortran/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -1,12 +1,13 @@ # SliTaz package receipt. PACKAGE="libgfortran" -VERSION="4.6.3" +VERSION="6.2.0" CATEGORY="misc" SHORT_DESC="GCC fortran runtime." WEB_SITE="http://gcc.gnu.org/" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" + WANTED="gcc" # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 792674d97726 -r c963361d3d54 libgomp/receipt --- a/libgomp/receipt Wed Dec 14 21:23:06 2016 +0100 +++ b/libgomp/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -1,17 +1,18 @@ # SliTaz package receipt. PACKAGE="libgomp" -VERSION="4.6.3" +VERSION="6.2.0" CATEGORY="development" SHORT_DESC="API specification for parallel programming." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="http://gcc.gnu.org/" + WANTED="gcc" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/libgomp.so* $fs/usr/lib + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/libgomp.so* $fs/usr/lib } diff -r 792674d97726 -r c963361d3d54 libmagic-dev/receipt --- a/libmagic-dev/receipt Wed Dec 14 21:23:06 2016 +0100 +++ b/libmagic-dev/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -1,22 +1,19 @@ # SliTaz package receipt. PACKAGE="libmagic-dev" -VERSION="5.24" +VERSION="5.28" CATEGORY="development" SHORT_DESC="File type determination library using 'magic' numbers (development)" MAINTAINER="erjo@slitaz.org" LICENSE="BSD" WEB_SITE="http://www.darwinsys.com/file/" -WANTED="file" HOST_ARCH="i486 arm" +WANTED="file" DEPENDS="libmagic" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.la $fs/usr/lib - cp -a $install/usr/include $fs/usr + cook_copy_files *.h *.la } - diff -r 792674d97726 -r c963361d3d54 libmagic/receipt --- a/libmagic/receipt Wed Dec 14 21:23:06 2016 +0100 +++ b/libmagic/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -1,20 +1,19 @@ # SliTaz package receipt. PACKAGE="libmagic" -VERSION="5.24" +VERSION="5.28" CATEGORY="system-tools" SHORT_DESC="File type determination library using 'magic' numbers" MAINTAINER="erjo@slitaz.org" LICENSE="BSD" WEB_SITE="http://www.darwinsys.com/file/" -WANTED="file" HOST_ARCH="i486 arm" +WANTED="file" DEPENDS="zlib" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib + cook_copy_files *.so* } diff -r 792674d97726 -r c963361d3d54 libmenu/receipt --- a/libmenu/receipt Wed Dec 14 21:23:06 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libmenu" -VERSION="5.9" -CATEGORY="development" -SHORT_DESC="Curses extension for programming menus" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="MIT" -WEB_SITE="http://invisible-island.net/ncurses/" -HOST_ARCH="i486 arm" - -DEPENDS="ncurses libtinfo" -WANTED="ncurses" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/lib - cp -a $install/lib/libmenu.so* $fs/lib -} diff -r 792674d97726 -r c963361d3d54 libobjc/receipt --- a/libobjc/receipt Wed Dec 14 21:23:06 2016 +0100 +++ b/libobjc/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -1,12 +1,13 @@ # SliTaz package receipt. PACKAGE="libobjc" -VERSION="4.6.3" +VERSION="6.2.0" CATEGORY="development" SHORT_DESC="API for gcc object" MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" WEB_SITE="http://gcc.gnu.org/" + DEPENDS="gcc-lib-base" WANTED="gcc" @@ -16,4 +17,3 @@ mkdir -p $fs/usr/lib cp -a $install/usr/lib/libobjc.so* $fs/usr/lib } - diff -r 792674d97726 -r c963361d3d54 libpanel/description.txt --- a/libpanel/description.txt Wed Dec 14 21:23:06 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -libpanel - panel stack extension for curses - -Panels are **curses** windows with the added feature of depth. Panel functions -allow the use of stacked windows and ensure the proper portions of each window -and the curses **stdscr** window are hidden or displayed when panels are added, -moved, modified or removed. The set of currently visible panels is the stack of -panels. The **stdscr** window is beneath all panels, and is not considered part -of the stack. diff -r 792674d97726 -r c963361d3d54 libpanel/receipt --- a/libpanel/receipt Wed Dec 14 21:23:06 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libpanel" -VERSION="5.9" -CATEGORY="development" -SHORT_DESC="Panel stack extension for curses" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="MIT" -WEB_SITE="http://invisible-island.net/ncurses/" -HOST_ARCH="i486 arm" - -DEPENDS="ncurses libtinfo" -WANTED="ncurses" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/lib - cp -a $install/lib/libpanel.so* $fs/lib -} diff -r 792674d97726 -r c963361d3d54 linux-api-headers/receipt --- a/linux-api-headers/receipt Wed Dec 14 21:23:06 2016 +0100 +++ b/linux-api-headers/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -1,23 +1,24 @@ # SliTaz package receipt. PACKAGE="linux-api-headers" -VERSION="3.2.71" -KBASEVER="${VERSION:0:3}" +VERSION="4.7.2" +#KBASEVER="${VERSION:0:3}" CATEGORY="development" SHORT_DESC="Kernel headers sanitized for use in userspace." MAINTAINER="devel@slitaz.org" LICENSE="GPL2" SOURCE="linux" -TARBALL="$SOURCE-$KBASEVER.tar.xz" -WEB_SITE="http://www.kernel.org/" -WGET_URL="http://www.kernel.org/pub/linux/kernel/v3.0/$TARBALL" +WEB_SITE="https://www.kernel.org/" + +TARBALL="$SOURCE-$VERSION.tar.xz" +WGET_URL="https://www.kernel.org/pub/linux/kernel/v4.x/$TARBALL" + PROVIDE="linux-headers linux64-api-headers linux64-headers" +BUILD_DEPENDS="bash libtinfo" -BUILD_DEPENDS="bash wget" - -[ "$KBASEVER" != "$VERSION" ] && -PATCH="$(dirname $WGET_URL)/patch-$VERSION.xz" && -EXTRA_SOURCE_FILES="$(basename $PATCH)" +#[ "$KBASEVER" != "$VERSION" ] && +#PATCH="$(dirname $WGET_URL)/patch-$VERSION.xz" && +#EXTRA_SOURCE_FILES="$(basename $PATCH)" # Rules to compile & install the temporary toolchain. cook_tmp_toolchain() @@ -32,14 +33,14 @@ # Rules to configure and make the package. compile_rules() { - cd $src - - if [ "$KBASEVER" != "$VERSION" ]; then - [ -s $SRC/$(basename $PATCH) ] || - wget --no-check-certificate $PATCH -O $SRC/$(basename $PATCH) - xzcat $SRC/$(basename $PATCH) | patch -Np1 - touch done.patch-$VERSION - fi +# cd $src +# +# if [ "$KBASEVER" != "$VERSION" ]; then +# [ -s $SRC/$(basename $PATCH) ] || +# wget --no-check-certificate $PATCH -O $SRC/$(basename $PATCH) +# xzcat $SRC/$(basename $PATCH) | patch -Np1 +# touch done.patch-$VERSION +# fi make mrproper && make headers_check && diff -r 792674d97726 -r c963361d3d54 ncurses-dev/receipt --- a/ncurses-dev/receipt Wed Dec 14 21:23:06 2016 +0100 +++ b/ncurses-dev/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -1,24 +1,19 @@ # SliTaz package receipt. PACKAGE="ncurses-dev" -VERSION="5.9" +VERSION="6.0" CATEGORY="development" -SHORT_DESC="Devel files for the ncurses library." +SHORT_DESC="Library of functions to manage display on terminals (development files)" MAINTAINER="pankso@slitaz.org" LICENSE="MIT" -WANTED="ncurses" -WEB_SITE="http://invisible-island.net/ncurses/" +WEB_SITE="https://www.gnu.org/software/ncurses/" HOST_ARCH="i486 arm" -DEPENDS="ncursesw-dev ncurses libtinfo" +WANTED="ncurses" +DEPENDS="ncurses ncurses-extra ncurses-libform ncurses-libmenu ncurses-libpanel" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/lib $fs/usr/bin $fs/usr/lib - cp -a $install/lib/*.a $fs/lib - # Use include file from ncursesw-dev - #cp -a $install/usr/include $fs/usr - cp $install/usr/bin/ncurses5-config $fs/usr/bin - cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cook_copy_files ncursesw6-config *.h *.a *.pc } diff -r 792674d97726 -r c963361d3d54 ncurses-extra/receipt --- a/ncurses-extra/receipt Wed Dec 14 21:23:06 2016 +0100 +++ b/ncurses-extra/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -1,30 +1,23 @@ # SliTaz package receipt. PACKAGE="ncurses-extra" -VERSION="5.9" +VERSION="6.0" CATEGORY="base-system" SHORT_DESC="Extra files for the ncurses library." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" +WEB_SITE="http://invisible-island.net/ncurses/" +HOST_ARCH="i486 arm" + WANTED="ncurses" -WEB_SITE="http://invisible-island.net/ncurses/" - DEPENDS="ncurses" +BUILD_DEPENDS="ncurses-dev" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share - # Binaries are provided by ncursesw-extra, we use UTF-8 by default. - #cp -a $install/usr/bin $fs/usr - #chmod 755 $fs/usr/bin/* - cp -a $install/usr/share/terminfo $fs/usr/share - # Remove already provided by other packages - #rm -f $fs/usr/bin/ncurses5-config - [ -d $WOK/ncurses-common/taz ] || tazwok genpkg ncurses-common - for i in $(cd $fs ; find -type f); do - [ -f $WOK/ncurses-common/taz/ncurses-common-$VERSION/fs/$i ] || continue - rm -f $fs/$i - rmdir $(dirname $fs/$i) 2> /dev/null - done + cook_copy_folders bin terminfo + + # Split ncurses package + cook_split_rm ncurses ncurses-dev } diff -r 792674d97726 -r c963361d3d54 ncurses-libform/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ncurses-libform/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="ncurses-libform" +VERSION="6.0" +CATEGORY="libs" +SHORT_DESC="Curses extension for programming forms" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://www.gnu.org/software/ncurses/" +HOST_ARCH="i486 arm" + +DEPENDS="ncurses libtinfo" +WANTED="ncurses" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_files libformw.so* +} diff -r 792674d97726 -r c963361d3d54 ncurses-libmenu/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ncurses-libmenu/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="ncurses-libmenu" +VERSION="6.0" +CATEGORY="libs" +SHORT_DESC="Curses extension for programming menus" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://www.gnu.org/software/ncurses/" +HOST_ARCH="i486 arm" + +DEPENDS="ncurses libtinfo" +WANTED="ncurses" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_files libmenuw.so* +} diff -r 792674d97726 -r c963361d3d54 ncurses-libpanel/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ncurses-libpanel/description.txt Fri Dec 16 01:16:56 2016 +0200 @@ -0,0 +1,8 @@ +libpanel - panel stack extension for curses + +Panels are **curses** windows with the added feature of depth. Panel functions +allow the use of stacked windows and ensure the proper portions of each window +and the curses **stdscr** window are hidden or displayed when panels are added, +moved, modified or removed. The set of currently visible panels is the stack of +panels. The **stdscr** window is beneath all panels, and is not considered part +of the stack. diff -r 792674d97726 -r c963361d3d54 ncurses-libpanel/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ncurses-libpanel/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="ncurses-libpanel" +VERSION="6.0" +CATEGORY="libs" +SHORT_DESC="Panel stack extension for curses" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://www.gnu.org/software/ncurses/" +HOST_ARCH="i486 arm" + +DEPENDS="ncurses libtinfo" +WANTED="ncurses" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_files libpanelw.so* +} diff -r 792674d97726 -r c963361d3d54 ncurses-man/receipt --- a/ncurses-man/receipt Wed Dec 14 21:23:06 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="ncurses-man" -VERSION="5.9" -CATEGORY="development" -SHORT_DESC="Manual pages for the ncurses library." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="MIT" -WANTED="ncurses" -WEB_SITE="http://invisible-island.net/ncurses/" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share - cp -a $install/usr/share/man $fs/usr/share -} diff -r 792674d97726 -r c963361d3d54 ncurses/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ncurses/description.txt Fri Dec 16 01:16:56 2016 +0200 @@ -0,0 +1,9 @@ +The ncurses library routines are a terminal-independent method of updating +character screens with reasonable optimization. + +This package contains: + + * `tset` (and `reset`) - terminal initialization utility + * `clear` - clears the terminal's screen + * `libncursesw.so` - shared library for terminal handling + * tabset and terminfo for common terminals diff -r 792674d97726 -r c963361d3d54 ncurses/receipt --- a/ncurses/receipt Wed Dec 14 21:23:06 2016 +0100 +++ b/ncurses/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -1,48 +1,47 @@ # SliTaz package receipt. PACKAGE="ncurses" -VERSION="5.9" +VERSION="6.0" CATEGORY="base-system" SHORT_DESC="Library of functions to manage display on terminals." MAINTAINER="pankso@slitaz.org" +LICENSE="MIT" +WEB_SITE="https://www.gnu.org/software/ncurses/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -LICENSE="MIT" -WEB_SITE="http://invisible-island.net/ncurses/" -WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL" +WGET_URL="http://ftp.gnu.org/gnu/ncurses/$TARBALL" HOST_ARCH="i486 arm" -DEPENDS="ncurses-common libtinfo libtic" -BUILD_DEPENDS="" -SPLIT="ncurses-common ncurses-extra ncurses-dev ncurses-man libform libmenu \ -libpanel libtic libtinfo" +DEPENDS="" +BUILD_DEPENDS="flex" +SPLIT="ncurses-libform ncurses-libmenu ncurses-libpanel ncurses-extra" + +case "$ARCH" in + arm) BUILD_DEPENDS="" ;; +esac # Rules to configure and make the package. compile_rules() { - # Ncurses need an installed /usr/bin/tic witch is in ncursesw-extra. And - # when cross compiling we can't use the freshly cooked binary. See cook log: - # - #** Building terminfo database, please wait... - #Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo - # - if [ ! -d "/var/lib/tazpkg/installed/ncursesw-extra" ]; then - echo "Installing: ncursesw-extra" - tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null - fi - cd $src - mkdir -p $DESTDIR/usr/lib/terminfo - sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \ - include/Makefile.in +# # Ncurses need an installed /usr/bin/tic witch is in ncursesw-extra. And +# # when cross compiling we can't use the freshly cooked binary. See cook log: +# # +# #** Building terminfo database, please wait... +# #Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo +# # +# if [ ! -d "/var/lib/tazpkg/installed/ncursesw-extra" ]; then +# echo "Installing: ncursesw-extra" +# tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null +# fi + ./configure \ - --libdir=/lib \ - --sysconfdir=/etc \ --with-shared \ --without-debug \ --without-ada \ + --enable-widec \ --with-build-cc="gcc -D_GNU_SOURCE" \ - --with-termlib \ - --with-ticlib \ --enable-pc-files \ + --with-pkg-config-libdir=/usr/lib/pkgconfig \ $CONFIGURE_ARGS && make && make install } @@ -50,6 +49,20 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/lib - cp -a $install/lib/libncurses.so* $fs/lib + # binaries and library + cook_copy_files clear tset reset libncursesw.so* + + # tabset + cook_copy_folders tabset + + # terminfo + cook_copy_files ansi linux rxvt vt100 vt102* xterm xterm-256color \ + xterm-color xterm-new xterm-vt220 } + +post_remove() +{ + # restore Busybox applet links + ln -s /bin/busybox $root/usr/bin/clear + ln -s /bin/busybox $root/usr/bin/reset +} diff -r 792674d97726 -r c963361d3d54 ncursesw-dev/receipt --- a/ncursesw-dev/receipt Wed Dec 14 21:23:06 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="ncursesw-dev" -VERSION="5.9" -CATEGORY="development" -SHORT_DESC="Devel files for the ncursesw library." -MAINTAINER="pankso@slitaz.org" -LICENSE="MIT" -WANTED="ncursesw" -WEB_SITE="http://invisible-island.net/ncurses/" -HOST_ARCH="i486 arm" - -DEPENDS="ncursesw" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/lib $fs/usr/bin $fs/usr/lib - cp -a $install/lib/*.a $fs/lib - # Include files are from the same source than ncuses-dev and work - # nicely for both. - cp -a $install/usr/include $fs/usr - cp $install/usr/bin/ncursesw5-config $fs/usr/bin - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} diff -r 792674d97726 -r c963361d3d54 ncursesw-extra/receipt --- a/ncursesw-extra/receipt Wed Dec 14 21:23:06 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="ncursesw-extra" -VERSION="5.9" -CATEGORY="base-system" -SHORT_DESC="Extra files for the ncursesw library." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="MIT" -WANTED="ncursesw" -DEPENDS="ncursesw ncurses-extra" -WEB_SITE="http://invisible-island.net/ncurses/" -HOST_ARCH="i486 arm" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr - chmod 755 $fs/usr/bin/* - # Remove tools already provided by other packages - rm -f $fs/usr/bin/ncursesw5-config - rm -f $fs/usr/bin/clear - rm -f $fs/usr/bin/tset - rm -f $fs/usr/bin/reset -} diff -r 792674d97726 -r c963361d3d54 ncursesw/receipt --- a/ncursesw/receipt Wed Dec 14 21:23:06 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,77 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="ncursesw" -VERSION="5.9" -SOURCE="ncurses" -CATEGORY="base-system" -SHORT_DESC="Library of functions to manage display on terminals." -MAINTAINER="pankso@slitaz.org" -LICENSE="MIT" -TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://invisible-island.net/ncurses/" -WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL" -HOST_ARCH="i486 arm" - -DEPENDS="ncurses-common" -BUILD_DEPENDS="gcc" - -case "$ARCH" in - arm) BUILD_DEPENDS="" ;; -esac - -# Rules to configure and make the package. -compile_rules() -{ - # Ncurses need an installed /usr/bin/tic witch is in ncursesw-extra. And - # when cross compiling we can't use the freshly cooked binary. See cook log: - # - #** Building terminfo database, please wait... - #Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo - # - if [ ! -d "/var/lib/tazpkg/installed/ncursesw-extra" ]; then - echo "Installing: ncursesw-extra" - tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null - fi - cd $src - mkdir -p $DESTDIR/usr/lib/terminfo - sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \ - include/Makefile.in - ./configure \ - --libdir=/lib \ - --sysconfdir=/etc \ - --with-shared \ - --without-debug \ - --without-ada \ - --enable-widec \ - --with-build-cc="gcc -D_GNU_SOURCE" \ - --enable-pc-files \ - $CONFIGURE_ARGS && - make && make install -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/lib $fs/usr/bin - - # Libs. - cp -a $install/lib/libncursesw.so* $fs/lib - - # Base progs. - cp $install/usr/bin/clear $fs/usr/bin - cp $install/usr/bin/tset $fs/usr/bin - cp $install/usr/bin/reset $fs/usr/bin -} - -# Overlap busybox -pre_install() -{ - rm -f $root/usr/bin/clear - rm -f $root/usr/bin/reset -} - -post_remove() -{ - ln -s /bin/busybox $root/usr/bin/clear - ln -s /bin/busybox $root/usr/bin/reset -} diff -r 792674d97726 -r c963361d3d54 python-magic/receipt --- a/python-magic/receipt Wed Dec 14 21:23:06 2016 +0100 +++ b/python-magic/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -1,20 +1,18 @@ # SliTaz package receipt. PACKAGE="python-magic" -VERSION="5.24" +VERSION="5.28" CATEGORY="development" SHORT_DESC="File type determination library using 'magic' numbers (Python bindings)" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" WEB_SITE="http://www.darwinsys.com/file/" + WANTED="file" - DEPENDS="file python" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/python* $fs/usr/lib + cook_copy_folders python* } - diff -r 792674d97726 -r c963361d3d54 readline-dev/receipt --- a/readline-dev/receipt Wed Dec 14 21:23:06 2016 +0100 +++ b/readline-dev/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -3,18 +3,16 @@ PACKAGE="readline-dev" VERSION="6.3" CATEGORY="development" -SHORT_DESC="GNU readline devel files." +SHORT_DESC="The GNU Readline Library (development files)" MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" -WANTED="readline" WEB_SITE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" HOST_ARCH="i486 arm" +WANTED="readline" + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/include $fs/usr + cook_copy_files *.h *.a } - diff -r 792674d97726 -r c963361d3d54 readline/receipt --- a/readline/receipt Wed Dec 14 21:23:06 2016 +0100 +++ b/readline/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -6,13 +6,14 @@ SHORT_DESC="GNU readline." MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" -TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" -WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" HOST_ARCH="i486 arm" -DEPENDS="" -BUILD_DEPENDS="ncursesw-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" + +DEPENDS="ncurses" +BUILD_DEPENDS="ncurses-dev flex" # Rules to configure and make the package. compile_rules() @@ -20,17 +21,20 @@ case "$ARCH" in arm*) export bash_cv_wcwidth_broken=true ;; esac - cd $src + patch -Np1 -i $stuff/readline-6.3-upstream_fixes-3.patch sed -i '/(MV)/d' Makefile* - ./configure $CONFIGURE_ARGS && - make && make DESTDIR=$DESTDIR install + + ./configure \ + --enable-multibyte \ + --with-curses \ + $CONFIGURE_ARGS && + make SHLIB_LIBS=-lncursesw && + make DESTDIR=$install install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib + cook_copy_files *.so* } - diff -r 792674d97726 -r c963361d3d54 slitaz-toolchain/receipt --- a/slitaz-toolchain/receipt Wed Dec 14 21:23:06 2016 +0100 +++ b/slitaz-toolchain/receipt Fri Dec 16 01:16:56 2016 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="slitaz-toolchain" -VERSION="5.0" +VERSION="6.0" CATEGORY="meta" SHORT_DESC="SliTaz meta package to rebuild or install current toolchain." MAINTAINER="pankso@slitaz.org" @@ -76,17 +76,17 @@ gcc -v 2>> $tmplog # All packages cooked got ther own log so we dont keep them. - separator >> $tmplog && echo "" >> $tmplog - mv -f $tmplog $LOGS/$PACKAGE.log + separator >> $tmplog; echo "" >> $tmplog + mv -f $tmplog $LOGS/$PACKAGE.log } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { binutils=$(grep ^VERSION $WOK/binutils/receipt | cut -d '"' -f 2) - linux=$(grep ^VERSION $WOK/linux/receipt | cut -d '"' -f 2) - gcc=$(grep ^VERSION $WOK/gcc/receipt | cut -d '"' -f 2) - glibc=$(grep ^VERSION $WOK/glibc/receipt | cut -d '"' -f 2) + linux=$(grep ^VERSION $WOK/linux-api-headers/receipt | cut -d '"' -f 2) + gcc=$(grep ^VERSION $WOK/gcc/receipt | cut -d '"' -f 2) + glibc=$(grep ^VERSION $WOK/glibc/receipt | cut -d '"' -f 2) mkdir -p $fs/usr/share/doc/slitaz cat > $fs/usr/share/doc/slitaz/toolchain.txt << EOT @@ -100,10 +100,10 @@ Packages: - * Binutils $binutils - * Linux API headers $linux - * GCC $gcc - * Glibc $glibc + * Binutils $binutils + * Linux API headers $linux + * GCC $gcc + * Glibc $glibc Toolchain documentation: http://doc.slitaz.org/en:cookbook:toolchain