From 33bea6b099c3e3db5f94090cb52547de236b1dbc Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Thu, 30 Jun 2016 17:46:20 +0200 Subject: [PATCH] Add debian packaging bits --- debian/anbox.install | 2 ++ debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 45 +++++++++++++++++++++++++++++ debian/copyright | 68 ++++++++++++++++++++++++++++++++++++++++++++ debian/rules | 19 +++++++++++++ debian/source/format | 1 + 7 files changed, 141 insertions(+) create mode 100644 debian/anbox.install create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/anbox.install b/debian/anbox.install new file mode 100644 index 0000000..040ec15 --- /dev/null +++ b/debian/anbox.install @@ -0,0 +1,2 @@ +usr/bin/anbox +usr/bin/anbox-container diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..cfec5c8 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +anbox (0.1) vivid; urgency=medium + + * Initial release. + + -- Simon Fels Thu, 30 Jun 2016 17:30:21 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..21f5beb --- /dev/null +++ b/debian/control @@ -0,0 +1,45 @@ +Source: anbox +Section: utils +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Simon Fels +Build-Depends: cmake, + debhelper (>= 9), + dbus, + google-mock, + libboost-dev, + libboost-filesystem-dev, + libboost-log-dev, + libboost-iostreams-dev, + libboost-program-options-dev, + libboost-system-dev, +# boost log needs exactly one symbol from boost-thread for resolving +# thread-specific storage locations. + libboost-thread-dev, + libdbus-cpp-dev, + libglib2.0-dev, + libgtest-dev, + libprotobuf-dev, + pkg-config, + protobuf-compiler +Standards-Version: 3.9.4 +Homepage: http://launchpad.net/aethercast +# If you aren't a member of ~anbox-team but need to upload packaging changes, +# just go ahead. ~anbox-team will notice and sync up the code again. +Vcs-Git: git+ssh://git.launchpad.net/anbox +Vcs-Browser: https://git.launchpad.net/anbox + +Package: anbox +Architecture: i386 amd64 armhf arm64 +Depends: ${misc:Depends}, + ${shlibs:Depends}, +# Provides newuidmap/newgidmap setuid helpers to initialize +# a user namespace. + uidmap, +# We depend on lxc-usernsexec as helper to spawn up the user +# namespace for our container. + lxc +Description: Android in a Box + Runtime for Android applications which runs a full Android system + in a container using Linux namespaces (user, ipc, net, mount) to + separate the Android system fully from the host. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..27eabaf --- /dev/null +++ b/debian/copyright @@ -0,0 +1,68 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: anbox +Source: http://launchpad.net/anbox + +Files: * +Copyright: 2015-2016 Canonical Ltd. +License: GPL-3 + This program is free software: you can redistribute it and/or modify it + under the terms of the the GNU General Public License version 3, as + published by the Free Software Foundation. + . + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranties of + MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR + PURPOSE. See the applicable version of the GNU Lesser 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 . + . + On Debian systems, the complete text of the GNU General Public License + can be found in `/usr/share/common-licenses/GPL-3' + +Files: external/process-cpp-minimal/* +Copyright: 2014-2016 Canonical Ltd. +License: LGPL-3 + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License version 3, + as published by the Free Software Foundation. + . + 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 Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + +Files: external/bubblewrap/* +Copyright: 2016 Alexander Larsson +License: GPL-2 + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + . + This library 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 + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see . + +files: external/android-emugl/* +Copyright: 2011 The Android Open Source Project +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..37d65b4 --- /dev/null +++ b/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +export DPKG_GENSYMBOLS_CHECK_LEVEL=4 + +include /usr/share/dpkg/default.mk + +%: + dh $@ --parallel --fail-missing diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native)