Commit fb98e78e authored by Johannes Schilling's avatar Johannes Schilling
Browse files

add debian packaging

parent 0621514d
/pcidentd /pcidentd
# debian packaging
debian/debhelper-build-stamp
debian/files
debian/pcidentd.debhelper.log
debian/pcidentd.postinst.debhelper
debian/pcidentd.postrm.debhelper
debian/pcidentd.prerm.debhelper
debian/pcidentd.substvars
debian/pcidentd/
/obj-x86_64-linux-gnu/
pcidentd (1) unstable; urgency=medium
* Initial release.
-- Johannes Schilling <johannes.schilling@cs.fau.de> Wed, 01 Nov 2017 00:49:45 +0100
Source: pcidentd
Priority: optional
Maintainer: CIP-Admins <problems@cip.cs.fau.de>
Uploaders: Johannes Schilling <johannes.schilling@cs.fau.de>
Build-Depends: debhelper (>= 9),
dh-systemd,
dh-golang,
golang-go,
Standards-Version: 3.9.8
Section: net
Homepage: https://gitlab.cs.fau.de/icipguru/pcidentd
Package: pcidentd
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
Description: privacy conserving identd
#!/bin/sh
set -eu
if test "$1" = "configure"; then
if ! getent passwd pcidentd >/dev/null; then
adduser --quiet --system --group --no-create-home --home /nonexistent pcidentd
fi
fi
#DEBHELPER#
exit 0
#!/bin/sh
set -eu
#DEBHELPER#
if test "$1" = "purge"; then
deluser --quiet --system pcidentd
fi
exit 0
[Unit]
Description=Privacy Conserving Identd
Wants=network.target
[Service]
Type=simple
ExecStart=/usr/bin/pcidentd
User=pcidentd
[Install]
WantedBy=multi-user.target
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export GOPATH := /usr/share/gocode
export DH_GOPKG := gitlab.cs.fau.de/icipguru/pcidentd
%:
dh $@ --buildsystem=golang --with golang
override_dh_systemd_start:
dh_systemd_start --no-start
Supports Markdown
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