summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Klar <phoenix@gentoo.org>2002-12-12 17:50:20 +0000
committerTilman Klar <phoenix@gentoo.org>2002-12-12 17:50:20 +0000
commit12fc41910c470ba12ccbe4c167e913c8f2acf1b0 (patch)
treeeebf65b5e3394870337789a9e91ce5488d7f4246 /net-dialup/mserver
parentUpdating to work with gcc3.x systems. (diff)
downloadgentoo-2-12fc41910c470ba12ccbe4c167e913c8f2acf1b0.tar.gz
gentoo-2-12fc41910c470ba12ccbe4c167e913c8f2acf1b0.tar.bz2
gentoo-2-12fc41910c470ba12ccbe4c167e913c8f2acf1b0.zip
Initial import (Bug #9982)
Diffstat (limited to 'net-dialup/mserver')
-rw-r--r--net-dialup/mserver/ChangeLog10
-rw-r--r--net-dialup/mserver/files/digest-mserver-0.5.5-r11
-rw-r--r--net-dialup/mserver/files/mserver-init29
-rw-r--r--net-dialup/mserver/mserver-0.5.5-r1.ebuild41
4 files changed, 81 insertions, 0 deletions
diff --git a/net-dialup/mserver/ChangeLog b/net-dialup/mserver/ChangeLog
new file mode 100644
index 000000000000..6ac12a09ac00
--- /dev/null
+++ b/net-dialup/mserver/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-dialup/mserver
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mserver/ChangeLog,v 1.1 2002/12/12 17:50:20 phoenix Exp $
+
+*mserver-0.5.5-r1 (12 Dec 2002)
+
+ 12 Dec 2002; phoen][x <phoenix@gentoo.org> ChangeLog, mserver-0.5.5-r1.ebuild,
+ files/digest-mserver-0.5.5-r1 :
+ Initial import. Ebuild contributed by Dewet Diener <gentoobugzilla@dewet.org>.
+ This closes bug #9982.
diff --git a/net-dialup/mserver/files/digest-mserver-0.5.5-r1 b/net-dialup/mserver/files/digest-mserver-0.5.5-r1
new file mode 100644
index 000000000000..2f40612c72fc
--- /dev/null
+++ b/net-dialup/mserver/files/digest-mserver-0.5.5-r1
@@ -0,0 +1 @@
+MD5 ee4348241ac8e42d6b62c93036ffaf71 c-mserver-0.5.5.tar.gz 213799
diff --git a/net-dialup/mserver/files/mserver-init b/net-dialup/mserver/files/mserver-init
new file mode 100644
index 000000000000..88f9eee3d2e8
--- /dev/null
+++ b/net-dialup/mserver/files/mserver-init
@@ -0,0 +1,29 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mserver/files/mserver-init,v 1.1 2002/12/12 17:50:20 phoenix Exp $
+
+depend() {
+ need net
+}
+
+checkconfig() {
+ if [ ! -e /etc/mserver.conf ] ; then
+ eerror "You need an /etc/mserver.conf file first"
+ eerror "There is a sample in /etc/mserver.conf.dist"
+ return 1
+ fi
+}
+
+start() {
+ checkconfig || return 1
+ ebegin "Starting mserver"
+ start-stop-daemon --start --quiet --exec /usr/sbin/mserver
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping mserver"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/mserver
+ eend $?
+}
diff --git a/net-dialup/mserver/mserver-0.5.5-r1.ebuild b/net-dialup/mserver/mserver-0.5.5-r1.ebuild
new file mode 100644
index 000000000000..f3a7e3108544
--- /dev/null
+++ b/net-dialup/mserver/mserver-0.5.5-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mserver/mserver-0.5.5-r1.ebuild,v 1.1 2002/12/12 17:50:20 phoenix Exp $
+
+DESCRIPTION="Daemon that provides control of dial-up links to other PCs on the LAN"
+HOMEPAGE="http://cpwright.com/mserver/"
+SRC_URI="http://cpwright.com/mserver/download/c-${P}.tar.gz"
+S=${WORKDIR}/${P}
+IUSE=""
+DEPEND="sys-libs/pam"
+RDEPEND="net-dialup/ppp"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+src_compile() {
+ econf \
+ --sysconfdir=/etc \
+ --localstatedir=/var
+ emake
+}
+
+src_install() {
+ dosbin mserver/mserver mchat/mchat authgen/authgen checkstat/checkstat
+ doman mchat/mchat.8
+ dodoc mserver/PROTOCOL README docs/index.html
+ newdoc mchat/README README.mchat
+ docinto images
+ dodoc docs/images/*.gif docs/images/*.jpg
+ #prepalldocs
+
+ insinto /etc
+ newins mserver/mserver.conf mserver.conf.dist
+
+ insinto /etc/pam.d
+ doins pam/mserver
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/mserver-init mserver
+}