Diff smbldap-tools-0.9.10-r1 with a smbldap-tools-0.9.11-r1

/usr/portage/net-nds/smbldap-tools/smbldap-tools-0.9.11-r1.ebuild 2023-10-09 14:52:34.724368482 +0300
1 1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5

  
6
inherit autotools
5 7

  
6 8
DESCRIPTION="Samba LDAP management tools"
7
HOMEPAGE="https://gna.org/projects/smbldap-tools/"
8
SRC_URI="http://download.gna.org/smbldap-tools/sources/${PV}/${P}.tar.gz"
9
HOMEPAGE="https://github.com/fumiyas/smbldap-tools"
10
SRC_URI="https://github.com/fumiyas/smbldap-tools/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
9 11

  
10 12
LICENSE="GPL-2"
11 13
SLOT="0"
12
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ppc64 sparc x86"
14
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
13 15

  
14 16
RDEPEND="
15 17
	dev-perl/perl-ldap
16 18
	dev-perl/Crypt-SmbHash
17 19
	dev-perl/Digest-SHA1
18 20
	dev-perl/Unicode-MapUTF8
19
	dev-perl/IO-Socket-SSL
20
	net-nds/openldap
21
	net-fs/samba"
22
DEPEND="${RDEPEND}"
21
	dev-perl/IO-Socket-SSL"
23 22

  
24
PATCHES=( "${FILESDIR}"/${P}-smbldap-config-pod.patch )
23
src_prepare() {
24
	default
25
	eautoreconf
26
	# Command from build/autogen.sh
27
	sed -n \
28
		-e "s/^/ /;s/$/ /;s/'/ ' /" \
29
		-e "/^ ac_subst_vars=/,/'/s/^.* \([A-Za-z_][A-Za-z0-9_]*\) .*/\1=@\1@/p" \
30
		configure > build/subst.vars.in || die
31
}
25 32

  
26 33
src_install() {
27 34
	default
......
42 49
}
43 50

  
44 51
pkg_postinst() {
45
	elog "- A good howto is found on http://download.gna.org/smbldap-tools/docs/samba-ldap-howto/"
46
	elog "  and http://download.gna.org/smbldap-tools/docs/smbldap-tools/"
47 52
	elog "- The configure script is installed as smbldap-configure.pl. Please run it to configure the tools."
48 53
	elog "- Examples configuration files for Samba and slapd have been copied to ${EPREFIX}/usr/share/doc/${PF},"
49 54
	elog "  together with the migration-scripts."
Thank you!