summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2012-03-15 15:01:21 +0000
committerEray Aslan <eras@gentoo.org>2012-03-15 15:01:21 +0000
commit71ab35434ba7580f1199d97cfec07b5c28294bc2 (patch)
treeca2f16683e1214451c89c1e0382cc800f1cf8d88 /app-crypt/shishi
parentFor 3.2.4-r1, fall back to the theme in /etc/gtk-3.0/settings.ini if the them... (diff)
downloadhistorical-71ab35434ba7580f1199d97cfec07b5c28294bc2.tar.gz
historical-71ab35434ba7580f1199d97cfec07b5c28294bc2.tar.bz2
historical-71ab35434ba7580f1199d97cfec07b5c28294bc2.zip
Initial import - bug #255461. Based on ebuild by AD Rutledge
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'app-crypt/shishi')
-rw-r--r--app-crypt/shishi/ChangeLog11
-rw-r--r--app-crypt/shishi/Manifest27
-rw-r--r--app-crypt/shishi/files/shishi_resolv.patch31
-rw-r--r--app-crypt/shishi/files/shishid.confd6
-rw-r--r--app-crypt/shishi/files/shishid.init25
-rw-r--r--app-crypt/shishi/metadata.xml15
-rw-r--r--app-crypt/shishi/shishi-1.0.1.ebuild76
7 files changed, 191 insertions, 0 deletions
diff --git a/app-crypt/shishi/ChangeLog b/app-crypt/shishi/ChangeLog
new file mode 100644
index 000000000000..a3be55229fe9
--- /dev/null
+++ b/app-crypt/shishi/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-crypt/shishi
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/shishi/ChangeLog,v 1.1 2012/03/15 15:01:21 eras Exp $
+
+*shishi-1.0.1 (15 Mar 2012)
+
+ 15 Mar 2012; Eray Aslan <eras@gentoo.org> +shishi-1.0.1.ebuild,
+ +files/shishi_resolv.patch, +files/shishid.confd, +files/shishid.init,
+ +metadata.xml:
+ Initial import - bug #255461. Based on ebuild by AD Rutledge
+
diff --git a/app-crypt/shishi/Manifest b/app-crypt/shishi/Manifest
new file mode 100644
index 000000000000..692bc342fbdd
--- /dev/null
+++ b/app-crypt/shishi/Manifest
@@ -0,0 +1,27 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX shishi_resolv.patch 897 RMD160 61ec19e82d6fc31fc76dd2a0657c38acaa048b58 SHA1 a316447c5129039c215e55244434aaad8d9044c5 SHA256 231af9a2eddf7358551bfc48063824121e99a37c46332c70ddfd45fc0f0d887f
+AUX shishid.confd 133 RMD160 3afc24e1493db1dd90672b871792fd29aac90ec3 SHA1 2711c93d6e39445044dc862ff4bb305c6e28c580 SHA256 7280cdf9d4cdcb1be8298727c29630a04e62fb4b1c1f1c0d1528e1389b81408d
+AUX shishid.init 672 RMD160 ed727637ea0d50bb7ab5c342827ccfda037a5186 SHA1 4994067f48ddf34cdf10f5500eca5809e1447a95 SHA256 c934b3a4e521e0e6609a320875da2b960250eb28ed01f690becdfdee4db5fe39
+DIST shishi-1.0.1.tar.gz 4999488 RMD160 818a57b081606aba669807855d2aee038b0a3b00 SHA1 0e914dbcc27516702acd668929b29c42f850daf5 SHA256 9d7e4738df21116422585b347ad1c985d2bafd32c8665b4c5563617573e2868d
+EBUILD shishi-1.0.1.ebuild 2034 RMD160 312b4f609ee0fad4e186b3dd0d7bf74618999cf1 SHA1 bb0538ca2878a328f1d0ca73cdfcf20342b35c47 SHA256 9a4cc04c55ce372a3b39058d843fe68f186241c53950458aa31e65fad1e3bf69
+MISC ChangeLog 452 RMD160 060618067810462f107f3de47e5b26d38489132d SHA1 b33956fbd51c5223ceacba334c7bea7c754b1e90 SHA256 403699638c780c9856321048193a62b7a22279d7e242bc226b3de6e62d524403
+MISC metadata.xml 703 RMD160 9931edcb395928d5383cb999dc39b34f585664e9 SHA1 852bb31b01f0268b43308bf0f48bc05b378b6c11 SHA256 94e7555ed79d1dcd1263c42f96b3396d96bee92486044c50d6104c646366c1f0
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iQIcBAEBCAAGBQJPYgRQAAoJEHfx8XVYajsfj9QP+wWBtsbRGOUHHUahvO9oiPze
+MS1j3B8iXFKabI4xDx1Lu8DAy+bMr2iIZ9iT0zfio3jtaZyLnvzqb1lI2ymlFA3N
+ABrOX0ylBcDMMlL0DYnIBjVire7kAEFiUEa7rT53+FTUZUz1JfZ3LK/yAhlu9wfq
+nK03kf/QQIFE5kGjIfXOLkcScgxir8jwrCqDzqdYWQMezfLPJo+FL5r94w/+f6Zn
+3p3kgqG29wNsUh23WMGMcuSGMIkyIEAW56L892LKQ5Qqriv3RvaUHRW6/tMrQ70i
+4bmC9vqP88xmMuME56ct8IxmJlU7YPWiEwDeOub9uBRP1mOHbOgNy38xaLTbgqEb
+GYcRv9LX6Q6Qxj9DuT/BiJPeiUbGX6QuTC0dmb/mSWOqschqFqkiU8b9TamuNlLB
+mamAHPc3RHAVrp7TiRtRdfgsI4CzZMDacfE9QOOxA/si90A0GgT9ux5dMjWw83kS
+DS0dMZW9/7cfCXnP2LY9xz3HVYl/gumHf3g0OjchUopR1TMAheGY0t+SKZhnewX0
+yg3FObGWUYKOTHCJDDwaFpFOuk3cUeV3kPTlQQGMytWgM0A8S9ECUfpE1tdG3Sja
+1LTLoQOoNrwVmgaKCdNr4Gx5MiZ+BuRpH8vVk+bhqFmXUfpuYfz2NGuikimpkjl9
+4WSE3AgqtBjNBkIYeMUh
+=e4r3
+-----END PGP SIGNATURE-----
diff --git a/app-crypt/shishi/files/shishi_resolv.patch b/app-crypt/shishi/files/shishi_resolv.patch
new file mode 100644
index 000000000000..6eb6beaa92ff
--- /dev/null
+++ b/app-crypt/shishi/files/shishi_resolv.patch
@@ -0,0 +1,31 @@
+--- configure.ac 2012-03-12 20:18:21.000000000 +0200
++++ configure.ac 2012-03-14 22:03:15.854332138 +0200
+@@ -82,7 +82,27 @@
+
+ # Checks for library functions.
+ AC_CHECK_FUNCS(signal select ngettext gethostbyname getpwnam getuid)
+-AC_CHECK_LIB(resolv, res_query,, AC_MSG_WARN([[no libresolv, SRV RRs not used]]))
++
++# libresolv provides only __res_query on some architectures
++# so we cannot just use AC_CHECK_LIB
++_save_LIBS="$LIBS"
++LIBS="$LIBS -lresolv"
++AC_MSG_CHECKING(for res_query in -lresolv)
++AC_LINK_IFELSE([
++#include <resolv.h>
++int main()
++{
++ res_query (0, 0, 0, 0, 0);
++ return 0;
++}],
++[_res_query_in_resolv=yes],
++[_res_query_in_resolv=no])
++AC_MSG_RESULT([$_res_query_in_resolv])
++if test "x$_res_query_in_resolv" = "xno"; then
++ LIBS="$_save_LIBS"
++ AC_MSG_WARN([[no libresolv, SRV RRs not used]])
++fi
++
+ AC_SEARCH_LIBS(socket, socket)
+ AC_SEARCH_LIBS(gethostbyname, nsl)
+
diff --git a/app-crypt/shishi/files/shishid.confd b/app-crypt/shishi/files/shishid.confd
new file mode 100644
index 000000000000..9f0c2dad9841
--- /dev/null
+++ b/app-crypt/shishi/files/shishid.confd
@@ -0,0 +1,6 @@
+# /etc/conf.d/shishid
+
+# Options to pass to the Shishi KDC server. Please see shishid man page for details.
+#
+# OPTIONS="--no-tls"
+
diff --git a/app-crypt/shishi/files/shishid.init b/app-crypt/shishi/files/shishid.init
new file mode 100644
index 000000000000..22751e48ab26
--- /dev/null
+++ b/app-crypt/shishi/files/shishid.init
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/shishi/files/shishid.init,v 1.1 2012/03/15 15:01:21 eras Exp $
+
+daemon="Shishi KDC"
+exec="/usr/sbin/shishid"
+pid_file="/var/run/shishid.pid"
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting ${daemon}"
+ start-stop-daemon --start --quiet --background -m --pidfile ${pid_file} \
+ --exec ${exec} -- ${OPTIONS} 1>&2
+ eend $? "Error starting $daemon"
+}
+
+stop() {
+ ebegin "Stopping $daemon"
+ start-stop-daemon --stop --quiet --pidfile ${pid_file} --exec ${exec} 1>&2
+ eend $? "Error stopping $daemon"
+}
diff --git a/app-crypt/shishi/metadata.xml b/app-crypt/shishi/metadata.xml
new file mode 100644
index 000000000000..19b20b8987c3
--- /dev/null
+++ b/app-crypt/shishi/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kerberos</herd>
+<longdescription lang="en">GNU Shishi, a free implementation of the Kerberos 5 network security system</longdescription>
+<use>
+ <flag name="des">Enable DES related encryption/checksum types.</flag>
+ <flag name="3des">Enable 3DES encryption/checksum type.</flag>
+ <flag name="aes">Enable AES encryption/checksum types.</flag>
+ <flag name="md">Enable unkeyed MD4/MD5 checksum types.</flag>
+ <flag name="null">Enable dummy NULL encryption/checksum type.</flag>
+ <flag name="arcfour">Enable ARCFOUR encryption/checksum type.</flag>
+</use>
+</pkgmetadata>
+
diff --git a/app-crypt/shishi/shishi-1.0.1.ebuild b/app-crypt/shishi/shishi-1.0.1.ebuild
new file mode 100644
index 000000000000..1ec64d196fd4
--- /dev/null
+++ b/app-crypt/shishi/shishi-1.0.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/shishi/shishi-1.0.1.ebuild,v 1.1 2012/03/15 15:01:21 eras Exp $
+
+DESCRIPTION="A free implementation of the Kerberos 5 network security system"
+HOMEPAGE="https://www.gnu.org/software/shishi/"
+SRC_URI="http://ftp.gnu.org/gnu/shishi/${P}.tar.gz"
+EAPI=4
+inherit multilib autotools eutils
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gnutls idn ipv6 nls pam +des +3des +aes +md +null +arcfour static-libs"
+
+DEPEND="gnutls? ( net-libs/gnutls )
+ idn? ( net-dns/libidn )
+ dev-libs/libtasn1
+ dev-libs/libgcrypt
+ dev-libs/libgpg-error
+ virtual/libiconv
+ virtual/libintl"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # fix finding libresolv.so
+ epatch "${FILESDIR}/${PN}_resolv.patch"
+
+ # don't create a new database
+ sed -i -e '/install-data-hook/s/^/#/' Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable pam) \
+ $(use_enable nls) \
+ $(use_enable ipv6) \
+ $(use_with idn libidn-prefix) \
+ $(use_enable gnutls starttls) \
+ $(use_enable des) \
+ $(use_enable 3des) \
+ $(use_enable aes) \
+ $(use_enable md) \
+ $(use_enable null) \
+ $(use_enable arcfour) \
+ $(use_enable static-libs static) \
+ --with-system-asn1 \
+ --with-libgcrypt \
+ --with-html-dir=/usr/share/doc/${P} \
+ --with-db-dir=/var/shishi \
+ --with-pam-dir=/$(get_libdir)/security \
+ --disable-rpath \
+ --with-packager="Gentoo" \
+ --with-packager-bug-reports="https://bugs.gentoo.org/"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ keepdir /var/shishi
+ fperms 0700 /var/shishi
+ echo "db file /var/shishi" >> "${D}/etc/shishi/shisa.conf" || die
+
+ newinitd "${FILESDIR}/shishid.init" shishid
+ newconfd "${FILESDIR}/shishid.confd" shishid
+
+ dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS
+ doman doc/man/* doc/*.1
+ dohtml doc/reference/html/*
+ doinfo doc/*.info*
+
+ rm -f "${D}/$(get_libdir)/security/pam_shishi.la"
+ use static-libs || find "${D}"/usr/lib* -name '*.la' -delete
+}