/[gentoo-x86]/net-misc/openssh/openssh-3.6.1_p2-r1.ebuild
Gentoo

Diff of /net-misc/openssh/openssh-3.6.1_p2-r1.ebuild

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

Revision 1.1 Revision 1.2
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.6.1_p2-r1.ebuild,v 1.1 2003/08/06 20:52:50 woodchip Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/Attic/openssh-3.6.1_p2-r1.ebuild,v 1.2 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"
8IUSE="${IUSE} X509" 8IUSE="${IUSE} X509"
66 # KTH's implementation of kerberos IV 66 # KTH's implementation of kerberos IV
67 # KTH_KRB="yes" emerge openssh-3.5_p1-r1.ebuild 67 # KTH_KRB="yes" emerge openssh-3.5_p1-r1.ebuild
68 if [ ! -z $KTH_KRB ]; then 68 if [ ! -z $KTH_KRB ]; then
69 myconf="${myconf} --with-kerberos4=/usr/athena" 69 myconf="${myconf} --with-kerberos4=/usr/athena"
70 fi 70 fi
71 71
72 use selinux && CFLAGS="${CFLAGS} -DWITH_SELINUX" 72 use selinux && CFLAGS="${CFLAGS} -DWITH_SELINUX"
73 73
74 ./configure \ 74 ./configure \
75 --prefix=/usr \ 75 --prefix=/usr \
76 --sysconfdir=/etc/ssh \ 76 --sysconfdir=/etc/ssh \
77 --mandir=/usr/share/man \ 77 --mandir=/usr/share/man \
93 then 93 then
94 #add -lsecure 94 #add -lsecure
95 sed "s:LIBS=\(.*\):LIBS=\1 -lsecure:" < Makefile > Makefile.new 95 sed "s:LIBS=\(.*\):LIBS=\1 -lsecure:" < Makefile > Makefile.new
96 mv Makefile.new Makefile 96 mv Makefile.new Makefile
97 fi 97 fi
98 98
99 emake || die "compile problem" 99 emake || die "compile problem"
100} 100}
101 101
102src_install() { 102src_install() {
103 make install-files DESTDIR=${D} || die 103 make install-files DESTDIR=${D} || die
104 chmod 600 ${D}/etc/ssh/sshd_config 104 chmod 600 ${D}/etc/ssh/sshd_config
105 dodoc ChangeLog CREDITS OVERVIEW README* TODO sshd_config 105 dodoc ChangeLog CREDITS OVERVIEW README* TODO sshd_config
106 insinto /etc/pam.d ; newins ${FILESDIR}/sshd.pam sshd 106 insinto /etc/pam.d ; newins ${FILESDIR}/sshd.pam sshd
107 exeinto /etc/init.d ; newexe ${FILESDIR}/sshd.rc6 sshd 107 exeinto /etc/init.d ; newexe ${FILESDIR}/sshd.rc6 sshd

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20