commit d82c131

hovercats  ·  2024-11-26 02:31:26 +0000 UTC
parent 7333416
dtach: port to oasis
7 files changed,  +68, -0
+3, -0
1@@ -313,3 +313,6 @@
2 [submodule "pkg/pdpmake/src"]
3 	path = pkg/pdpmake/src
4 	url = https://github.com/rmyorston/pdpmake
5+[submodule "pkg/dtach/src"]
6+	path = pkg/dtach/src
7+	url = https://github.com/crigler/dtach
+1, -0
1@@ -0,0 +1 @@
2+local.ninja
+45, -0
 1@@ -0,0 +1,45 @@
 2+#define HAVE_ATEXIT 1
 3+#define HAVE_DUP2 1
 4+#define HAVE_FCNTL_H 1
 5+#define HAVE_FORKPTY 1
 6+#define HAVE_GRANTPT 1
 7+#define HAVE_INTTYPES_H 1
 8+/* #undef HAVE_LIBSOCKET */
 9+#define HAVE_LIBUTIL 1
10+/* #undef HAVE_LIBUTIL_H */
11+#define HAVE_MEMORY_H 1
12+#define HAVE_MEMSET 1
13+#define HAVE_OPENPTY 1
14+#define HAVE_PTSNAME 1
15+#define HAVE_PTY_H 1
16+#define HAVE_SELECT 1
17+#define HAVE_SOCKET 1
18+#define HAVE_STDINT_H 1
19+#define HAVE_STDLIB_H 1
20+#define HAVE_STRERROR 1
21+#define HAVE_STRINGS_H 1
22+#define HAVE_STRING_H 1
23+#define HAVE_STROPTS_H 1
24+#define HAVE_SYS_IOCTL_H 1
25+#define HAVE_SYS_RESOURCE_H 1
26+#define HAVE_SYS_SELECT_H 1
27+#define HAVE_SYS_SOCKET_H 1
28+#define HAVE_SYS_STAT_H 1
29+#define HAVE_SYS_TIME_H 1
30+#define HAVE_SYS_TYPES_H 1
31+#define HAVE_TERMIOS_H 1
32+#define HAVE_UNISTD_H 1
33+#define HAVE_UNLOCKPT 1
34+/* #undef HAVE_UTIL_H */
35+#define PACKAGE_BUGREPORT "crigler@users.sourceforge.net"
36+#define PACKAGE_NAME "dtach"
37+#define PACKAGE_STRING "dtach 0.9"
38+#define PACKAGE_TARNAME "dtach"
39+#define PACKAGE_URL ""
40+#define PACKAGE_VERSION "0.9"
41+#define RETSIGTYPE void
42+#define STDC_HEADERS 1
43+#define TIME_WITH_SYS_TIME 1
44+/* #undef const */
45+/* #undef pid_t */
46+/* #undef ssize_t */
+16, -0
 1@@ -0,0 +1,16 @@
 2+cflags{
 3+	'-I$dir',
 4+	'-pedantic',
 5+	'-Wall',
 6+	'-Wextra',
 7+}
 8+
 9+exe('dtach', {
10+	'main.c',
11+	'master.c',
12+	'attach.c',
13+})
14+
15+file('bin/dtach', '755', '$outdir/dtach')
16+
17+man{'dtach.1'}
+1, -0
1@@ -0,0 +1 @@
2+Subproject commit 7acac922770597f5da5df7b290078770d20dac32
+1, -0
1@@ -0,0 +1 @@
2+0.9 r0
+1, -0
1@@ -15,6 +15,7 @@ subgen 'curl'
2 subgen 'dav1d'
3 subgen 'dmenu'
4 subgen 'dosfstools'
5+subgen 'dtach'
6 subgen 'e2fsprogs'
7 subgen 'elftoolchain'
8 subgen 'expat'