From 8defff11e8b9ab6fd7506204a46a85f0f412a3fe Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz (arab, vxp) Date: Jun 24 2016 10:05:17 +0000 Subject: Adds tmate v2.2.1 (preliminarily) and tmux v2.2 and their dependencies. - Adds libevent v2.0.22-stable (tmux dependency.) - Adds msgpack v1.4.2 (tmate dependency.) --- diff --git a/306.libevent.build b/306.libevent.build new file mode 120000 index 0000000..52bb82e --- /dev/null +++ b/306.libevent.build @@ -0,0 +1 @@ +pkg.build \ No newline at end of file diff --git a/306.libfetch.build b/306.libfetch.build deleted file mode 120000 index 52bb82e..0000000 --- a/306.libfetch.build +++ /dev/null @@ -1 +0,0 @@ -pkg.build \ No newline at end of file diff --git a/306.libfetch.vars b/306.libfetch.vars deleted file mode 100644 index b1b9d77..0000000 --- a/306.libfetch.vars +++ /dev/null @@ -1,11 +0,0 @@ -# -# . ./build.vars and set -o errexit are assumed. -# - -pkg_libfetch_extract_post() { - cd ${PKG_SUBDIR} && \ - fetch http://git.alpinelinux.org/cgit/aports/plain/main/libfetch/Makefile && \ - cd ${OLDPWD}; -}; - -# vim:filetype=sh diff --git a/307.libfetch.build b/307.libfetch.build new file mode 120000 index 0000000..52bb82e --- /dev/null +++ b/307.libfetch.build @@ -0,0 +1 @@ +pkg.build \ No newline at end of file diff --git a/307.libfetch.vars b/307.libfetch.vars new file mode 100644 index 0000000..b1b9d77 --- /dev/null +++ b/307.libfetch.vars @@ -0,0 +1,11 @@ +# +# . ./build.vars and set -o errexit are assumed. +# + +pkg_libfetch_extract_post() { + cd ${PKG_SUBDIR} && \ + fetch http://git.alpinelinux.org/cgit/aports/plain/main/libfetch/Makefile && \ + cd ${OLDPWD}; +}; + +# vim:filetype=sh diff --git a/307.ncurses.build b/307.ncurses.build deleted file mode 120000 index 52bb82e..0000000 --- a/307.ncurses.build +++ /dev/null @@ -1 +0,0 @@ -pkg.build \ No newline at end of file diff --git a/308.libssh.build b/308.libssh.build new file mode 120000 index 0000000..52bb82e --- /dev/null +++ b/308.libssh.build @@ -0,0 +1 @@ +pkg.build \ No newline at end of file diff --git a/308.ncursestw.build b/308.ncursestw.build deleted file mode 120000 index 52bb82e..0000000 --- a/308.ncursestw.build +++ /dev/null @@ -1 +0,0 @@ -pkg.build \ No newline at end of file diff --git a/309.msgpack.build b/309.msgpack.build new file mode 120000 index 0000000..52bb82e --- /dev/null +++ b/309.msgpack.build @@ -0,0 +1 @@ +pkg.build \ No newline at end of file diff --git a/309.ncursesw.build b/309.ncursesw.build deleted file mode 120000 index 52bb82e..0000000 --- a/309.ncursesw.build +++ /dev/null @@ -1 +0,0 @@ -pkg.build \ No newline at end of file diff --git a/309.ncursesw.vars b/309.ncursesw.vars deleted file mode 100644 index a5b9e81..0000000 --- a/309.ncursesw.vars +++ /dev/null @@ -1,9 +0,0 @@ -# -# . ./build.vars and set -o errexit are assumed. -# - -pkg_ncursesw_install_post() { - ln -sf ncursesw/ncurses.h ${PKG_PREFIX}/include/ncurses.h; -}; - -# vim:filetype=sh diff --git a/310.ncurses.build b/310.ncurses.build new file mode 120000 index 0000000..52bb82e --- /dev/null +++ b/310.ncurses.build @@ -0,0 +1 @@ +pkg.build \ No newline at end of file diff --git a/310.pkgconf.build b/310.pkgconf.build deleted file mode 120000 index 52bb82e..0000000 --- a/310.pkgconf.build +++ /dev/null @@ -1 +0,0 @@ -pkg.build \ No newline at end of file diff --git a/311.ncursestw.build b/311.ncursestw.build new file mode 120000 index 0000000..52bb82e --- /dev/null +++ b/311.ncursestw.build @@ -0,0 +1 @@ +pkg.build \ No newline at end of file diff --git a/311.xz.build b/311.xz.build deleted file mode 120000 index 52bb82e..0000000 --- a/311.xz.build +++ /dev/null @@ -1 +0,0 @@ -pkg.build \ No newline at end of file diff --git a/312.ncursesw.build b/312.ncursesw.build new file mode 120000 index 0000000..52bb82e --- /dev/null +++ b/312.ncursesw.build @@ -0,0 +1 @@ +pkg.build \ No newline at end of file diff --git a/312.ncursesw.vars b/312.ncursesw.vars new file mode 100644 index 0000000..a5b9e81 --- /dev/null +++ b/312.ncursesw.vars @@ -0,0 +1,9 @@ +# +# . ./build.vars and set -o errexit are assumed. +# + +pkg_ncursesw_install_post() { + ln -sf ncursesw/ncurses.h ${PKG_PREFIX}/include/ncurses.h; +}; + +# vim:filetype=sh diff --git a/313.pkgconf.build b/313.pkgconf.build new file mode 120000 index 0000000..52bb82e --- /dev/null +++ b/313.pkgconf.build @@ -0,0 +1 @@ +pkg.build \ No newline at end of file diff --git a/314.xz.build b/314.xz.build new file mode 120000 index 0000000..52bb82e --- /dev/null +++ b/314.xz.build @@ -0,0 +1 @@ +pkg.build \ No newline at end of file diff --git a/349.tmate.build b/349.tmate.build new file mode 120000 index 0000000..52bb82e --- /dev/null +++ b/349.tmate.build @@ -0,0 +1 @@ +pkg.build \ No newline at end of file diff --git a/349.util_linux.build b/349.util_linux.build deleted file mode 120000 index 52bb82e..0000000 --- a/349.util_linux.build +++ /dev/null @@ -1 +0,0 @@ -pkg.build \ No newline at end of file diff --git a/349.util_linux.vars b/349.util_linux.vars deleted file mode 100644 index 20f843c..0000000 --- a/349.util_linux.vars +++ /dev/null @@ -1,11 +0,0 @@ -# -# . ./build.vars and set -o errexit are assumed. -# - -pkg_util_linux_configure_pre() { - export NCURSESW_CFLAGS="-I${PREFIX_LVL3}/include -I${PREFIX_LVL3}/include/ncursesw"; - export PKG_CONFIG_LIBDIR="${PREFIX_LVL3}/lib/pkgconfig"; - export NCURSESW_LIBS="-L${PREFIX_LVL3}/lib $(env PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR} pkg-config --libs ncursesw)"; -}; - -# vim:filetype=sh diff --git a/350.tmux.build b/350.tmux.build new file mode 120000 index 0000000..52bb82e --- /dev/null +++ b/350.tmux.build @@ -0,0 +1 @@ +pkg.build \ No newline at end of file diff --git a/350.which.build b/350.which.build deleted file mode 120000 index 52bb82e..0000000 --- a/350.which.build +++ /dev/null @@ -1 +0,0 @@ -pkg.build \ No newline at end of file diff --git a/351.util_linux.build b/351.util_linux.build new file mode 120000 index 0000000..52bb82e --- /dev/null +++ b/351.util_linux.build @@ -0,0 +1 @@ +pkg.build \ No newline at end of file diff --git a/351.util_linux.vars b/351.util_linux.vars new file mode 100644 index 0000000..20f843c --- /dev/null +++ b/351.util_linux.vars @@ -0,0 +1,11 @@ +# +# . ./build.vars and set -o errexit are assumed. +# + +pkg_util_linux_configure_pre() { + export NCURSESW_CFLAGS="-I${PREFIX_LVL3}/include -I${PREFIX_LVL3}/include/ncursesw"; + export PKG_CONFIG_LIBDIR="${PREFIX_LVL3}/lib/pkgconfig"; + export NCURSESW_LIBS="-L${PREFIX_LVL3}/lib $(env PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR} pkg-config --libs ncursesw)"; +}; + +# vim:filetype=sh diff --git a/351.zsh.build b/351.zsh.build deleted file mode 120000 index 52bb82e..0000000 --- a/351.zsh.build +++ /dev/null @@ -1 +0,0 @@ -pkg.build \ No newline at end of file diff --git a/352.which.build b/352.which.build new file mode 120000 index 0000000..52bb82e --- /dev/null +++ b/352.which.build @@ -0,0 +1 @@ +pkg.build \ No newline at end of file diff --git a/353.zsh.build b/353.zsh.build new file mode 120000 index 0000000..52bb82e --- /dev/null +++ b/353.zsh.build @@ -0,0 +1 @@ +pkg.build \ No newline at end of file diff --git a/build.vars b/build.vars index c265cb4..adeb770 100644 --- a/build.vars +++ b/build.vars @@ -53,7 +53,7 @@ export PATH="${PREFIX}/bin${PATH:+:${PATH}}"; : ${WGET_ARGS:="--no-check-certificate"}; : ${WORKDIR:=${PREFIX}/tmp}; -: ${PKG_BUILD_NAMES:="apk_tools bash binutils binutils_host bzip2 coreutils curl dalist dash diffutils findutils gawk git glib gmp grep gzip hexcurse inetutils irssi less libarchive libelf libfetch libffi libnbcompat libressl libz lua make mksh mpc mpfr nano ncurses ncursestw ncursesw netcat ntapi ntcon ntctty openssh pacman patch pemagine perl pkgconf pkgconf_host popt psxscl psxstub psxtypes python3 rsync sed slibtool tar tcsh util_linux which xz zsh"}; +: ${PKG_BUILD_NAMES:="apk_tools bash binutils binutils_host bzip2 coreutils curl dalist dash diffutils findutils gawk git glib gmp grep gzip hexcurse inetutils irssi less libarchive libelf libevent libfetch libffi libnbcompat libressl libssh libz lua make mksh mpc mpfr msgpack nano ncurses ncursestw ncursesw netcat ntapi ntcon ntctty openssh pacman patch pemagine perl pkgconf pkgconf_host popt psxscl psxstub psxtypes python3 rsync sed slibtool tar tcsh tmate tmux util_linux which xz zsh"}; : ${PKG_BUILD_VARS:="AR_BUILD AR_CONFIGURE AR_INSTALL AUTOCONF AUTOGEN BUILD_DIR BUILD_TYPE CC_BUILD CC_CONFIGURE CC_INSTALL CFLAGS_BUILD_EXTRA CFLAGS_CONFIGURE CFLAGS_CONFIGURE_EXTRA CFLAGS_INSTALL_EXTRA CONFIGURE_ARGS CONFIGURE_ARGS_EXTRA ENV_VARS_EXTRA FNAME GIT_ARGS_EXTRA INSTALL_TARGET LDFLAGS_BUILD_EXTRA LDFLAGS_CONFIGURE LDFLAGS_CONFIGURE_EXTRA LDFLAGS_INSTALL_EXTRA LIBFILES_FIX LIBTOOL_MIDIPIX LIBTOOL_MIDIPIX_FIX MAKEFLAGS_BUILD MAKEFLAGS_BUILD_EXTRA MAKEFLAGS_INSTALL MAKEFLAGS_INSTALL_EXTRA NO_CLEAN PATCHES_EXTRA_URL PREFIX_EXTRA RANLIB_BUILD RANLIB_INSTALL SHA256SUM SLIBTOOL SUBDIR SUBDIR_CREATE URL URL_FNAME URL_TYPE VERSION"}; : ${PKG_LVL0_CFLAGS_CONFIGURE:=-O0}; : ${PKG_LVL0_CONFIGURE_ARGS:="-C --disable-nls --host=${HOST_NATIVE} --prefix= --target=${TARGET}"}; @@ -200,6 +200,10 @@ export PATH="${PREFIX}/bin${PATH:+:${PATH}}"; : ${PKG_LIBELF_CONFIGURE_ARGS:="--disable-nls --host=${HOST_NATIVE} --prefix=${PREFIX_LVL1} --target=${TARGET}"}; : ${PKG_LIBELF_LIBFILES_FIX:=1}; : ${PKG_LIBELF_MAKEFLAGS_INSTALL:=}; +: ${PKG_LIBEVENT_VERSION:=2.0.22-stable}; +: ${PKG_LIBEVENT_SHA256SUM:=71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3}; +: ${PKG_LIBEVENT_URL:=https://github.com/libevent/libevent/releases/download/release-${PKG_LIBEVENT_VERSION}/libevent-${PKG_LIBEVENT_VERSION}.tar.gz}; +: ${PKG_LIBEVENT_SLIBTOOL:=none}; : ${PKG_LIBFETCH_VERSION:=2.33}; : ${PKG_LIBFETCH_SHA256SUM:=3226f53d5ad29cc27510db968ef0d37bf4554b8aaaeadcd56e23067213b08943}; : ${PKG_LIBFETCH_URL:=https://sources.archlinux.org/other/libfetch/libfetch-${PKG_LIBFETCH_VERSION}.tar.gz}; @@ -228,6 +232,9 @@ export PATH="${PREFIX}/bin${PATH:+:${PATH}}"; : ${PKG_LIBRESSL_LIBFILES_FIX:=1}; : ${PKG_LIBRESSL_LIBTOOL_MIDIPIX:=1}; : ${PKG_LIBRESSL_LIBTOOL_MIDIPIX_FIX:=1}; +: ${PKG_LIBSSH_VERSION:=0.7.3}; +: ${PKG_LIBSSH_SHA256SUM:=26ef46be555da21112c01e4b9f5e3abba9194485c8822ab55ba3d6496222af98}; +: ${PKG_LIBSSH_URL:=https://red.libssh.org/attachments/download/195/libssh-${PKG_LIBSSH_VERSION}.tar.xz}; : ${PKG_LIBZ_VERSION:=1.2.8.2015.05.20}; : ${PKG_LIBZ_SHA256SUM:=33e65f22ec3d3e3f87436e53f82eb114054cd3aa373dc0480625dd92806fd9a0}; : ${PKG_LIBZ_URL:=https://sortix.org/libz/release/libz-${PKG_LIBZ_VERSION}.tar.gz}; @@ -265,6 +272,11 @@ export PATH="${PREFIX}/bin${PATH:+:${PATH}}"; : ${PKG_MPFR_LIBFILES_FIX:=1}; : ${PKG_MPFR_LIBTOOL_MIDIPIX:=1}; : ${PKG_MPFR_PREFIX_EXTRA:=DESTDIR=${PREFIX_TARGET}}; +: ${PKG_MSGPACK_VERSION:=1.4.2}; +: ${PKG_MSGPACK_SHA256SUM:=c0f1da8462ea44b23f89573eff04a1f329bcff6fd80eb0d4b976d7f19caf1fa2}; +: ${PKG_MSGPACK_URL:=https://github.com/msgpack/msgpack-c/releases/download/cpp-${PKG_MSGPACK_VERSION}/msgpack-${PKG_MSGPACK_VERSION}.tar.gz}; +: ${PKG_MSGPACK_AUTOGEN:=1}; +: ${PKG_MSGPACK_SUBDIR:=msgpack-${PKG_MSGPACK_VERSION}}; : ${PKG_MUSL_VERSION:=1.1.12}; : ${PKG_MUSL_SHA256SUM:=720b83c7e276b4b679c0bffe9509340d5f81fd601508e607e708177df0d31c0e}; : ${PKG_MUSL_URL:=http://www.musl-libc.org/releases/musl-${PKG_MUSL_VERSION}.tar.gz}; @@ -344,6 +356,15 @@ export PATH="${PREFIX}/bin${PATH:+:${PATH}}"; : ${PKG_TCSH_VERSION:=6.19.00}; : ${PKG_TCSH_SHA256SUM:=12e271e0b89e4259d9d6e8d525322e77340e7244cfbd199a591e5f8146285c49}; : ${PKG_TCSH_URL:=http://ftp.funet.fi/pub/mirrors/ftp.astron.com/pub/tcsh/tcsh-${PKG_TCSH_VERSION}.tar.gz}; +: ${PKG_TMUX_VERSION:=2.2}; +: ${PKG_TMUX_SHA256SUM:=bc28541b64f99929fe8e3ae7a02291263f3c97730781201824c0f05d7c8e19e4}; +: ${PKG_TMUX_URL:=https://github.com/tmux/tmux/releases/download/${PKG_TMUX_VERSION}/tmux-${PKG_TMUX_VERSION}.tar.gz}; +: ${PKG_TMUX_CFLAGS_BUILD_EXTRA:=-D_GNU_SOURCE}; +: ${PKG_TMATE_VERSION:=2.2.1}; +: ${PKG_TMATE_SHA256SUM:=d9c2ac59f42e65aac5f500f0548ea8056fd79c9c5285e5af324d833e2a84c305}; +: ${PKG_TMATE_URL:=https://github.com/tmate-io/tmate/archive/${PKG_TMATE_VERSION}.tar.gz}; +: ${PKG_TMATE_AUTOGEN:=1}; +: ${PKG_TMATE_SUBDIR:=tmate-${PKG_TMATE_VERSION}}; : ${PKG_SED_VERSION:=4.2.2}; : ${PKG_SED_SHA256SUM:=f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7}; : ${PKG_SED_URL:=https://ftp.gnu.org/gnu/sed/sed-${PKG_SED_VERSION}.tar.bz2}; diff --git a/libevent-2.0.22-stable.local.patch b/libevent-2.0.22-stable.local.patch new file mode 100644 index 0000000..15edceb --- /dev/null +++ b/libevent-2.0.22-stable.local.patch @@ -0,0 +1,22 @@ +--- libevent-2.0.22-stable/config.sub.orig 2013-05-29 19:28:15.000000000 +0200 ++++ libevent-2.0.22-stable/config.sub 2016-06-24 09:27:41.659295300 +0200 +@@ -791,6 +791,10 @@ + microblaze) + basic_machine=microblaze-xilinx + ;; ++ midipix) ++ basic_machine=x86_64-pc ++ os=-midipix ++ ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 +@@ -1359,7 +1363,7 @@ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ +- | -mingw32* | -linux-gnu* | -linux-android* \ ++ | -midipix* | -mingw32* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ diff --git a/msgpack-1.4.2.local.patch b/msgpack-1.4.2.local.patch new file mode 100644 index 0000000..f8c74e9 --- /dev/null +++ b/msgpack-1.4.2.local.patch @@ -0,0 +1,33 @@ +--- msgpack-1.4.2/ac/config.sub.orig 2016-05-27 11:12:07.000000000 +0200 ++++ msgpack-1.4.2/ac/config.sub 2016-06-24 10:14:58.837745200 +0200 +@@ -804,6 +804,10 @@ + microblaze*) + basic_machine=microblaze-xilinx + ;; ++ midipix*) ++ basic_machine=x86_64-pc ++ os=-midipix ++ ;; + mingw64) + basic_machine=x86_64-pc + os=-mingw64 +@@ -1384,7 +1388,7 @@ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ +- | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ ++ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-musl* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ +--- msgpack-1.4.2/configure.orig 2016-05-27 11:12:08.000000000 +0200 ++++ msgpack-1.4.2/configure 2016-06-24 10:29:44.723623500 +0200 +@@ -2766,7 +2766,7 @@ + if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." +- am__isrc=' -I$(srcdir)' ++ am__isrc=' -I$(srcdir) -I$(srcdir)/../include' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 diff --git a/tmate-2.2.1.local.patch b/tmate-2.2.1.local.patch new file mode 100644 index 0000000..ea47e7d --- /dev/null +++ b/tmate-2.2.1.local.patch @@ -0,0 +1,22 @@ +--- tmate-2.2.1/etc/config.sub.orig 2016-06-24 10:09:12.860128500 +0200 ++++ tmate-2.2.1/etc/config.sub 2016-06-24 10:10:02.677362500 +0200 +@@ -796,6 +796,10 @@ + microblaze*) + basic_machine=microblaze-xilinx + ;; ++ midipix*) ++ basic_machine=x86_64-pc ++ os=-midipix ++ ;; + mingw64) + basic_machine=x86_64-pc + os=-mingw64 +@@ -1376,7 +1380,7 @@ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ +- | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ ++ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-musl* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ diff --git a/tmux-2.2.local.patch b/tmux-2.2.local.patch new file mode 100644 index 0000000..36e2c78 --- /dev/null +++ b/tmux-2.2.local.patch @@ -0,0 +1,22 @@ +--- tmux-2.2/etc/config.sub.orig 2016-04-11 02:01:16.000000000 +0200 ++++ tmux-2.2/etc/config.sub 2016-06-24 09:22:29.999927100 +0200 +@@ -804,6 +804,10 @@ + microblaze*) + basic_machine=microblaze-xilinx + ;; ++ midipix*) ++ basic_machine=x86_64-pc ++ os=-midipix ++ ;; + mingw64) + basic_machine=x86_64-pc + os=-mingw64 +@@ -1384,7 +1388,7 @@ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ +- | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ ++ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-musl* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \