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-dialup/minicom | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
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-dialup/minicom')
-rw-r--r-- | net-dialup/minicom/Manifest | 2 | ||||
-rw-r--r-- | net-dialup/minicom/files/minicom-2.3-gentoo-runscript.patch | 55 | ||||
-rw-r--r-- | net-dialup/minicom/files/minicom-2.6-etimeout.patch | 11 | ||||
-rw-r--r-- | net-dialup/minicom/files/minirc.dfl | 1 | ||||
-rw-r--r-- | net-dialup/minicom/metadata.xml | 9 | ||||
-rw-r--r-- | net-dialup/minicom/minicom-2.6.ebuild | 53 | ||||
-rw-r--r-- | net-dialup/minicom/minicom-2.7.ebuild | 49 |
7 files changed, 180 insertions, 0 deletions
diff --git a/net-dialup/minicom/Manifest b/net-dialup/minicom/Manifest new file mode 100644 index 000000000000..6a7bb67ca2a0 --- /dev/null +++ b/net-dialup/minicom/Manifest @@ -0,0 +1,2 @@ +DIST minicom-2.6.tar.gz 830255 SHA256 ea5fe79c22dcb115cf5ed287b0e7a69e069bedd39889aa89b1a23f64f53fceb3 SHA512 96345e0c7b5991d3320fb4478b26717efdcdde307cd1cd065be424456bd90e528405c889a8aebaf6a67f3c614e4858825ec7f32769f2069f1b2e3ec5a2556023 WHIRLPOOL 7bfcb9a9609dc85585c808c8027f14406c1ff72771262d3c5beee9209078db9a58396d272333eb1ec6f97c0013b6a3792e0a1444cb737db4c202ccc90b8b1483 +DIST minicom-2.7.tar.gz 863544 SHA256 9ac3a663b82f4f5df64114b4792b9926b536c85f59de0f2d2b321c7626a904f4 SHA512 eb9679ac3a3d3585ea06c54407567898e50b981378656e7f8a241071c91054ff0928cc9023d2c79d1936588cdffa9426f4962b556e8daa1783add0c5ac59b5af WHIRLPOOL f93642d6cc3c8dee987d461a67e4a98b55d0ebea1a0c1b2dc8564a9af66dbf9aaad3e4cb2e161d127b965d955637882eda601034b863b32ee776925db969418e diff --git a/net-dialup/minicom/files/minicom-2.3-gentoo-runscript.patch b/net-dialup/minicom/files/minicom-2.3-gentoo-runscript.patch new file mode 100644 index 000000000000..ff72db966b85 --- /dev/null +++ b/net-dialup/minicom/files/minicom-2.3-gentoo-runscript.patch @@ -0,0 +1,55 @@ +diff -ru minicom-2.3.orig/extras/scriptdemo minicom-2.3/extras/scriptdemo +--- minicom-2.3.orig/extras/scriptdemo 2003-03-30 21:55:39.000000000 +0300 ++++ minicom-2.3/extras/scriptdemo 2008-04-20 05:27:19.000000000 +0300 +@@ -1,5 +1,5 @@ + # A little demonstration of the possibilities of "runscript". +-# This script can be executed by typing: "runscript scriptdemo". ++# This script can be executed by typing: "/usr/bin/runscript scriptdemo". + # + # Adjust the stty's below to your system: BSD-like or SysV-like. + # Linux ofcourse accepts both :-) +diff -ru minicom-2.3.orig/man/minicom.1 minicom-2.3/man/minicom.1 +--- minicom-2.3.orig/man/minicom.1 2008-02-24 12:22:43.000000000 +0200 ++++ minicom-2.3/man/minicom.1 2008-04-20 05:27:19.000000000 +0300 +@@ -418,7 +418,7 @@ + .TP 0.5i + .B D - Script program + Which program to use as the script interpreter. Defaults to the +-program "runscript", but if you want to use something else (eg, ++program "/usr/bin/runscript", but if you want to use something else (eg, + /bin/sh or "expect") it is possible. Stdin and stdout are connected + to the modem, stderr to the screen. + .RS 0.5i +diff -ru minicom-2.3.orig/man/runscript.1 minicom-2.3/man/runscript.1 +--- minicom-2.3.orig/man/runscript.1 2007-11-13 23:35:06.000000000 +0200 ++++ minicom-2.3/man/runscript.1 2008-04-20 05:27:19.000000000 +0300 +@@ -5,7 +5,7 @@ + .\" for conditions under which this file may be redistributed. + .TH RUNSCRIPT 1 "$Date: 2008/04/20 02:39:28 $" "User's Manual" + .SH NAME +-runscript \- script interpreter for minicom ++/usr/bin/runscript \- script interpreter for minicom + .SH SYNOPSIS + .B runscript + .RI "scriptname [logfile [homedir]]" +diff -ru minicom-2.3.orig/src/rwconf.c minicom-2.3/src/rwconf.c +--- minicom-2.3.orig/src/rwconf.c 2007-10-10 23:18:20.000000000 +0300 ++++ minicom-2.3/src/rwconf.c 2008-04-20 05:27:19.000000000 +0300 +@@ -118,7 +118,7 @@ + { N_("No"), 0, "kermreal" }, + { "3", 0, "colusage" }, + /* The script program */ +- { "runscript", 0, "scriptprog" }, ++ { "/usr/bin/runscript", 0, "scriptprog" }, + /* Modem parameters */ + { "~^M~AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0^M", 0, "minit" }, + { "^M~ATZ^M~", 0, "mreset" }, +@@ -246,7 +246,7 @@ + int matched; + + if (conftype == CONFIG_GLOBAL) +- strcpy(P_SCRIPTPROG, "runscript"); ++ strcpy(P_SCRIPTPROG, "/usr/bin/runscript"); + + line = malloc(line_size); + if (!line) { diff --git a/net-dialup/minicom/files/minicom-2.6-etimeout.patch b/net-dialup/minicom/files/minicom-2.6-etimeout.patch new file mode 100644 index 000000000000..2dd01963c443 --- /dev/null +++ b/net-dialup/minicom/files/minicom-2.6-etimeout.patch @@ -0,0 +1,11 @@ +--- src/main.c.orig 2011-09-30 09:57:00.000000000 +0200 ++++ src/main.c 2011-12-28 16:07:59.000000000 +0100 +@@ -112,7 +112,7 @@ char *esc_key(void) + static void get_alrm(int dummy) + { + (void)dummy; +- errno = ETIME; ++ errno = ETIMEDOUT; + longjmp(albuf, 1); + } + diff --git a/net-dialup/minicom/files/minirc.dfl b/net-dialup/minicom/files/minirc.dfl new file mode 100644 index 000000000000..42e9d8fe4646 --- /dev/null +++ b/net-dialup/minicom/files/minirc.dfl @@ -0,0 +1 @@ +# Machine-generated file - use "minicom -s" to change parameters. diff --git a/net-dialup/minicom/metadata.xml b/net-dialup/minicom/metadata.xml new file mode 100644 index 000000000000..f5d48b82306b --- /dev/null +++ b/net-dialup/minicom/metadata.xml @@ -0,0 +1,9 @@ +<?xml version = '1.0' encoding = 'UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-dialup</herd> + <longdescription lang="en"> + Minicom is a menu driven communications program. It emulates ANSI and VT102 + terminals. It has a dialing directory and auto zmodem download. + </longdescription> +</pkgmetadata> diff --git a/net-dialup/minicom/minicom-2.6.ebuild b/net-dialup/minicom/minicom-2.6.ebuild new file mode 100644 index 000000000000..157a5efed5b0 --- /dev/null +++ b/net-dialup/minicom/minicom-2.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils + +STUPID_NUM="3689" + +DESCRIPTION="Serial Communication Program" +HOMEPAGE="http://alioth.debian.org/projects/minicom" +SRC_URI="http://alioth.debian.org/download.php/${STUPID_NUM}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux" +IUSE="nls" + +COMMON_DEPEND="sys-libs/ncurses" +DEPEND="${COMMON_DEPEND} + nls? ( sys-devel/gettext )" +RDEPEND="${COMMON_DEPEND} + net-dialup/lrzsz" + +DOCS="AUTHORS ChangeLog NEWS README doc/minicom.FAQ" + +# Supported languages and translated documentation +# Be sure all languages are prefixed with a single space! +MY_AVAILABLE_LINGUAS=" cs da de es fi fr hu id ja nb pl pt_BR ro ru rw sv vi zh_TW" +IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.3-gentoo-runscript.patch + epatch "${FILESDIR}"/${P}-etimeout.patch +} + +src_configure() { + econf \ + --sysconfdir="${EPREFIX}"/etc/${PN} \ + $(use_enable nls) +} + +src_install() { + default + insinto /etc/minicom + doins "${FILESDIR}"/minirc.dfl +} + +pkg_preinst() { + [[ -s ${EROOT}/etc/minicom/minirc.dfl ]] \ + && rm -f "${ED}"/etc/minicom/minirc.dfl +} diff --git a/net-dialup/minicom/minicom-2.7.ebuild b/net-dialup/minicom/minicom-2.7.ebuild new file mode 100644 index 000000000000..407593752d76 --- /dev/null +++ b/net-dialup/minicom/minicom-2.7.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +STUPID_NUM="3977" +DESCRIPTION="Serial Communication Program" +HOMEPAGE="http://alioth.debian.org/projects/minicom" +SRC_URI="https://alioth.debian.org/frs/download.php/file/${STUPID_NUM}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux" +IUSE="nls" + +COMMON_DEPEND="sys-libs/ncurses" +DEPEND="${COMMON_DEPEND} + nls? ( sys-devel/gettext )" +RDEPEND="${COMMON_DEPEND} + net-dialup/lrzsz" + +DOCS="AUTHORS ChangeLog NEWS README doc/minicom.FAQ" + +# Supported languages and translated documentation +# Be sure all languages are prefixed with a single space! +MY_AVAILABLE_LINGUAS=" cs da de es fi fr hu id ja nb pl pt_BR ro ru rw sv vi zh_TW" +IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.3-gentoo-runscript.patch +} + +src_configure() { + econf \ + --sysconfdir="${EPREFIX}"/etc/${PN} \ + $(use_enable nls) +} + +src_install() { + default + insinto /etc/minicom + doins "${FILESDIR}"/minirc.dfl +} + +pkg_preinst() { + [[ -s ${EROOT}/etc/minicom/minirc.dfl ]] && rm -f "${ED}"/etc/minicom/minirc.dfl +} |