Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/rinetd: update to new upstream and 0.73
While here, pet portlint and portclippy. PR: 274331
- Loading branch information
1 parent
d252492
commit 3c7b8fd
Showing
8 changed files
with
47 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
SHA256 (rinetd.tar.gz) = 0c68d27c5bd4b16ce4f58a6db514dd6ff37b2604a88b02c1dfcdc00fc1059898 | ||
SIZE (rinetd.tar.gz) = 115541 | ||
TIMESTAMP = 1696686326 | ||
SHA256 (samhocevar-rinetd-v0.73-d4e0a60_GH0.tar.gz) = 76eef19e0af8459c9434ac8ac0b58edac1bba353f5aaceb1d5f971fb3f6a3016 | ||
SIZE (samhocevar-rinetd-v0.73-d4e0a60_GH0.tar.gz) = 45544 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- src/Makefile.am.orig 2023-10-07 16:13:36 UTC | ||
+++ src/Makefile.am | ||
@@ -18,7 +18,7 @@ parse.c: parse.peg | ||
# _DARWIN_C_SOURCE is for NI_MAXHOST on OS X | ||
# _XOPEN_SOURCE is for struct sigaction | ||
# _GNU_SOURCE is for h_errno and gethostbyname-related macros | ||
-___rinetd_CFLAGS = -std=c99 -D_POSIX_C_SOURCE=200809L \ | ||
+___rinetd_CFLAGS = -std=c99 \ | ||
-D_XOPEN_SOURCE -D_GNU_SOURCE -D_DARWIN_C_SOURCE \ | ||
-Wall -Wextra -Wwrite-strings | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- src/rinetd.c.orig 2023-10-07 16:13:36 UTC | ||
+++ src/rinetd.c | ||
@@ -927,7 +927,7 @@ RETSIGTYPE quit(int s) | ||
|
||
void registerPID(char const *pid_file_name) | ||
{ | ||
-#if defined(__linux__) | ||
+#if defined(__linux__) || defined(__FreeBSD__) | ||
FILE *pid_file = fopen(pid_file_name, "w"); | ||
if (pid_file == NULL) { | ||
/* non-fatal, non-Linux may lack /var/run... */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@sample etc/rinetd.conf.sample | ||
sbin/rinetd | ||
man/man8/rinetd.8.gz |