Gentoo Archives: gentoo-commits

From: "seemant (seemant)" <seemant@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/mit-krb5: ChangeLog mit-krb5-1.5.3-r1.ebuild mit-krb5-1.4.3-r3.ebuild
Date: Fri, 07 Sep 2007 06:34:18
Message-Id: E1ITXJV-0006og-JV@stork.gentoo.org
1 seemant 07/09/07 06:27:33
2
3 Modified: ChangeLog
4 Added: mit-krb5-1.5.3-r1.ebuild
5 Removed: mit-krb5-1.4.3-r3.ebuild
6 Log:
7 removed the 1.4 stuff, because it's totally unmaintained upstream and here. Bumped to 1.5.3-r1 for the newest security fix. See bug #191301
8 (Portage version: 2.1.3.7)
9
10 Revision Changes Path
11 1.162 app-crypt/mit-krb5/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/mit-krb5/ChangeLog?rev=1.162&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/mit-krb5/ChangeLog?rev=1.162&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/mit-krb5/ChangeLog?r1=1.161&r2=1.162
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v
20 retrieving revision 1.161
21 retrieving revision 1.162
22 diff -u -r1.161 -r1.162
23 --- ChangeLog 7 Sep 2007 06:03:15 -0000 1.161
24 +++ ChangeLog 7 Sep 2007 06:27:33 -0000 1.162
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-crypt/mit-krb5
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.161 2007/09/07 06:03:15 seemant Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.162 2007/09/07 06:27:33 seemant Exp $
30 +
31 +*mit-krb5-1.5.3-r1 (07 Sep 2007)
32 +
33 + 07 Sep 2007; Seemant Kulleen <seemant@g.o>
34 + -mit-krb5-1.4.3-r3.ebuild, +mit-krb5-1.5.3-r1.ebuild:
35 + removed the 1.4 stuff, because it's totally unmaintained upstream and here.
36 + Bumped to 1.5.3-r1 for the newest security fix. See bug #191301
37
38 07 Sep 2007; Seemant Kulleen <seemant@g.o>
39 -mit-krb5-1.5.2-r1.ebuild, -mit-krb5-1.5.2-r2.ebuild,
40
41
42
43 1.1 app-crypt/mit-krb5/mit-krb5-1.5.3-r1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.5.3-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.5.3-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: mit-krb5-1.5.3-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2007 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.5.3-r1.ebuild,v 1.1 2007/09/07 06:27:33 seemant Exp $
53
54 inherit eutils flag-o-matic versionator autotools
55
56 PATCHV="0.2"
57 MY_P=${P/mit-}
58 P_DIR=$(get_version_component_range 1-2)
59 S=${WORKDIR}/${MY_P}/src
60 DESCRIPTION="MIT Kerberos V"
61 HOMEPAGE="http://web.mit.edu/kerberos/www/"
62 SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar
63 http://dev.gentoo.org/~seemant/distfiles/${P}-patches-${PATCHV}.tar.bz2
64 mirror://gentoo/${P}-patches-${PATCHV}.tar.bz2"
65
66 PATCHDIR="${WORKDIR}/patch"
67
68 LICENSE="as-is"
69 SLOT="0"
70 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
71 IUSE="krb4 tcl ipv6 doc"
72
73 RDEPEND="!virtual/krb5
74 sys-libs/com_err
75 sys-libs/ss
76 tcl? ( dev-lang/tcl )"
77 DEPEND="${RDEPEND}
78 doc? ( virtual/tetex )"
79 PROVIDE="virtual/krb5"
80
81 src_unpack() {
82 unpack ${A}
83 unpack ./${MY_P}.tar.gz
84 cd "${S}"
85 epatch "${FILESDIR}"/${PN}-lazyldflags.patch
86 EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"
87 ebegin "Reconfiguring configure scripts (be patient)"
88 cd "${S}"/appl/telnet
89 eautoconf --force -I "${S}"
90 eend $?
91 }
92
93 src_compile() {
94 econf \
95 $(use_with krb4) \
96 $(use_with tcl) \
97 $(use_enable ipv6) \
98 --enable-shared \
99 --with-system-et --with-system-ss \
100 --enable-dns-for-realm \
101 --enable-kdc-replay-cache || die
102
103 emake -j1 || die
104
105 if use doc ; then
106 cd ../doc
107 for dir in api implement ; do
108 make -C ${dir} || die
109 done
110 fi
111 }
112
113 src_test() {
114 einfo "Testing is being debugged, disabled for now"
115 }
116
117 src_install() {
118 emake \
119 DESTDIR="${D}" \
120 EXAMPLEDIR=/usr/share/doc/${PF}/examples \
121 install || die
122
123 keepdir /var/lib/krb5kdc
124
125 cd ..
126 dodoc README
127 dodoc doc/*.ps
128 doinfo doc/*.info*
129 dohtml -r doc/*
130
131 use doc && dodoc doc/{api,implement}/*.ps
132
133 for i in {telnetd,ftpd} ; do
134 mv "${D}"/usr/share/man/man8/${i}.8 "${D}"/usr/share/man/man8/k${i}.8
135 mv "${D}"/usr/sbin/${i} "${D}"/usr/sbin/k${i}
136 done
137
138 for i in {rcp,rlogin,rsh,telnet,ftp} ; do
139 mv "${D}"/usr/share/man/man1/${i}.1 "${D}"/usr/share/man/man1/k${i}.1
140 mv "${D}"/usr/bin/${i} "${D}"/usr/bin/k${i}
141 done
142
143 newinitd "${FILESDIR}"/mit-krb5kadmind.initd mit-krb5kadmind
144 newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc
145
146 insinto /etc
147 newins ${D}/usr/share/doc/${PF}/examples/krb5.conf krb5.conf.example
148 newins ${D}/usr/share/doc/${PF}/examples/kdc.conf kdc.conf.example
149 }
150
151 pkg_postinst() {
152 elog "See /usr/share/doc/${PF}/html/krb5-admin/index.html for documentation."
153 }
154
155
156
157 --
158 gentoo-commits@g.o mailing list