diff options
author | Renato Botelho <garga@FreeBSD.org> | 2012-07-02 22:28:37 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2012-07-02 22:28:37 +0000 |
commit | 4e902e59ac52ca3c97ccd805055ce9bbd5c30272 (patch) | |
tree | d0070baf523e7c4ee5ba47290257c7d21cc1e57d /net/rinetd | |
parent | 7137722860ded5c7ca89217caf698fb8a8896782 (diff) | |
download | ports-4e902e59ac52ca3c97ccd805055ce9bbd5c30272.tar.gz ports-4e902e59ac52ca3c97ccd805055ce9bbd5c30272.zip |
Notes
Diffstat (limited to 'net/rinetd')
-rw-r--r-- | net/rinetd/Makefile | 1 | ||||
-rw-r--r-- | net/rinetd/files/patch-rinetd.c | 2 | ||||
-rw-r--r-- | net/rinetd/files/patch-select2poll | 16 |
3 files changed, 10 insertions, 9 deletions
diff --git a/net/rinetd/Makefile b/net/rinetd/Makefile index ba63e73ff669..dac10b5a8a63 100644 --- a/net/rinetd/Makefile +++ b/net/rinetd/Makefile @@ -20,6 +20,7 @@ COMMENT= A simple TCP port redirector WRKSRC= ${WRKDIR}/rinetd/ MAKE_JOBS_SAFE= yes +USE_DOS2UNIX= yes MAN8= rinetd.8 PORTDOCS= index.html diff --git a/net/rinetd/files/patch-rinetd.c b/net/rinetd/files/patch-rinetd.c index fe942d0093de..3c32c5bf626d 100644 --- a/net/rinetd/files/patch-rinetd.c +++ b/net/rinetd/files/patch-rinetd.c @@ -2,7 +2,7 @@ +++ rinetd.c Thu Jul 19 22:20:26 2001 @@ -243,6 +243,7 @@ signal(SIGHUP, hup); - #endif /* WIN32 */
+ #endif /* WIN32 */ signal(SIGTERM, term); + setsid(); initArrays(); diff --git a/net/rinetd/files/patch-select2poll b/net/rinetd/files/patch-select2poll index 5fa3f1411d27..cbcb3d749b48 100644 --- a/net/rinetd/files/patch-select2poll +++ b/net/rinetd/files/patch-select2poll @@ -1,15 +1,15 @@ --- rinetd.c.orig Mon Apr 14 22:19:23 2003 +++ rinetd.c Tue Oct 4 07:25:42 2005 @@ -12,6 +12,7 @@ - #include <netinet/in.h>
- #include <getopt.h>
- #include <errno.h>
-+#include <poll.h>
- #define INVALID_SOCKET (-1)
- #include <sys/time.h>
- #endif /* WIN32 */
+ #include <netinet/in.h> + #include <getopt.h> + #include <errno.h> ++#include <poll.h> + #define INVALID_SOCKET (-1) + #include <sys/time.h> + #endif /* WIN32 */ @@ -94,6 +95,7 @@ - #include "match.h"
+ #include "match.h" SOCKET *seFds = 0; +static int first_set = 0; |