Updated to debhelper 7 and better depends.
This commit is contained in:
parent
a57a210659
commit
8ae4985ea7
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,4 +1,4 @@
|
|||||||
swift (1.0.0-1) lucid; urgency=low
|
swift (1.0.0-1) unstable; urgency=low
|
||||||
|
|
||||||
* Initial release
|
* Initial release
|
||||||
|
|
||||||
|
2
debian/compat
vendored
2
debian/compat
vendored
@ -1 +1 @@
|
|||||||
5
|
7
|
||||||
|
46
debian/control
vendored
46
debian/control
vendored
@ -2,53 +2,71 @@ Source: swift
|
|||||||
Section: net
|
Section: net
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Michael Barton <michael.barton@rackspace.com>
|
Maintainer: Michael Barton <michael.barton@rackspace.com>
|
||||||
Build-Depends: debhelper (>> 3.0.0), python (>= 2.6)
|
Uploaders: Monty Taylor <mordred@inaugust.com>
|
||||||
Standards-Version: 3.7.2
|
Build-Depends: debhelper (>= 7),
|
||||||
|
python (>= 2.6),
|
||||||
|
python-openssl,
|
||||||
|
python-setuptools,
|
||||||
|
python-webob (>= 0.9.7.1~hg20100111-1~racklabs1),
|
||||||
|
python-simplejson,
|
||||||
|
python-xattr,
|
||||||
|
net-tools,
|
||||||
|
python-greenlet (>= 0.3.1),
|
||||||
|
python-eventlet (>= 0.9.8),
|
||||||
|
python-nose
|
||||||
|
Standards-Version: 3.8.4
|
||||||
|
Homepage: http://launchpad.net/swift
|
||||||
|
|
||||||
Package: swift
|
Package: swift
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: python (>= 2.6), python-openssl, python-webob (>= 0.9.7.1~hg20100111-1~racklabs1), python-simplejson, python-xattr, net-tools, python-eventlet (>= 0.9.8pre1-7)
|
Depends: python (>= 2.6), net-tools, ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Provides: ${python:Provides}
|
||||||
Description: Swift, a distributed virtual object store (common files)
|
Description: Swift, a distributed virtual object store (common files)
|
||||||
Swift, a distributed virtual object store.
|
Swift, a distributed virtual object store.
|
||||||
.
|
.
|
||||||
Homepage: https://swift.racklabs.com/trac
|
Homepage: https://launchpad.net/swift
|
||||||
|
|
||||||
Package: swift-proxy
|
Package: swift-proxy
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: swift (=${Source-Version})
|
Depends: swift (=${Source-Version}), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Provides: ${python:Provides}
|
||||||
Description: The swift proxy server.
|
Description: The swift proxy server.
|
||||||
The swift proxy server.
|
The swift proxy server.
|
||||||
.
|
.
|
||||||
Homepage: https://swift.racklabs.com/trac
|
Homepage: https://launchpad.net/swift
|
||||||
|
|
||||||
Package: swift-object
|
Package: swift-object
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: swift (=${Source-Version})
|
Depends: swift (=${Source-Version}), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Provides: ${python:Provides}
|
||||||
Description: The swift object server.
|
Description: The swift object server.
|
||||||
The swift object server.
|
The swift object server.
|
||||||
.
|
.
|
||||||
Homepage: https://swift.racklabs.com/trac
|
Homepage: https://launchpad.net/swift
|
||||||
|
|
||||||
Package: swift-container
|
Package: swift-container
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: swift (=${Source-Version})
|
Depends: swift (=${Source-Version}), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Provides: ${python:Provides}
|
||||||
Description: The swift container server.
|
Description: The swift container server.
|
||||||
The swift container server.
|
The swift container server.
|
||||||
.
|
.
|
||||||
Homepage: https://swift.racklabs.com/trac
|
Homepage: https://launchpad.net/swift
|
||||||
|
|
||||||
Package: swift-account
|
Package: swift-account
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: swift (=${Source-Version})
|
Depends: swift (=${Source-Version}), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Provides: ${python:Provides}
|
||||||
Description: The swift account server.
|
Description: The swift account server.
|
||||||
The swift account server.
|
The swift account server.
|
||||||
.
|
.
|
||||||
Homepage: https://swift.racklabs.com/trac
|
Homepage: https://launchpad.net/swift
|
||||||
|
|
||||||
Package: swift-auth
|
Package: swift-auth
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: swift (=${Source-Version})
|
Depends: swift (=${Source-Version}), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Provides: ${python:Provides}
|
||||||
Description: The swift auth server.
|
Description: The swift auth server.
|
||||||
The swift auth server.
|
The swift auth server.
|
||||||
.
|
.
|
||||||
Homepage: https://swift.racklabs.com/trac
|
Homepage: https://launchpad.net/swift
|
||||||
|
42
debian/rules
vendored
42
debian/rules
vendored
@ -3,30 +3,23 @@
|
|||||||
# Verbose mode
|
# Verbose mode
|
||||||
export DH_VERBOSE=1
|
export DH_VERBOSE=1
|
||||||
|
|
||||||
|
DEB_PYTHON_SYSTEM=pysupport
|
||||||
|
|
||||||
PYTHON = "/usr/bin/python"
|
PYTHON = "/usr/bin/python"
|
||||||
|
|
||||||
|
build:
|
||||||
|
dh build
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
dh_testdir
|
dh clean
|
||||||
dh_testroot
|
find . -name "*\.pyc" -delete
|
||||||
$(PYTHON) setup.py clean --all
|
|
||||||
rm -rf $(CURDIR)/debian/swift
|
|
||||||
rm -f build-stamp install-stamp
|
|
||||||
dh_clean
|
|
||||||
|
|
||||||
build: build-stamp
|
install: build
|
||||||
build-stamp:
|
dh install
|
||||||
dh_testdir
|
mkdir -p $(CURDIR)/debian/swift/etc/swift
|
||||||
$(PYTHON) setup.py build
|
|
||||||
touch build-stamp
|
|
||||||
|
|
||||||
install: build-stamp
|
|
||||||
dh_testdir
|
|
||||||
dh_installdirs
|
|
||||||
mkdir -p $(CURDIR)/debian/swift/usr/bin
|
mkdir -p $(CURDIR)/debian/swift/usr/bin
|
||||||
|
|
||||||
# Copy files into binary package directories
|
# Copy files into binary package directories
|
||||||
dh_install --sourcedir=debian/swift
|
|
||||||
$(PYTHON) setup.py install --root $(CURDIR)/debian/swift
|
|
||||||
install -m 755 $(CURDIR)/bin/swift-init.py \
|
install -m 755 $(CURDIR)/bin/swift-init.py \
|
||||||
$(CURDIR)/debian/swift/usr/bin/swift-init
|
$(CURDIR)/debian/swift/usr/bin/swift-init
|
||||||
install -m 755 $(CURDIR)/bin/swift-ring-builder.py \
|
install -m 755 $(CURDIR)/bin/swift-ring-builder.py \
|
||||||
@ -106,9 +99,10 @@ install: build-stamp
|
|||||||
install -m 755 $(CURDIR)/bin/swift-auth-recreate-accounts.py \
|
install -m 755 $(CURDIR)/bin/swift-auth-recreate-accounts.py \
|
||||||
$(CURDIR)/debian/swift-auth/usr/bin/swift-auth-recreate-accounts
|
$(CURDIR)/debian/swift-auth/usr/bin/swift-auth-recreate-accounts
|
||||||
|
|
||||||
touch install-stamp
|
|
||||||
|
|
||||||
binary-arch:
|
binary-arch: install
|
||||||
|
dh binary-arch
|
||||||
|
|
||||||
binary-indep: install
|
binary-indep: install
|
||||||
dh_installinit --no-start
|
dh_installinit --no-start
|
||||||
dh_installinit --no-start -pswift-container --init-script=swift-container-replicator
|
dh_installinit --no-start -pswift-container --init-script=swift-container-replicator
|
||||||
@ -120,15 +114,7 @@ binary-indep: install
|
|||||||
dh_installinit --no-start -pswift-object --init-script=swift-object-updater
|
dh_installinit --no-start -pswift-object --init-script=swift-object-updater
|
||||||
dh_installinit --no-start -pswift-object --init-script=swift-object-replicator
|
dh_installinit --no-start -pswift-object --init-script=swift-object-replicator
|
||||||
dh_installinit --no-start -pswift-container --init-script=swift-container-updater
|
dh_installinit --no-start -pswift-container --init-script=swift-container-updater
|
||||||
dh_installcron
|
dh binary-indep
|
||||||
dh_installdocs
|
|
||||||
dh_installchangelogs
|
|
||||||
dh_compress
|
|
||||||
dh_fixperms
|
|
||||||
dh_gencontrol
|
|
||||||
dh_installdeb
|
|
||||||
dh_md5sums
|
|
||||||
dh_builddeb
|
|
||||||
|
|
||||||
binary: binary-arch binary-indep
|
binary: binary-arch binary-indep
|
||||||
.PHONY: build clean binary-indep binary-arch binary clean
|
.PHONY: build clean binary-indep binary-arch binary clean
|
||||||
|
Loading…
Reference in New Issue
Block a user