From: Brian Warner Date: Thu, 29 Mar 2007 21:36:15 +0000 (-0700) Subject: first attempt at adding debian packaging support for ubuntu 'feisty' X-Git-Url: https://git.rkrishnan.org/frontends/webapi.txt?a=commitdiff_plain;h=9fc59527abea4e4d60b5872f3f066246be9b9042;p=tahoe-lafs%2Ftahoe-lafs.git first attempt at adding debian packaging support for ubuntu 'feisty' --- diff --git a/Makefile b/Makefile index c282b6bf..b1d97b19 100644 --- 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 index 00000000..9f4e959e --- /dev/null +++ b/feisty/debian/changelog @@ -0,0 +1,5 @@ +allmydata-tahoe (0.0.1) unstable; urgency=low + + * experimental packaging + + -- Brian Warner Mon, 4 Dec 2006 23:34:07 -0800 diff --git a/feisty/debian/compat b/feisty/debian/compat new file mode 100644 index 00000000..b8626c4c --- /dev/null +++ b/feisty/debian/compat @@ -0,0 +1 @@ +4 diff --git a/feisty/debian/control b/feisty/debian/control new file mode 100644 index 00000000..0c4d1983 --- /dev/null +++ b/feisty/debian/control @@ -0,0 +1,14 @@ +Source: allmydata-tahoe +Section: python +Priority: optional +Maintainer: Brian Warner +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 index 00000000..f180dd91 --- /dev/null +++ b/feisty/debian/copyright @@ -0,0 +1,6 @@ +This package was debianized by Brian Warner + +Copyright (c) 2006 +AllMyData + +All rights reserved, for now. diff --git a/feisty/debian/pycompat b/feisty/debian/pycompat new file mode 100644 index 00000000..0cfbf088 --- /dev/null +++ b/feisty/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/feisty/debian/rules b/feisty/debian/rules new file mode 100644 index 00000000..a5bcb01c --- /dev/null +++ b/feisty/debian/rules @@ -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