View | Details | Raw Unified | Return to bug 273922 | Differences between
and this patch

Collapse All | Expand All

(-)b/lang/emilua/Makefile (+54 lines)
Added Link Here
1
PORTNAME=	emilua
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	0.4.3
4
CATEGORIES=	lang devel
5
6
MAINTAINER=	manipuladordedados@gmail.com
7
COMMENT=	Lua execution engine
8
WWW=		https://emilua.org
9
10
LICENSE=	BSL
11
LICENSE_FILE=	${WRKSRC}/LICENSE_1_0.txt
12
13
ONLY_FOR_ARCHS=	aarch64 amd64
14
ONLY_FOR_ARCHS_REASON=	the software structures have not yet been ported
15
16
BUILD_DEPENDS=	asciidoctor:textproc/rubygem-asciidoctor \
17
		boost-libs>0:devel/boost-libs \
18
		cmake:devel/cmake-core \
19
		gawk:lang/gawk \
20
		gperf:devel/gperf \
21
		re2c:devel/re2c \
22
		xxd:sysutils/xxd
23
LIB_DEPENDS=	libfmt.so:devel/libfmt \
24
		libserd-0.so:devel/serd \
25
		libsord-0.so:devel/sord
26
27
USES=		localbase luajit:luajit-openresty meson ncurses pathfix \
28
		pkgconfig ssl
29
USE_GCC=	12
30
USE_GITHUB=	nodefault
31
GH_TUPLE=	BoostGSoC14:boost.http:93ae527c89ffc517862e1f5f54c8a257278f1195:emilua_http/subprojects/emilua-http \
32
		breese:trial.protocol:79149f6:trial_protocol/subprojects/trial-protocol
33
USE_GITLAB=	yes
34
35
MESON_ARGS=	--buildtype=plain \
36
		--wrap-mode=nodownload \
37
		-Db_pch=false \
38
		-Denable_http=true \
39
		-Denable_manpages=true \
40
		-Denable_tests=true
41
42
LDFLAGS+=	-static-libstdc++
43
44
post-extract:
45
	${CP} ${WRKSRC}/subprojects/packagefiles/emilua-http/meson.build \
46
		${WRKSRC}/subprojects/emilua-http/
47
	${CP} ${WRKSRC}/subprojects/packagefiles/trial.protocol/meson.build \
48
		${WRKSRC}/subprojects/trial-protocol/
49
50
post-install:
51
	${MV} ${STAGEDIR}${PREFIX}/man/man3em/* \
52
		${STAGEDIR}${PREFIX}/man/man3/
53
54
.include <bsd.port.mk>
(-)b/lang/emilua/distinfo (+7 lines)
Added Link Here
1
TIMESTAMP = 1694922832
2
SHA256 (BoostGSoC14-boost.http-93ae527c89ffc517862e1f5f54c8a257278f1195_GH0.tar.gz) = 4e90417806c285348d968183072918e86d7fd7d7db5affb63ec03faee92ed8ed
3
SIZE (BoostGSoC14-boost.http-93ae527c89ffc517862e1f5f54c8a257278f1195_GH0.tar.gz) = 237404
4
SHA256 (breese-trial.protocol-79149f6_GH0.tar.gz) = ea82ba7736a2c6ae94e72587a454d3380517ed764df89e2297e6fac2acdeac03
5
SIZE (breese-trial.protocol-79149f6_GH0.tar.gz) = 255698
6
SHA256 (emilua-v0.4.3.tar.bz2) = 8e3ca114a3c71c985dfb8d84171a145bf245a679b5228dad27ce301ba899b15c
7
SIZE (emilua-v0.4.3.tar.bz2) = 313696
(-)b/lang/emilua/files/patch-meson.build (+19 lines)
Added Link Here
1
--- meson.build.orig	2023-05-01 18:05:51 UTC
2
+++ meson.build
3
@@ -31,7 +31,6 @@ luajit = dependency('luajit', version : '>=2.0.5')
4
 boost = dependency(
5
     'boost',
6
     version : '>=1.80',
7
-    modules : boost_modules,
8
 )
9
 fmt = dependency('fmt', version : '>=8.0')
10
 serd = dependency('serd-0')
11
@@ -190,7 +189,7 @@ if get_option('enable_tests')
12
         )
13
     else
14
         # GNU Coreutils binaries are not specified explicitly, but expected too
15
-        shell = find_program('bash', 'ksh')
16
+        shell = find_program('bash', 'ksh', 'tcsh')
17
     endif
18
 endif
19
 
(-)b/lang/emilua/files/patch-src_mutex.cpp (+10 lines)
Added Link Here
1
--- src/mutex.cpp.orig	2023-05-01 18:05:51 UTC
2
+++ src/mutex.cpp
3
@@ -4,6 +4,7 @@
4
    file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */
