summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Wise <pabs@debian.org>2019-08-08 08:56:30 +0200
committerPaul Wise <pabs@debian.org>2019-08-08 08:56:30 +0200
commit2a4e4242c0f41f87b2de2a3ad1146785033db88f (patch)
tree465810b8488b0a6399c02503b3a904912ed127e5
Import uhubctl_2.0.0-5.1.debian.tar.xz
[dgit import tarball uhubctl 2.0.0-5.1 uhubctl_2.0.0-5.1.debian.tar.xz]
-rw-r--r--README.source9
-rw-r--r--changelog48
-rw-r--r--compat1
-rw-r--r--control19
-rw-r--r--copyright32
-rw-r--r--gbp.conf6
-rw-r--r--patches/debian-ways26
-rw-r--r--patches/series1
-rwxr-xr-xrules4
-rw-r--r--source/format1
-rw-r--r--tests/control3
-rw-r--r--uhubctl.docs1
-rw-r--r--watch3
13 files changed, 154 insertions, 0 deletions
diff --git a/README.source b/README.source
new file mode 100644
index 0000000..0786773
--- /dev/null
+++ b/README.source
@@ -0,0 +1,9 @@
+uhubctl for Debian
+------------------
+
+Since the release 2.0.0-2 I started to experiment using dgit and git debrebase
+to maintain the packaging repository.
+
+Apologies for the empty uploads to experimental.
+
+ -- gustavo panizzo <gfa@zumbi.com.ar> Mon, 24 Sep 2018 17:40:45 +0800
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..fa1ff51
--- /dev/null
+++ b/changelog
@@ -0,0 +1,48 @@
+uhubctl (2.0.0-5.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Use full path to uhubctl binary in tests (Closes: #925913)
+ * Mark the uhubctl -v test as superficial
+ * Switch from redirecting stderr in script to Test-Command and allow-stderr
+ * Use long option --version instead of -v in test
+
+ -- Paul Wise <pabs@debian.org> Thu, 08 Aug 2019 14:56:30 +0800
+
+uhubctl (2.0.0-5) unstable; urgency=medium
+
+ * Upload to unstable.
+
+ -- gustavo panizzo <gfa@zumbi.com.ar> Wed, 10 Apr 2019 16:30:47 +0800
+
+uhubctl (2.0.0-4) experimental; urgency=medium
+
+ [ Ondřej Nový ]
+ * d/control: Add Vcs-* field
+
+ [ gustavo panizzo ]
+ * [fc94ec] Fix autopkgtest
+
+ -- gustavo panizzo <gfa@zumbi.com.ar> Wed, 03 Apr 2019 09:34:35 +0800
+
+uhubctl (2.0.0-3) unstable; urgency=medium
+
+ * [f88227] Fix autopkgtests
+ * [d0629f] New Debian release
+ * [883a47] Increasing the compat level to 11
+ * [593eba] Bump standards version, no changes were needed
+ * [df250c] Change gbp Debian's branch to sid
+ * [f37bd9] Document how the packaging is managed in README.source
+
+ -- gustavo panizzo <gfa@zumbi.com.ar> Mon, 24 Sep 2018 17:25:02 +0800
+
+uhubctl (2.0.0-2) experimental; urgency=medium
+
+ * Noop Debian release
+
+ -- gustavo panizzo <gfa@zumbi.com.ar> Tue, 31 Jul 2018 10:30:00 +0800
+
+uhubctl (2.0.0-1) unstable; urgency=medium
+
+ * Initial release. (Closes: #892424)
+
+ -- gustavo panizzo <gfa@zumbi.com.ar> Sun, 11 Mar 2018 14:34:43 +0000
diff --git a/compat b/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+11
diff --git a/control b/control
new file mode 100644
index 0000000..5bd31a0
--- /dev/null
+++ b/control
@@ -0,0 +1,19 @@
+Source: uhubctl
+Section: electronics
+Priority: optional
+Maintainer: gustavo panizzo <gfa@zumbi.com.ar>
+Build-Depends: debhelper (>= 11.0.0), libusb-1.0-0-dev, autopkgtest
+Standards-Version: 4.2.1
+Homepage: https://github.com/mvp/uhubctl
+Vcs-Browser: https://salsa.debian.org/debian/uhubctl
+Vcs-Git: https://salsa.debian.org/debian/uhubctl.git
+
+Package: uhubctl
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: USB hub per-port power control
+ Utility to control USB power per-port on smart USB hubs.
+ Smart hub is defined as one that implements per-port power switching.
+ .
+ Original idea for this code was inspired by hub-ctrl.c by Niibe Yutaka:
+ http://www.gniibe.org/development/ac-power-control-by-USB-hub
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..73566a6
--- /dev/null
+++ b/copyright
@@ -0,0 +1,32 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: uhubctl
+Source: <https://github.com/mvp/uhubctl>
+
+Files: *
+Copyright: <2015-2018> Vadim Mikhailov <vadim.mikhailov@gmail.com>
+License: GPL-2
+
+License: GPL-2
+ uhubctl – USB hub per-port power control.
+ .
+ Copyright (c) 2009-2018, Vadim Mikhailov
+ .
+ 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, version 2.
+ .
+ This program 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, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+Files: debian/*
+Copyright: <2018> gustavo panizzo <gfa@zumbi.com.ar>
+License: GPL-2
diff --git a/gbp.conf b/gbp.conf
new file mode 100644
index 0000000..f1de2b8
--- /dev/null
+++ b/gbp.conf
@@ -0,0 +1,6 @@
+[DEFAULT]
+upstream-branch = master
+debian-branch = sid
+upstream-tag = v%(version)s
+compression = gz
+pristine-tar = True
diff --git a/patches/debian-ways b/patches/debian-ways
new file mode 100644
index 0000000..a21ad54
--- /dev/null
+++ b/patches/debian-ways
@@ -0,0 +1,26 @@
+From: gustavo panizzo <gfa@zumbi.com.ar>
+Date: Tue, 31 Jul 2018 10:28:52 +0800
+X-Dgit-Generated: 2.0.0-2 682ca592dbb14cb380d782be642634fea5a0e978
+Subject: debian-ways
+
+
+---
+
+--- uhubctl-2.0.0.orig/Makefile
++++ uhubctl-2.0.0/Makefile
+@@ -15,7 +15,14 @@ CC ?= gcc
+ CFLAGS ?= -g -O0
+ CFLAGS += -Wall -Wextra -std=c99 -pedantic
+ GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always --tags)
+-CFLAGS += -DPROGRAM_VERSION=\"$(GIT_VERSION)\"
++
++# Gets the full version of the source package including debian version
++DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
++DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-)
++# # Gets only the upstream version of the package
++DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
++
++CFLAGS += -DPROGRAM_VERSION=\"$(DEB_UPSTREAM_VERSION)\"
+
+ ifeq ($(UNAME_S),Linux)
+ LDFLAGS += -Wl,-z,relro -lusb-1.0
diff --git a/patches/series b/patches/series
new file mode 100644
index 0000000..b2e9488
--- /dev/null
+++ b/patches/series
@@ -0,0 +1 @@
+debian-ways
diff --git a/rules b/rules
new file mode 100755
index 0000000..2d33f6a
--- /dev/null
+++ b/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
diff --git a/source/format b/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/tests/control b/tests/control
new file mode 100644
index 0000000..6558662
--- /dev/null
+++ b/tests/control
@@ -0,0 +1,3 @@
+Test-Command: /usr/sbin/uhubctl --version
+Restrictions: superficial allow-stderr
+Depends: @
diff --git a/uhubctl.docs b/uhubctl.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/uhubctl.docs
@@ -0,0 +1 @@
+README.md
diff --git a/watch b/watch
new file mode 100644
index 0000000..11ee23f
--- /dev/null
+++ b/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/uhubctl-$1\.tar\.gz/ \
+ https://github.com/mvp/uhubctl/releases .*/v?(\d\S*)\.tar\.gz