net-nds/adtool: Remove last-rited pkg

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-01-19 14:47:45 +01:00
parent 129e968bc5
commit e69669cdb2
7 changed files with 0 additions and 91 deletions

View File

@@ -1 +0,0 @@
DIST adtool-1.3.3.tar.gz 334767 BLAKE2B 401f10df2708a2e2b7384354192337145739d4a8df2f0366171d0989836c9795263dba9d95d597d3e129b72bfcd53df2532c55a62d126e773bcf79cac909df52 SHA512 800a9fd19481b2c986991c27674e24b40bd6f4d58d7cbcf94532acb88f6c36de1f18d4165d6a2dcffd7d5baeac86aaf6f0ff1ef1b46d93ffc28b826b3d857251

View File

@@ -1,30 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools out-of-source
DESCRIPTION="Utility for Active Directory administration"
HOMEPAGE="http://gp2x.org/adtool/"
SRC_URI="http://gp2x.org/adtool/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
# Older OpenLDAP for bug #835649 (ldap_r)
RDEPEND="<net-nds/openldap-2.6:="
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-bfr-overflow.patch
"${FILESDIR}"/${P}-fno-common.patch
"${FILESDIR}"/${P}-automake.patch
)
src_prepare() {
default
mv configure.{in,ac} || die
eautoreconf
}

View File

@@ -1,9 +0,0 @@
--- a/src/tools/Makefile.am
+++ b/src/tools/Makefile.am
@@ -4,5 +4,5 @@
bin_PROGRAMS = adtool
-adtool_LDADD = @top_srcdir@/src/lib/libactive_directory.a -lldap -llber -lldap_r -lpthread -lresolv
+adtool_LDADD = @top_builddir@/src/lib/libactive_directory.a -lldap -llber -lldap_r -lpthread -lresolv

View File

@@ -1,18 +0,0 @@
src/lib/active_directory.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/active_directory.c b/src/lib/active_directory.c
index 1eacf5f..d4e1ca6 100644
--- a/src/lib/active_directory.c
+++ b/src/lib/active_directory.c
@@ -172,8 +172,8 @@ char *dn2domain(char *dn) {
exp_dn=ldap_explode_dn(dn, 0);
for(i=0; exp_dn[i]!=NULL; i++) {
if(!strncasecmp("dc=", exp_dn[i], 3)) {
- strncat(dc, exp_dn[i]+3, 1024);
- strncat(dc, ".", 1024);
+ strncat(dc, exp_dn[i]+3, 1024 - 1);
+ strncat(dc, ".", 1024 - 1);
}
}
ldap_value_free(exp_dn);

View File

@@ -1,19 +0,0 @@
--- a/src/lib/active_directory.h
+++ b/src/lib/active_directory.h
@@ -28,11 +28,11 @@
| if there is a problem reading the config file, or
| AD_SERVER_CONNECT_FAILURE if a connection can't be made.
*/
-char *system_config_file;
-char *uri;
-char *binddn;
-char *bindpw;
-char *search_base;
+extern char *system_config_file;
+extern char *uri;
+extern char *binddn;
+extern char *bindpw;
+extern char *search_base;
/* ad_get_error() returns a pointer to a string containing an
| explanation of the last error that occured.

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<longdescription>
adtool is a unix command line utility for Active Directory administration, through ldap repository management.
</longdescription>
</pkgmetadata>

View File

@@ -823,12 +823,6 @@ media-video/shrip
# Removal on 2023-01-15. Bug #839723.
net-firewall/nufw
# Michał Górny <mgorny@gentoo.org> (2022-12-16)
# Unmaintained. Broken with >=net-nds/openldap-2.6.
# Last release in 2009.
# Removal on 2023-01-15. Bug #835649.
net-nds/adtool
# Jaco Kroon <jaco@uls.co.za> (2022-12-14)
# Multiple open bugs (bug #870910, bug #877731, bug #884815), only one of which
# is trivial to solve.