mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-30 10:38:55 +00:00
parent
1bb1ebe2ae
commit
51875b89fd
1
repos/ports/recipes/pkg/socat_tcp/README
Normal file
1
repos/ports/recipes/pkg/socat_tcp/README
Normal file
@ -0,0 +1 @@
|
|||||||
|
socat connecting a terminal session over TCP
|
8
repos/ports/recipes/pkg/socat_tcp/archives
Normal file
8
repos/ports/recipes/pkg/socat_tcp/archives
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
_/raw/socat_tcp
|
||||||
|
_/src/socat
|
||||||
|
_/src/libc
|
||||||
|
_/src/posix
|
||||||
|
_/src/init
|
||||||
|
_/src/vfs
|
||||||
|
_/src/vfs_lwip
|
||||||
|
_/src/cached_fs_rom
|
1
repos/ports/recipes/pkg/socat_tcp/hash
Normal file
1
repos/ports/recipes/pkg/socat_tcp/hash
Normal file
@ -0,0 +1 @@
|
|||||||
|
2023-09-29 0f576cd598c7e6a8d12d21d2653ed86c54913777
|
23
repos/ports/recipes/pkg/socat_tcp/runtime
Normal file
23
repos/ports/recipes/pkg/socat_tcp/runtime
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<runtime ram="76M" caps="1000" binary="init" config="socat_tcp.config">
|
||||||
|
|
||||||
|
<requires>
|
||||||
|
<timer/>
|
||||||
|
<nic/>
|
||||||
|
<terminal/>
|
||||||
|
<rm/>
|
||||||
|
</requires>
|
||||||
|
|
||||||
|
<content>
|
||||||
|
<rom label="socat_tcp.config"/>
|
||||||
|
<rom label="init"/>
|
||||||
|
<rom label="vfs"/>
|
||||||
|
<rom label="cached_fs_rom"/>
|
||||||
|
<rom label="socat.tar"/>
|
||||||
|
<rom label="libc.lib.so"/>
|
||||||
|
<rom label="libm.lib.so"/>
|
||||||
|
<rom label="posix.lib.so"/>
|
||||||
|
<rom label="vfs.lib.so"/>
|
||||||
|
<rom label="vfs_lwip.lib.so"/>
|
||||||
|
</content>
|
||||||
|
|
||||||
|
</runtime>
|
4
repos/ports/recipes/raw/socat_tcp/content.mk
Normal file
4
repos/ports/recipes/raw/socat_tcp/content.mk
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
content: socat_tcp.config
|
||||||
|
|
||||||
|
socat_tcp.config:
|
||||||
|
cp $(REP_DIR)/recipes/raw/socat_tcp/$@ $@
|
1
repos/ports/recipes/raw/socat_tcp/hash
Normal file
1
repos/ports/recipes/raw/socat_tcp/hash
Normal file
@ -0,0 +1 @@
|
|||||||
|
2023-09-29 4ac30b8df2c4179c03218db0b89c6146c1e90513
|
69
repos/ports/recipes/raw/socat_tcp/socat_tcp.config
Normal file
69
repos/ports/recipes/raw/socat_tcp/socat_tcp.config
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
<config>
|
||||||
|
<parent-provides>
|
||||||
|
<service name="ROM"/>
|
||||||
|
<service name="PD"/>
|
||||||
|
<service name="RM"/>
|
||||||
|
<service name="CPU"/>
|
||||||
|
<service name="LOG"/>
|
||||||
|
<service name="Timer"/>
|
||||||
|
<service name="Nic"/>
|
||||||
|
<service name="Terminal"/>
|
||||||
|
</parent-provides>
|
||||||
|
|
||||||
|
<default-route> <any-service> <parent/> <any-child/> </any-service> </default-route>
|
||||||
|
|
||||||
|
<default caps="100"/>
|
||||||
|
|
||||||
|
<start name="vfs" caps="150">
|
||||||
|
<resource name="RAM" quantum="12M"/>
|
||||||
|
<provides><service name="File_system"/></provides>
|
||||||
|
<config>
|
||||||
|
<vfs>
|
||||||
|
<tar name="socat.tar"/>
|
||||||
|
</vfs>
|
||||||
|
<policy label_prefix="vfs_rom" root="/"/>
|
||||||
|
<default-policy root="/" writeable="yes"/>
|
||||||
|
</config>
|
||||||
|
</start>
|
||||||
|
|
||||||
|
<start name="vfs_rom">
|
||||||
|
<resource name="RAM" quantum="16M"/>
|
||||||
|
<binary name="cached_fs_rom"/>
|
||||||
|
<provides> <service name="ROM"/> </provides>
|
||||||
|
<config/>
|
||||||
|
<route>
|
||||||
|
<service name="File_system"> <child name="vfs"/> </service>
|
||||||
|
<any-service> <parent/> </any-service>
|
||||||
|
</route>
|
||||||
|
</start>
|
||||||
|
|
||||||
|
<start name="socat" caps="200">
|
||||||
|
<binary name="/bin/socat"/>
|
||||||
|
<resource name="RAM" quantum="28M" />
|
||||||
|
<config>
|
||||||
|
<vfs>
|
||||||
|
<dir name="dev">
|
||||||
|
<log/>
|
||||||
|
<inline name="rtc">2018-01-01 00:01</inline>
|
||||||
|
<terminal/>
|
||||||
|
</dir>
|
||||||
|
<dir name="socket"> <lwip dhcp="yes"/> </dir>
|
||||||
|
<fs/>
|
||||||
|
</vfs>
|
||||||
|
<libc stdout="/dev/log"
|
||||||
|
stderr="/dev/log"
|
||||||
|
rtc="/dev/rtc"
|
||||||
|
socket="/socket"/>
|
||||||
|
<arg value="socat"/>
|
||||||
|
<arg value="/dev/terminal"/>
|
||||||
|
<arg value="TCP4-LISTEN:5555"/>
|
||||||
|
</config>
|
||||||
|
<route>
|
||||||
|
<service name="File_system"> <child name="vfs"/> </service>
|
||||||
|
<service name="ROM" label_suffix=".lib.so"> <parent/> </service>
|
||||||
|
<service name="ROM" label_last="/bin/socat"> <child name="vfs_rom"/> </service>
|
||||||
|
<any-service> <parent/> <any-child/> </any-service>
|
||||||
|
</route>
|
||||||
|
</start>
|
||||||
|
|
||||||
|
</config>
|
Loading…
Reference in New Issue
Block a user