summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortriaxx <triaxx@pkgsrc.org>2022-10-15 18:29:21 +0000
committertriaxx <triaxx@pkgsrc.org>2022-10-15 18:29:21 +0000
commitbf7fc8e39c3e539af69e9e7b24bb4485a3b1081c (patch)
tree47e10774f4d570c9d9193e6515d80d3ccb9e8dc2
parent4f7d8124c2d9255dbfa4562ee68ee1c32e2ce658 (diff)
downloadpkgsrc-bf7fc8e39c3e539af69e9e7b24bb4485a3b1081c.tar.gz
yaws: Update to 2.1.1
upstream changes: ----------------- https://github.com/erlyaws/yaws/blob/yaws-2.1.1/ChangeLog
-rw-r--r--www/yaws/Makefile15
-rw-r--r--www/yaws/PLIST12
-rw-r--r--www/yaws/distinfo10
-rw-r--r--www/yaws/patches/patch-configure15
-rw-r--r--www/yaws/patches/patch-include.mk15
5 files changed, 20 insertions, 47 deletions
diff --git a/www/yaws/Makefile b/www/yaws/Makefile
index cda9644f8f4..450a1ed1df7 100644
--- a/www/yaws/Makefile
+++ b/www/yaws/Makefile
@@ -1,20 +1,22 @@
-# $NetBSD: Makefile,v 1.22 2022/06/28 11:37:52 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2022/10/15 18:29:21 triaxx Exp $
#
-DISTNAME= yaws-2.0.6
-PKGREVISION= 5
+DISTNAME= yaws-2.1.1
CATEGORIES= www
-MASTER_SITES= http://yaws.hyber.org/download/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=erlyaws/}
+GITHUB_TAG= ${DISTNAME}
MAINTAINER= bartosz.kuzma@gmail.com
HOMEPAGE= http://yaws.hyber.org/
COMMENT= High perfomance HTTP 1.1 webserver written in Erlang
LICENSE= modified-bsd
+WRKSRC= ${WRKDIR}/yaws-${DISTNAME}
+
BUILD_DEFS+= VARBASE
USE_LIBTOOL= yes
-USE_TOOLS+= gmake perl tar
+USE_TOOLS+= aclocal autoconf automake autoreconf gmake perl tar
GNU_CONFIGURE= yes
PKG_SYSCONFSUBDIR= yaws
@@ -51,6 +53,9 @@ post-extract:
cd ${WRKSRC} && ${CHMOD} -R g-w www
${RM} -Rf ${WRKSRC}/www/testdir
+pre-configure:
+ cd ${WRKSRC} && autoreconf -fi
+
post-configure:
${SED} -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" \
-e "s|@PREFIX@|${PREFIX}|g" \
diff --git a/www/yaws/PLIST b/www/yaws/PLIST
index 71332106c09..e6276be7bd9 100644
--- a/www/yaws/PLIST
+++ b/www/yaws/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2018/09/27 21:16:40 tnn Exp $
+@comment $NetBSD: PLIST,v 1.7 2022/10/15 18:29:21 triaxx Exp $
bin/yaws
lib/pkgconfig/yaws.pc
lib/yaws/ebin/haxe.beam
@@ -26,7 +26,6 @@ lib/yaws/ebin/yaws_generated.beam
lib/yaws/ebin/yaws_html.beam
lib/yaws/ebin/yaws_jsonrpc.beam
lib/yaws/ebin/yaws_log.beam
-lib/yaws/ebin/yaws_log_file_h.beam
lib/yaws/ebin/yaws_logger.beam
lib/yaws/ebin/yaws_ls.beam
lib/yaws/ebin/yaws_multipart.beam
@@ -82,6 +81,7 @@ man/man1/yaws.1
man/man5/yaws.conf.5
man/man5/yaws_api.5
man/man5/yaws_soap_lib.5
+share/doc/yaws/yaws.pdf
share/examples/yaws/dhparams.pem
share/examples/yaws/yaws-cert.pem
share/examples/yaws/yaws-key.pem
@@ -91,7 +91,6 @@ share/yaws/www/END
share/yaws/www/END2
share/yaws/www/HEAD
share/yaws/www/TAB.inc
-share/yaws/www/api.yaws
share/yaws/www/appmods.yaws
share/yaws/www/arg.yaws
share/yaws/www/arg2.yaws
@@ -111,7 +110,6 @@ share/yaws/www/cookies.yaws
share/yaws/www/doc.yaws
share/yaws/www/dynamic.yaws
share/yaws/www/embed.yaws
-share/yaws/www/examples.yaws
share/yaws/www/favicon.ico
share/yaws/www/form.yaws
share/yaws/www/haxe_intro.yaws
@@ -247,7 +245,7 @@ share/yaws/www/json_sample.html
share/yaws/www/json_sample.yaws
share/yaws/www/logger_mod.yaws
share/yaws/www/man.yaws
-share/yaws/www/motivation.yaws
+share/yaws/www/multiple_accept_headers.yaws
share/yaws/www/news
share/yaws/www/pcookie.yaws
share/yaws/www/post.yaws
@@ -295,7 +293,6 @@ share/yaws/www/static.html
share/yaws/www/stats_ex.yaws
share/yaws/www/stil.css
share/yaws/www/stream.yaws
-share/yaws/www/todo.yaws
share/yaws/www/upload.yaws
share/yaws/www/upload0.yaws
share/yaws/www/urandom.yaws
@@ -307,7 +304,10 @@ share/yaws/www/websockets_example_endpoint.yaws
share/yaws/www/yapp_intro.yaws
share/yaws/www/yaws-1.55_to_1.56.patch
share/yaws/www/yaws.eps
+share/yaws/www/yaws.pdf
+share/yaws/www/yaws.ps
share/yaws/www/ybed.erl
share/yaws/www/ybed_sup.erl
share/yaws/www/yman.yaws
+@pkgdir var/log/yaws
@pkgdir lib/yaws/examples/include
diff --git a/www/yaws/distinfo b/www/yaws/distinfo
index acc73bc12ee..810dd97f8c1 100644
--- a/www/yaws/distinfo
+++ b/www/yaws/distinfo
@@ -1,9 +1,7 @@
-$NetBSD: distinfo,v 1.9 2022/05/05 13:09:30 nia Exp $
+$NetBSD: distinfo,v 1.10 2022/10/15 18:29:21 triaxx Exp $
-BLAKE2s (yaws-2.0.6.tar.gz) = 3b44736925c9e9e6075f10d544477a2cd31504df8affb8fd82084fda5c22ed61
-SHA512 (yaws-2.0.6.tar.gz) = 6e05f3b492fe6bff31a1d74a36c2244e2eaca9b5888d4ce6a08ad5b156b54fc4128428ba28cd7bcc700d2ed5481d28b1de0a947b30c8a5c02ddeab366bd863d6
-Size (yaws-2.0.6.tar.gz) = 1644979 bytes
+BLAKE2s (yaws-2.1.1.tar.gz) = c2f1669e4ab545fdc975f63565080a44de860af4b3be2cce1671efb006b5f0a4
+SHA512 (yaws-2.1.1.tar.gz) = 71a8f6ef19b6bf84e9628be5b4891ba19eb3d64fab19d2af8ba9218b760f81cc31575015f977fc21bf35a592c4c4a247388a57ab4d7571eb65c4185b0bdf9bce
+Size (yaws-2.1.1.tar.gz) = 1231176 bytes
SHA1 (patch-ai) = 097339fc81ab7421f90f337b11094b655e7a9bee
-SHA1 (patch-configure) = 8a7343725198924f2abc84fa2c67e9dff7698b12
-SHA1 (patch-include.mk) = 8ad23472db5114259dae3e1ef2e8f95e9e6bb11f
SHA1 (patch-scripts_yaws.template) = a7941269c33a345916b05845c11312ca3d47c066
diff --git a/www/yaws/patches/patch-configure b/www/yaws/patches/patch-configure
deleted file mode 100644
index 54daed86ea8..00000000000
--- a/www/yaws/patches/patch-configure
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-configure,v 1.1 2022/05/05 13:09:30 nia Exp $
-
-Don't force -Werror.
-
---- configure.orig 2018-06-30 15:55:49.000000000 +0000
-+++ configure
-@@ -13394,7 +13394,7 @@ CC=$lt_save_CC
-
-
-
--CFLAGS="-Werror -Wall -O3 $old_cflags"
-+CFLAGS="-Wall $old_cflags"
-
-
-
diff --git a/www/yaws/patches/patch-include.mk b/www/yaws/patches/patch-include.mk
deleted file mode 100644
index 408068b20d6..00000000000
--- a/www/yaws/patches/patch-include.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-include.mk,v 1.1 2022/05/05 13:09:30 nia Exp $
-
-Don't force -Werror.
-
---- include.mk.orig 2018-06-30 13:20:53.000000000 +0000
-+++ include.mk
-@@ -3,7 +3,7 @@ am__v_ERLC_ = $(am__v_ERLC_$(AM_DEFAULT_
- am__v_ERLC_0 = @echo " ERLC " $@;
- am__v_ERLC_1 =
-
--ERLC_GENERIC_FLAGS = -Werror +debug_info $(DEBUG_ERLC_FLAGS) \
-+ERLC_GENERIC_FLAGS = +debug_info $(DEBUG_ERLC_FLAGS) \
- -pa $(top_srcdir) -pa $(top_builddir) -pa $(top_builddir)/ebin \
- -I $(top_srcdir)/include -I $(srcdir)/../include \
- -I $(top_builddir)/include -I $(builddir)/../include