]> git.proxmox.com Git - drbd-utils.git/blobdiff - Makefile
update sources to 8.9.8-1
[drbd-utils.git] / Makefile
index c8013ac8e1aff8f30060d8c04143319b8d6be572..4aa411b784e21d94736d9047914bb68825e3dee6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
-RELEASE=4.0
+RELEASE=4.2
 
 PACKAGE=drbd-utils
-PKGREL=2
+PKGREL=1
 
-DRBDVER=8.9.3
+DRBDVER=8.9.8
 DRBDDIR=${PACKAGE}
 DRBDSRC=${DRBDDIR}.tgz
 
@@ -26,22 +26,13 @@ deb ${DEBS}: ${DRBDSRC}
 .PHONY: download
 download ${DRBDSRC}:
        rm -rf ${DRBDDIR} ${DRBDSRC}
-       git clone --recursive git://git.drbd.org/drbd-utils
-       # this commite breaks installation, so we revert for 8.9.4
-       cd ${DRBDDIR}; git revert --no-edit 15009d512ec0ab0d84ec433b6e96f5917335e769    
+       git clone --recursive -b v${DRBDVER} git://git.drbd.org/drbd-utils
        cd ${DRBDDIR}; ./autogen.sh
        tar czf ${DRBDSRC} ${DRBDDIR}
 
 .PHONY: upload
 upload: ${DEBS}
-       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw 
-       mkdir -p /pve/${RELEASE}/extra
-       rm -f /pve/${RELEASE}/extra/drbd8-utils_*.deb
-       rm -f /pve/${RELEASE}/extra/drbd-utils_*.deb
-       rm -f /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
+       tar cf - ${DEBS} | ssh repoman@repo.proxmox.com upload
 
 distclean: clean