debian/0000755000000000000000000000000012632365113007170 5ustar debian/changelog0000644000000000000000000000120612632361564011047 0ustar golang-dbus (2-1ubuntu1) xenial; urgency=medium * Enable the go testsuite as autopkgtest. -- Stéphane Graber Thu, 10 Dec 2015 15:41:09 -0500 golang-dbus (2-1) unstable; urgency=low * Upload to unstable -- Tianon Gravi Fri, 01 May 2015 19:05:21 -0600 golang-dbus (2-1~exp1) experimental; urgency=low * Upstream bump to v2 * Bump Standards-Version to 3.9.6 -- Tianon Gravi Sat, 31 Jan 2015 22:19:32 -0700 golang-dbus (1-1) unstable; urgency=low * Initial release (Closes: #744983). -- Tianon Gravi Tue, 22 Apr 2014 23:04:32 -0400 debian/gbp.conf0000644000000000000000000000031512463330420010601 0ustar [DEFAULT] cleaner = fakeroot debian/rules clean pristine-tar = False [git-buildpackage] export-dir = ../build-area/ tarball-dir = ../tarballs/ [git-dch] id-length = 7 meta = True auto = True full = True debian/compat0000644000000000000000000000000212463330420010361 0ustar 9 debian/Dockerfile0000644000000000000000000000134712463330420011162 0ustar FROM tianon/debian-devel # start by adding just "debian/control" so we can get mk-build-deps with maximum caching ADD control /usr/src/golang-dbus/debian/ WORKDIR /usr/src/golang-dbus # get all the build deps of _this_ package in a nice repeatable way RUN apt-get update && mk-build-deps -irt'apt-get --no-install-recommends -yq' debian/control # need our debian/ directory to compile _this_ package ADD . /usr/src/golang-dbus/debian # go download and unpack our upstream source RUN uscan --force-download --verbose --download-current-version RUN origtargz --unpack # tianon is _really_ lazy, and likes a preseeded bash history RUN echo 'origtargz --unpack && dpkg-buildpackage -us -uc && lintian -EvIL+pedantic' >> "$HOME/.bash_history" debian/source/0000755000000000000000000000000012463330420010463 5ustar debian/source/format0000644000000000000000000000001412463330420011671 0ustar 3.0 (quilt) debian/helpers/0000755000000000000000000000000012463330420010625 5ustar debian/helpers/setup-upstream-remote.sh0000755000000000000000000000024012463330420015447 0ustar #!/bin/bash set -e upstream='https://github.com/godbus/dbus.git' if ! git remote | grep -q upstream; then ( set -x; git remote add upstream "$upstream" ) fi debian/helpers/tag-upstream-version.sh0000755000000000000000000000157612463330420015271 0ustar #!/bin/bash set -e version="$1" dir="$(dirname "$(readlink -f "$BASH_SOURCE")")" "$dir/setup-upstream-remote.sh" debian="$(readlink -f "$(dirname "$BASH_SOURCE")/..")" packageLine="$(head -n1 "$debian/changelog")" packageDebianVersion="$(echo "$packageLine" | cut -d'(' -f2 | cut -d')' -f1)" packageVersion="${packageDebianVersion%-*}" # strip off the "debian version" suffix (-1, -2, -3, etc) if [ -z "$version" ]; then echo >&2 "version not specified, using '$packageVersion' from d/changelog" version="$packageVersion" fi git fetch -qn upstream "+refs/tags/v$version:refs/tags/upstream/$version" echo echo "local tag 'upstream/$version' updated" echo echo 'use the following to push it:' echo echo " git push -f origin upstream/$version:upstream/$version" echo echo 'if this upstream version has not been merged into master yet, use:' echo echo " git merge upstream/$version" echo debian/helpers/update-upstream-branch.sh0000755000000000000000000000053012463330420015535 0ustar #!/bin/bash set -e dir="$(dirname "$(readlink -f "$BASH_SOURCE")")" "$dir/setup-upstream-remote.sh" ( set -x; git fetch -q upstream master ) ( set -x; git update-ref refs/heads/upstream FETCH_HEAD ) echo echo 'local "upstream" branch updated' echo echo 'use the following to push it:' echo echo ' git push -f origin upstream:upstream' echo debian/README.Source0000644000000000000000000000043612463330420011305 0ustar This package was debianized as part of the Docker in Debian work. It's been packaged in line with the policy that paultag set, so any questions or concerns about this (or other packages like it) can be sent to him. If there's an issue, of course, please feel free to fix the packaging. debian/watch0000644000000000000000000000021612463330420010213 0ustar version=3 opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/golang-dbus-$1\.tar\.gz/ \ https://github.com/godbus/dbus/tags .*/v?(\d\S*)\.tar\.gz debian/copyright0000644000000000000000000000307312463330420011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: godbus/dbus Source: https://github.com/godbus/dbus Files: * Copyright: 2013 Georg Reinke License: BSD-2-clause Files: debian/* Copyright: 2014 Tianon Gravi License: BSD-2-clause License: BSD-2-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/control0000644000000000000000000000151512632361571010601 0ustar Source: golang-dbus Section: devel Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Tianon Gravi Uploaders: Docker Packaging Team Build-Depends: dbus-x11, debhelper (>= 9), dh-golang, golang-go Standards-Version: 3.9.6 Homepage: https://github.com/godbus/dbus Vcs-Git: git://anonscm.debian.org/pkg-go/packages/golang-dbus.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-go/packages/golang-dbus.git Package: golang-dbus-dev Architecture: all Depends: ${misc:Depends}, ${shlibs:Depends} Built-Using: ${misc:Built-Using} Description: Go client bindings for D-Bus Package "dbus" is a simple library that implements native Go client bindings for the D-Bus message bus system. . This package contains the source. debian/tests/0000755000000000000000000000000012632364212010331 5ustar debian/tests/control0000644000000000000000000000015012632362115011730 0ustar Tests: exercise Depends: dbus-x11, golang-go, @ Restrictions: needs-root allow-stderr debian/tests/exercise0000755000000000000000000000007612632364212012071 0ustar #!/bin/sh export GOPATH=/usr/share/gocode/ exec go test ./... debian/rules0000755000000000000000000000056112632365113010252 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DH_GOPKG := github.com/godbus/dbus override_dh_auto_test: # upstream's tests require that dbus be running (surprise, surprise) [ ! -S /var/run/dbus/system_bus_socket ] || \ dh_auto_test -O--buildsystem=golang %: dh $@ --buildsystem=golang --with=golang