Commit a3f6a5b2 authored by ale's avatar ale
Browse files

Add Debian packaging metadata

parent f6a5b481
Pipeline #630 passed with stages
in 55 seconds
stages:
- build_src
- build_pkg
- upload
build:src:
stage: build_src
image: "ai/build:stretch"
script: "build-dsc"
artifacts:
paths:
- build-deb/
only:
- master
build:pkg:
stage: build_pkg
image: "ai/build:stretch"
script: "build-deb"
dependencies:
- build:src
artifacts:
paths:
- output-deb/
only:
- master
upload:pkg:
stage: upload
image: "ai/pkg:base"
script: "upload-packages -r stretch-ai"
dependencies:
- build:pkg
only:
- master
apache-exporter (0.5.0) unstable; urgency=medium
* Initial Release.
-- Autistici/Inventati <debian@autistici.org> Wed, 29 Nov 2017 22:37:11 +0000
Source: apache-exporter
Section: admin
Priority: optional
Maintainer: Autistici/Inventati <debian@autistici.org>
Build-Depends: debhelper (>=9), golang-go, dh-golang
Standards-Version: 3.9.6
Package: apache-exporter
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Apache2 Prometheus exporter.
Exports Prometheus metrics from an Apache2 instance.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: apache_exporter
Source: <https://github.com/Lusitaniae/apache_exporter>
Files: debian/*
Copyright: 2017 Autistici/Inventati <info@autistici.org>
License: MIT
Files: *
Copyright: 2015 neezgee
License: MIT
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
#!/usr/bin/make -f
export DH_GOPKG = github.com/Lusitaniae/apache_exporter
export DH_GOLANG_EXCLUDES = vendor
%:
dh $@ --with golang --buildsystem golang
override_dh_install:
rm -fr $(CURDIR)/debian/tmp/usr/share/gocode
dh_install
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment