notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
lutok Lightweight C++ API for Lua
0.4_9 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.4_8Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-05-19 04:19:36
Last Update: 2024-03-02 14:01:25
Commit Hash: 0654062
People watching this port, also watch:: libinotify, gtkmm30, py39-pycparser, alsa-plugins, libucl
License: BSD3CLAUSE
WWW:
https://github.com/jmmv/lutok/
Description:
Lutok is a lightweight C++ API library for Lua. Lutok provides thin C++ wrappers around the Lua C API to ease the interaction between C++ and Lua. These wrappers make intensive use of RAII to prevent resource leakage, expose C++-friendly data types, report errors by means of exceptions and ensure that the Lua stack is always left untouched in the face of errors. The library also provides a small subset of miscellaneous utility functions built on top of the wrappers. Lutok focuses on providing a clean and safe C++ interface; the drawback is that it is not suitable for performance-critical environments. In order to implement error-safe C++ wrappers on top of a Lua C binary library, Lutok adds several layers or abstraction and error checking that go against the original spirit of the Lua C API and thus degrade performance.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (33 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/lutok-0.4_9/catalog.mk
  3. /usr/local/share/licenses/lutok-0.4_9/LICENSE
  4. /usr/local/share/licenses/lutok-0.4_9/BSD3CLAUSE
  5. include/lutok/c_gate.hpp
  6. include/lutok/debug.hpp
  7. include/lutok/exceptions.hpp
  8. include/lutok/operations.hpp
  9. include/lutok/stack_cleaner.hpp
  10. include/lutok/state.hpp
  11. include/lutok/state.ipp
  12. include/lutok/test_utils.hpp
  13. lib/liblutok.a
  14. lib/liblutok.so
  15. lib/liblutok.so.3
  16. lib/liblutok.so.3.0.0
  17. libdata/pkgconfig/lutok.pc
  18. share/examples/lutok/Makefile
  19. share/examples/lutok/bindings.cpp
  20. share/examples/lutok/hello.cpp
  21. share/examples/lutok/interpreter.cpp
  22. share/examples/lutok/raii.cpp
  23. tests/lutok/Kyuafile
  24. tests/lutok/c_gate_test
  25. tests/lutok/debug_test
  26. tests/lutok/examples_test
  27. tests/lutok/exceptions_test
  28. tests/lutok/operations_test
  29. tests/lutok/stack_cleaner_test
  30. tests/lutok/state_test
  31. @owner
  32. @group
  33. @mode
Collapse this list.
Dependency lines:
  • lutok>0:devel/lutok
To install the port:
cd /usr/ports/devel/lutok/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/lutok
  • pkg install lutok
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: lutok
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1704256837 SHA256 (freebsd-lutok-lutok-0.4_GH0.tar.gz) = 475da420c75a566533f8763ee161525a533cf976f1901f089796bb867953098f SIZE (freebsd-lutok-lutok-0.4_GH0.tar.gz) = 37561

Packages (timestamps in pop-ups are UTC):
lutok
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.4_90.4_90.4_70.4_90.4_9-0.4_7-
FreeBSD:13:quarterly0.4_90.4_90.4_80.4_90.4_90.4_90.4_90.4_9
FreeBSD:14:latest0.4_90.4_90.4_70.4_90.4_90.4_8-0.4_8
FreeBSD:14:quarterly0.4_90.4_9-0.4_90.4_90.4_90.4_90.4_9
FreeBSD:15:latest0.4_90.4_9n/a0.4_9n/a0.4_90.4_90.4_9
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. atf>=0.21 : devel/atf
  2. doxygen>0 : devel/doxygen
  3. pkgconf>=1.3.0_1 : devel/pkgconf
  4. autoconf>=2.71 : devel/autoconf
  5. automake>=1.16.5 : devel/automake
  6. libtoolize : devel/libtool
Runtime dependencies:
  1. atf>=0.21 : devel/atf
Library dependencies:
  1. liblua-5.4.so : lang/lua54
This port is required by:
for Libraries
  1. devel/kyua

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/kyua-cli*
  2. Collapse this list of deleted ports.
* - 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 lutok-0.4_9: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings
Options name:
devel_lutok
USES:
autoreconf libtool lua pathfix pkgconfig
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/freebsd/lutok/tar.gz/lutok-0.4?dummy=/
Collapse this list.

Number of commits found: 28

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.4_9
02 Mar 2024 14:01:25
commit hash: 0654062eabb01deba8aef824e839f29b0fba3ceccommit hash: 0654062eabb01deba8aef824e839f29b0fba3ceccommit hash: 0654062eabb01deba8aef824e839f29b0fba3ceccommit hash: 0654062eabb01deba8aef824e839f29b0fba3cec files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
cleanup: (ir)regular GH_TAGNAME cleanup
0.4_9
04 Jan 2024 05:06:52
commit hash: 63d640a7bc6f3153030449359635bb82c6719dbbcommit hash: 63d640a7bc6f3153030449359635bb82c6719dbbcommit hash: 63d640a7bc6f3153030449359635bb82c6719dbbcommit hash: 63d640a7bc6f3153030449359635bb82c6719dbb files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/lutok: Remove DEFAULT option TEST

The dependencies on TEST are mandatory and cannot be optionized. So
remove the TEST option and make the dependencies as mandadatory.

Reported by:	leres
0.4_9
03 Jan 2024 05:27:54
commit hash: 7278592dafeab418642a00203b1134285be7f1a3commit hash: 7278592dafeab418642a00203b1134285be7f1a3commit hash: 7278592dafeab418642a00203b1134285be7f1a3commit hash: 7278592dafeab418642a00203b1134285be7f1a3 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/lutok: Switch to FreeBSD upstream

- As per the recent discussion switch to the FreeBSD upstream
- For now resetting MAINTAINER to myself with ci@ hat on but anyone from
  ci@ feel free to commit
- Pet port{clippy|fmt}

PR:             276071
Approved by:    jmmv (private mail)
0.4_8
07 May 2023 18:38:48
commit hash: d994be1167ebf8a892784294af368ba14053150fcommit hash: d994be1167ebf8a892784294af368ba14053150fcommit hash: d994be1167ebf8a892784294af368ba14053150fcommit hash: d994be1167ebf8a892784294af368ba14053150f files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
devel/lutok: fix build with clang 16

Since clang 16 (and gcc 11) the default C++ standard is now gnu++17.
Because devel/lutok's Makefile does not explicitly set its C++ standard,
this leads to an error:

  In file included from operations.cpp:35:
  ./stack_cleaner.hpp:75:10: error: no template named 'auto_ptr' in namespace
'std'
      std::auto_ptr< impl > _pimpl;
      ~~~~~^

Add USE_CXXSTD=gnu++98 to avoid the error. While here, pet portlint.

PR:		271053
Approved by:	maintainer timeout (2 weeks)
MFH:		2023Q2
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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)
0.4_7
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
0.4_7
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.4_7
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.4_7
22 Apr 2019 23:34:13
Revision:499695Original commit files touched by this commit
ngie search for other commits by this committer
Backport patch to fix error check with access(3) failures

