diff options
author | gustavo panizzo <gfa@zumbi.com.ar> | 2021-04-05 16:33:37 +0200 |
---|---|---|
committer | gustavo panizzo <gfa@zumbi.com.ar> | 2021-04-05 16:33:37 +0200 |
commit | d1eee3e1e1e3888b0ded1be9dda4f8bfa6996f61 (patch) | |
tree | f84e4ca4b24329bdebc6e4804d563d7eea8add75 |
Import uhubctl_2.4.0-1.debian.tar.xz
[dgit import tarball uhubctl 2.4.0-1 uhubctl_2.4.0-1.debian.tar.xz]
-rw-r--r-- | README.source | 16 | ||||
-rw-r--r-- | changelog | 91 | ||||
-rw-r--r-- | control | 20 | ||||
-rw-r--r-- | copyright | 32 | ||||
-rw-r--r-- | footer.man | 5 | ||||
-rw-r--r-- | patches/debian-changes | 33 | ||||
-rw-r--r-- | patches/series | 1 | ||||
-rwxr-xr-x | rules | 8 | ||||
-rw-r--r-- | source/format | 1 | ||||
-rw-r--r-- | source/options | 2 | ||||
-rw-r--r-- | source/patch-header | 12 | ||||
-rw-r--r-- | tests/control | 3 | ||||
-rw-r--r-- | uhubctl.docs | 1 | ||||
-rw-r--r-- | upstream/metadata | 7 | ||||
-rw-r--r-- | watch | 3 |
15 files changed, 235 insertions, 0 deletions
diff --git a/README.source b/README.source new file mode 100644 index 0000000..2d21f00 --- /dev/null +++ b/README.source @@ -0,0 +1,16 @@ +uhubctl for Debian +------------------ + +On the release 2.2.0-1 I've switched from dgit and git debrebase to the workflow +proposed in dgit-maint-merge(7) + +The integration branch is now master instead of sid. + + -- gustavo panizzo <gfa@zumbi.com.ar> Sun, 24 May 2022 21:40:45 +0000 + +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..db41eae --- /dev/null +++ b/changelog @@ -0,0 +1,91 @@ +uhubctl (2.4.0-1) experimental; urgency=medium + + * New upstream release. + + -- gustavo panizzo <gfa@zumbi.com.ar> Mon, 05 Apr 2021 14:33:37 +0000 + +uhubctl (2.3.0-1) unstable; urgency=medium + + [ gustavo panizzo ] + * New upstream release + * [30ee12] Standards version 4.5.1 (no changes) + * [579aa3] Use a version 4 of the watch file + * [7239e9] Set Rules-Requires-Requires no + * [d28e61] Refresh patches + + -- gustavo panizzo <gfa@zumbi.com.ar> Tue, 15 Dec 2020 20:46:37 +0000 + +uhubctl (2.2.0-1) unstable; urgency=medium + + * New upstream release. + * [4ef936] Commit Debian 3.0 (quilt) metadata + * [4fc164] Standards version 4.5.0 (no changes) + * [2a3c64] Use debhelper 13 + * [5b85ad] Add a patch-header for the automatic quilt patches + * [d8728d] Removed applied patches to the source code + * [ad933e] Use the workflow documented in dgit-maint-merge(7), + update d/README.source to reflect that + * [c30bf0] Add recommended options to d/source/options from + dgit-maint-merge(7) + * [44d9d7] Remove d/gbp.conf + + -- gustavo panizzo <gfa@zumbi.com.ar> Tue, 02 Jun 2020 20:27:38 +0000 + +uhubctl (2.1.0-1) unstable; urgency=medium + + * Update to new upstream version 2.1.0. + * [b36e1d] Standards version 4.4.0 (no changes) + * [0f6c6d] Use debhelper 12 + * [602741] Add a DEP12 upstream metadata file + * [554819] Automatically generate the manpage from uhubctl's help + + -- gustavo panizzo <gfa@zumbi.com.ar> Sun, 08 Sep 2019 01:44:31 +0200 + +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 @@ -0,0 +1,20 @@ +Source: uhubctl +Section: electronics +Priority: optional +Maintainer: gustavo panizzo <gfa@zumbi.com.ar> +Build-Depends: debhelper-compat (= 13), libusb-1.0-0-dev, autopkgtest, help2man +Standards-Version: 4.5.1 +Homepage: https://github.com/mvp/uhubctl +Vcs-Browser: https://salsa.debian.org/debian/uhubctl +Vcs-Git: https://salsa.debian.org/debian/uhubctl.git +Rules-Requires-Root: no + +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/footer.man b/footer.man new file mode 100644 index 0000000..fd9a095 --- /dev/null +++ b/footer.man @@ -0,0 +1,5 @@ +[see also] + +This manual page was automatically created at build time with help2man for the Debian project. +.br +Please report any bugs in it to the Debian BTS: \fIhttps://bugs.debian.org\fR diff --git a/patches/debian-changes b/patches/debian-changes new file mode 100644 index 0000000..6bb409f --- /dev/null +++ b/patches/debian-changes @@ -0,0 +1,33 @@ +The Debian packaging of uhubctl is maintained in git, using the merging workflow described in dgit-maint-merge(7). There isn't a patch queue that can be represented as a quilt series. + +A detailed breakdown of the changes is available from their canonical representation - git commits in the packaging repository. For example, to see the changes made by the Debian maintainer in +the first upload of upstream version 1.2.3, you could use: + +% git clone https://git.dgit.debian.org/uhubctl +% cd uhubctl +% git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian' + +(If you have dgit, use `dgit clone uhubctl`, rather than plain `git clone`.) + +A single combined diff, containing all the changes, follows. +--- uhubctl-2.4.0.orig/Makefile ++++ uhubctl-2.4.0/Makefile +@@ -15,11 +15,17 @@ PKG_CONFIG ?= pkg-config + CC ?= gcc + CFLAGS ?= -g -O0 + CFLAGS += -Wall -Wextra -std=c99 -pedantic ++# 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_VERSION)\" + GIT_VERSION := $(shell git describe --match "v[0-9]*" --abbrev=8 --dirty --tags | cut -c2-) + ifeq ($(GIT_VERSION),) + GIT_VERSION := $(shell cat VERSION) + endif +-CFLAGS += -DPROGRAM_VERSION=\"$(GIT_VERSION)\" + + # Use hardening options on Linux + ifeq ($(UNAME_S),Linux) diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..7bb8252 --- /dev/null +++ b/patches/series @@ -0,0 +1 @@ +debian-changes @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_installman: + help2man -n uhubctl -s 8 -N -i debian/footer.man ./uhubctl | sed -r 's#(\\fB.*)$$#\1\n.br#g' > uhubctl.8 + dh_installman uhubctl.8 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/source/options b/source/options new file mode 100644 index 0000000..ce071fb --- /dev/null +++ b/source/options @@ -0,0 +1,2 @@ +single-debian-patch +auto-commit diff --git a/source/patch-header b/source/patch-header new file mode 100644 index 0000000..2f7f410 --- /dev/null +++ b/source/patch-header @@ -0,0 +1,12 @@ +The Debian packaging of uhubctl is maintained in git, using the merging workflow described in dgit-maint-merge(7). There isn't a patch queue that can be represented as a quilt series. + +A detailed breakdown of the changes is available from their canonical representation - git commits in the packaging repository. For example, to see the changes made by the Debian maintainer in +the first upload of upstream version 1.2.3, you could use: + +% git clone https://git.dgit.debian.org/uhubctl +% cd uhubctl +% git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian' + +(If you have dgit, use `dgit clone uhubctl`, rather than plain `git clone`.) + +A single combined diff, containing all the changes, follows. 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/upstream/metadata b/upstream/metadata new file mode 100644 index 0000000..a568f57 --- /dev/null +++ b/upstream/metadata @@ -0,0 +1,7 @@ +Bug-Database: https://github.com/mvp/uhubctl/issues +Bug-Submit: https://github.com/mvp/uhubctl/issues/new +Changelog: https://github.com/mvp/uhubctl/commits/master +Contact: https://github.com/mvp +Name: uhubctl +Repository: https://github.com/mvp/uhubctl.git +Repository-Browse: https://github.com/mvp/uhubctl @@ -0,0 +1,3 @@ +version=4 +opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/uhubctl-$1\.tar\.gz/ \ + https://github.com/mvp/uhubctl/releases .*/v?(\d\S+)\.tar\.gz |