Port details |
- libhx C/C++ library with common data structures and functions
- 4.24 lang
=2 4.23Version of this port present on the latest quarterly branch. - Maintainer: danfe@FreeBSD.org
 - Port Added: 2009-06-21 10:21:14
- Last Update: 2024-09-02 01:19:50
- Commit Hash: bf6add9
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: LGPL21+
- WWW:
- https://inai.de/projects/libhx/
- Description:
- libHX is a C library (with some additional C++ bindings available)
that provides data structures and functions for tasks common in scripting
languages; autoresizing string manipulation, maps, deques, option parsing,
type-checking casts and more.
libHX aids in quickly writing up C/C++ data processing programs,
by consolidating tasks that often happen to be open-coded, such as
config file reading, option parsing, directory traversal, and others,
into a library. The focus is on reducing the amount of time (and
secondarily, the amount of code) a developer has to spend for otherwise
implementing such. Subsequently, proficient coders can use this to
code as fast as for a scripting language.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/lang/libhx/ && make install clean
- To add the package, run one of these commands:
- pkg install lang/libhx
- pkg install libHX
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: libHX
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1721237757
SHA256 (libHX-4.24.tar.xz) = 760018915add802df416acdb5e2a3911139d44ca29e3bfc783d5aff1990db6a0
SIZE (libHX-4.24.tar.xz) = 360816
Packages (timestamps in pop-ups are UTC):
- This port has no dependencies.
- This port is required by:
- for Libraries
-
- misc/hxtools
- sysutils/parkverbot
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for libHX-4.24:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
- Options name:
- lang_libhx
- USES:
- cpe libtool localbase tar:xz
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
4.24 02 Sep 2024 01:19:50
    |
Alexey Dokuchaev (danfe)  |
lang/libhx: update the port to version 4.24
Reported by: portscout |
4.23 26 Feb 2024 09:31:54
    |
Alexey Dokuchaev (danfe)  |
lang/libhx: update the port to version 4.23
Purge the -Wl,--undefined-version patch added in commit
82a2ee4733f0 because it's not needed since version 4.18.
Reported by: portscout |
4.21 22 Dec 2023 12:01:56
    |
Alexey Dokuchaev (danfe)  |
lang/libhx: update the port to version 4.21
Reported by: portscout |
4.19 09 Dec 2023 17:05:18
    |
Alexey Dokuchaev (danfe)  |
lang/libhx: update the port to version 4.19
Reported by: portscout |
4.16 25 Nov 2023 18:43:29
    |
Dimitry Andric (dim)  |
lang/libhx: fix build with lld 17
Building lang/libhx with lld 17 results in the following link errors:
ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_basename'
failed: symbol not defined
ld: error: version script assignment of 'LIBHX_3.25' to symbol
'HX_basename_exact' failed: symbol not defined
ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_chomp'
failed: symbol not defined
ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_copy_dir'
failed: symbol not defined
ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_copy_file'
failed: symbol not defined
ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_dirname'
failed: symbol not defined
ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_dlclose'
failed: symbol not defined
ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_dlerror'
failed: symbol not defined
ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_dlopen'
failed: symbol not defined
ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_dlsym'
failed: symbol not defined
ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_drand'
failed: symbol not defined (Only the first 15 lines of the commit message are shown above ) |
4.16 07 Nov 2023 21:22:38
    |
Alexey Dokuchaev (danfe)  |
lang/libhx: update the port to version 4.16
Reported by: portscout |
4.15 17 Oct 2023 16:50:08
    |
Alexey Dokuchaev (danfe)  |
lang/libhx: update the port to version 4.15
- Added two functions to compute Least Positive Residue
- HX_strrtrim() now works on strings longer than INT_MAX
- Distfile can be also downloaded from Codeberg
Reported by: portscout |
4.14 15 Sep 2023 07:22:08
    |
Alexey Dokuchaev (danfe)  |
lang/libhx: update the port to bugfix version 4.14
- make HX_addrport_split() work on portless bracketed hostspec
- do not fail HX_mkdir() when component is a symlink to a directory
- fix infinite recursion in xml_getnsprop()
While here, install missing documentation.
Reported by: portscout |
4.12 11 Mar 2023 08:17:36
    |
