summaryrefslogtreecommitdiff
path: root/net-nds/ldapvi
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /net-nds/ldapvi
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'net-nds/ldapvi')
-rw-r--r--net-nds/ldapvi/Manifest1
-rw-r--r--net-nds/ldapvi/files/ldapvi-1.7-fix-implicit-function-declarations.patch86
-rw-r--r--net-nds/ldapvi/files/ldapvi-1.7-fix-missing-on_exit-musl.patch61
-rw-r--r--net-nds/ldapvi/files/ldapvi-1.7-posix-unlocked.patch23
-rw-r--r--net-nds/ldapvi/ldapvi-1.7_p20101214-r7.ebuild63
-rw-r--r--net-nds/ldapvi/metadata.xml8
6 files changed, 0 insertions, 242 deletions
diff --git a/net-nds/ldapvi/Manifest b/net-nds/ldapvi/Manifest
deleted file mode 100644
index 01a179e7e04b..000000000000
--- a/net-nds/ldapvi/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ldapvi-1.7_p20101214.tar.bz2 1490491 BLAKE2B 21bb7b6113e89ce848e7a8efcec063dbfe9c32331c1125456a96dc6edc4e09d17245307a041a7d7804fac20bcce5b38677d719fb53d993fb874134bbd4d4df19 SHA512 2d2a744a36364793f406f37ecf6e546914d697457dec37b81544f4979f4c692756b2a1c3ea6fcbaba5e3238b2bf758ab3e0bd9a9a0794c4da734d65286bd5925
diff --git a/net-nds/ldapvi/files/ldapvi-1.7-fix-implicit-function-declarations.patch b/net-nds/ldapvi/files/ldapvi-1.7-fix-implicit-function-declarations.patch
deleted file mode 100644
index f78bc8c8c199..000000000000
--- a/net-nds/ldapvi/files/ldapvi-1.7-fix-implicit-function-declarations.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-Date: Sun, 11 Dec 2022 19:05:47 +0100
-Subject: [PATCH] fix implicit function declarations
-
-Clang16 will not allow implicit function declarations by default.
-This patch add the declarations to make this package build with
-Clang16 defaults.
-
-Also patches some -Wreturn-type while at it.
-
-Bug: https://bugs.gentoo.org/882229
-Bug: https://bugs.gentoo.org/740852
-Patch has been sent upstream via mail.
-
-Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
---- a/common.h
-+++ b/common.h
-@@ -370,3 +370,5 @@ void finish_sasl_redirection(tsasl_defaults *);
- tsasl_defaults *sasl_defaults_new(bind_options *bind_options);
- void sasl_defaults_free(tsasl_defaults *sd);
- int ldapvi_sasl_interact(LDAP *ld, unsigned flags, void *defaults, void *p);
-+
-+void fdcp(int fdsrc, int fddst);
---- a/diff.c
-+++ b/diff.c
-@@ -18,6 +18,7 @@
- #include "common.h"
- #include "config.h"
-
-+char ldap_bv2dn_x (struct berval *bv, LDAPDN *dn, unsigned flags);
- typedef void (*note_function)(void *, void *, void *);
-
- static void
---- a/parse.c
-+++ b/parse.c
-@@ -17,6 +17,7 @@
- */
- #define _XOPEN_SOURCE
- #include <unistd.h>
-+#include <crypt.h>
- #include "common.h"
-
- #define fast_g_string_append_c(gstring, c) \
---- a/error.c
-+++ b/error.c
-@@ -14,6 +14,9 @@
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-+
-+#define LDAP_DEPRECATED 1
-+
- #include <dirent.h>
- #include <errno.h>
- #include <fcntl.h>
---- a/port.c
-+++ b/port.c
-@@ -35,6 +35,7 @@
- #if defined(HAVE_OPENSSL)
- #include <openssl/sha.h>
- #include <openssl/md5.h>
-+#include <openssl/rand.h>
- #elif defined(HAVE_GNUTLS)
- #include <gnutls/gnutls.h>
- #include <gnutls/openssl.h>
---- a/ldapvi.c
-+++ b/ldapvi.c
-@@ -1470,7 +1470,7 @@ copy_sasl_output(FILE *out, char *sasl)
- int line = 0;
- int c;
-
-- if (lstat(sasl, &st) == -1) return;
-+ if (lstat(sasl, &st) == -1) return -1;
- if ( !(in = fopen(sasl, "r"))) syserr();
-
- if (st.st_size > 0) {
---- a/misc.c
-+++ b/misc.c
-@@ -585,7 +585,7 @@ dialog_rebuild(char *up, char *clreos,
- putp(up);
- }
-
--static Keymap
-+static void
- set_meta_keymap(Keymap keymap, Keymap meta_keymap)
- {
- if (!meta_keymap)
diff --git a/net-nds/ldapvi/files/ldapvi-1.7-fix-missing-on_exit-musl.patch b/net-nds/ldapvi/files/ldapvi-1.7-fix-missing-on_exit-musl.patch
deleted file mode 100644
index b883e412d327..000000000000
--- a/net-nds/ldapvi/files/ldapvi-1.7-fix-missing-on_exit-musl.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-Use internal on_exit function as on_exit is not available on musl libc Bug: https://bugs.gentoo.org/898066
---- a/common.h
-+++ b/common.h
-@@ -372,3 +372,7 @@ void sasl_defaults_free(tsasl_defaults *sd);
- int ldapvi_sasl_interact(LDAP *ld, unsigned flags, void *defaults, void *p);
-
- void fdcp(int fdsrc, int fddst);
-+
-+#ifndef HAVE_ON_EXIT
-+int on_exit(void (*function)(int, void *), void *arg);
-+#endif
---- a/ldapvi.c
-+++ b/ldapvi.c
-@@ -17,6 +17,7 @@
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-+#include <stdio.h>
- #include <curses.h>
- #include <signal.h>
- #include <term.h>
---- a/misc.c
-+++ b/misc.c
-@@ -15,6 +15,7 @@
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-+#include <stdio.h>
- #include <curses.h>
- #include <term.h>
- #include "common.h"
---- a/parse.c
-+++ b/parse.c
-@@ -18,6 +18,7 @@
- #define _XOPEN_SOURCE
- #include <unistd.h>
- #include <crypt.h>
-+#include <stdio.h>
- #include "common.h"
-
- #define fast_g_string_append_c(gstring, c) \
---- a/parseldif.c
-+++ b/parseldif.c
-@@ -17,6 +17,7 @@
- */
- #define _XOPEN_SOURCE
- #include <unistd.h>
-+#include <stdio.h>
- #include "common.h"
-
- #define fast_g_string_append_c(gstring, c) \
---- a/port.c
-+++ b/port.c
-@@ -31,6 +31,7 @@
- #include <unistd.h>
-
- #include "config.h"
-+#include "common.h"
-
- #if defined(HAVE_OPENSSL)
- #include <openssl/sha.h>
diff --git a/net-nds/ldapvi/files/ldapvi-1.7-posix-unlocked.patch b/net-nds/ldapvi/files/ldapvi-1.7-posix-unlocked.patch
deleted file mode 100644
index 167a2ce95b2f..000000000000
--- a/net-nds/ldapvi/files/ldapvi-1.7-posix-unlocked.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-https://bugs.gentoo.org/885885
---- a/parse.c
-+++ b/parse.c
-@@ -15,7 +15,7 @@
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
--#define _XOPEN_SOURCE
-+#define _XOPEN_SOURCE 700
- #include <unistd.h>
- #include <crypt.h>
- #include <stdio.h>
---- a/parseldif.c
-+++ b/parseldif.c
-@@ -15,7 +15,7 @@
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
--#define _XOPEN_SOURCE
-+#define _XOPEN_SOURCE 700
- #include <unistd.h>
- #include <stdio.h>
- #include "common.h"
diff --git a/net-nds/ldapvi/ldapvi-1.7_p20101214-r7.ebuild b/net-nds/ldapvi/ldapvi-1.7_p20101214-r7.ebuild
deleted file mode 100644
index 6e7ffa9647b4..000000000000
--- a/net-nds/ldapvi/ldapvi-1.7_p20101214-r7.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="Manage LDAP entries with a text editor"
-HOMEPAGE="http://www.lichteblau.com/ldapvi/"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-S="${WORKDIR}"/${P}/${PN}
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc ~sparc x86"
-IUSE="gnutls sasl"
-
-RDEPEND="
- dev-libs/popt
- dev-libs/glib:2
- sys-libs/readline:=
- sys-libs/ncurses:=
- virtual/libcrypt:=
- gnutls? (
- net-libs/gnutls:=
- net-nds/openldap[gnutls]
- )
- !gnutls? (
- dev-libs/openssl:=
- net-nds/openldap[ssl]
- )
- sasl? ( dev-libs/cyrus-sasl:2[ssl] )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.7-fix-implicit-function-declarations.patch"
- "${FILESDIR}/${PN}-1.7-fix-missing-on_exit-musl.patch"
- "${FILESDIR}/${PN}-1.7-posix-unlocked.patch"
-)
-
-src_prepare() {
- default
-
- # bug #459478
- sed -i \
- -e '/^AC_SEARCH_LIBS/s:curses ncurses:curses ncurses tinfo:' \
- configure.in || die
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- --with-libcrypto=$(usex gnutls gnutls openssl)
-}
-
-src_install() {
- dobin ldapvi
- doman ldapvi.1
- dodoc NEWS manual/{bg.png,html.xsl,manual.{css,xml}}
-}
diff --git a/net-nds/ldapvi/metadata.xml b/net-nds/ldapvi/metadata.xml
deleted file mode 100644
index 8f21ff26d1bf..000000000000
--- a/net-nds/ldapvi/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
-<use>
- <flag name="gnutls">Use <pkg>net-libs/gnutls</pkg> instead of <pkg>dev-libs/openssl</pkg></flag>
-</use>
-</pkgmetadata>