Version bump. Cleaned up ebuild. Thanks to Torsten Kurbad and Eray Aslan.
authorJeremy Olexa <darkside@gentoo.org>
Sun, 9 May 2010 03:50:52 +0000 (03:50 +0000)
committerJeremy Olexa <darkside@gentoo.org>
Sun, 9 May 2010 03:50:52 +0000 (03:50 +0000)
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64

app-crypt/heimdal/ChangeLog
app-crypt/heimdal/Manifest
app-crypt/heimdal/files/heimdal-kadmind.initd [new file with mode: 0644]
app-crypt/heimdal/files/heimdal-kcm.initd [new file with mode: 0644]
app-crypt/heimdal/files/heimdal-kdc.initd [new file with mode: 0644]
app-crypt/heimdal/files/heimdal-kpasswdd.initd [new file with mode: 0644]
app-crypt/heimdal/files/krb5.conf [new file with mode: 0644]
app-crypt/heimdal/heimdal-1.3.2.ebuild [new file with mode: 0644]

index 6ca8126da51bac879c564eaf1ea87971781edfb5..bf847dd9ccbd7c7598bd08e80622820b361187fa 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for app-crypt/heimdal
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.150 2010/02/13 16:32:34 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.151 2010/05/09 03:50:51 darkside Exp $
+
+*heimdal-1.3.2 (09 May 2010)
+
+  09 May 2010; Jeremy Olexa <darkside@gentoo.org>
+  +files/heimdal-kadmind.initd, +files/heimdal-kcm.initd,
+  +files/heimdal-kdc.initd, +files/heimdal-kpasswdd.initd, +files/krb5.conf,
+  +heimdal-1.3.2.ebuild:
+  Version bump. Cleaned up ebuild. Thanks to Torsten Kurbad and Eray Aslan.
 
   13 Feb 2010; Raúl Porcel <armin76@gentoo.org> heimdal-1.2.1-r4.ebuild:
   alpha/ia64/m68k/s390/sh/sparc stable wrt #300686
index c67a627f1b4c1ed8f9f1de6841aa49e15f40766a..9c652d8348b6390cb8671cd21dff807134c96774 100644 (file)
@@ -1,15 +1,22 @@
 AUX heimdal-0.7.2-as_needed.patch 853 RMD160 5c03f5008e395e87c48f89fe91828e0d034de7db SHA1 0b4dda9830d36185055b66976436545e3daa926b SHA256 640969f1ebe65bae204d45b076dbd488f62a4fd5cf6d96bdc5373423e71f39e3
 AUX heimdal-autoconf-2.64.patch 364 RMD160 1b362be75f32eaf79502aa406db7ded25a2878d7 SHA1 1727677c8e5de5c12469a44a28c61f04b15d6a37 SHA256 2dc9dfb773b58b54d1aef76362db734066828893dd1e2ffcee9e20b3484abbf3
 AUX heimdal-autoconf-ipv6-backport.patch 4521 RMD160 0ee4317834939d23bd34cce02034bd3de7eb1022 SHA1 768461c3a40d55ecae3872c8957249fef0e71201 SHA256 6a1f8d23072e5b5a2253e3eb0fc931a4dc7f0be8076466b0f8993e644de5248f
+AUX heimdal-kadmind.initd 579 RMD160 d6cae14cfabe5b0170664b882fd8691870181f61 SHA1 b2c58d80917ae63eeb8eb120be076db0b673f6c5 SHA256 1f1e6a086d3f07620f0656bac67d1b3bbe0d8c9cca66dc3c5a01afd7fdbc0549
+AUX heimdal-kcm.initd 563 RMD160 6aac9c3ffe9717e48838a1f977b02928d3ab0741 SHA1 22411837ca5931887911df44ee043e4752b26bb7 SHA256 a904c990b3560a4caca3de1ef9a306095f1347be7b404092343ddc059f7852aa
 AUX heimdal-kdc-sans_pkinit.patch 500 RMD160 7ed56129127af088d4c10533abf178aa72bf3c8f SHA1 eda1939bf276bfc260981eb7ee770b4adde6070c SHA256 8d7f04189c897706ed8adae6cd81bab9bf5f2eb593d5e630c33eccd017bb8e4c
