ObjFW is a highly portable, lightweight, general purpose, open source
Objective-C framework with full Objective-C 2.0, blocks and ARC support,
providing not only basic classes like strings, arrays and dictionaries,
but also providing abstractions for OS-dependant functionality like
asynchronous sockets.
While a lot of the core API is similar to Foundation, it breaks with
Foundation's API on purpose in many places to embrace new features which
Foundation can't use completely due to its backwards compatibility. One
such example are exceptions, which are a first class citizen in ObjFW
and not merely to inform the programmer of his wrongdoings like in
Foundation.
ObjFW runs on a huge list of platforms and offers the same API on all of
them so that software written using ObjFW runs on all platforms
supported by ObjFW without #ifdef hells or the like. It does not only
run on almost any POSIX system that supports GCC >= 4, but it also works
on Windows and niche platforms like the PlayStation Portable.
===> The following configuration options are available for objfw-1.5.7_1:
DOCS=on: Build and/or install documentation
====> Secure network connection support via TLS: you have to select exactly one of them
OPENSSL=on: SSL/TLS support via OpenSSL
GNUTLS=off: SSL/TLS support via GnuTLS
MBEDTLS=off: SSL/TLS support via mbed TLS
NOTLS=off: no SSL/TLS support
===> Use 'make config' to modify these settings
devel/objfw: fix build on powerpc64*
Taking the address of _objc_taggedPointerClasses with
addis %r6, %r2, _objc_taggedPointerClasses@toc@ha
addi %r6, %r6, _objc_taggedPointerClasses@toc@l
emits an R_PPC64_TOC16_LO relocation against the symbol itself, which
requires the symbol to be non-preemptible and reachable relative to the
TOC pointer. Neither holds for a global symbol in a shared library, so
linking libobjfwrt.so fails on FreeBSD/powerpc64le:
ld: error: relocation R_PPC64_TOC16_LO cannot be used against symbol
'_objc_taggedPointerClasses'; recompile with -fPIC
>>> defined in tagged-pointer.lib.o
(Only the first 15 lines of the commit message are shown above )
devel/objfw: update to 1.4.1
Changelog:
ObjFW 1.4 -> ObjFW 1.4.1, 2025-08-25
* Optimizes CRC16 and CRC32 calculation, thereby fixing bad extraction speed
for OFGZIPStream, OFLHAArchive, OFZIPArchive & OFZooArchive. This speeds up
extracting a ZIP archive using ofarc from being significantly slower than
unzip to being noticeably faster than unzip.
+ Adds missing man page for ofgctester.
* Fixes compiling with the upcoming MorphOS SDK.
* Uses SetFilePosixDate on MorphOS if available to avoid incorrect dates
during DST transitions.
ObjFW 1.3.2 -> ObjFW 1.4, 2025-08-03
(Only the first 15 lines of the commit message are shown above )
security/mbedtls: Move to security/mbedtls2
The port has expired but isn't removed yet because there are still too
many consumers. Rename it because the name "security/mbedtls" makes it
look like it's the default version.
PR: 283792
devel/objfw: Improve Makefile
- Sort options to pet portclippy.
- Rename option SSL to TLS: TLS used in PLIST_SUB and in name of the so
library installed with this option - libobjfwtls.so.1.
- Add strip libobjfwtls.so.1 to TLS option MBEDTLS too.
PR: 280876
Approved by: Jonathan Schleifer <js@nil.im> (maintainer)
devel/objfw: Update 1.1.2 → 1.1.6
ObjFW 1.1.5 -> ObjFW 1.1.6, 2024-08-11
* Fixes ObjC++ with GCC.
* Adds handling of EINTR in OFKernelEventObserver.
* Fixes overriding / reusing stack arguments in super calls on x86.
* Makes headers compatible with -Wunused-parameter.
ObjFW 1.1.4 -> ObjFW 1.1.5, 2024-07-06
* Fixes MIPS32.
* Properly hides private symbols in the runtime so they can't be used
accidentally anymore.
ObjFW 1.1.3 -> ObjFW 1.1.4, 2024-05-22
* Fixes ofarc failing to extract from stdin on macOS.
(Only the first 15 lines of the commit message are shown above )
devel/objfw: update to 1.0.5
ObjFW 1.0.4 -> ObjFW 1.0.5, 2023-11-05
* Fixes the calculation of the extra alignment in OFAllocObject()
* Fixes +[OFSystemInfo networkInterfaces] on OpenBSD and Windows 98
* Fixes OFSocketAddressString() for AppleTalk addresses
* Uses GetModuleHandle() instead of LoadLibrary() where possible on Windows
* Disables tests for global blocks on Win64 due to broken compilers
* Adds PGP keys to verify tarballs and commits in the code repository
PR: 274924
MFH: 2023Q4
devel/objfw: Portable, lightweight framework for the Objective-C language
ObjFW is a highly portable, lightweight, general purpose, open source
Objective-C framework with full Objective-C 2.0, blocks and ARC support,
providing not only basic classes like strings, arrays and dictionaries,
but also providing abstractions for OS-dependant functionality like
asynchronous sockets.
While a lot of the core API is similar to Foundation, it breaks with
Foundation's API on purpose in many places to embrace new features which
Foundation can't use completely due to its backwards compatibility. One
such example are exceptions, which are a first class citizen in ObjFW
and not merely to inform the programmer of his wrongdoings like in
Foundation.
ObjFW runs on a huge list of platforms and offers the same API on all of
them so that software written using ObjFW runs on all platforms
supported by ObjFW without #ifdef hells or the like. It does not only
run on almost any POSIX system that supports GCC >= 4, but it also works
on Windows and niche platforms like the PlayStation Portable.
WWW: https://objfw.nil.im/
PR: 273835