Alexey Dokuchaev (danfe)  |
lang/libhx: the port had been updated to version 4.12
- Plug a memory leak in HX_inet_listen() function
- Add HX_addrport_split(), HX_inet_connect(), HX_inet_listen(),
and HX_local_listen() functions
Reported by: portscout |
4.10 30 Jan 2023 16:40:58
    |
Alexey Dokuchaev (danfe)  |
lang/libhx: update the port to version 4.10
While here, do not try to append to the previously undefined variable.
Reported by: portscout |
4.9 23 Jan 2023 17:06:06
    |
Alexey Dokuchaev (danfe)  |
lang/libhx: update the port to version 4.9
Reported by: portscout |
4.8 03 Jan 2023 05:29:56
    |
Alexey Dokuchaev (danfe)  |
lang/libhx: update the port to version 4.8
Reported by: portscout |
4.7 29 Oct 2022 08:58:30
    |
Alexey Dokuchaev (danfe)  |
lang/libhx: update the port to version 4.7
Reported by: portscout |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
4.6 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
4.6 30 Jul 2022 13:40:54
    |
Alexey Dokuchaev (danfe)  |
lang/libhx: update the port to version 4.6. |
4.5 20 Jul 2022 14:22:15
    |
Tobias C. Berner (tcberner)  |
lang: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adamw@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Dupre <ale@FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alonso Cardenas Marquez <acm@FreeBSD.org>
* Andreas Klemm <andreas@klemm.gtn.com>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Andrey Zakhvatov
* Anton Berezin <tobez@FreeBSD.org>
* Anton Berezin <tobez@tobez.org> (Only the first 15 lines of the commit message are shown above ) |
4.5 11 Apr 2022 07:32:20
    |
Alexey Dokuchaev (danfe)  |
lang/libhx: update the port to the latest version 4.5
Now builds and passes its test suite without any patches, GC them.
Reported by: portscout |
4.3 16 Mar 2022 05:39:50
    |
Alexey Dokuchaev (danfe)  |
lang/libhx: update the port to version 4.3
Patch the test suite code to make it compatible with modern C++.
Reported by: portscout |
4.2 20 Oct 2021 02:47:19
    |
Alexey Dokuchaev (danfe)  |
lang/libhx: the port had been updated (+)
- Update libHX to version 4.2
- Sadly, the author no longer hosts the project on SourceForge
but on his own site instead, this affects MASTER_SITES and
WWW line in the port description
- Disable getsockopt(SO_BINDTODEVICE) call for now as FreeBSD
does not implement this socket option (patches welcome)
- While here, assume maintainership of the port |
3.25 19 May 2021 19:56:14
    |
Danilo Egea Gondolfo (danilo)  |
lang/libhx: Drop maintainership |
3.25 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
3.25 03 Aug 2020 11:13:37
  |
danilo  |
- Update libhx to 3.25 [1]
- Add TEST_TARGET [1]
while here:
- Replace CPPFLAGS and LDFLAGS by USES=localbase
- Remove useless post-patch
- Add LICENSE
- Bump dependencies PORTREVISION
Submitted by: danfe (email) [1] |
3.24 20 Oct 2018 14:40:43
  |
danilo  |
- Update to 3.24 |
3.23 30 Aug 2018 14:23:19
  |
danilo  |
- Update to 3.23 |
3.22 19 Apr 2015 10:47:15
  |
amdmi3  |
- Add CPE info
- Fix tab after WWW:
Approved by: portmgr blanket |
3.22 27 Oct 2014 15:23:31
  |
bapt  |
Cleanup plist |
3.22 26 Aug 2014 11:09:46
  |
danilo  |
- Update from 3.21 to 3.22 |
3.21 17 Aug 2014 22:57:01
  |
danilo  |
- Update from 3.14.1 to 3.21
- Take maintainership |
3.14.1_1 13 Aug 2014 12:57:29
  |
