diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-nds/ldapvi | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-nds/ldapvi')
-rw-r--r-- | net-nds/ldapvi/Manifest | 2 | ||||
-rw-r--r-- | net-nds/ldapvi/files/ldapvi-1.7+glibc-2.10.patch | 39 | ||||
-rw-r--r-- | net-nds/ldapvi/files/ldapvi-1.7-vim-encoding.patch | 13 | ||||
-rw-r--r-- | net-nds/ldapvi/ldapvi-1.7-r1.ebuild | 40 | ||||
-rw-r--r-- | net-nds/ldapvi/ldapvi-1.7_p20101214.ebuild | 47 | ||||
-rw-r--r-- | net-nds/ldapvi/metadata.xml | 15 |
6 files changed, 156 insertions, 0 deletions
diff --git a/net-nds/ldapvi/Manifest b/net-nds/ldapvi/Manifest new file mode 100644 index 00000000000..5c10b3c1446 --- /dev/null +++ b/net-nds/ldapvi/Manifest @@ -0,0 +1,2 @@ +DIST ldapvi-1.7.tar.gz 119503 SHA256 6f62e92d20ff2ac0d06125024a914b8622e5b8a0a0c2d390bf3e7990cbd2e153 SHA512 4b38cee0763aa33703afbd5e358a458b1468abf58e43ea885879b2117bc1c0bbc375d91c6a43467ec08035b8b3b7dd4b024f2937c37741c7a5513ea9192aed36 WHIRLPOOL 136b7c21e2438b294d9d7504827f76a18138caa1c71dad6858cf59c2399243da57886792934ebb3e559697490228e89da5a769aa84cd054b95abafbd179527b9 +DIST ldapvi-1.7_p20101214.tar.bz2 1490491 SHA256 a8b805bf29753dd7f758b8f564a40584e930a63549bc0e466db13c828f6be91b SHA512 2d2a744a36364793f406f37ecf6e546914d697457dec37b81544f4979f4c692756b2a1c3ea6fcbaba5e3238b2bf758ab3e0bd9a9a0794c4da734d65286bd5925 WHIRLPOOL 5cd89780b11306f7822f49357e799df8940a1e3417dd0252697dd1be87ce3e2956c344fd5a76169966e4ba35b11981c7c17c503201182c3ef08db84dddde7029 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 new file mode 100644 index 00000000000..df2a20c7124 --- /dev/null +++ b/net-nds/ldapvi/files/ldapvi-1.7+glibc-2.10.patch @@ -0,0 +1,39 @@ +Index: ldapvi-1.7/common.h +=================================================================== +--- ldapvi-1.7.orig/common.h ++++ ldapvi-1.7/common.h +@@ -273,7 +273,7 @@ void pipeview_wait(int pid); + char *home_filename(char *name); + void read_ldapvi_history(void); + void write_ldapvi_history(void); +-char *getline(char *prompt, char *value); ++char *ldapvi_getline(char *prompt, char *value); + char *get_password(); + char *append(char *a, char *b); + void *xalloc(size_t size); +Index: ldapvi-1.7/ldapvi.c +=================================================================== +--- ldapvi-1.7.orig/ldapvi.c ++++ ldapvi-1.7/ldapvi.c +@@ -470,7 +470,7 @@ change_mechanism(bind_options *bo) + bo->authmethod = LDAP_AUTH_SASL; + puts("Switching to SASL authentication."); + } +- bo->sasl_mech = getline("SASL mechanism", bo->sasl_mech); ++ bo->sasl_mech = ldapvi_getline("SASL mechanism", bo->sasl_mech); + } + + static int +Index: ldapvi-1.7/misc.c +=================================================================== +--- ldapvi-1.7.orig/misc.c ++++ ldapvi-1.7/misc.c +@@ -315,7 +315,7 @@ write_ldapvi_history() + } + + char * +-getline(char *prompt, char *value) ++ldapvi_getline(char *prompt, char *value) + { + tdialog d; + init_dialog(&d, DIALOG_DEFAULT, prompt, value); diff --git a/net-nds/ldapvi/files/ldapvi-1.7-vim-encoding.patch b/net-nds/ldapvi/files/ldapvi-1.7-vim-encoding.patch new file mode 100644 index 00000000000..d9431bed2de --- /dev/null +++ b/net-nds/ldapvi/files/ldapvi-1.7-vim-encoding.patch @@ -0,0 +1,13 @@ +From https://bugzilla.redhat.com/show_bug.cgi?id=691958 + +--- ldapvi-1.7/ldapvi.c ++++ ldapvi-1.7/ldapvi.c +@@ -1414,7 +1414,7 @@ write_file_header(FILE *s, cmdline *cmdline) + int nlines = 0; + + if (print_binary_mode == PRINT_UTF8 && !cmdline->ldif) { +- fputs("# -*- coding: utf-8 -*- vim:encoding=utf-8:\n", s); ++ fputs("# -*- coding: utf-8 -*- \n", s); + nlines++; + } + if (cmdline->ldif) { diff --git a/net-nds/ldapvi/ldapvi-1.7-r1.ebuild b/net-nds/ldapvi/ldapvi-1.7-r1.ebuild new file mode 100644 index 00000000000..8f8ff77c6c8 --- /dev/null +++ b/net-nds/ldapvi/ldapvi-1.7-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +inherit eutils + +DESCRIPTION="Manage LDAP entries with a text editor" +HOMEPAGE="http://www.lichteblau.com/ldapvi/" +SRC_URI="http://www.lichteblau.com/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 hppa ppc ~sparc x86" +IUSE="ssl" + +RDEPEND="sys-libs/ncurses + >=net-nds/openldap-2.2 + dev-libs/popt + >=dev-libs/glib-2 + sys-libs/readline + ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}/${P}+glibc-2.10.patch" + epatch "${FILESDIR}/${P}-vim-encoding.patch" +} + +src_configure() { + econf $(use_with ssl libcrypto openssl) || die +} + +src_install() { + dobin ldapvi || die + doman ldapvi.1 || die + dodoc NEWS manual/{bg.png,html.xsl,manual.{css,xml}} || die +} diff --git a/net-nds/ldapvi/ldapvi-1.7_p20101214.ebuild b/net-nds/ldapvi/ldapvi-1.7_p20101214.ebuild new file mode 100644 index 00000000000..ad8fbdbfac0 --- /dev/null +++ b/net-nds/ldapvi/ldapvi-1.7_p20101214.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools + +DESCRIPTION="Manage LDAP entries with a text editor" +HOMEPAGE="http://www.lichteblau.com/ldapvi/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="gnutls sasl" + +RDEPEND=" + sys-libs/ncurses:5 + net-nds/openldap + dev-libs/popt + dev-libs/glib:2 + sys-libs/readline + gnutls? ( net-libs/gnutls ) + !gnutls? ( dev-libs/openssl:0 ) + sasl? ( dev-libs/cyrus-sasl:2 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${P}/${PN} + +src_prepare() { + #bug 459478 + sed -e '/^AC_SEARCH_LIBS/s:curses ncurses:curses ncurses tinfo:' \ + -i 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 new file mode 100644 index 00000000000..49415441c77 --- /dev/null +++ b/net-nds/ldapvi/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>xmw@gentoo.org</email> + <name>Michael Weber</name> + </maintainer> + <longdescription lang="en"> + Text based LDAP client which uses your standard editor for viewing and + changing entries. + </longdescription> +<use> + <flag name="gnutls">Use net-libs/gnutls instead of dev-libs/openssl</flag> +</use> +</pkgmetadata> |