5
 
6
 EMILUA_GPERF_DECLS_BEGIN(includes)
7
+#define FMT_HEADER_ONLY
8
 #include <fmt/format.h>
9
 
10
 #include <emilua/mutex.hpp>
(-)b/lang/emilua/pkg-descr (+4 lines)
Added Link Here
1
Emilua strives to be the most complete execution engine for Lua.
2
Whether you want single-VM concurrency support to exploit complex
3
async IO interactions or multi-VM support to exploit possible parallelism
4
your needs should be covered.
(-)b/lang/emilua/pkg-plist (-1 / +166 lines)
Added Link Here
0
- 
1
bin/emilua
2
include/emilua/actor.hpp
3
include/emilua/asio_error.hpp
4
include/emilua/async_base.hpp
5
include/emilua/byte_span.hpp
6
include/emilua/condition_variable.hpp
7
include/emilua/config.h
8
include/emilua/core.hpp
9
include/emilua/detail/core.hpp
10
include/emilua/fiber.hpp
11
include/emilua/file.hpp
12
include/emilua/file_descriptor.hpp
13
include/emilua/filesystem.hpp
14
include/emilua/generic_error.hpp
15
include/emilua/http.hpp
16
include/emilua/ip.hpp
17
include/emilua/json.hpp
18
include/emilua/linux_namespaces.hpp
19
include/emilua/lua_shim.hpp
20
include/emilua/modules.re
21
include/emilua/mutex.hpp
22
include/emilua/pipe.hpp
23
include/emilua/plugin.hpp
24
include/emilua/regex.hpp
25
include/emilua/scope_cleanup.hpp
26
include/emilua/serial_port.hpp
27
include/emilua/socket_base.hpp
28
include/emilua/state.hpp
29
include/emilua/stream.hpp
30
include/emilua/system.hpp
31
include/emilua/time.hpp
32
include/emilua/tls.hpp
33
include/emilua/unix.hpp
34
include/emilua/websocket.hpp
35
include/emilua/windows.hpp
36
libdata/pkgconfig/emilua.pc
37
libexec/emilua/emilua_gperf.awk
38
man/man1/emilua.1.gz
39
man/man3/asio_error.3em.gz
40
man/man3/byte_span.3em.gz
41
man/man3/condition_variable.3em.gz
42
man/man3/file.open_flag.3em.gz
43
man/man3/file.random_access.3em.gz
44
man/man3/file.read_all_at.3em.gz
45
man/man3/file.read_at_least_at.3em.gz
46
man/man3/file.stream.3em.gz
47
man/man3/file.write_all_at.3em.gz
48
man/man3/file.write_at_least_at.3em.gz
49
man/man3/file_descriptor.3em.gz
50
man/man3/filesystem.absolute.3em.gz
51
man/man3/filesystem.canonical.3em.gz
52
man/man3/filesystem.cap_get_file.3em.gz
53
man/man3/filesystem.cap_set_file.3em.gz
54
man/man3/filesystem.chmod.3em.gz
55
man/man3/filesystem.clock.3em.gz
56
man/man3/filesystem.copy.3em.gz
57
man/man3/filesystem.copy_file.3em.gz
58
man/man3/filesystem.copy_symlink.3em.gz
59
man/man3/filesystem.create_directory.3em.gz
60
man/man3/filesystem.create_hard_link.3em.gz
61
man/man3/filesystem.create_symlink.3em.gz
62
man/man3/filesystem.current_working_directory.3em.gz
63
man/man3/filesystem.directory_entry.3em.gz
64
man/man3/filesystem.directory_iterator.3em.gz
65
man/man3/filesystem.equivalent.3em.gz
66
man/man3/filesystem.file_size.3em.gz
67
man/man3/filesystem.hard_link_count.3em.gz
68
man/man3/filesystem.is_empty.3em.gz
69
man/man3/filesystem.last_write_time.3em.gz
70
man/man3/filesystem.path.3em.gz
71
man/man3/filesystem.proximate.3em.gz
72
man/man3/filesystem.read_symlink.3em.gz
73
man/man3/filesystem.recursive_directory_iterator.3em.gz
74
man/man3/filesystem.relative.3em.gz
75
man/man3/filesystem.remove.3em.gz
76
man/man3/filesystem.rename.3em.gz
77
man/man3/filesystem.resize_file.3em.gz
78
man/man3/filesystem.space.3em.gz
79
man/man3/filesystem.status.3em.gz
80
man/man3/filesystem.temp_directory_path.3em.gz
81
man/man3/filesystem.umask.3em.gz
82
man/man3/filesystem.weakly_canonical.3em.gz
83
man/man3/generic_error.3em.gz
84
man/man3/http.headers.3em.gz
85
man/man3/http.request.3em.gz
86
man/man3/http.response.3em.gz
87
man/man3/http.socket.3em.gz
88
man/man3/ip.address.3em.gz
89
man/man3/ip.address_info_flag.3em.gz
90
man/man3/ip.connect.3em.gz
91
man/man3/ip.get_address_info.3em.gz
92
man/man3/ip.get_name_info.3em.gz
93
man/man3/ip.host_name.3em.gz
94
man/man3/ip.message_flag.3em.gz
95
man/man3/ip.tcp.acceptor.3em.gz
96
man/man3/ip.tcp.socket.3em.gz
97
man/man3/ip.toendpoint.3em.gz
98
man/man3/ip.tostring.3em.gz
99
man/man3/ip.udp.socket.3em.gz
100
man/man3/json.3em.gz
101
man/man3/json.writer.3em.gz
102
man/man3/mutex.3em.gz
103
man/man3/pipe.pair.3em.gz
104
man/man3/pipe.read_stream.3em.gz
105
man/man3/pipe.write_stream.3em.gz
106
man/man3/regex.3em.gz
107
man/man3/serial_port.3em.gz
108
man/man3/stream.read_all.3em.gz
109
man/man3/stream.read_at_least.3em.gz
110
man/man3/stream.scanner.3em.gz
111
man/man3/stream.write_all.3em.gz
112
man/man3/stream.write_at_least.3em.gz
113
man/man3/system.arguments.3em.gz
114
man/man3/system.environment.3em.gz
115
man/man3/system.err.3em.gz
116
man/man3/system.exit.3em.gz
117
man/man3/system.getgroups.3em.gz
118
man/man3/system.getpgid.3em.gz
119
man/man3/system.getpgrp.3em.gz
120
man/man3/system.getpid.3em.gz
121
man/man3/system.getppid.3em.gz
122
man/man3/system.getresgid.3em.gz
123
man/man3/system.getresuid.3em.gz
124
man/man3/system.getsid.3em.gz
125
man/man3/system.in_.3em.gz
126
man/man3/system.kill.3em.gz
127
man/man3/system.linux_capabilities.3em.gz
128
man/man3/system.out.3em.gz
129
man/man3/system.setgroups.3em.gz
130
man/man3/system.setpgid.3em.gz
131
man/man3/system.setresgid.3em.gz
132
man/man3/system.setresuid.3em.gz
133
man/man3/system.setsid.3em.gz
134
man/man3/system.signal.3em.gz
135
man/man3/system.signal.default.3em.gz
136
man/man3/system.signal.ignore.3em.gz
137
man/man3/system.signal.raise.3em.gz
138
man/man3/system.signal.set.3em.gz
139
man/man3/system.spawn.3em.gz
140
man/man3/time.high_resolution_clock.3em.gz
141
man/man3/time.sleep.3em.gz
142
man/man3/time.steady_clock.3em.gz
143
man/man3/time.steady_timer.3em.gz
144
man/man3/time.system_clock.3em.gz
145
man/man3/time.system_timer.3em.gz
146
man/man3/tls.context.3em.gz
147
man/man3/tls.context_flag.3em.gz
148
man/man3/tls.socket.3em.gz
149
man/man3/unix.datagram_socket.3em.gz
150
man/man3/unix.message_flag.3em.gz
151
man/man3/unix.seqpacket_acceptor.3em.gz
152
man/man3/unix.seqpacket_socket.3em.gz
153
man/man3/unix.stream_acceptor.3em.gz
154
man/man3/unix.stream_socket.3em.gz
155
man/man3/websocket.3em.gz
156
man/man7/emilua-actor.7.gz
157
man/man7/emilua-alternatives.7.gz
158
man/man7/emilua-errors.7.gz
159
man/man7/emilua-fiber.7.gz
160
man/man7/emilua-getting-started.7.gz
161
man/man7/emilua-internals.7.gz
162
man/man7/emilua-interruption.7.gz
163
man/man7/emilua-linux_namespaces.7.gz
164
man/man7/emilua-lua51.7.gz
165
man/man7/emilua-modules.7.gz
166
man/man7/emilua-streams.7.gz

Return to bug 273922