The code was not properly checking the failure from access(3).

Backport the patch from GitHub (made after the 0.4 release) which fixes this
issue.

Bump PORTREVISION for the change.

PR:		237459
Reviewed by:	asomers, jmmv
Approved by:	jmmv (maintainer)
Obtained from:	https://github.com/jmmv/lutok
(a23c7b894cf50dea5e927e36a3578b720fffcf23)
Differential Revision: https://reviews.freebsd.org/D20002
0.4_6
21 Oct 2016 12:51:41
Revision:424411Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
${RM} already has -f.

PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
0.4_6
01 Apr 2016 14:00:57
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
0.4_6
30 Oct 2014 16:41:15
Revision:371763Original commit files touched by this commit
jmmv search for other commits by this committer
Update devel/lutok's dependency on atf to 0.21.

Differential Revision:	https://reviews.freebsd.org/D1003
Approved by:	bapt
0.4_5
27 Oct 2014 10:40:08
Revision:371546Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
0.4_5
15 Aug 2014 18:56:58
Revision:365021Original commit files touched by this commit
jmmv search for other commits by this committer
Reflect lutok's master site move from Google Code to GitHub.

Reviewed by:	bdrewery (D610)
Approved by:	bdrewery (ports)
0.4_5
03 Jun 2014 21:13:40
Revision:356413Original commit files touched by this commit
antoine search for other commits by this committer
Replace LIB_DEPENDS on libatf by RUN_DEPENDS+BUILD_DEPENDS
This fixes build on FreeBSD 10 which has libatf in base

Phabric:	D134
0.4_5
26 May 2014 02:57:19
Revision:355276Original commit files touched by this commit
jmmv search for other commits by this committer
Enable the TEST option by default in atf-based ports.

