Update to 0.60.
This commit is contained in:
parent
dff72ba61f
commit
a669dc1c3c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152497
9 changed files with 53 additions and 52 deletions
|
@ -6,8 +6,8 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= dbus
|
PORTNAME= dbus
|
||||||
PORTVERSION= 0.50
|
PORTVERSION= 0.60
|
||||||
PORTREVISION?= 1
|
PORTREVISION?= 0
|
||||||
CATEGORIES?= devel gnome
|
CATEGORIES?= devel gnome
|
||||||
MASTER_SITES= http://dbus.freedesktop.org/releases/
|
MASTER_SITES= http://dbus.freedesktop.org/releases/
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ USE_REINPLACE= yes
|
||||||
CONFIGURE_ARGS?=--disable-gtk \
|
CONFIGURE_ARGS?=--disable-gtk \
|
||||||
--disable-python \
|
--disable-python \
|
||||||
--disable-gcj \
|
--disable-gcj \
|
||||||
|
--disable-qt \
|
||||||
--disable-mono \
|
--disable-mono \
|
||||||
--disable-mono-docs \
|
--disable-mono-docs \
|
||||||
--with-system-pid-file=/var/run/dbus.pid \
|
--with-system-pid-file=/var/run/dbus.pid \
|
||||||
|
@ -50,12 +51,11 @@ MAN1= dbus-cleanup-sockets.1 dbus-daemon.1 dbus-launch.1 \
|
||||||
|
|
||||||
.if !defined(DBUS_SLAVE)
|
.if !defined(DBUS_SLAVE)
|
||||||
.if defined(WITH_QT) && !defined(WITHOUT_QT)
|
.if defined(WITH_QT) && !defined(WITHOUT_QT)
|
||||||
CONFIGURE_ARGS+=--enable-qt
|
CONFIGURE_ARGS+=--enable-qt3
|
||||||
CONFIGURE_ENV+= QTDIR=${X11BASE}
|
CONFIGURE_ENV+= QTDIR=${X11BASE}
|
||||||
LIB_DEPENDS+= qt-mt:${PORTSDIR}/x11-toolkits/qt33
|
LIB_DEPENDS+= qt-mt:${PORTSDIR}/x11-toolkits/qt33
|
||||||
PLIST_SUB+= QT=""
|
PLIST_SUB+= QT=""
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+=--disable-qt
|
|
||||||
PLIST_SUB+= QT="@comment "
|
PLIST_SUB+= QT="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -76,6 +76,7 @@ post-install:
|
||||||
.else
|
.else
|
||||||
.if defined(PKGNAMEPREFIX)
|
.if defined(PKGNAMEPREFIX)
|
||||||
.if ${PKGNAMEPREFIX}==${PYTHON_PKGNAMEPREFIX} && ${OSVERSION} < 500000
|
.if ${PKGNAMEPREFIX}==${PYTHON_PKGNAMEPREFIX} && ${OSVERSION} < 500000
|
||||||
|
# Ignore for py-dbus
|
||||||
IGNORE= Does not build on 4.X
|
IGNORE= Does not build on 4.X
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (dbus-0.50.tar.gz) = 1addd5b600a8a4550766005d1f59401b
|
MD5 (dbus-0.60.tar.gz) = da9561b5e579cedddc34f53427e99a93
|
||||||
SHA256 (dbus-0.50.tar.gz) = 3a8375c935f0c7b87cdd25f0408da963836fdce23390bb1b81cc6bd6ee7951c5
|
SHA256 (dbus-0.60.tar.gz) = 32ff1b1c7388cd2bfd4a23d4b9f460b2265579f1e097f0d4c0261c7e00adf8a8
|
||||||
SIZE (dbus-0.50.tar.gz) = 1610305
|
SIZE (dbus-0.60.tar.gz) = 1674899
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
#
|
#
|
||||||
# PROVIDE: dbus
|
# PROVIDE: dbus
|
||||||
# REQUIRE: DAEMON
|
# REQUIRE: DAEMON
|
||||||
# KEYWORD: FreeBSD
|
|
||||||
#
|
#
|
||||||
# Add the following lines to /etc/rc.conf to enable the D-BUS messaging system:
|
# Add the following lines to /etc/rc.conf to enable the D-BUS messaging system:
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
#
|
#
|
||||||
# PROVIDE: dbus
|
# PROVIDE: dbus
|
||||||
# REQUIRE: DAEMON
|
# REQUIRE: DAEMON
|
||||||
# KEYWORD: FreeBSD
|
|
||||||
#
|
#
|
||||||
# Add the following lines to /etc/rc.conf to enable the D-BUS messaging system:
|
# Add the following lines to /etc/rc.conf to enable the D-BUS messaging system:
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
--- configure.orig Sun Sep 11 15:30:46 2005
|
--- configure.orig Sat Dec 31 13:22:23 2005
|
||||||
+++ configure Sun Sep 11 15:30:46 2005
|
+++ configure Sat Dec 31 13:30:51 2005
|
||||||
@@ -1059,6 +1059,7 @@
|
@@ -1053,6 +1053,7 @@
|
||||||
optimize for fast installation [default=yes]
|
--enable-python build python bindings
|
||||||
--disable-libtool-lock avoid locking (might break parallel builds)
|
--enable-selinux build with SELinux support
|
||||||
--disable-dnotify Disable using dnotify on Linux
|
--enable-dnotify build with dnotify support (linux only)
|
||||||
+ --disable-kqueue Disable using kqueue on FreeBSD
|
+ --enable-kqueue build with kqueue support (FreeBSD only)
|
||||||
|
--enable-shared[=PKGS]
|
||||||
Optional Packages:
|
build shared libraries [default=yes]
|
||||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
--enable-static[=PKGS]
|
||||||
@@ -4485,7 +4486,7 @@
|
@@ -4500,7 +4501,7 @@
|
||||||
|
|
||||||
case " $CFLAGS " in
|
case " $CFLAGS " in
|
||||||
*[\ \ ]-Wfloat-equal[\ \ ]*) ;;
|
*[\ \ ]-Wfloat-equal[\ \ ]*) ;;
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case " $CFLAGS " in
|
case " $CFLAGS " in
|
||||||
@@ -28088,6 +28089,32 @@
|
@@ -28240,6 +28241,31 @@
|
||||||
|
|
||||||
cat >>confdefs.h <<\_ACEOF
|
cat >>confdefs.h <<\_ACEOF
|
||||||
#define DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX 1
|
#define DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX 1
|
||||||
|
@ -29,21 +29,20 @@
|
||||||
+case "${target_os}" in
|
+case "${target_os}" in
|
||||||
+ freebsd*)
|
+ freebsd*)
|
||||||
+ # Check whether --enable-kqueue or --disable-kqueue was given.
|
+ # Check whether --enable-kqueue or --disable-kqueue was given.
|
||||||
+if test "${enable_kqueue+set}" = set; then
|
+ if test "${enable_kqueue+set}" = set; then
|
||||||
+ enableval="$enable_kqueue"
|
+ enableval="$enable_kqueue"
|
||||||
+ case "${enableval}" in
|
+ enable_kqueue=$enableval
|
||||||
+ yes) kqueue=false ;;
|
+ else
|
||||||
+ no) kqueue=true ;;
|
+ enable_kqueue=auto
|
||||||
+ *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-kqueue" >&5
|
+ fi;
|
||||||
+echo "$as_me: error: bad value ${enableval} for --disable-kqueue" >&2;}
|
+ if test x$enable_kqueue = xno ; then
|
||||||
+ { (exit 1); exit 1; }; } ;;
|
+ have_kqueue=no;
|
||||||
+ esac
|
+ else
|
||||||
+else
|
+ have_kqueue=yes;
|
||||||
+ kqueue=true
|
+ fi
|
||||||
+fi;
|
|
||||||
+;;
|
+;;
|
||||||
+esac
|
+esac
|
||||||
+if test x$kqueue = xtrue; then
|
+if test x$have_kqueue = xyes; then
|
||||||
+
|
+
|
||||||
+cat >>confdefs.h <<\_ACEOF
|
+cat >>confdefs.h <<\_ACEOF
|
||||||
+#define DBUS_BUS_ENABLE_KQUEUE_ON_FREEBSD 1
|
+#define DBUS_BUS_ENABLE_KQUEUE_ON_FREEBSD 1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- dbus/dbus-sysdeps.c.orig Wed Aug 3 13:42:56 2005
|
--- dbus/dbus-sysdeps.c.orig Tue Nov 22 15:37:00 2005
|
||||||
+++ dbus/dbus-sysdeps.c Wed Aug 24 00:36:20 2005
|
+++ dbus/dbus-sysdeps.c Sat Dec 31 13:08:04 2005
|
||||||
@@ -742,16 +742,16 @@ write_credentials_byte (int
|
@@ -781,16 +781,16 @@ write_credentials_byte (int
|
||||||
{
|
{
|
||||||
int bytes_written;
|
int bytes_written;
|
||||||
char buf[1] = { '\0' };
|
char buf[1] = { '\0' };
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
iov.iov_base = buf;
|
iov.iov_base = buf;
|
||||||
iov.iov_len = 1;
|
iov.iov_len = 1;
|
||||||
|
|
||||||
@@ -759,10 +759,10 @@ write_credentials_byte (int
|
@@ -798,10 +798,10 @@ write_credentials_byte (int
|
||||||
msg.msg_iov = &iov;
|
msg.msg_iov = &iov;
|
||||||
msg.msg_iovlen = 1;
|
msg.msg_iovlen = 1;
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
cmsg.hdr.cmsg_level = SOL_SOCKET;
|
cmsg.hdr.cmsg_level = SOL_SOCKET;
|
||||||
cmsg.hdr.cmsg_type = SCM_CREDS;
|
cmsg.hdr.cmsg_type = SCM_CREDS;
|
||||||
#endif
|
#endif
|
||||||
@@ -771,7 +771,7 @@ write_credentials_byte (int
|
@@ -810,7 +810,7 @@ write_credentials_byte (int
|
||||||
|
|
||||||
again:
|
again:
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
bytes_written = sendmsg (server_fd, &msg, 0);
|
bytes_written = sendmsg (server_fd, &msg, 0);
|
||||||
#else
|
#else
|
||||||
bytes_written = write (server_fd, buf, 1);
|
bytes_written = write (server_fd, buf, 1);
|
||||||
@@ -829,9 +829,10 @@ _dbus_read_credentials_unix_socket (int
|
@@ -868,9 +868,10 @@ _dbus_read_credentials_unix_socket (int
|
||||||
char buf;
|
char buf;
|
||||||
|
|
||||||
#ifdef HAVE_CMSGCRED
|
#ifdef HAVE_CMSGCRED
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
} cmsg;
|
} cmsg;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -847,7 +848,7 @@ _dbus_read_credentials_unix_socket (int
|
@@ -886,7 +887,7 @@ _dbus_read_credentials_unix_socket (int
|
||||||
|
|
||||||
_dbus_credentials_clear (credentials);
|
_dbus_credentials_clear (credentials);
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
/* Set the socket to receive credentials on the next message */
|
/* Set the socket to receive credentials on the next message */
|
||||||
{
|
{
|
||||||
int on = 1;
|
int on = 1;
|
||||||
@@ -868,8 +869,8 @@ _dbus_read_credentials_unix_socket (int
|
@@ -907,8 +908,8 @@ _dbus_read_credentials_unix_socket (int
|
||||||
|
|
||||||
#ifdef HAVE_CMSGCRED
|
#ifdef HAVE_CMSGCRED
|
||||||
memset (&cmsg, 0, sizeof (cmsg));
|
memset (&cmsg, 0, sizeof (cmsg));
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
again:
|
again:
|
||||||
@@ -892,7 +893,8 @@ _dbus_read_credentials_unix_socket (int
|
@@ -931,7 +932,8 @@ _dbus_read_credentials_unix_socket (int
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_CMSGCRED
|
#ifdef HAVE_CMSGCRED
|
||||||
|
@ -87,7 +87,7 @@
|
||||||
{
|
{
|
||||||
dbus_set_error (error, DBUS_ERROR_FAILED,
|
dbus_set_error (error, DBUS_ERROR_FAILED,
|
||||||
"Message from recvmsg() was not SCM_CREDS");
|
"Message from recvmsg() was not SCM_CREDS");
|
||||||
@@ -920,9 +922,10 @@ _dbus_read_credentials_unix_socket (int
|
@@ -959,9 +961,10 @@ _dbus_read_credentials_unix_socket (int
|
||||||
cr_len, (int) sizeof (cr), _dbus_strerror (errno));
|
cr_len, (int) sizeof (cr), _dbus_strerror (errno));
|
||||||
}
|
}
|
||||||
#elif defined(HAVE_CMSGCRED)
|
#elif defined(HAVE_CMSGCRED)
|
||||||
|
@ -98,6 +98,6 @@
|
||||||
+ credentials->pid = cred->cmcred_pid;
|
+ credentials->pid = cred->cmcred_pid;
|
||||||
+ credentials->uid = cred->cmcred_euid;
|
+ credentials->uid = cred->cmcred_euid;
|
||||||
+ credentials->gid = cred->cmcred_groups[0];
|
+ credentials->gid = cred->cmcred_groups[0];
|
||||||
#else /* !SO_PEERCRED && !HAVE_CMSGCRED */
|
#elif defined(HAVE_GETPEEREID)
|
||||||
_dbus_verbose ("Socket credentials not supported on this OS\n");
|
uid_t euid;
|
||||||
#endif
|
gid_t egid;
|
||||||
|
|
|
@ -33,13 +33,13 @@ include/dbus-%%VERSION%%/dbus/dbus.h
|
||||||
include/dbus-%%VERSION%%/include/dbus/dbus-arch-deps.h
|
include/dbus-%%VERSION%%/include/dbus/dbus-arch-deps.h
|
||||||
lib/libdbus-1.a
|
lib/libdbus-1.a
|
||||||
lib/libdbus-1.so
|
lib/libdbus-1.so
|
||||||
lib/libdbus-1.so.1
|
lib/libdbus-1.so.2
|
||||||
lib/libdbus-glib-1.a
|
lib/libdbus-glib-1.a
|
||||||
lib/libdbus-glib-1.so
|
lib/libdbus-glib-1.so
|
||||||
lib/libdbus-glib-1.so.1
|
lib/libdbus-glib-1.so.2
|
||||||
%%QT%%lib/libdbus-qt-1.a
|
%%QT%%lib/libdbus-qt-1.a
|
||||||
%%QT%%lib/libdbus-qt-1.so
|
%%QT%%lib/libdbus-qt-1.so
|
||||||
%%QT%%lib/libdbus-qt-1.so.1
|
%%QT%%lib/libdbus-qt-1.so.2
|
||||||
libdata/pkgconfig/dbus-1.pc
|
libdata/pkgconfig/dbus-1.pc
|
||||||
libdata/pkgconfig/dbus-glib-1.pc
|
libdata/pkgconfig/dbus-glib-1.pc
|
||||||
@exec mkdir -p %D/etc/dbus-1/system.d
|
@exec mkdir -p %D/etc/dbus-1/system.d
|
||||||
|
|
|
@ -12,7 +12,7 @@ MAINTAINER= gnome@FreeBSD.org
|
||||||
COMMENT= Python interface to the D-BUS messaging system
|
COMMENT= Python interface to the D-BUS messaging system
|
||||||
|
|
||||||
BUILD_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex
|
BUILD_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex
|
||||||
LIB_DEPENDS= dbus-1.1:${PORTSDIR}/devel/dbus
|
LIB_DEPENDS= dbus-1.2:${PORTSDIR}/devel/dbus
|
||||||
RUN_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex
|
RUN_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../dbus
|
MASTERDIR= ${.CURDIR}/../dbus
|
||||||
|
@ -32,7 +32,7 @@ CONFIGURE_ARGS= --enable-python \
|
||||||
--disable-mono \
|
--disable-mono \
|
||||||
--disable-mono-docs \
|
--disable-mono-docs \
|
||||||
--disable-gtk \
|
--disable-gtk \
|
||||||
--disable-qt \
|
--disable-qt3 \
|
||||||
--with-system-pid-file=/var/run/dbus.pid \
|
--with-system-pid-file=/var/run/dbus.pid \
|
||||||
--with-system-socket=/var/run/dbus \
|
--with-system-socket=/var/run/dbus \
|
||||||
--with-session-socket-dir=/var/tmp \
|
--with-session-socket-dir=/var/tmp \
|
||||||
|
|
|
@ -19,6 +19,9 @@ lib/%%PYTHON_VERSION%%/site-packages/dbus/exceptions.pyo
|
||||||
lib/%%PYTHON_VERSION%%/site-packages/dbus/glib.py
|
lib/%%PYTHON_VERSION%%/site-packages/dbus/glib.py
|
||||||
lib/%%PYTHON_VERSION%%/site-packages/dbus/glib.pyc
|
lib/%%PYTHON_VERSION%%/site-packages/dbus/glib.pyc
|
||||||
lib/%%PYTHON_VERSION%%/site-packages/dbus/glib.pyo
|
lib/%%PYTHON_VERSION%%/site-packages/dbus/glib.pyo
|
||||||
|
lib/%%PYTHON_VERSION%%/site-packages/dbus/introspect_parser.py
|
||||||
|
lib/%%PYTHON_VERSION%%/site-packages/dbus/introspect_parser.pyc
|
||||||
|
lib/%%PYTHON_VERSION%%/site-packages/dbus/introspect_parser.pyo
|
||||||
lib/%%PYTHON_VERSION%%/site-packages/dbus/matchrules.py
|
lib/%%PYTHON_VERSION%%/site-packages/dbus/matchrules.py
|
||||||
lib/%%PYTHON_VERSION%%/site-packages/dbus/matchrules.pyc
|
lib/%%PYTHON_VERSION%%/site-packages/dbus/matchrules.pyc
|
||||||
lib/%%PYTHON_VERSION%%/site-packages/dbus/matchrules.pyo
|
lib/%%PYTHON_VERSION%%/site-packages/dbus/matchrules.pyo
|
||||||
|
|
Loading…
Reference in a new issue