+AUX heimdal-kdc.initd 554 RMD160 52fb746a619222cf2d965754098fcbe7bc8e8b62 SHA1 af71df7d5a63937b306136e9adfcc5394d7230d0 SHA256 17744329217d998a380f2be47e6f4c10b39c2437db678c49704636fd4ad507f1
+AUX heimdal-kpasswdd.initd 596 RMD160 ec7ad3d3171f2b29047b1b780237bc379e66eb1a SHA1 46462b4f4ac4156e87de0111ef7cce7d233a3673 SHA256 88cbff8de40337d12acec1d8dc04ee8d219647ec4072a9c9e95f1e56925c8861
 AUX heimdal-mit-krb5-free.patch 779 RMD160 77be91acd791ee7e6467e7995f96ee744f228fa1 SHA1 b28cb6bd186acb89d738be70285b5ceff3c55949 SHA256 1d62caed12e50eb7a7a5f2a070d0d48462c91a2a2fdf830fc933316425aef816
 AUX heimdal-r23235-kb5-libwind_la.patch 270 RMD160 17784aca21208c3ae29b1e26a45e6394af8d55b5 SHA1 72466a7a8623d759121dbb765cd660b8582ad73c SHA256 0df907bf80298845480a415368bd492eb177fe4e8a11e83d2f1d124e9d889f5b
 AUX heimdal-r23238-kb5_locl_h-wind_h.patch 328 RMD160 0cab54e8605b56ed0168e2f680bee2c1386ec035 SHA1 6058f52df83ce0f04ac9d70e8c465ea88d1dca62 SHA256 abb7522a6675cc362fdb9b95096a69423b5742ea311bca4c7100cf0f5a71c1ec
 AUX heimdal-symlinked-manpages.patch 1104 RMD160 e76c9089229a1a5a87807c306a73d5bb5be7936e SHA1 f256e1f9193d9dfb061086a221ce3567b6626cda SHA256 f8c45e49c0d4366e133d01172c92a01050b48fea21160da439563ca927598956
 AUX heimdal-system_sqlite.patch 1861 RMD160 fa9cf71fef33b3e434f8d3a5bce5c51f0d3c97e5 SHA1 9255730737444febe78ebc47f246893e3887e880 SHA256 79abe4fae56218066b6827989d22d1e0ea1060c027f3698370d1cf7988b487de
+AUX krb5.conf 424 RMD160 80a0159824b8a44698d97d911c701bb05f2f0688 SHA1 7602cc72576d144429cae5cf568feb25a5906ab7 SHA256 3acbae7a561b0a76c90ab53f41d5ffb5b811a39049c5ed15b1e7a34e8c889c6e
 DIST heimdal-1.2.1.tar.gz 5234882 RMD160 055e858200e53108ac24760516ff9d58e4fee0d2 SHA1 68b013a68bca7d544d29af0f890b9c668ec16936 SHA256 4e32be8d42824f2c58dffa435300e2dd0f0c3bbc6931afcbd450122067f76493
+DIST heimdal-1.3.2.tar.gz 5743151 RMD160 57c2706a5893afc41e604f7821c10571cc8999dd SHA1 b31adedca3cec50469889ca9528be25db24b50f7 SHA256 965b3ff4764bd69b2f19abe774300b7dc4822829c831f27d4c5b3b67d3c18c63
 DIST heimdal-gentoo-patches-0.2.tar.bz2 5215 RMD160 f6b87d3caf8f156fdcf7c61542ea612cdcd42d9a SHA1 2282ea687e2cc215bf77a61b9badfb4a347b2792 SHA256 c4074b06760e28ac9a9bd5f1bc54dd86f1c104463384ca2f79918029995bb45a
 EBUILD heimdal-1.2.1-r1.ebuild 4237 RMD160 4b3f562242cf2eabcaaeab583223b90cd38cb23d SHA1 db55235d6a779c80cff7ef11f09f6e033d397043 SHA256 e14cc0cacb4edc26c3df8366a40fbabd8ab444c1e2b4d6d37fdec9f0ed8d5cbf
 EBUILD heimdal-1.2.1-r4.ebuild 4064 RMD160 931764a654b3a4fe4aedb6d9163fe6125c959d51 SHA1 b1c3ba453075d6f4d398ce13b2516246a1315f4f SHA256 92eb7771c35730ca33e296a4d9cec6fa867e5df24040a263294d864b84833018
