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

Collapse All | Expand All

(-)b/lang/emilua/Makefile (-14 / +14 lines)
Lines 1-27 Link Here
1
PORTNAME=	emilua
1
PORTNAME=	emilua
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	0.4.3
3
DISTVERSION=	0.5.1
4
CATEGORIES=	lang devel
4
CATEGORIES=	lang devel
5
5
6
MAINTAINER=	manipuladordedados@gmail.com
6
MAINTAINER=	manipuladordedados@gmail.com
7
COMMENT=	Lua execution engine
7
COMMENT=	Lua execution engine
8
WWW=		https://emilua.org
8
WWW=		https://emilua.org/
9
9
10
LICENSE=	BSL
10
LICENSE=	BSL
11
LICENSE_FILE=	${WRKSRC}/LICENSE_1_0.txt
11
LICENSE_FILE=	${WRKSRC}/LICENSE_1_0.txt
12
12
13
ONLY_FOR_ARCHS=	aarch64 amd64
13
IGNORE_FreeBSD_12=	not supported by Emilua
14
ONLY_FOR_ARCHS_REASON=	the software structures have not yet been ported
14
IGNORE_FreeBSD_13=	not supported by Emilua
15
15
16
BUILD_DEPENDS=	asciidoctor:textproc/rubygem-asciidoctor \
16
BUILD_DEPENDS=	asciidoctor:textproc/rubygem-asciidoctor \
17
		boost-libs>0:devel/boost-libs \
17
		boost-libs>0:devel/boost-libs \
18
		cereal>0:devel/cereal \
18
		cmake:devel/cmake-core \
19
		cmake:devel/cmake-core \
19
		gawk:lang/gawk \
20
		gawk:lang/gawk \
20
		gperf:devel/gperf \
21
		gperf:devel/gperf \
21
		re2c:devel/re2c \
22
		ksh93:shells/ksh \
22
		xxd:sysutils/xxd
23
		libfmt>0:devel/libfmt \
23
LIB_DEPENDS=	libfmt.so:devel/libfmt \
24
		re2c:devel/re2c
24
		libserd-0.so:devel/serd \
25
26
LIB_DEPENDS=	libserd-0.so:devel/serd \
25
		libsord-0.so:devel/sord
27
		libsord-0.so:devel/sord
26
28
27
USES=		localbase luajit:luajit-openresty meson ncurses pathfix \
29
USES=		localbase luajit:luajit-openresty meson ncurses pathfix \
Lines 32-37 GH_TUPLE= BoostGSoC14:boost.http:93ae527c89ffc517862e1f5f54c8a257278f1195:emilua Link Here
32
		breese:trial.protocol:79149f6:trial_protocol/subprojects/trial-protocol
34
		breese:trial.protocol:79149f6:trial_protocol/subprojects/trial-protocol
33
USE_GITLAB=	yes
35
USE_GITLAB=	yes
34
36
37
CONFIGURE_ENV+=	BOOST_INCLUDEDIR="${LOCALBASE}/include" \
38
		BOOST_LIBRARYDIR="${LOCALBASE}/lib"
39
35
MESON_ARGS=	--buildtype=plain \
40
MESON_ARGS=	--buildtype=plain \
36
		--wrap-mode=nodownload \
41
		--wrap-mode=nodownload \
37
		-Db_pch=false \
42
		-Db_pch=false \
Lines 39-45 MESON_ARGS= --buildtype=plain \ Link Here
39
		-Denable_manpages=true \
44
		-Denable_manpages=true \
40
		-Denable_tests=true
45
		-Denable_tests=true
41
46
42
LDFLAGS+=	-static-libstdc++
47
CXXFLAGS+=	"-DFMT_HEADER_ONLY"
43
48
44
post-extract:
49
post-extract:
45
	${CP} ${WRKSRC}/subprojects/packagefiles/emilua-http/meson.build \
