]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
first attempt at adding debian packaging support for ubuntu 'feisty'
authorBrian Warner <warner@allmydata.com>
Thu, 29 Mar 2007 21:36:15 +0000 (14:36 -0700)
committerBrian Warner <warner@allmydata.com>
Thu, 29 Mar 2007 21:36:15 +0000 (14:36 -0700)
Makefile
feisty/debian/changelog [new file with mode: 0644]
feisty/debian/compat [new file with mode: 0644]
feisty/debian/control [new file with mode: 0644]
feisty/debian/copyright [new file with mode: 0644]
feisty/debian/pycompat [new file with mode: 0644]
feisty/debian/rules [new file with mode: 0644]

index c282b6bf050948ab0774d01e6994345f612e2c6c..b1d97b19da0ffecb82f5ceafe243c2bd3ecf1c5b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -116,8 +116,10 @@ show:
        echo $(DEBVER)
        echo $(DEBSTRING)
 
-.PHONY: setup-dapper setup-sid deb-dapper deb-sid increment-deb-version
-.PHONY: deb-dapper-head deb-sid-head
+.PHONY: setup-dapper setup-sid setup-feisty
+.PHONY: deb-dapper deb-sid deb-feisty
+.PHONY: increment-deb-version
+.PHONY: deb-dapper-head deb-sid-head deb-feisty-head
 
 setup-dapper:
        rm -f debian
@@ -129,11 +131,18 @@ setup-sid:
        ln -s sid/debian debian
        chmod a+x debian/rules
 
+setup-feisty:
+       rm -f debian
+       ln -s feisty/debian debian
+       chmod a+x debian/rules
+
 
 deb-dapper: setup-dapper
        fakeroot debian/rules binary
 deb-sid: setup-sid
        fakeroot debian/rules binary
+deb-feisty: setup-feisty
+       fakeroot debian/rules binary
 
 increment-deb-version:
        debchange --newversion $(DEBSTRING) $(DEBCOMMENTS)
@@ -141,6 +150,6 @@ deb-dapper-head: setup-dapper increment-deb-version
        fakeroot debian/rules binary
 deb-sid-head: setup-sid increment-deb-version
        fakeroot debian/rules binary
+deb-feisty-head: setup-feisty increment-deb-version
+       fakeroot debian/rules binary
 
-# dummy line
-#
diff --git a/feisty/debian/changelog b/feisty/debian/changelog
new file mode 100644 (file)
index 0000000..9f4e959
--- /dev/null
@@ -0,0 +1,5 @@
+allmydata-tahoe (0.0.1) unstable; urgency=low
+
+  * experimental packaging
+
+ -- Brian Warner <warner@allmydata.com>  Mon,  4 Dec 2006 23:34:07 -0800
diff --git a/feisty/debian/compat b/feisty/debian/compat
new file mode 100644 (file)
index 0000000..b8626c4
--- /dev/null
@@ -0,0 +1 @@
+4
diff --git a/feisty/debian/control b/feisty/debian/control
new file mode 100644 (file)
index 0000000..0c4d198
--- /dev/null
@@ -0,0 +1,14 @@
+Source: allmydata-tahoe
+Section: python
+Priority: optional
+Maintainer: Brian Warner <warner@allmydata.com>
+Build-Depends: debhelper (>= 5.0.37.1), cdbs (>= 0.4.41), python-central (>= 0.4.10), python, python-all-dev
+Build-Depends-Indep: python-twisted
+Standards-Version: 3.7.2
+
+Package: allmydata-tahoe
+Architecture: all
+Depends: ${python:Depends}, python-twisted, python-foolscap, python-pyopenssl, python-nevow
+Recommends:
+Description: A secure distributed filestore
+ Allmydata (tahoe2)
diff --git a/feisty/debian/copyright b/feisty/debian/copyright
new file mode 100644 (file)
index 0000000..f180dd9
--- /dev/null
@@ -0,0 +1,6 @@
+This package was debianized by Brian Warner <warner@allmydata.com>
+
+Copyright (c) 2006
+AllMyData
+
+All rights reserved, for now.
diff --git a/feisty/debian/pycompat b/feisty/debian/pycompat
new file mode 100644 (file)
index 0000000..0cfbf08
--- /dev/null
@@ -0,0 +1 @@
+2
diff --git a/feisty/debian/rules b/feisty/debian/rules
new file mode 100644 (file)
index 0000000..a5bcb01
--- /dev/null
@@ -0,0 +1,22 @@
+#! /usr/bin/make -f
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DEB_PYTHON_SYSTEM=pycentral
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+STAGING_DIR=$(CURDIR)/debian/allmydata-tahoe
+
+install/allmydata-tahoe::
+       mkdir -pm755 $(STAGING_DIR)
+       cd src/pyfec && python setup.py install --root=$(STAGING_DIR)
+       cd src/Crypto && python setup.py install --root=$(STAGING_DIR)
+       python setup.py install --root=$(STAGING_DIR)
+
+       dh_pycentral
+       dh_python
+
+clean::
+       -rm -rf build