SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
net/ucspi-unix/patches/patch-Makefile
Normal file
12
net/ucspi-unix/patches/patch-Makefile
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- Makefile.orig Wed Mar 21 23:49:05 2001
|
||||
+++ Makefile Wed Mar 21 23:49:29 2001
|
||||
@@ -1,9 +1,6 @@
|
||||
PACKAGE = ucspi-unix
|
||||
VERSION = 0.34
|
||||
|
||||
-CC = gcc
|
||||
-CFLAGS = -O -g -W -Wall
|
||||
-
|
||||
LD = $(CC)
|
||||
LDFLAGS = -g
|
||||
LIBS =
|
15
net/ucspi-unix/patches/patch-env_c
Normal file
15
net/ucspi-unix/patches/patch-env_c
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- env.c.orig Fri Jul 9 10:10:54 2010
|
||||
+++ env.c Fri Jul 9 10:11:30 2010
|
||||
@@ -9,7 +9,11 @@ extern const char* utoa(unsigned long);
|
||||
void setup_env(int fd, const char* socket)
|
||||
{
|
||||
#ifdef SO_PEERCRED
|
||||
- struct ucred peer;
|
||||
+#ifndef __OpenBSD__
|
||||
+ struct ucred peer;
|
||||
+#else
|
||||
+ struct sockpeercred peer;
|
||||
+#endif
|
||||
int optlen = sizeof(peer);
|
||||
if(getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &peer, &optlen) != -1) {
|
||||
setenv("UNIXREMOTEEGID", utoa(peer.gid), 1);
|
9
net/ucspi-unix/patches/patch-unixclient_c
Normal file
9
net/ucspi-unix/patches/patch-unixclient_c
Normal file
|
@ -0,0 +1,9 @@
|
|||
--- unixclient.c.orig Fri Jul 9 10:12:16 2010
|
||||
+++ unixclient.c Fri Jul 9 10:12:34 2010
|
||||
@@ -1,5 +1,6 @@
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
9
net/ucspi-unix/patches/patch-unixserver_c
Normal file
9
net/ucspi-unix/patches/patch-unixserver_c
Normal file
|
@ -0,0 +1,9 @@
|
|||
--- unixserver.c.orig Fri Jul 9 10:15:13 2010
|
||||
+++ unixserver.c Fri Jul 9 10:15:23 2010
|
||||
@@ -1,5 +1,6 @@
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
Loading…
Add table
Add a link
Reference in a new issue