diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/cdargs | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/cdargs')
-rw-r--r-- | app-misc/cdargs/Manifest | 6 | ||||
-rw-r--r-- | app-misc/cdargs/cdargs-1.35-r2.ebuild | 70 | ||||
-rw-r--r-- | app-misc/cdargs/files/50cdargs-gentoo.el | 8 | ||||
-rw-r--r-- | app-misc/cdargs/files/cdargs-1.35-format_security.patch | 100 | ||||
-rw-r--r-- | app-misc/cdargs/files/cdargs-1.35-tinfo.patch | 20 | ||||
-rw-r--r-- | app-misc/cdargs/metadata.xml | 8 |
6 files changed, 212 insertions, 0 deletions
diff --git a/app-misc/cdargs/Manifest b/app-misc/cdargs/Manifest new file mode 100644 index 000000000000..d4d59806bbf6 --- /dev/null +++ b/app-misc/cdargs/Manifest @@ -0,0 +1,6 @@ +AUX 50cdargs-gentoo.el 270 BLAKE2B d39eb5ffd0e910aae99706b6e802621180a090d6ee221b5fad300b37c3a337bfa6f7aa0e0673e6776b8090bad9e8ded919d242e2d47c293dd102a64b01238ba7 SHA512 ee6765ea4222102678d482a3728e2ba3aac0b0709b6148b7d7755421e00125be0b15a41bce2d8fce4340865a10863f519d5c87729aa66ec9216e9618cf059f75 +AUX cdargs-1.35-format_security.patch 4482 BLAKE2B bf7eb8cde3061bee105ca5f16fafa65fa43a0f600f80998e4d0e4244e277f4a0c557fade1a3a384642a75494a5cf1f94d4b678bb2d3322c128cf995eda495213 SHA512 379d220d9d257af5e260a4234653520d08078c2a89d30216f9d6c1b77e6aa18ff82d1c609203ceebd78ba238077acf0eda34d2a1e00fb059db6ba7a9fedfe3ff +AUX cdargs-1.35-tinfo.patch 624 BLAKE2B 82a3210fbed0fd4f5903ef621a330e8eb01a9169e29cb2c09784c135581c5d08969c26b14e48797a27a3d73390371c8931ca00e1418de8bf01ccf5215435f50f SHA512 3f332d2f76c71affa92ab30b527621dafae09655b71839598784498fb7b07e5967907d6977bb2321ea7043a9c82d6dc2273c3bb5bf0fa7a8d4b11635442640b6 +DIST cdargs-1.35.tar.gz 74103 BLAKE2B 06fa5b4ed7c00dbcceeda28c2b02dd46431748434a692f3690885dc1141764e8aacef2e09cab57cf1baab32cb66c5c39a846a09fd6381723f47cd8dc98c8584f SHA512 13df5d18de6f62309a0ecccc0dd95508d81d1955f87cfd2962360d3b7d74c5cdc2b0d2e00f7a4f1e7556bfbcbd3e2ecf4847a1a48ab47442e6d2d5a36db0cf0c +EBUILD cdargs-1.35-r2.ebuild 1519 BLAKE2B 9ed71d63a460f16fbef8b137c695ad6a1e2af472982dc3951d9c842086e43fefc5f65508e1380c2c673aa4cad3e191755310556f817bfd94fd679e7d67c5af83 SHA512 39e329484f66651c34b3f2e45e33c1b657f89d2f150b8ae5136636cc807bea8350571b82bbe45f1853cc1b99b32d4513c46a28cae724f942c5d43929a0b4cc26 +MISC metadata.xml 265 BLAKE2B 75452ad720a31a08fc0dcd02eec704c18b11bc0660686f9a320b85fc879f55a564ce9c3b6a8c710781b74c5e8eb3d0544c02a042fb35a0b62a5e1491f675296a SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 diff --git a/app-misc/cdargs/cdargs-1.35-r2.ebuild b/app-misc/cdargs/cdargs-1.35-r2.ebuild new file mode 100644 index 000000000000..28fca19b1a63 --- /dev/null +++ b/app-misc/cdargs/cdargs-1.35-r2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools elisp-common eutils + +DESCRIPTION="Bookmarks and browser for the shell builtin cd command" +HOMEPAGE="http://www.skamphausen.de/cgi-bin/ska/CDargs" +SRC_URI="http://www.skamphausen.de/software/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~sparc x86" +IUSE="emacs" + +DEPEND=" + sys-libs/ncurses:0= + emacs? ( virtual/emacs )" +RDEPEND="${DEPEND}" + +SITEFILE=50${PN}-gentoo.el + +PATCHES=( + "${FILESDIR}"/${P}-format_security.patch + "${FILESDIR}"/${P}-tinfo.patch + ) + +src_prepare() { + epatch "${PATCHES[@]}" + mv configure.{in,ac} || die + eautoreconf +} + +src_compile() { + default + + use emacs && elisp-compile contrib/cdargs.el +} + +src_install() { + default + + cd "${S}/contrib" || die + insinto /usr/share/cdargs + doins cdargs-bash.sh cdargs-tcsh.csh + if use emacs ; then + elisp-install ${PN} cdargs.{el,elc} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen + + echo + elog "Add the following line to your ~/.bashrc to enable cdargs helper" + elog "functions/aliases in your environment:" + elog "[ -f /usr/share/cdargs/cdargs-bash.sh ] && \\ " + elog " source /usr/share/cdargs/cdargs-bash.sh" + elog + elog "Users of tcshell will find cdargs-tcsh.csh there with a reduced" + elog "feature set. See INSTALL file in the documentation directory for" + elog "more information." + echo +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/app-misc/cdargs/files/50cdargs-gentoo.el b/app-misc/cdargs/files/50cdargs-gentoo.el new file mode 100644 index 000000000000..f9203b308ce0 --- /dev/null +++ b/app-misc/cdargs/files/50cdargs-gentoo.el @@ -0,0 +1,8 @@ + +;;; app-misc/cdargs site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(autoload 'cdargs "cdargs" + "Change the current working directory using a bookmarks file." t) +(defalias 'cv 'cdargs) +(autoload 'cdargs-edit "cdargs" "Simply open the bookmarks file" t) diff --git a/app-misc/cdargs/files/cdargs-1.35-format_security.patch b/app-misc/cdargs/files/cdargs-1.35-format_security.patch new file mode 100644 index 000000000000..978a8e92c088 --- /dev/null +++ b/app-misc/cdargs/files/cdargs-1.35-format_security.patch @@ -0,0 +1,100 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'> +<head> +<title>cdargs.git - cdargs</title> +<meta name='generator' content='cgit v0.10.2'/> +<meta name='robots' content='index, nofollow'/> +<link rel='stylesheet' type='text/css' href='/cgit-data/cgit.css'/> +<link rel='shortcut icon' href='/favicon.ico'/> +<link rel='alternate' title='Atom feed' href='http://pkgs.fedoraproject.org/cgit/cdargs.git/atom/cdargs-1.35_format_security.patch?h=master' type='application/atom+xml'/> +</head> +<body> +<script src="https://apps.fedoraproject.org/fedmenu/js/jquery-1.11.2.min.js"></script> +<script src="https://apps.fedoraproject.org/fedmenu/js/fedmenu.js"></script> + +<script> + var base = 'https://apps.fedoraproject.org/'; + var tokens = window.location.href.split('/'); + var repo = null; + if (tokens.length > 4 && tokens[4] != '') { + repo = tokens[4].split('.')[0]; + } + fedmenu({ + 'url': base + 'js/data.js', + 'mimeType': 'application/javascript', + 'position': 'bottom-right', + 'package': repo, + }); +</script> +<div id='cgit'><table id='header'> +<tr> +<td class='logo' rowspan='2'><a href='/cgit/'><img src='/cgit-data/cgit.png' alt='cgit logo'/></a></td> +<td class='main'><a href='/cgit/'>index</a> : <a title='cdargs.git' href='/cgit/cdargs.git/'>cdargs.git</a></td><td class='form'><form method='get' action=''> +<select name='h' onchange='this.form.submit();'> +<option value='f10'>f10</option> +<option value='f11'>f11</option> +<option value='f12'>f12</option> +<option value='f13'>f13</option> +<option value='f14'>f14</option> +<option value='f15'>f15</option> +<option value='f16'>f16</option> +<option value='f17'>f17</option> +<option value='f18'>f18</option> +<option value='f19'>f19</option> +<option value='f20'>f20</option> +<option value='f21'>f21</option> +<option value='f22'>f22</option> +<option value='f7'>f7</option> +<option value='f8'>f8</option> +<option value='f9'>f9</option> +<option value='master' selected='selected'>master</option> +</select> <input type='submit' name='' value='switch'/></form></td></tr> +<tr><td class='sub'>cdargs</td><td class='sub right'>Jesse Keating</td></tr></table> +<table class='tabs'><tr><td> +<a href='/cgit/cdargs.git/'>summary</a><a href='/cgit/cdargs.git/refs/'>refs</a><a href='/cgit/cdargs.git/log/cdargs-1.35_format_security.patch'>log</a><a class='active' href='/cgit/cdargs.git/tree/cdargs-1.35_format_security.patch'>tree</a><a href='/cgit/cdargs.git/commit/cdargs-1.35_format_security.patch'>commit</a><a href='/cgit/cdargs.git/diff/cdargs-1.35_format_security.patch'>diff</a><a href='/cgit/cdargs.git/stats/cdargs-1.35_format_security.patch'>stats</a></td><td class='form'><form class='right' method='get' action='/cgit/cdargs.git/log/cdargs-1.35_format_security.patch'> +<select name='qt'> +<option value='grep'>log msg</option> +<option value='author'>author</option> +<option value='committer'>committer</option> +<option value='range'>range</option> +</select> +<input class='txt' type='text' size='10' name='q' value=''/> +<input type='submit' value='search'/> +</form> +</td></tr></table> +<div class='path'>path: <a href='/cgit/cdargs.git/tree/'>root</a>/<a href='/cgit/cdargs.git/tree/cdargs-1.35_format_security.patch'>cdargs-1.35_format_security.patch</a></div><div class='content'>blob: 3ddc550e607e9f908b891c7e3626ee256484607e (<a href='/cgit/cdargs.git/plain/cdargs-1.35_format_security.patch'>plain</a>) +<table summary='blob content' class='blob'> +<tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a> +<a id='n2' href='#n2'>2</a> +<a id='n3' href='#n3'>3</a> +<a id='n4' href='#n4'>4</a> +<a id='n5' href='#n5'>5</a> +<a id='n6' href='#n6'>6</a> +<a id='n7' href='#n7'>7</a> +<a id='n8' href='#n8'>8</a> +<a id='n9' href='#n9'>9</a> +<a id='n10' href='#n10'>10</a> +<a id='n11' href='#n11'>11</a> +<a id='n12' href='#n12'>12</a> +<a id='n13' href='#n13'>13</a> +</pre></td> +<td class='lines'><pre><code>diff --git a/src/cdargs.cc b/src/cdargs.cc +index e505e4e..1fdfeb8 100644 +--- a/src/cdargs.cc ++++ b/src/cdargs.cc +@@ -1301,7 +1301,7 @@ void helpscreen(void) { + + void fatal_exit(char* msg) { + endwin(); +- fprintf(stderr, msg); ++ fprintf(stderr, "%s", msg); + exit(1); + } + +</code></pre></td></tr></table> +</div> <!-- class=content --> +<div class='footer'>generated by cgit v0.10.2 at 2015-06-21 13:46:50 (GMT)</div> +</div> <!-- id=cgit --> +</body> +</html> diff --git a/app-misc/cdargs/files/cdargs-1.35-tinfo.patch b/app-misc/cdargs/files/cdargs-1.35-tinfo.patch new file mode 100644 index 000000000000..d85a3b9b685c --- /dev/null +++ b/app-misc/cdargs/files/cdargs-1.35-tinfo.patch @@ -0,0 +1,20 @@ + configure.in | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/configure.in b/configure.in +index a21d664..263929e 100644 +--- a/configure.in ++++ b/configure.in +@@ -8,10 +8,11 @@ dnl if test "$has_curses" = "false" ; then + dnl AC_MSG_ERROR([Fatal error: couldn't find ncurses/curses.]) + dnl fi + ++PKG_CHECK_MODULES([NCURSES], [ncurses],[CURSES_LIB=${NCURSES_LIBS}],[ + MP_WITH_CURSES + if test "x$CURSES_LIB" = "x" ; then + AC_MSG_ERROR([Fatal error: couldn't find ncurses/curses.]) +-fi ++fi]) + AC_SUBST(CURSES_LIB) + + AC_OUTPUT(Makefile contrib/Makefile doc/Makefile src/Makefile m4/Makefile cdargs.spec) diff --git a/app-misc/cdargs/metadata.xml b/app-misc/cdargs/metadata.xml new file mode 100644 index 000000000000..3cf14bf74636 --- /dev/null +++ b/app-misc/cdargs/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>shell-tools@gentoo.org</email> + <name>Gentoo Shell Tools Project</name> + </maintainer> +</pkgmetadata> |