summaryrefslogtreecommitdiff
path: root/net/sharity-light/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-03-09 16:09:36 +0000
committerwiz <wiz@pkgsrc.org>2001-03-09 16:09:36 +0000
commita9c9600de3dac487ed41d251b10d897ae69a9bc6 (patch)
treed60df80d50576bdefecc4d628604f2a6916eb7d6 /net/sharity-light/patches
parented62ce3be5ed5cb71789a96d134f061d11f1f665 (diff)
downloadpkgsrc-a9c9600de3dac487ed41d251b10d897ae69a9bc6.tar.gz
sharity-light-1.2, the descendent of rumba.
Changes since 0.6 (except some OS fixes): - renamed everything to Sharity-Light. It turned out that Wall Data Incorporated has registered the trademark "RUMBA". No functional changes have been made. The executable is now "shlight" and the version number has been set to 1.0 to indicate that the product is now well tested and considered stable, at least as stable as it can and will get. - fixed timezone bug in kernel.c kernel_init() - fixed crash when no mountpoint was specified - added option to set workgroup/domain Package provided by Jared McNeill in pkg/12360 based on the previous rumba package.
Diffstat (limited to 'net/sharity-light/patches')
-rw-r--r--net/sharity-light/patches/patch-aa68
-rw-r--r--net/sharity-light/patches/patch-ab15
2 files changed, 83 insertions, 0 deletions
diff --git a/net/sharity-light/patches/patch-aa b/net/sharity-light/patches/patch-aa
new file mode 100644
index 00000000000..855c9dfeef3
--- /dev/null
+++ b/net/sharity-light/patches/patch-aa
@@ -0,0 +1,68 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/03/09 16:09:36 wiz Exp $
+
+--- Makefile.orig Tue Nov 24 09:52:13 1998
++++ Makefile Thu Mar 8 11:27:22 2001
+@@ -5,18 +5,18 @@
+ NAME = shlight
+
+ INCLUDES = -Iinclude -I.
+-THE_CC = gcc
++THE_CC = ${CC}
+
+ ##############################################################################
+ ############################ System specific part ############################
+ ##############################################################################
+
+ # For NEXTSTEP/OPENSTEP:
+-CFLAGS = -Wall -O2 -traditional-cpp -g
++#CFLAGS = -Wall -O2 -traditional-cpp -g
+ # put your architecture here:
+-ARCH = -arch i386
+-THE_CC = cc
+-RPC_WARNFLAGS = -Wno-unused -Wno-switch -Wno-uninitialized
++#ARCH = -arch i386
++#THE_CC = cc
++#RPC_WARNFLAGS = -Wno-unused -Wno-switch -Wno-uninitialized
+
+ # For Linux: (use static linking because of libc5/libc6 troubles)
+ #CFLAGS = -Wall -O2 -g
+@@ -29,9 +29,9 @@
+ #RPC_WARNFLAGS = -Wno-unused -Wno-switch -Wno-uninitialized
+
+ # For NetBsd
+-#CFLAGS = -Wall -O2 -DNETBSD
++CFLAGS = -Wall -O2 -DNETBSD
+ #THE_CC = cc
+-#RPC_WARNFLAGS = -Wno-unused -Wno-switch -Wno-uninitialized
++RPC_WARNFLAGS = -Wno-unused -Wno-switch -Wno-uninitialized
+
+ # For BSDI
+ #CFLAGS= -Wall -O2
+@@ -59,22 +59,21 @@
+ ######################## End of system specific part #########################
+ ##############################################################################
+
+-LD = ld
+-CC = $(THE_CC) $(INCLUDES)
+-STRIP = strip
++LD = ${LD}
++STRIP = ${STRIP}
+
+ OFILES = proc.o sock.o rumba.o psinode.o kernel.o smb_abstraction.o fo_nfs.o
+
+ .c.o:
+- $(CC) $(CFLAGS) $(ARCH) -c -o $*.o $<
++ $(CC) $(INCLUDES) $(CFLAGS) $(ARCH) -c -o $*.o $<
+
+ all: $(NAME)
+
+ nfs_dir:
+- (cd nfs; $(MAKE) "CFLAGS=$(CFLAGS)" "CC=$(THE_CC)" "ARCH=$(ARCH)" "RPC_WARNFLAGS=$(RPC_WARNFLAGS)")
++ (cd nfs; $(MAKE) "CFLAGS=$(CFLAGS)" "CC=$(CC)" "ARCH=$(ARCH)" "RPC_WARNFLAGS=$(RPC_WARNFLAGS)")
+
+ $(NAME): $(OFILES) nfs_dir
+- $(CC) $(LDFLAGS) $(ARCH) -o $(NAME) $(OFILES) nfs/nfs.o $(LIBS)
++ $(CC) $(INCLUDES) $(LDFLAGS) $(ARCH) -o $(NAME) $(OFILES) nfs/nfs.o $(LIBS)
+
+ clean:
+ rm -f $(OFILES)
diff --git a/net/sharity-light/patches/patch-ab b/net/sharity-light/patches/patch-ab
new file mode 100644
index 00000000000..580d05642ad
--- /dev/null
+++ b/net/sharity-light/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/03/09 16:09:36 wiz Exp $
+
+--- nfs/syscalls.c.orig Thu Mar 8 11:29:41 2001
++++ nfs/syscalls.c Thu Mar 8 11:29:55 2001
+@@ -19,6 +19,10 @@
+ #include <arpa/inet.h>
+ #include "my_defines.h"
+
++#ifdef __NetBSD__
++#include <nfs/nfsmount.h>
++#endif
++
+ /* --------------------------- general constants --------------------------- */
+
+ #define NFS_TIMEOUT_SECONDS 10 /* nfs timeout in seconds */