[tor-commits] [torouter/master] add DESTDIR to Makefile and debian dir to package dir

ioerror at torproject.org ioerror at torproject.org
Wed Aug 17 21:53:24 UTC 2011


commit dacbdb531c2412fe2802a0f562afad9ec024fc5a
Author: Jacob Appelbaum <jacob at appelbaum.net>
Date:   Wed Aug 17 23:38:09 2011 +0200

    add DESTDIR to Makefile and debian dir to package dir
---
 packages/dreamplug-uaputl/Makefile             |    3 ++
 packages/dreamplug-uaputl/debian/README        |    8 ++++++
 packages/dreamplug-uaputl/debian/changelog     |    5 ++++
 packages/dreamplug-uaputl/debian/compat        |    1 +
 packages/dreamplug-uaputl/debian/control       |   15 ++++++++++++
 packages/dreamplug-uaputl/debian/copyright     |   28 ++++++++++++++++++++++++
 packages/dreamplug-uaputl/debian/rules         |   13 +++++++++++
 packages/dreamplug-uaputl/debian/source/format |    1 +
 8 files changed, 74 insertions(+), 0 deletions(-)

diff --git a/packages/dreamplug-uaputl/Makefile b/packages/dreamplug-uaputl/Makefile
index 1847183..4e33274 100755
--- a/packages/dreamplug-uaputl/Makefile
+++ b/packages/dreamplug-uaputl/Makefile
@@ -50,3 +50,6 @@ clean:
 	$(ECHO)$(RM) $(OBJECTS) $(TARGET)
 	$(ECHO)$(RM) tags.txt 
 
+# We add this install target to allow for installation
+install:
+	install $(TARGET) $(DESTDIR)/usr/bin/$(TARGET)
diff --git a/packages/dreamplug-uaputl/debian/README b/packages/dreamplug-uaputl/debian/README
new file mode 100644
index 0000000..a06ed70
--- /dev/null
+++ b/packages/dreamplug-uaputl/debian/README
@@ -0,0 +1,8 @@
+The Debian Package dreamplug-uaputl
+----------------------------
+
+This source code was released by Marvell and is used to control the DreamPlug
+wireless driver; it has some horrible binary blob garbage involved in the
+process but not in this package.
+
+ -- Jacob Appelbaum <jacob at appelbaum.net>  Wed, 17 Aug 2011 23:26:07 +0200
diff --git a/packages/dreamplug-uaputl/debian/changelog b/packages/dreamplug-uaputl/debian/changelog
new file mode 100644
index 0000000..8669a6f
--- /dev/null
+++ b/packages/dreamplug-uaputl/debian/changelog
@@ -0,0 +1,5 @@
+dreamplug-uaputl (1.12) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Jacob Appelbaum <jacob at appelbaum.net>  Wed, 17 Aug 2011 23:26:07 +0200
diff --git a/packages/dreamplug-uaputl/debian/compat b/packages/dreamplug-uaputl/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/packages/dreamplug-uaputl/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/packages/dreamplug-uaputl/debian/control b/packages/dreamplug-uaputl/debian/control
new file mode 100644
index 0000000..76dab02
--- /dev/null
+++ b/packages/dreamplug-uaputl/debian/control
@@ -0,0 +1,15 @@
+Source: dreamplug-uaputl
+Section: net
+Priority: extra
+Maintainer: Jacob Appelbaum <jacob at appelbaum.net>
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.9.1
+Homepage: https://www.torproject.org/
+
+Package: dreamplug-uaputl
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: controls the DreamPlug Marvell wifi chipset
+ This is required to control the Marvell wifi card that ships with the
+ DreamPlug. The DreamPlug wireless card does not use the standard linux
+ wireless tools and thus requires this painfully bad software.
diff --git a/packages/dreamplug-uaputl/debian/copyright b/packages/dreamplug-uaputl/debian/copyright
new file mode 100644
index 0000000..f388c75
--- /dev/null
+++ b/packages/dreamplug-uaputl/debian/copyright
@@ -0,0 +1,28 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: Uaputl.tar.gz
+Source: http://www.plugcomputer.org/plugwiki/index.php?title=Setting_GuruPlug_to_be_a_WiFi_Access_Point&redirect=no
+
+Files: *
+Copyright: Copyright (C) 2008-2009, Marvell International Ltd.
+License: GPL-2.0+
+
+Files: debian/*
+Copyright: 2011 Jacob Appelbaum <jacob at appelbaum.net>
+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".
diff --git a/packages/dreamplug-uaputl/debian/docs b/packages/dreamplug-uaputl/debian/docs
new file mode 100644
index 0000000..e69de29
diff --git a/packages/dreamplug-uaputl/debian/rules b/packages/dreamplug-uaputl/debian/rules
new file mode 100755
index 0000000..b760bee
--- /dev/null
+++ b/packages/dreamplug-uaputl/debian/rules
@@ -0,0 +1,13 @@
+#!/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 $@ 
diff --git a/packages/dreamplug-uaputl/debian/source/format b/packages/dreamplug-uaputl/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/packages/dreamplug-uaputl/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)





More information about the tor-commits mailing list