FreeBSD Bugzilla – Attachment 169318 Details for
Bug 203930
net-mgmt/ccnet: Update to 5.1.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ccnet.diff
ccnet.diff (text/plain), 8.91 KB, created by
Ultima
on 2016-04-14 18:13:21 UTC
(
hide
)
Description:
ccnet.diff
Filename:
MIME Type:
Creator:
Ultima
Created:
2016-04-14 18:13:21 UTC
Size:
8.91 KB
patch
obsolete
>Index: net-mgmt/ccnet/Makefile >=================================================================== >--- net-mgmt/ccnet/Makefile (revision 413268) >+++ net-mgmt/ccnet/Makefile (working copy) >@@ -1,10 +1,9 @@ > # $FreeBSD$ > > PORTNAME= ccnet >-PORTVERSION= 4.0.6 >+PORTVERSION= 5.0.5 > DISTVERSIONPREFIX= v > DISTVERSIONSUFFIX= -server >-PORTREVISION= 6 > CATEGORIES= net-mgmt devel > > MAINTAINER= ultima1252@gmail.com >@@ -11,6 +10,7 @@ > COMMENT= Framework for writing networked applications > > LICENSE= GPLv3 >+LICENSE_FILE= ${WRKSRC}/LICENCE.txt > > BUILD_DEPENDS= valac:lang/vala > LIB_DEPENDS= libsearpc.so:devel/libsearpc \ >@@ -26,25 +26,24 @@ > USE_GITHUB= yes > GH_ACCOUNT= haiwen > >-USES= autoreconf libtool pkgconfig pathfix python:2 >+USES= autoreconf libtool localbase pathfix pkgconfig python:-2.7 \ >+ shebangfix >+USE_LDCONFIG= yes >+USE_OPENSSL= yes >+SHEBANG_FILES= tools/*.py > PATHFIX_MAKEFILEIN= Makefile.am >-USE_LDCONFIG= yes > >-CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/event2 >-LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/event2 > CONFIGURE_ENV= SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" > GNU_CONFIGURE= yes >-CONFIGURE_ARGS+=--enable-server --enable-ldap >+CONFIGURE_ARGS+= --enable-server --enable-ldap > INSTALL_TARGET= install-strip > >-USE_OPENSSL= yes >- > HAIWENDIR= www/haiwen > SEAFILE_SERVER= ${HAIWENDIR}/seafile-server > SEABIN= ${SEAFILE_SERVER}/seafile/bin > SEALIB= ${SEAFILE_SERVER}/seafile/lib > >-SEAFILE_USERNAME?= www >+SEAFILE_USERNAME?= seafile > SEAFILE_GROUPNAME?= ${SEAFILE_USERNAME} > > PLIST_SUB= SEAFILE_USERNAME=${SEAFILE_USERNAME} \ >@@ -69,5 +68,6 @@ > (cd ${STAGEDIR}${PREFIX}/lib && \ > ${COPYTREE_SHARE} ${PYTHON_VERSION} ${STAGEDIR}${PREFIX}/${SEALIB}) > @${RM} -rf ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION} >+ ${LN} -s ${PREFIX}/${SEABIN}/ccnet-server ${STAGEDIR}${PREFIX}/bin/ > > .include <bsd.port.mk> >Index: net-mgmt/ccnet/distinfo >=================================================================== >--- net-mgmt/ccnet/distinfo (revision 413268) >+++ net-mgmt/ccnet/distinfo (working copy) >@@ -1,2 +1,2 @@ >-SHA256 (haiwen-ccnet-v4.0.6-server_GH0.tar.gz) = d9793715b3473a161f802224dbeac75744e70313f073f8e0b7191b9141c36812 >-SIZE (haiwen-ccnet-v4.0.6-server_GH0.tar.gz) = 218550 >+SHA256 (haiwen-ccnet-v5.0.5-server_GH0.tar.gz) = c270eb4598217d83d440781f7d23b3fa143f0dd3b77760f09b10b628b37ea254 >+SIZE (haiwen-ccnet-v5.0.5-server_GH0.tar.gz) = 221849 >Index: net-mgmt/ccnet/files/patch-Makefile.am >=================================================================== >--- net-mgmt/ccnet/files/patch-Makefile.am (revision 413268) >+++ net-mgmt/ccnet/files/patch-Makefile.am (working copy) >@@ -1,6 +1,6 @@ >---- Makefile.am.orig 2015-01-27 22:28:22.000000000 -0500 >-+++ Makefile.am 2015-01-27 22:33:35.000000000 -0500 >-@@ -24,9 +24,13 @@ >+--- Makefile.am.orig 2015-11-26 15:34:14 UTC >++++ Makefile.am >+@@ -24,9 +24,13 @@ ACLOCAL_AMFLAGS = -I m4 > install-data-local: > if MACOS > sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles) >@@ -13,6 +13,4 @@ > +endif > > dist-hook: >-- git log --format='%H' -1 > $(distdir)/latest_commit >-\ No newline at end of file >-+ git log --format='%H' -1 > $(distdir)/latest_commit >+ git log --format='%H' -1 > $(distdir)/latest_commit >Index: net-mgmt/ccnet/files/patch-configure.ac >=================================================================== >--- net-mgmt/ccnet/files/patch-configure.ac (revision 413268) >+++ net-mgmt/ccnet/files/patch-configure.ac (working copy) >@@ -1,6 +1,6 @@ >---- configure.ac.orig 2014-12-03 21:47:39.000000000 -0500 >-+++ configure.ac 2015-01-27 23:56:25.000000000 -0500 >-@@ -51,8 +51,16 @@ >+--- configure.ac.orig 2015-11-11 09:50:52 UTC >++++ configure.ac >+@@ -51,8 +51,16 @@ else > AC_MSG_RESULT(no) > fi > >@@ -18,7 +18,7 @@ > blinux=true > AC_MSG_RESULT(compile in linux) > else >-@@ -154,6 +162,7 @@ >+@@ -154,6 +162,7 @@ AM_CONDITIONAL([COMPILE_DEMO], [test "${ > AM_CONDITIONAL([WIN32], [test "$bwin32" = "true"]) > AM_CONDITIONAL([MACOS], [test "$bmac" = "true"]) > AM_CONDITIONAL([LINUX], [test "$blinux" = "true"]) >@@ -26,7 +26,7 @@ > > > # check libraries >-@@ -192,6 +201,7 @@ >+@@ -213,6 +222,7 @@ if test "$bwin32" = true; then > LIBS= > LIB_RESOLV= > LIB_UUID=-lrpcrt4 >@@ -34,7 +34,7 @@ > LIB_IPHLPAPI=-liphlpapi > LIB_SHELL32=-lshell32 > LIB_PSAPI=-lpsapi >-@@ -204,11 +214,25 @@ >+@@ -225,11 +235,25 @@ elif test "$bmac" = true ; then > LIB_INTL= > LIB_RESOLV=-lresolv > LIB_UUID= >@@ -60,7 +60,7 @@ > else > LIB_WS32= > LIB_GDI32= >-@@ -216,6 +240,7 @@ >+@@ -237,6 +261,7 @@ else > LIB_INTL= > LIB_RESOLV=-lresolv > LIB_UUID=-luuid >@@ -68,7 +68,7 @@ > LIB_IPHLPAPI= > LIB_SHELL32= > LIB_PSAPI= >-@@ -229,6 +254,7 @@ >+@@ -250,6 +275,7 @@ AC_SUBST(LIB_RT) > AC_SUBST(LIB_INTL) > AC_SUBST(LIB_RESOLV) > AC_SUBST(LIB_UUID) >Index: net-mgmt/ccnet/files/patch-lib_Makefile.am >=================================================================== >--- net-mgmt/ccnet/files/patch-lib_Makefile.am (revision 413268) >+++ net-mgmt/ccnet/files/patch-lib_Makefile.am (working copy) >@@ -1,6 +1,6 @@ >---- lib/Makefile.am.orig 2015-01-27 22:48:22.000000000 -0500 >-+++ lib/Makefile.am 2015-01-27 22:49:06.000000000 -0500 >-@@ -61,6 +61,7 @@ >+--- lib/Makefile.am.orig 2015-11-26 15:34:14 UTC >++++ lib/Makefile.am >+@@ -61,6 +61,7 @@ libccnetd_la_SOURCES = utils.c db.c job- > libccnetd_la_LDFLAGS = -no-undefined > libccnetd_la_LIBADD = @GLIB2_LIBS@ @GOBJECT_LIBS@ @SSL_LIBS@ @LIB_GDI32@ \ > -lsqlite3 @LIBEVENT_LIBS@ @LIB_WS32@ @LIB_UUID@ \ >Index: net-mgmt/ccnet/files/patch-lib_net.c >=================================================================== >--- net-mgmt/ccnet/files/patch-lib_net.c (revision 413268) >+++ net-mgmt/ccnet/files/patch-lib_net.c (working copy) >@@ -1,6 +1,6 @@ >---- lib/net.c.orig 2015-01-27 23:18:59.000000000 -0500 >-+++ lib/net.c 2015-01-27 23:23:04.000000000 -0500 >-@@ -152,7 +152,11 @@ >+--- lib/net.c.orig 2015-11-11 09:50:52 UTC >++++ lib/net.c >+@@ -152,7 +152,11 @@ ccnet_net_bind_tcp (int port, int nonblo > > snprintf (buf, sizeof(buf), "%d", port); > >Index: net-mgmt/ccnet/files/patch-lib_utils.c >=================================================================== >--- net-mgmt/ccnet/files/patch-lib_utils.c (revision 413268) >+++ net-mgmt/ccnet/files/patch-lib_utils.c (working copy) >@@ -1,5 +1,5 @@ >---- lib/utils.c.orig 2015-01-27 23:13:50.000000000 -0500 >-+++ lib/utils.c 2015-01-27 23:18:04.000000000 -0500 >+--- lib/utils.c.orig 2016-01-08 11:43:49 UTC >++++ lib/utils.c > @@ -43,6 +43,16 @@ > > #include <event2/util.h> >@@ -17,7 +17,7 @@ > extern int inet_pton(int af, const char *src, void *dst); > > >-@@ -1465,14 +1475,20 @@ >+@@ -1469,14 +1479,20 @@ get_argv_utf8 (int *argc) > } > #endif /* ifdef WIN32 */ > >@@ -40,7 +40,7 @@ > return -1; > } > >-@@ -1496,7 +1512,8 @@ >+@@ -1500,7 +1516,8 @@ find_process_in_dirent(struct dirent *di > } > > /* read the /proc fs to determine whether some process is running */ >@@ -50,7 +50,7 @@ > { > DIR *proc_dir = opendir("/proc"); > if (!proc_dir) { >-@@ -1510,7 +1527,7 @@ >+@@ -1514,7 +1531,7 @@ gboolean process_is_running (const char > /* /proc/[1-9][0-9]* */ > if (first > '9' || first < '1') > continue; >@@ -59,7 +59,7 @@ > if (pid > 0) { > closedir(proc_dir); > return TRUE; >-@@ -1520,6 +1537,18 @@ >+@@ -1524,6 +1541,18 @@ gboolean process_is_running (const char > closedir(proc_dir); > return FALSE; > } >@@ -78,14 +78,19 @@ > #endif > > #ifdef __APPLE__ >-@@ -1530,6 +1559,108 @@ >+@@ -1534,6 +1563,113 @@ gboolean process_is_running (const char > } > #endif > > +#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) > +#if defined(__FreeBSD__) >++#if __FreeBSD_version < 1100097 > +#define PSKIP(kp) ((kp)->ki_pid == mypid || \ > + (!kthreads && ((kp)->ki_flag & P_KTHREAD) != 0)) >++#else >++#define PSKIP(kp) ((kp)->ki_pid == mypid || \ >++ (!kthreads && ((kp)->ki_flag & P_KPROC) != 0)) >++#endif > +#define KVM_OPENFILES(exec, coref, buf) \ > + kvm_openfiles(exec, coref, NULL, O_RDONLY, buf) > +#define KVM_GETPROCS(kd, plist, nproc) \ >Index: net-mgmt/ccnet/files/patch-net_common_getgateway.c >=================================================================== >--- net-mgmt/ccnet/files/patch-net_common_getgateway.c (revision 413268) >+++ net-mgmt/ccnet/files/patch-net_common_getgateway.c (working copy) >@@ -1,5 +1,5 @@ >---- net/common/getgateway.c.orig 2015-01-27 23:26:41.000000000 -0500 >-+++ net/common/getgateway.c 2015-01-27 23:27:58.000000000 -0500 >+--- net/common/getgateway.c.orig 2015-11-11 09:50:52 UTC >++++ net/common/getgateway.c > @@ -34,7 +34,7 @@ > #undef USE_SYSCTL_NET_ROUTE > #endif >Index: net-mgmt/ccnet/pkg-plist >=================================================================== >--- net-mgmt/ccnet/pkg-plist (revision 413268) >+++ net-mgmt/ccnet/pkg-plist (working copy) >@@ -2,6 +2,7 @@ > bin/ccnet-demo-client > bin/ccnet-demo-server > bin/ccnet-tool >+bin/ccnet-server > include/ccnet.h > include/ccnet/async-rpc-proc.h > include/ccnet/ccnet-client.h
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
Ultima1252
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 203930
:
162292
|
162320
|
162321
|
162322
|
162323
|
163549
|
163973
|
164806
|
166284
|
167327
|
169318
|
169387