Skip to content
Snippets Groups Projects
Verified Commit ea286147 authored by Jan Mojžíš's avatar Jan Mojžíš
Browse files

d/* add

parents
No related branches found
No related tags found
No related merge requests found
libnginx-mod-http-fancyindex (1:0.1-1) UNRELEASED; urgency=medium
* Initial release. (Closes: x)
-- Jan Mojžíš <jan.mojzis@gmail.com> Tue, 15 Nov 2022 15:18:36 +0100
Source: libnginx-mod-http-fancyindex
Section: httpd
Priority: optional
Maintainer: Debian Nginx Maintainers <pkg-nginx-maintainers@alioth-lists.debian.net>
Uploaders: Christos Trochalakis <ctrochalakis@debian.org>,
Ondřej Nový <onovy@debian.org>,
Thomas Ward <teward@ubuntu.com>,
Jan Mojžíš <jan.mojzis@gmail.com>,
Build-Depends: debhelper-compat (= 13),
nginx-dev (<<1.22.1.1~),
nginx-dev (>=1.22.1),
Standards-Version: 4.6.1
Homepage: https://github.com/aperezdc/ngx-fancyindex
Vcs-Git: https://salsa.debian.org/nginx-team/libnginx-mod-http-fancyindex.git
Vcs-Browser: https://salsa.debian.org/nginx-team/libnginx-mod-http-fancyindex
Rules-Requires-Root: no
Package: libnginx-mod-http-fancyindex
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends},
Suggests: nginx,
Description: Fancy indexes module for the Nginx
The Fancy Index module makes possible the generation of file listings, like
the built-in autoindex module does, but adding a touch of style by introducing
ways to customize the result.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: nginx-upload-progress-module
Upstream-Contact: Adrian Perez <aperez@igalia.com>
Source: https://github.com/aperezdc/ngx-fancyindex
Files: *
Copyright: Copyright © 2007-2016 Adrian Perez <aperez@igalia.com>
License: BSD-2-clause
Files: debian/*
Copyright: 2022, Jan Mojzis <jan.mojzis@gmail.com>
2022, Miao Wang <shankerwangmiao@gmail.com>
License: BSD-2-clause
License: BSD-2-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. 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.
.
THIS SOFTWARE IS PROVIDED BY AUTHOR 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 AUTHOR 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.
[DEFAULT]
debian-branch = master
upstream-branch = upstream
upstream-tag = upstream/%(version)s
pristine-tar = True
sign-tags = True
[import-orig]
merge-mode = replace
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with=nginx --buildsystem=nginx_mod
3.0 (quilt)
Tests: helloworld
Restrictions: allow-stderr isolation-container needs-root
Depends: curl,
nginx,
nginx-core,
@,
#!/bin/sh
set -e
cat <<EOF > "/etc/nginx/sites-enabled/default"
server {
listen 80 default_server;
location /helloworld {
return 200;
}
}
EOF
exp="response_code: 200"
nginx -t
invoke-rc.d nginx restart || { journalctl -n all -xu nginx.service; exit 1; }
out=`curl --fail -w "response_code: %{http_code}\n" http://127.0.0.1/helloworld`
if [ x"${out}" != x"${exp}" ]; then
echo "output:"
echo "====================="
echo "${out}"
echo "====================="
echo "expected output:"
echo "====================="
echo "${exp}"
echo "====================="
exit 1
fi
version=4
opts="\
filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/@PACKAGE@-$1\.tar\.gz/,\
uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
" https://github.com/aperezdc/ngx-fancyindex/tags .*/v?(\d\S+)\.tar\.gz
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment