Close #1035: importing stretch libanyevent-http-perl 2.22-1
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 22 Jun 2016 07:57:03 +0000 (09:57 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 22 Jun 2016 07:59:44 +0000 (09:59 +0200)
Makefile [new file with mode: 0644]
libanyevent-http-perl_2.22-1.debian.tar.xz [new file with mode: 0644]
libanyevent-http-perl_2.22.orig.tar.gz [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..7a63a48
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,50 @@
+RELEASE=4.2
+
+VERSION=2.22
+PKGREL=1
+
+PACKAGE=libanyevent-http-perl
+
+DEBSRC=libanyevent-http-perl_${VERSION}-${PKGREL}.debian.tar.xz
+PKGDIR=AnyEvent-HTTP-${VERSION}
+PKGSRC=libanyevent-http-perl_${VERSION}.orig.tar.gz
+
+GITVERSION:=$(shell cat .git/refs/heads/master)
+
+ARCH=all
+DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb
+
+all: ${DEB}
+
+.PHONY: dinstall
+dinstall: deb
+       dpkg -i ${DEB}
+
+.PHONY: deb
+deb ${DEB}: 
+       rm -rf ${PKGDIR}
+       tar xf ${PKGSRC}
+       cd ${PKGDIR}; tar xf ../${DEBSRC}
+       echo "git clone git://git.proxmox.com/git/libanyevent-http-perl.git\\ngit checkout ${GITVERSION}" >  ${PKGDIR}/debian/SOURCE
+       echo "debian/SOURCE" >> ${PKGDIR}/debian/docs
+#cd ${PKGDIR}; patch -p1 <../update-changelog.patch
+       cd ${PKGDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
+       lintian ${DEB}
+
+.PHONY: clean
+clean:
+       rm -rf *~ *.deb *.changes ${PKGDIR}
+
+.PHONY: distclean
+distclean: clean
+
+.PHONY: upload
+upload: ${DEB}
+       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw 
+       mkdir -p /pve/${RELEASE}/extra
+       rm -f /pve/${RELEASE}/extra/${PACKAGE}_*.deb
+       rm -f /pve/${RELEASE}/extra/Packages*
+       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
+
diff --git a/libanyevent-http-perl_2.22-1.debian.tar.xz b/libanyevent-http-perl_2.22-1.debian.tar.xz
new file mode 100644 (file)
index 0000000..f5cf899
Binary files /dev/null and b/libanyevent-http-perl_2.22-1.debian.tar.xz differ
diff --git a/libanyevent-http-perl_2.22.orig.tar.gz b/libanyevent-http-perl_2.22.orig.tar.gz
new file mode 100644 (file)
index 0000000..107bc16
Binary files /dev/null and b/libanyevent-http-perl_2.22.orig.tar.gz differ