diff options
author | Brandy Westcott <brandy@gentoo.org> | 2003-11-28 00:16:52 +0000 |
---|---|---|
committer | Brandy Westcott <brandy@gentoo.org> | 2003-11-28 00:16:52 +0000 |
commit | 5551b2c112fad8a01198cfdbf706a0525e301b77 (patch) | |
tree | b091498ce32d316ecfa5f2964e3bee3ab85c6653 /net-dialup/dwun | |
parent | fix gtk2 USE flag usage (bug 34559) (diff) | |
download | gentoo-2-5551b2c112fad8a01198cfdbf706a0525e301b77.tar.gz gentoo-2-5551b2c112fad8a01198cfdbf706a0525e301b77.tar.bz2 gentoo-2-5551b2c112fad8a01198cfdbf706a0525e301b77.zip |
Initial import. Closes bug #31868.
Diffstat (limited to 'net-dialup/dwun')
-rw-r--r-- | net-dialup/dwun/ChangeLog | 10 | ||||
-rw-r--r-- | net-dialup/dwun/Manifest | 5 | ||||
-rw-r--r-- | net-dialup/dwun/dwun-0.96e.ebuild | 54 | ||||
-rw-r--r-- | net-dialup/dwun/files/digest-dwun-0.96e | 1 | ||||
-rw-r--r-- | net-dialup/dwun/files/dwun | 22 | ||||
-rw-r--r-- | net-dialup/dwun/metadata.xml | 5 |
6 files changed, 97 insertions, 0 deletions
diff --git a/net-dialup/dwun/ChangeLog b/net-dialup/dwun/ChangeLog new file mode 100644 index 000000000000..0cc5c782fb2e --- /dev/null +++ b/net-dialup/dwun/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-dialup/dwun +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/dwun/ChangeLog,v 1.1 2003/11/28 00:16:26 brandy Exp $ + +*dwun-0.96e (28 Nov 2003) + + 28 Nov 2003; Brandy Westcott brandy@gentoo.org dwun-0.96e.ebuild: + Initial import. Thanks to Jonathan Rogers <jonner@teegra.net> for the ebuild. + Closes bug #31868. + diff --git a/net-dialup/dwun/Manifest b/net-dialup/dwun/Manifest new file mode 100644 index 000000000000..7ee66069cfaa --- /dev/null +++ b/net-dialup/dwun/Manifest @@ -0,0 +1,5 @@ +MD5 cd62a9c6ad6dda137873fa2591be77b2 dwun-0.96e.ebuild 1218 +MD5 d0534661d923d8ea8f206c4becb6fe01 ChangeLog 409 +MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 +MD5 ee104e4fbe224c2e4a221716a54b69b1 files/dwun 433 +MD5 f35fbbf57f58799d2c1b43316efcdb93 files/digest-dwun-0.96e 62 diff --git a/net-dialup/dwun/dwun-0.96e.ebuild b/net-dialup/dwun/dwun-0.96e.ebuild new file mode 100644 index 000000000000..70447b54082b --- /dev/null +++ b/net-dialup/dwun/dwun-0.96e.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/dwun/dwun-0.96e.ebuild,v 1.1 2003/11/28 00:16:26 brandy Exp $ + +DESCRIPTION="Dialer Without a Useful Name (DWUN)" +HOMEPAGE="http://dwun.sourceforge.net/" +SRC_URI="http://download.sourceforge.net/dwun/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="virtual/glibc" + +src_unpack() { + + unpack ${A} + cd ${S} + sed -i -e "s:TODO QUICKSTART README UPGRADING ChangeLog COPYING AUTHORS::" Makefile.in + +} + +src_compile() { + + econf --with-docdir=doc/${P} || die "econf failed." + emake || die "parallel make failed." + +} + +src_install() { + + einstall || die "install failed." + + insinto /etc + newins doc/examples/complete-rcfile dwunrc + newins debian/dwunauth dwunauth + exeinto /etc/init.d + newexe ${FILESDIR}/dwun dwun + + dodoc AUTHORS ChangeLog COPYING INSTALL QUICKSTART README TODO UPGRADING + +} + +pkg_postinst() { + + einfo + einfo 'Make sure you have "net-dialup/ppp" merged if you intend to use dwun' + einfo "to control a standard PPP network link." + einfo "See /usr/share/doc/${P}/QUICKSTART for instructions on" + einfo "configuring dwun." + einfo + +} diff --git a/net-dialup/dwun/files/digest-dwun-0.96e b/net-dialup/dwun/files/digest-dwun-0.96e new file mode 100644 index 000000000000..42b6d99805f7 --- /dev/null +++ b/net-dialup/dwun/files/digest-dwun-0.96e @@ -0,0 +1 @@ +MD5 a5e7d371378c29654a5695c73cefffa0 dwun-0.96e.tar.gz 147960 diff --git a/net-dialup/dwun/files/dwun b/net-dialup/dwun/files/dwun new file mode 100644 index 000000000000..1a54ea317d6f --- /dev/null +++ b/net-dialup/dwun/files/dwun @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later + +depend() { + need net +} + +DAEMON=/usr/sbin/dwun +PIDFILE=/var/run/dwun.pid + +start() { + ebegin "Starting dwun" + start-stop-daemon --start --pidfile ${PIDFILE} --startas ${DAEMON} + eend $? +} + +stop() { + ebegin "Stopping dwun" + start-stop-daemon --stop --signal 1 --pidfile ${PIDFILE} + eend $? +} diff --git a/net-dialup/dwun/metadata.xml b/net-dialup/dwun/metadata.xml new file mode 100644 index 000000000000..1e11e7bbd01b --- /dev/null +++ b/net-dialup/dwun/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-dialup</herd> +</pkgmetadata> |