amdmi3  |
- Switch lang/libhx to USES=libtool, drop .la files
- Fix pkgconfig files installation
- Strip libraries
- Bump dependent ports as .so version has changed |
3.14.1 29 Jul 2014 21:25:31
  |
adamw  |
Remove the final usages of USE_XZ from the tree, and replace them with
USES=tar:xz.
Approved by: portmgr (most of them) |
3.14.1 04 Jul 2014 00:24:35
  |
adamw  |
Remove NOPORTDOCS and NOPORTEXAMPLES. |
3.14.1 11 Jun 2014 18:55:30
  |
marino  |
Reset the 99 ports still listed under sylvio@
Sylvio's last commit was 17 months ago, a full 5 months after all of his
ports could have been reset per policy. Given the push to complete
staging (48 ports are still unstaged, something like 70+ have already
been staged by other committers) and given that PRs are automatically
assigned but never addressed, it's better just to reset all the ports and
PRs so that it's clear to others that these ports are free to maintain.
Approved by: portmgr (implicit) |
3.14.1 05 May 2014 09:45:37
  |
bapt  |
Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)
bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore
Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier
With hat: portmgr |
3.14.1 25 Sep 2013 00:54:09
  |
bdrewery  |
- Remove NO_STAGE as these have been tested to be safe
With hat: portmgr |
3.14.1 20 Sep 2013 19:53:10
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang) |
3.14.1 08 Jan 2013 10:22:33
  |
gahr  |
- Update to 3.14.1
PR: 174089
Submitted by: gahr
Approved by: maintainer (timeout > 1 month) |
3.10.1 23 Sep 2011 22:26:39
 |
amdmi3  |
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav |
3.10.1 08 Sep 2011 14:11:39
 |
gahr  |
- Fix PLIST and handling of PORTDOCS
Reported by: PH (via erwin) |
3.10.1 07 Sep 2011 10:02:50
 |
gahr  |
- Update to 3.10.1
PR: 159598
Submitted by: Pietro Cerutti <gahr@FreeBSD.org>
Approved by: maintainer timeout (1 month) |
3.6 03 Jul 2011 13:45:36
 |
ohauer  |
- remove MD5 |
3.6 04 Dec 2010 07:34:27
 |
ade  |
Sync to new bsd.autotools.mk |
3.6 02 Nov 2010 08:03:47
 |
gahr  |
- Fix build on < 800505 by properly using USE_XZ
Reported by: ph (via pav) |
3.6 29 Oct 2010 09:52:45
 |
gahr  |
- Update to 3.6
PR: 151455
Submitted by: gahr
Approved by: maintainer (timeout 15 days) |
3.2 03 Dec 2009 11:01:20
 |
sylvio  |
- Update to 3.2
Approved by: miwi (mentor) |
3.0.1 27 Nov 2009 22:52:30
 |
sylvio  |
- Update my mail address to FreeBSD
Approved by: miwi (mentor) |
3.0.1 12 Sep 2009 23:26:08
 |
miwi  |
- Fix build on FreeBSD 6.X
PR: 138745
Submitted by: Sylvio Cesar <scjamorim@bsd.com.br> (maintainer) |
3.0.1 04 Sep 2009 00:13:11
 |
araujo  |
- Update to 3.0.1.
PR: ports/138511
Submitted by: Sylvio Cesar <scjamorim@bsd.com.br> (maintainer) |
2.8 22 Aug 2009 00:24:37
 |
amdmi3  |
- Switch SourceForge ports to the new File Release System: categories starting
with H,I,J,K,L |
2.8 10 Aug 2009 14:15:30
 |
araujo  |
- Update to 2.8.
PR: ports/137490
Submitted by: Sylvio Cesar <scjamorim@bsd.com.br> (maintainer) |
2.7 21 Jun 2009 20:17:06
 |
dhn  |
- Update pkg-descr |
2.7 21 Jun 2009 10:20:37
 |
dhn  |
libHX is a C library (with some additional C++ bindings available)
WWW: http://libhx.sourceforge.net/
PR: ports/135871
Submitted by: Sylvio Cesar <scjamorim@bsd.com.br> |