Skip to content
Snippets Groups Projects
Commit e5901c6d authored by ale's avatar ale
Browse files

Add Debian package

parent 2e3a22a5
No related branches found
No related tags found
No related merge requests found
include: "https://git.autistici.org/ai3/build-container/raw/master/common.yml" include: "https://git.autistici.org/ai3/build-container/raw/master/common.yml"
include: "https://git.autistici.org/ai3/build-deb/raw/master/ci-nextstable.yml"
stages: stages:
- test - test
- build - build_pkgsrc
- release - build_pkg
- upload_pkg
test: test:
stage: test stage: test
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/golang:1.16 image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/golang:1.16
script: script:
- go test -v ./... - go test -v ./...
build:
stage: build_pkg
release:
stage: upload_pkg
iprep (0.1) unstable; urgency=medium
* Initial Release.
-- Autistici/Inventati <debian@autistici.org> Sat, 17 Apr 2021 16:56:36 +0000
10
Source: iprep
Section: admin
Priority: optional
Maintainer: Autistici/Inventati <debian@autistici.org>
Build-Depends: debhelper (>=9), golang-any (>=1.11), dh-golang
Standards-Version: 3.9.6
XS-Go-Import-Path: git.autistici.org/ai3/tools/iprep
Package: iprep
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: IP reputation database.
Includes client and server components.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: iprep
Source: <https://git.autistici.org/ai3/tools/iprep>
Files: *
Copyright: 2020 Autistici/Inventati <info@autistici.org>
License: GPL-3.0+
License: GPL-3.0+
This program 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 3 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 <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
#!/usr/bin/make -f
export DH_GOLANG_EXCLUDES = vendor
%:
dh $@ --with systemd --with golang --buildsystem golang
override_dh_auto_install:
dh_auto_install -- --no-source
3.0 (native)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment