From: Dietmar Maurer Date: Mon, 12 Aug 2013 08:49:42 +0000 (+0200) Subject: initial import X-Git-Url: https://git.proxmox.com/?p=glusterfs.git;a=commitdiff_plain;h=49a969e6ae1fa967819ac2bd0226e6be50370213 initial import --- 49a969e6ae1fa967819ac2bd0226e6be50370213 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9063c2f --- /dev/null +++ b/Makefile @@ -0,0 +1,44 @@ +RELEASE=3.0 + +GLUSTERFSVER=3.4.0 +DEBRELEASE=2 + +GLUSTERFSSRC=glusterfs_${GLUSTERFSVER}.orig.tar.gz +GLUSTERFSDIR=glusterfs-${GLUSTERFSVER} +DEBSRC=glusterfs_${GLUSTERFSVER}-${DEBRELEASE}.debian.tar.gz + +ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) + +DEBS= \ + glusterfs-common_${GLUSTERFSVER}-${DEBRELEASE}_${ARCH}.deb \ + glusterfs-client_${GLUSTERFSVER}-${DEBRELEASE}_${ARCH}.deb \ + glusterfs-server_${GLUSTERFSVER}-${DEBRELEASE}_${ARCH}.deb + +all: deb + +.PHONY: dinstall +dinstall: deb + dpkg -i ${DEBS} + +.PHONY: deb +deb ${DEBS}: ${GLUSTERFSSRC} ${DEBSRC} + rm -rf ${GLUSTERFSDIR} + tar xf ${GLUSTERFSSRC} + cd ${GLUSTERFSDIR}; tar xvf ../${DEBSRC} + cd ${GLUSTERFSDIR}; dpkg-buildpackage -b -uc -us + +.PHONY: upload +upload: + umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw + mkdir -p /pve/${RELEASE}/extra + rm -rf /pve/${RELEASE}/extra/glusterfs-common_*.deb + rm -rf /pve/${RELEASE}/extra/glusterfs-client_*.deb + rm -rf /pve/${RELEASE}/extra/glusterfs-server_*.deb + rm -rf /pve/${RELEASE}/extra/Packages* + cp ${DEBS} /pve/${RELEASE}/extra + cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz + umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro + +.PHONY: clean +clean: + rm -rf *~ *_${ARCH}.deb *_${ARCH}.udeb *.changes *.dsc ${GLUSTERFSDIR} diff --git a/README b/README new file mode 100644 index 0000000..bafa1c6 --- /dev/null +++ b/README @@ -0,0 +1 @@ +This is a backport of the debian sid packages to wheezy. diff --git a/glusterfs_3.4.0-2.debian.tar.gz b/glusterfs_3.4.0-2.debian.tar.gz new file mode 100644 index 0000000..1e5cd58 Binary files /dev/null and b/glusterfs_3.4.0-2.debian.tar.gz differ diff --git a/glusterfs_3.4.0.orig.tar.gz b/glusterfs_3.4.0.orig.tar.gz new file mode 100644 index 0000000..9a16366 Binary files /dev/null and b/glusterfs_3.4.0.orig.tar.gz differ