diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-12-30 06:44:13 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-12-30 06:44:13 +0800 |
commit | 225ff7f7caabadee0d63a179cb98bb5df77d5d35 (patch) | |
tree | 7c0badc91957993777c7b4f12c039946b6add613 | |
parent | bd565013001b607ebcfba769654724c2a7212cb1 (diff) | |
download | marcuscom-ports-225ff7f7caabadee0d63a179cb98bb5df77d5d35.tar marcuscom-ports-225ff7f7caabadee0d63a179cb98bb5df77d5d35.tar.gz marcuscom-ports-225ff7f7caabadee0d63a179cb98bb5df77d5d35.tar.bz2 marcuscom-ports-225ff7f7caabadee0d63a179cb98bb5df77d5d35.tar.lz marcuscom-ports-225ff7f7caabadee0d63a179cb98bb5df77d5d35.tar.xz marcuscom-ports-225ff7f7caabadee0d63a179cb98bb5df77d5d35.tar.zst marcuscom-ports-225ff7f7caabadee0d63a179cb98bb5df77d5d35.zip |
Update to 0.0.4.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1553 df743ca5-7f9a-e211-a948-0013205c9059
12 files changed, 2 insertions, 253 deletions
diff --git a/net/libgnetwork/Makefile b/net/libgnetwork/Makefile index a8f9773a4..11d416c83 100644 --- a/net/libgnetwork/Makefile +++ b/net/libgnetwork/Makefile @@ -6,7 +6,7 @@ # PORTNAME= libgnetwork -PORTVERSION= 0.0.3 +PORTVERSION= 0.0.4 CATEGORIES= net gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.0 diff --git a/net/libgnetwork/distinfo b/net/libgnetwork/distinfo index f6dd551fc..ebf5ee23b 100644 --- a/net/libgnetwork/distinfo +++ b/net/libgnetwork/distinfo @@ -1 +1 @@ -MD5 (gnome2/libgnetwork-0.0.3.tar.bz2) = 7debe5a991e4e49c1b484c0e2e6e590f +MD5 (gnome2/libgnetwork-0.0.4.tar.bz2) = 8945ba82695613a09f1947b10d80a9e8 diff --git a/net/libgnetwork/files/patch-libgnetwork_gnetwork-dns.c b/net/libgnetwork/files/patch-libgnetwork_gnetwork-dns.c deleted file mode 100644 index e34478b4f..000000000 --- a/net/libgnetwork/files/patch-libgnetwork_gnetwork-dns.c +++ /dev/null @@ -1,11 +0,0 @@ ---- libgnetwork/gnetwork-dns.c.orig Thu Dec 11 21:25:54 2003 -+++ libgnetwork/gnetwork-dns.c Thu Dec 11 21:27:13 2003 -@@ -33,6 +33,8 @@ - #include <time.h> - #include <netdb.h> - #include <string.h> -+#include <sys/types.h> -+#include <netinet/in.h> - #include <arpa/inet.h> - #include <sys/socket.h> - #include <netinet/in.h> diff --git a/net/libgnetwork/files/patch-libgnetwork_gnetwork-interfaces.c b/net/libgnetwork/files/patch-libgnetwork_gnetwork-interfaces.c deleted file mode 100644 index 68dfe19bc..000000000 --- a/net/libgnetwork/files/patch-libgnetwork_gnetwork-interfaces.c +++ /dev/null @@ -1,44 +0,0 @@ ---- libgnetwork/gnetwork-interfaces.c.orig Thu Dec 11 21:27:32 2003 -+++ libgnetwork/gnetwork-interfaces.c Thu Dec 11 23:33:27 2003 -@@ -34,11 +34,16 @@ - #include <unistd.h> - - /* Interfaces & Addresses */ -+#include <sys/types.h> - #include <sys/socket.h> - #include <netinet/in.h> - #include <net/if.h> -+#ifdef __linux__ - #include <netpacket/packet.h> - #include <netinet/ether.h> -+#else -+#include <net/ethernet.h> -+#endif - #include <ifaddrs.h> - #include <arpa/inet.h> - -@@ -72,7 +77,7 @@ - gchar *hw_address; - gchar *hw_broadcast_or_destination; - -- GNetworkInterfaceFlags flags:15; -+ GNetworkInterfaceFlags flags:16; - GNetworkProtocols protocols:3; - }; - -@@ -126,6 +131,7 @@ - _gnetwork_ip_address_set_from_sockaddr (&(info->ip6_netmask), data->ifa_netmask); - _gnetwork_ip_address_set_from_sockaddr (&(info->ip6_destination), data->ifa_dstaddr); - break; -+#ifdef AF_PACKET - case AF_PACKET: - info->protocols |= GNETWORK_PROTOCOL_PACKET; - -@@ -134,6 +140,7 @@ - info->hw_address = _gnetwork_sockaddr_get_address (data->ifa_addr); - info->hw_broadcast_or_destination = _gnetwork_sockaddr_get_address (data->ifa_dstaddr); - break; -+#endif - } - } - diff --git a/net/libgnetwork/files/patch-libgnetwork_gnetwork-interfaces.h b/net/libgnetwork/files/patch-libgnetwork_gnetwork-interfaces.h deleted file mode 100644 index 77fc35ef6..000000000 --- a/net/libgnetwork/files/patch-libgnetwork_gnetwork-interfaces.h +++ /dev/null @@ -1,44 +0,0 @@ ---- libgnetwork/gnetwork-interfaces.h.orig Thu Dec 11 21:17:13 2003 -+++ libgnetwork/gnetwork-interfaces.h Fri Dec 12 01:42:17 2003 -@@ -23,6 +23,8 @@ - #define __GNETWORK_INTERFACES_H__ - - #include <glib-object.h> -+#include <sys/types.h> -+#include <sys/socket.h> - #include <net/if.h> - - G_BEGIN_DECLS -@@ -45,16 +47,32 @@ - /* Special Types */ - GNETWORK_INTERFACE_IS_LOOPBACK = IFF_LOOPBACK, - GNETWORK_INTERFACE_IS_POINT_TO_POINT = IFF_POINTOPOINT, -+#ifdef IFF_MASTER - GNETWORK_INTERFACE_IS_LOAD_MASTER = IFF_MASTER, -+#endif -+#ifdef IFF_SLAVE - GNETWORK_INTERFACE_IS_LOAD_SLAVE = IFF_SLAVE, -+#endif - - /* Capabilities */ - GNETWORK_INTERFACE_CAN_BROADCAST = IFF_BROADCAST, - GNETWORK_INTERFACE_CAN_MULTICAST = IFF_MULTICAST, -+#ifdef IFF_NOTRAILERS - GNETWORK_INTERFACE_NO_TRAILERS = IFF_NOTRAILERS, -+#endif - GNETWORK_INTERFACE_NO_ARP = IFF_NOARP, -+#ifdef IFF_PORTSEL - GNETWORK_INTERFACE_CAN_SET_MEDIA = IFF_PORTSEL, -+#endif -+#ifdef IFF_ALTPHYS -+ GNETWORK_INTERFACE_CAN_MANAGE_ROUTES = IFF_ALTPHYS, -+#endif -+#ifdef IFF_ALTPHYS -+ GNETWORK_INTERFACE_ALT_CONN = IFF_ALTPHYS, -+#endif -+#ifdef IFF_AUTOMEDIA - GNETWORK_INTERFACE_AUTOSELECTED_MEDIA = IFF_AUTOMEDIA, -+#endif - - /* Modes */ - GNETWORK_INTERFACE_RECV_ALL_PACKETS = IFF_PROMISC, diff --git a/net/libgnetwork/files/patch-libgnetwork_gnetwork-ip-address.c b/net/libgnetwork/files/patch-libgnetwork_gnetwork-ip-address.c deleted file mode 100644 index 2e56b39da..000000000 --- a/net/libgnetwork/files/patch-libgnetwork_gnetwork-ip-address.c +++ /dev/null @@ -1,11 +0,0 @@ ---- libgnetwork/gnetwork-ip-address.c.orig Thu Dec 11 23:26:37 2003 -+++ libgnetwork/gnetwork-ip-address.c Thu Dec 11 23:27:00 2003 -@@ -26,6 +26,8 @@ - #include "gnetwork-ip-address.h" - #include "gnetwork-utils.h" - -+#include <sys/types.h> -+#include <netinet/in.h> - #include <arpa/inet.h> - #include <unistd.h> - #include <string.h> diff --git a/net/libgnetwork/files/patch-libgnetwork_gnetwork-ip-multicast.c b/net/libgnetwork/files/patch-libgnetwork_gnetwork-ip-multicast.c deleted file mode 100644 index 8bbaedd8c..000000000 --- a/net/libgnetwork/files/patch-libgnetwork_gnetwork-ip-multicast.c +++ /dev/null @@ -1,13 +0,0 @@ ---- libgnetwork/gnetwork-ip-multicast.c.orig Thu Dec 11 23:27:11 2003 -+++ libgnetwork/gnetwork-ip-multicast.c Thu Dec 11 23:27:32 2003 -@@ -34,8 +34,9 @@ - - #include <glib/gi18n.h> - --#include <arpa/inet.h> - #include <sys/types.h> -+#include <netinet/in.h> -+#include <arpa/inet.h> - #include <sys/socket.h> - #include <netinet/in.h> - #include <string.h> diff --git a/net/libgnetwork/files/patch-libgnetwork_gnetwork-tcp-connection.c b/net/libgnetwork/files/patch-libgnetwork_gnetwork-tcp-connection.c deleted file mode 100644 index 6a5cfb5c2..000000000 --- a/net/libgnetwork/files/patch-libgnetwork_gnetwork-tcp-connection.c +++ /dev/null @@ -1,10 +0,0 @@ ---- libgnetwork/gnetwork-tcp-connection.c.orig Thu Dec 11 23:27:47 2003 -+++ libgnetwork/gnetwork-tcp-connection.c Thu Dec 11 23:28:04 2003 -@@ -42,6 +42,7 @@ - #include <fcntl.h> - #include <unistd.h> - #include <string.h> -+#include <netinet/in.h> - #include <arpa/inet.h> - #include <sys/time.h> - #include <sys/types.h> diff --git a/net/libgnetwork/files/patch-libgnetwork_gnetwork-type-builtins.c.template b/net/libgnetwork/files/patch-libgnetwork_gnetwork-type-builtins.c.template deleted file mode 100644 index 6dc201a78..000000000 --- a/net/libgnetwork/files/patch-libgnetwork_gnetwork-type-builtins.c.template +++ /dev/null @@ -1,12 +0,0 @@ ---- libgnetwork/gnetwork-type-builtins.c.template.orig Fri Dec 12 01:47:18 2003 -+++ libgnetwork/gnetwork-type-builtins.c.template Fri Dec 12 01:48:31 2003 -@@ -26,7 +26,9 @@ - - - /*** BEGIN value-production ***/ -+#ifdef @VALUENAME@ - { @VALUENAME@, "@VALUENAME@", "@valuenick@" }, -+#endif - /*** END value-production ***/ - - diff --git a/net/libgnetwork/files/patch-libgnetwork_gnetwork-udp-datagram.c b/net/libgnetwork/files/patch-libgnetwork_gnetwork-udp-datagram.c deleted file mode 100644 index 1a69ce454..000000000 --- a/net/libgnetwork/files/patch-libgnetwork_gnetwork-udp-datagram.c +++ /dev/null @@ -1,38 +0,0 @@ ---- libgnetwork/gnetwork-udp-datagram.c.orig Thu Dec 11 23:28:22 2003 -+++ libgnetwork/gnetwork-udp-datagram.c Thu Dec 11 23:31:01 2003 -@@ -40,6 +40,7 @@ - #include <errno.h> - #include <fcntl.h> - #include <unistd.h> -+#include <netinet/in.h> - #include <arpa/inet.h> - #include <sys/types.h> - #include <sys/socket.h> -@@ -208,8 +209,13 @@ - sa = g_malloc0 (sa_size); - - errno = 0; -+#ifdef MSG_NOSIGNAL - bytes_done = recvfrom (udp->_priv->sockfd, buffer, udp->_priv->buffer_size, MSG_NOSIGNAL, - sa, &sa_size); -+#else -+ bytes_done = recvfrom (udp->_priv->sockfd, buffer, udp->_priv->buffer_size, 0, -+ sa, &sa_size); -+#endif - en = errno; - - target->hostname = NULL; -@@ -281,8 +287,13 @@ - &sa_size); - - errno = 0; -+#ifdef MSG_NOSIGNAL - bytes_done = sendto (udp->_priv->sockfd, item->data, item->length, MSG_NOSIGNAL, sa, - sa_size); -+#else -+ bytes_done = sendto (udp->_priv->sockfd, item->data, item->length, 0, sa, -+ sa_size); -+#endif - en = errno; - g_free (sa); - diff --git a/net/libgnetwork/files/patch-libgnetwork_gnetwork-utils.c b/net/libgnetwork/files/patch-libgnetwork_gnetwork-utils.c deleted file mode 100644 index cc91dde25..000000000 --- a/net/libgnetwork/files/patch-libgnetwork_gnetwork-utils.c +++ /dev/null @@ -1,44 +0,0 @@ ---- libgnetwork/gnetwork-utils.c.orig Thu Dec 11 23:31:20 2003 -+++ libgnetwork/gnetwork-utils.c Thu Dec 11 23:32:55 2003 -@@ -30,8 +30,13 @@ - #include <errno.h> - - #include <net/if.h> -+#ifdef __linux__ - #include <netpacket/packet.h> - #include <netinet/ether.h> -+#else -+#include <net/ethernet.h> -+#endif -+#include <netinet/in.h> - #include <arpa/inet.h> - - #include <unistd.h> -@@ -269,6 +274,7 @@ - inet_ntop (sock->sa_family, &(((struct sockaddr_in6 *) sock)->sin6_addr), address, - INET_ADDRESS_SIZE); - break; -+#ifdef AF_PACKET - case AF_PACKET: - switch (((struct sockaddr_ll *) sock)->sll_halen) - { -@@ -285,6 +291,7 @@ - break; - } - break; -+#endif - } - - return (address[0] != '\0' ? g_strdup (address) : NULL); -@@ -335,9 +342,11 @@ - case AF_INET6: - retval = GNETWORK_PROTOCOL_IPv6; - break; -+#ifdef AF_PACKET - case AF_PACKET: - retval = GNETWORK_PROTOCOL_PACKET; - break; -+#endif - default: - break; - } diff --git a/net/libgnetwork/pkg-plist b/net/libgnetwork/pkg-plist index d8419bcaa..23ca76d29 100644 --- a/net/libgnetwork/pkg-plist +++ b/net/libgnetwork/pkg-plist @@ -22,33 +22,9 @@ lib/libgnetwork-1.0.a lib/libgnetwork-1.0.so lib/libgnetwork-1.0.so.0 libdata/pkgconfig/libgnetwork-1.0.pc -%%DOCSDIR%%/GNetworkConnection.html -%%DOCSDIR%%/GNetworkDatagram.html -%%DOCSDIR%%/GNetworkIpMulticast.html -%%DOCSDIR%%/GNetworkServer.html -%%DOCSDIR%%/GNetworkTcpConnection.html -%%DOCSDIR%%/GNetworkTcpServer.html -%%DOCSDIR%%/GNetworkUdpDatagram.html -%%DOCSDIR%%/GNetworkUnixConnection.html -%%DOCSDIR%%/GNetworkUnixServer.html -%%DOCSDIR%%/api-reference.html -%%DOCSDIR%%/compiling.html %%DOCSDIR%%/home.png -%%DOCSDIR%%/index.html -%%DOCSDIR%%/index.sgml -%%DOCSDIR%%/introduction.html %%DOCSDIR%%/left.png -%%DOCSDIR%%/libgnetwork-DNS-Lookups.html -%%DOCSDIR%%/libgnetwork-Error-Reporting.html -%%DOCSDIR%%/libgnetwork-IP-Addresses.html -%%DOCSDIR%%/libgnetwork-Local-Interfaces.html -%%DOCSDIR%%/libgnetwork-Proxy-Support.html -%%DOCSDIR%%/libgnetwork-SSL-Certificates.html -%%DOCSDIR%%/libgnetwork-Thread-Support.html -%%DOCSDIR%%/libgnetwork.devhelp -%%DOCSDIR%%/low-level-api.html %%DOCSDIR%%/right.png -%%DOCSDIR%%/tutorials.html %%DOCSDIR%%/up.png @dirrm %%DOCSDIR%% @dirrm include/libgnetwork-1.0/libgnetwork |