]> git.proxmox.com Git - parted.git/commitdiff
initial import
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 12 Feb 2015 16:09:08 +0000 (17:09 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 12 Feb 2015 16:09:08 +0000 (17:09 +0100)
Makefile [new file with mode: 0644]
README [new file with mode: 0644]
parted_3.2-6.debian.tar.xz [new file with mode: 0644]
parted_3.2.orig.tar.xz [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
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 (file)
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 (file)
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 (file)
index 0000000..1c554e6
Binary files /dev/null and b/parted_3.2.orig.tar.xz differ