cease producing .debs for dapper, since they'd depend upon a library (simplejson) that isn't packaged for dapper. Feisty++ are fine. Dapper users are encouraged to build from source.

This commit is contained in:
Brian Warner 2007-07-11 14:31:04 -07:00
parent 4a081cec26
commit b2f13d2635
6 changed files with 3 additions and 104 deletions

View File

@ -217,10 +217,8 @@ show-version:
@echo $(VER) @echo $(VER)
.PHONY: setup-deb deb-ARCH is-known-debian-arch .PHONY: setup-deb deb-ARCH is-known-debian-arch
.PHONY: deb-dapper deb-sid deb-feisty deb-edgy deb-etch .PHONY: deb-sid deb-feisty deb-edgy deb-etch
deb-dapper:
$(MAKE) deb-ARCH ARCH=dapper
deb-sid: deb-sid:
$(MAKE) deb-ARCH ARCH=sid $(MAKE) deb-ARCH ARCH=sid
deb-feisty: deb-feisty:
@ -233,7 +231,7 @@ deb-etch:
$(MAKE) deb-ARCH ARCH=etch FOOLSCAP_ARCH=sid TAHOE_ARCH=feisty $(MAKE) deb-ARCH ARCH=etch FOOLSCAP_ARCH=sid TAHOE_ARCH=feisty
# we know how to handle the following debian architectures # we know how to handle the following debian architectures
KNOWN_DEBIAN_ARCHES := dapper sid feisty edgy etch KNOWN_DEBIAN_ARCHES := sid feisty edgy etch
ifeq ($(findstring x-$(ARCH)-x,$(foreach arch,$(KNOWN_DEBIAN_ARCHES),"x-$(arch)-x")),) ifeq ($(findstring x-$(ARCH)-x,$(foreach arch,$(KNOWN_DEBIAN_ARCHES),"x-$(arch)-x")),)
is-known-debian-arch: is-known-debian-arch:
@ -274,7 +272,7 @@ deb-ARCH: is-known-debian-arch setup-deb
echo "The newly built .deb packages are in the parent directory from here." echo "The newly built .deb packages are in the parent directory from here."
.PHONY: increment-deb-version .PHONY: increment-deb-version
.PHONY: deb-dapper-head deb-sid-head deb-edgy-head deb-feisty-head .PHONY: deb-sid-head deb-edgy-head deb-feisty-head
.PHONY: deb-etch-head .PHONY: deb-etch-head
# The buildbot runs the following targets after each change, to produce # The buildbot runs the following targets after each change, to produce
@ -283,10 +281,6 @@ deb-ARCH: is-known-debian-arch setup-deb
increment-deb-version: make-version increment-deb-version: make-version
debchange --newversion $(VER) $(DEBCOMMENTS) debchange --newversion $(VER) $(DEBCOMMENTS)
deb-dapper-head:
$(MAKE) setup-deb ARCH=dapper
$(MAKE) increment-deb-version
fakeroot debian/rules binary
deb-sid-head: deb-sid-head:
$(MAKE) setup-deb ARCH=sid $(MAKE) setup-deb ARCH=sid
$(MAKE) increment-deb-version $(MAKE) increment-deb-version

View File

@ -1,5 +0,0 @@
allmydata-tahoe (0.0.1) unstable; urgency=low
* experimental packaging
-- Brian Warner <warner@allmydata.com> Mon, 4 Dec 2006 23:34:07 -0800

View File

@ -1 +0,0 @@
4

View File

@ -1,12 +0,0 @@
Source: allmydata-tahoe
Section: python
Priority: optional
Maintainer: Brian Warner <warner@allmydata.com>
Build-Depends: debhelper (>> 4.1.68), python2.4-dev, python2.4-twisted, cdbs
Standards-Version: 3.7.2
Package: allmydata-tahoe
Architecture: all
Depends: python (>= 2.4), python (<< 2.5), python2.4-foolscap, python-twisted, python-nevow, python-pyopenssl, python-simplejson
Description: A secure distributed filestore
Allmydata (tahoe2)

View File

@ -1,15 +0,0 @@
This package was debianized by Brian Warner <warner@allmydata.com>
The upstream source of this project is http://allmydata.org .
Copyright (c) 2006-2007
AllMyData, Inc.
This package is licensed under the GPL (v2), with additional rights. For a
description of the GPL v2, see /usr/share/common-licenses/GPL-2 on your
Debian system.
It also comes with the added permission that, in the case that you are
obligated to release a derived work under this licence (as per section 2.b of
the GPLv2), you may delay the fulfillment of this obligation for up to 12
months.

View File

@ -1,62 +0,0 @@
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This is the debhelper compatability version to use.
export DH_COMPAT=4
PREFIX=$(shell pwd)/debian/allmydata-tahoe/usr
build: build-stamp
build-stamp:
dh_testdir
## Build for all python versions
python2.4 setup.py build
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
rm -rf build
find . -name '*.pyc' |xargs -r rm
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
cd src/zfec && python2.4 setup.py install --single-version-externally-managed --root=$(PREFIX)/..
cd src/Crypto && python2.4 setup.py install --prefix=$(PREFIX)
python2.4 setup.py install --prefix=$(PREFIX)
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs -i
dh_installchangelogs -i
dh_compress -i -X.py
dh_fixperms
dh_python
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary-arch:
# nothing to do
binary: binary-indep
.PHONY: build clean binary-indep binary-arch binary install