summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgustavo panizzo <gfa@zumbi.com.ar>2018-03-11 10:22:53 +0000
committergustavo panizzo <gfa@zumbi.com.ar>2018-03-11 10:33:38 +0000
commit98a299fe4f827268b97ea6758ac642702f58d01b (patch)
tree643c78f0374e342c2268f94d231befb2472bb0f1
parent6e05aee30e348ae2fd13ce8bfaa10f4f7d45d66f (diff)
Initial Debian packaging
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control17
-rw-r--r--debian/copyright32
-rw-r--r--debian/gbp.conf6
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/source/format1
7 files changed, 66 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5664580
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+uhubctl (2.0.0-1) UNRELEASED; urgency=medium
+
+ * Initial release. (Closes: #892424)
+
+ -- gustavo panizzo <gfa@zumbi.com.ar> Sun, 11 Mar 2018 10:04:02 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2b1c7a5
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: uhubctl
+Section: electronics
+Priority: optional
+Maintainer: gustavo panizzo <gfa@zumbi.com.ar>
+Build-Depends: debhelper (>= 10.0.0), libusb-1.0-0-dev
+Standards-Version: 4.1.3
+Homepage: https://github.com/mvp/uhubctl
+
+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/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..73566a6
--- /dev/null
+++ b/debian/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/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..f3a2d52
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,6 @@
+[DEFAULT]
+upstream-branch = master
+debian-branch = debian/unstable
+upstream-tag = v%(version)s
+compression = gz
+pristine-tar = True
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2d33f6a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)