diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/diradm |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/diradm')
-rw-r--r-- | app-admin/diradm/Manifest | 5 | ||||
-rw-r--r-- | app-admin/diradm/diradm-2.9.7.1.ebuild | 75 | ||||
-rw-r--r-- | app-admin/diradm/metadata.xml | 12 |
3 files changed, 92 insertions, 0 deletions
diff --git a/app-admin/diradm/Manifest b/app-admin/diradm/Manifest new file mode 100644 index 000000000000..16d38f4216f5 --- /dev/null +++ b/app-admin/diradm/Manifest @@ -0,0 +1,5 @@ +DIST diradm-2.9.7.1.tar.bz2 126172 SHA256 0a10f8b8b872a1f985c1f73da0109e8ba5ebde09ccb4760b56e67d4a1b88f2bf SHA512 5052f7b7072cd61eb9c70d23057f6c0d2fa68a151792d7260ca52716c9588c06234d335af84b967df23da4b4a8650502cab3b18900dc15e71f71b0888224993f WHIRLPOOL 31c2b6eaa913aa0a273652958233e0ace3b309063448add6b446a41e48903b984810f0ce668b27efbbca8c558a20a379692a3d7d3997d8481d0dbfe19827adee +EBUILD diradm-2.9.7.1.ebuild 2059 SHA256 175a10fcc242a7dc347fb3d18e49d5aa548bbc6982e2a3c654494eacd78fa996 SHA512 ba5875849b9297f0a07cae5a2511b5907763f2d6b9dc922224bfc4576d4f0dfbd151e7fc984f05460e1f36c0af91da46a27a11c4da2447620044eb448da2b287 WHIRLPOOL 98bb5aa6c287a6ded8eeef3389d8072d8a5f27c0b88cadbc4172c07b386cd95be517e12924d15d138adb184ca5e7cec4230fb4a4676e1847aaedb27a27921583 +MISC ChangeLog 2571 SHA256 57be63be51c2170db972b40dfd5ac19913e38b6df6dbfadfd88e9b602178f852 SHA512 2a46476b0746837bdcc2768a55d0f1ebd9b0fe5e0bd97000d2d1db55c33b7bb869a8ba71c247a118694e218b2aeda34169fa588fb84898cc11b0e02a5f923a5a WHIRLPOOL 39736b62af3027ea179899aff2371f81af8aca861d8b09420fd16eac5f6969cbd469390e35d51d66127f078914ab513bdf9cffbc444a87393d7c3c93c3e42c77 +MISC ChangeLog-2015 7535 SHA256 34044284c11e3e4aa9a39a3cc64214fe2497fe8ebce3385b1c824464319de3c0 SHA512 60433cb3dfde17720c978b32b1e2aa198b4b66e8214c8d5aa5ce2b5e2a440687e0789e505bdd06531e8caf402ff675569d613fa83c9f47352e4ab6e090d342b7 WHIRLPOOL 87cead42d337403e19ff9c2e9c2b77b22ce49e051acbeb2bb957f04644b841bbddb62bbf05b001f91ef151979eefb54b73f349a7f947285a259e33632803ac2b +MISC metadata.xml 427 SHA256 74f539080d344da7f90db5c0c21d90d57885c700926ec399d88762a51355fec2 SHA512 e870567a2c1855cd2cbb9d2982ec967c34f78ef0b5d9c32570c2f13b1c8275b77626e9467a95b632db5ef459b1c706451e8f64440629f76ec56fb423b7a2b2a4 WHIRLPOOL 21af92d92cf81cee65b1c9b4e413c0cbc51b5905f74b2f1de50050fcd00b6c5c66d9e9973c1bc14dc9c9aee972fcea045bde0bf64af0bc237669fa1588eb2ac9 diff --git a/app-admin/diradm/diradm-2.9.7.1.ebuild b/app-admin/diradm/diradm-2.9.7.1.ebuild new file mode 100644 index 000000000000..40dd1892dcc6 --- /dev/null +++ b/app-admin/diradm/diradm-2.9.7.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit eutils + +DESCRIPTION="A nearly complete nss/shadow suite for managing POSIX users/groups/data in LDAP" +#HOMEPAGE="http://research.iat.sfu.ca/custom-software/diradm/" +#SRC_URI="${HOMEPAGE}/${P}.tar.bz2" +HOMEPAGE="http://orbis-terrarum.net/~robbat2/" +SRC_URI="http://orbis-terrarum.net/~robbat2/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="samba irixpasswd automount test" +RDEPEND=">=net-nds/openldap-2.3 + sys-apps/gawk + sys-apps/coreutils + sys-apps/grep + dev-lang/perl + app-shells/bash + sys-apps/sed + virtual/perl-MIME-Base64 + samba? ( + dev-perl/Crypt-SmbHash + >=net-fs/samba-3.0.6 + )" +DEPEND=" + ${RDEPEND} + test? ( + dev-perl/Crypt-SmbHash + >=net-fs/samba-3.0.6 + dev-util/dejagnu + net-nds/openldap[-minimal] + )" + +pkg_setup() { + use test && elog "Warning, for test usage, diradm is built with all optional features!" +} + +src_configure() { + local myconf + if use test; then + myconf="--enable-samba --enable-automount --enable-irixpasswd" + else + myconf="`use_enable samba` `use_enable automount` `use_enable irixpasswd`" + fi + econf ${myconf} || die "econf failed" +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + dodoc CHANGES* README AUTHORS ChangeLog NEWS README.prefork \ + THANKS TODO KNOWN-BUGS || die + if use irixpasswd; then + insinto /etc/openldap/schema + doins irixpassword.schema || die "Failed irixpassword.schema" + fi +} + +pkg_postinst() { + elog "The new diradm pulls many settings from your LDAP configuration." + elog "But don't forget to customize /etc/diradm.conf for other settings." + elog "Please see the README to instructions if you problems." + elog "This package is primarily intended for use with nss_ldap & pam_ldap" + elog "and populates many default settings from the /etc/ldap.conf used by" + elog "those packages, with a further fallback to /etc/openldap/ldap.conf" + elog "for server connection settings only." +} + +src_test() { + emake -j1 check +} diff --git a/app-admin/diradm/metadata.xml b/app-admin/diradm/metadata.xml new file mode 100644 index 000000000000..c8b2751e5fe0 --- /dev/null +++ b/app-admin/diradm/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>robbat2@gentoo.org</email> + <name>Robin H. Johnson</name> + </maintainer> + <use> + <flag name="automount">Support for automount data in LDAP</flag> + <flag name="irixpasswd">Support for storing separate IRIX passwords</flag> + </use> +</pkgmetadata> |