Commit bb662ef1 authored by ale's avatar ale

Add Debian pkg and CI config

parent b634179f
Pipeline #435 passed with stages
in 54 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 common urepo@debian.incal.net"
dependencies:
- build:pkg
only:
- master
This diff is collapsed.
logviewer (0.1) unstable; urgency=medium
* Initial Release.
-- ale <ale@incal.net> Sat, 26 Aug 2017 16:34:26 +0100
Source: logviewer
Priority: optional
Maintainer: ale <ale@incal.net>
Build-Depends: debhelper (>=9), dh-systemd, dh-golang
Standards-Version: 3.9.6
Package: logviewer
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: logviewer
Source: <https://git.autistici.org/ale/logviewer>
Files: *
Copyright: 2017 <ale@incal.net>
License: GPL-3.0+
Files: debian/*
Copyright: 2017 ale <ale@incal.net>
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".
[Unit]
Description=Simple log viewer
[Service]
User=root
EnvironmentFile=-/etc/default/logviewer
ExecStart=/usr/bin/logviewer $DAEMON_ARGS
Restart=always
[Install]
WantedBy=multi-user.target
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
export DH_GOPKG = git.autistici.org/ale/logviewer
export DH_GOLANG_EXCLUDES = vendor
%:
dh $@ --with systemd --with golang --buildsystem golang
override_dh_install:
rm -fr $(CURDIR)/debian/logviewer/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