wok rev 24996

updated nim (0.19.6 -> 1.6.6)
author Hans-G?nter Theisgen
date Mon May 16 10:46:30 2022 +0100 (23 months ago)
parents 3d13c41224cd
children 497ec5686070
files nginx-extras/receipt nginx/receipt nim/description.txt nim/receipt
line diff
     1.1 --- a/nginx-extras/receipt	Mon May 16 10:04:06 2022 +0100
     1.2 +++ b/nginx-extras/receipt	Mon May 16 10:46:30 2022 +0100
     1.3 @@ -1,21 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nginx-extras"
     1.7 -VERSION="1.16.0"
     1.8 +VERSION="1.21.6"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Asynchronous HTTP server designed for heavy loads and mail proxy."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="BSD"
    1.13 -WEB_SITE="http://nginx.org/"
    1.14 +WEB_SITE="https://nginx.org/"
    1.15  
    1.16 -TARBALL="nginx-$VERSION.tar.gz"
    1.17 -WGET_URL="${WEB_SITE}download/$TARBALL"
    1.18 +SOURCE="nginx"
    1.19 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.20 +WGET_URL="${WEB_SITE}download//$TARBALL"
    1.21  
    1.22  PROVIDE="lighttpd"
    1.23  CONFLICT="nginx"
    1.24 -SUGGESTED="php perl python"
    1.25 -DEPENDS="geoip libgd libxslt openssl pcre zlib"
    1.26 -BUILD_DEPENDS="geoip-dev libgd-dev libxslt-dev openssl-dev pcre-dev 
    1.27 +
    1.28 +SUGGESTED="php python"
    1.29 +DEPENDS="geoip libgd libxslt openssl pcre perl zlib"
    1.30 +BUILD_DEPENDS="geoip-dev libgd-dev libxslt-dev openssl-dev pcre-dev
    1.31  	tiff zlib-dev"
    1.32  
    1.33  CONFIG_FILES="/etc/nginx"
    1.34 @@ -70,7 +72,7 @@
    1.35  		--user=80						\
    1.36  		--group=80 &&
    1.37  	make &&
    1.38 -	make DESTDIR=$DESTDIR install
    1.39 +	make install DESTDIR=$DESTDIR
    1.40  
    1.41  	# not yet available - perftools dep lib
    1.42  	#--with-google_perftools_module \
    1.43 @@ -91,8 +93,8 @@
    1.44  # We stop the server by default in case of upgarde.
    1.45  pre_install()
    1.46  {
    1.47 -	[ -f /etc/init.d/$PACKAGE ] &&
    1.48 -	/etc/init.d/$PACKAGE stop
    1.49 +	[ -f /etc/init.d/$SOURCE ] &&
    1.50 +	/etc/init.d/$SOURCE stop
    1.51  
    1.52  	# Backup configuration file.
    1.53  	if [ -d "$1/$CONFIG_FILES" ]
    1.54 @@ -113,14 +115,14 @@
    1.55  	fi
    1.56  
    1.57  	# Just in case.
    1.58 -	chown www.www "$1/var/log/$PACKAGE"
    1.59 +	chown www.www "$1/var/log/$SOURCE"
    1.60  	if [ -z "$1" ]
    1.61  	  then
    1.62  		for i in apache lighttpd
    1.63  		  do
    1.64  			[ -f /etc/init.d/$i ] && /etc/init.d/$i stop
    1.65  		  done
    1.66 -		/etc/init.d/$PACKAGE start
    1.67 +		/etc/init.d/$SOURCE start
    1.68  	fi
    1.69  
    1.70  	:
     2.1 --- a/nginx/receipt	Mon May 16 10:04:06 2022 +0100
     2.2 +++ b/nginx/receipt	Mon May 16 10:46:30 2022 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="nginx"
     2.7 -VERSION="1.19.0"
     2.8 +VERSION="1.21.6"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Asynchronous HTTP server designed for heavy loads and mail proxy."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12 @@ -12,7 +12,7 @@
    2.13  WGET_URL="${WEB_SITE}download//$TARBALL"
    2.14  
    2.15  PROVIDE="lighttpd"
    2.16 -SUGGESTED="php perl python"
    2.17 +SUGGESTED="perl php python"
    2.18  DEPENDS="openssl pcre zlib"
    2.19  BUILD_DEPENDS="openssl-dev pcre-dev zlib-dev"
    2.20  
    2.21 @@ -57,18 +57,19 @@
    2.22  		--with-http_flv_module					\
    2.23  		--with-http_ssl_module					\
    2.24  		--with-http_dav_module					\
    2.25 -		--with-mail --with-mail_ssl_module			\
    2.26 +		--with-mail						\
    2.27 +		--with-mail_ssl_module					\
    2.28  		--user=80						\
    2.29  		--group=80 &&
    2.30  	make &&
    2.31 -	make DESTDIR=$DESTDIR install
    2.32 +	make install DESTDIR=$DESTDIR
    2.33  }
    2.34  
    2.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.36  # On SliTaz Lighttpd runs as user/group : www/www or 80/80.
    2.37  genpkg_rules()
    2.38  {
    2.39 -	cp -a $install/*	$fs/
    2.40 +	cp -a $install/*	$fs
    2.41  	rm -rf			$fs/usr/html
    2.42  	cp -a stuff/*		$fs
    2.43  	sed -i 's/#user  nobody;/user  www;/' \
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/nim/description.txt	Mon May 16 10:46:30 2022 +0100
     3.3 @@ -0,0 +1,3 @@
     3.4 +Nim is a statically typed compiled systems programming language.
     3.5 +It combines successful concepts from mature languages like Python,
     3.6 +Ada and Modula.
     4.1 --- a/nim/receipt	Mon May 16 10:04:06 2022 +0100
     4.2 +++ b/nim/receipt	Mon May 16 10:46:30 2022 +0100
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="nim"
     4.7 -VERSION="0.19.6"
     4.8 +VERSION="1.6.6"
     4.9  CATEGORY="development"
    4.10  SHORT_DESC="The Nim programming language."
    4.11  MAINTAINER="maintainer@slitaz.org"
    4.12 @@ -11,8 +11,8 @@
    4.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
    4.14  WGET_URL="${WEB_SITE}download/$TARBALL"
    4.15  
    4.16 -DEPENDS="gcc glibc-base readline"
    4.17 -BUILD_DEPENDS="gcc glibc-dev readline-dev"
    4.18 +DEPENDS="gcc83-lib-base glibc-base readline"
    4.19 +BUILD_DEPENDS="gcc83 glibc-dev readline-dev"
    4.20  
    4.21  # What is the latest version available today?
    4.22  current_version()
    4.23 @@ -28,6 +28,9 @@
    4.24  	chmod +x build.sh
    4.25  	chmod +x install.sh
    4.26  
    4.27 +	export	CC=gcc-83
    4.28 +	export	CXX=g++-83
    4.29 +
    4.30  	./build.sh &&
    4.31  	./bin/nim c -d:release koch &&
    4.32  	./koch boot -d:release &&