pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www
Module Name: pkgsrc
Committed By: ng0
Date: Wed Nov 6 13:35:18 UTC 2019
Modified Files:
pkgsrc/www: Makefile
Added Files:
pkgsrc/www/go-mux: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
Add www/go-mux version 1.7.3
Go-mux implements a request router and dispatcher for matching
incoming requests to their respective handler.
The name mux stands for "HTTP request multiplexer". Like the standard
http.ServeMux, mux.Router matches incoming requests against a list of
registered routes and calls a handler for the route that matches the
URL or other conditions. The main features are:
It implements the http.Handler interface so it is compatible with the
standard http.ServeMux.
Requests can be matched based on URL host, path, path prefix, schemes,
header and query values, HTTP methods or using custom matchers.
URL hosts, paths and query values can have variables with an optional
regular expression.
Registered URLs can be built, or "reversed", which helps maintaining
references to resources.
Routes can be used as subrouters: nested routes are only tested if the
parent route matches. This is useful to define groups of routes that
share common conditions like a host, a path prefix or other repeated
attributes. As a bonus, this optimizes request matching.
To generate a diff of this commit:
cvs rdiff -u -r1.1413 -r1.1414 pkgsrc/www/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/www/go-mux/DESCR pkgsrc/www/go-mux/Makefile \
pkgsrc/www/go-mux/PLIST pkgsrc/www/go-mux/buildlink3.mk \
pkgsrc/www/go-mux/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/Makefile
diff -u pkgsrc/www/Makefile:1.1413 pkgsrc/www/Makefile:1.1414
--- pkgsrc/www/Makefile:1.1413 Sun Nov 3 01:00:18 2019
+++ pkgsrc/www/Makefile Wed Nov 6 13:35:18 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1413 2019/11/03 01:00:18 markd Exp $
+# $NetBSD: Makefile,v 1.1414 2019/11/06 13:35:18 ng0 Exp $
#
COMMENT= Packages related to the World Wide Web
@@ -122,10 +122,12 @@ SUBDIR+= gitweb
SUBDIR+= gnurl
SUBDIR+= go-ace
SUBDIR+= go-cssmin
+SUBDIR+= go-fasthttp
SUBDIR+= go-gogs-client
SUBDIR+= go-gohtml
SUBDIR+= go-libsass
SUBDIR+= go-minify
+SUBDIR+= go-mux
SUBDIR+= go-parse
SUBDIR+= go-spritewell
SUBDIR+= go-tocss
Added files:
Index: pkgsrc/www/go-mux/DESCR
diff -u /dev/null pkgsrc/www/go-mux/DESCR:1.1
--- /dev/null Wed Nov 6 13:35:18 2019
+++ pkgsrc/www/go-mux/DESCR Wed Nov 6 13:35:18 2019
@@ -0,0 +1,20 @@
+Go-mux implements a request router and dispatcher for matching
+incoming requests to their respective handler.
+
+The name mux stands for "HTTP request multiplexer". Like the standard
+http.ServeMux, mux.Router matches incoming requests against a list of
+registered routes and calls a handler for the route that matches the
+URL or other conditions. The main features are:
+
+It implements the http.Handler interface so it is compatible with the
+standard http.ServeMux.
+Requests can be matched based on URL host, path, path prefix, schemes,
+header and query values, HTTP methods or using custom matchers.
+URL hosts, paths and query values can have variables with an optional
+regular expression.
+Registered URLs can be built, or "reversed", which helps maintaining
+references to resources.
+Routes can be used as subrouters: nested routes are only tested if the
+parent route matches. This is useful to define groups of routes that
+share common conditions like a host, a path prefix or other repeated
+attributes. As a bonus, this optimizes request matching.
Index: pkgsrc/www/go-mux/Makefile
diff -u /dev/null pkgsrc/www/go-mux/Makefile:1.1
--- /dev/null Wed Nov 6 13:35:18 2019
+++ pkgsrc/www/go-mux/Makefile Wed Nov 6 13:35:18 2019
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2019/11/06 13:35:18 ng0 Exp $
+
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= go-mux-1.7.3
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=gorilla/}
+GITHUB_PROJECT= mux
+
+MAINTAINER= ng0%NetBSD.org@localhost
+HOMEPAGE= https://github.com/gorilla/mux
+COMMENT= URL router and dispatcher for Go
+LICENSE= modified-bsd # bsd-3
+
+GO_SRCPATH= github.com/gorilla/mux
+GO_DIST_BASE= mux-${PKGVERSION_NOREV}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/go-mux/PLIST
diff -u /dev/null pkgsrc/www/go-mux/PLIST:1.1
--- /dev/null Wed Nov 6 13:35:18 2019
+++ pkgsrc/www/go-mux/PLIST Wed Nov 6 13:35:18 2019
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2019/11/06 13:35:18 ng0 Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/gorilla/mux.a
+gopkg/src/github.com/gorilla/mux/AUTHORS
+gopkg/src/github.com/gorilla/mux/LICENSE
+gopkg/src/github.com/gorilla/mux/README.md
+gopkg/src/github.com/gorilla/mux/bench_test.go
+gopkg/src/github.com/gorilla/mux/context.go
+gopkg/src/github.com/gorilla/mux/context_test.go
+gopkg/src/github.com/gorilla/mux/doc.go
+gopkg/src/github.com/gorilla/mux/example_authentication_middleware_test.go
+gopkg/src/github.com/gorilla/mux/example_cors_method_middleware_test.go
+gopkg/src/github.com/gorilla/mux/example_route_test.go
+gopkg/src/github.com/gorilla/mux/go.mod
+gopkg/src/github.com/gorilla/mux/middleware.go
+gopkg/src/github.com/gorilla/mux/middleware_test.go
+gopkg/src/github.com/gorilla/mux/mux.go
+gopkg/src/github.com/gorilla/mux/mux_test.go
+gopkg/src/github.com/gorilla/mux/old_test.go
+gopkg/src/github.com/gorilla/mux/regexp.go
+gopkg/src/github.com/gorilla/mux/route.go
+gopkg/src/github.com/gorilla/mux/test_helpers.go
Index: pkgsrc/www/go-mux/buildlink3.mk
diff -u /dev/null pkgsrc/www/go-mux/buildlink3.mk:1.1
--- /dev/null Wed Nov 6 13:35:18 2019
+++ pkgsrc/www/go-mux/buildlink3.mk Wed Nov 6 13:35:18 2019
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/11/06 13:35:18 ng0 Exp $
+
+BUILDLINK_TREE+= go-mux
+
+.if !defined(GO_MUX_BUILDLINK3_MK)
+GO_MUX_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-mux= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-mux?= build
+
+BUILDLINK_API_DEPENDS.go-mux+= go-mux>=1.7.2
+BUILDLINK_PKGSRCDIR.go-mux?= ../../www/go-mux
+.endif # GO_MUX_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-mux
Index: pkgsrc/www/go-mux/distinfo
diff -u /dev/null pkgsrc/www/go-mux/distinfo:1.1
--- /dev/null Wed Nov 6 13:35:18 2019
+++ pkgsrc/www/go-mux/distinfo Wed Nov 6 13:35:18 2019
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/11/06 13:35:18 ng0 Exp $
+
+SHA1 (go-mux-1.7.3.tar.gz) = 091a8abbfc04574a3bba25ae750c4ca726d66d70
+RMD160 (go-mux-1.7.3.tar.gz) = 81e9243712a1bca9ea7e9c078748f66f87832bf5
+SHA512 (go-mux-1.7.3.tar.gz) = 90e3da0f680ea0cf8d771cae9cbb5e35867f0e0a08f9ab7d22048b19851b57f1353f435abff7ea1db3c190081e363092e93cd6a57c2a64b6531458c2f6054365
+Size (go-mux-1.7.3.tar.gz) = 42495 bytes
Home |
Main Index |
Thread Index |
Old Index