diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-dialup/pppconfig |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-dialup/pppconfig')
-rw-r--r-- | net-dialup/pppconfig/Manifest | 6 | ||||
-rw-r--r-- | net-dialup/pppconfig/files/pppconfig | 9 | ||||
-rw-r--r-- | net-dialup/pppconfig/metadata.xml | 5 | ||||
-rw-r--r-- | net-dialup/pppconfig/pppconfig-2.3.21.ebuild | 54 |
4 files changed, 74 insertions, 0 deletions
diff --git a/net-dialup/pppconfig/Manifest b/net-dialup/pppconfig/Manifest new file mode 100644 index 000000000000..ee8487f1d629 --- /dev/null +++ b/net-dialup/pppconfig/Manifest @@ -0,0 +1,6 @@ +AUX pppconfig 219 SHA256 d12b1519bf234ac595b6e76988f1eb4660977e5620c8d62d78a89db90d2e2448 SHA512 1fce4236bc67ff9f9c5d5d273794863504dd93f75c6383ac921028ed255b3b7830ae4dd7182cf0f93241e350a7ef0619ad9f8bd38c50d20b4baf86421bc075d9 WHIRLPOOL 18b5b9e0f95c157a36e969299b42bffc33fb974f21ebd825769b03ed6aafce28d9bc5b4a73a713589fe279b3b4f91ea8bb8f3278e157b0cd49dc9826acba7873 +DIST pppconfig_2.3.21.tar.gz 397243 SHA256 cc8bd046aa8c9495b589ec87d5051a237ba89d0dcb7b1924a50a72dfac6f20f8 SHA512 e6297a6834eb806d591aee44343c6e64536e260ea8e637f3a4d4b5a752e26ae90d467ca12dd83022e071f7c2c4f111660418a6b953c4a02f5618fc54a89c2893 WHIRLPOOL d02d0c1da782ede453633086497d51cf8ae456601694e782337b39cc33efad88f57cf4dee7df15020a40144dbd9f2d384fb4801d2b182ddb131f93ecef3a0e19 +EBUILD pppconfig-2.3.21.ebuild 1048 SHA256 d0db5f10cc8d45275acf57f21aba239f3d9598e68b77a104342c20512cfcab86 SHA512 6a68b90aae289e25f7b05bb6fd8713f0fc191cb35506415982c9b5649dd93dd79e0ed98e86e8f1af6b38faf08124233656402953bab7f8c544caab81d96a5515 WHIRLPOOL 3f177f57fb20ae3fbefcd4b0073d870a66e7e6f972cc767dc6f5a1bc7b7aaa2a9ffdc08c04d507b680a73cf4cf3212d21788010b1bf10db6b3837ce20117b16d +MISC ChangeLog 2674 SHA256 5e58574d1e0acab4bef1eaf4768530ae2abf1c391e1273d689bb64db635155bd SHA512 090028a5dd0eea4a47a5d22ccff148eabe2d4b3bfcab1947a52dbe261ba5a8706110f817ff855d0be11c8b94653f688172f84e449bc962dcadff0782de6a6cfa WHIRLPOOL 13feec46c217385b66760d98b352fa5d4173966655e1fcc8041b7f8aecacfebe4372890b841130227a322f2c4dc1e219cb0eaf639256c984254e726ec961f929 +MISC ChangeLog-2015 5340 SHA256 ff8ab8c0a4c6ad1d9b60fbea9516c99d44a0a1b0c48bb8d66c8a039da3721829 SHA512 ce1d589b9575645fa53bba30ee302b01022a1efaa681f3bead36f2eca234baa0757de707268d259e26d8d9544abdbda866cb2a2e012a189e73e21dc7633f2e16 WHIRLPOOL 77242fcff54794610f2f4d2793666f07e7fe9084743eb49debed0dfd75e461b280fab91b2d69f2705ef7d5d2a88765f1199f85691bd8995e41ed8b2e9034acf7 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/net-dialup/pppconfig/files/pppconfig b/net-dialup/pppconfig/files/pppconfig new file mode 100644 index 000000000000..606300f2026b --- /dev/null +++ b/net-dialup/pppconfig/files/pppconfig @@ -0,0 +1,9 @@ +#!/bin/sh +# Since I don't feel like installing whiptail, we need to wrap this app +PPPCONFIG="/usr/sbin/pppconfig.real" +if [ -x ${PPPCONFIG} ]; then + $PPPCONFIG --dialog +else + echo "Error starting $PPPCONFIG" + exit 1 +fi diff --git a/net-dialup/pppconfig/metadata.xml b/net-dialup/pppconfig/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/net-dialup/pppconfig/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/net-dialup/pppconfig/pppconfig-2.3.21.ebuild b/net-dialup/pppconfig/pppconfig-2.3.21.ebuild new file mode 100644 index 000000000000..85b063a1b96b --- /dev/null +++ b/net-dialup/pppconfig/pppconfig-2.3.21.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="A text menu based utility for configuring ppp" +HOMEPAGE="https://packages.qa.debian.org/p/pppconfig.html" +SRC_URI="mirror://debian/pool/main/p/${PN}/${P/-/_}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ppc x86" +IUSE="nls" + +RDEPEND="net-dialup/ppp + dev-util/dialog + dev-lang/perl" +DEPEND="nls? ( sys-devel/gettext )" + +src_prepare() { + if use nls; then + strip-linguas -i po/ + fi +} + +src_compile() { + default + + if use nls; then + local lang + for lang in ${LINGUAS}; do + msgfmt -o po/${lang}.{m,p}o || die + done + fi +} + +src_install () { + dodir /etc/chatscripts /etc/ppp/resolv + dosbin 0dns-down 0dns-up dns-clean + newsbin pppconfig pppconfig.real + dosbin "${FILESDIR}/pppconfig" + doman man/pppconfig.8 + dodoc debian/{copyright,changelog} + + if use nls; then + local lang + for lang in ${LINGUAS}; do + insinto /usr/share/locale/${lang}/LC_MESSAGES + newins po/${lang}.mo pppconfig.mo + done + fi +} |