Compare commits

...

12 Commits
main ... debian

Author SHA1 Message Date
Jan Dittberner 68e34c2781 releasing package cacert-boardvoting version 0.6.0-2 5 years ago
Jan Dittberner c066c84ff7 exclude cacert-boardvoting from dh_dwz 5 years ago
Jan Dittberner f6770602ef fix maintainer-script-should-not-use-recursive-chown-or-chmod 5 years ago
Jan Dittberner dd196e0cb7 use /usr/share/dpkg/pkg-info.mk 5 years ago
Jan Dittberner 5652bad40e update for Debian buster
* update for Debian buster
* update to debhelper 12
5 years ago
Jan Dittberner 80eeb22f04 Add missing license reference 5 years ago
Jan Dittberner 4963eac036 releasing package cacert-boardvoting version 0.6.0-1 5 years ago
Jan Dittberner 82029e284d New upstream version 5 years ago
Jan Dittberner f688e42178 Release 0.6.0
- improved web interface
 - removed .htaccess from PHP version
 - better documentation
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEKHuXKkUYdvdO9493DXkdyNc3wdkFAl1FRqMACgkQDXkdyNc3
 wdk67AgA5G+Uv776xleDsV+VdWb7wGYoM6NSICzVgca3HBUxSBqeRfGq7pSrWLnv
 QMOuG/p4X1rt0pjJe7e2I2aSeU6SDOoyiY3dZm193MknwgGLihHDj5SwHBdGlUCZ
 MARtnyNNt91YJbaP7UOfCOSjzWBjInBbwbN+zgxiRo1UBnprqrLzjKo77WOpcPJF
 KgOw+nrTJs/ON9/RRDMOXpzwuPSrQXNwdTVToEf3BWoD/GqbLGlkZ5GOzGha5BkY
 zuG8YkR7Sk/0ixitNm+lPB5gwagEx2TBtOZbpzDxZpV+IcdI5Tp7c/1QncbyTpt2
 X9SBdsi3XnXfdixxHwdTvThTX5tblw==
 =tF0N
 -----END PGP SIGNATURE-----

Merge tag '0.6.0' into debian

Release 0.6.0

- improved web interface
- removed .htaccess from PHP version
- better documentation

* tag '0.6.0':
  Refine HTML layout
  Add icon images
  Improve documentation
  Remove .htaccess from PHP age
5 years ago
Jan Dittberner adeb998c33 releasing package cacert-boardvoting version 0.5.0-1 5 years ago
Jan Dittberner ca091d064d Remove Jenkinsfile from debian branch
This commit removes the Jenkinsfile from the debian branch to avoid
building code from this branch.
5 years ago
Jan Dittberner 9f9854c729 Initial debian packaging 5 years ago

44
Jenkinsfile vendored

