]> git.proxmox.com Git - iproute2.git/blobdiff - Makefile
Update to 4.15, fix /bin/ss with no header flag
[iproute2.git] / Makefile
index f89560886721fe893ed5fb8395d0f135b6063b68..e043d81408e21989eecc3fbcf0348db31851d380 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,8 @@
-RELEASE=5.0
-
-VERSION=4.10.0
-PKGREL=1
+VERSION=4.15.0
+PKGREL=4
 
 DIR=iproute2-${VERSION}
-SRC=iproute2-${VERSION}.orig.tar.gz
+SRC=iproute2-${VERSION}.orig.tar.xz
 
 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
@@ -24,17 +22,17 @@ ${DEBS} deb: ${SRC}
 
 
 download:
-       rm -rf iproute2-${VERSION} iproute2-${VERSION}.orig.tar.gz
+       rm -rf iproute2-${VERSION} $(SRC)
        git clone -b v${VERSION} --depth=1 git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git iproute2-${VERSION}
-       tar czf iproute2-${VERSION}.orig.tar.gz iproute2-${VERSION}/
+       tar cJf $(SRC) iproute2-${VERSION}/
 
 .PHONY: upload
 upload: ${DEBS}
-       tar cf - ${DEBS} | ssh repoman@repo.proxmox.com upload
+       tar cf - ${DEBS} | ssh repoman@repo.proxmox.com -- upload --product pve --dist stretch --arch ${ARCH}
 
 .PHONY: clean
 clean:
-       rm -rf *~ debian/*~ *.changes *.dsc ${DIR} iproute2_${VERSION}.orig.tar.gz *.deb
+       rm -rf *~ debian/*~ *.changes *.dsc ${DIR} *.deb *.buildinfo
 
 .PHONY: dinstall
 dinstall: ${DEBS}