head	1.5;
access;
symbols
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.4
	RELEASE_4_11_0:1.4
	RELEASE_5_3_0:1.4
	RELEASE_4_10_0:1.4
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.4
	RELEASE_5_1_0:1.4
	RELEASE_4_8_0:1.4
	RELEASE_5_0_0:1.4
	RELEASE_4_7_0:1.4
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1;
locks; strict;
comment	@# @;


1.5
date	2008.03.05.04.25.42;	author tmclaugh;	state dead;
branches;
next	1.4;

1.4
date	2002.06.24.22.57.13;	author dinoex;	state Exp;
branches;
next	1.3;

1.3
date	2002.06.22.12.31.18;	author dinoex;	state Exp;
branches;
next	1.2;

1.2
date	2002.05.31.07.28.46;	author dinoex;	state Exp;
branches;
next	1.1;

1.1
date	2002.03.12.17.54.07;	author dinoex;	state Exp;
branches;
next	;


desc
@@


1.5
log
@- expire port: Long out of date with multiple security issues.
  (Don't worry, openssh-portable is still there.)
@
text
@--- sshd/Makefile.orig	Tue Jun 25 00:07:14 2002
+++ sshd/Makefile	Tue Jun 25 00:17:30 2002
@@@@ -5,8 +5,9 @@@@
 PROG=	sshd
 BINOWN=	root
 BINMODE=555
-BINDIR=	/usr/sbin
-MAN=	sshd.8 sshd_config.5
+BINDIR=	/sbin
+MAN8=	sshd.8
+MAN5=	sshd_config.5
 #CFLAGS+=-DHAVE_LOGIN_CAP -DBSD_AUTH
 CFLAGS+=-DHAVE_LOGIN_CAP
 
@@@@ -19,9 +20,10 @@@@
 	auth2-hostbased.c auth2-kbdint.c
 
 .include <bsd.own.mk> # for KERBEROS and AFS
+.include "../Makefile.inc"
 
 .if (${KERBEROS5:L} == "yes")
-CFLAGS+=-DKRB5 -I${DESTDIR}/usr/include/kerberosV
+CFLAGS+=-DKRB5 -I/usr/include/kerberosV
 SRCS+=  auth-krb5.c
 LDADD+= -lkrb5 -lkafs -lasn1 -lcom_err
 DPADD+= ${LIBKRB5} ${LIBKAFS} ${LIBASN1} ${LIBCOM_ERR}
@@@@ -33,15 +35,22 @@@@
 LDADD+=  -lkafs
 DPADD+=  ${LIBKAFS}
 .endif # AFS
-CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV
+CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
 SRCS+=	auth-krb4.c
-LDADD+=	 -lkrb
+LDADD+=	 -lkrb -lcom_err
 DPADD+=	 ${LIBKRB}
 .endif # KERBEROS
 
+.if (${PAM:L} == "yes")
+CFLAGS+= -DUSE_PAM -Dmm_auth_pam_password=auth_pam_password
+SRCS+= auth-pam.c auth2-pam.c
+LDADD+= -lpam
+DPADD+= ${PAM}
+.endif
+
 .include <bsd.prog.mk>
 
-LDADD+=	-lcrypto -lutil -lz -ldes
+LDADD+=	${CRYPTOLIBS} -lcrypt -lutil -lz
 DPADD+=	${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBDES}
 
 .if (${TCP_WRAPPERS:L} == "yes")
@@@@ -52,6 +61,6 @@@@
 
 .if (${SKEY:L} == "yes")
 CFLAGS+= -DSKEY
-LDADD+= -lskey
+LDADD+= -lopie
 DPADD+= ${SKEY}
 .endif
@


1.4
log
@Enable privilege separation as default,
create user and home if it not exists.
@
text
@@


1.3
log
@Update to openssh-3.3
- New program ssh-keysign
- New manpages for ssh_config and sshd_config
- Merge Pathes to new files
- Fix GCC problem with unsupported __func__ in older Releases
@
text
@d1 2
a2 2
--- sshd/Makefile.orig	Fri Jun 21 23:06:22 2002
+++ sshd/Makefile	Fri Jun 21 23:06:56 2002
d27 1
a27 1
@@@@ -33,15 +35,15 @@@@
d39 7
d53 8
@


1.2
log
@Update to OpenSSH 3.2.3

- patch openssh-3.1-adv.token.patch is now obsolete.
- remerged PAM changes form previous port
- declare CMSG_* macros.
- fixed bad type in function input_userauth_passwd_changereq

Update to OpenSSH-portable-3.2.3p1

- patch openssh-3.1p1-adv.token.patch is now obsolete
- keep previously declared CONFIGURE_ARGS
- remove openssh-mit-krb5-20020326.diff (should be in the distribution now)
- patch patch-readpassphrase.c is now in teh distribution
- merged previous patches.
- extend CONFIGURE_ARGS so it find OPENSSL again.
- new patches for GSSAPI, not fully tested.

If you have the patch applied:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/36080

Builds with openssl-0.9.6d under:
2.2.8-RELEASE
3.2-RELEASE
4.2-RELEASE
4.6-RC
@
text
@d1 3
a3 3
--- sshd/Makefile.orig	Thu May 23 13:33:56 2002
+++ sshd/Makefile	Thu May 23 13:36:15 2002
@@@@ -5,8 +5,8 @@@@
d8 1
a8 1
-MAN=	sshd.8
d11 2
a13 1
 #CFLAGS+=-DBSD_AUTH
d15 2
a16 2
@@@@ -17,9 +17,10 @@@@
 	auth-skey.c auth-bsdauth.c monitor_mm.c monitor.c
d27 1
a27 1
@@@@ -31,15 +32,15 @@@@
@


1.1
log
@Rename Patches to make navigation much more easier.
@
text
@d1 2
a2 2
--- sshd/Makefile.orig	Fri Mar  8 05:54:03 2002
+++ sshd/Makefile	Fri Mar  8 06:00:30 2002
d15 1
a15 1
 	auth-skey.c auth-bsdauth.c
d25 1
a25 1
 DPADD+= ${LIBKRB5} ${LIBKAFS} ${LIBASN1}
d28 1
a28 1
 DPADD+=  ${LIBKRBAFS}
d42 1
a42 1
 DPADD+=	${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
@

