Index: head/net-mgmt/Makefile =================================================================== --- head/net-mgmt/Makefile (revision 372096) +++ head/net-mgmt/Makefile (revision 372097) @@ -1,327 +1,328 @@ # $FreeBSD$ # COMMENT = Network management tools SUBDIR += 2ping SUBDIR += TkTopNetFlows SUBDIR += aggregate SUBDIR += aircrack-ng SUBDIR += ap-utils SUBDIR += argus3 SUBDIR += argus3-clients SUBDIR += arpalert SUBDIR += arpscan SUBDIR += arpwatch SUBDIR += arts++ SUBDIR += bandwidthd SUBDIR += bgpq SUBDIR += bgpq3 SUBDIR += bpft SUBDIR += braa SUBDIR += bsnmp-jails SUBDIR += bsnmp-regex SUBDIR += bsnmp-ucd SUBDIR += bsnmptools SUBDIR += bwm-ng SUBDIR += cacti SUBDIR += cacti-spine + SUBDIR += ccnet SUBDIR += cdpd SUBDIR += cdpr SUBDIR += centreon-clib SUBDIR += check_logfiles SUBDIR += check_multi SUBDIR += check_mysql_health SUBDIR += chillispot SUBDIR += choparp SUBDIR += cidr SUBDIR += ciscoconf SUBDIR += clog SUBDIR += cnagios SUBDIR += collectd SUBDIR += collectd5 SUBDIR += confregdecode SUBDIR += coovachilli SUBDIR += cowpatty SUBDIR += cricket SUBDIR += darkstat SUBDIR += devmon SUBDIR += devmon-templates SUBDIR += dhcdrop SUBDIR += disco SUBDIR += docsis SUBDIR += driftnet SUBDIR += ehnt SUBDIR += etherape SUBDIR += ettercap SUBDIR += ezradius SUBDIR += fetchconfig SUBDIR += flow-extract SUBDIR += flow-tools SUBDIR += flow-tools-ng SUBDIR += flowd SUBDIR += flowviewer SUBDIR += fprobe SUBDIR += glpi-plugins-fusioninventory-server SUBDIR += glpi-plugins-tracker-agent SUBDIR += glpi-plugins-tracker-server SUBDIR += grepcidr SUBDIR += grepip SUBDIR += gsnmp SUBDIR += guifi-snpservices SUBDIR += hastmon SUBDIR += hawk SUBDIR += icinga SUBDIR += icinga2 SUBDIR += icli SUBDIR += icmpmonitor SUBDIR += icmpquery SUBDIR += iftop SUBDIR += iog SUBDIR += ipacctd SUBDIR += ipaudit SUBDIR += ipcad SUBDIR += ipcalc SUBDIR += ipfm SUBDIR += ipplan SUBDIR += ipv6calc SUBDIR += ipv6gen SUBDIR += ipv6mon SUBDIR += irrtoolset SUBDIR += isic SUBDIR += jnettop SUBDIR += kismet SUBDIR += lanmap SUBDIR += lg SUBDIR += libsmi SUBDIR += mbrowse SUBDIR += mk-livestatus SUBDIR += monitoring-plugins SUBDIR += mrtg SUBDIR += mrtg-ping-probe SUBDIR += mtrace SUBDIR += nagcon SUBDIR += nagios SUBDIR += nagios-certexp-plugin SUBDIR += nagios-check_bacula SUBDIR += nagios-check_bacula5 SUBDIR += nagios-check_clamav SUBDIR += nagios-check_cpu_usage SUBDIR += nagios-check_dhcp.pl SUBDIR += nagios-check_email_delivery SUBDIR += nagios-check_hdd_health SUBDIR += nagios-check_hp_bladechassis SUBDIR += nagios-check_memcached_paranoid SUBDIR += nagios-check_mysql_slave SUBDIR += nagios-check_netsnmp SUBDIR += nagios-check_ports SUBDIR += nagios-check_postgres SUBDIR += nagios-check_relayd_status SUBDIR += nagios-check_puppet SUBDIR += nagios-check_smartmon SUBDIR += nagios-check_tftp SUBDIR += nagios-pf-plugin SUBDIR += nagios-geom SUBDIR += nagios-openldap-plugins SUBDIR += nagios-plugins SUBDIR += nagios-snmp-plugins SUBDIR += nagios-snmp-plugins-extras SUBDIR += nagios-spamd-plugin SUBDIR += nagios4 SUBDIR += nagiosagent SUBDIR += nagiosgraph SUBDIR += nagiosql SUBDIR += nagircbot SUBDIR += nagstamon SUBDIR += nagtail SUBDIR += nagvis SUBDIR += nat SUBDIR += nbtscan SUBDIR += ndoutils SUBDIR += ndpmon SUBDIR += nedi SUBDIR += nefu SUBDIR += net-snmp SUBDIR += netams SUBDIR += netdisco SUBDIR += netdisco-mibs SUBDIR += netdot SUBDIR += netleak SUBDIR += netmagis-common SUBDIR += netmagis-database SUBDIR += netmagis-detecteq SUBDIR += netmagis-metro SUBDIR += netmagis-servers SUBDIR += netmagis-topo SUBDIR += netmagis-utils SUBDIR += netmagis-www SUBDIR += netmask SUBDIR += netmond SUBDIR += netspoc SUBDIR += netustad SUBDIR += netwag SUBDIR += netwox SUBDIR += netxms SUBDIR += nfdump SUBDIR += nfsen SUBDIR += ng_ipacct SUBDIR += nitpicker SUBDIR += nrpe SUBDIR += nrpe-ssl SUBDIR += nsca SUBDIR += nsca-client SUBDIR += nsca27 SUBDIR += nsca27-client SUBDIR += nstreams SUBDIR += observium SUBDIR += ocsinventory-agent SUBDIR += ocsinventory-ng SUBDIR += omping SUBDIR += openlldp SUBDIR += p0f SUBDIR += p0f2 SUBDIR += p5-AnyEvent-SNMP SUBDIR += p5-BigIP-iControl SUBDIR += p5-Cflow SUBDIR += p5-Cisco-Reconfig SUBDIR += p5-Data-Validate-IP SUBDIR += p5-FusionInventory-Agent SUBDIR += p5-FusionInventory-Agent-Task-NetDiscovery SUBDIR += p5-FusionInventory-Agent-Task-SNMPQuery SUBDIR += p5-GRNOC-Config SUBDIR += p5-GRNOC-TL1 SUBDIR += p5-MRTG-Parse SUBDIR += p5-Mon SUBDIR += p5-Monitoring-Plugin SUBDIR += p5-NSNMP SUBDIR += p5-Nagios-Object SUBDIR += p5-Nagios-Plugin SUBDIR += p5-Nagios-Plugin-Beanstalk SUBDIR += p5-Nagios-Plugin-LDAP SUBDIR += p5-Nagios-Plugins-Memcached SUBDIR += p5-Net-ACL SUBDIR += p5-Net-Abuse-Utils SUBDIR += p5-Net-Abuse-Utils-Spamhaus SUBDIR += p5-Net-CIDR SUBDIR += p5-Net-ILO SUBDIR += p5-Net-IP SUBDIR += p5-Net-IP-Match-Regexp SUBDIR += p5-Net-IP-Match-XS SUBDIR += p5-Net-IP-Resolver SUBDIR += p5-Net-IPAddress SUBDIR += p5-Net-IPv4Addr SUBDIR += p5-Net-IPv6Addr SUBDIR += p5-Net-NSCA-Client SUBDIR += p5-Net-Netmask SUBDIR += p5-Net-SNMP SUBDIR += p5-Net-SNMP-Util SUBDIR += p5-Net-SNMPTrapd SUBDIR += p5-Net-Telnet-Cisco-IOS SUBDIR += p5-NetAddr-IP SUBDIR += p5-NetAddr-IP-Lite SUBDIR += p5-NetApp SUBDIR += p5-POE-Component-SNMP SUBDIR += p5-SNMP-Info SUBDIR += p5-SNMP-MIB-Compiler SUBDIR += p5-SNMP-Simple SUBDIR += p5-SNMP-Trapinfo SUBDIR += p5-SNMP-Util SUBDIR += p5-SNMP_Session SUBDIR += p5-Telnet-Cisco SUBDIR += p5-Tie-NetAddr-IP SUBDIR += p5-Xymon SUBDIR += p5-Xymon-Client SUBDIR += p5-Xymon-Server SUBDIR += p5-Zenoss SUBDIR += p5-jmx4perl SUBDIR += packit SUBDIR += pads SUBDIR += pancho SUBDIR += pandorafms_agent SUBDIR += pandorafms_console SUBDIR += pandorafms_server SUBDIR += percona-monitoring-plugins SUBDIR += pftabled SUBDIR += php5-snmp SUBDIR += php53-snmp SUBDIR += php55-snmp SUBDIR += php56-snmp SUBDIR += phpip SUBDIR += phpipam SUBDIR += phpweathermap SUBDIR += pixilate SUBDIR += pmacct SUBDIR += pnp SUBDIR += pnp-icinga SUBDIR += portmon SUBDIR += py-flowtools SUBDIR += py-ipcalc SUBDIR += py-ipy SUBDIR += py-pyang SUBDIR += py-snmp4 SUBDIR += py-snmp4-apps SUBDIR += py-snmp4-mibs SUBDIR += py-yapsnmp SUBDIR += qkismet SUBDIR += rackmonkey SUBDIR += rancid SUBDIR += rancid3 SUBDIR += rate SUBDIR += rcpd SUBDIR += remarp SUBDIR += rotorouter SUBDIR += routers2 SUBDIR += routers2-extensions SUBDIR += routers2-extras SUBDIR += rrdbot SUBDIR += rubygem-blimpy SUBDIR += rubygem-snmp SUBDIR += rubygem-visage-app SUBDIR += sblim-wbemcli SUBDIR += scli SUBDIR += sdig SUBDIR += send SUBDIR += sendip SUBDIR += sipcalc SUBDIR += sjitter SUBDIR += slate SUBDIR += smokeping SUBDIR += snmp++ SUBDIR += snmp4nagios SUBDIR += snmptt SUBDIR += softflowd SUBDIR += spectools SUBDIR += ssgless SUBDIR += statsd SUBDIR += subcalc SUBDIR += sx SUBDIR += sysmon SUBDIR += tcpreplay SUBDIR += tcptrack SUBDIR += torrus SUBDIR += unifi2 SUBDIR += unifi3 SUBDIR += unifi4 SUBDIR += victorops-nagios SUBDIR += vidalia SUBDIR += virt-viewer SUBDIR += virtinst SUBDIR += wdiag SUBDIR += weathermap SUBDIR += weplab SUBDIR += whatmask SUBDIR += wifimgr SUBDIR += wmi-client SUBDIR += xymon-client SUBDIR += xymon-server SUBDIR += yaf SUBDIR += zabbix2-agent SUBDIR += zabbix2-frontend SUBDIR += zabbix2-proxy SUBDIR += zabbix2-server SUBDIR += zabbix22-agent SUBDIR += zabbix22-frontend SUBDIR += zabbix22-proxy SUBDIR += zabbix22-server .include Index: head/net-mgmt/ccnet/Makefile =================================================================== --- head/net-mgmt/ccnet/Makefile (nonexistent) +++ head/net-mgmt/ccnet/Makefile (revision 372097) @@ -0,0 +1,50 @@ +# $FreeBSD$ + +PORTNAME= ccnet +PORTVERSION= 3.1.4 +CATEGORIES= net-mgmt devel + +MAINTAINER= yan_jingfeng@yahoo.com +COMMENT= Framework for writing networked applications + +LICENSE= GPLv3 + +BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala +LIB_DEPENDS= libsearpc.so:${PORTSDIR}/devel/libsearpc \ + libcrypto.so:${PORTSDIR}/security/openssl \ + libglib-2.0.so:${PORTSDIR}/devel/glib20 \ + libgobject-2.0.so:${PORTSDIR}/devel/glib20 \ + libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ + libzdb.so:${PORTSDIR}/databases/libzdb \ + libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \ + libevent.so:${PORTSDIR}/devel/libevent2 \ + libjansson.so:${PORTSDIR}/devel/jansson + +USE_GITHUB= yes +GH_ACCOUNT= haiwen +GH_TAGNAME= v3.1.4 +GH_COMMIT= 6b55658 + +USES= autoreconf libtool pkgconfig pathfix python:2 +PATHFIX_MAKEFILEIN= Makefile.am +USE_LDCONFIG= yes + +CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/event2 +LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/event2 +GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--enable-server +INSTALL_TARGET= install-strip + +WITH_OPENSSL_PORT= yes +USE_OPENSSL= yes + +WWWDIR= ${PREFIX}/www/haiwen/seafile-server + +post-install: + @${MKDIR} -m 0755 ${STAGEDIR}${WWWDIR}/seafile/bin + ${INSTALL} -m 0755 ${STAGEDIR}${PREFIX}/bin/ccnet-init \ + ${STAGEDIR}${WWWDIR}/seafile/bin/ccnet-init + ${INSTALL} -m 0755 ${STAGEDIR}${PREFIX}/bin/ccnet-server \ + ${STAGEDIR}${WWWDIR}/seafile/bin/ccnet-server + +.include Property changes on: head/net-mgmt/ccnet/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-mgmt/ccnet/distinfo =================================================================== --- head/net-mgmt/ccnet/distinfo (nonexistent) +++ head/net-mgmt/ccnet/distinfo (revision 372097) @@ -0,0 +1,2 @@ +SHA256 (ccnet-3.1.4.tar.gz) = 5838cff989fe1910aeda5a2801f331d479f76e7d2c00cb8d87f016a7e9b0ea8d +SIZE (ccnet-3.1.4.tar.gz) = 216920 Property changes on: head/net-mgmt/ccnet/distinfo ___________________________________________________________________ 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/net-mgmt/ccnet/files/patch-configure.ac =================================================================== --- head/net-mgmt/ccnet/files/patch-configure.ac (nonexistent) +++ head/net-mgmt/ccnet/files/patch-configure.ac (revision 372097) @@ -0,0 +1,11 @@ +--- configure.ac.orig 2014-06-10 04:41:45.000000000 -0400 ++++ configure.ac 2014-08-26 18:17:12.161128916 -0400 +@@ -218,7 +218,7 @@ + LIB_GDI32= + LIB_RT= + LIB_INTL= +- LIB_RESOLV=-lresolv ++ LIB_RESOLV= + LIB_UUID=-luuid + LIB_IPHLPAPI= + LIB_SHELL32= Property changes on: head/net-mgmt/ccnet/files/patch-configure.ac ___________________________________________________________________ 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/net-mgmt/ccnet/files/patch-lib_Makefile.am =================================================================== --- head/net-mgmt/ccnet/files/patch-lib_Makefile.am (nonexistent) +++ head/net-mgmt/ccnet/files/patch-lib_Makefile.am (revision 372097) @@ -0,0 +1,48 @@ +--- lib/Makefile.am.orig 2014-07-31 06:20:28.000000000 -0400 ++++ lib/Makefile.am 2014-09-02 13:48:35.659991963 -0400 +@@ -19,7 +19,6 @@ + peer-common.h \ + string-util.h \ + libccnet_utils.h \ +- ccnet-object.h \ + rpc-common.h \ + net.h \ + utils.h \ +@@ -66,6 +65,8 @@ + + ccnet_object_define = ccnetobj.vala + ++valac_gen = ccnetobj.c ccnet-object.h ++ + ccnet-client.c: ccnet-object.h + + ccnet-object.h: ${ccnet_object_define} +@@ -78,15 +79,23 @@ + + searpc_gen = searpc-signature.h searpc-marshal.h + +-gensource: ${searpc_gen} ++gensource: ${searpc_gen} ${valac_gen} + +-${searpc_gen}: $(top_srcdir)/lib/rpc_table.py ++rpc_table.stamp: ${top_srcdir}/lib/rpc_table.py ++ @rm -f rpc_table.tmp ++ @touch rpc_table.tmp + @echo "[libsearpc]: generating rpc header files" +- @PYTHON@ `which searpc-codegen.py` $(top_srcdir)/lib/rpc_table.py ++ @PYTHON@ `which searpc-codegen.py` ${top_srcdir}/lib/rpc_table.py + @echo "[libsearpc]: done" ++ @mv -f rpc_table.tmp $@ ++ ++${searpc_gen}: rpc_table.stamp + + clean-local: + rm -f ${searpc_gen} +- rm -f $(top_srcdir)/lib/rpc_table.pyc ++ rm -f rpc_table.pyc ++ rm -f rpc_table.stamp ++ rm -f rpc_table.tmp ++ rm -f ${valac_gen} + +-CLEANFILES = ${searpc_gen} ++CLEANFILES = ${searpc_gen} ${valac_gen} Property changes on: head/net-mgmt/ccnet/files/patch-lib_Makefile.am ___________________________________________________________________ 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/net-mgmt/ccnet/files/patch-lib_net.c =================================================================== --- head/net-mgmt/ccnet/files/patch-lib_net.c (nonexistent) +++ head/net-mgmt/ccnet/files/patch-lib_net.c (revision 372097) @@ -0,0 +1,11 @@ +--- lib/net.c.orig 2014-09-02 21:06:10.181095833 -0400 ++++ lib/net.c 2014-09-02 21:06:40.052390263 -0400 +@@ -154,7 +154,7 @@ + + snprintf (buf, sizeof(buf), "%d", port); + +- if ( (n = getaddrinfo(NULL, buf, &hints, &res) ) != 0) { ++ if ( (n = getaddrinfo("0.0.0.0", buf, &hints, &res) ) != 0) { + ccnet_warning ("getaddrinfo fails: %s\n", gai_strerror(n)); + return -1; + } Property changes on: head/net-mgmt/ccnet/files/patch-lib_net.c ___________________________________________________________________ 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/net-mgmt/ccnet/files/patch-lib_utils.c =================================================================== --- head/net-mgmt/ccnet/files/patch-lib_utils.c (nonexistent) +++ head/net-mgmt/ccnet/files/patch-lib_utils.c (revision 372097) @@ -0,0 +1,57 @@ +--- lib/utils.c.orig 2014-06-10 04:41:45.000000000 -0400 ++++ lib/utils.c 2014-07-28 14:32:24.000000000 -0400 +@@ -41,6 +41,10 @@ + #include + #include + ++#ifdef __FreeBSD__ ++#include ++#endif ++ + extern int inet_pton(int af, const char *src, void *dst); + + +@@ -1463,14 +1467,19 @@ + } + #endif /* ifdef WIN32 */ + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + /* read the link of /proc/123/exe and compare with `process_name' */ + static int + find_process_in_dirent(struct dirent *dir, const char *process_name) + { + char path[512]; + /* fisrst construct a path like /proc/123/exe */ ++#if defined(__linux__) + if (sprintf (path, "/proc/%s/exe", dir->d_name) < 0) { ++#endif ++#if defined(__FreeBSD__) ++ if (sprintf (path, "/proc/%s/file", dir->d_name) < 0) { ++#endif + return -1; + } + +@@ -1528,6 +1537,22 @@ + } + #endif + ++/* ++ * Finally, we should not enforce to use /proc ++#ifdef __FreeBSD__ ++gboolean process_is_running (const char *process_name) ++{ ++ //TODO ++ return FALSE; ++} ++ ++int count_process(const char *process_name) ++{ ++ return 0; ++} ++#endif ++*/ ++ + char* + ccnet_object_type_from_id (const char *object_id) + { Property changes on: head/net-mgmt/ccnet/files/patch-lib_utils.c ___________________________________________________________________ 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/net-mgmt/ccnet/files/patch-makefile.am =================================================================== --- head/net-mgmt/ccnet/files/patch-makefile.am (nonexistent) +++ head/net-mgmt/ccnet/files/patch-makefile.am (revision 372097) @@ -0,0 +1,17 @@ +--- Makefile.am.orig 2014-07-21 07:24:46.000000000 -0400 ++++ Makefile.am 2014-07-21 07:25:02.000000000 -0400 +@@ -22,11 +22,7 @@ + ACLOCAL_AMFLAGS = -I m4 + + install-data-local: +-if MACOS +- sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles) +-else +- sed -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles) +-endif ++ sed -i '' "s|(DESTDIR)|${PREFIX}|g" $(pcfiles) + + dist-hook: +- git log --format='%H' -1 > $(distdir)/latest_commit +\ No newline at end of file ++ git log --format='%H' -1 > $(distdir)/latest_commit Property changes on: head/net-mgmt/ccnet/files/patch-makefile.am ___________________________________________________________________ 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/net-mgmt/ccnet/files/patch-net_common_getgateway.c =================================================================== --- head/net-mgmt/ccnet/files/patch-net_common_getgateway.c (nonexistent) +++ head/net-mgmt/ccnet/files/patch-net_common_getgateway.c (revision 372097) @@ -0,0 +1,11 @@ +--- net/common/getgateway.c.orig 2014-07-28 14:30:13.000000000 -0400 ++++ net/common/getgateway.c 2014-07-28 14:30:29.000000000 -0400 +@@ -34,7 +34,7 @@ + #undef USE_SYSCTL_NET_ROUTE + #endif + +-#ifdef BSD ++#ifdef __FreeBSD__ + #undef USE_PROC_NET_ROUTE + #define USE_SOCKET_ROUTE + #undef USE_SYSCTL_NET_ROUTE Property changes on: head/net-mgmt/ccnet/files/patch-net_common_getgateway.c ___________________________________________________________________ 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/net-mgmt/ccnet/files/patch-net_common_processors_rcvcmd-proc.c =================================================================== --- head/net-mgmt/ccnet/files/patch-net_common_processors_rcvcmd-proc.c (nonexistent) +++ head/net-mgmt/ccnet/files/patch-net_common_processors_rcvcmd-proc.c (revision 372097) @@ -0,0 +1,45 @@ +--- net/common/processors/rcvcmd-proc.c.orig 2014-09-02 15:49:07.244090539 -0400 ++++ net/common/processors/rcvcmd-proc.c 2014-09-02 15:52:55.749963338 -0400 +@@ -221,7 +221,7 @@ + int i; + + commands = g_strsplit_set (line, " \t", 10); +- for (i=0, pcmd = commands; *pcmd; pcmd++) ++ for (i = 0, pcmd = commands; *pcmd; pcmd++) + i++; + + if (i == 0) { +@@ -234,7 +234,6 @@ + if (c == NULL) { + ccnet_processor_send_response (processor, SC_UNKNONW_CMD, + SS_UNKNONW_CMD, NULL, 0); +- return; + } else + c->handler (processor, i, commands); + +@@ -534,7 +533,7 @@ + ret = -1; + + out: +- g_free (addr); ++ g_free (addr_port); + g_free (role); + g_free (peer_id); + if (peer) g_object_unref (peer); +@@ -707,6 +706,7 @@ + if (addr_port) { + peer = ccnet_peer_manager_add_resolve_peer ( + processor->session->peer_mgr, addr, port); ++ g_free (peer->intend_role); + peer->intend_role = g_strdup(role); + ccnet_processor_send_response (processor, SC_OK, SS_OK, NULL, 0); + ret = 0; +@@ -736,7 +736,7 @@ + ret = -1; + + out: +- g_free (addr); ++ g_free (addr_port); + g_free (role); + g_free (peer_id); + if (peer) g_object_unref (peer); Property changes on: head/net-mgmt/ccnet/files/patch-net_common_processors_rcvcmd-proc.c ___________________________________________________________________ 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/net-mgmt/ccnet/files/patch-net_common_processors_service-proxy-proc.c =================================================================== --- head/net-mgmt/ccnet/files/patch-net_common_processors_service-proxy-proc.c (nonexistent) +++ head/net-mgmt/ccnet/files/patch-net_common_processors_service-proxy-proc.c (revision 372097) @@ -0,0 +1,11 @@ +--- net/common/processors/service-proxy-proc.c.orig 2014-09-02 15:47:22.827928455 -0400 ++++ net/common/processors/service-proxy-proc.c 2014-09-02 15:47:36.619949159 -0400 +@@ -43,7 +43,7 @@ + { + ServiceProxyPriv *priv = GET_PRIV(processor); + if (priv->name) { +- free (priv->name); ++ g_free (priv->name); + priv->name = NULL; + } + Property changes on: head/net-mgmt/ccnet/files/patch-net_common_processors_service-proxy-proc.c ___________________________________________________________________ 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/net-mgmt/ccnet/files/patch-net_common_session.c =================================================================== --- head/net-mgmt/ccnet/files/patch-net_common_session.c (nonexistent) +++ head/net-mgmt/ccnet/files/patch-net_common_session.c (revision 372097) @@ -0,0 +1,10 @@ +--- net/common/session.c.orig 2014-09-03 04:04:21.072122386 -0400 ++++ net/common/session.c 2014-09-03 04:04:58.071390609 -0400 +@@ -168,6 +168,7 @@ + g_free (name); + g_free (user_name); + g_free (port_str); ++ g_free (lport_str); + #ifdef CCNET_SERVER + g_free (service_url); + #endif Property changes on: head/net-mgmt/ccnet/files/patch-net_common_session.c ___________________________________________________________________ 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/net-mgmt/ccnet/pkg-descr =================================================================== --- head/net-mgmt/ccnet/pkg-descr (nonexistent) +++ head/net-mgmt/ccnet/pkg-descr (revision 372097) @@ -0,0 +1,6 @@ +Ccnet is a framework for writing networked applications in C. It provides +the services of peer identification, connection management, service +invocation, and message sending. Server has the management of user, group, +and cluster. + +WWW: https://github.com/haiwen/ccnet Property changes on: head/net-mgmt/ccnet/pkg-descr ___________________________________________________________________ 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/net-mgmt/ccnet/pkg-plist =================================================================== --- head/net-mgmt/ccnet/pkg-plist (nonexistent) +++ head/net-mgmt/ccnet/pkg-plist (revision 372097) @@ -0,0 +1,87 @@ +bin/ccnet +bin/ccnet-demo-client +bin/ccnet-demo-server +bin/ccnet-init +bin/ccnet-server +bin/ccnet-servtool +bin/ccnet-tool +include/ccnet.h +include/ccnet/async-rpc-proc.h +include/ccnet/ccnet-client.h +include/ccnet/ccnet-object.h +include/ccnet/ccnet-session-base.h +include/ccnet/ccnetrpc-transport.h +include/ccnet/cevent.h +include/ccnet/invoke-service-proc.h +include/ccnet/job-mgr.h +include/ccnet/message.h +include/ccnet/mqclient-proc.h +include/ccnet/option.h +include/ccnet/packet.h +include/ccnet/peer.h +include/ccnet/proc-factory.h +include/ccnet/processor.h +include/ccnet/rpcserver-proc.h +include/ccnet/sendcmd-proc.h +include/ccnet/status-code.h +include/ccnet/threaded-rpcserver-proc.h +include/ccnet/timer.h +include/ccnet/valid-check.h +lib/libccnet.a +lib/libccnet.so +lib/libccnet.so.0 +lib/libccnet.so.0.0.0 +%%PYTHON_SITELIBDIR%%/ccnet/__init__.py +%%PYTHON_SITELIBDIR%%/ccnet/__init__.pyc +%%PYTHON_SITELIBDIR%%/ccnet/__init__.pyo +%%PYTHON_SITELIBDIR%%/ccnet/async/__init__.py +%%PYTHON_SITELIBDIR%%/ccnet/async/__init__.pyc +%%PYTHON_SITELIBDIR%%/ccnet/async/__init__.pyo +%%PYTHON_SITELIBDIR%%/ccnet/async/async_client.py +%%PYTHON_SITELIBDIR%%/ccnet/async/async_client.pyc +%%PYTHON_SITELIBDIR%%/ccnet/async/async_client.pyo +%%PYTHON_SITELIBDIR%%/ccnet/async/mqclientproc.py +%%PYTHON_SITELIBDIR%%/ccnet/async/mqclientproc.pyc +%%PYTHON_SITELIBDIR%%/ccnet/async/mqclientproc.pyo +%%PYTHON_SITELIBDIR%%/ccnet/async/processor.py +%%PYTHON_SITELIBDIR%%/ccnet/async/processor.pyc +%%PYTHON_SITELIBDIR%%/ccnet/async/processor.pyo +%%PYTHON_SITELIBDIR%%/ccnet/async/rpcserverproc.py +%%PYTHON_SITELIBDIR%%/ccnet/async/rpcserverproc.pyc +%%PYTHON_SITELIBDIR%%/ccnet/async/rpcserverproc.pyo +%%PYTHON_SITELIBDIR%%/ccnet/async/sendcmdproc.py +%%PYTHON_SITELIBDIR%%/ccnet/async/sendcmdproc.pyc +%%PYTHON_SITELIBDIR%%/ccnet/async/sendcmdproc.pyo +%%PYTHON_SITELIBDIR%%/ccnet/async/timer.py +%%PYTHON_SITELIBDIR%%/ccnet/async/timer.pyc +%%PYTHON_SITELIBDIR%%/ccnet/async/timer.pyo +%%PYTHON_SITELIBDIR%%/ccnet/client.py +%%PYTHON_SITELIBDIR%%/ccnet/client.pyc +%%PYTHON_SITELIBDIR%%/ccnet/client.pyo +%%PYTHON_SITELIBDIR%%/ccnet/errors.py +%%PYTHON_SITELIBDIR%%/ccnet/errors.pyc +%%PYTHON_SITELIBDIR%%/ccnet/errors.pyo +%%PYTHON_SITELIBDIR%%/ccnet/message.py +%%PYTHON_SITELIBDIR%%/ccnet/message.pyc +%%PYTHON_SITELIBDIR%%/ccnet/message.pyo +%%PYTHON_SITELIBDIR%%/ccnet/packet.py +%%PYTHON_SITELIBDIR%%/ccnet/packet.pyc +%%PYTHON_SITELIBDIR%%/ccnet/packet.pyo +%%PYTHON_SITELIBDIR%%/ccnet/pool.py +%%PYTHON_SITELIBDIR%%/ccnet/pool.pyc +%%PYTHON_SITELIBDIR%%/ccnet/pool.pyo +%%PYTHON_SITELIBDIR%%/ccnet/rpc.py +%%PYTHON_SITELIBDIR%%/ccnet/rpc.pyc +%%PYTHON_SITELIBDIR%%/ccnet/rpc.pyo +%%PYTHON_SITELIBDIR%%/ccnet/status_code.py +%%PYTHON_SITELIBDIR%%/ccnet/status_code.pyc +%%PYTHON_SITELIBDIR%%/ccnet/status_code.pyo +%%PYTHON_SITELIBDIR%%/ccnet/sync_client.py +%%PYTHON_SITELIBDIR%%/ccnet/sync_client.pyc +%%PYTHON_SITELIBDIR%%/ccnet/sync_client.pyo +%%PYTHON_SITELIBDIR%%/ccnet/utils.py +%%PYTHON_SITELIBDIR%%/ccnet/utils.pyc +%%PYTHON_SITELIBDIR%%/ccnet/utils.pyo +libdata/pkgconfig/libccnet.pc +%%WWWDIR%%/seafile/bin/ccnet-init +%%WWWDIR%%/seafile/bin/ccnet-server Property changes on: head/net-mgmt/ccnet/pkg-plist ___________________________________________________________________ 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