View | Details | Raw Unified | Return to bug 50519
Collapse All | Expand All

(-)ports/net/samba/Makefile (+1 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	samba
8
PORTNAME=	samba
9
PORTVERSION=	2.2.8
9
PORTVERSION=	2.2.8
10
PORTREVISION=	1
10
CATEGORIES=	net
11
CATEGORIES=	net
11
MASTER_SITES=	http://us3.samba.org/samba/ftp/%SUBDIR%/ \
12
MASTER_SITES=	http://us3.samba.org/samba/ftp/%SUBDIR%/ \
12
		http://us4.samba.org/samba/ftp/%SUBDIR%/ \
13
		http://us4.samba.org/samba/ftp/%SUBDIR%/ \
(-)ports/net/samba/files/patch-source::nsswitch::pam_winbind.h (+19 lines)
Added Link Here
1
--- source/nsswitch/pam_winbind.h.orig	Tue Apr  1 12:57:33 2003
2
+++ source/nsswitch/pam_winbind.h	Tue Apr  1 12:57:41 2003
3
@@ -25,7 +25,15 @@
4
 #define PAM_SM_ACCOUNT
5
 #define PAM_SM_PASSWORD
6
 
7
-#if defined(SUNOS5) || defined(SUNOS4) || defined(HPUX)
8
+#if (__FreeBSD__ == 0)		/* 1.0 did not define __FreeBSD__ */
9
+#define __FreeBSD_version 199401
10
+#elsif __FreeBSD__ == 1		/* 1.1 defined it to be 1 */
11
+#define __FreeBSD_version 199405
12
+#else				/* 2.0 and higher define it to be 2 */
13
+#include <osreldate.h>		/* and this works */
14
+#endif
15
+
16
+#if defined(SUNOS5) || defined(SUNOS4) || defined(HPUX) || (defined (__FreeBSD_version) && (__FreeBSD_version > 500030))
17
 
18
 /* Solaris always uses dynamic pam modules */
19
 #define PAM_EXTERN extern

Return to bug 50519