public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/smbldap-tools/
Date: Sat, 23 Jul 2022 12:50:25 +0000 (UTC)	[thread overview]
Message-ID: <1658580617.d840ce9bb5ad086dd35964e407da41dc0b875040.juippis@gentoo> (raw)

commit:     d840ce9bb5ad086dd35964e407da41dc0b875040
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Mon Jul 11 17:15:10 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Jul 23 12:50:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d840ce9b

net-nds/smbldap-tools: add 0.9.11

Closes: https://bugs.gentoo.org/699768
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26350
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-nds/smbldap-tools/Manifest                    |  1 +
 net-nds/smbldap-tools/metadata.xml                |  3 ++
 net-nds/smbldap-tools/smbldap-tools-0.9.11.ebuild | 59 +++++++++++++++++++++++
 3 files changed, 63 insertions(+)

diff --git a/net-nds/smbldap-tools/Manifest b/net-nds/smbldap-tools/Manifest
index 6fe4bc4f6878..8ab4f6f78f6d 100644
--- a/net-nds/smbldap-tools/Manifest
+++ b/net-nds/smbldap-tools/Manifest
@@ -1 +1,2 @@
 DIST smbldap-tools-0.9.10.tar.gz 336840 BLAKE2B 8df7cf34d1fedb54ece3f5c018b7bf03a1b0f0ca8813980eaa21d338113fe30535d7627c0d61b8d30c331e20ebb81449ae4a0ddcdfd4a93cb028f2c376a2ce76 SHA512 e1aef98d91ec722427b27f3aed25d8ef4cd4a6c845f98935e2f99075dea93275fc0335760d517398be8ca7898084bfee457ada0a718b66226e6ce3f38fdf2b2e
+DIST smbldap-tools-0.9.11.tar.gz 309879 BLAKE2B 8cec1ba808e146dd3ee8f087038ed50663b41b51b593a5b7857f88401c8aa6b83800d492e1805ce7755ca20595c73cd8c560bea75bb2a92331ddbd57878f9db5 SHA512 a41bd4c5b7b9d9ed09419b69a6124351cd92ea01d3b7142a97db8179120cd2de561ebb7fb7b1190966fb53339ce0df1d7bfedf3f3db871c32deeb1c621fe62fe

diff --git a/net-nds/smbldap-tools/metadata.xml b/net-nds/smbldap-tools/metadata.xml
index 09a9748a01cd..a11ec9dccf64 100644
--- a/net-nds/smbldap-tools/metadata.xml
+++ b/net-nds/smbldap-tools/metadata.xml
@@ -5,4 +5,7 @@
 		<email>samba@gentoo.org</email>
 		<name>Samba</name>
 	</maintainer>
+	<upstream>
+		<remote-id type="github">fumiyas/smbldap-tools</remote-id>
+	</upstream>
 </pkgmetadata>

diff --git a/net-nds/smbldap-tools/smbldap-tools-0.9.11.ebuild b/net-nds/smbldap-tools/smbldap-tools-0.9.11.ebuild
new file mode 100644
index 000000000000..5f4a4c0ebd2c
--- /dev/null
+++ b/net-nds/smbldap-tools/smbldap-tools-0.9.11.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Samba LDAP management tools"
+HOMEPAGE="https://github.com/fumiyas/smbldap-tools"
+SRC_URI="https://github.com/fumiyas/smbldap-tools/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="
+	dev-perl/perl-ldap
+	dev-perl/Crypt-SmbHash
+	dev-perl/Digest-SHA1
+	dev-perl/Unicode-MapUTF8
+	dev-perl/IO-Socket-SSL
+	net-nds/openldap
+	net-fs/samba"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	default
+	eautoreconf
+	# Command from build/autogen.sh
+	sed -n \
+		-e "s/^/ /;s/$/ /;s/'/ ' /" \
+		-e "/^ ac_subst_vars=/,/'/s/^.* \([A-Za-z_][A-Za-z0-9_]*\) .*/\1=@\1@/p" \
+		configure > build/subst.vars.in || die
+}
+
+src_install() {
+	default
+
+	newsbin smbldap-config.cmd smbldap-config
+	dosym smbldap-passwd /usr/sbin/smbldap-passwd.cmd
+
+	dodoc CONTRIBUTORS ChangeLog FILES INFRA INSTALL README TODO doc/*conf* doc/smbldap-tools*
+	dodoc -r doc/migration_scripts
+
+	sed -i 's/.CMD//g' smbldap-[gpu]*.8 || die
+	doman smbldap-[gpu]*.8
+
+	insinto /etc/smbldap-tools
+	doins smbldap.conf smbldap_bind.conf
+
+	elog "Remember to read INSTALL when updating."
+}
+
+pkg_postinst() {
+	elog "- The configure script is installed as smbldap-configure.pl. Please run it to configure the tools."
+	elog "- Examples configuration files for Samba and slapd have been copied to ${EPREFIX}/usr/share/doc/${PF},"
+	elog "  together with the migration-scripts."
+	elog "- Also remember to read INSTALL when updating."
+}


             reply	other threads:[~2022-07-23 12:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-23 12:50 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-25 12:04 [gentoo-commits] repo/gentoo:master commit in: net-nds/smbldap-tools/ Andreas K. Hüttel
2022-07-29 18:57 Ben Kohler
2022-07-23 12:50 Joonas Niilola
2022-04-24  1:18 Sam James
2020-11-03  9:57 Lars Wendler
2020-11-03  9:30 Sergei Trofimovich
2020-10-28  4:10 Sam James
2020-10-26 23:51 Sergei Trofimovich
2020-10-26 23:47 Sergei Trofimovich
2020-10-26  2:51 Sam James
2020-10-25 23:08 Thomas Deutschmann
2020-10-24 16:02 David Seifert
2020-10-24 16:02 David Seifert
2019-11-17  2:28 Aaron Bauman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1658580617.d840ce9bb5ad086dd35964e407da41dc0b875040.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox