Commit Graph

32 Commits

Author SHA1 Message Date
naddy
4f1d2838ba revert "Handle ALL_TARGET and INSTALL_TARGET in cmake module"
It breaks a number of ports at the fake step:

Unknown argument -t
Usage: cmake --install <dir> [options]
2023-01-28 22:03:46 +00:00
kn
34b56cbb68 Remove security/hlfl
WWW is dead, the old hlfl.org is now another project, DESCR doesn't
mention pf, long missing out on updates, unmaintained.

OK benoit
2023-01-28 16:25:12 +00:00
kn
27b506b7b4 set default CONFIGURE_STYLE=cmake explicitly to zap comment
MODULES ordering is relevant;  here cmake comes before python so cmake wins.
swapping them would mean python gets to set default targets, unless an
explicit configure style is set -- do so for clarity;  no change.
2023-01-21 09:45:24 +00:00
kn
8e8586c61c improve comment about deferred test compilation 2023-01-09 20:38:20 +00:00
kn
f4075aa855 update to libtorrent-rasterbar 1.2.18 2023-01-08 14:17:02 +00:00
kn
0c8aea4855 defer test compilation to test target
No PLIST/package change, but "make build" is much faster.
2023-01-08 13:08:22 +00:00
kn
66ad661858 drop patches and build with cmake
No need to fiddle around with static/shared or boost/python bits in the
autoconf system when cmake just gets it right.

cmake does not build egg files by default (there's an option, though).

No symbol changes as per /usr/src/lib/check_sym.

The current autoconf build links against system boost as well,
with cmake only the python boost library is used.
This looks like a needless extra in the autoconf version.

No static library besides the dynamic one anymore.

OK rsadowski
2023-01-08 13:06:11 +00:00
kn
bb4209614a Replace handrolled version with MODPY_MAJORMINOR 2023-01-05 22:55:39 +00:00
sthen
e6dba44ee9 use MODPY_PYBUILD for most of net/ 2022-11-13 19:37:40 +00:00
sthen
dae9f91e31 bump for MODPY_DEFAULT_VERSION_3 change 2022-11-13 15:28:39 +00:00
namn
d2c5180356 update net/libtorrent-rasterbar 1.2.17
- updates to 1.2.17
- major bump due to removed symbols
- MODPY_SETUPTOOLS because ${WRKSRC}/bindings/python/setup.py mentions
  setuptools. A side effect was that this sets TEST_TARGET = test. To
  get tests to run, set TEST_TARGET = check
- removes ${FILESDIR}/setup.py
- patches Jamfile with correct library version number and add include
  path for boost
- patches setup.py to pass arguments to b2 to build python bindings
  correctly
- backports build fix for boost 1.80.0
  see: https://github.com/arvidn/libtorrent/issues/6972
  1ec11e4e9b
- garbage collects PYTHON= CC= CXX= flags, which appear to be unused
- install python binding using MODPY_PYC_MAGIC_TAG

based on initial diff from Brad
feedback from Brad and sthen@

ok sthen@
2022-08-12 16:56:56 +00:00
naddy
3f5796b9fd drop RCS Ids 2022-03-11 19:45:43 +00:00
namn
50251a720f garbage collect CPPFLAGS (-pthread and warnings)
From Brad
2022-01-08 09:18:24 +00:00
namn
7917778454 update net/libtorrent-rasterbar 1.2.15
Changelog:
https://github.com/arvidn/libtorrent/releases/tag/v1.2.15
https://github.com/arvidn/libtorrent/releases/tag/v1.2.14

- Build with c++17 to work around c++14 / boost 1.77 crash (report and
  solution by Brad).
- Major bump due to removed symbols.
- Remove buffer.hpp patch (fixed upstream).
- Add newline in config.hpp patch.

From Brad with tweaks by me. Thanks!
Tested by Brad. OK mariani@
2021-12-31 00:31:16 +00:00
sthen
3fb7cdbcf6 bump REVISION for switch from Python 3.8 -> 3.9 2021-11-02 00:01:35 +00:00
rsadowski
0de194c3f7 Remove boost version checks and bump after boost rollback 2021-09-19 05:24:30 +00:00
namn
1a5803df97 update to libtorrent-rasterbar 1.2.13
Release notes:
https://github.com/arvidn/libtorrent/releases/tag/v1.2.13

- remove autotools and use CONFIGURE_STYLE = gnu now that default C++
  standard is detected. see:
  https://github.com/arvidn/libtorrent/pull/5026
- major bump because check_sym reports removed symbols
- carry ${FILESDIR}/setup.py from 1.2.11 because 1.2.12 relies on
  boost-build
- remove patches/patch-configure_ac
- Uses ${MODPY_EGG_VERSION} and SUBST_CMD in setup.py to only have to
  update version in one place (from sthen@)
- Uses ${MODPY_BIN} in ${FILESDIR}/setup.py (from sthen@)
- Remove -L{LOCALBASE}/lib in ${FILESDIR}/setup.py. Python bindings
  incorrectly linked -ltorrent-rasterbar with
  /usr/local/lib/libtorrent-rasterbar.so.3.0 instead of the freshly
  built ${WRKSRC}/src/.libs/libtorrent-rasterbar.so.4.0.

rsadowski@ reviewed older version of this diff
thfr@ gave feedback on using check_sym and deprecation not necessitating
    major bump
sthen@ gave feedback on python bits in setup.py
ok mariani@ who also tested deluge (older version of this diff) and
    qbittorrent
2021-05-22 21:47:28 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
sthen
d80c418015 regen PLISTs for python ports with .so files that end up renamed due to
the EXT_SUFFIX change in Python 3.8.7
2021-01-04 14:06:26 +00:00
rsadowski
7a67a87ecb Update libtorrent-rasterbar to 1.2.10
Release notes:
https://github.com/arvidn/libtorrent/releases/tag/libtorrent-1.2.10

Form Nam Nguyen
2020-09-07 04:24:17 +00:00
rsadowski
d25f0c89c4 Update libtorrent-rasterbar to 1.2.9
changelog: https://github.com/arvidn/libtorrent/blob/libtorrent-1.2.9/ChangeLog

- uses c++14 instead of clang++'s default gnu++14
- moves to autoreconf because configure defaults to c++11 instead of the
  desired c++14
- bumps library major due to symbol deletion
- changes MASTER_SITES to properly download the new release
- specifies devel/boost>=1.67.0 (from rsadowski@)
- uses MODPY_VERSION for naming boost python bindings in WANTLIB and
  CONFIGURE_ARGS (from rsadowski@)
- uses mt variants of libboost_system-mt and libboost_python38-mt
- links to libiconv.so.7.0 instead of libiconv.a now that upstream
  updated m4 macros
- regens WANTLIB with boost_python38, boost_system (non-mt) and iconv
- Remove PYTHON_CXXFLAGS and CXXFLAGS. gnu++14 is now the default for
  ports-gcc. (from brad@)

From Nam Nguyen
2020-09-04 04:24:28 +00:00
rsadowski
90eba316f9 Unbreak with devel/boost>=1.67.0
Input from namn@, thanks!
2020-08-15 20:31:06 +00:00
sthen
d9cfe4113e bump REVISION; python 3 default changed to 3.8 2020-07-03 21:12:24 +00:00
rsadowski
eec1a7a6aa Update libtorrent-rasterbar to 1.2.3
Diff from Nam Nguyen, tweaks from kn@
2020-02-06 20:00:16 +00:00
sthen
48b0b9660c replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:48:23 +00:00
tj
ef0b0aad5f update to libtorrent-rasterbar 1.1.13
ok bentley
2019-04-30 16:45:26 +00:00
sthen
49b00025fd bump REVISION for ports with a LIB_ or RUN_DEPENDS on devel/boost,
it has been split into subpackages
2018-12-13 19:53:23 +00:00
tj
749cafd7ad update to libtorrent-rasterbar 1.1.11
tested with qbittorrent by elias m. mariani and with deluge by me

ok bentley
2018-11-20 15:38:13 +00:00
tj
2776d42c94 update to libtorrent-rasterbar 1.1.10
tested with qbittorrent by elias m. mariani and with deluge by me

ok landry
2018-10-16 17:11:41 +00:00
sthen
f95556a8d4 build fixes for gcc arches, honour CC/CXX/CXXFLAGS, from manphiz at gmail 2018-04-26 11:30:09 +00:00
bentley
f83d7a4271 Update to libtorrent-rasterbar-1.1.7.
Include a patch to fix the build with clang 6.
2018-04-12 04:40:41 +00:00
bentley
257c68b5a1 Import libtorrent-rasterbar-1.1.6.
libtorrent(-rasterbar) is a C++ library that aims to be a good
alternative to all the other bittorrent implementations around.

The main goals of libtorrent are to be cpu efficient, memory efficient
and very easy to use.

Note that this is NOT the same library as the libtorrent package!


Based on a port by dcoppa@
Tweaks + ok bcallah@
2018-02-08 06:30:34 +00:00