-MISC ChangeLog 24477 RMD160 e0cde7c1ac0471f6d8ededd37543ee769e35a79e SHA1 65a80a54063068540c17be05d6580eed892f47de SHA256 b39f783f339235ead34f10657b192c6f912a333776ece417c7c9affe0339f322
+EBUILD heimdal-1.3.2.ebuild 2597 RMD160 3732914de7998ef3dc92c3d40cb14fa724910616 SHA1 282e7bb6b4db1dfc1cd99a8c9b716e448d27ef5f SHA256 36f2f877b5754120aedf36c7977174c402d8addd85caaa92a111a52d1ed21947
+MISC ChangeLog 24795 RMD160 9a3a9624d604e391bc9dc3962d6db2cac3e5c2cc SHA1 2cfbb4aef3d5033c04c6611a0cd7ab3ee2d81af6 SHA256 89292c3609a7fc4b215e9da9bf401b8baece1aacd81b0de0777778426c381bed
 MISC metadata.xml 923 RMD160 47b35a8f1efeaa17ac7104932a7ac75fa58b2f48 SHA1 82f3c37e41de86ca104a021461613a23680b86cb SHA256 f3eb7cc9ed2e70bdf91b8b1817f352a9eb0ce22e8a026510250b064040e18a3b
diff --git a/app-crypt/heimdal/files/heimdal-kadmind.initd b/app-crypt/heimdal/files/heimdal-kadmind.initd
new file mode 100644 (file)
index 0000000..da90485
--- /dev/null
@@ -0,0 +1,30 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/files/heimdal-kadmind.initd,v 1.1 2010/05/09 03:50:52 darkside Exp $
+
+depend() {
+       need net
+       use heimdal-kdc
+       after logger
+}
+
+start() {
+       ebegin "Starting Heimdal kadmind"
+               /usr/sbin/kadmind  &
+               echo $! > /var/run/heimdal-kadmind.pid
+       eend $?
+}
+
+stop() {
+       ebegin "Stopping Heimdal kadmind"
+       start-stop-daemon --stop --quiet --exec \
+               /usr/sbin/kadmind
+       eend $?
+}
+
+restart() {
+       svc_stop
+       svc_start
+}
+
diff --git a/app-crypt/heimdal/files/heimdal-kcm.initd b/app-crypt/heimdal/files/heimdal-kcm.initd
new file mode 100644 (file)
index 0000000..9e46d03
--- /dev/null
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/files/heimdal-kcm.initd,v 1.1 2010/05/09 03:50:52 darkside Exp $
+
+depend() {
+       after heimdal-kdc
+}
+
+start() {
+       ebegin "Starting Heimdal KCM..."
+       start-stop-daemon --start --pidfile /var/run/kcm.pid --exec /usr/sbin/kcm -- --detach
+       eend $?
+}
+
+stop() {
+       ebegin "Stopping Heimdal KCM..."
+       start-stop-daemon --stop --pidfile /var/run/kcm.pid
+       eend $?
+}
+
+restart() {
+       svc_stop
+       svc_start
+}
diff --git a/app-crypt/heimdal/files/heimdal-kdc.initd b/app-crypt/heimdal/files/heimdal-kdc.initd
new file mode 100644 (file)
index 0000000..c56f9c5
--- /dev/null
@@ -0,0 +1,29 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/files/heimdal-kdc.initd,v 1.1 2010/05/09 03:50:52 darkside Exp $
+
+depend() {
+       need net
+       after logger
+}
+
+start() {
+       ebegin "Starting Heimdal kdc"
+       start-stop-daemon --start --quiet --exec \
+               /usr/sbin/kdc -- --detach
+       eend $?
+}
+
+stop() {
+       ebegin "Stopping Heimdal kdc"
+       start-stop-daemon --stop --quiet --exec \
+               /usr/sbin/kdc
+       eend $?
+}
+
+restart() {
+       svc_stop
+       svc_start
+}
+
diff --git a/app-crypt/heimdal/files/heimdal-kpasswdd.initd b/app-crypt/heimdal/files/heimdal-kpasswdd.initd
new file mode 100644 (file)
index 0000000..905522d
--- /dev/null
@@ -0,0 +1,29 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/files/heimdal-kpasswdd.initd,v 1.1 2010/05/09 03:50:52 darkside Exp $
+
+depend() {
+       need net
+       use heimdal-kdc
+       after logger
+}
+
+start() {
+       ebegin "Starting Heimdal kpasswdd"
+       start-stop-daemon --background --start --quiet --exec \
+               /usr/sbin/kpasswdd
+       eend $?
+}
+
+stop() {
+       ebegin "Stopping Heimdal kpasswdd"
+       start-stop-daemon --stop --quiet --exec \
+               /usr/sbin/kpasswdd
+       eend $?
+}
+
+restart() {
+       svc_stop
+       svc_start
+}
diff --git a/app-crypt/heimdal/files/krb5.conf b/app-crypt/heimdal/files/krb5.conf
new file mode 100644 (file)
index 0000000..906eb4d
--- /dev/null
@@ -0,0 +1,27 @@
+[libdefaults]
+        default_realm = MY.REALM
+#      clockskew = 300
+#      v4_instance_resolve = false
+#      v4_name_convert = {
+#              host = {
+#                      rcmd = host
+#                      ftp = ftp
+#              }
+#              plain = {
+#                      something = something-else
+#              }
+#      }
+       
+[realms]
+       MY.REALM = {
+               kdc = MY.COMPUTER
+       }
+#      OTHER.REALM = {
+#              v4_instance_convert = {
+#                      kerberos = kerberos
+#                      computer = computer.some.other.domain
+#              }
+#      }
+
+[domain_realm]
+       .my.domain = MY.REALM
diff --git a/app-crypt/heimdal/heimdal-1.3.2.ebuild b/app-crypt/heimdal/heimdal-1.3.2.ebuild
new file mode 100644 (file)
index 0000000..213662f
--- /dev/null
@@ -0,0 +1,103 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.3.2.ebuild,v 1.1 2010/05/09 03:50:51 darkside Exp $
+
+EAPI=2
+VIRTUALX_REQUIRED="manual"
+
+inherit autotools libtool eutils virtualx toolchain-funcs
+
+PATCHVER=0.2
+PATCH_P=${PN}-gentoo-patches-${PATCHVER}
+RESTRICT="test"
+
+DESCRIPTION="Kerberos 5 implementation from KTH"
+HOMEPAGE="http://www.h5l.org/"
+SRC_URI="http://www.h5l.org/dist/src/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh
+~sparc ~x86"
+IUSE="afs +berkdb hdb-ldap ipv6 otp pkinit ssl test threads X"
+
+RDEPEND="ssl? ( dev-libs/openssl )
+       berkdb? ( sys-libs/db )
+       !berkdb? ( sys-libs/gdbm )
+       >=dev-db/sqlite-3.5.7
+       >=sys-libs/e2fsprogs-libs-1.41.11
+       afs? ( net-fs/openafs )
+       hdb-ldap? ( >=net-nds/openldap-2.3.0 )
+       !virtual/krb5"
+
+DEPEND="${RDEPEND}
+       dev-util/pkgconfig
+       >=sys-devel/autoconf-2.62
+       test? ( X? ( ${VIRTUALX_DEPEND} ) )"
+
+PROVIDE="virtual/krb5"
+
+GENTOODIR=${WORKDIR}/gentoo
+
+src_prepare() {
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               --enable-kcm \
+               --disable-osfc2 \
+               --enable-shared \
+               --with-libintl=/usr \
+               --with-readline=/usr \
+               --with-sqlite3=/usr \
+               --libexecdir=/usr/sbin \
+               $(use_enable afs afs-support) \
+               $(use_enable berkdb berkeley-db) \
+               $(use_enable otp) \
+               $(use_enable pkinit kx509) \
+               $(use_enable pkinit pk-init) \
+               $(use_enable threads pthread-support) \
+               $(use_with hdb-ldap openldap /usr) \
+               $(use_with ipv6) \
+               $(use_with ssl openssl /usr) \
+               $(use_with X x)
+}
+
+src_install() {
+       INSTALL_CATPAGES="no" emake DESTDIR="${D}" install || die "emake install failed"
+
+       dodoc ChangeLog README NEWS TODO
+
+       # Begin client rename and install
+       for i in {telnetd,ftpd,rshd,popper}
+       do
+               mv "${D}"/usr/share/man/man8/{,k}${i}.8
+               mv "${D}"/usr/sbin/{,k}${i}
+       done
+
+       for i in {rcp,rsh,telnet,ftp,su,login,pagsh,kf}
+       do
+               mv "${D}"/usr/share/man/man1/{,k}${i}.1
+               mv "${D}"/usr/bin/{,k}${i}
+       done
+
+       mv "${D}"/usr/share/man/man5/{,k}ftpusers.5
+       mv "${D}"/usr/share/man/man5/{,k}login.access.5
+
+       newinitd "${FILESDIR}"/heimdal-kdc.initd heimdal-kdc
+       newinitd "${FILESDIR}"/heimdal-kadmind.initd heimdal-kadmind
+       newinitd "${FILESDIR}"/heimdal-kpasswdd.initd heimdal-kpasswdd
+       newinitd "${FILESDIR}"/heimdal-kcm.initd heimdal-kcm
+
+       insinto /etc
+       newins "${FILESDIR}"/krb5.conf krb5.conf.example
+
+       if use hdb-ldap; then
+               insinto /etc/openldap/schema
+               newins "${S}"/lib/hdb/hdb.schema "${S}"/lib/hdb/krb5-kdc.schema
+       fi
+
+       # default database dir
+       keepdir /var/heimdal
+}