diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-15 23:08:59 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-15 23:08:59 +0000 |
commit | e0fc82203d677a6f1e808e9a1a46176c109d89be (patch) | |
tree | e9609209b755e3f7a8480aea86601ffe9d4ca540 /package | |
download | s6-networking-e0fc82203d677a6f1e808e9a1a46176c109d89be.tar.xz |
Initial commit
Diffstat (limited to 'package')
-rw-r--r-- | package/deps-build | 3 | ||||
-rw-r--r-- | package/deps.mak | 69 | ||||
-rw-r--r-- | package/info | 4 | ||||
-rw-r--r-- | package/modes | 24 | ||||
-rw-r--r-- | package/targets.mak | 40 |
5 files changed, 140 insertions, 0 deletions
diff --git a/package/deps-build b/package/deps-build new file mode 100644 index 0000000..254622d --- /dev/null +++ b/package/deps-build @@ -0,0 +1,3 @@ +/package/prog/skalibs +/package/admin/execline +/package/web/s6-dns diff --git a/package/deps.mak b/package/deps.mak new file mode 100644 index 0000000..274d375 --- /dev/null +++ b/package/deps.mak @@ -0,0 +1,69 @@ +# +# This file has been generated by tools/gen-deps.sh +# + +src/include/s6-networking/s6net.h: src/include/s6-networking/accessrules.h src/include/s6-networking/ident.h +src/clock/s6-clockadd.o src/clock/s6-clockadd.lo: src/clock/s6-clockadd.c +src/clock/s6-clockview.o src/clock/s6-clockview.lo: src/clock/s6-clockview.c +src/clock/s6-sntpclock.o src/clock/s6-sntpclock.lo: src/clock/s6-sntpclock.c +src/clock/s6-taiclock.o src/clock/s6-taiclock.lo: src/clock/s6-taiclock.c +src/clock/s6-taiclockd.o src/clock/s6-taiclockd.lo: src/clock/s6-taiclockd.c +src/conn-tools/s6-accessrules-cdb-from-fs.o src/conn-tools/s6-accessrules-cdb-from-fs.lo: src/conn-tools/s6-accessrules-cdb-from-fs.c +src/conn-tools/s6-accessrules-fs-from-cdb.o src/conn-tools/s6-accessrules-fs-from-cdb.lo: src/conn-tools/s6-accessrules-fs-from-cdb.c +src/conn-tools/s6-connlimit.o src/conn-tools/s6-connlimit.lo: src/conn-tools/s6-connlimit.c +src/conn-tools/s6-getservbyname.o src/conn-tools/s6-getservbyname.lo: src/conn-tools/s6-getservbyname.c +src/conn-tools/s6-ident-client.o src/conn-tools/s6-ident-client.lo: src/conn-tools/s6-ident-client.c src/include/s6-networking/ident.h +src/conn-tools/s6-ioconnect.o src/conn-tools/s6-ioconnect.lo: src/conn-tools/s6-ioconnect.c +src/conn-tools/s6-ipcclient.o src/conn-tools/s6-ipcclient.lo: src/conn-tools/s6-ipcclient.c +src/conn-tools/s6-ipcserver-access.o src/conn-tools/s6-ipcserver-access.lo: src/conn-tools/s6-ipcserver-access.c src/include/s6-networking/accessrules.h +src/conn-tools/s6-ipcserver.o src/conn-tools/s6-ipcserver.lo: src/conn-tools/s6-ipcserver.c +src/conn-tools/s6-sudo.o src/conn-tools/s6-sudo.lo: src/conn-tools/s6-sudo.c src/include/s6-networking/config.h +src/conn-tools/s6-sudoc.o src/conn-tools/s6-sudoc.lo: src/conn-tools/s6-sudoc.c src/conn-tools/s6-sudo.h +src/conn-tools/s6-sudod.o src/conn-tools/s6-sudod.lo: src/conn-tools/s6-sudod.c src/conn-tools/s6-sudo.h +src/conn-tools/s6-tcpclient.o src/conn-tools/s6-tcpclient.lo: src/conn-tools/s6-tcpclient.c src/include/s6-networking/ident.h +src/conn-tools/s6-tcpserver-access.o src/conn-tools/s6-tcpserver-access.lo: src/conn-tools/s6-tcpserver-access.c src/include/s6-networking/s6net.h +src/conn-tools/s6-tcpserver.o src/conn-tools/s6-tcpserver.lo: src/conn-tools/s6-tcpserver.c src/include/s6-networking/config.h +src/conn-tools/s6-tcpserver4.o src/conn-tools/s6-tcpserver4.lo: src/conn-tools/s6-tcpserver4.c +src/conn-tools/s6-tcpserver6.o src/conn-tools/s6-tcpserver6.lo: src/conn-tools/s6-tcpserver6.c +src/conn-tools/seekablepipe.o src/conn-tools/seekablepipe.lo: src/conn-tools/seekablepipe.c +src/libs6net/s6net_accessrules_backend_cdb.o src/libs6net/s6net_accessrules_backend_cdb.lo: src/libs6net/s6net_accessrules_backend_cdb.c src/include/s6-networking/accessrules.h +src/libs6net/s6net_accessrules_backend_fs.o src/libs6net/s6net_accessrules_backend_fs.lo: src/libs6net/s6net_accessrules_backend_fs.c src/include/s6-networking/accessrules.h +src/libs6net/s6net_accessrules_keycheck_ip4.o src/libs6net/s6net_accessrules_keycheck_ip4.lo: src/libs6net/s6net_accessrules_keycheck_ip4.c src/include/s6-networking/accessrules.h +src/libs6net/s6net_accessrules_keycheck_ip6.o src/libs6net/s6net_accessrules_keycheck_ip6.lo: src/libs6net/s6net_accessrules_keycheck_ip6.c src/include/s6-networking/accessrules.h +src/libs6net/s6net_accessrules_keycheck_reversedns.o src/libs6net/s6net_accessrules_keycheck_reversedns.lo: src/libs6net/s6net_accessrules_keycheck_reversedns.c src/include/s6-networking/accessrules.h +src/libs6net/s6net_accessrules_keycheck_uidgid.o src/libs6net/s6net_accessrules_keycheck_uidgid.lo: src/libs6net/s6net_accessrules_keycheck_uidgid.c src/include/s6-networking/accessrules.h +src/libs6net/s6net_accessrules_uidgid_cdb.o src/libs6net/s6net_accessrules_uidgid_cdb.lo: src/libs6net/s6net_accessrules_uidgid_cdb.c src/include/s6-networking/accessrules.h +src/libs6net/s6net_accessrules_uidgid_fs.o src/libs6net/s6net_accessrules_uidgid_fs.lo: src/libs6net/s6net_accessrules_uidgid_fs.c src/include/s6-networking/accessrules.h +src/libs6net/s6net_ident_client.o src/libs6net/s6net_ident_client.lo: src/libs6net/s6net_ident_client.c src/include/s6-networking/ident.h +src/libs6net/s6net_ident_error.o src/libs6net/s6net_ident_error.lo: src/libs6net/s6net_ident_error.c src/include/s6-networking/ident.h +src/libs6net/s6net_ident_reply_get.o src/libs6net/s6net_ident_reply_get.lo: src/libs6net/s6net_ident_reply_get.c src/include/s6-networking/ident.h +src/libs6net/s6net_ident_reply_parse.o src/libs6net/s6net_ident_reply_parse.lo: src/libs6net/s6net_ident_reply_parse.c src/include/s6-networking/ident.h +src/minidentd/mgetuid-default.o src/minidentd/mgetuid-default.lo: src/minidentd/mgetuid-default.c src/minidentd/mgetuid.h +src/minidentd/mgetuid-linux.o src/minidentd/mgetuid-linux.lo: src/minidentd/mgetuid-linux.c src/minidentd/mgetuid.h +src/minidentd/minidentd.o src/minidentd/minidentd.lo: src/minidentd/minidentd.c src/minidentd/mgetuid.h + +s6-clockadd: src/clock/s6-clockadd.o -lskarnet ${SYSCLOCK_LIB} +s6-clockview: src/clock/s6-clockview.o -lskarnet ${SYSCLOCK_LIB} +s6-sntpclock: src/clock/s6-sntpclock.o -lskarnet ${SOCKET_LIB} ${TAINNOW_LIB} +s6-taiclock: src/clock/s6-taiclock.o -lskarnet ${SOCKET_LIB} ${TAINNOW_LIB} +s6-taiclockd: src/clock/s6-taiclockd.o -lskarnet ${SOCKET_LIB} ${SYSCLOCK_LIB} +s6-accessrules-cdb-from-fs: src/conn-tools/s6-accessrules-cdb-from-fs.o -ls6net -lskarnet ${SOCKET_LIB} ${TAINNOW_LIB} +s6-accessrules-fs-from-cdb: src/conn-tools/s6-accessrules-fs-from-cdb.o -lskarnet +s6-connlimit: src/conn-tools/s6-connlimit.o -lskarnet +s6-getservbyname: src/conn-tools/s6-getservbyname.o -lskarnet +s6-ident-client: src/conn-tools/s6-ident-client.o -ls6net -lskarnet ${SOCKET_LIB} ${TAINNOW_LIB} +s6-ioconnect: src/conn-tools/s6-ioconnect.o -lskarnet ${TAINNOW_LIB} +s6-ipcclient: src/conn-tools/s6-ipcclient.o -lskarnet ${SOCKET_LIB} +s6-ipcserver: src/conn-tools/s6-ipcserver.o -lskarnet ${SOCKET_LIB} +s6-ipcserver-access: src/conn-tools/s6-ipcserver-access.o -ls6net -lskarnet +s6-sudo: src/conn-tools/s6-sudo.o -lskarnet +s6-sudoc: src/conn-tools/s6-sudoc.o -lskarnet ${TAINNOW_LIB} +s6-sudod: src/conn-tools/s6-sudod.o -lskarnet ${TAINNOW_LIB} +s6-tcpclient: src/conn-tools/s6-tcpclient.o -ls6net -ls6dns -lskarnet ${SOCKET_LIB} ${TAINNOW_LIB} +s6-tcpserver: src/conn-tools/s6-tcpserver.o -lskarnet +s6-tcpserver-access: src/conn-tools/s6-tcpserver-access.o -ls6net -ls6dns -lskarnet ${SOCKET_LIB} ${TAINNOW_LIB} +s6-tcpserver4: src/conn-tools/s6-tcpserver4.o -lskarnet ${SOCKET_LIB} +s6-tcpserver6: src/conn-tools/s6-tcpserver6.o -lskarnet ${SOCKET_LIB} +seekablepipe: src/conn-tools/seekablepipe.o -lskarnet +libs6net.a: src/libs6net/s6net_accessrules_backend_cdb.o src/libs6net/s6net_accessrules_backend_fs.o src/libs6net/s6net_accessrules_keycheck_ip4.o src/libs6net/s6net_accessrules_keycheck_ip6.o src/libs6net/s6net_accessrules_keycheck_reversedns.o src/libs6net/s6net_accessrules_keycheck_uidgid.o src/libs6net/s6net_accessrules_uidgid_cdb.o src/libs6net/s6net_accessrules_uidgid_fs.o src/libs6net/s6net_ident_client.o src/libs6net/s6net_ident_reply_get.o src/libs6net/s6net_ident_reply_parse.o src/libs6net/s6net_ident_error.o +minidentd: src/minidentd/minidentd.o src/minidentd/mgetuid.o -lskarnet ${SOCKET_LIB} ${TAINNOW_LIB} diff --git a/package/info b/package/info new file mode 100644 index 0000000..1fa2d13 --- /dev/null +++ b/package/info @@ -0,0 +1,4 @@ +package=s6-networking +version=2.0.0.0 +category=net +package_macro_name=S6_NETWORKING diff --git a/package/modes b/package/modes new file mode 100644 index 0000000..bc896a6 --- /dev/null +++ b/package/modes @@ -0,0 +1,24 @@ +s6-connlimit 0755 +s6-getservbyname 0755 +s6-ioconnect 0755 +s6-ident-client 0755 +s6-ipcclient 0755 +s6-ipcserver 0755 +s6-tcpclient 0755 +s6-tcpserver4 0755 +s6-tcpserver6 0755 +s6-tcpserver 0755 +s6-accessrules-cdb-from-fs 0755 +s6-accessrules-fs-from-cdb 0755 +s6-ipcserver-access 0755 +s6-tcpserver-access 0755 +seekablepipe 0755 +s6-sudo 0755 +s6-sudoc 0755 +s6-sudod 0755 +s6-clockadd 0700 +s6-clockview 0755 +s6-sntpclock 0755 +s6-taiclock 0755 +s6-taiclockd 0755 +minidentd 0755 diff --git a/package/targets.mak b/package/targets.mak new file mode 100644 index 0000000..2125f4e --- /dev/null +++ b/package/targets.mak @@ -0,0 +1,40 @@ +BIN_TARGETS = \ +s6-connlimit \ +s6-getservbyname \ +s6-ioconnect \ +s6-ident-client \ +s6-ipcclient \ +s6-ipcserver \ +s6-tcpclient \ +s6-tcpserver4 \ +s6-tcpserver6 \ +s6-tcpserver \ +s6-accessrules-cdb-from-fs \ +s6-accessrules-fs-from-cdb \ +s6-ipcserver-access \ +s6-tcpserver-access \ +seekablepipe \ +s6-sudo \ +s6-sudoc \ +s6-sudod \ +s6-clockadd \ +s6-clockview \ +s6-sntpclock \ +s6-taiclock \ +s6-taiclockd \ +minidentd + +LIBEXEC_TARGETS = + +SHARED_LIBS = \ +libs6net.so + +STATIC_LIBS = \ +libs6net.a + +src/minidentd/mgetuid.c: src/minidentd/mgetuid-linux.c src/minidentd/mgetuid-default.c + if grep -iF -- -linux- $(sysdeps)/target ; then \ + ln -sf mgetuid-linux.c src/minidentd/mgetuid.c ; \ + else \ + ln -sf mgetuid-default.c src/minidentd/mgetuid.c ; \ + fi |