Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/ldapvi/files/, net-nds/ldapvi/
Date: Wed, 09 May 2018 15:33:25
Message-Id: 1525879995.963eb89009a01bae4a873feb310d6d58998ef887.zlogene@gentoo
1 commit: 963eb89009a01bae4a873feb310d6d58998ef887
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 9 15:32:37 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Wed May 9 15:33:15 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=963eb890
7
8 net-nds/ldapvi: Drop old
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 net-nds/ldapvi/Manifest | 1 -
13 net-nds/ldapvi/files/ldapvi-1.7+glibc-2.10.patch | 39 ----------------------
14 net-nds/ldapvi/files/ldapvi-1.7-vim-encoding.patch | 13 --------
15 net-nds/ldapvi/ldapvi-1.7-r1.ebuild | 39 ----------------------
16 4 files changed, 92 deletions(-)
17
18 diff --git a/net-nds/ldapvi/Manifest b/net-nds/ldapvi/Manifest
19 index 7e0a71e91f2..01a179e7e04 100644
20 --- a/net-nds/ldapvi/Manifest
21 +++ b/net-nds/ldapvi/Manifest
22 @@ -1,2 +1 @@
23 -DIST ldapvi-1.7.tar.gz 119503 BLAKE2B a04c52d1d113e4d8afcda12e648cd89d71a6f247ff400bbc7c68597fa4046de58bb0611746df5fb6e9df31ac8a3ad94d1df431d46912185d37d63fa8d24392e3 SHA512 4b38cee0763aa33703afbd5e358a458b1468abf58e43ea885879b2117bc1c0bbc375d91c6a43467ec08035b8b3b7dd4b024f2937c37741c7a5513ea9192aed36
24 DIST ldapvi-1.7_p20101214.tar.bz2 1490491 BLAKE2B 21bb7b6113e89ce848e7a8efcec063dbfe9c32331c1125456a96dc6edc4e09d17245307a041a7d7804fac20bcce5b38677d719fb53d993fb874134bbd4d4df19 SHA512 2d2a744a36364793f406f37ecf6e546914d697457dec37b81544f4979f4c692756b2a1c3ea6fcbaba5e3238b2bf758ab3e0bd9a9a0794c4da734d65286bd5925
25
26 diff --git a/net-nds/ldapvi/files/ldapvi-1.7+glibc-2.10.patch b/net-nds/ldapvi/files/ldapvi-1.7+glibc-2.10.patch
27 deleted file mode 100644
28 index df2a20c7124..00000000000
29 --- a/net-nds/ldapvi/files/ldapvi-1.7+glibc-2.10.patch
30 +++ /dev/null
31 @@ -1,39 +0,0 @@
32 -Index: ldapvi-1.7/common.h
33 -===================================================================
34 ---- ldapvi-1.7.orig/common.h
35 -+++ ldapvi-1.7/common.h
36 -@@ -273,7 +273,7 @@ void pipeview_wait(int pid);
37 - char *home_filename(char *name);
38 - void read_ldapvi_history(void);
39 - void write_ldapvi_history(void);
40 --char *getline(char *prompt, char *value);
41 -+char *ldapvi_getline(char *prompt, char *value);
42 - char *get_password();
43 - char *append(char *a, char *b);
44 - void *xalloc(size_t size);
45 -Index: ldapvi-1.7/ldapvi.c
46 -===================================================================
47 ---- ldapvi-1.7.orig/ldapvi.c
48 -+++ ldapvi-1.7/ldapvi.c
49 -@@ -470,7 +470,7 @@ change_mechanism(bind_options *bo)
50 - bo->authmethod = LDAP_AUTH_SASL;
51 - puts("Switching to SASL authentication.");
52 - }
53 -- bo->sasl_mech = getline("SASL mechanism", bo->sasl_mech);
54 -+ bo->sasl_mech = ldapvi_getline("SASL mechanism", bo->sasl_mech);
55 - }
56 -
57 - static int
58 -Index: ldapvi-1.7/misc.c
59 -===================================================================
60 ---- ldapvi-1.7.orig/misc.c
61 -+++ ldapvi-1.7/misc.c
62 -@@ -315,7 +315,7 @@ write_ldapvi_history()
63 - }
64 -
65 - char *
66 --getline(char *prompt, char *value)
67 -+ldapvi_getline(char *prompt, char *value)
68 - {
69 - tdialog d;
70 - init_dialog(&d, DIALOG_DEFAULT, prompt, value);
71
72 diff --git a/net-nds/ldapvi/files/ldapvi-1.7-vim-encoding.patch b/net-nds/ldapvi/files/ldapvi-1.7-vim-encoding.patch
73 deleted file mode 100644
74 index d9431bed2de..00000000000
75 --- a/net-nds/ldapvi/files/ldapvi-1.7-vim-encoding.patch
76 +++ /dev/null
77 @@ -1,13 +0,0 @@
78 -From https://bugzilla.redhat.com/show_bug.cgi?id=691958
79 -
80 ---- ldapvi-1.7/ldapvi.c
81 -+++ ldapvi-1.7/ldapvi.c
82 -@@ -1414,7 +1414,7 @@ write_file_header(FILE *s, cmdline *cmdline)
83 - int nlines = 0;
84 -
85 - if (print_binary_mode == PRINT_UTF8 && !cmdline->ldif) {
86 -- fputs("# -*- coding: utf-8 -*- vim:encoding=utf-8:\n", s);
87 -+ fputs("# -*- coding: utf-8 -*- \n", s);
88 - nlines++;
89 - }
90 - if (cmdline->ldif) {
91
92 diff --git a/net-nds/ldapvi/ldapvi-1.7-r1.ebuild b/net-nds/ldapvi/ldapvi-1.7-r1.ebuild
93 deleted file mode 100644
94 index 0aebcb27665..00000000000
95 --- a/net-nds/ldapvi/ldapvi-1.7-r1.ebuild
96 +++ /dev/null
97 @@ -1,39 +0,0 @@
98 -# Copyright 1999-2012 Gentoo Foundation
99 -# Distributed under the terms of the GNU General Public License v2
100 -
101 -EAPI=2
102 -
103 -inherit eutils
104 -
105 -DESCRIPTION="Manage LDAP entries with a text editor"
106 -HOMEPAGE="http://www.lichteblau.com/ldapvi/"
107 -SRC_URI="http://www.lichteblau.com/download/${P}.tar.gz"
108 -
109 -LICENSE="GPL-2"
110 -SLOT="0"
111 -KEYWORDS="amd64 hppa ppc ~sparc x86"
112 -IUSE="ssl"
113 -
114 -RDEPEND="sys-libs/ncurses
115 - >=net-nds/openldap-2.2
116 - dev-libs/popt
117 - >=dev-libs/glib-2
118 - sys-libs/readline
119 - ssl? ( dev-libs/openssl )"
120 -DEPEND="${RDEPEND}
121 - virtual/pkgconfig"
122 -
123 -src_prepare() {
124 - epatch "${FILESDIR}/${P}+glibc-2.10.patch"
125 - epatch "${FILESDIR}/${P}-vim-encoding.patch"
126 -}
127 -
128 -src_configure() {
129 - econf $(use_with ssl libcrypto openssl) || die
130 -}
131 -
132 -src_install() {
133 - dobin ldapvi || die
134 - doman ldapvi.1 || die
135 - dodoc NEWS manual/{bg.png,html.xsl,manual.{css,xml}} || die
136 -}