Index: head/devel/dbus-sharp/Makefile =================================================================== --- head/devel/dbus-sharp/Makefile (revision 440837) +++ head/devel/dbus-sharp/Makefile (revision 440838) @@ -1,28 +1,27 @@ # Created by: Tom McLaughlin # $FreeBSD$ PORTNAME= dbus-sharp -PORTVERSION= 0.7.0 -PORTREVISION= 2 +PORTVERSION= 0.8.1 +DISTVERSIONPREFIX=v PORTEPOCH= 1 CATEGORIES= devel gnome -MASTER_SITES= GHC MAINTAINER= mono@FreeBSD.org COMMENT= Mono interface to the D-BUS messaging system LICENSE= MIT GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_path_GMCS=${LOCALBASE}/bin/mcs -USES= gmake mono pathfix pkgconfig +USES= autoreconf gmake mono pathfix pkgconfig USE_GITHUB= yes GH_ACCOUNT= mono post-patch: # libc.so is an LD script not usable by dllmap, so we have to set a proper # version number. @${REINPLACE_CMD} -e 's|libc.so.6|libc.so.7|' \ ${WRKSRC}/src/dbus-sharp.dll.config .include Index: head/devel/dbus-sharp/distinfo =================================================================== --- head/devel/dbus-sharp/distinfo (revision 440837) +++ head/devel/dbus-sharp/distinfo (revision 440838) @@ -1,2 +1,3 @@ -SHA256 (dbus-sharp-0.7.0.tar.gz) = 92529aef9063f477d1975947c6388c63d03234018f45d007c07716dd3e21dd41 -SIZE (dbus-sharp-0.7.0.tar.gz) = 127651 +TIMESTAMP = 1494680419 +SHA256 (mono-dbus-sharp-v0.8.1_GH0.tar.gz) = 531011702c544fd8861751668b95ade8cf1aa2254838c934a02c3b4367b92b63 +SIZE (mono-dbus-sharp-v0.8.1_GH0.tar.gz) = 83110 Index: head/devel/dbus-sharp/files/patch-src_UnixNativeTransport.cs =================================================================== --- head/devel/dbus-sharp/files/patch-src_UnixNativeTransport.cs (revision 440837) +++ head/devel/dbus-sharp/files/patch-src_UnixNativeTransport.cs (nonexistent) @@ -1,34 +0,0 @@ ---- src/UnixNativeTransport.cs.orig -+++ src/UnixNativeTransport.cs -@@ -93,10 +93,15 @@ - - byte[] sa = new byte[2 + p.Length + 1]; - -+#if false - //we use BitConverter to stay endian-safe - byte[] afData = BitConverter.GetBytes (UnixSocket.AF_UNIX); - sa[0] = afData[0]; - sa[1] = afData[1]; -+#endif -+ -+ sa[0] = (byte) sa.Length; -+ sa[1] = 1; /* AF_UNIX */ - - for (int i = 0 ; i != p.Length ; i++) - sa[2 + i] = p[i]; -@@ -111,10 +116,15 @@ - - byte[] sa = new byte[2 + 1 + p.Length]; - -+#if false - //we use BitConverter to stay endian-safe - byte[] afData = BitConverter.GetBytes (UnixSocket.AF_UNIX); - sa[0] = afData[0]; - sa[1] = afData[1]; -+#endif -+ -+ sa[0] = (byte) sa.Length; -+ sa[1] = 1; /* AF_UNIX */ - - sa[2] = 0; //null prefix for abstract domain socket addresses, see unix(7) - for (int i = 0 ; i != p.Length ; i++) Property changes on: head/devel/dbus-sharp/files/patch-src_UnixNativeTransport.cs ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/dbus-sharp/files/patch-src_Transports_UnixNativeTransport.cs =================================================================== --- head/devel/dbus-sharp/files/patch-src_Transports_UnixNativeTransport.cs (nonexistent) +++ head/devel/dbus-sharp/files/patch-src_Transports_UnixNativeTransport.cs (revision 440838) @@ -0,0 +1,31 @@ + +$FreeBSD$ + +--- src/Transports/UnixNativeTransport.cs.orig 2014-06-24 17:10:54 UTC ++++ src/Transports/UnixNativeTransport.cs +@@ -94,10 +94,8 @@ namespace DBus.Transports + + byte[] sa = new byte[2 + p.Length + 1]; + +- //we use BitConverter to stay endian-safe +- byte[] afData = BitConverter.GetBytes (UnixSocket.AF_UNIX); +- sa[0] = afData[0]; +- sa[1] = afData[1]; ++ sa[0] = (byte) sa.Length; ++ sa[1] = 1; /* AF_UNIX */ + + for (int i = 0 ; i != p.Length ; i++) + sa[2 + i] = p[i]; +@@ -112,10 +110,8 @@ namespace DBus.Transports + + byte[] sa = new byte[2 + 1 + p.Length]; + +- //we use BitConverter to stay endian-safe +- byte[] afData = BitConverter.GetBytes (UnixSocket.AF_UNIX); +- sa[0] = afData[0]; +- sa[1] = afData[1]; ++ sa[0] = (byte) sa.Length; ++ sa[1] = 1; /* AF_UNIX */ + + sa[2] = 0; //null prefix for abstract domain socket addresses, see unix(7) + for (int i = 0 ; i != p.Length ; i++) Property changes on: head/devel/dbus-sharp/files/patch-src_Transports_UnixNativeTransport.cs ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/dbus-sharp/pkg-plist =================================================================== --- head/devel/dbus-sharp/pkg-plist (revision 440837) +++ head/devel/dbus-sharp/pkg-plist (revision 440838) @@ -1,5 +1,5 @@ -lib/mono/dbus-sharp-1.0/dbus-sharp.dll -lib/mono/gac/dbus-sharp/1.0.0.0__5675b0c3093115b5/dbus-sharp.dll -lib/mono/gac/dbus-sharp/1.0.0.0__5675b0c3093115b5/dbus-sharp.dll.config -lib/mono/gac/dbus-sharp/1.0.0.0__5675b0c3093115b5/dbus-sharp.dll.mdb -libdata/pkgconfig/dbus-sharp-1.0.pc +lib/mono/dbus-sharp-2.0/dbus-sharp.dll +lib/mono/gac/dbus-sharp/2.0.0.0__5675b0c3093115b5/dbus-sharp.dll +lib/mono/gac/dbus-sharp/2.0.0.0__5675b0c3093115b5/dbus-sharp.dll.config +lib/mono/gac/dbus-sharp/2.0.0.0__5675b0c3093115b5/dbus-sharp.dll.mdb +libdata/pkgconfig/dbus-sharp-2.0.pc