From: Dietmar Maurer Date: Fri, 19 Jul 2013 04:49:21 +0000 (+0200) Subject: Initial import X-Git-Url: https://git.proxmox.com/?p=usb-redir.git;a=commitdiff_plain;h=9cb6c93f1975394016dad8e6d46ed0511bc3170b Initial import Debian wheezy comes with a very old version, so we need to backport version 0.6 --- 9cb6c93f1975394016dad8e6d46ed0511bc3170b diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..72959d7 --- /dev/null +++ b/Makefile @@ -0,0 +1,45 @@ +RELEASE=3.0 + +PACKAGE=libusbredirparser +PKGVERSION=0.6 +PKGRELEASE=2 + +PKGDIR=usbredir-${PKGVERSION} +PKGSRC=usbredir-${PKGVERSION}.tar.bz2 +DEBSRC=usbredir_${PKGVERSION}-${PKGRELEASE}.debian.tar.gz + +ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) + +DEBS= \ + ${PACKAGE}1_${PKGVERSION}-${PKGRELEASE}_${ARCH}.deb \ + ${PACKAGE}-dev_${PKGVERSION}-${PKGRELEASE}_${ARCH}.deb + + +all: ${DEBS} + echo ${DEBS} + +${DEBS}: ${PKGSRC} + echo ${DEBS} + rm -rf ${PKGDIR} debian + tar xf ${PKGSRC} + tar xf ${DEBSRC} + + cp -a debian ${PKGDIR}/debian + cd ${PKGDIR}; dpkg-buildpackage -rfakeroot -b -us -uc + +.PHONY: download +download: + rm -rf ${PKGSRC} ${PKGDIR} + git clone git://anongit.freedesktop.org/spice/usbredir ${PKGDIR} + cd ${PKGDIR}; ./autogen.sh; make dist + mv ${PKGDIR}/${PKGSRC} ${PKGSRC} + +distclean: clean + +.PHONY: clean +clean: + rm -rf *~ debian *_${ARCH}.deb *.changes *.dsc ${PKGDIR} + +.PHONY: dinstall +dinstall: ${DEBS} + dpkg -i ${DEBS} diff --git a/README b/README new file mode 100644 index 0000000..d731322 --- /dev/null +++ b/README @@ -0,0 +1,2 @@ +This is a simple backport of the original debian packages to wheezy, but +we use the latest usbredir sources from git. \ No newline at end of file diff --git a/usbredir-0.6.tar.bz2 b/usbredir-0.6.tar.bz2 new file mode 100644 index 0000000..6b4d7d8 Binary files /dev/null and b/usbredir-0.6.tar.bz2 differ diff --git a/usbredir_0.6-2.debian.tar.gz b/usbredir_0.6-2.debian.tar.gz new file mode 100644 index 0000000..80bda7a Binary files /dev/null and b/usbredir_0.6-2.debian.tar.gz differ