summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-30 19:39:55 +0100
committerSam James <sam@gentoo.org>2021-06-30 19:39:55 +0100
commitdfb1d1c0bc4cebe2d9843524b8b0f38a62c0143f (patch)
treef354b017441d1be96aa8dac09c3c530f06f79471 /net-dialup/dwun/dwun-0.96e-r5.ebuild
parentnet-dialup/freeradius: add missing libcrypt dependency (diff)
downloadgentoo-dfb1d1c0bc4cebe2d9843524b8b0f38a62c0143f.tar.gz
gentoo-dfb1d1c0bc4cebe2d9843524b8b0f38a62c0143f.tar.bz2
gentoo-dfb1d1c0bc4cebe2d9843524b8b0f38a62c0143f.zip
net-dialup/dwun: add missing libcrypt dependency
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-dialup/dwun/dwun-0.96e-r5.ebuild')
-rw-r--r--net-dialup/dwun/dwun-0.96e-r5.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/net-dialup/dwun/dwun-0.96e-r5.ebuild b/net-dialup/dwun/dwun-0.96e-r5.ebuild
new file mode 100644
index 000000000000..e792c109b20f
--- /dev/null
+++ b/net-dialup/dwun/dwun-0.96e-r5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Dialer Without a Useful Name (DWUN)"
+HOMEPAGE="http://dwun.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="MIT GPL-2" # GPL-2 only for init script
+SLOT="0"
+KEYWORDS="~amd64 x86"
+
+RDEPEND="virtual/libcrypt:="
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog QUICKSTART README TODO UPGRADING )
+
+src_prepare() {
+ eapply "${FILESDIR}"/${P}-fno-common.patch
+
+ sed -i -e "s:TODO QUICKSTART README UPGRADING ChangeLog COPYING AUTHORS::" Makefile.in || die
+ tc-export CC
+
+ eapply_user
+}
+
+src_configure() {
+ econf --with-docdir="share/doc/${PF}"
+}
+
+src_install() {
+ default
+
+ insinto /etc
+ newins doc/examples/complete-rcfile dwunrc
+ newins debian/dwunauth dwunauth
+ newinitd "${FILESDIR}/dwun" dwun
+}
+
+pkg_postinst() {
+ elog
+ elog 'Make sure you have "net-dialup/ppp" merged if you intend to use dwun'
+ elog "to control a standard PPP network link."
+ elog "See /usr/share/doc/${P}/QUICKSTART for instructions on"
+ elog "configuring dwun."
+ elog
+}