2001-04-16 18:49:39 +00:00
|
|
|
--- src/osdep/unix/Makefile.orig Wed Apr 11 00:02:06 2001
|
|
|
|
+++ src/osdep/unix/Makefile Sat Apr 14 03:20:57 2001
|
|
|
|
@@ -28,12 +28,12 @@
|
2001-04-05 03:21:41 +00:00
|
|
|
|
|
|
|
# Extended flags needed for SSL. You may need to modify.
|
|
|
|
|
|
|
|
-SSLDIR=/usr/local/ssl
|
2001-04-09 23:29:39 +00:00
|
|
|
-SSLCERTS=$(SSLDIR)/certs
|
2001-04-05 03:21:41 +00:00
|
|
|
-SSLINCLUDE=$(SSLDIR)/include
|
2001-04-09 23:29:39 +00:00
|
|
|
-SSLLIB=$(SSLDIR)/lib
|
|
|
|
+SSLDIR=$(OPENSSLBASE)
|
|
|
|
+SSLCERTS=$(PREFIX)/certs
|
|
|
|
+SSLINCLUDE=$(OPENSSLINC)
|
|
|
|
+SSLLIB=$(OPENSSLLIB)
|
2001-03-23 03:04:16 +00:00
|
|
|
|
2001-04-16 18:49:39 +00:00
|
|
|
-SSLCRYPTO=-lcrypto
|
|
|
|
+SSLCRYPTO=-lcrypto -lcrypt
|
|
|
|
|
|
|
|
# Older versions of MIT Kerberos also have a libcrypto. If so, you may need
|
|
|
|
# to use this instead
|
|
|
|
@@ -46,7 +46,7 @@
|
|
|
|
|
|
|
|
SSLCFLAGS= -I$(SSLINCLUDE) -I$(SSLINCLUDE)/openssl\
|
|
|
|
-DSSL_CERT_DIRECTORY=\"$(SSLCERTS)\"
|
|
|
|
-SSLLDFLAGS= -L$(SSLLIB) -lssl $(SSLCRYPTO) $(SSLRSA)
|
|
|
|
+SSLLDFLAGS= # -L$(SSLLIB) -lssl $(SSLCRYPTO) $(SSLRSA)
|
2001-03-23 03:04:16 +00:00
|
|
|
|
2001-04-16 18:49:39 +00:00
|
|
|
|
|
|
|
# Extended flags needed for non-standard passwd types. You may need to modify.
|
2001-04-09 23:29:39 +00:00
|
|
|
@@ -60,7 +60,7 @@
|
2001-03-23 03:04:16 +00:00
|
|
|
# AFSLDFLAGS may also need -L/usr/ucblib -lucb
|
|
|
|
DCECFLAGS= -DDCE_MINIMAL -DPASSWD_OVERRIDE=\"/opt/pop3/passwd/passwd\"
|
|
|
|
DCELDFLAGS= -ldce
|
|
|
|
-PAMLDFLAGS= -lpam -ldl
|
2001-04-16 18:49:39 +00:00
|
|
|
+PAMLDFLAGS= # -lpam -lcrypt
|
2001-03-23 03:04:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Build parameters normally set by the individual port
|
2001-04-09 23:29:39 +00:00
|
|
|
@@ -97,7 +97,7 @@
|
2000-02-14 23:45:56 +00:00
|
|
|
# Commands possibly overriden by the individual port
|
|
|
|
|
|
|
|
ARRC=ar rc
|
|
|
|
-CC=cc
|
2000-07-17 08:47:13 +00:00
|
|
|
+CC?=cc
|
2000-02-14 23:45:56 +00:00
|
|
|
LN=ln -s
|
|
|
|
RANLIB=ranlib
|
|
|
|
|
2001-04-09 23:29:39 +00:00
|
|
|
@@ -115,7 +115,7 @@
|
1998-02-23 23:15:17 +00:00
|
|
|
dummy.o pseudo.o netmsg.o flstring.o fdstring.o \
|
|
|
|
rfc822.o nntp.o smtp.o imap4r1.o pop3.o \
|
|
|
|
unix.o mbox.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o
|
2001-02-12 06:42:58 +00:00
|
|
|
-CFLAGS=-g
|
1998-02-23 23:15:17 +00:00
|
|
|
+CFLAGS+=$(BASECFLAGS) $(EXTRACFLAGS)
|
2000-12-18 09:55:11 +00:00
|
|
|
|
|
|
|
CAT=cat
|
1998-02-23 23:15:17 +00:00
|
|
|
MAKE=make
|
2001-04-09 23:29:39 +00:00
|
|
|
@@ -198,6 +198,15 @@
|
2000-12-18 09:55:11 +00:00
|
|
|
BASECFLAGS="-g -B/usr/lib/big/ -Dvoid=char -Dconst=" \
|
1999-12-25 02:29:04 +00:00
|
|
|
RANLIB=true ARRC="ar -rc"
|
|
|
|
|
|
|
|
+bfp: # FreeBSD Pluggable Authentication Modules
|
2001-04-05 03:21:41 +00:00
|
|
|
+ $(BUILD) `cat SPECIALS` OS=bsi SIGTYPE=psx CHECKPW=pam \
|
1999-12-25 02:29:04 +00:00
|
|
|
+ SPOOLDIR=/var \
|
|
|
|
+ ACTIVEFILE=/usr/local/news/lib/active \
|
|
|
|
+ RSHPATH=/usr/bin/rsh \
|
|
|
|
+ LOCKPGM=$(PREFIX)/libexec/mlock \
|
|
|
|
+ BASECFLAGS="-DNFSKLUDGE" \
|
|
|
|
+ BASELDFLAGS="-lpam -lcrypt"
|
|
|
|
+
|
|
|
|
bs3: # BSD/i386 3.0 or higher
|
2000-12-18 09:55:11 +00:00
|
|
|
$(BUILD) `$(CAT) SPECIALS` OS=bsi \
|
|
|
|
CHECKPW=bsi LOGINPW=bsi CRXTYPE=nfs \
|
2001-04-16 18:49:39 +00:00
|
|
|
@@ -217,8 +226,9 @@
|
1998-02-23 23:15:17 +00:00
|
|
|
SPOOLDIR=/var \
|
|
|
|
ACTIVEFILE=/usr/local/news/lib/active \
|
|
|
|
RSHPATH=/usr/bin/rsh \
|
2000-12-18 09:55:11 +00:00
|
|
|
- BASECFLAGS="-g -O -pipe" \
|
|
|
|
- BASELDFLAGS="-lcrypt"
|
1999-12-25 02:29:04 +00:00
|
|
|
+ LOCKPGM=$(PREFIX)/libexec/mlock \
|
|
|
|
+ BASECFLAGS="-DNFSKLUDGE" \
|
2001-04-16 18:49:39 +00:00
|
|
|
+ BASELDFLAGS=""
|
1997-11-17 12:34:52 +00:00
|
|
|
|
1997-12-07 01:02:52 +00:00
|
|
|
bsi: # BSD/i386
|
2000-12-18 09:55:11 +00:00
|
|
|
$(BUILD) `$(CAT) SPECIALS` OS=$@ \
|
2001-04-09 23:29:39 +00:00
|
|
|
@@ -764,7 +774,7 @@
|
1998-11-21 20:01:56 +00:00
|
|
|
|
2000-12-18 09:55:11 +00:00
|
|
|
build: clean once $(ARCHIVE)
|
1998-11-21 20:01:56 +00:00
|
|
|
|
|
|
|
-all: $(ARCHIVE)
|
2000-07-17 08:47:13 +00:00
|
|
|
+all: onceenv
|
1998-11-21 20:01:56 +00:00
|
|
|
|
|
|
|
$(ARCHIVE): $(BINARIES)
|
|
|
|
sh -c '$(RM) $(ARCHIVE) || true'
|