mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-23 00:57:26 +03:00
Add debian files and docker file to build .deb
This commit is contained in:
parent
a27e1b6b1b
commit
65a81a7177
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
yubioath-desktop (4.0.0~ppa1) xenial; urgency=low
|
||||
|
||||
* Build for ppa
|
||||
|
||||
-- Dag Heyman <dag@yubico.com> Fri, 18 Nov 2016 14:14:54 +0100
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
9
|
36
debian/control
vendored
Normal file
36
debian/control
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
Source: yubioath-desktop
|
||||
Maintainer: Debian Authentication Maintainers <pkg-auth-maintainers@lists.alioth.debian.org>
|
||||
Uploaders: Dag Heyman <dag@yubico.com>,
|
||||
Dain Nilsson <dain@yubico.com>
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Standards-Version: 3.9.7
|
||||
Build-Depends: debhelper (>= 9),
|
||||
python3-pip,
|
||||
swig,
|
||||
python,
|
||||
libpcsclite-dev,
|
||||
libssl-dev,
|
||||
libffi-dev,
|
||||
qtbase5-dev,
|
||||
qtdeclarative5-dev,
|
||||
qml-module-qtquick-controls,
|
||||
qml-module-qtquick-dialogs,
|
||||
qml-module-io-thp-pyotherside,
|
||||
libqt5svg5-dev,
|
||||
yubikey-manager
|
||||
Homepage: https://developers.yubico.com/yubioath-desktop/
|
||||
|
||||
Package: yubioath-desktop
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
python3-yubikey-manager,
|
||||
qml-module-io-thp-pyotherside,
|
||||
qml-module-qtquick-controls,
|
||||
qml-module-qtquick-dialogs,
|
||||
pcscd
|
||||
Description: Graphical interface for displaying OATH codes with a Yubikey
|
||||
The Yubico Authenticator is a graphical desktop tool for generating Open
|
||||
AuTHentication (OATH) event-based HOTP and time-based TOTP one-time password
|
||||
codes, with the help of a Yubikey that protects the shared secrets.
|
32
debian/copyright
vendored
Normal file
32
debian/copyright
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: yubioath-desktop
|
||||
Source: https://developers.yubico.com/yubioath-desktop
|
||||
|
||||
Files: *
|
||||
Copyright: Copyright (c) 2016 Yubico AB
|
||||
License: BSD-2-clause
|
||||
All rights reserved.
|
||||
.
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
.
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
.
|
||||
* 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
|
||||
OWNER 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.
|
3
debian/rules
vendored
Executable file
3
debian/rules
vendored
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/make -f
|
||||
%:
|
||||
QT_SELECT=5 dh $@
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.0 (native)
|
2
debian/yubioath-desktop.install
vendored
Normal file
2
debian/yubioath-desktop.install
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
resources/yubioath.desktop usr/share/applications
|
||||
resources/icons/yubioath.png usr/share/pixmaps
|
38
docker/xenial/Dockerfile
Normal file
38
docker/xenial/Dockerfile
Normal file
@ -0,0 +1,38 @@
|
||||
FROM ubuntu:xenial
|
||||
RUN apt-get update -qq
|
||||
RUN apt-get install -qq software-properties-common
|
||||
RUN add-apt-repository -y ppa:yubico/stable
|
||||
RUN apt-get update -qq && apt-get -qq upgrade
|
||||
RUN apt-get install -qq \
|
||||
git \
|
||||
swig \
|
||||
python \
|
||||
libpcsclite-dev \
|
||||
libssl-dev \
|
||||
libffi-dev \
|
||||
libykpers-1-1 \
|
||||
libu2f-host0 \
|
||||
qtbase5-dev \
|
||||
qtdeclarative5-dev \
|
||||
libqt5svg5-dev \
|
||||
python3-dev \
|
||||
python3-pip \
|
||||
python3-pyscard \
|
||||
devscripts \
|
||||
debhelper \
|
||||
qt5-default \
|
||||
qml-module-qtquick-controls \
|
||||
qml-module-qtquick-dialogs \
|
||||
qml-module-io-thp-pyotherside \
|
||||
python3-pip \
|
||||
python3-dev \
|
||||
yubikey-manager
|
||||
RUN pip3 install --upgrade pip
|
||||
RUN git clone --recursive -b qml-rewrite https://github.com/Yubico/yubioath-desktop
|
||||
RUN echo "DEFINES += QT_NO_DEBUG_OUTPUT" >> yubioath-desktop/vendor/pyotherside/src/src.pro
|
||||
RUN cd yubioath-desktop/vendor/pyotherside && qmake -qt=qt5 && make && make install
|
||||
RUN cd yubioath-desktop && qmake -qt=qt5 && make
|
||||
RUN cd yubioath-desktop && debuild -us -uc
|
||||
RUN mkdir /deploy
|
||||
RUN mv /yubioath-desktop_* /deploy
|
||||
RUN cd / && tar czf yubioath-desktop-debian-builds.tar.gz deploy
|
Loading…
Reference in New Issue
Block a user