/[gentoo-x86]/net-misc/openssh/openssh-3.5_p1-r1.ebuild
Gentoo

Diff of /net-misc/openssh/openssh-3.5_p1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.14 Revision 1.15
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/Attic/openssh-3.5_p1-r1.ebuild,v 1.14 2003/07/16 14:28:46 pvdabeel Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/Attic/openssh-3.5_p1-r1.ebuild,v 1.15 2003/09/05 22:01:49 msterret Exp $
4 4
5inherit eutils 5inherit eutils
6 6
7IUSE="ipv6 static pam tcpd kerberos selinux" 7IUSE="ipv6 static pam tcpd kerberos selinux"
8 8
59 # KTH's implementation of kerberos IV 59 # KTH's implementation of kerberos IV
60 # KTH_KRB="yes" emerge openssh-3.5_p1-r1.ebuild 60 # KTH_KRB="yes" emerge openssh-3.5_p1-r1.ebuild
61 if [ ! -z $KTH_KRB ]; then 61 if [ ! -z $KTH_KRB ]; then
62 myconf="${myconf} --with-kerberos4=/usr/athena" 62 myconf="${myconf} --with-kerberos4=/usr/athena"
63 fi 63 fi
64 64
65 use selinux && CFLAGS="${CFLAGS} -DWITH_SELINUX" 65 use selinux && CFLAGS="${CFLAGS} -DWITH_SELINUX"
66 66
67 ./configure \ 67 ./configure \
68 --prefix=/usr \ 68 --prefix=/usr \
69 --sysconfdir=/etc/ssh \ 69 --sysconfdir=/etc/ssh \
70 --mandir=/usr/share/man \ 70 --mandir=/usr/share/man \
86 then 86 then
87 #add -lsecure 87 #add -lsecure
88 sed "s:LIBS=\(.*\):LIBS=\1 -lsecure:" < Makefile > Makefile.new 88 sed "s:LIBS=\(.*\):LIBS=\1 -lsecure:" < Makefile > Makefile.new
89 mv Makefile.new Makefile 89 mv Makefile.new Makefile
90 fi 90 fi
91 91
92 emake || die "compile problem" 92 emake || die "compile problem"
93} 93}
94 94
95src_install() { 95src_install() {
96 make install-files DESTDIR=${D} || die 96 make install-files DESTDIR=${D} || die
97 chmod 600 ${D}/etc/ssh/sshd_config 97 chmod 600 ${D}/etc/ssh/sshd_config
98 dodoc ChangeLog CREDITS OVERVIEW README* TODO sshd_config 98 dodoc ChangeLog CREDITS OVERVIEW README* TODO sshd_config
99 insinto /etc/pam.d ; newins ${FILESDIR}/sshd.pam sshd 99 insinto /etc/pam.d ; newins ${FILESDIR}/sshd.pam sshd
100 exeinto /etc/init.d ; newexe ${FILESDIR}/sshd.rc6 sshd 100 exeinto /etc/init.d ; newexe ${FILESDIR}/sshd.rc6 sshd

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20