initial Debian commit

This commit is contained in:
Daniel Jared Dominguez 2015-06-03 01:28:48 -05:00
parent 9519149a87
commit 1f9ab1155b
16 changed files with 369 additions and 0 deletions

7
debian/README.Debian vendored Normal file
View File

@ -0,0 +1,7 @@
fwupd for Debian
----------------
fwupd is still heavily in development. As of this date, the functionality
it provides is not yet available on most systems.
-- Daniel Jared Dominguez <Jared_Dominguez@Dell.com> Wed, 20 May 2015 17:16:02 -0500

9
debian/README.source vendored Normal file
View File

@ -0,0 +1,9 @@
fwupd for Debian
----------------
To build from the git tree, run:
git-buildpackage -us -uc -S
Then, if using sbuild, you can use something like:
sbuild -s -c sid-amd64 -d unstable
-- Daniel Jared Dominguez <Jared_Dominguez@Dell.com> Thu, 21 May 2015 13:44:16 -0500

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
fwupd (0.1.3-1) unstable; urgency=low
* Initial release (Closes: #nnnn)
-- Daniel Jared Dominguez <Jared_Dominguez@Dell.com> Tue, 02 Jun 2015 23:43:28 -0500

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

36
debian/control vendored Normal file
View File

@ -0,0 +1,36 @@
Source: fwupd
Priority: optional
Maintainer: Daniel Jared Dominguez <Jared_Dominguez@Dell.com>
Uploaders: Steve McIntyre <93sam@debian.org>
Build-Depends: debhelper (>= 9.0.0), dh-autoreconf, pkg-config, docbook-utils, gettext, libglib2.0-dev, intltool, libgudev-1.0-dev, libcolord-dev (>= 1.0.0), libpolkit-gobject-1-dev (>= 0.103), libgcab-dev, libsqlite3-dev, libgpgme11-dev, systemd, libfwup-dev, libgirepository1.0-dev, libappstream-glib-dev (>= 0.3.5), libarchive-dev, libcolorhug-dev (>= 1.2.9), libgusb-dev (>= 0.2.2)
Standards-Version: 3.9.6.1
Section: admin
Homepage: https://github.com/hughsie/fwupd
#Vcs-Git: git://anonscm.debian.org/collab-maint/fwupd.git
#Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/fwupd.git
Package: fwupd
Architecture: amd64 i386 armhf arm64 armel
Depends: ${shlibs:Depends}, ${misc:Depends}, efibootmgr
Multi-Arch: foreign
Description: Firmware update daemon
fwupd is a daemon to allow session software to update device firmware.
You can either use a GUI software manager like GNOME Software to view and
apply updates, the command-line tool or the system D-Bus interface directly.
Currently, firmware updates using the UEFI capsule format and for the
ColorHug are supported. More formats may be supported in the future.
See <https://github.com/hughsie/fwupd> for details
Package: fwupd-dev
Architecture: amd64 i386 armhf arm64 armel
Multi-Arch: same
Depends: fwupd (= ${binary:Version}), ${misc:Depends}
Description: development files for fwupd
fwupd is a daemon to allow session software to update device firmware.
You can either use a GUI software manager like GNOME Software to view and
apply updates, the command-line tool or the system D-Bus interface directly.
Currently, firmware updates using the UEFI capsule format and for the
ColorHug are supported. More formats may be supported in the future.
See <https://github.com/hughsie/fwupd> for details
.
This package provides the development files for fwupd

28
debian/copyright vendored Normal file
View File

@ -0,0 +1,28 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: fwupd
Source: https://github.com/hughsie/fwupd
Files: *
Copyright: 2015 Richard Hughes <richard@hughsie.com>
License: GPL-2.0+
Files: debian/*
Copyright: 2015 Daniel Jared Dominguez <Jared_Dominguez@Dell.com>
License: GPL-2.0+
License: GPL-2.0+
This package 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; either version 2 of the License, or
(at your option) any later version.
.
This package 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, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

2
debian/docs vendored Normal file
View File

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

18
debian/fwupd-dev.install vendored Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh
bindir=usr/bin
datadir=usr/share
includedir=usr/include
libdir=usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)
libexecdir=${libdir}
mandir=${datadir}/man
sysconfdir=/etc
localstatedir=/var
unitdir=/lib/systemd/system
cat<<EOF
${includedir}/fwupd-1
${libdir}/lib*.so
${libdir}/pkgconfig/*.pc
${datadir}/gir-1.0/*.gir
EOF

28
debian/fwupd.install vendored Executable file
View File

@ -0,0 +1,28 @@
#!/bin/sh
bindir=usr/bin
datadir=usr/share
includedir=usr/include
libdir=usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)
libexecdir=${libdir}
mandir=${datadir}/man
sysconfdir=/etc
localstatedir=/var
unitdir=/lib/systemd/system
cat<<EOF
${libexecdir}/fwupd
${bindir}/fwupdmgr
${sysconfdir}/pki/fwupd
${sysconfdir}/dbus-1/system.d/org.freedesktop.fwupd.conf
${datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml
${datadir}/polkit-1/actions/org.freedesktop.fwupd.policy
${datadir}/polkit-1/rules.d/org.freedesktop.fwupd.rules
${datadir}/dbus-1/system-services/org.freedesktop.fwupd.service
${datadir}/man/man1/fwupdmgr.1.gz
${unitdir}/*.service
${unitdir}/system-update.target.wants/*.service
${localstatedir}/lib/fwupd
${libdir}/lib*.so.*
${libdir}/girepository-1.0/*.typelib
EOF

39
debian/fwupd.postinst vendored Normal file
View File

@ -0,0 +1,39 @@
#!/bin/sh
# postinst script for fwupd
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <postinst> `abort-remove'
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
configure)
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

37
debian/fwupd.postrm vendored Normal file
View File

@ -0,0 +1,37 @@
#!/bin/sh
# postrm script for fwupd
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <overwriter>
# <overwriter-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

38
debian/fwupd.prerm vendored Normal file
View File

@ -0,0 +1,38 @@
#!/bin/sh
# prerm script for fwupd
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
remove|upgrade|deconfigure)
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

96
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,96 @@
[DEFAULT]
# the default build command:
#builder = debuild -i -I
# the default clean command:
#cleaner = debuild clean
# the default branch for upstream sources:
#upstream-branch = upstream
# the default branch for the debian patch:
debian-branch = debian
# the default tag formats used:
upstream-tag = %(version)s
debian-tag = Debian/%(version)s
# use pristine-tar:
#pristine-tar = True
# don't check if debian-branch == current branch:
#ignore-branch = True
# Use color when on a terminal, alternatives: on/true, off/false or auto
#color = auto
# Options only affecting gbp buildpackage
[buildpackage]
# Look for a tag matching the upstream version when creating a tarball
#upstream-tree = tag
# uncomment this to automatically GPG sign tags:
sign-tags = True
# keyid to GPG sign tags with:
#keyid = 0xdeadbeef
# push to a remote repository after a successful tag:
#posttag = git-push git.example.com
# call lintian after a successful build:
#postbuild = lintian $GBP_CHANGES_FILE
# let package generate upstream changelog before build:
#prebuild = GIT_DIR=$GBP_GIT_DIR debian/autogen.sh
# use this for more svn-buildpackage like behaviour:
#export-dir = ../build-area/
#tarball-dir = ../tarballs/
#ignore-new = True
#export = HEAD
# compress with bzip2
#compression = bzip2
# use best compression
#compression-level = best
# Don't send notifications, alternatives: on/true, off/false or auto
#notify = off
# Transparently handle submodules
# submodules = True
# Wheter to use cowbuilder via git-pbuilder(1)
#pbuilder = True
# Which distribution to use with git-pbuilder
dist = unstable
# Options to pass to pbuilder when using git-pbuilder
#git-pbuilder-options = '--hookdir /etc/pbuilder/hooks'
# Options only affecting gbp dch
[dch]
# options passed to git-log:
#git-log = --no-merges
# next snapshot number:
#snapshot-number = snapshot + 1
# include 7 digits of the commit id in the changelog enty:
#id-length = 7
# don't include information from meta tags:
#meta = False
# what tags to look for to generate bug-closing changelog entries:
#meta-closes = Closes|LP
# include the full commit message in the changelog:
#full = True
# ignore Signed-off-by: lines:
#ignore-regex=(Signed-off|Acked)-by:
# use author name and email from git-config:
#git-author = True
# Options only affecting gbp pq
[pq]
#patch-numbers = False
# Options only affecting gbp clone
[clone]
#pristine-tar = True
# Options only affecting gbp pull
[pull]
#pristine-tar = True
# Options only affecting gbp create remote repo
[create-remote-repo]
# disable remote branch tracking
#track = False
## Sample config to create remote repositore using gbp create-remote-repo:
#[remote-config pkg-libvirt]
## Location of the repository
#remote-url-pattern = ssh://git.debian.org/git/pkg-libvirt/%(pkg)s
## Template dir to passed to git-init
#template-dir = /srv/alioth.debian.org/chroot/home/groups/pkg-libvirt/git-template

11
debian/rules vendored Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/make -f
# -*- makefile -*-
export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS=-v
%:
dh $@ --with autoreconf

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

13
debian/watch vendored Normal file
View File

@ -0,0 +1,13 @@
# You can run the "uscan" command to check for upstream updates and more.
# See uscan(1) for format
# Compulsory line, this is a version 3 file
version=3
#opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/fwupd-$1\.tar\.gz/ \
#https://github.com/hughsie/fwupd/tags .*/v?(\d\S*)\.tar\.gz
#http://people.freedesktop.org/~hughsient/releases \
#.*[^n]/(?:|v|version-|r|REL_|rel-|fwupd(?:_|-))(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)
http://people.freedesktop.org/~hughsient/releases/fwupd-(\d[^\s]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)