From: Dietmar Maurer Date: Thu, 12 Feb 2015 16:09:08 +0000 (+0100) Subject: initial import X-Git-Url: https://git.proxmox.com/?p=parted.git;a=commitdiff_plain;h=a4d91749857de2b04c77251d6ad37476a647e2e2 initial import --- a4d91749857de2b04c77251d6ad37476a647e2e2 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4697b61 --- /dev/null +++ b/Makefile @@ -0,0 +1,47 @@ +RELEASE=3.3 + +PACKAGE=parted +PKGVERSION=3.2 +PKGRELEASE=6 + +PKGDIR=${PACKAGE}-${PKGVERSION} +PKGSRC=${PACKAGE}_${PKGVERSION}.orig.tar.xz +DEBSRC=${PACKAGE}_${PKGVERSION}-${PKGRELEASE}.debian.tar.xz + +ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) + +DEBS= \ +${PACKAGE}_${PKGVERSION}-${PKGRELEASE}_${ARCH}.deb \ +libparted2_${PKGVERSION}-${PKGRELEASE}_${ARCH}.deb + + +all: ${DEBS} + echo ${DEBS} + +${DEBS}: ${PKGSRC} + rm -rf ${PKGDIR} debian + tar xf ${PKGSRC} + tar xf ${DEBSRC} + cp -a debian ${PKGDIR}/debian + cd ${PKGDIR}; dpkg-buildpackage -rfakeroot -b -us -uc + +.PHONY: upload +upload: ${DEBS} + umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw + mkdir -p /pve/${RELEASE}/extra + rm -f /pve/${RELEASE}/extra/Packages* + rm -f /pve/${RELEASE}/extra/${PACKAGE}_*.deb + rm -f /pve/${RELEASE}/extra/libparted2_*.deb + cp ${DEB} /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 + +distclean: clean + +.PHONY: clean +clean: + rm -rf *~ debian *_${ARCH}.deb *_all.deb *.udeb *.changes *.dsc ${PKGDIR} + +.PHONY: dinstall +dinstall: ${DEB} + dpkg -i ${DEBS} diff --git a/README b/README new file mode 100644 index 0000000..cdf9611 --- /dev/null +++ b/README @@ -0,0 +1,3 @@ +Backport parted fron Jessie to Wheezy + +This is just a recompile. \ No newline at end of file diff --git a/parted_3.2-6.debian.tar.xz b/parted_3.2-6.debian.tar.xz new file mode 100644 index 0000000..851a5fd Binary files /dev/null and b/parted_3.2-6.debian.tar.xz differ diff --git a/parted_3.2.orig.tar.xz b/parted_3.2.orig.tar.xz new file mode 100644 index 0000000..1c554e6 Binary files /dev/null and b/parted_3.2.orig.tar.xz differ