From ef50261ea97b54f24b73c2b62ede8f7402746197 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sat, 29 Jan 2000 05:56:29 +0000 Subject: Adding smb_auth version 0.05. A proxy authentication modules against an SMB server. PR: 16100 Submitted by: Maxim Sobolev --- www/smb_auth/files/patch-aa | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 www/smb_auth/files/patch-aa (limited to 'www/smb_auth/files/patch-aa') diff --git a/www/smb_auth/files/patch-aa b/www/smb_auth/files/patch-aa new file mode 100644 index 000000000000..cd2b11212a3b --- /dev/null +++ b/www/smb_auth/files/patch-aa @@ -0,0 +1,33 @@ +--- Makefile.orig Thu Jan 13 11:58:13 2000 ++++ Makefile Thu Jan 13 12:07:21 2000 +@@ -5,25 +5,25 @@ + # by using the --prefix option when configuring Samba, you need to change + # SAMBAPREFIX accordingly. + +-SAMBAPREFIX=/usr/local/samba ++SAMBAPREFIX=$(LOCALBASE) + + # INSTALLBIN is the directory in which both smb_auth and its helper script + # smb_auth.sh, will be installed. smb_auth uses this value to find its + # helper script, so change this before compiling smb_auth. + +-INSTALLBIN=/usr/local/bin ++INSTALLBIN=$(PREFIX)/bin + + # End of configuration section + + OBJECTS = smb_auth.o + SCRIPT = smb_auth.sh + +-CC = gcc +-CFLAGS = -O2 -Wall \ ++CC ?= gcc ++CFLAGS += -Wall \ + -DSAMBAPREFIX=\"$(SAMBAPREFIX)\" -DHELPERSCRIPT=\"$(INSTALLBIN)/$(SCRIPT)\" + + smb_auth: $(OBJECTS) +- $(CC) -o smb_auth $(OBJECTS) ++ $(CC) $(CFLAGS) -o smb_auth $(OBJECTS) + + install: smb_auth + install smb_auth $(SCRIPT) $(INSTALLBIN) -- cgit v1.2.3