summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2009-03-22 12:44:53 +0000
committerAlin Năstac <mrness@gentoo.org>2009-03-22 12:44:53 +0000
commit9ad0f71b82cd524013a4411b6fb7b4b7580e6303 (patch)
tree1f385a64a5b6519152f74f33b648b64b29ef8253 /net-dialup
parentRemoving hawking as a maintainer since he was retired. (diff)
downloadhistorical-9ad0f71b82cd524013a4411b6fb7b4b7580e6303.tar.gz
historical-9ad0f71b82cd524013a4411b6fb7b4b7580e6303.tar.bz2
historical-9ad0f71b82cd524013a4411b6fb7b4b7580e6303.zip
Initial import from bug 263176.
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/sercd/ChangeLog11
-rw-r--r--net-dialup/sercd/Manifest17
-rw-r--r--net-dialup/sercd/files/sercd.confd23
-rw-r--r--net-dialup/sercd/files/sercd.initd25
-rw-r--r--net-dialup/sercd/files/sercd.xinetd15
-rw-r--r--net-dialup/sercd/metadata.xml7
-rw-r--r--net-dialup/sercd/sercd-3.0.0.ebuild29
7 files changed, 127 insertions, 0 deletions
diff --git a/net-dialup/sercd/ChangeLog b/net-dialup/sercd/ChangeLog
new file mode 100644
index 000000000000..0aafc4e98f17
--- /dev/null
+++ b/net-dialup/sercd/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-dialup/sercd
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/sercd/ChangeLog,v 1.1 2009/03/22 12:44:53 mrness Exp $
+
+*sercd-3.0.0 (22 Mar 2009)
+
+ 22 Mar 2009; Alin Năstac <mrness@gentoo.org> +files/sercd.confd,
+ +files/sercd.initd, +files/sercd.xinetd, +metadata.xml,
+ +sercd-3.0.0.ebuild:
+ Initial import from bug 263176.
+
diff --git a/net-dialup/sercd/Manifest b/net-dialup/sercd/Manifest
new file mode 100644
index 000000000000..e1a6b902b506
--- /dev/null
+++ b/net-dialup/sercd/Manifest
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX sercd.confd 499 RMD160 d85c57207d1aa06765686bc27b1015797c21c6ac SHA1 732404fe8900d626aaf67d26a309efbd683c0d25 SHA256 b54f1c0494c583c670cff3ea970d1136f2fa6a6ddd950614f0825af8223e0b39
+AUX sercd.initd 735 RMD160 54454b3f50fccb30fb616f8858f81e84515a3c62 SHA1 d56063ab6a651ac9a1485754597b2d102308c2bd SHA256 483b52b99736b360f608a3ad32a3e13165390f47d8a45ea684e518ad6709d2ad
+AUX sercd.xinetd 312 RMD160 bd9b9d650334671c0ea6ac7382c2e691e1e64855 SHA1 06c970a55ebe4a97d7b80a084ad992ed09e632b3 SHA256 36d776816740f5a6d2829c99633da290e2e7e3ebae284c80d04dcaa87fd24a7f
+DIST sercd-3.0.0.tar.gz 116284 RMD160 2e23c14b454c47faff2634e3f039a3b65c4c5a14 SHA1 6dfea9f270a6394696e277be36aa85cdea30c1e8 SHA256 5aa9c93ae436eac206a4d93867e12838dc16ad30192cea451f985421688e4207
+EBUILD sercd-3.0.0.ebuild 736 RMD160 fda44368aa70d8907a26758338662d6d58c783ad SHA1 0b37da00beb094740ae5606ac9335c7df4b2f800 SHA256 3f1703128dbff8e77e4b0fbede35586811559f15bf605b4905796b663d66a649
+MISC ChangeLog 417 RMD160 eb191d3ac6d4284bdf4dfb610cc4a806a5a16348 SHA1 eea9359a0d489d5c1c408a4173003bb6a6df7c13 SHA256 ee94cec10467c47106f3ca012aa2581239e4448218fef829e9696060ccb68c42
+MISC metadata.xml 302 RMD160 a4e287ddb9e9eaa9bd61ce4d1e6855283004333c SHA1 ffc8064061ca10395e4ea846a30c96e2b18e0a7c SHA256 0c73f2b1086fa149bc72ce3a5e4e49eb8d4f73f3dccbcf149960b01a60226608
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.10 (GNU/Linux)
+
+iEYEARECAAYFAknGMs8ACgkQts85UDFmaOW2lwCaAicO+Pg85f4x5IuQUSLTsvgG
+HvoAnA7jUnKz9BUgGSULViFSwHYP5/8f
+=mPfq
+-----END PGP SIGNATURE-----
diff --git a/net-dialup/sercd/files/sercd.confd b/net-dialup/sercd/files/sercd.confd
new file mode 100644
index 000000000000..c7126a35197c
--- /dev/null
+++ b/net-dialup/sercd/files/sercd.confd
@@ -0,0 +1,23 @@
+# sercd service configuration file
+
+# Run daemon as this user:group
+SERCD_USER=uucp:uucp
+
+# Serial port
+SERCD_DEVFILE=/dev/modem
+
+# Lock file
+SERCD_LOCKFILE=/var/lock/LCK..modem
+
+# Address on which this daemon listens on
+SERCD_ADDR=0.0.0.0
+SERCD_PORT=7000
+
+# Log level; available values are from 0 (LOG_EMERG) to 7 (LOG_DEBUG).
+SERCD_LOGLEVEL=5
+
+# Uncomment this if you want compatibility with Cisco IOS
+# SERCD_OPTS="-i"
+
+# Poll interval is in milliseconds. 0 means no polling
+SERCD_POLLINTERV=100
diff --git a/net-dialup/sercd/files/sercd.initd b/net-dialup/sercd/files/sercd.initd
new file mode 100644
index 000000000000..b8f8744bb28b
--- /dev/null
+++ b/net-dialup/sercd/files/sercd.initd
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/sercd/files/sercd.initd,v 1.1 2009/03/22 12:44:53 mrness Exp $
+
+PIDFILE=/var/run/${SVCNAME}.pid
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting ${SVCNAME}"
+ start-stop-daemon --start --quiet --background --make-pidfile \
+ --exec /usr/sbin/sercd --chuid ${SERCD_USER} --pidfile "${PIDFILE}" \
+ -- ${SERCD_OPTS} -p ${SERCD_PORT} -l ${SERCD_ADDR} \
+ ${SERCD_LOGLEVEL} "${SERCD_DEVFILE}" "${SERCD_LOCKFILE}" ${SERCD_POLLINTERV}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${SVCNAME}"
+ start-stop-daemon --stop --quiet --name sercd --pidfile "${PIDFILE}"
+ eend $?
+}
diff --git a/net-dialup/sercd/files/sercd.xinetd b/net-dialup/sercd/files/sercd.xinetd
new file mode 100644
index 000000000000..8948e3c3f5fd
--- /dev/null
+++ b/net-dialup/sercd/files/sercd.xinetd
@@ -0,0 +1,15 @@
+# default: on
+# description: RFC 2217 compliant Telnet serial port redirector
+service sredir
+{
+ type = UNLISTED
+ flags = REUSE
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = uucp
+ server = /usr/sbin/sercd
+ server_args = 5 /dev/modem /var/lock/LCK..modem 100
+ port = 7000
+ disable = yes
+}
diff --git a/net-dialup/sercd/metadata.xml b/net-dialup/sercd/metadata.xml
new file mode 100644
index 000000000000..3eee55fc1d01
--- /dev/null
+++ b/net-dialup/sercd/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-dialup</herd>
+<longdescription>sercd is an RFC 2217-compliant serial port redirector.
+It lets you share a serial port through network.</longdescription>
+</pkgmetadata>
diff --git a/net-dialup/sercd/sercd-3.0.0.ebuild b/net-dialup/sercd/sercd-3.0.0.ebuild
new file mode 100644
index 000000000000..bb8fc6d628ba
--- /dev/null
+++ b/net-dialup/sercd/sercd-3.0.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/sercd/sercd-3.0.0.ebuild,v 1.1 2009/03/22 12:44:53 mrness Exp $
+
+EAPI="2"
+
+DESCRIPTION="RFC2217-compliant serial port redirector"
+SRC_URI="mirror://sourceforge/sercd/${P}.tar.gz"
+HOMEPAGE="http://sourceforge.net/projects/sercd"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="xinetd"
+
+RDEPEND="xinetd? ( virtual/inetd )"
+
+src_install () {
+ einstall || die "einstall failed"
+
+ newinitd "${FILESDIR}"/sercd.initd sercd
+ newconfd "${FILESDIR}"/sercd.confd sercd
+ if use xinetd ; then
+ insinto /etc/xinetd.d
+ newins "${FILESDIR}"/sercd.xinetd sercd
+ fi
+
+ dodoc AUTHORS README
+}