debian/0000755000000000000000000000000012170341260007162 5ustar debian/compat0000644000000000000000000000000212167603574010377 0ustar 8 debian/copyright0000644000000000000000000000505112167603574011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: mux Source: https://github.com/gorilla/mux Files: * Copyright: 2012 Rodrigo Moraes License: Expat Copyright (c) 2012 Rodrigo Moraes. All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2013 Daniel Mizyrycki 2012 Michael Stapelberg License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/docs0000644000000000000000000000001212167603574010045 0ustar README.md debian/golang-mux-dev.install0000644000000000000000000000002512167603574013420 0ustar usr/share/gocode/src debian/golang-mux-dev.lintian-overrides0000644000000000000000000000011012167603574015403 0ustar # There is no upstream changelog. golang-mux-dev: no-upstream-changelog debian/rules0000755000000000000000000000174612167603574010271 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 # GOPKG is the upstream path which you would normally “go get”. # Using it allows us to build applications without patching locations. GOPKG := github.com/gorilla/mux # Temporary working directory to which the source will be copied, then # compiled. TMPGOPATH = $(CURDIR)/debian/tmp/usr/share/gocode override_dh_auto_install: mkdir -p ${TMPGOPATH}/src/${GOPKG} # Copy all .go files to /usr/share/gocode (we compile and ship). find . -path ./debian -prune -o -type f -name "*.go" -exec tar cf - {} + | (cd "${TMPGOPATH}/src/${GOPKG}" && tar xvf -) %: dh $@ debian/source/0000755000000000000000000000000012167603574010501 5ustar debian/source/format0000644000000000000000000000001412167603574011707 0ustar 3.0 (quilt) debian/source/lintian-overrides0000644000000000000000000000040212167603574014056 0ustar # debian/watch is missing intentionally. There are no releases, new code goes # directly into the repository. In case gorilla/mux gets a new maintainer # who does it differently, debian/watch can be added. golang-mux-dev source: debian-watch-file-is-missing debian/README.Source0000644000000000000000000000032312170341260011277 0ustar git clone git://github.com/gorilla/mux golang-mux-dev (cd golang-mux-dev; git checkout e718e932ee606838744df844eb75064959eb74bc) tar czvf golang-mux-dev_0.0~git20130701.orig.tar.gz golang-mux-dev --exclude=.git debian/changelog0000644000000000000000000000026012170341260011032 0ustar golang-mux-dev (0.0~git20130701-1) unstable; urgency=low * Initial release (Closes: #714805) -- Daniel Mizyrycki Fri, 13 Jul 2013 11:19:06 -0700 debian/control0000644000000000000000000000274212170341260010572 0ustar Source: golang-mux-dev Section: devel Priority: extra Maintainer: Daniel Mizyrycki Build-Depends: debhelper (>= 9) Standards-Version: 3.9.4 Homepage: http://github.com/gorilla/mux Vcs-Git: git://anonscm.debian.org/collab-maint/golang-mux-dev.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/golang-mux-dev.git;a=summary Package: golang-mux-dev Architecture: all Depends: ${misc:Depends} Description: URL router and dispatcher gorilla/mux implements a request router and dispatcher. . 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: . * Requests can be matched based on URL host, path, path prefix, schemes, header and query values, HTTP methods or using custom matchers. * URL hosts and paths 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. * It implements the http.Handler interface so it is compatible with the standard http.ServeMux.