mirror of
https://git.freebsd.org/ports.git
synced 2025-05-07 03:16:44 -04:00
comms/usbmuxd: Update to latest git commit
This is needed to build with the rest of the libimobiledevice stack. See next commit for more details. PR: 280014 Reported by: <fabio.comolli@gmail.com>
This commit is contained in:
parent
2c3fb6ea50
commit
b5256acd11
3 changed files with 18 additions and 25 deletions
|
@ -1,8 +1,8 @@
|
||||||
PORTNAME= usbmuxd
|
PORTNAME= usbmuxd
|
||||||
DISTVERSION= 1.1.1
|
DISTVERSION= 1.1.1-58
|
||||||
PORTREVISION= 3
|
DISTVERSIONSUFFIX= -gbc0b91c
|
||||||
CATEGORIES= comms
|
CATEGORIES= comms
|
||||||
MASTER_SITES= https://github.com/libimobiledevice/${PORTNAME}/releases/download/${PORTVERSION}/
|
#MASTER_SITES= https://github.com/libimobiledevice/${PORTNAME}/releases/download/${DISTVERSION}/
|
||||||
|
|
||||||
MAINTAINER= jhale@FreeBSD.org
|
MAINTAINER= jhale@FreeBSD.org
|
||||||
COMMENT= Daemon for multiplexing connections over USB to iPhone/iPod Touch
|
COMMENT= Daemon for multiplexing connections over USB to iPhone/iPod Touch
|
||||||
|
@ -14,14 +14,17 @@ LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.GPLv2
|
||||||
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING.GPLv3
|
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING.GPLv3
|
||||||
|
|
||||||
LIB_DEPENDS= libplist-2.0.so:devel/libplist \
|
LIB_DEPENDS= libplist-2.0.so:devel/libplist \
|
||||||
libimobiledevice-1.0.so:comms/libimobiledevice
|
libimobiledevice-1.0.so:comms/libimobiledevice \
|
||||||
|
libimobiledevice-glue-1.0.so:comms/libimobiledevice-glue
|
||||||
|
|
||||||
USES= autoreconf cpe libtool localbase pathfix pkgconfig tar:bzip2
|
USES= autoreconf cpe libtool localbase pathfix pkgconfig
|
||||||
CPE_VENDOR= nikias_bassen
|
CPE_VENDOR= nikias_bassen
|
||||||
|
|
||||||
|
USE_GITHUB= yes
|
||||||
|
GH_ACCOUNT= libimobiledevice
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --without-systemd
|
CONFIGURE_ARGS= --without-systemd
|
||||||
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
|
|
||||||
|
|
||||||
SUB_LIST= USERS=${USERS} \
|
SUB_LIST= USERS=${USERS} \
|
||||||
GROUPS=${GROUPS}
|
GROUPS=${GROUPS}
|
||||||
|
@ -39,9 +42,12 @@ OPTIONS_DEFAULT= DEVD
|
||||||
DEVD_SUB_FILES= ${PORTNAME}.conf
|
DEVD_SUB_FILES= ${PORTNAME}.conf
|
||||||
DEVD_PLIST_FILES= etc/devd/${PORTNAME}.conf
|
DEVD_PLIST_FILES= etc/devd/${PORTNAME}.conf
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@echo "${DISTVERSIONFULL}" > ${WRKSRC}/.tarball-version
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||||
|
|
||||||
post-install-DEVD-on:
|
post-install-DEVD-on:
|
||||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/devd
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/devd
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1611089774
|
TIMESTAMP = 1720421685
|
||||||
SHA256 (usbmuxd-1.1.1.tar.bz2) = c0ec9700172bf635ccb5bed98daae607d2925c2bc3597f25706ecd9dfbfd2d9e
|
SHA256 (libimobiledevice-usbmuxd-1.1.1-58-gbc0b91c_GH0.tar.gz) = 2a88c8a27ba43cf00e9aed5b09791a5ce651758a87dc802954c73b0690ddacab
|
||||||
SIZE (usbmuxd-1.1.1.tar.bz2) = 345290
|
SIZE (libimobiledevice-usbmuxd-1.1.1-58-gbc0b91c_GH0.tar.gz) = 65593
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
client.c:210:18: error: use of undeclared identifier 'IPPROTO_TCP'
|
|
||||||
setsockopt(cfd, IPPROTO_TCP, TCP_NODELAY, (void*)&yes, sizeof(int));
|
|
||||||
|
|
||||||
--- src/client.c.orig 2020-06-09 16:20:07 UTC
|
|
||||||
+++ src/client.c
|
|
||||||
@@ -31,6 +31,7 @@
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
+#include <netinet/in.h>
|
|
||||||
#include <netinet/tcp.h>
|
|
||||||
#include <sys/un.h>
|
|
||||||
#include <arpa/inet.h>
|
|
Loading…
Add table
Reference in a new issue