diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..9474162 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +google-nexus-tools (2.3-0kali1) kali; urgency=low + + * Initial release (Closes: 0001698) + + -- Devon Kearns Thu, 28 Aug 2014 10:31:32 -0600 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..0f20d32 --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: google-nexus-tools +Section: utils +Priority: optional +Maintainer: Devon Kearns +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.5 +Homepage: https://github.com/corbindavenport/nexus-tools +Vcs-Git: ssh://git@git.kali.org/packages/google-nexus-tools.git +Vcs-Browser: http://git.kali.org/gitweb?p=packages/google-nexus-tools.git;a=summary + +Package: google-nexus-tools +Architecture: any +Depends: ${misc:Depends} +Description: ADB and Fastboot for use with Nexus devices + Nexus Tools is an installer for the Android debug/development command-line + tools ADB (Android Device Bridge) and Fastboot for Mac OS X, Linux, and Google + Chrome/Chromium OS. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..222ce78 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,41 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: google-nexus-tools +Source: https://github.com/corbindavenport/nexus-tools + +Files: * +Copyright: Corbin Davenport +License: GPL-3 + 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; either version 3 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 + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + +Files: debian/* +Copyright: 2014 Devon Kearns +License: GPL-2+ + 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 + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..1ef88be --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +etc/udev/rules.d diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.md diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..fdf3769 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,8 @@ +#!/bin/bash + +chmod 644 /etc/udev/rules.d/51-android.rules +chown root. /etc/udev/rules.d/51-android.rules 2>/dev/null +service udev restart 2>/dev/null +killall adb 2>/dev/null +chmod +x /usr/bin/nexus-adb +chmod +x /usr/bin/nexus-fastboot diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d61bc10 --- /dev/null +++ b/debian/rules @@ -0,0 +1,29 @@ +#!/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 + +%: + dh $@ + +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) + +ifeq ($(findstring arm, $(DEB_HOST_ARCH)) + adbbinfile=bin/linux-arm-adb + fastbootbinfile=bin/linux-arm-fastboot +else + adbbinfile=bin/linux-i386-adb + fastbootbinfile=bin/linux-i386-fastboot +endif + +override_dh_auto_install: + dh_installdirs + install $(adbbinfile) $(CURDIR)/debian/google-nexus-tools/usr/bin/nexus-adb + install $(fastbootbinfile) $(CURDIR)/debian/google-nexus-tools/usr/bin/nexus-fastboot + install udev.txt $(CURDIR)/debian/google-nexus-tools/etc/udev/rules.d/51-android.rules 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) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..d4fd861 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 + +https://github.com/corbindavenport/nexus-tools/releases .*/v?(\d\S*)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))