50
	${CP} ${WRKSRC}/subprojects/packagefiles/emilua-http/meson.build \
Lines 47-55 post-extract: Link Here
47
	${CP} ${WRKSRC}/subprojects/packagefiles/trial.protocol/meson.build \
52
	${CP} ${WRKSRC}/subprojects/packagefiles/trial.protocol/meson.build \
48
		${WRKSRC}/subprojects/trial-protocol/
53
		${WRKSRC}/subprojects/trial-protocol/
49
54
50
post-install:
51
	${MV} ${STAGEDIR}${PREFIX}/man/man3em/* \
52
		${STAGEDIR}${PREFIX}/man/man3/
53
	${RMDIR} ${STAGEDIR}${PREFIX}/man/man3em
54
55
.include <bsd.port.mk>
55
.include <bsd.port.mk>
(-)b/lang/emilua/distinfo (-3 / +3 lines)
Lines 1-7 Link Here
1
TIMESTAMP = 1694922832
1
TIMESTAMP = 1702060584
2
SHA256 (BoostGSoC14-boost.http-93ae527c89ffc517862e1f5f54c8a257278f1195_GH0.tar.gz) = 4e90417806c285348d968183072918e86d7fd7d7db5affb63ec03faee92ed8ed
2
SHA256 (BoostGSoC14-boost.http-93ae527c89ffc517862e1f5f54c8a257278f1195_GH0.tar.gz) = 4e90417806c285348d968183072918e86d7fd7d7db5affb63ec03faee92ed8ed
3
SIZE (BoostGSoC14-boost.http-93ae527c89ffc517862e1f5f54c8a257278f1195_GH0.tar.gz) = 237404
3
SIZE (BoostGSoC14-boost.http-93ae527c89ffc517862e1f5f54c8a257278f1195_GH0.tar.gz) = 237404
4
SHA256 (breese-trial.protocol-79149f6_GH0.tar.gz) = ea82ba7736a2c6ae94e72587a454d3380517ed764df89e2297e6fac2acdeac03
4
SHA256 (breese-trial.protocol-79149f6_GH0.tar.gz) = ea82ba7736a2c6ae94e72587a454d3380517ed764df89e2297e6fac2acdeac03
5
SIZE (breese-trial.protocol-79149f6_GH0.tar.gz) = 255698
5
SIZE (breese-trial.protocol-79149f6_GH0.tar.gz) = 255698
6
SHA256 (emilua-v0.4.3.tar.bz2) = 8e3ca114a3c71c985dfb8d84171a145bf245a679b5228dad27ce301ba899b15c
6
SHA256 (emilua-v0.5.1.tar.bz2) = 08a46894dbdb2384e4c4aa4cfb7026caa557b6c16836e47bb30aca3372bf3ccb
7
SIZE (emilua-v0.4.3.tar.bz2) = 313696
7
SIZE (emilua-v0.5.1.tar.bz2) = 328877
(-)a/lang/emilua/files/patch-meson.build (-19 lines)
Removed 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
 
(-)a/lang/emilua/files/patch-src_mutex.cpp (-10 lines)
Removed 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-plist (-120 / +132 lines)
Lines 11-26 include/emilua/fiber.hpp Link Here
11
include/emilua/file.hpp
11
include/emilua/file.hpp
12
include/emilua/file_descriptor.hpp
12
include/emilua/file_descriptor.hpp
13
include/emilua/filesystem.hpp
13
include/emilua/filesystem.hpp
14
include/emilua/future.hpp
14
include/emilua/generic_error.hpp
15
include/emilua/generic_error.hpp
15
include/emilua/http.hpp
16
include/emilua/http.hpp
16
include/emilua/ip.hpp
17
include/emilua/ip.hpp
17
include/emilua/json.hpp
18
include/emilua/json.hpp
18
include/emilua/linux_namespaces.hpp
19
include/emilua/lua_shim.hpp
19
include/emilua/lua_shim.hpp
20
include/emilua/modules.re
20
include/emilua/modules.re
21
include/emilua/mutex.hpp
21
include/emilua/mutex.hpp
22
include/emilua/pipe.hpp
22
include/emilua/pipe.hpp
23
include/emilua/plugin.hpp
23
include/emilua/plugin.hpp
24
include/emilua/recursive_mutex.hpp
24
include/emilua/regex.hpp
25
include/emilua/regex.hpp
25
include/emilua/scope_cleanup.hpp
26
include/emilua/scope_cleanup.hpp
26
include/emilua/serial_port.hpp
27
include/emilua/serial_port.hpp
Lines 33-166 include/emilua/tls.hpp Link Here
33
include/emilua/unix.hpp
34
include/emilua/unix.hpp
34
include/emilua/websocket.hpp
35
include/emilua/websocket.hpp
35
include/emilua/windows.hpp
36
include/emilua/windows.hpp
37
lib/libemilua.so
38
lib/libemilua.so.0
39
lib/libemilua.so.0.5.1
36
libdata/pkgconfig/emilua.pc
40
libdata/pkgconfig/emilua.pc
37
libexec/emilua/emilua_gperf.awk
41
libexec/emilua/emilua_gperf.awk
38
man/man1/emilua.1.gz
42
man/man1/emilua.1.gz
39
man/man3/asio_error.3em.gz
43
man/man3em/asio_error.3em.gz
40
man/man3/byte_span.3em.gz
44
man/man3em/byte_span.3em.gz
41
man/man3/condition_variable.3em.gz
45
man/man3em/condition_variable.3em.gz
42
man/man3/file.open_flag.3em.gz
46
man/man3em/file.open_flag.3em.gz
43
man/man3/file.random_access.3em.gz
47
man/man3em/file.random_access.3em.gz
44
man/man3/file.read_all_at.3em.gz
48
man/man3em/file.read_all_at.3em.gz
45
man/man3/file.read_at_least_at.3em.gz
49
man/man3em/file.read_at_least_at.3em.gz
46
man/man3/file.stream.3em.gz
50
man/man3em/file.stream.3em.gz
47
man/man3/file.write_all_at.3em.gz
51
man/man3em/file.write_all_at.3em.gz
48
man/man3/file.write_at_least_at.3em.gz
52
man/man3em/file.write_at_least_at.3em.gz
49
man/man3/file_descriptor.3em.gz
53
man/man3em/file_descriptor.3em.gz
50
man/man3/filesystem.absolute.3em.gz
54
man/man3em/filesystem.absolute.3em.gz
51
man/man3/filesystem.canonical.3em.gz
55
man/man3em/filesystem.canonical.3em.gz
52
man/man3/filesystem.cap_get_file.3em.gz
56
man/man3em/filesystem.cap_get_file.3em.gz
53
man/man3/filesystem.cap_set_file.3em.gz
57
man/man3em/filesystem.cap_set_file.3em.gz
54
man/man3/filesystem.chmod.3em.gz
58
man/man3em/filesystem.chmod.3em.gz
55
man/man3/filesystem.clock.3em.gz
59
man/man3em/filesystem.chown.3em.gz
56
man/man3/filesystem.copy.3em.gz
60
man/man3em/filesystem.clock.3em.gz
57
man/man3/filesystem.copy_file.3em.gz
61
man/man3em/filesystem.copy.3em.gz
58
man/man3/filesystem.copy_symlink.3em.gz
62
man/man3em/filesystem.copy_file.3em.gz
59
man/man3/filesystem.create_directory.3em.gz
63
man/man3em/filesystem.copy_symlink.3em.gz
60
man/man3/filesystem.create_hard_link.3em.gz
64
man/man3em/filesystem.create_directory.3em.gz
61
man/man3/filesystem.create_symlink.3em.gz
65
man/man3em/filesystem.create_hard_link.3em.gz
62
man/man3/filesystem.current_working_directory.3em.gz
66
man/man3em/filesystem.create_symlink.3em.gz
63
man/man3/filesystem.directory_entry.3em.gz
67
man/man3em/filesystem.current_working_directory.3em.gz
64
man/man3/filesystem.directory_iterator.3em.gz
68
man/man3em/filesystem.directory_entry.3em.gz
65
man/man3/filesystem.equivalent.3em.gz
69
man/man3em/filesystem.directory_iterator.3em.gz
66
man/man3/filesystem.file_size.3em.gz
70
man/man3em/filesystem.equivalent.3em.gz
67
man/man3/filesystem.hard_link_count.3em.gz
71
man/man3em/filesystem.file_size.3em.gz
68
man/man3/filesystem.is_empty.3em.gz
72
man/man3em/filesystem.hard_link_count.3em.gz
69
man/man3/filesystem.last_write_time.3em.gz
73
man/man3em/filesystem.is_empty.3em.gz
70
man/man3/filesystem.path.3em.gz
74
man/man3em/filesystem.last_write_time.3em.gz
71
man/man3/filesystem.proximate.3em.gz
75
man/man3em/filesystem.path.3em.gz
72
man/man3/filesystem.read_symlink.3em.gz
76
man/man3em/filesystem.proximate.3em.gz
73
man/man3/filesystem.recursive_directory_iterator.3em.gz
77
man/man3em/filesystem.read_symlink.3em.gz
74
man/man3/filesystem.relative.3em.gz
78
man/man3em/filesystem.recursive_directory_iterator.3em.gz
75
man/man3/filesystem.remove.3em.gz
79
man/man3em/filesystem.relative.3em.gz
76
man/man3/filesystem.rename.3em.gz
80
man/man3em/filesystem.remove.3em.gz
77
man/man3/filesystem.resize_file.3em.gz
81
man/man3em/filesystem.rename.3em.gz
78
man/man3/filesystem.space.3em.gz
82
man/man3em/filesystem.resize_file.3em.gz
79
man/man3/filesystem.status.3em.gz
83
man/man3em/filesystem.space.3em.gz
80
man/man3/filesystem.temp_directory_path.3em.gz
84
man/man3em/filesystem.status.3em.gz
81
man/man3/filesystem.umask.3em.gz
85
man/man3em/filesystem.temp_directory_path.3em.gz
82
man/man3/filesystem.weakly_canonical.3em.gz
86
man/man3em/filesystem.umask.3em.gz
83
man/man3/generic_error.3em.gz
87
man/man3em/filesystem.weakly_canonical.3em.gz
84
man/man3/http.headers.3em.gz
88
man/man3em/future.3em.gz
85
man/man3/http.request.3em.gz
89
man/man3em/generic_error.3em.gz
86
man/man3/http.response.3em.gz
90
man/man3em/http.headers.3em.gz
87
man/man3/http.socket.3em.gz
91
man/man3em/http.request.3em.gz
88
man/man3/ip.address.3em.gz
92
man/man3em/http.response.3em.gz
89
man/man3/ip.address_info_flag.3em.gz
93
man/man3em/http.socket.3em.gz
90
man/man3/ip.connect.3em.gz
94
man/man3em/inbox.3em.gz
91
man/man3/ip.get_address_info.3em.gz
95
man/man3em/ip.address.3em.gz
92
man/man3/ip.get_name_info.3em.gz
96
man/man3em/ip.address_info_flag.3em.gz
93
man/man3/ip.host_name.3em.gz
97
man/man3em/ip.connect.3em.gz
94
man/man3/ip.message_flag.3em.gz
98
man/man3em/ip.get_address_info.3em.gz
95
man/man3/ip.tcp.acceptor.3em.gz
99
man/man3em/ip.get_name_info.3em.gz
96
man/man3/ip.tcp.socket.3em.gz
100
man/man3em/ip.host_name.3em.gz
97
man/man3/ip.toendpoint.3em.gz
101
man/man3em/ip.message_flag.3em.gz
98
man/man3/ip.tostring.3em.gz
102
man/man3em/ip.tcp.acceptor.3em.gz
99
man/man3/ip.udp.socket.3em.gz
103
man/man3em/ip.tcp.socket.3em.gz
100
man/man3/json.3em.gz
104
man/man3em/ip.toendpoint.3em.gz
101
man/man3/json.writer.3em.gz
105
man/man3em/ip.tostring.3em.gz
102
man/man3/mutex.3em.gz
106
man/man3em/ip.udp.socket.3em.gz
103
man/man3/pipe.pair.3em.gz
107
man/man3em/json.3em.gz
104
man/man3/pipe.read_stream.3em.gz
108
man/man3em/json.writer.3em.gz
105
man/man3/pipe.write_stream.3em.gz
109
man/man3em/mutex.3em.gz
106
man/man3/regex.3em.gz
110
man/man3em/pipe.pair.3em.gz
107
man/man3/serial_port.3em.gz
111
man/man3em/pipe.read_stream.3em.gz
108
man/man3/stream.read_all.3em.gz
112
man/man3em/pipe.write_stream.3em.gz
109
man/man3/stream.read_at_least.3em.gz
113
man/man3em/recursive_mutex.3em.gz
110
man/man3/stream.scanner.3em.gz
114
man/man3em/regex.3em.gz
111
man/man3/stream.write_all.3em.gz
115
man/man3em/serial_port.3em.gz
112
man/man3/stream.write_at_least.3em.gz
116
man/man3em/spawn.3em.gz
113
man/man3/system.arguments.3em.gz
117
man/man3em/spawn_context_threads.3em.gz
114
man/man3/system.environment.3em.gz
118
man/man3em/spawn_vm.3em.gz
115
man/man3/system.err.3em.gz
119
man/man3em/stream.read_all.3em.gz
116
man/man3/system.exit.3em.gz
120
man/man3em/stream.read_at_least.3em.gz
117
man/man3/system.getgroups.3em.gz
121
man/man3em/stream.scanner.3em.gz
118
man/man3/system.getpgid.3em.gz
122
man/man3em/stream.write_all.3em.gz
119
man/man3/system.getpgrp.3em.gz
123
man/man3em/stream.write_at_least.3em.gz
120
man/man3/system.getpid.3em.gz
124
man/man3em/system.arguments.3em.gz
121
man/man3/system.getppid.3em.gz
125
man/man3em/system.environment.3em.gz
122
man/man3/system.getresgid.3em.gz
126
man/man3em/system.err.3em.gz
123
man/man3/system.getresuid.3em.gz
127
man/man3em/system.exit.3em.gz
124
man/man3/system.getsid.3em.gz
128
man/man3em/system.getgroups.3em.gz
125
man/man3/system.in_.3em.gz
129
man/man3em/system.getpgid.3em.gz
126
man/man3/system.kill.3em.gz
130
man/man3em/system.getpgrp.3em.gz
127
man/man3/system.linux_capabilities.3em.gz
131
man/man3em/system.getpid.3em.gz
128
man/man3/system.out.3em.gz
132
man/man3em/system.getppid.3em.gz
129
man/man3/system.setgroups.3em.gz
133
man/man3em/system.getresgid.3em.gz
130
man/man3/system.setpgid.3em.gz
134
man/man3em/system.getresuid.3em.gz
131
man/man3/system.setresgid.3em.gz
135
man/man3em/system.getsid.3em.gz
132
man/man3/system.setresuid.3em.gz
136
man/man3em/system.in_.3em.gz
133
man/man3/system.setsid.3em.gz
137
man/man3em/system.kill.3em.gz
134
man/man3/system.signal.3em.gz
138
man/man3em/system.linux_capabilities.3em.gz
135
man/man3/system.signal.default.3em.gz
139
man/man3em/system.out.3em.gz
136
man/man3/system.signal.ignore.3em.gz
140
man/man3em/system.setgroups.3em.gz
137
man/man3/system.signal.raise.3em.gz
141
man/man3em/system.setpgid.3em.gz
138
man/man3/system.signal.set.3em.gz
142
man/man3em/system.setresgid.3em.gz
139
man/man3/system.spawn.3em.gz
143
man/man3em/system.setresuid.3em.gz
140
man/man3/time.high_resolution_clock.3em.gz
144
man/man3em/system.setsid.3em.gz
141
man/man3/time.sleep.3em.gz
145
man/man3em/system.signal.3em.gz
142
man/man3/time.steady_clock.3em.gz
146
man/man3em/system.signal.default.3em.gz
143
man/man3/time.steady_timer.3em.gz
147
man/man3em/system.signal.ignore.3em.gz
144
man/man3/time.system_clock.3em.gz
148
man/man3em/system.signal.raise.3em.gz
145
man/man3/time.system_timer.3em.gz
149
man/man3em/system.signal.set.3em.gz
146
man/man3/tls.context.3em.gz
150
man/man3em/system.spawn.3em.gz
147
man/man3/tls.context_flag.3em.gz
151
man/man3em/this_fiber.3em.gz
148
man/man3/tls.socket.3em.gz
152
man/man3em/time.high_resolution_clock.3em.gz
149
man/man3/unix.datagram_socket.3em.gz
153
man/man3em/time.sleep.3em.gz
150
man/man3/unix.message_flag.3em.gz
154
man/man3em/time.steady_clock.3em.gz
151
man/man3/unix.seqpacket_acceptor.3em.gz
155
man/man3em/time.steady_timer.3em.gz
152
man/man3/unix.seqpacket_socket.3em.gz
156
man/man3em/time.system_clock.3em.gz
153
man/man3/unix.stream_acceptor.3em.gz
157
man/man3em/time.system_timer.3em.gz
154
man/man3/unix.stream_socket.3em.gz
158
man/man3em/tls.context.3em.gz
155
man/man3/websocket.3em.gz
159
man/man3em/tls.context_flag.3em.gz
156
man/man7/emilua-actor.7.gz
160
man/man3em/tls.socket.3em.gz
161
man/man3em/unix.datagram_socket.3em.gz
162
man/man3em/unix.message_flag.3em.gz
163
man/man3em/unix.seqpacket_acceptor.3em.gz
164
man/man3em/unix.seqpacket_socket.3em.gz
165
man/man3em/unix.stream_acceptor.3em.gz
166
man/man3em/unix.stream_socket.3em.gz
167
man/man3em/websocket.3em.gz
157
man/man7/emilua-alternatives.7.gz
168
man/man7/emilua-alternatives.7.gz
169
man/man7/emilua-embedding.7.gz
158
man/man7/emilua-errors.7.gz
170
man/man7/emilua-errors.7.gz
159
man/man7/emilua-fiber.7.gz
160
man/man7/emilua-getting-started.7.gz
171
man/man7/emilua-getting-started.7.gz
161
man/man7/emilua-internals.7.gz
172
man/man7/emilua-internals.7.gz
162
man/man7/emilua-interruption.7.gz
173
man/man7/emilua-interruption.7.gz
163
man/man7/emilua-linux_namespaces.7.gz
174
man/man7/emilua-linux_namespaces.7.gz
164
man/man7/emilua-lua51.7.gz
175
man/man7/emilua-lua51.7.gz
165
man/man7/emilua-modules.7.gz
176
man/man7/emilua-modules.7.gz
177
man/man7/emilua-sandboxes.7.gz
166
man/man7/emilua-streams.7.gz
178
man/man7/emilua-streams.7.gz

Return to bug 275643