]> git.proxmox.com Git - corosync-pve.git/blobdiff - Makefile
update sources to 2.4.4-3
[corosync-pve.git] / Makefile
index db4d6f41f9ef98226a2c08e750c4ab1b7df8ecba..d28171236cf3af7b1302e9aa9be65de185612e38 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,18 @@
-RELEASE=4.2
+RELEASE=5.0
 
 # source from http://www.corosync.org
 
-CSVERSION=2.4.2
-CSRELEASE=pve1
+CSVERSION=2.4.4
+CSRELEASE=pve5
 DEBRELEASE=3
 CSDIR=corosync-${CSVERSION}
-CSSRC=corosync-${CSVERSION}.tar.gz
+CSSRC=corosync_${CSVERSION}.orig.tar.gz
 
 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 GITVERSION:=$(shell cat .git/refs/heads/master)
 
 DEBS=corosync-pve_${CSVERSION}-${CSRELEASE}_all.deb \
+libcorosync4-pve_${CSVERSION}-${CSRELEASE}_all.deb \
 corosync_${CSVERSION}-${CSRELEASE}_${ARCH}.deb \
 corosync-notifyd_${CSVERSION}-${CSRELEASE}_${ARCH}.deb \
 corosync-qdevice_${CSVERSION}-${CSRELEASE}_${ARCH}.deb \
@@ -53,20 +54,19 @@ ${DEBS}: ${CSSRC}
 .PHONY: download
 download:
        rm -rf ${CSSRC} ${CSSRC}.tmp ${CSDIR}
-       git clone https://anonscm.debian.org/git/debian-ha/corosync.git -b debian/${CSVERSION}-${DEBRELEASE} ${CSDIR}
-       # wget http://build.clusterlabs.org/corosync/releases/${CSSRC}
+       git clone https://salsa.debian.org/ha-team/corosync.git -b debian/${CSVERSION}-${DEBRELEASE} ${CSDIR}
        tar czf ${CSSRC}.tmp ${CSDIR}
        mv ${CSSRC}.tmp ${CSSRC}
 
 .PHONY: upload
 upload: ${DEBS}
-       tar cf - ${DEBS} | ssh repoman@repo.proxmox.com upload
+       tar cf - ${DEBS} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist stretch --arch ${ARCH}
 
 distclean: clean
 
 .PHONY: clean
 clean:
-       rm -rf *.deb *.changes *.dsc *.buildinfo ${CSDIR} corosync_${CSVERSION}-${CSRELEASE}.tar.gz
+       rm -rf *.deb *.changes *.dsc *.buildinfo ${CSDIR}
        find . -name '*~' -exec rm {} ';'
 
 .PHONY: dinstall