Get ports that use the atf libraries to install their tests by default.
This is to showcase the potential of getting the tests installed on a
live system and will also simplify the process of running them periodically
out of /usr/local/tests/.

Packages confirmed to build with this option enabled.

Approved by:	bapt (ports)
0.4_4
24 May 2014 20:11:06
Revision:355077Original commit files touched by this commit
jmmv search for other commits by this committer
Change ports that use the ATF libraries to depend on devel/atf.

As part of this, make it possible to install devel/atf independently of
the presence of ATF in the base system.  This is so that we can turn the
ATF libraries in base into private libraries.

Note that this should have no effect on prebuilt binary packages because
these changes only apply when the TEST option is selected, and this option
is not yet the default.

Approved by:	eadler (ports)
0.4_3
17 May 2014 17:05:11
Revision:354344Original commit files touched by this commit
jmmv search for other commits by this committer
Make devel/lutok use USES+=libtool.

As a side-effect, also make use of install-strip for installation.

Approved by:	bdrewery
0.4_2
11 Feb 2014 03:48:38
Revision:343717Original commit files touched by this commit
jmmv search for other commits by this committer
Install tests for lutok, kyua-testers and kyua.

This is all conditionalized on a TEST option.

Approved by:	bdrewery
0.4_1
25 Jan 2014 20:24:30
Revision:341087Original commit files touched by this commit
jmmv search for other commits by this committer
Remove FreeBSD svn keyword form pkg-plist files.

Approved by:	bapt (ports)
0.4_1
24 Jan 2014 19:46:57
Revision:340929Original commit files touched by this commit
jmmv (src committer) search for other commits by this committer
Add staging support to kyua* and lutok.

While doing this, consolidate file handling into pkg-plist (instead of
the previous split between the Makefile and the pkg-plist) for simplicity.

Reviewed by:	asomers (ex-maintainer)
Approved by:	bdrewery (ports)
0.4_1
13 Jan 2014 21:29:45
Revision:339638Original commit files touched by this commit
asomers (src committer) search for other commits by this committer
Change maintainer of devel/{lutok,kyua-testers,kyua,kyua-atf-compat} from
Alan Somers to Julio Merino, who is also the upstream maintainer.

Approved by:	bdrewery
0.4_1
10 Jan 2014 13:19:01
Revision:339350Original commit files touched by this commit
bapt search for other commits by this committer
Port to lua 5.2
Support stage which eliminate lots of hacks
0.4
10 Dec 2013 23:02:31
Revision:336124Original commit files touched by this commit
jmmv (src committer) search for other commits by this committer
Update to 0.4.

Approved by:	rpaulo (mentor), asomers (maintainer), bdrewery (ports)
0.3
21 Oct 2013 23:10:50
Revision:331207Original commit files touched by this commit
asomers (src committer) search for other commits by this committer
Update to version 0.3.  Don't create the empty directory /usr/tests/lutok.

PR:		183088
Submitted by:	Julio Merino <julio@meroh.net>
Reviewed by:	asomers
Approved by:	bdrewery
0.2
26 Sep 2013 20:08:39
Revision:328410Original commit files touched by this commit
eadler search for other commits by this committer
Certain automated tools fail when @FreeBSD.org is not capitalized appropriatly.
Fix ports which don't follow convention.
0.2
20 Sep 2013 17:13:47
Revision:327724Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
0.2
19 May 2013 04:19:16
Revision:318484Original commit files touched by this commit
bdrewery search for other commits by this committer
Lutok is a lightweight C++ API library for Lua.

Lutok provides thin C++ wrappers around the Lua C API to ease the
interaction between C++ and Lua.  These wrappers make intensive use of
RAII to prevent resource leakage, expose C++-friendly data types, report
errors by means of exceptions and ensure that the Lua stack is always
left untouched in the face of errors.  The library also provides a small
subset of miscellaneous utility functions built on top of the wrappers.

Lutok focuses on providing a clean and safe C++ interface; the drawback
is that it is not suitable for performance-critical environments.  In
order to implement error-safe C++ wrappers on top of a Lua C binary
library, Lutok adds several layers or abstraction and error checking
that go against the original spirit of the Lua C API and thus degrade
performance.

WWW: https://code.google.com/p/lutok/

PR:		ports/177639
Submitted by:	Alan Somers <asomers@FreeBSD.org>

Number of commits found: 28