Re: update net/toxcore: 0.2.17 -> 0.2.18

2022-04-29 Thread Omar Polo
Omar Polo  wrote:
> straightforward update; the changelog is here:
> https://github.com/TokTok/c-toxcore/releases/tag/v0.2.18
> 
> port-wise: switching from GH_* to the official tarball (the
> autogenerated one doesn't include the submodules) and removing msgpack
> as dependency (upstream switched to bundled cmp).
> 
> consumers builds fine and net/toxic works fine.
> 
> OK?

friendly ping

while here i'd also like to take the maintainership since i'm using
net/toxic often :)

Index: Makefile
===
RCS file: /home/cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile8 Mar 2022 08:20:13 -   1.10
+++ Makefile29 Apr 2022 10:19:56 -
@@ -1,28 +1,29 @@
 COMMENT =  Tox client library
 
+V =0.2.18
+DISTNAME = c-toxcore-$V
 PKGNAME =  ${DISTNAME:S/c-//}
 
-GH_ACCOUNT =   TokTok
-GH_PROJECT =   c-toxcore
-GH_TAGNAME =   v0.2.17
-
 SHARED_LIBS += toxcore 3.0
 
 CATEGORIES =   net telephony
 
 HOMEPAGE = https://tox.chat/
 
+MAINTAINER =   Omar Polo 
+
+MASTER_SITES = https://github.com/TokTok/c-toxcore/releases/download/v$V/
+
 # GPLv3+
 PERMIT_PACKAGE =   Yes
 
-WANTLIB = c config m opus msgpackc pthread sodium vpx
+WANTLIB = c config m opus pthread sodium vpx
 
 MODULES =  devel/cmake
 COMPILER = base-clang ports-gcc
 
 LIB_DEPENDS =  audio/opus \
devel/libconfig \
-   devel/msgpack \
multimedia/libvpx \
security/libsodium
 
Index: distinfo
===
RCS file: /home/cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo8 Mar 2022 08:20:13 -   1.5
+++ distinfo20 Apr 2022 07:49:29 -
@@ -1,2 +1,2 @@
-SHA256 (c-toxcore-0.2.17.tar.gz) = 2c311pD+jiF9yrpbmI+5Q7vnvakZov3m2VBt8Efl9Ms=
-SIZE (c-toxcore-0.2.17.tar.gz) = 560639
+SHA256 (c-toxcore-0.2.18.tar.gz) = 8pQFN5mIY1k+KLxqa19W8JZ19s2KKDJre8MbSDbAiUI=
+SIZE (c-toxcore-0.2.18.tar.gz) = 653247



update net/toxcore: 0.2.17 -> 0.2.18

2022-04-22 Thread Omar Polo
straightforward update; the changelog is here:
https://github.com/TokTok/c-toxcore/releases/tag/v0.2.18

port-wise: switching from GH_* to the official tarball (the
autogenerated one doesn't include the submodules) and removing msgpack
as dependency (upstream switched to bundled cmp).

consumers builds fine and net/toxic works fine.

OK?

Index: Makefile
===
RCS file: /home/cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile8 Mar 2022 08:20:13 -   1.10
+++ Makefile22 Apr 2022 07:43:37 -
@@ -1,28 +1,27 @@
 COMMENT =  Tox client library
 
+V =0.2.18
+DISTNAME = c-toxcore-$V
 PKGNAME =  ${DISTNAME:S/c-//}
 
-GH_ACCOUNT =   TokTok
-GH_PROJECT =   c-toxcore
-GH_TAGNAME =   v0.2.17
-
 SHARED_LIBS += toxcore 3.0
 
 CATEGORIES =   net telephony
 
 HOMEPAGE = https://tox.chat/
 
+MASTER_SITES = https://github.com/TokTok/c-toxcore/releases/download/v$V/
+
 # GPLv3+
 PERMIT_PACKAGE =   Yes
 
-WANTLIB = c config m opus msgpackc pthread sodium vpx
+WANTLIB = c config m opus pthread sodium vpx
 
 MODULES =  devel/cmake
 COMPILER = base-clang ports-gcc
 
 LIB_DEPENDS =  audio/opus \
devel/libconfig \
-   devel/msgpack \
multimedia/libvpx \
security/libsodium
 
Index: distinfo
===
RCS file: /home/cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo8 Mar 2022 08:20:13 -   1.5
+++ distinfo20 Apr 2022 07:49:29 -
@@ -1,2 +1,2 @@
-SHA256 (c-toxcore-0.2.17.tar.gz) = 2c311pD+jiF9yrpbmI+5Q7vnvakZov3m2VBt8Efl9Ms=
-SIZE (c-toxcore-0.2.17.tar.gz) = 560639
+SHA256 (c-toxcore-0.2.18.tar.gz) = 8pQFN5mIY1k+KLxqa19W8JZ19s2KKDJre8MbSDbAiUI=
+SIZE (c-toxcore-0.2.18.tar.gz) = 653247



[update] net/toxcore 0.2.16 -> 0.2.17

2022-03-06 Thread Omar Polo
Hello ports,

Please find attached a diff to update net/toxcore to the latest release.
The changelog is available here:

https://github.com/TokTok/c-toxcore/releases/tag/v0.2.17

it doesn't seem like a big update, but yet they added and removed
symbols so I had to bump the major.

net/toxic still works fine and utox builds.  OK?

Cheers,

Omar Polo


Index: Makefile
===
RCS file: /home/cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile28 Feb 2022 12:50:52 -  1.9
+++ Makefile6 Mar 2022 15:45:29 -
@@ -1,14 +1,12 @@
-# $OpenBSD: Makefile,v 1.9 2022/02/28 12:50:52 op Exp $
-
 COMMENT =  Tox client library
 
 PKGNAME =  ${DISTNAME:S/c-//}
 
 GH_ACCOUNT =   TokTok
 GH_PROJECT =   c-toxcore
-GH_TAGNAME =   v0.2.16
+GH_TAGNAME =   v0.2.17
 
-SHARED_LIBS += toxcore 2.0
+SHARED_LIBS += toxcore 3.0
 
 CATEGORIES =   net telephony
 
Index: distinfo
===
RCS file: /home/cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo28 Feb 2022 12:50:52 -  1.4
+++ distinfo6 Mar 2022 15:41:12 -
@@ -1,2 +1,2 @@
-SHA256 (c-toxcore-0.2.16.tar.gz) = ZTqkJlS2B/CUDOz6yHPpzlVgURmpDR3EVNEJD/bKKcA=
-SIZE (c-toxcore-0.2.16.tar.gz) = 556720
+SHA256 (c-toxcore-0.2.17.tar.gz) = 2c311pD+jiF9yrpbmI+5Q7vnvakZov3m2VBt8Efl9Ms=
+SIZE (c-toxcore-0.2.17.tar.gz) = 560639
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/net/toxcore/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   28 Feb 2022 12:50:52 -  1.3
+++ pkg/PLIST   6 Mar 2022 15:43:24 -
@@ -1,4 +1,3 @@
-@comment $OpenBSD: PLIST,v 1.3 2022/02/28 12:50:52 op Exp $
 @bin bin/DHT_bootstrap
 @bin bin/tox-bootstrapd
 include/tox/



Re: update net/{toxcore,toxic}

2022-02-27 Thread Omar Polo
frendly ping :)

Omar Polo  wrote:
> Hello,
> 
> this updates toxcore and toxic to the latest releases, the changelog is
> here:
> 
> https://github.com/TokTok/c-toxcore/releases/tag/v0.2.16
> https://github.com/TokTok/toxic/releases/tag/v0.11.3
> 
> It's a straightforward update, I've only tweaked toxcore makefile to
> avoid the otherwise unnecessary variable V and added the new lib
> depends.
> 
> The only other consumer, net/utox, still builds fine.  (tested on amd64
> and i386.)
> 
> Comments/OK?
> 
> side question: some files have the executable bit set.  What's the
> correct way to fix those with CVS?  They get updated upon commit?
> 
> Thanks,
> 
> Omar Polo

Index: toxcore/Makefile
===
RCS file: /home/cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- toxcore/Makefile3 Jan 2021 19:35:02 -   1.8
+++ toxcore/Makefile19 Feb 2022 14:41:15 -
@@ -2,14 +2,13 @@
 
 COMMENT =  Tox client library
 
-V =0.2.12
-DISTNAME = toxcore-$V
+PKGNAME =  ${DISTNAME:S/c-//}
 
 GH_ACCOUNT =   TokTok
 GH_PROJECT =   c-toxcore
-GH_TAGNAME =   v$V
+GH_TAGNAME =   v0.2.16
 
-SHARED_LIBS += toxcore 1.0
+SHARED_LIBS += toxcore 2.0
 
 CATEGORIES =   net telephony
 
@@ -18,13 +17,14 @@ HOMEPAGE =  https://tox.chat/
 # GPLv3+
 PERMIT_PACKAGE =   Yes
 
-WANTLIB = c config m opus pthread sodium vpx
+WANTLIB = c config m opus msgpackc pthread sodium vpx
 
 MODULES =  devel/cmake
 COMPILER = base-clang ports-gcc
 
 LIB_DEPENDS =  audio/opus \
devel/libconfig \
+   devel/msgpack \
multimedia/libvpx \
security/libsodium
 
Index: toxcore/distinfo
===
RCS file: /home/cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- toxcore/distinfo3 Jan 2021 19:35:02 -   1.3
+++ toxcore/distinfo19 Feb 2022 15:27:31 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.12.tar.gz) = MK4yY8m2jTvvBveZup16Z+P61EcDBiXw/6S7ImhCKLA=
-SIZE (toxcore-0.2.12.tar.gz) = 504832
+SHA256 (c-toxcore-0.2.16.tar.gz) = ZTqkJlS2B/CUDOz6yHPpzlVgURmpDR3EVNEJD/bKKcA=
+SIZE (c-toxcore-0.2.16.tar.gz) = 556720
Index: toxcore/pkg/PLIST
===
RCS file: /home/cvs/ports/net/toxcore/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- toxcore/pkg/PLIST   3 Jan 2021 19:35:02 -   1.2
+++ toxcore/pkg/PLIST   19 Feb 2022 14:37:40 -
@@ -3,8 +3,13 @@
 @bin bin/tox-bootstrapd
 include/tox/
 include/tox/tox.h
+include/tox/tox_dispatch.h
+include/tox/tox_events.h
 include/tox/toxav.h
 include/tox/toxencryptsave.h
 @static-lib lib/libtoxcore.a
 @lib lib/libtoxcore.so.${LIBtoxcore_VERSION}
 lib/pkgconfig/toxcore.pc
+share/bash-completion/
+share/bash-completion/completions/
+share/bash-completion/completions/tox-bootstrapd
Index: toxic/Makefile
===
RCS file: /home/cvs/ports/net/toxic/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- toxic/Makefile  17 Jan 2022 01:35:46 -  1.15
+++ toxic/Makefile  19 Feb 2022 14:46:59 -
@@ -4,8 +4,7 @@ COMMENT =   ncurses-based Tox client
 
 GH_ACCOUNT =   Jfreegman
 GH_PROJECT =   toxic
-GH_TAGNAME =   v0.11.1
-REVISION = 0
+GH_TAGNAME =   v0.11.3
 
 CATEGORIES =   net
 
Index: toxic/distinfo
===
RCS file: /home/cvs/ports/net/toxic/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- toxic/distinfo  14 Oct 2021 20:38:17 -  1.3
+++ toxic/distinfo  19 Feb 2022 14:47:15 -
@@ -1,2 +1,2 @@
-SHA256 (toxic-0.11.1.tar.gz) = XfjzzyHCsihUY5nwwqd8bY9TVpOahcMiIqT2omuCaIo=
-SIZE (toxic-0.11.1.tar.gz) = 1204163
+SHA256 (toxic-0.11.3.tar.gz) = Gj/UKJhSv2TuF7mKJ1l9DY9efTyayQGAvU5jqOWuU9k=
+SIZE (toxic-0.11.3.tar.gz) = 1197252



update net/{toxcore,toxic}

2022-02-19 Thread Omar Polo
Hello,

this updates toxcore and toxic to the latest releases, the changelog is
here:

https://github.com/TokTok/c-toxcore/releases/tag/v0.2.16
https://github.com/TokTok/toxic/releases/tag/v0.11.3

It's a straightforward update, I've only tweaked toxcore makefile to
avoid the otherwise unnecessary variable V and added the new lib
depends.

The only other consumer, net/utox, still builds fine.  (tested on amd64
and i386.)

Comments/OK?

side question: some files have the executable bit set.  What's the
correct way to fix those with CVS?  They get updated upon commit?

Thanks,

Omar Polo


Index: net/toxcore/Makefile
===
RCS file: /home/cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- net/toxcore/Makefile3 Jan 2021 19:35:02 -   1.8
+++ net/toxcore/Makefile19 Feb 2022 14:41:15 -
@@ -2,14 +2,13 @@
 
 COMMENT =  Tox client library
 
-V =0.2.12
-DISTNAME = toxcore-$V
+PKGNAME =  ${DISTNAME:S/c-//}
 
 GH_ACCOUNT =   TokTok
 GH_PROJECT =   c-toxcore
-GH_TAGNAME =   v$V
+GH_TAGNAME =   v0.2.16
 
-SHARED_LIBS += toxcore 1.0
+SHARED_LIBS += toxcore 2.0
 
 CATEGORIES =   net telephony
 
@@ -18,13 +17,14 @@ HOMEPAGE =  https://tox.chat/
 # GPLv3+
 PERMIT_PACKAGE =   Yes
 
-WANTLIB = c config m opus pthread sodium vpx
+WANTLIB = c config m opus msgpackc pthread sodium vpx
 
 MODULES =  devel/cmake
 COMPILER = base-clang ports-gcc
 
 LIB_DEPENDS =  audio/opus \
devel/libconfig \
+   devel/msgpack \
multimedia/libvpx \
security/libsodium
 
Index: net/toxcore/distinfo
===
RCS file: /home/cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- net/toxcore/distinfo3 Jan 2021 19:35:02 -   1.3
+++ net/toxcore/distinfo19 Feb 2022 15:27:31 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.12.tar.gz) = MK4yY8m2jTvvBveZup16Z+P61EcDBiXw/6S7ImhCKLA=
-SIZE (toxcore-0.2.12.tar.gz) = 504832
+SHA256 (c-toxcore-0.2.16.tar.gz) = ZTqkJlS2B/CUDOz6yHPpzlVgURmpDR3EVNEJD/bKKcA=
+SIZE (c-toxcore-0.2.16.tar.gz) = 556720
Index: net/toxcore/pkg/PLIST
===
RCS file: /home/cvs/ports/net/toxcore/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- net/toxcore/pkg/PLIST   3 Jan 2021 19:35:02 -   1.2
+++ net/toxcore/pkg/PLIST   19 Feb 2022 14:37:40 -
@@ -3,8 +3,13 @@
 @bin bin/tox-bootstrapd
 include/tox/
 include/tox/tox.h
+include/tox/tox_dispatch.h
+include/tox/tox_events.h
 include/tox/toxav.h
 include/tox/toxencryptsave.h
 @static-lib lib/libtoxcore.a
 @lib lib/libtoxcore.so.${LIBtoxcore_VERSION}
 lib/pkgconfig/toxcore.pc
+share/bash-completion/
+share/bash-completion/completions/
+share/bash-completion/completions/tox-bootstrapd
Index: net/toxic/Makefile
===
RCS file: /home/cvs/ports/net/toxic/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- net/toxic/Makefile  17 Jan 2022 01:35:46 -  1.15
+++ net/toxic/Makefile  19 Feb 2022 14:46:59 -
@@ -4,8 +4,7 @@ COMMENT =   ncurses-based Tox client
 
 GH_ACCOUNT =   Jfreegman
 GH_PROJECT =   toxic
-GH_TAGNAME =   v0.11.1
-REVISION = 0
+GH_TAGNAME =   v0.11.3
 
 CATEGORIES =   net
 
Index: net/toxic/distinfo
===
RCS file: /home/cvs/ports/net/toxic/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- net/toxic/distinfo  14 Oct 2021 20:38:17 -  1.3
+++ net/toxic/distinfo  19 Feb 2022 14:47:15 -
@@ -1,2 +1,2 @@
-SHA256 (toxic-0.11.1.tar.gz) = XfjzzyHCsihUY5nwwqd8bY9TVpOahcMiIqT2omuCaIo=
-SIZE (toxic-0.11.1.tar.gz) = 1204163
+SHA256 (toxic-0.11.3.tar.gz) = Gj/UKJhSv2TuF7mKJ1l9DY9efTyayQGAvU5jqOWuU9k=
+SIZE (toxic-0.11.3.tar.gz) = 1197252



update net/toxcore: 0.2.3 -> 0.2.12

2020-09-05 Thread Omar Polo


Hello ports,

Here's another attempt at updating this port.  There are three ports
depending on toxcore:

 - net/toxic,no_x11 : I'm sending (in a separate email) a patch to
   update it.

 - net/utox : it builds and runs fine with this library update but it
   segfaults on exit.  Upstream has released a newer version of the
   port, but it has also introduced a dependency on a library we
   currently don't have (libfilteraudio).  I'm not terribly interested
   in utox, so I don't know how to handle this situation.  Porting the
   missign library would be accepted?

Regarding this port, I'm dropping the patch to disable the tests as it's
now required to explicitly pass -DAUTOTEST=on to build 'em.  I'm also
bumping the SHARED_LIBS, as playing with nm(1) shows various symbols
added and removed.

Tested only on amd64.  Passes portcheck and port-lib-depends-check.

On a side note, I find curious that the Makefile and pkg/DESCR have the
execute bit set.

Comments? OK?

P.S.: I'm not sure what's the meaning of the commented number in the
SHARED_LIBS line.


Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile24 Nov 2019 23:05:10 -  1.7
+++ Makefile5 Sep 2020 10:39:18 -
@@ -2,15 +2,14 @@
 
 COMMENT =  Tox client library
 
-V =0.2.3
-REVISION = 3
+V =0.2.12
 DISTNAME = toxcore-$V
 
 GH_ACCOUNT =   TokTok
 GH_PROJECT =   c-toxcore
 GH_TAGNAME =   v$V
 
-SHARED_LIBS += toxcore 0.1 # 0.1
+SHARED_LIBS += toxcore 1.0 # 1.0
 CATEGORIES =   net telephony
 
 HOMEPAGE = https://tox.chat/
Index: distinfo
===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo26 Jun 2018 20:34:04 -  1.2
+++ distinfo5 Sep 2020 10:39:18 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
-SIZE (toxcore-0.2.3.tar.gz) = 471336
+SHA256 (toxcore-0.2.12.tar.gz) = MK4yY8m2jTvvBveZup16Z+P61EcDBiXw/6S7ImhCKLA=
+SIZE (toxcore-0.2.12.tar.gz) = 504832
Index: patches/patch-CMakeLists_txt
===
RCS file: patches/patch-CMakeLists_txt
diff -N patches/patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt24 Nov 2019 23:05:10 -  1.4
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,59 +0,0 @@
-$OpenBSD: patch-CMakeLists_txt,v 1.4 2019/11/24 23:05:10 cwen Exp $
-
-* remove unknown option for base-gcc 
-* NO_TEST is set but tests are built, and they break the build with base-gcc
-
-Index: CMakeLists.txt
 CMakeLists.txt.orig
-+++ CMakeLists.txt
-@@ -171,7 +171,7 @@ if(NOT MSVC)
- # Comma at end of enum is supported everywhere we run.
- add_cxxflag("-Wno-c++98-compat-pedantic")
- # TODO(iphydf): Stop using flexible array members.
--add_cxxflag("-Wno-c99-extensions")
-+#add_cxxflag("-Wno-c99-extensions")
- # We're C-compatible, so use C style casts.
- add_cxxflag("-Wno-old-style-cast")
- 
-@@ -463,24 +463,11 @@ if(ANDROID_CPU_FEATURES)
- endif()
- 
- function(auto_test target)
--  if(NOT (MSVC AND ARGV1 STREQUAL "MSVC_DONT_BUILD"))
--add_executable(auto_${target}_test ${CPUFEATURES}
--  auto_tests/${target}_test.c)
--target_link_modules(auto_${target}_test toxcore)
--if(NOT ARGV1 STREQUAL "DONT_RUN")
--  add_test(NAME ${target} COMMAND ${CROSSCOMPILING_EMULATOR} 
auto_${target}_test)
--  set_tests_properties(${target} PROPERTIES TIMEOUT 
"${TEST_TIMEOUT_SECONDS}")
--  set_property(TEST ${target} PROPERTY ENVIRONMENT 
"LLVM_PROFILE_FILE=${target}.profraw")
--endif()
--  endif()
-+  message (WARNING "Test ${target} not built because it breaks the build 
with base-gcc and NO_TEST is set")
- endfunction()
- 
- if(BUILD_TOXAV)
-   add_definitions(-D__STDC_LIMIT_MACROS=1)
--  add_executable(auto_monolith_test ${CPUFEATURES}
--auto_tests/monolith_test.cc)
--  target_link_libraries(auto_monolith_test ${toxcore_LINK_MODULES})
--  add_test(NAME monolith COMMAND ${CROSSCOMPILING_EMULATOR} 
auto_monolith_test)
- endif()
- 
- auto_test(TCP)
-@@ -593,15 +580,3 @@ if(NOT WIN32
- set_source_files_properties(testing/av_test.c PROPERTIES LANGUAGE CXX)
-   endif()
- endif()
--
--add_executable(DHT_test ${CPUFEATURES}
--  testing/DHT_test.c)
--target_link_modules(DHT_test toxcore)
--
--add_executable(Messenger_test ${CPUFEATURES}
--  testing/Messenger_test.c)
--target_link_modules(Messenger_test toxcore)
--
--add_executable(random_testing ${CPUFEATURES}
--  testing/random_testing.cc)
--target_link_modules(random_testing toxcore)
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/toxcore/pkg/PLIST,v
retrieving 

Re: UPDATE: net/toxcore

2020-03-30 Thread putridsoul66
Updated SHARED_LIBS
Can you tell, how one decides the version of a shared library.

Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile24 Nov 2019 23:05:10 -  1.7
+++ Makefile31 Mar 2020 05:09:29 -
@@ -2,15 +2,15 @@
 
 COMMENT =  Tox client library
 
-V =0.2.3
-REVISION = 3
+V =0.2.11
+REVISION = 0
 DISTNAME = toxcore-$V
 
 GH_ACCOUNT =   TokTok
 GH_PROJECT =   c-toxcore
 GH_TAGNAME =   v$V
 
-SHARED_LIBS += toxcore 0.1 # 0.1
+SHARED_LIBS += toxcore 1.0 # 1.0
 CATEGORIES =   net telephony
 
 HOMEPAGE = https://tox.chat/
Index: distinfo
===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo26 Jun 2018 20:34:04 -  1.2
+++ distinfo31 Mar 2020 05:09:29 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
-SIZE (toxcore-0.2.3.tar.gz) = 471336
+SHA256 (toxcore-0.2.11.tar.gz) = 8REoWwNtd0bOjRMhzwuJ7JO0+tiukHZ6JOUCMLvuJ+E=
+SIZE (toxcore-0.2.11.tar.gz) = 507476
Index: patches/patch-CMakeLists_txt
===
RCS file: /cvs/ports/net/toxcore/patches/patch-CMakeLists_txt,v
retrieving revision 1.4
diff -u -p -r1.4 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt24 Nov 2019 23:05:10 -  1.4
+++ patches/patch-CMakeLists_txt31 Mar 2020 05:09:29 -
@@ -6,54 +6,51 @@ $OpenBSD: patch-CMakeLists_txt,v 1.4 201
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -171,7 +171,7 @@ if(NOT MSVC)
- # Comma at end of enum is supported everywhere we run.
- add_cxxflag("-Wno-c++98-compat-pedantic")
- # TODO(iphydf): Stop using flexible array members.
--add_cxxflag("-Wno-c99-extensions")
-+#add_cxxflag("-Wno-c99-extensions")
- # We're C-compatible, so use C style casts.
- add_cxxflag("-Wno-old-style-cast")
- 
-@@ -463,24 +463,11 @@ if(ANDROID_CPU_FEATURES)
- endif()
+@@ -381,16 +381,7 @@ endif()
+ option(AUTOTEST "Enable autotests (mainly for CI)" OFF)
  
  function(auto_test target)
--  if(NOT (MSVC AND ARGV1 STREQUAL "MSVC_DONT_BUILD"))
+-  if(AUTOTEST AND NOT (MSVC AND ARGV1 STREQUAL "MSVC_DONT_BUILD"))
 -add_executable(auto_${target}_test ${CPUFEATURES}
 -  auto_tests/${target}_test.c)
--target_link_modules(auto_${target}_test toxcore)
+-target_link_modules(auto_${target}_test toxcore misc_tools)
 -if(NOT ARGV1 STREQUAL "DONT_RUN")
 -  add_test(NAME ${target} COMMAND ${CROSSCOMPILING_EMULATOR} 
auto_${target}_test)
 -  set_tests_properties(${target} PROPERTIES TIMEOUT 
"${TEST_TIMEOUT_SECONDS}")
 -  set_property(TEST ${target} PROPERTY ENVIRONMENT 
"LLVM_PROFILE_FILE=${target}.profraw")
 -endif()
 -  endif()
-+  message (WARNING "Test ${target} not built because it breaks the build 
with base-gcc and NO_TEST is set")
++  message (WARNING "Test ${target} not build because it breaks the build 
with base-gcc and NO_TEST is set")
  endfunction()
  
+ auto_test(TCP)
+@@ -436,9 +426,6 @@ auto_test(version)
+ auto_test(save_compatibility)
+ 
  if(BUILD_TOXAV)
-   add_definitions(-D__STDC_LIMIT_MACROS=1)
--  add_executable(auto_monolith_test ${CPUFEATURES}
--auto_tests/monolith_test.cc)
--  target_link_libraries(auto_monolith_test ${toxcore_LINK_MODULES})
--  add_test(NAME monolith COMMAND ${CROSSCOMPILING_EMULATOR} 
auto_monolith_test)
+-  auto_test(conference_av)
+-  auto_test(toxav_basic)
+-  auto_test(toxav_many)
  endif()
  
- auto_test(TCP)
-@@ -593,15 +580,3 @@ if(NOT WIN32
- set_source_files_properties(testing/av_test.c PROPERTIES LANGUAGE CXX)
-   endif()
- endif()
+ 

+@@ -495,19 +482,4 @@ endif()
+ 
+ option(BUILD_MISC_TESTS "Build additional tests" OFF)
+ if (BUILD_MISC_TESTS)
+-  add_executable(DHT_test ${CPUFEATURES}
+-testing/DHT_test.c)
+-  target_link_modules(DHT_test toxcore misc_tools)
 -
--add_executable(DHT_test ${CPUFEATURES}
--  testing/DHT_test.c)
--target_link_modules(DHT_test toxcore)
+-  add_executable(Messenger_test ${CPUFEATURES}
+-testing/Messenger_test.c)
+-  target_link_modules(Messenger_test toxcore misc_tools)
 -
--add_executable(Messenger_test ${CPUFEATURES}
--  testing/Messenger_test.c)
--target_link_modules(Messenger_test toxcore)
+-  add_executable(random_testing ${CPUFEATURES}
+-testing/random_testing.cc)
+-  target_link_modules(random_testing toxcore misc_tools)
 -
--add_executable(random_testing ${CPUFEATURES}
--  testing/random_testing.cc)
--target_link_modules(random_testing toxcore)
+-  add_executable(save-generator
+-

Re: UPDATE: net/toxcore

2020-03-30 Thread Brad Smith

On 3/30/2020 9:35 AM, putridsou...@gmail.com wrote:


I hope this is final, Completed a full build
successfully, also ported the patch. Any user
can test audio-video.

Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile24 Nov 2019 23:05:10 -  1.7
+++ Makefile30 Mar 2020 13:31:09 -
@@ -2,8 +2,8 @@
  
  COMMENT =		Tox client library
  
-V =			0.2.3

-REVISION = 3
+V =0.2.11
+REVISION = 0
  DISTNAME =toxcore-$V
  
  GH_ACCOUNT =		TokTok



The SHARED_LIBS entry needs to be bumped from 0.1 to 1.0.



Re: UPDATE: net/toxcore

2020-03-30 Thread putridsoul66
I hope this is final, Completed a full build
successfully, also ported the patch. Any user
can test audio-video.

Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile24 Nov 2019 23:05:10 -  1.7
+++ Makefile30 Mar 2020 13:31:09 -
@@ -2,8 +2,8 @@
 
 COMMENT =  Tox client library
 
-V =0.2.3
-REVISION = 3
+V =0.2.11
+REVISION = 0
 DISTNAME = toxcore-$V
 
 GH_ACCOUNT =   TokTok
Index: distinfo
===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo26 Jun 2018 20:34:04 -  1.2
+++ distinfo30 Mar 2020 13:31:09 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
-SIZE (toxcore-0.2.3.tar.gz) = 471336
+SHA256 (toxcore-0.2.11.tar.gz) = 8REoWwNtd0bOjRMhzwuJ7JO0+tiukHZ6JOUCMLvuJ+E=
+SIZE (toxcore-0.2.11.tar.gz) = 507476
Index: patches/patch-CMakeLists_txt
===
RCS file: /cvs/ports/net/toxcore/patches/patch-CMakeLists_txt,v
retrieving revision 1.4
diff -u -p -r1.4 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt24 Nov 2019 23:05:10 -  1.4
+++ patches/patch-CMakeLists_txt30 Mar 2020 13:31:09 -
@@ -6,54 +6,51 @@ $OpenBSD: patch-CMakeLists_txt,v 1.4 201
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -171,7 +171,7 @@ if(NOT MSVC)
- # Comma at end of enum is supported everywhere we run.
- add_cxxflag("-Wno-c++98-compat-pedantic")
- # TODO(iphydf): Stop using flexible array members.
--add_cxxflag("-Wno-c99-extensions")
-+#add_cxxflag("-Wno-c99-extensions")
- # We're C-compatible, so use C style casts.
- add_cxxflag("-Wno-old-style-cast")
- 
-@@ -463,24 +463,11 @@ if(ANDROID_CPU_FEATURES)
- endif()
+@@ -381,16 +381,7 @@ endif()
+ option(AUTOTEST "Enable autotests (mainly for CI)" OFF)
  
  function(auto_test target)
--  if(NOT (MSVC AND ARGV1 STREQUAL "MSVC_DONT_BUILD"))
+-  if(AUTOTEST AND NOT (MSVC AND ARGV1 STREQUAL "MSVC_DONT_BUILD"))
 -add_executable(auto_${target}_test ${CPUFEATURES}
 -  auto_tests/${target}_test.c)
--target_link_modules(auto_${target}_test toxcore)
+-target_link_modules(auto_${target}_test toxcore misc_tools)
 -if(NOT ARGV1 STREQUAL "DONT_RUN")
 -  add_test(NAME ${target} COMMAND ${CROSSCOMPILING_EMULATOR} 
auto_${target}_test)
 -  set_tests_properties(${target} PROPERTIES TIMEOUT 
"${TEST_TIMEOUT_SECONDS}")
 -  set_property(TEST ${target} PROPERTY ENVIRONMENT 
"LLVM_PROFILE_FILE=${target}.profraw")
 -endif()
 -  endif()
-+  message (WARNING "Test ${target} not built because it breaks the build 
with base-gcc and NO_TEST is set")
++  message (WARNING "Test ${target} not build because it breaks the build 
with base-gcc and NO_TEST is set")
  endfunction()
  
+ auto_test(TCP)
+@@ -436,9 +426,6 @@ auto_test(version)
+ auto_test(save_compatibility)
+ 
  if(BUILD_TOXAV)
-   add_definitions(-D__STDC_LIMIT_MACROS=1)
--  add_executable(auto_monolith_test ${CPUFEATURES}
--auto_tests/monolith_test.cc)
--  target_link_libraries(auto_monolith_test ${toxcore_LINK_MODULES})
--  add_test(NAME monolith COMMAND ${CROSSCOMPILING_EMULATOR} 
auto_monolith_test)
+-  auto_test(conference_av)
+-  auto_test(toxav_basic)
+-  auto_test(toxav_many)
  endif()
  
- auto_test(TCP)
-@@ -593,15 +580,3 @@ if(NOT WIN32
- set_source_files_properties(testing/av_test.c PROPERTIES LANGUAGE CXX)
-   endif()
- endif()
+ 

+@@ -495,19 +482,4 @@ endif()
+ 
+ option(BUILD_MISC_TESTS "Build additional tests" OFF)
+ if (BUILD_MISC_TESTS)
+-  add_executable(DHT_test ${CPUFEATURES}
+-testing/DHT_test.c)
+-  target_link_modules(DHT_test toxcore misc_tools)
 -
--add_executable(DHT_test ${CPUFEATURES}
--  testing/DHT_test.c)
--target_link_modules(DHT_test toxcore)
+-  add_executable(Messenger_test ${CPUFEATURES}
+-testing/Messenger_test.c)
+-  target_link_modules(Messenger_test toxcore misc_tools)
 -
--add_executable(Messenger_test ${CPUFEATURES}
--  testing/Messenger_test.c)
--target_link_modules(Messenger_test toxcore)
+-  add_executable(random_testing ${CPUFEATURES}
+-testing/random_testing.cc)
+-  target_link_modules(random_testing toxcore misc_tools)
 -
--add_executable(random_testing ${CPUFEATURES}
--  testing/random_testing.cc)
--target_link_modules(random_testing toxcore)
+-  add_executable(save-generator
+-other/fun/save-generator.c)
+-  target_link_modules(save-generator toxcore misc_tools)
+ endif()
Index: pkg/PLIST
===
RCS file: 

Re: UPDATE: net/toxcore

2020-03-30 Thread putridsoul66
The build is succesfull without the patch, 
I don't understand why the patch is needed. 
Is the patch file necessary? 
I don't know much about the program.



Re: UPDATE: net/toxcore

2020-03-30 Thread Omar Polo
On Mon, Mar 30, 2020 at 10:16:08AM +0200, Omar Polo wrote:
> sorry putridsoul66 for the double emacs, I've forgot to CC ports
> (as always...)
> 
> On Mon, Mar 30, 2020 at 12:54:23PM +0530, putridsou...@gmail.com wrote:
> > Update net/toxcore to latest version-0.2.11 
> > There was a complaint in the mailing-list 
> > about toxcore not being updated, I hope 
> > someone will tests this.
> > 
> 
> it does not bulid here, it fails with
> 
>   Patching file CMakeLists.txt using Plan A...
>   Hunk #1 failed at 171.
>   Hunk #2 failed at 463.
>   No such line 592 in input file, ignoring
>   Hunk #3 failed at 580.
>   3 out of 3 hunks failed--saving rejects to CMakeLists.txt.rej
> 
> Have you forgotten to add the patch for the CMakeLists in the mail? :)
> 
> Here's an updated patch with CMakeLists fixed and updated plist.
> It builds (on -current ~ week old) but I've not tested it with toxic
> yet.

I've rebuild net/toxic and it seems to work with the updated toxcore
(I've only tried basic chat and file transfer operation, I've never
made an audio call)

> Index: Makefile
> ===
> RCS file: /cvs/ports/net/toxcore/Makefile,v
> retrieving revision 1.7
> diff -u -p -r1.7 Makefile
> --- Makefile  24 Nov 2019 23:05:10 -  1.7
> +++ Makefile  30 Mar 2020 08:12:01 -
> @@ -2,8 +2,8 @@
>  
>  COMMENT =Tox client library
>  
> -V =  0.2.3
> -REVISION =   3
> +V =  0.2.11
> +REVISION =   11
>  DISTNAME =   toxcore-$V
>  
>  GH_ACCOUNT = TokTok
> Index: distinfo
> ===
> RCS file: /cvs/ports/net/toxcore/distinfo,v
> retrieving revision 1.2
> diff -u -p -r1.2 distinfo
> --- distinfo  26 Jun 2018 20:34:04 -  1.2
> +++ distinfo  30 Mar 2020 08:12:01 -
> @@ -1,2 +1,2 @@
> -SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
> -SIZE (toxcore-0.2.3.tar.gz) = 471336
> +SHA256 (toxcore-0.2.11.tar.gz) = 8REoWwNtd0bOjRMhzwuJ7JO0+tiukHZ6JOUCMLvuJ+E=
> +SIZE (toxcore-0.2.11.tar.gz) = 507476
> Index: patches/patch-CMakeLists_txt
> ===
> RCS file: /cvs/ports/net/toxcore/patches/patch-CMakeLists_txt,v
> retrieving revision 1.4
> diff -u -p -r1.4 patch-CMakeLists_txt
> --- patches/patch-CMakeLists_txt  24 Nov 2019 23:05:10 -  1.4
> +++ patches/patch-CMakeLists_txt  30 Mar 2020 08:12:01 -
> @@ -6,54 +6,44 @@ $OpenBSD: patch-CMakeLists_txt,v 1.4 201
>  Index: CMakeLists.txt
>  --- CMakeLists.txt.orig
>  +++ CMakeLists.txt
> -@@ -171,7 +171,7 @@ if(NOT MSVC)
> - # Comma at end of enum is supported everywhere we run.
> - add_cxxflag("-Wno-c++98-compat-pedantic")
> - # TODO(iphydf): Stop using flexible array members.
> --add_cxxflag("-Wno-c99-extensions")
> -+#add_cxxflag("-Wno-c99-extensions")
> - # We're C-compatible, so use C style casts.
> - add_cxxflag("-Wno-old-style-cast")
> - 
> -@@ -463,24 +463,11 @@ if(ANDROID_CPU_FEATURES)
> - endif()
> +@@ -381,16 +381,7 @@ endif()
> + option(AUTOTEST "Enable autotests (mainly for CI)" OFF)
>   
>   function(auto_test target)
> --  if(NOT (MSVC AND ARGV1 STREQUAL "MSVC_DONT_BUILD"))
> +-  if(AUTOTEST AND NOT (MSVC AND ARGV1 STREQUAL "MSVC_DONT_BUILD"))
>  -add_executable(auto_${target}_test ${CPUFEATURES}
>  -  auto_tests/${target}_test.c)
> --target_link_modules(auto_${target}_test toxcore)
> +-target_link_modules(auto_${target}_test toxcore misc_tools)
>  -if(NOT ARGV1 STREQUAL "DONT_RUN")
>  -  add_test(NAME ${target} COMMAND ${CROSSCOMPILING_EMULATOR} 
> auto_${target}_test)
>  -  set_tests_properties(${target} PROPERTIES TIMEOUT 
> "${TEST_TIMEOUT_SECONDS}")
>  -  set_property(TEST ${target} PROPERTY ENVIRONMENT 
> "LLVM_PROFILE_FILE=${target}.profraw")
>  -endif()
>  -  endif()
> -+message (WARNING "Test ${target} not built because it breaks the build 
> with base-gcc and NO_TEST is set")
> ++  message (WARNING "Test ${target} not build because it breaks the build 
> with base-gcc and NO_TEST is set")
>   endfunction()
>   
> - if(BUILD_TOXAV)
> -   add_definitions(-D__STDC_LIMIT_MACROS=1)
> --  add_executable(auto_monolith_test ${CPUFEATURES}
> --auto_tests/monolith_test.cc)
> --  target_link_libraries(auto_monolith_test ${toxcore_LINK_MODULES})
> --  add_test(NAME monolith COMMAND ${CROSSCOMPILING_EMULATOR} 
> auto_m

Re: UPDATE: net/toxcore

2020-03-30 Thread Omar Polo
sorry putridsoul66 for the double emacs, I've forgot to CC ports
(as always...)

On Mon, Mar 30, 2020 at 12:54:23PM +0530, putridsou...@gmail.com wrote:
> Update net/toxcore to latest version-0.2.11 
> There was a complaint in the mailing-list 
> about toxcore not being updated, I hope 
> someone will tests this.
> 

it does not bulid here, it fails with

Patching file CMakeLists.txt using Plan A...
Hunk #1 failed at 171.
Hunk #2 failed at 463.
No such line 592 in input file, ignoring
Hunk #3 failed at 580.
3 out of 3 hunks failed--saving rejects to CMakeLists.txt.rej

Have you forgotten to add the patch for the CMakeLists in the mail? :)

Here's an updated patch with CMakeLists fixed and updated plist.
It builds (on -current ~ week old) but I've not tested it with toxic
yet.


Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile24 Nov 2019 23:05:10 -  1.7
+++ Makefile30 Mar 2020 08:12:01 -
@@ -2,8 +2,8 @@
 
 COMMENT =  Tox client library
 
-V =0.2.3
-REVISION = 3
+V =0.2.11
+REVISION = 11
 DISTNAME = toxcore-$V
 
 GH_ACCOUNT =   TokTok
Index: distinfo
===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo26 Jun 2018 20:34:04 -  1.2
+++ distinfo30 Mar 2020 08:12:01 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
-SIZE (toxcore-0.2.3.tar.gz) = 471336
+SHA256 (toxcore-0.2.11.tar.gz) = 8REoWwNtd0bOjRMhzwuJ7JO0+tiukHZ6JOUCMLvuJ+E=
+SIZE (toxcore-0.2.11.tar.gz) = 507476
Index: patches/patch-CMakeLists_txt
===
RCS file: /cvs/ports/net/toxcore/patches/patch-CMakeLists_txt,v
retrieving revision 1.4
diff -u -p -r1.4 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt24 Nov 2019 23:05:10 -  1.4
+++ patches/patch-CMakeLists_txt30 Mar 2020 08:12:01 -
@@ -6,54 +6,44 @@ $OpenBSD: patch-CMakeLists_txt,v 1.4 201
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -171,7 +171,7 @@ if(NOT MSVC)
- # Comma at end of enum is supported everywhere we run.
- add_cxxflag("-Wno-c++98-compat-pedantic")
- # TODO(iphydf): Stop using flexible array members.
--add_cxxflag("-Wno-c99-extensions")
-+#add_cxxflag("-Wno-c99-extensions")
- # We're C-compatible, so use C style casts.
- add_cxxflag("-Wno-old-style-cast")
- 
-@@ -463,24 +463,11 @@ if(ANDROID_CPU_FEATURES)
- endif()
+@@ -381,16 +381,7 @@ endif()
+ option(AUTOTEST "Enable autotests (mainly for CI)" OFF)
  
  function(auto_test target)
--  if(NOT (MSVC AND ARGV1 STREQUAL "MSVC_DONT_BUILD"))
+-  if(AUTOTEST AND NOT (MSVC AND ARGV1 STREQUAL "MSVC_DONT_BUILD"))
 -add_executable(auto_${target}_test ${CPUFEATURES}
 -  auto_tests/${target}_test.c)
--target_link_modules(auto_${target}_test toxcore)
+-target_link_modules(auto_${target}_test toxcore misc_tools)
 -if(NOT ARGV1 STREQUAL "DONT_RUN")
 -  add_test(NAME ${target} COMMAND ${CROSSCOMPILING_EMULATOR} 
auto_${target}_test)
 -  set_tests_properties(${target} PROPERTIES TIMEOUT 
"${TEST_TIMEOUT_SECONDS}")
 -  set_property(TEST ${target} PROPERTY ENVIRONMENT 
"LLVM_PROFILE_FILE=${target}.profraw")
 -endif()
 -  endif()
-+  message (WARNING "Test ${target} not built because it breaks the build 
with base-gcc and NO_TEST is set")
++  message (WARNING "Test ${target} not build because it breaks the build with 
base-gcc and NO_TEST is set")
  endfunction()
  
- if(BUILD_TOXAV)
-   add_definitions(-D__STDC_LIMIT_MACROS=1)
--  add_executable(auto_monolith_test ${CPUFEATURES}
--auto_tests/monolith_test.cc)
--  target_link_libraries(auto_monolith_test ${toxcore_LINK_MODULES})
--  add_test(NAME monolith COMMAND ${CROSSCOMPILING_EMULATOR} 
auto_monolith_test)
- endif()
- 
  auto_test(TCP)
-@@ -593,15 +580,3 @@ if(NOT WIN32
- set_source_files_properties(testing/av_test.c PROPERTIES LANGUAGE CXX)
-   endif()
- endif()
+@@ -492,22 +483,3 @@ endif()
+ # :: Test programs
+ #
+ 

+-
+-option(BUILD_MISC_TESTS "Build additional tests" OFF)
+-if (BUILD_MISC_TESTS)
+-  add_executable(DHT_test ${CPUFEATURES}
+-testing/DHT_test.c)
+-  target_link_modules(DHT_test toxcore misc_tools)
 -
--add_executable(DHT_test ${CPUFEATURES}
--  testing/DHT_test.c)
--target_link_modules(DHT_test toxcore)
+-  add_executable(Messenger_test ${CPUFEATURES}
+-testing/Messenger_

Re: UPDATE: net/toxcore

2020-03-30 Thread putridsoul66
Updated Plist

Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile24 Nov 2019 23:05:10 -  1.7
+++ Makefile30 Mar 2020 08:51:33 -
@@ -2,8 +2,8 @@
 
 COMMENT =  Tox client library
 
-V =0.2.3
-REVISION = 3
+V =0.2.11
+REVISION = 11
 DISTNAME = toxcore-$V
 
 GH_ACCOUNT =   TokTok
Index: distinfo
===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo26 Jun 2018 20:34:04 -  1.2
+++ distinfo30 Mar 2020 08:51:33 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
-SIZE (toxcore-0.2.3.tar.gz) = 471336
+SHA256 (toxcore-0.2.11.tar.gz) = 8REoWwNtd0bOjRMhzwuJ7JO0+tiukHZ6JOUCMLvuJ+E=
+SIZE (toxcore-0.2.11.tar.gz) = 507476
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/toxcore/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   29 Apr 2018 11:14:09 -  1.1.1.1
+++ pkg/PLIST   30 Mar 2020 08:51:33 -
@@ -1,9 +1,10 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2018/04/29 11:14:09 landry Exp $
+@bin bin/DHT_bootstrap
 @bin bin/tox-bootstrapd
 include/tox/
 include/tox/tox.h
 include/tox/toxav.h
 include/tox/toxencryptsave.h
-lib/libtoxcore.a
+@static-lib lib/libtoxcore.a
 @lib lib/libtoxcore.so.${LIBtoxcore_VERSION}
 lib/pkgconfig/toxcore.pc



UPDATE: net/toxcore

2020-03-30 Thread putridsoul66
Update net/toxcore to latest version-0.2.11 
There was a complaint in the mailing-list 
about toxcore not being updated, I hope 
someone will tests this.

Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile24 Nov 2019 23:05:10 -  1.7
+++ Makefile30 Mar 2020 07:10:54 -
@@ -2,8 +2,8 @@
 
 COMMENT =  Tox client library
 
-V =0.2.3
-REVISION = 3
+V =0.2.11
+REVISION = 11
 DISTNAME = toxcore-$V
 
 GH_ACCOUNT =   TokTok
Index: distinfo
===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo26 Jun 2018 20:34:04 -  1.2
+++ distinfo30 Mar 2020 07:10:54 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
-SIZE (toxcore-0.2.3.tar.gz) = 471336
+SHA256 (toxcore-0.2.11.tar.gz) = 8REoWwNtd0bOjRMhzwuJ7JO0+tiukHZ6JOUCMLvuJ+E=
+SIZE (toxcore-0.2.11.tar.gz) = 507476



Update net/toxcore and net/toxic, improve net/utox, take maintainership back.

2019-05-21 Thread Leonid Bobrov
Hi!

Maybe it's too many ports in one mail, but I don't want to resend 3
different topics when these 3 ports are about the same thing and they
are simple.

Changelogs for both net/toxcore and net/toxic can be found here:
https://github.com/TokTok/c-toxcore/blob/master/CHANGELOG.md
https://github.com/JFreegman/toxic/compare/v0.8.2...v0.8.3

What I changed about net/utox:
* D-Bus support (upstreamed);
* Tests support, all tests pass (upstreamed);
* push-to-talk support (pending to be upstreamed);
* expanded description using upstream's README.

Also due to removal of these \r\n line endings I fail to send a diff,
because it corrupts when sent, so I have to attach net/utox as a
tarball, I keep CVS directories there so you can run cvs diff.

If for some reason the diff to net/toxcore and net/toxic fails to apply,
then please see my repo:
https://github.com/mazocomp/mystuff/tree/master/net

Index: toxcore/Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- toxcore/Makefile3 May 2019 15:08:03 -   1.5
+++ toxcore/Makefile21 May 2019 09:07:34 -
@@ -2,18 +2,19 @@
 
 COMMENT =  Tox client library
 
-V =0.2.3
-REVISION = 2
+V =0.2.9
 DISTNAME = toxcore-$V
 
 GH_ACCOUNT =   TokTok
 GH_PROJECT =   c-toxcore
 GH_TAGNAME =   v$V
 
-SHARED_LIBS += toxcore 0.1 # 0.1
+SHARED_LIBS += toxcore 0.2 # 2.9
 CATEGORIES =   net telephony
 
 HOMEPAGE = https://tox.chat/
+
+MAINTAINER =   Leonid Bobrov 
 
 # GPLv3+
 PERMIT_PACKAGE_CDROM = Yes
Index: toxcore/distinfo
===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- toxcore/distinfo26 Jun 2018 20:34:04 -  1.2
+++ toxcore/distinfo21 May 2019 09:07:34 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
-SIZE (toxcore-0.2.3.tar.gz) = 471336
+SHA256 (toxcore-0.2.9.tar.gz) = qMlicJRH+5sMuxqQ7BlFobLScrTTIjVsSKTjiCsSZ+c=
+SIZE (toxcore-0.2.9.tar.gz) = 510806
Index: toxcore/patches/patch-CMakeLists_txt
===
RCS file: toxcore/patches/patch-CMakeLists_txt
diff -N toxcore/patches/patch-CMakeLists_txt
--- toxcore/patches/patch-CMakeLists_txt3 May 2019 15:08:03 -   
1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,16 +0,0 @@
-$OpenBSD: patch-CMakeLists_txt,v 1.3 2019/05/03 15:08:03 cwen Exp $
-
-Allow building with base-gcc that doesn't recognise this option
-
-Index: CMakeLists.txt
 CMakeLists.txt.orig
-+++ CMakeLists.txt
-@@ -171,7 +171,7 @@ if(NOT MSVC)
- # Comma at end of enum is supported everywhere we run.
- add_cxxflag("-Wno-c++98-compat-pedantic")
- # TODO(iphydf): Stop using flexible array members.
--add_cxxflag("-Wno-c99-extensions")
-+#add_cxxflag("-Wno-c99-extensions")
- # We're C-compatible, so use C style casts.
- add_cxxflag("-Wno-old-style-cast")
- 
Index: toxcore/pkg/PLIST
===
RCS file: /cvs/ports/net/toxcore/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- toxcore/pkg/PLIST   29 Apr 2018 11:14:09 -  1.1.1.1
+++ toxcore/pkg/PLIST   21 May 2019 09:07:34 -
@@ -1,4 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2018/04/29 11:14:09 landry Exp $
+@bin bin/DHT_bootstrap
 @bin bin/tox-bootstrapd
 include/tox/
 include/tox/tox.h
Index: toxic/Makefile
===
RCS file: /cvs/ports/net/toxic/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- toxic/Makefile  28 Apr 2019 20:51:46 -  1.5
+++ toxic/Makefile  21 May 2019 09:07:34 -
@@ -2,13 +2,14 @@
 
 COMMENT =  ncurses-based Tox client
 
-GH_ACCOUNT =   Jfreegman
+GH_ACCOUNT =   TokTok
 GH_PROJECT =   toxic
-GH_TAGNAME =   v0.8.2
-REVISION = 3
+GH_TAGNAME =   v0.8.3
 
 CATEGORIES =   net
 
+MAINTAINER =   Leonid Bobrov 
+
 # GPLv3+
 PERMIT_PACKAGE_CDROM = Yes
 
@@ -21,8 +22,10 @@ LIB_DEPENDS =audio/freealut \
net/curl \
graphics/libqrencode
 
-MAKE_ENV +=ENABLE_PYTHON=1 \
-   USER_CFLAGS="${CFLAGS}"
+MAKE_ENV +=ENABLE_PYTHON=1
+FAKE_FLAGS +=  PREFIX=${PREFIX} \
+   MANDIR=${PREFIX}/man
+
 MODULES =  lang/python
 MODPY_VERSION =${MODPY_DEFAULT_VERSION_3}
 CONFIGURE_STYLE =  none
Index: toxic/distinfo
===
RCS file: /cvs/ports/net/toxic/distinfo,v
retrieving revision 1.1.1.1
diff -u -p 

Re: Update net/toxcore and take maintainership back

2019-02-26 Thread Leonid Bobrov
ping

On Wed, Feb 06, 2019 at 09:31:53PM +0200, Leonid Bobrov wrote:
> Index: Makefile
> ===
> RCS file: /cvs/ports/net/toxcore/Makefile,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 Makefile
> --- Makefile  9 Aug 2018 23:25:58 -   1.3
> +++ Makefile  6 Feb 2019 19:29:02 -
> @@ -2,22 +2,22 @@
>  
>  COMMENT =Tox client library
>  
> -V =  0.2.3
> -REVISION =   0
> +V =  0.2.9
>  DISTNAME =   toxcore-$V
>  
>  GH_ACCOUNT = TokTok
>  GH_PROJECT = c-toxcore
>  GH_TAGNAME = v$V
>  
> -SHARED_LIBS +=   toxcore 0.1 # 0.1
> +SHARED_LIBS +=   toxcore 0.2 # 2.9
>  CATEGORIES = net telephony
>  
>  HOMEPAGE =   https://tox.chat/
>  
> +MAINTAINER = Leonid Bobrov 
> +
>  # GPLv3+
>  PERMIT_PACKAGE_CDROM =   Yes
> -
>  
>  WANTLIB = c config m opus pthread sodium vpx
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/net/toxcore/distinfo,v
> retrieving revision 1.2
> diff -u -p -u -p -r1.2 distinfo
> --- distinfo  26 Jun 2018 20:34:04 -  1.2
> +++ distinfo  6 Feb 2019 19:29:02 -
> @@ -1,2 +1,2 @@
> -SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
> -SIZE (toxcore-0.2.3.tar.gz) = 471336
> +SHA256 (toxcore-0.2.9.tar.gz) = qMlicJRH+5sMuxqQ7BlFobLScrTTIjVsSKTjiCsSZ+c=
> +SIZE (toxcore-0.2.9.tar.gz) = 510806
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/net/toxcore/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST 29 Apr 2018 11:14:09 -  1.1.1.1
> +++ pkg/PLIST 6 Feb 2019 19:29:02 -
> @@ -1,4 +1,5 @@
>  @comment $OpenBSD: PLIST,v 1.1.1.1 2018/04/29 11:14:09 landry Exp $
> +@bin bin/DHT_bootstrap
>  @bin bin/tox-bootstrapd
>  include/tox/
>  include/tox/tox.h
> 



Re: Update net/toxcore and take maintainership back

2019-02-06 Thread Leonid Bobrov
On Wed, Feb 06, 2019 at 01:09:13PM -0500, Brian Callahan wrote:
> I think we're looking at two independent issues:
> 1. Does the bootstrap daemon work?
> 2. Does it work through init with a fancy rcctl script?
> 
> The answer to question 1 is unequivocally "yes" since I was running it on my
> machine and it worked. The answer to question 2 is a little trickier. At the
> moment it seems to be "no" but in reality it's more like "not yet."
> 
> Because the answer to question 1 is yes, I think we should return to
> building and shipping the daemon. Because toxcore is a dependency of other
> ports, I don't think the answer to question 2 should block the update but it
> should be something to be worked on for future inclusion (or more likely
> upstreaming).
> 
> ~Brian
> 

Ok, I'll try to take a work on rcctl later, meanwhile this diff is ready
to commit:

Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- Makefile9 Aug 2018 23:25:58 -   1.3
+++ Makefile6 Feb 2019 19:29:02 -
@@ -2,22 +2,22 @@
 
 COMMENT =  Tox client library
 
-V =0.2.3
-REVISION = 0
+V =0.2.9
 DISTNAME = toxcore-$V
 
 GH_ACCOUNT =   TokTok
 GH_PROJECT =   c-toxcore
 GH_TAGNAME =   v$V
 
-SHARED_LIBS += toxcore 0.1 # 0.1
+SHARED_LIBS += toxcore 0.2 # 2.9
 CATEGORIES =   net telephony
 
 HOMEPAGE = https://tox.chat/
 
+MAINTAINER =   Leonid Bobrov 
+
 # GPLv3+
 PERMIT_PACKAGE_CDROM = Yes
-
 
 WANTLIB = c config m opus pthread sodium vpx
 
Index: distinfo
===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo26 Jun 2018 20:34:04 -  1.2
+++ distinfo6 Feb 2019 19:29:02 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
-SIZE (toxcore-0.2.3.tar.gz) = 471336
+SHA256 (toxcore-0.2.9.tar.gz) = qMlicJRH+5sMuxqQ7BlFobLScrTTIjVsSKTjiCsSZ+c=
+SIZE (toxcore-0.2.9.tar.gz) = 510806
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/toxcore/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   29 Apr 2018 11:14:09 -  1.1.1.1
+++ pkg/PLIST   6 Feb 2019 19:29:02 -
@@ -1,4 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2018/04/29 11:14:09 landry Exp $
+@bin bin/DHT_bootstrap
 @bin bin/tox-bootstrapd
 include/tox/
 include/tox/tox.h



Re: Update net/toxcore and take maintainership back

2019-02-06 Thread Brian Callahan




On 2/6/19 11:15 AM, Leonid Bobrov wrote:

Hi Brian!

First, I tried setting up daemon at init level, I added to
/usr/ports/infrastructure/db/user.list the following:
831 _toxdht _toxdht net/toxcore

Then I added toxdht.rc to net/toxcore/pkg with contents:
```
#!/bin/ksh
daemon="${TRUEPREFIX}/bin/tox-bootstrapd --config /etc/tox-bootstrapd.conf"

. /etc/rc.d/rc.subr

rc_pre() {
 rm -f /var/run/tox-bootstrapd/tox-bootstrapd.pid
}
```

Then I appended to plist (with post-install target in Makefile to have
sample configuration file):
```
@newgroup _toxdht:831
@newuser _toxdht:831:831:daemon:Tox DHT bootstrap 
daemon:/var/lib/tox-bootstrapd:/sbin/nologin
@rcscript ${RCDIR}/toxdht
share/examples/tox-bootstrapd/tox-bootstrapd.conf.sample
@sample ${SYSCONFDIR}/tox-bootstrapd.conf
@mode 750
@owner _toxdht
@group _toxdht
@sample /var/lib/tox-bootstrapd/
@mode 755
@sample /var/run/tox-bootstrapd/
```

After that I ran `rcctl start toxdht` and got output "toxdht(ok)", it
created /var/run/tox-bootstrapd/tox-bootstrapd.pid file and exited,
I couldn't find it by running both ps(1) (with -aux flags) and top(1),
then I tried manually running it:
```
$ doas -u _toxdht tox-bootstrapd --config /etc/tox-boostrapd.conf
$ echo $?
0
```

Again it created /var/run/tox-bootstrapd/tox-bootstrapd.pid file, but
again I couldn't find its process. Here's default config I used:
https://github.com/TokTok/c-toxcore/blob/master/other/bootstrap_daemon/tox-bootstrapd.conf

I can't understand how to make it run at init level.


I think we're looking at two independent issues:
1. Does the bootstrap daemon work?
2. Does it work through init with a fancy rcctl script?

The answer to question 1 is unequivocally "yes" since I was running it 
on my machine and it worked. The answer to question 2 is a little 
trickier. At the moment it seems to be "no" but in reality it's more 
like "not yet."


Because the answer to question 1 is yes, I think we should return to 
building and shipping the daemon. Because toxcore is a dependency of 
other ports, I don't think the answer to question 2 should block the 
update but it should be something to be worked on for future inclusion 
(or more likely upstreaming).


~Brian



Re: Update net/toxcore and take maintainership back

2019-02-06 Thread Leonid Bobrov
Hi Brian!

First, I tried setting up daemon at init level, I added to
/usr/ports/infrastructure/db/user.list the following:
831 _toxdht _toxdht net/toxcore

Then I added toxdht.rc to net/toxcore/pkg with contents:
```
#!/bin/ksh
daemon="${TRUEPREFIX}/bin/tox-bootstrapd --config /etc/tox-bootstrapd.conf"

. /etc/rc.d/rc.subr

rc_pre() {
 rm -f /var/run/tox-bootstrapd/tox-bootstrapd.pid
}
```

Then I appended to plist (with post-install target in Makefile to have
sample configuration file):
```
@newgroup _toxdht:831
@newuser _toxdht:831:831:daemon:Tox DHT bootstrap 
daemon:/var/lib/tox-bootstrapd:/sbin/nologin
@rcscript ${RCDIR}/toxdht
share/examples/tox-bootstrapd/tox-bootstrapd.conf.sample
@sample ${SYSCONFDIR}/tox-bootstrapd.conf
@mode 750
@owner _toxdht
@group _toxdht
@sample /var/lib/tox-bootstrapd/
@mode 755
@sample /var/run/tox-bootstrapd/
```

After that I ran `rcctl start toxdht` and got output "toxdht(ok)", it
created /var/run/tox-bootstrapd/tox-bootstrapd.pid file and exited,
I couldn't find it by running both ps(1) (with -aux flags) and top(1),
then I tried manually running it:
```
$ doas -u _toxdht tox-bootstrapd --config /etc/tox-boostrapd.conf
$ echo $?
0
```

Again it created /var/run/tox-bootstrapd/tox-bootstrapd.pid file, but
again I couldn't find its process. Here's default config I used:
https://github.com/TokTok/c-toxcore/blob/master/other/bootstrap_daemon/tox-bootstrapd.conf

I can't understand how to make it run at init level.



Re: Update net/toxcore and take maintainership back

2019-02-06 Thread Brian Callahan

Hi Leonid --

On 2/6/19 4:55 AM, Leonid Bobrov wrote:

Hi!

While I was contributing to Ravenports, John Marino from DragonFly BSD
explained me why I should be maintainer. So I am willing to take back
maintainership of ports I submitted to this mailing list.

I disabled bootstrap daemon because it doesn't work, it immediately
starts and exits with 0, no error messages displayed (yes, I did proper
configuration). Without this daemon libconfig is not needed.


How are you setting up your bootstrap daemon? It works for me here.
I'm using this very simple config, named tox-bootstrap.conf:
---
port = 33445
keys_file_path = "/home/brian/keys"
pid_file_path = "/home/brian/tox-bootstrapd.pid"
enable_ipv6 = false
enable_lan_discovery = true
enable_tcp_relay = true
tcp_relay_ports = [443, 3389, 33445]
enable_motd = true
motd = "tox-bootstrapd OpenBSD"

bootstrap_nodes = (
  {
    address = "node.tox.biribiri.org"
    port = 33445
    public_key = 
"F404ABAA1C99A9D37D61AB54898F56793E1DEF8BD46B1038B9D822E8460FAB67"

  }
)
---
Then when I run
$ tox-bootstrapd --config=/home/brian/tox-bootstrap.conf --foreground 
--log-backend=stdout


I get this output:
Running "tox-bootstrapd" version 102009.
No 'enable_ipv4_fallback' setting in configuration file.
Using default 'enable_ipv4_fallback': true
Successfully read:
'pid_file_path': /home/brian/tox-bootstrapd.pid
'keys_file_path': /home/brian/keys
'port': 33445
'enable_ipv6': false
'enable_ipv4_fallback': true
'enable_lan_discovery': true
'enable_tcp_relay': true
Read 3 TCP ports:
Port #0: 443
Port #1: 3389
Port #2: 33445
'enable_motd': true
'motd': tox-bootstrapd OpenBSD
General config read successfully
Set MOTD successfully.
Keys are managed successfully.
Initialized Tox TCP server successfully.
Current limit on the number of files this process can open (1024) is 
rather low for the proper functioning of the TCP server. Consider 
raising the limit to at least 4096 or the recommended 32768. Continuing 
using the current limit (1024).
Successfully added bootstrap node #0: node.tox.biribiri.org:33445 
F404ABAA1C99A9D37D61AB54898F56793E1DEF8BD46B1038B9D822E8460FAB67

List of bootstrap nodes read successfully.
Public Key: D286EE94197170165FF3C6E922FB8B03D521E2BA61C4C40E4EAF5DEDCB081249
Initialized LAN discovery successfully.
Connected to another bootstrap node successfully.

And it sits and waits for connections (haven't tried your tox client 
update yet). This tells me that maybe we need to ship some sort of 
default configuration file? And possibly directions on how to use the 
bootstrap server because it was not at all obvious to me and took a bit 
of poking around.


I'd much rather ship the bootstrap server than not.

~Brian


Full changelog can be found here:
https://github.com/TokTok/c-toxcore/blob/master/CHANGELOG.md

Also this port has net/msgpack, audio/portaudio-svn, devel/gtest,
audio/libsndfile and graphics/opencv as test dependencies (I had to
figure that out myself because upstream doesn't mention that), but
trying to actually run those tests makes me stuck in infinite loop, so
I won't touch NO_TEST=Yes line.

Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- Makefile9 Aug 2018 23:25:58 -   1.3
+++ Makefile6 Feb 2019 08:45:34 -
@@ -2,29 +2,30 @@
  
  COMMENT =		Tox client library
  
-V =			0.2.3

-REVISION = 0
+V =0.2.9
  DISTNAME =toxcore-$V
  
  GH_ACCOUNT =		TokTok

  GH_PROJECT =  c-toxcore
  GH_TAGNAME =  v$V
  
-SHARED_LIBS +=  	toxcore	0.1 # 0.1

+SHARED_LIBS += toxcore 0.2 # 2.9
  CATEGORIES =  net telephony
  
  HOMEPAGE =		https://tox.chat/
  
+MAINTAINER =		Leonid Bobrov 

+
  # GPLv3+
  PERMIT_PACKAGE_CDROM =Yes
  
-

-WANTLIB = c config m opus pthread sodium vpx
+WANTLIB = c m opus pthread sodium vpx
  
  MODULES =		devel/cmake
  
+CONFIGURE_ARGS =	-DBOOTSTRAP_DAEMON=Off

+
  LIB_DEPENDS = audio/opus \
-   devel/libconfig \
multimedia/libvpx \
security/libsodium
  
Index: distinfo

===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo26 Jun 2018 20:34:04 -  1.2
+++ distinfo6 Feb 2019 08:45:34 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
-SIZE (toxcore-0.2.3.tar.gz) = 471336
+SHA256 (toxcore-0.2.9.tar.gz) = qMlicJRH+5sMuxqQ7BlFobLScrTTIjVsSKTjiCsSZ+c=
+SIZE (toxcore-0.2.9.tar.gz) = 510806
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/toxcore/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   29 Apr 2018 11:14:09 -  1.1.1.1
+++ 

Re: Update net/toxcore and take maintainership back

2019-02-06 Thread Leonid Bobrov
Sorry, new diff, DHT_bootstrap binary is useless because it doesn't
work too. This should be final sane diff:

Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- Makefile9 Aug 2018 23:25:58 -   1.3
+++ Makefile6 Feb 2019 10:29:31 -
@@ -2,29 +2,30 @@
 
 COMMENT =  Tox client library
 
-V =0.2.3
-REVISION = 0
+V =0.2.9
 DISTNAME = toxcore-$V
 
 GH_ACCOUNT =   TokTok
 GH_PROJECT =   c-toxcore
 GH_TAGNAME =   v$V
 
-SHARED_LIBS += toxcore 0.1 # 0.1
+SHARED_LIBS += toxcore 0.2 # 2.9
 CATEGORIES =   net telephony
 
 HOMEPAGE = https://tox.chat/
 
+MAINTAINER =   Leonid Bobrov 
+
 # GPLv3+
 PERMIT_PACKAGE_CDROM = Yes
 
-
-WANTLIB = c config m opus pthread sodium vpx
+WANTLIB = m opus pthread sodium vpx
 
 MODULES =  devel/cmake
 
+CONFIGURE_ARGS =   -DBOOTSTRAP_DAEMON=Off -DDHT_BOOTSTRAP=Off
+
 LIB_DEPENDS =  audio/opus \
-   devel/libconfig \
multimedia/libvpx \
security/libsodium
 
Index: distinfo
===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo26 Jun 2018 20:34:04 -  1.2
+++ distinfo6 Feb 2019 10:29:31 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
-SIZE (toxcore-0.2.3.tar.gz) = 471336
+SHA256 (toxcore-0.2.9.tar.gz) = qMlicJRH+5sMuxqQ7BlFobLScrTTIjVsSKTjiCsSZ+c=
+SIZE (toxcore-0.2.9.tar.gz) = 510806
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/toxcore/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   29 Apr 2018 11:14:09 -  1.1.1.1
+++ pkg/PLIST   6 Feb 2019 10:29:31 -
@@ -1,5 +1,4 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2018/04/29 11:14:09 landry Exp $
-@bin bin/tox-bootstrapd
 include/tox/
 include/tox/tox.h
 include/tox/toxav.h



Update net/toxcore and take maintainership back

2019-02-06 Thread Leonid Bobrov
Hi!

While I was contributing to Ravenports, John Marino from DragonFly BSD
explained me why I should be maintainer. So I am willing to take back
maintainership of ports I submitted to this mailing list.

I disabled bootstrap daemon because it doesn't work, it immediately
starts and exits with 0, no error messages displayed (yes, I did proper
configuration). Without this daemon libconfig is not needed.

Full changelog can be found here:
https://github.com/TokTok/c-toxcore/blob/master/CHANGELOG.md

Also this port has net/msgpack, audio/portaudio-svn, devel/gtest,
audio/libsndfile and graphics/opencv as test dependencies (I had to
figure that out myself because upstream doesn't mention that), but
trying to actually run those tests makes me stuck in infinite loop, so
I won't touch NO_TEST=Yes line.

Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- Makefile9 Aug 2018 23:25:58 -   1.3
+++ Makefile6 Feb 2019 08:45:34 -
@@ -2,29 +2,30 @@
 
 COMMENT =  Tox client library
 
-V =0.2.3
-REVISION = 0
+V =0.2.9
 DISTNAME = toxcore-$V
 
 GH_ACCOUNT =   TokTok
 GH_PROJECT =   c-toxcore
 GH_TAGNAME =   v$V
 
-SHARED_LIBS += toxcore 0.1 # 0.1
+SHARED_LIBS += toxcore 0.2 # 2.9
 CATEGORIES =   net telephony
 
 HOMEPAGE = https://tox.chat/
 
+MAINTAINER =   Leonid Bobrov 
+
 # GPLv3+
 PERMIT_PACKAGE_CDROM = Yes
 
-
-WANTLIB = c config m opus pthread sodium vpx
+WANTLIB = c m opus pthread sodium vpx
 
 MODULES =  devel/cmake
 
+CONFIGURE_ARGS =   -DBOOTSTRAP_DAEMON=Off
+
 LIB_DEPENDS =  audio/opus \
-   devel/libconfig \
multimedia/libvpx \
security/libsodium
 
Index: distinfo
===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo26 Jun 2018 20:34:04 -  1.2
+++ distinfo6 Feb 2019 08:45:34 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
-SIZE (toxcore-0.2.3.tar.gz) = 471336
+SHA256 (toxcore-0.2.9.tar.gz) = qMlicJRH+5sMuxqQ7BlFobLScrTTIjVsSKTjiCsSZ+c=
+SIZE (toxcore-0.2.9.tar.gz) = 510806
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/toxcore/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   29 Apr 2018 11:14:09 -  1.1.1.1
+++ pkg/PLIST   6 Feb 2019 08:45:34 -
@@ -1,5 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2018/04/29 11:14:09 landry Exp $
-@bin bin/tox-bootstrapd
+@bin bin/DHT_bootstrap
 include/tox/
 include/tox/tox.h
 include/tox/toxav.h



Re: [UPDATE] net/toxcore 0.2.7

2018-09-09 Thread Leonid Bobrov
On Sun, Sep 09, 2018 at 06:30:49PM +0200, Neon King wrote:
> __Some thoughts about behaviour on ports__
>
> I'm not even a part of the team but i'll write down some thoughts
> __that are my own__
> and that came to me in regards of your recent posts.
> Feel free to insult me if it makes you better, that won't solve anything .
> And
> frankly speaking i wouldn't care.
>

Greetings, Lecturer!

> Last year i came to ports@ with trying to port KiCAD as a newcomer and
> "full
> of goodwill". Trivial , shouldn't it be ? Well no. Lots of rocks. Felt like
> very
> frustrating at some point. I even came to the point of being cynical with
> some
> core members on IRC about the feedback they gave me, and still feel wrong
> about it.
>

Congratulations! But what you feel is your problem, not mine.

> But you don't seem like having any kind of regrets by your side. Did you
> just
> realized you directly insulted some of the most active members of the team ?
> You had a super agressive attitude with peoples trying to help you , yelling
> out of point things on tech@ and then insulting peoples on ports@ . After
> that you want not to be called a troll ?
>

Sure I don't regret, that's silly. I don't care who they are, get it?

No, you are wrong, they were not trying to help me, they actually did
help me many times. I have another reasons to be angry, first of all
I don't want to be patient, then I am annoyed by bullshit happenning
in OpenBSD, for example, being afraid to update GNU tools in base only
because their newer versions are GPLv3 licensed, and still it's
problematic to replace them, because that'll require abandoning support
of some necrophile processor architectures which nobody sells anymore.
That's not freedom, that's conservative masturbation.

> What do you expect after what you did? Just post diffs like nothing
> happened?
> I wouldn't be surprised that despite the right point of your work, nobody
> would
> be like caring because nobody wants to deal with such egocentric and kiddish
> behaviour . I'm sad about all that waste.
>

I am free to post diffs. If I want to post diffs, I post them, is that a
problem to you? If you don't want to use them, that's your problem, not
mine, Mr. Moral.

> I'm like "feeding the troll" maybe, but i think you took all of this too
> seriously and
> need to ask yourself questions at some point. Not let the frustration
> getting
> overwhelming is an important point , as well as taking time to understand
> who
> you are talking to and what they are saying. Mr Anyone can just behave like
> an ass on the Internet because -he can- , but that Mr Anyone get quickly
> blacklisted.
> 

Your retarded lecture is annoying. This is a free world and I mean it: I
am free to do what I want to do, you are free to do what you want to do.
Be you a president, a homeless, OpenBSD committer, some random guy or
even Theo De Raadt himself, you are nothing but average human to me.

I am free to talk in the way I like, if that's a problem to you: fuck you!



Re: [UPDATE] net/toxcore 0.2.7

2018-09-09 Thread Stuart Henderson
On 2018/09/09 18:30, Neon King wrote:
> What do you expect after what you did? Just post diffs like nothing
> happened?
> I wouldn't be surprised that despite the right point of your work, nobody
> would
> be like caring because nobody wants to deal with such egocentric and kiddish
> behaviour . I'm sad about all that waste.

Many of us won't even see them because we filter them to /dev/null.

As far as ports work goes, there is already more than enough to handle
from people who aren't being deliberately rude. (And I was one of the
people who did look at mazocomp's previous diffs).



Re: [UPDATE] net/toxcore 0.2.7

2018-09-09 Thread Neon King
__Some thoughts about behaviour on ports__

I'm not even a part of the team but i'll write down some thoughts
__that are my own__
and that came to me in regards of your recent posts.
Feel free to insult me if it makes you better, that won't solve anything .
And
frankly speaking i wouldn't care.

Last year i came to ports@ with trying to port KiCAD as a newcomer and
"full
of goodwill". Trivial , shouldn't it be ? Well no. Lots of rocks. Felt like
very
frustrating at some point. I even came to the point of being cynical with
some
core members on IRC about the feedback they gave me, and still feel wrong
about it.

But you don't seem like having any kind of regrets by your side. Did you
just
realized you directly insulted some of the most active members of the team ?
You had a super agressive attitude with peoples trying to help you , yelling
out of point things on tech@ and then insulting peoples on ports@ . After
that you want not to be called a troll ?

What do you expect after what you did? Just post diffs like nothing
happened?
I wouldn't be surprised that despite the right point of your work, nobody
would
be like caring because nobody wants to deal with such egocentric and kiddish
behaviour . I'm sad about all that waste.

I'm like "feeding the troll" maybe, but i think you took all of this too
seriously and
need to ask yourself questions at some point. Not let the frustration
getting
overwhelming is an important point , as well as taking time to understand
who
you are talking to and what they are saying. Mr Anyone can just behave like
an ass on the Internet because -he can- , but that Mr Anyone get quickly
blacklisted.

Greets,
Jerome

Le dim. 9 sept. 2018 à 14:46, Leonid Bobrov  a écrit :

> Yo!
>
> Please stop being dinosaur and update c-toxcore port to 0.2.7 release.
> Full changelog here: https://github.com/TokTok/c-toxcore/releases
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/net/toxcore/Makefile,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 Makefile
> --- Makefile9 Aug 2018 23:25:58 -   1.3
> +++ Makefile9 Sep 2018 12:27:45 -
> @@ -2,15 +2,14 @@
>
>  COMMENT =  Tox client library
>
> -V =0.2.3
> -REVISION = 0
> +V =0.2.7
>  DISTNAME = toxcore-$V
>
>  GH_ACCOUNT =   TokTok
>  GH_PROJECT =   c-toxcore
>  GH_TAGNAME =   v$V
>
> -SHARED_LIBS += toxcore 0.1 # 0.1
> +SHARED_LIBS += toxcore 0.2
>  CATEGORIES =   net telephony
>
>  HOMEPAGE = https://tox.chat/
> @@ -18,8 +17,7 @@ HOMEPAGE =https://tox.chat/
>  # GPLv3+
>  PERMIT_PACKAGE_CDROM = Yes
>
> -
> -WANTLIB = c config m opus pthread sodium vpx
> +WANTLIB += c config m opus pthread sodium vpx
>
>  MODULES =  devel/cmake
>
> Index: distinfo
> ===
> RCS file: /cvs/ports/net/toxcore/distinfo,v
> retrieving revision 1.2
> diff -u -p -u -p -r1.2 distinfo
> --- distinfo26 Jun 2018 20:34:04 -  1.2
> +++ distinfo9 Sep 2018 12:27:45 -
> @@ -1,2 +1,2 @@
> -SHA256 (toxcore-0.2.3.tar.gz) =
> IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
> -SIZE (toxcore-0.2.3.tar.gz) = 471336
> +SHA256 (toxcore-0.2.7.tar.gz) =
> vvbbsG2SGvWMai12Keb47q+h5UHTeeT/LMtP9dNJnNE=
> +SIZE (toxcore-0.2.7.tar.gz) = 493642
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/net/toxcore/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST   29 Apr 2018 11:14:09 -  1.1.1.1
> +++ pkg/PLIST   9 Sep 2018 12:27:45 -
> @@ -1,4 +1,5 @@
>  @comment $OpenBSD: PLIST,v 1.1.1.1 2018/04/29 11:14:09 landry Exp $
> +@bin bin/DHT_bootstrap
>  @bin bin/tox-bootstrapd
>  include/tox/
>  include/tox/tox.h
>
>


[UPDATE] net/toxcore 0.2.7

2018-09-09 Thread Leonid Bobrov
Yo!

Please stop being dinosaur and update c-toxcore port to 0.2.7 release.
Full changelog here: https://github.com/TokTok/c-toxcore/releases

Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- Makefile9 Aug 2018 23:25:58 -   1.3
+++ Makefile9 Sep 2018 12:27:45 -
@@ -2,15 +2,14 @@
 
 COMMENT =  Tox client library
 
-V =0.2.3
-REVISION = 0
+V =0.2.7
 DISTNAME = toxcore-$V
 
 GH_ACCOUNT =   TokTok
 GH_PROJECT =   c-toxcore
 GH_TAGNAME =   v$V
 
-SHARED_LIBS += toxcore 0.1 # 0.1
+SHARED_LIBS += toxcore 0.2
 CATEGORIES =   net telephony
 
 HOMEPAGE = https://tox.chat/
@@ -18,8 +17,7 @@ HOMEPAGE =https://tox.chat/
 # GPLv3+
 PERMIT_PACKAGE_CDROM = Yes
 
-
-WANTLIB = c config m opus pthread sodium vpx
+WANTLIB += c config m opus pthread sodium vpx
 
 MODULES =  devel/cmake
 
Index: distinfo
===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo26 Jun 2018 20:34:04 -  1.2
+++ distinfo9 Sep 2018 12:27:45 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
-SIZE (toxcore-0.2.3.tar.gz) = 471336
+SHA256 (toxcore-0.2.7.tar.gz) = vvbbsG2SGvWMai12Keb47q+h5UHTeeT/LMtP9dNJnNE=
+SIZE (toxcore-0.2.7.tar.gz) = 493642
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/toxcore/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   29 Apr 2018 11:14:09 -  1.1.1.1
+++ pkg/PLIST   9 Sep 2018 12:27:45 -
@@ -1,4 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2018/04/29 11:14:09 landry Exp $
+@bin bin/DHT_bootstrap
 @bin bin/tox-bootstrapd
 include/tox/
 include/tox/tox.h



Update net/toxcore to 0.2.5 release.

2018-08-08 Thread Leonid Bobrov
Yo!

While you were ignoring my update to 0.2.4, c-toxcore 0.2.5 is released.

Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 Makefile
--- Makefile26 Jun 2018 20:34:04 -  1.2
+++ Makefile8 Aug 2018 21:51:38 -
@@ -2,14 +2,14 @@
 
 COMMENT =  Tox client library
 
-V =0.2.3
+V =0.2.5
 DISTNAME = toxcore-$V
 
 GH_ACCOUNT =   TokTok
 GH_PROJECT =   c-toxcore
 GH_TAGNAME =   v$V
 
-SHARED_LIBS += toxcore 0.1 # 0.1
+SHARED_LIBS += toxcore 0.2 # 0.2
 CATEGORIES =   net telephony
 
 HOMEPAGE = https://tox.chat/
Index: distinfo
===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo26 Jun 2018 20:34:04 -  1.2
+++ distinfo8 Aug 2018 21:51:38 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
-SIZE (toxcore-0.2.3.tar.gz) = 471336
+SHA256 (toxcore-0.2.5.tar.gz) = mtijs9rIDgpGCH/R94lYGfIklOa2h9aOSnee7/Ia0tg=
+SIZE (toxcore-0.2.5.tar.gz) = 482160



Re: [maintainer update] net/toxcore to 0.2.4

2018-08-01 Thread Leonid Bobrov
Ping?

From: Leonid Bobrov 

Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 Makefile
--- Makefile26 Jun 2018 20:34:04 -  1.2
+++ Makefile23 Jul 2018 21:25:40 -
@@ -2,14 +2,14 @@
 
 COMMENT =  Tox client library
 
-V =0.2.3
+V =0.2.4
 DISTNAME = toxcore-$V
 
 GH_ACCOUNT =   TokTok
 GH_PROJECT =   c-toxcore
 GH_TAGNAME =   v$V
 
-SHARED_LIBS += toxcore 0.1 # 0.1
+SHARED_LIBS += toxcore 0.2 # 0.2
 CATEGORIES =   net telephony
 
 HOMEPAGE = https://tox.chat/
Index: distinfo
===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo26 Jun 2018 20:34:04 -  1.2
+++ distinfo23 Jul 2018 21:25:40 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.3.tar.gz) = 
IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
-SIZE (toxcore-0.2.3.tar.gz) = 471336
+SHA256 (toxcore-0.2.4.tar.gz) = 
9McSqKSwZTrkK0crSioslpwh5pWaB/wyswK5dID/umk=
+SIZE (toxcore-0.2.4.tar.gz) = 479618




[maintainer update] net/toxcore to 0.2.4

2018-07-23 Thread Leonid Bobrov
Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 Makefile
--- Makefile26 Jun 2018 20:34:04 -  1.2
+++ Makefile23 Jul 2018 21:25:40 -
@@ -2,14 +2,14 @@
 
 COMMENT =  Tox client library
 
-V =0.2.3
+V =0.2.4
 DISTNAME = toxcore-$V
 
 GH_ACCOUNT =   TokTok
 GH_PROJECT =   c-toxcore
 GH_TAGNAME =   v$V
 
-SHARED_LIBS += toxcore 0.1 # 0.1
+SHARED_LIBS += toxcore 0.2 # 0.2
 CATEGORIES =   net telephony
 
 HOMEPAGE = https://tox.chat/
Index: distinfo
===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo26 Jun 2018 20:34:04 -  1.2
+++ distinfo23 Jul 2018 21:25:40 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
-SIZE (toxcore-0.2.3.tar.gz) = 471336
+SHA256 (toxcore-0.2.4.tar.gz) = 9McSqKSwZTrkK0crSioslpwh5pWaB/wyswK5dID/umk=
+SIZE (toxcore-0.2.4.tar.gz) = 479618



Re: Update net/toxcore to 0.2.3 release

2018-06-25 Thread Leonid Bobrov
Sorry, after removing patches directory, cvs diff didn't generate patch
for removed files:
Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- Makefile29 Apr 2018 11:14:09 -  1.1.1.1
+++ Makefile25 Jun 2018 23:31:13 -
@@ -2,14 +2,14 @@
 
 COMMENT =  Tox client library
 
-V =0.2.2
+V =0.2.3
 DISTNAME = toxcore-$V
 
 GH_ACCOUNT =   TokTok
 GH_PROJECT =   c-toxcore
 GH_TAGNAME =   v$V
 
-SHARED_LIBS += toxcore 0.0 # 0.0
+SHARED_LIBS += toxcore 0.1 # 0.1
 CATEGORIES =   net telephony
 
 HOMEPAGE = https://tox.chat/
Index: distinfo
===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo29 Apr 2018 11:14:09 -  1.1.1.1
+++ distinfo25 Jun 2018 23:31:13 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.2.tar.gz) = o7Jdi9krlSa0e6H2CiiT0hVKgLt65pD0S1ot6kHHbqE=
-SIZE (toxcore-0.2.2.tar.gz) = 463402
+SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
+SIZE (toxcore-0.2.3.tar.gz) = 471336
Index: patches/patch-CMakeLists_txt
===
RCS file: patches/patch-CMakeLists_txt
diff -N patches/patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt29 Apr 2018 11:14:09 -  1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,38 +0,0 @@
-$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2018/04/29 11:14:09 landry Exp $
-
-Index: CMakeLists.txt
 CMakeLists.txt.orig
-+++ CMakeLists.txt
-@@ -62,6 +62,18 @@ if(APPLE)
-   include(MacRpath)
- endif()
- 
-+if(UNIX)
-+  if(CMAKE_SYSTEM_NAME MATCHES ".*Linux")
-+  set(LINUX TRUE)
-+  elseif(CMAKE_SYSTEM_NAME MATCHES "kOpenBSD.*|OpenBSD.*")
-+  set(OPENBSD TRUE)
-+  elseif(CMAKE_SYSTEM_NAME MATCHES "kNetBSD.*|NetBSD.*")
-+  set(NETBSD TRUE)
-+  elseif(CMAKE_SYSTEM_NAME MATCHES "kFreeBSD.*|FreeBSD.*")
-+  set(FREEBSD TRUE)
-+  endif()
-+endif()
-+
- enable_testing()
- 
- set(CMAKE_MACOSX_RPATH ON)
-@@ -184,10 +196,10 @@ if(ASAN)
- else()
-   # Forbid undefined symbols in shared libraries. This is incompatible with
-   # asan, so it's in the else branch here.
--  if(APPLE)
--add_dllflag("-undefined error")
--  else()
-+  if(LINUX)
- add_dllflag("-Wl,-z,defs")
-+  else()
-+add_dllflag("-undefined error")
-   endif()
- endif()
- 
Index: patches/patch-toxcore_ccompat_h
===
RCS file: patches/patch-toxcore_ccompat_h
diff -N patches/patch-toxcore_ccompat_h
--- patches/patch-toxcore_ccompat_h 29 Apr 2018 11:14:09 -  1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,22 +0,0 @@
-$OpenBSD: patch-toxcore_ccompat_h,v 1.1.1.1 2018/04/29 11:14:09 landry Exp $
-
-Index: toxcore/ccompat.h
 toxcore/ccompat.h.orig
-+++ toxcore/ccompat.h
-@@ -22,13 +22,13 @@
- // Emulation using alloca.
- #ifdef _WIN32
- #include 
--#elif defined(__FreeBSD__)
-+#elif defined(__linux__)
-+#include 
-+#else
- #include 
- #if !defined(alloca) && defined(__GNUC__)
- #define alloca __builtin_alloca
- #endif
--#else
--#include 
- #endif
- 
- #define VLA(type, name, size)   \


Update net/toxcore to 0.2.3 release

2018-06-25 Thread Leonid Bobrov
Hi!

Finally I can remove patches taken from upstream:
Index: Makefile
===
RCS file: /cvs/ports/net/toxcore/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- Makefile29 Apr 2018 11:14:09 -  1.1.1.1
+++ Makefile25 Jun 2018 23:24:52 -
@@ -2,14 +2,14 @@
 
 COMMENT =  Tox client library
 
-V =0.2.2
+V =0.2.3
 DISTNAME = toxcore-$V
 
 GH_ACCOUNT =   TokTok
 GH_PROJECT =   c-toxcore
 GH_TAGNAME =   v$V
 
-SHARED_LIBS += toxcore 0.0 # 0.0
+SHARED_LIBS += toxcore 0.1 # 0.1
 CATEGORIES =   net telephony
 
 HOMEPAGE = https://tox.chat/
Index: distinfo
===
RCS file: /cvs/ports/net/toxcore/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo29 Apr 2018 11:14:09 -  1.1.1.1
+++ distinfo25 Jun 2018 23:24:52 -
@@ -1,2 +1,2 @@
-SHA256 (toxcore-0.2.2.tar.gz) = o7Jdi9krlSa0e6H2CiiT0hVKgLt65pD0S1ot6kHHbqE=
-SIZE (toxcore-0.2.2.tar.gz) = 463402
+SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ=
+SIZE (toxcore-0.2.3.tar.gz) = 471336