diff options
author | pav <pav@FreeBSD.org> | 2010-08-13 22:35:08 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2010-08-13 22:35:08 +0800 |
commit | beb78d7299d6f82aad3ac6eca917a83f7918d1d6 (patch) | |
tree | ab97cc9104d92839f13bbb8ba1e68ea4b312aa47 /comms | |
parent | 3092a66a3692428060794d32d45c312afe333311 (diff) | |
download | freebsd-ports-gnome-beb78d7299d6f82aad3ac6eca917a83f7918d1d6.tar.gz freebsd-ports-gnome-beb78d7299d6f82aad3ac6eca917a83f7918d1d6.tar.zst freebsd-ports-gnome-beb78d7299d6f82aad3ac6eca917a83f7918d1d6.zip |
- Update to 20100416
PR: ports/148085
Submitted by: Ganael Laplanche <ganael.laplanche@martymac.com> (maintainer)
Diffstat (limited to 'comms')
-rw-r--r-- | comms/uhso-kmod/Makefile | 24 | ||||
-rw-r--r-- | comms/uhso-kmod/distinfo | 12 | ||||
-rw-r--r-- | comms/uhso-kmod/files/UHSO-DEBUG-patch-Makefile | 11 | ||||
-rw-r--r-- | comms/uhso-kmod/files/UHSO-NODEBUG-patch-Makefile | 11 | ||||
-rw-r--r-- | comms/uhso-kmod/files/UHSOCTL-DEBUG-patch-Makefile | 13 | ||||
-rw-r--r-- | comms/uhso-kmod/files/UHSOCTL-NODEBUG-patch-Makefile | 10 | ||||
-rw-r--r-- | comms/uhso-kmod/files/patch-uhso.c | 12 |
7 files changed, 51 insertions, 42 deletions
diff --git a/comms/uhso-kmod/Makefile b/comms/uhso-kmod/Makefile index b329a5a2bbc7..4c6eb9606b3b 100644 --- a/comms/uhso-kmod/Makefile +++ b/comms/uhso-kmod/Makefile @@ -6,7 +6,7 @@ # PORTNAME= uhso -PORTVERSION= 20091122 +PORTVERSION= 20100416 CATEGORIES= comms kld MASTER_SITES= http://www.shapeshifter.se/pub/hso/ PKGNAMESUFFIX= -kmod @@ -38,25 +38,33 @@ IGNORE= requires FreeBSD 8.0 or later, please try comms/hso-kmod instead .endif .if !defined(WITHOUT_UHSOCTL) -UHSOCTL_VERSION= 20090820 -DISTFILES+= uhsoctl-beta-${UHSOCTL_VERSION}${EXTRACT_SUFX} -WRKSRC_UHSOCTL= ${WRKDIR}/uhsoctl-beta-${UHSOCTL_VERSION} +UHSOCTL_VERSION= 20100416 +DISTFILES+= uhsoctl-${UHSOCTL_VERSION}${EXTRACT_SUFX} +WRKSRC_UHSOCTL= ${WRKDIR}/uhsoctl-${UHSOCTL_VERSION} PLIST_SUB+= PL_UHSOCTL="" MAN1= uhsoctl.1 .else PLIST_SUB+= PL_UHSOCTL="@comment " .endif -.if defined(WITH_DEBUG) -EXTRA_PATCHES+= ${PATCHDIR}/UHSO-DEBUG-patch-Makefile +.if !defined(WITH_DEBUG) +EXTRA_PATCHES+= ${PATCHDIR}/UHSO-NODEBUG-patch-Makefile +.endif + +pre-fetch: +.if ${OSVERSION} >= 800501 + @${ECHO_CMD} "" + @${ECHO_CMD} "===================================================================" + @${ECHO_CMD} " Warning: the uhso driver is already available in the base system," + @${ECHO_CMD} " you may want to use this version instead of the port." + @${ECHO_CMD} "===================================================================" + @${ECHO_CMD} "" .endif post-patch: .if !defined(WITHOUT_UHSOCTL) .if defined(WITH_DEBUG) @${PATCH} -d ${WRKSRC_UHSOCTL} < ${PATCHDIR}/UHSOCTL-DEBUG-patch-Makefile -.else - @${PATCH} -d ${WRKSRC_UHSOCTL} < ${PATCHDIR}/UHSOCTL-NODEBUG-patch-Makefile .endif .endif diff --git a/comms/uhso-kmod/distinfo b/comms/uhso-kmod/distinfo index 9094607f7180..409726239bd3 100644 --- a/comms/uhso-kmod/distinfo +++ b/comms/uhso-kmod/distinfo @@ -1,6 +1,6 @@ -MD5 (uhso-20091122.tar.gz) = 68e96e3d6fab93ba9eab148c1ef79ca7 -SHA256 (uhso-20091122.tar.gz) = a861411fecbc1d1f1fb8910026eeafb6331a1a87ec6562f2b46797e92f1db043 -SIZE (uhso-20091122.tar.gz) = 14430 -MD5 (uhsoctl-beta-20090820.tar.gz) = cb430d12217511554a3d7f13385432db -SHA256 (uhsoctl-beta-20090820.tar.gz) = c512b821c632cd3a5295bae764d30654e2538f42357bca365a7cc9a9edae57b8 -SIZE (uhsoctl-beta-20090820.tar.gz) = 10626 +MD5 (uhso-20100416.tar.gz) = 872a36b0fa14e2ccf3b889b5fc582fb9 +SHA256 (uhso-20100416.tar.gz) = fd502c2c13914eb9aff4bd96453d848a1c6ab9bae8dcde4764082bfe87f4120a +SIZE (uhso-20100416.tar.gz) = 15215 +MD5 (uhsoctl-20100416.tar.gz) = 43db3ea161d52c83626da47ec5e968dc +SHA256 (uhsoctl-20100416.tar.gz) = 959899b55125e4840664caafbe8b43da2dc857ba00330825f83079c03aeef6e4 +SIZE (uhsoctl-20100416.tar.gz) = 10827 diff --git a/comms/uhso-kmod/files/UHSO-DEBUG-patch-Makefile b/comms/uhso-kmod/files/UHSO-DEBUG-patch-Makefile deleted file mode 100644 index ea138866128c..000000000000 --- a/comms/uhso-kmod/files/UHSO-DEBUG-patch-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.orig 2009-12-28 18:29:47.732668607 +0000 -+++ Makefile 2009-12-28 18:29:56.747883459 +0000 -@@ -2,7 +2,7 @@ - S= ${.CURDIR}/../.. - .PATH: $S/dev/usb - --#CFLAGS+= -DUSB_DEBUG=1 -DUHSO_DEBUG=2 -DUHSO_DEBUG_HEXDUMP=1 -g -+CFLAGS+= -DUSB_DEBUG=1 -DUHSO_DEBUG=2 -DUHSO_DEBUG_HEXDUMP=1 -g - KMOD= uhso - SRCS= opt_bus.h opt_usb.h device_if.h bus_if.h usbdevs.h uhso.c - diff --git a/comms/uhso-kmod/files/UHSO-NODEBUG-patch-Makefile b/comms/uhso-kmod/files/UHSO-NODEBUG-patch-Makefile new file mode 100644 index 000000000000..93c8e6d8c189 --- /dev/null +++ b/comms/uhso-kmod/files/UHSO-NODEBUG-patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2010-06-22 06:03:42.164699354 +0000 ++++ Makefile 2010-06-22 06:03:49.158604515 +0000 +@@ -2,7 +2,7 @@ + S= ${.CURDIR}/../.. + .PATH: $S/dev/usb + +-CFLAGS+= -DUSB_DEBUG=1 -DUHSO_DEBUG=0 -DUHSO_DEBUG_HEXDUMP=1 -g ++#CFLAGS+= -DUSB_DEBUG=1 -DUHSO_DEBUG=0 -DUHSO_DEBUG_HEXDUMP=1 -g + KMOD= uhso + SRCS= opt_bus.h opt_usb.h device_if.h bus_if.h usbdevs.h uhso.c + diff --git a/comms/uhso-kmod/files/UHSOCTL-DEBUG-patch-Makefile b/comms/uhso-kmod/files/UHSOCTL-DEBUG-patch-Makefile index 35396dbf377b..dbda91754d0d 100644 --- a/comms/uhso-kmod/files/UHSOCTL-DEBUG-patch-Makefile +++ b/comms/uhso-kmod/files/UHSOCTL-DEBUG-patch-Makefile @@ -1,11 +1,10 @@ ---- Makefile.orig 2009-08-19 14:41:30.923433005 +0000 -+++ Makefile 2009-08-19 14:42:03.472847525 +0000 -@@ -1,7 +1,7 @@ +--- Makefile.orig 2010-06-22 06:06:28.074431037 +0000 ++++ Makefile 2010-06-22 06:06:51.625986682 +0000 +@@ -1,6 +1,6 @@ SRCS= uhsoctl.c PROG= uhsoctl - CFLAGS+= -g --#CFLAGS+= -DDEBUG=1 -+CFLAGS+= -DDEBUG=1 +-#CFLAGS+= -g -DDEBUG=1 ++CFLAGS+= -g -DDEBUG=1 LDFLAGS+= -lutil DESTDIR?= /usr/local - + WARNS=1 diff --git a/comms/uhso-kmod/files/UHSOCTL-NODEBUG-patch-Makefile b/comms/uhso-kmod/files/UHSOCTL-NODEBUG-patch-Makefile deleted file mode 100644 index 38a01a5e7006..000000000000 --- a/comms/uhso-kmod/files/UHSOCTL-NODEBUG-patch-Makefile +++ /dev/null @@ -1,10 +0,0 @@ ---- Makefile.orig 2009-08-19 14:41:30.923433005 +0000 -+++ Makefile 2009-08-19 14:42:32.492341064 +0000 -@@ -1,6 +1,6 @@ - SRCS= uhsoctl.c - PROG= uhsoctl --CFLAGS+= -g -+#CFLAGS+= -g - #CFLAGS+= -DDEBUG=1 - LDFLAGS+= -lutil - DESTDIR?= /usr/local diff --git a/comms/uhso-kmod/files/patch-uhso.c b/comms/uhso-kmod/files/patch-uhso.c new file mode 100644 index 000000000000..da81779ae1d4 --- /dev/null +++ b/comms/uhso-kmod/files/patch-uhso.c @@ -0,0 +1,12 @@ +--- uhso.c.orig 2010-06-22 06:13:57.405352705 +0000 ++++ uhso.c 2010-06-22 06:14:13.902069815 +0000 +@@ -657,7 +657,8 @@ + static void + uhso_cd_read_callback(struct usb_xfer *xfer, usb_error_t error) + { +- struct uhso_cd_softc *sc = usbd_xfer_softc(xfer); ++ struct uhso_cd_softc *sc; ++ sc = usbd_xfer_softc(xfer); + + UHSO_DPRINTF(1, "sc=%p\n", sc); + } |