mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-04 10:10:58 +00:00
add preliminary debian packaging
This commit is contained in:
parent
aa943d4839
commit
266127a4f0
@ -40,4 +40,9 @@
|
||||
^\.buildbot($|/)
|
||||
^MANIFEST$
|
||||
^dist($|/)
|
||||
^debian($|/)
|
||||
|
||||
^(dapper|sid)/debian/allmydata
|
||||
^(dapper|sid)/debian/files$
|
||||
^build($|/)
|
||||
^build-stamp$
|
||||
|
12
Makefile
12
Makefile
@ -21,3 +21,15 @@ create_dirs:
|
||||
mkdir -p client-basedir2
|
||||
mkdir -p client-basedir/storage
|
||||
mkdir -p client-basedir2/storage
|
||||
|
||||
deb-dapper:
|
||||
rm -f debian
|
||||
ln -s dapper/debian debian
|
||||
chmod a+x debian/rules
|
||||
fakeroot debian/rules binary
|
||||
|
||||
deb-sid:
|
||||
rm -f debian
|
||||
ln -s sid/debian debian
|
||||
chmod a+x debian/rules
|
||||
fakeroot debian/rules binary
|
||||
|
5
dapper/debian/changelog
Normal file
5
dapper/debian/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
allmydata (0.0.1) unstable; urgency=low
|
||||
|
||||
* experimental packaging
|
||||
|
||||
-- Brian Warner <warner@allmydata.com> Mon, 4 Dec 2006 23:34:07 -0800
|
1
dapper/debian/compat
Normal file
1
dapper/debian/compat
Normal file
@ -0,0 +1 @@
|
||||
4
|
12
dapper/debian/control
Normal file
12
dapper/debian/control
Normal file
@ -0,0 +1,12 @@
|
||||
Source: allmydata
|
||||
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
|
||||
Architecture: all
|
||||
Depends: python (>= 2.4), python (<< 2.5), python2.4-foolscap
|
||||
Description: A secure distributed filestore
|
||||
Allmydata (tahoe2)
|
6
dapper/debian/copyright
Normal file
6
dapper/debian/copyright
Normal file
@ -0,0 +1,6 @@
|
||||
This package was debianized by Brian Warner <warner@allmydata.com>
|
||||
|
||||
Copyright (c) 2006
|
||||
AllMyData
|
||||
|
||||
All rights reserved, for now.
|
60
dapper/debian/rules
Normal file
60
dapper/debian/rules
Normal file
@ -0,0 +1,60 @@
|
||||
#!/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
|
||||
|
||||
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
|
||||
|
||||
## Python 2.4
|
||||
python2.4 setup.py build
|
||||
python2.4 setup.py install --prefix=debian/allmydata/usr
|
||||
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installdocs -i client.tac queen.tac
|
||||
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
|
||||
|
||||
|
||||
|
5
sid/debian/changelog
Normal file
5
sid/debian/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
allmydata (0.0.1) unstable; urgency=low
|
||||
|
||||
* experimental packaging
|
||||
|
||||
-- Brian Warner <warner@allmydata.com> Mon, 4 Dec 2006 23:34:07 -0800
|
1
sid/debian/compat
Normal file
1
sid/debian/compat
Normal file
@ -0,0 +1 @@
|
||||
4
|
16
sid/debian/control
Normal file
16
sid/debian/control
Normal file
@ -0,0 +1,16 @@
|
||||
Source: allmydata
|
||||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: Brian Warner <warner@allmydata.com>
|
||||
Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python-central (>= 0.5), python, python-dev
|
||||
Build-Depends-Indep: python-twisted-core
|
||||
XS-Python-Version: 2.4
|
||||
Standards-Version: 3.7.2
|
||||
|
||||
Package: allmydata
|
||||
Architecture: all
|
||||
Depends: ${python:Depends}, python-twisted-core, python-foolscap, python-pyopenssl, python-twisted-names
|
||||
Recommends:
|
||||
XB-Python-Version: 2.4
|
||||
Description: A secure distributed filestore
|
||||
Allmydata (tahoe2)
|
6
sid/debian/copyright
Normal file
6
sid/debian/copyright
Normal file
@ -0,0 +1,6 @@
|
||||
This package was debianized by Brian Warner <warner@allmydata.com>
|
||||
|
||||
Copyright (c) 2006
|
||||
AllMyData
|
||||
|
||||
All rights reserved, for now.
|
1
sid/debian/pycompat
Normal file
1
sid/debian/pycompat
Normal file
@ -0,0 +1 @@
|
||||
2
|
15
sid/debian/rules
Normal file
15
sid/debian/rules
Normal file
@ -0,0 +1,15 @@
|
||||
#! /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
|
||||
|
||||
|
||||
install/python-foolscap::
|
||||
dh_installdocs client.tac queen.tac
|
||||
|
||||
clean::
|
||||
-rm -rf build
|
Loading…
x
Reference in New Issue
Block a user