wok-6.x rev 23890

Add coturn
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 25 08:45:16 2020 +0000 (2020-07-25)
parents 0bc71e393813
children f9002b3173a2
files coturn-dev/receipt coturn/receipt grub/stuff/example-menu.lst grub2/stuff/example-grub.cfg grub4dos/stuff/menu.lst ipxe/receipt linld/stuff/linld.txt linld/stuff/load.u linld/stuff/src/LINLD.CPP linld/stuff/src/TAZBOOT.CPP linux-uml/receipt muparser-dev/receipt muparser/receipt ptlib/receipt slitaz-boot-scripts/receipt syslinux/stuff/iso2exe/boot.c syslinux/stuff/iso2exe/taziso syslinux/stuff/isolinux.cfg webalizer/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/coturn-dev/receipt	Sat Jul 25 08:45:16 2020 +0000
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="coturn-dev"
     1.7 +VERSION="4.5.1.3"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Free open source implementation of TURN and STUN Server, development files"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="BSD"
    1.12 +WEB_SITE="https://github.com/coturn/coturn"
    1.13 +WANTED="coturn"
    1.14 +
    1.15 +DEPENDS="coturn"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/lib
    1.21 +	cp -a $install/usr/include $fs/usr
    1.22 +	cp -a $install/usr/lib/*a $fs/usr/lib
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/coturn/receipt	Sat Jul 25 08:45:16 2020 +0000
     2.3 @@ -0,0 +1,37 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="coturn"
     2.7 +VERSION="4.5.1.3"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="Free open source implementation of TURN and STUN Server"
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="BSD"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WEB_SITE="https://github.com/coturn/coturn"
    2.14 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    2.15 +TAGS="stun turn"
    2.16 +
    2.17 +DEPENDS="libssl libsqlite zlib"
    2.18 +BUILD_DEPENDS="openssl-dev sqlite-dev zlib-dev"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	./configure --prefix=/usr \
    2.24 +		--sysconfdir=/etc \
    2.25 +		--mandir=/usr/share/man \
    2.26 +	$CONFIGURE_ARGS &&
    2.27 +	make &&
    2.28 +	make DESTDIR=$DESTDIR install
    2.29 +}
    2.30 +
    2.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.32 +genpkg_rules()
    2.33 +{
    2.34 +	mkdir -p $fs/usr/share
    2.35 +	cp -a $install/etc $fs
    2.36 +	cp -a $install/var $fs
    2.37 +	cp -a $install/usr/bin $fs/usr
    2.38 +	cp -a $install/usr/share/examples $fs/usr/share
    2.39 +	cp -a $install/usr/share/turnserver $fs/usr/share
    2.40 +}
     3.1 --- a/grub/stuff/example-menu.lst	Fri Jul 24 11:12:22 2020 +0100
     3.2 +++ b/grub/stuff/example-menu.lst	Sat Jul 25 08:45:16 2020 +0000
     3.3 @@ -13,7 +13,7 @@
     3.4  # For booting SliTaz from a cdrom (LiveCD).
     3.5  #
     3.6  #title  SliTaz GNU/Linux (Cooking) (Kernel 2.6.22.9)
     3.7 -#kernel /boot/bzImage vga=771
     3.8 +#kernel /boot/bzImage root=/dev/null vga=771
     3.9  #initrd /boot/rootfs.gz
    3.10  
    3.11  # For booting SliTaz from hda1.
     4.1 --- a/grub2/stuff/example-grub.cfg	Fri Jul 24 11:12:22 2020 +0100
     4.2 +++ b/grub2/stuff/example-grub.cfg	Sat Jul 25 08:45:16 2020 +0000
     4.3 @@ -14,7 +14,7 @@
     4.4  # For booting SliTaz from a cdrom (LiveCD).
     4.5  #
     4.6  #menuentry  "SliTaz GNU/Linux (Cooking)" {
     4.7 -#    linux /boot/bzImage vga=771
     4.8 +#    linux /boot/bzImage root=/dev/null vga=771
     4.9  #    initrd /boot/rootfs.gz
    4.10  #}
    4.11  
     5.1 --- a/grub4dos/stuff/menu.lst	Fri Jul 24 11:12:22 2020 +0100
     5.2 +++ b/grub4dos/stuff/menu.lst	Sat Jul 25 08:45:16 2020 +0000
     5.3 @@ -23,7 +23,7 @@
     5.4  
     5.5  title Slitaz Frugal
     5.6  	find --set-root --ignore-floppies /boot/rootfs.gz
     5.7 -	kernel /boot/bzImage vga=normal
     5.8 +	kernel /boot/bzImage root=/dev/null vga=normal
     5.9  	initrd /boot/rootfs.gz
    5.10  
    5.11  title Windows NT/2K/XP
     6.1 --- a/ipxe/receipt	Fri Jul 24 11:12:22 2020 +0100
     6.2 +++ b/ipxe/receipt	Sat Jul 25 08:45:16 2020 +0000
     6.3 @@ -21,15 +21,16 @@
     6.4  	sed -i 's/-llzma/& -lpthread/' Makefile.*
     6.5  	sed -i 's|//\(#define.*CONSOLE_FRAMEBUFFER\)|\1|' config/console.h
     6.6  	sed -i 's|//\(#define.*CONSOLE_SERIAL\)|\1|' config/console.h
     6.7 -	sed -i -e 's|//\(#define.*IMAGE_PNG\)|\1|' \
     6.8 +	sed -e 's|//\(#define.*IMAGE_PNG\)|\1|' \
     6.9  	    -e 's|.*\(NET_PROTO_IPV6\)|#define \1|' \
    6.10  	    -e 's|undef	\(DOWNLOAD_PROTO_HTTPS\)|define	\1|' \
    6.11  	    -e 's|.*\(VLAN_CMD\)|#define \1|' \
    6.12  	    -e 's|.*\(CERT_CMD\)|#define \1|' \
    6.13  	    -e 's|//\(#define.*CONSOLE_CMD\)|\1|' \
    6.14 -	    -e 's|//\(#define.*REBOOT_CMD\)|\1|' config/general.h
    6.15 +	    -e 's|//\(#define.*REBOOT_CMD\)|\1|' -i config/general.h
    6.16  	sed -i "s|\(TAG_LINE \"\)|\1${VERSION#*-} -- |" config/branding.h
    6.17 -	sed -i 's|//\(#define.*CPUID_SETTINGS\)|\1|' config/settings.h
    6.18 +	sed -e 's|//\(#define.*CPUID_SETTINGS\)|\1|' \
    6.19 +	    -e 's|//\(#define.*MEMMAP_SETTINGS\)|\1|' -i config/settings.h
    6.20  	pxelinux="$(ls $WOK/syslinux/source/*/core/pxelinux.0)"
    6.21  	make bin/undionly.kkkpxe EMBED=$stuff/ipxelinux.ipxe,$pxelinux &&
    6.22  		mv bin/undionly.kkkpxe bin/ipxelinux.0
    6.23 @@ -38,7 +39,7 @@
    6.24  	make bin/undionly.pxe bin/undionly.kpxe bin/undionly.kkpxe \
    6.25  	     bin/undionly.kkkpxe bin/ipxe.pxe bin/ipxe.kpxe bin/ipxe.kkpxe \
    6.26  	     bin/ipxe.kkkpxe bin/ipxe.nbi bin/ipxe.lkrn bin-i386-efi/ipxe.efi \
    6.27 -	     bin-i386-efi/snponly.efi bin/ipxe.exe EMBED=$stuff/ipxe.cmd
    6.28 +	     bin-i386-efi/snponly.efi bin/ipxe.exe EMBED=$stuff/ipxeads.cmd
    6.29  	cp $stuff/bootloader.S .
    6.30  	cc -o bootloader.o -Wa,-a=bootloader.lst -c bootloader.S
    6.31  	objcopy -O binary bootloader.o bootloader.bin
     7.1 --- a/linld/stuff/linld.txt	Fri Jul 24 11:12:22 2020 +0100
     7.2 +++ b/linld/stuff/linld.txt	Sat Jul 25 08:45:16 2020 +0000
     7.3 @@ -54,6 +54,6 @@
     7.4  > linld @args.cmd
     7.5  
     7.6  The -f and -b are useful skip XMM (max 64M ?) and VCPI (max 32M ?) limits:
     7.7 -> linld -f -b 64m initrd=rootfs4.gz,rootfs3.gz,rootfs2.gz,rootfs1.gz "cl=video=-32"
     7.8 +> linld -f -b 64m initrd=rootfs4.gz,rootfs3.gz,rootfs2.gz,rootfs1.gz "cl=root=/dev/null video=-32"
     7.9  
    7.10  Image/zImage support.
     8.1 --- a/linld/stuff/load.u	Fri Jul 24 11:12:22 2020 +0100
     8.2 +++ b/linld/stuff/load.u	Sat Jul 25 08:45:16 2020 +0000
     8.3 @@ -52,7 +52,7 @@
     8.4  +#if 0
     8.5  +        NL NL "Example" NL
     8.6  +        "\tcopy/b rootfs4.gz+rootfs3.gz+rootfs2.gz+rootfs1.gz rootfs.gz" NL
     8.7 -+        "\tlinld initrd=rootfs.gz \"cl=video=-32\""
     8.8 ++        "\tlinld initrd=rootfs.gz \"cl=root=/dev/null video=-32\""
     8.9  +#endif
    8.10       );
    8.11   }
     9.1 --- a/linld/stuff/src/LINLD.CPP	Fri Jul 24 11:12:22 2020 +0100
     9.2 +++ b/linld/stuff/src/LINLD.CPP	Sat Jul 25 08:45:16 2020 +0000
     9.3 @@ -38,7 +38,7 @@
     9.4          NL NL "Examples:" NL
     9.5  	"\tLINLD -f -b 64m "
     9.6          "initrd=rootfs4.gz,rootfs3.gz,rootfs2.gz,rootfs1.gz "
     9.7 -	"\"cl=video=-32\""
     9.8 +	"\"cl=root=/dev/null video=-32\""
     9.9  	NL NL "\tLINLD image=memtest"
    9.10  #endif
    9.11      );
    10.1 --- a/linld/stuff/src/TAZBOOT.CPP	Fri Jul 24 11:12:22 2020 +0100
    10.2 +++ b/linld/stuff/src/TAZBOOT.CPP	Sat Jul 25 08:45:16 2020 +0000
    10.3 @@ -156,7 +156,7 @@
    10.4    bootfrom=\\isos\\slitaz-4.0.iso\n\
    10.5    kernel=boot/bzImage\n\
    10.6    initrd=boot/rootfs4.gz,boot/rootfs3.gz,boot/rootfs2.gz,boot/rootfs1.gz,\\slitaz\\extrafs.gz\n\
    10.7 -  vga=normal autologin\n\n\
    10.8 +  root=/dev/null vga=normal autologin\n\n\
    10.9    kernel=\\slitaz\\elks\n\
   10.10    root=/dev/bda1 ro\n");
   10.11  	}
    11.1 --- a/linux-uml/receipt	Fri Jul 24 11:12:22 2020 +0100
    11.2 +++ b/linux-uml/receipt	Sat Jul 25 08:45:16 2020 +0000
    11.3 @@ -97,7 +97,7 @@
    11.4  # /etc/inittab: "tty21::respawn:/bin/su -c '/boot/vm-uml 1 /boot/guests/slitaz.img 2 512m' nobody"
    11.5  n=\${1:-0}
    11.6  tap=tap\$n
    11.7 -args=""
    11.8 +args="root=/dev/null"
    11.9  dev="initrd=\$(ls -r /boot/rootfs*.gz | sed q)"
   11.10  if [ -n "\$2" ]; then
   11.11  	args="ro root=620\${3:-1} screen=text sound=noconf"
    12.1 --- a/muparser-dev/receipt	Fri Jul 24 11:12:22 2020 +0100
    12.2 +++ b/muparser-dev/receipt	Sat Jul 25 08:45:16 2020 +0000
    12.3 @@ -6,7 +6,7 @@
    12.4  SHORT_DESC="A fast mathematical expression parser library - development files."
    12.5  MAINTAINER="devl547@gmail.com"
    12.6  LICENSE="MIT"
    12.7 -WEB_SITE="https://beltoforion.de/article.php?a=muparser"
    12.8 +WEB_SITE="https://beltoforion.de/en/muparser"
    12.9  
   12.10  DEPENDS="pkg-config"
   12.11  WANTED="muparser"
    13.1 --- a/muparser/receipt	Fri Jul 24 11:12:22 2020 +0100
    13.2 +++ b/muparser/receipt	Sat Jul 25 08:45:16 2020 +0000
    13.3 @@ -6,7 +6,7 @@
    13.4  SHORT_DESC="A fast mathematical expression parser library."
    13.5  MAINTAINER="devl547@gmail.com"
    13.6  LICENSE="MIT"
    13.7 -WEB_SITE="https://beltoforion.de/article.php?a=muparser"
    13.8 +WEB_SITE="https://beltoforion.de/en/muparser"
    13.9  
   13.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
   13.11  WGET_URL="https://github.com/beltoforion/$PACKAGE/archive/v$VERSION.tar.gz"
    14.1 --- a/ptlib/receipt	Fri Jul 24 11:12:22 2020 +0100
    14.2 +++ b/ptlib/receipt	Sat Jul 25 08:45:16 2020 +0000
    14.3 @@ -19,6 +19,8 @@
    14.4  # Rules to configure and make the package.
    14.5  compile_rules()
    14.6  {
    14.7 +patch -p1 < $stuff/ptlib-2.10.10-mga-bison-parameter.patch
    14.8 +sed -i 's|.(Q_LD).*|echo &\n\t&|' make/lib.mak
    14.9  	./configure			\
   14.10  		--prefix=/usr		\
   14.11  		--bindir=/bin		\
    15.1 --- a/slitaz-boot-scripts/receipt	Fri Jul 24 11:12:22 2020 +0100
    15.2 +++ b/slitaz-boot-scripts/receipt	Sat Jul 25 08:45:16 2020 +0000
    15.3 @@ -1,7 +1,7 @@
    15.4  # SliTaz package receipt.
    15.5  
    15.6  PACKAGE="slitaz-boot-scripts"
    15.7 -VERSION="463"
    15.8 +VERSION="464"
    15.9  CATEGORY="base-system"
   15.10  SHORT_DESC="Provide all the initialisation scripts used at boot time."
   15.11  MAINTAINER="pankso@slitaz.org"
    16.1 --- a/syslinux/stuff/iso2exe/boot.c	Fri Jul 24 11:12:22 2020 +0100
    16.2 +++ b/syslinux/stuff/iso2exe/boot.c	Sat Jul 25 08:45:16 2020 +0000
    16.3 @@ -16,7 +16,7 @@
    16.4    bootfrom=\\isos\\slitaz-4.0.iso\n\
    16.5    kernel=boot/bzImage\n\
    16.6    initrd=boot/rootfs4.gz,boot/rootfs3.gz,boot/rootfs2.gz,boot/rootfs1.gz,\\slitaz\\extrafs.gz\n\
    16.7 -  vga=normal autologin\n\n\
    16.8 +  root=/dev/null vga=normal autologin\n\n\
    16.9    kernel=\\slitaz\\elks\n\
   16.10    root=/dev/bda1 ro\n",iso,iso,iso);
   16.11  	exit(1);
   16.12 @@ -61,7 +61,7 @@
   16.13  	if (magic > 0) {
   16.14  		char *initrd = fallback;
   16.15  
   16.16 -		fmt = "bootfrom=%s%s magic=%lu mode=%s autologin";
   16.17 +		fmt = "root=/dev/null bootfrom=%s%s magic=%lu mode=%s autologin";
   16.18  		if (rootfs[0]) {
   16.19  			initrd = rootfs;
   16.20  			if (rootfs[6] != '.' && !isoopen("rootfs.gz"))
    17.1 --- a/syslinux/stuff/iso2exe/taziso	Fri Jul 24 11:12:22 2020 +0100
    17.2 +++ b/syslinux/stuff/iso2exe/taziso	Sat Jul 25 08:45:16 2020 +0000
    17.3 @@ -275,7 +275,7 @@
    17.4  	unix2dos > $mnt/slitaz/boot/tazboot.cmd <<EOT
    17.5  image=/slitaz/boot/bzimage
    17.6  initrd=/slitaz/boot/$initrd
    17.7 -$extraargs autologin
    17.8 +root=/dev/null $extraargs autologin
    17.9  EOT
   17.10  	uudecode - <<EOT | gunzip > $mnt/slitaz/boot/slitaz.pif
   17.11  begin-base64 644 -
   17.12 @@ -325,7 +325,7 @@
   17.13  		echo -en "\nUpdate /boot/grub/menu.lst..."
   17.14  		cat >> $mnt/boot/grub/menu.lst <<EOT
   17.15  title SliTaz GNU/Linux $(cat $mnt/slitaz/etc/slitaz-release)
   17.16 -	kernel /slitaz/boot/$bzimage $extraargs autologin
   17.17 +	kernel /slitaz/boot/$bzimage root=/dev/null $extraargs autologin
   17.18  	initrd /slitaz/boot/$initrd
   17.19  
   17.20  EOT
   17.21 @@ -613,7 +613,7 @@
   17.22  		n=$((4 - ($(stat -c %s $i) % 4)))
   17.23  		[ $n -eq 4 ] || dd if=/dev/zero bs=1 count=$n
   17.24  	done > initrd$$
   17.25 -	cmdline="autologin lang=$LANG"
   17.26 +	cmdline="root=/dev/null autologin lang=$LANG"
   17.27  	[ -s /etc/keymap.conf ] && cmdline="$cmdline kmap=$(cat /etc/keymap.conf)"
   17.28  	[ -s /etc/TZ ] && cmdline="$cmdline tz=$(cat /etc/TZ)"
   17.29  	rm -f cmdline initrd 2> /dev/null
   17.30 @@ -641,7 +641,7 @@
   17.31  Examples for tazboot.cmd:\n\n\
   17.32    image=boot/bzImage\n\
   17.33    initrd=boot/rootfs4.gz,boot/rootfs3.gz,boot/rootfs2.gz,boot/rootfs1.gz\n\
   17.34 -  autologin\n\n\
   17.35 +  root=/dev/null autologin\n\n\
   17.36    image=\\slitaz\\vmlinuz root=/dev/sda5 ro\n" 0 0
   17.37  		[ $? -eq 0 ] || return
   17.38  	fi
    18.1 --- a/syslinux/stuff/isolinux.cfg	Fri Jul 24 11:12:22 2020 +0100
    18.2 +++ b/syslinux/stuff/isolinux.cfg	Sat Jul 25 08:45:16 2020 +0000
    18.3 @@ -25,7 +25,7 @@
    18.4  LABEL slitaz
    18.5  	MENU LABEL SliTaz Live
    18.6  	COM32 c32box.c32
    18.7 -	APPEND linux /boot/bzImage initrd=/boot/rootfs.gz video=-32 autologin
    18.8 +	APPEND linux /boot/bzImage initrd=/boot/rootfs.gz root=/dev/null video=-32 autologin
    18.9  
   18.10  LABEL help
   18.11  	MENU LABEL Help & Options
    19.1 --- a/webalizer/receipt	Fri Jul 24 11:12:22 2020 +0100
    19.2 +++ b/webalizer/receipt	Sat Jul 25 08:45:16 2020 +0000
    19.3 @@ -7,7 +7,7 @@
    19.4  SHORT_DESC="Web server log file analysis program."
    19.5  MAINTAINER="pascal.bellard@slitaz.org"
    19.6  LICENSE="GPL2"
    19.7 -WEB_SITE="http://www.webalizer.org/"
    19.8 +WEB_SITE="https://www.patrickfrei.ch/webalizer/"
    19.9  
   19.10  TARBALL="$PACKAGE-${VERSION%.*}-${VERSION##*.}-src.tar.bz2"
   19.11  WGET_URL="ftp://ftp.mrunix.net/pub/$PACKAGE/$TARBALL"