@ -1,44 +0,0 @@
#!groovy
/*
Copyright 2017-2019 Jan Dittberner
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this program except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
pipeline {
agent any
environment {
GOPATH = "${pwd(tmp: true)}/gocode"
PATH = "${GOPATH}/bin:${PATH}"
}
stages {
stage('Install go-bindata') {
steps {
sh "mkdir -p '${GOPATH}/bin'"
sh "cd '${GOPATH}/bin'"
sh "go get -u -v github.com/shuLhan/go-bindata/cmd/go-bindata"
}
}
stage('Build') {
steps {
sh "make distclean && make BUILD='${env.BUILD_TAG}'"
}
}
stage('Create build output') {
steps {
archiveArtifacts artifacts: 'cacert-boardvoting,config.yaml.example'
}
}
}
}

@ -0,0 +1 @@
/srv/cacert-boardvoting

@ -0,0 +1 @@
README.md

@ -0,0 +1 @@
config.yaml.example

@ -0,0 +1 @@
cacert-boardvoting /srv/cacert-boardvoting

@ -0,0 +1,31 @@
#!/bin/sh
#
# postinst script for cacert-boardvoting
#
# see: dh_installdeb(1)
set -e
case "$1" in
configure)
adduser --system --quiet --home /srv/cacert-boardvoting cacert-boardvoting
DATADIR=/srv/cacert-boardvoting/data
if [ -d "${DATADIR}" ]; then
chown cacert-boardvoting "${DATADIR}"
else
install -d --owner cacert-boardvoting --mode 0700 "${DATADIR}"
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
#DEBHELPER#
exit 0

@ -0,0 +1,12 @@
[Unit]
Description=CAcert board voting software
Documentation=file:/usr/share/doc/cacert-boardvoting/README.md.gz
After=network.target
ConditionPathExists=/srv/cacert-boardvoting/config.yaml
[Service]
ExecStart=/srv/cacert-boardvoting/cacert-boardvoting -config /srv/cacert-boardvoting/config.yaml
User=cacert-boardvoting
[Install]
WantedBy=multi-user.target

22
debian/changelog vendored

@ -0,0 +1,22 @@
cacert-boardvoting (0.6.0-2) buster-cacert; urgency=medium
* Add missing license reference
* update for Debian buster
* update to debhelper 12
* use /usr/share/dpkg/pkg-info.mk
* fix maintainer-script-should-not-use-recursive-chown-or-chmod
* exclude cacert-boardvoting from dh_dwz
-- Jan Dittberner <jandd@cacert.org> Tue, 13 Aug 2019 12:59:34 +0200
cacert-boardvoting (0.6.0-1) stretch-cacert; urgency=medium
* New upstream version
-- Jan Dittberner <jandd@cacert.org> Sat, 03 Aug 2019 10:49:17 +0200
cacert-boardvoting (0.5.0-1) stretch-cacert; urgency=medium
* Initial debian package
-- Jan Dittberner <jandd@debian.org> Fri, 02 Aug 2019 13:51:48 +0200

22
debian/control vendored

@ -0,0 +1,22 @@
Source: cacert-boardvoting
Section: misc
Priority: optional
Maintainer: Jan Dittberner <jandd@cacert.org>
Build-Depends: ca-certificates,
debhelper (>= 12),
debhelper-compat (=12),
git,
golang-go (>= 2:1.11~1~),
libsqlite3-0
Standards-Version: 4.3.0
Homepage: https://git.cacert.org/gitweb/?p=cacert-boardvoting.git
Vcs-Browser: https://git.cacert.org/gitweb/?p=cacert-boardvoting.git
Vcs-Git: git://git.cacert.org/cacert-boardvoting.git -b debian
Package: cacert-boardvoting
Architecture: amd64
Depends: adduser, libsqlite3-0, ${misc:Depends}, ${shlibs:Depends}
Recommends: sqlite3
Description: CAcert board voting software
software that provides a web based tool for voting on motions to CAcert
commitee members and allows viewing of votes to other CAcert members.

22
debian/copyright vendored

@ -0,0 +1,22 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: CAcert board voting software
Upstream-Contact: Jan Dittberner <jandd@cacert.org>
Source: https://git.cacert.org/gitweb/?p=cacert-boardvoting.git
Files: *
Copyright: 2017-2019 Jan Dittberner
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this program except in compliance with the License.
You may obtain a copy of the License at
.
http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian systems, the full text of the Apache License, Version 2.0 can be
found in the file `/usr/share/common-licenses/Apache-2.0`

5
debian/gbp.conf vendored

@ -0,0 +1,5 @@
[DEFAULT]
upstream-branch = master
debian-branch = debian
upstream-tag = %(version)s
pristine-tar = False

18
debian/rules vendored

@ -0,0 +1,18 @@
#!/usr/bin/make -f
DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/pkg-info.mk
%:
dh $@
override_dh_auto_build:
GOCACHE=$(CURDIR)/tmp/.cache \
GOPATH=$(CURDIR)/tmp/gocode \
go get -u -v github.com/shulhan/go-bindata/cmd/go-bindata ; \
PATH=$(CURDIR)/tmp/gocode/bin:$(PATH) $(MAKE) GOCACHE=$(CURDIR)/tmp/.cache GOPATH=$(CURDIR)/tmp/gocode VERSION=$(DEB_VERSION)
override_dh_dwz:
dh_dwz -X cacert-boardvoting

@ -0,0 +1 @@
3.0 (quilt)
Loading…
Cancel
Save