From 1bc9c3b9d5a8c51b67f6ea2f57bdd76ff5073097 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Sep 2022 03:11:19 +0100 Subject: gentoo auto-resync : 28:09:2022 - 03:11:19 --- net-dialup/dwun/Manifest | 4 ++ net-dialup/dwun/dwun-0.96e-r6.ebuild | 58 ++++++++++++++++++++++ ...dwun-0.96e-implicit-function-declarations.patch | 14 ++++++ .../dwun/files/dwun-0.96e-rename-configure.patch | 9 ++++ net-dialup/dwun/files/dwun-0.96e-respect-AR.patch | 11 ++++ 5 files changed, 96 insertions(+) create mode 100644 net-dialup/dwun/dwun-0.96e-r6.ebuild create mode 100644 net-dialup/dwun/files/dwun-0.96e-implicit-function-declarations.patch create mode 100644 net-dialup/dwun/files/dwun-0.96e-rename-configure.patch create mode 100644 net-dialup/dwun/files/dwun-0.96e-respect-AR.patch (limited to 'net-dialup/dwun') diff --git a/net-dialup/dwun/Manifest b/net-dialup/dwun/Manifest index 161b7f07844e..ba71b8c77309 100644 --- a/net-dialup/dwun/Manifest +++ b/net-dialup/dwun/Manifest @@ -1,5 +1,9 @@ AUX dwun 432 BLAKE2B a9a5fbfb9d4aea40c157dec74347b3611d35989ded3e1bff5541fd0890f237b8b836631d79859defc8c075201d0de4708f58d1c16abc5cfc43070121863606be SHA512 daef582f4ecac47ddc826976eb1d1b97f06664c584b9501dd72068749a8724ac06a3780bb0fee2c84307db4d343b05b1a8663d05fb56a9a52a31c28939208d2c AUX dwun-0.96e-fno-common.patch 855 BLAKE2B 5945fc76cba0338d33edb17d33ffc53eac8e1f02a7323f105212a4fed23af524c1163eb88419715b09576a19c0ad67411d16e63e7048a9a0f91861519b00b9f6 SHA512 959a9561ed2134c3e08a6b0bb17a4d0107c2e246af517de26bfb480c035da2c45ea04d38aaf4e00c0132ffcdb8d17d538d51862e2854ca0bd28b33d8a383019b +AUX dwun-0.96e-implicit-function-declarations.patch 270 BLAKE2B ad11eb28e0ff347bdd41913cb7a51853e1dbcdebe48c2271d02ca7a4ae93c3cc273fd99b05c1dc30b650bb5e4d401cbcc3049e7f41b5f5db3b40c3ffdba57ef9 SHA512 d41c3046d019dc691e3c855aad17711790fa8be947268a511e62ae5c2ca42c730ac8ff86c32c2ea9293afaa684b4cf5ab57c9793c11908f67402e305d79ba1be +AUX dwun-0.96e-rename-configure.patch 229 BLAKE2B 45007d3ff77676a0bd26e47f22359d4365124eb0297423e5d74dd1388039c9309cf6ecd74d1b62a9f6f1348a43d1c2e8f7753bd6686235796be3b748dac1204b SHA512 b8368d0573be73ede77e1009bfdabd564b5aeb06288b1c223529612c709468ee976a7e5c173f743eeeca4c7c652cdc085d674f397e9cbf6f941d09c180c324e7 +AUX dwun-0.96e-respect-AR.patch 197 BLAKE2B 74d1bafac5209bd5feb6cc37a57b662f2c3b583f0ea346c26ec36b66021fb1f0c64689405c09bc9bec2067fb5d2c95211c64ee4d96ac32d647140f9a35c65f03 SHA512 494caa3ac8a021c5c6a6187c9af6af3d0f5e5a8c5a0c580f0b6a49a754a9e9253fc1200db5d26f7346dd6e9f0b35b5e38346dd66f2505a6e1519c305c3866027 DIST dwun-0.96e.tar.gz 147960 BLAKE2B 2f1a414d629ff7d0c4f35c37b803819f141385225f151b8d6cb2ef0ad53aaa22067d974f085c5d239bb42c0faa1e8330a7ca1dba83a6c78cd24f802d78223663 SHA512 6763acd60192f18ffd81edd4f4e18ccfb8c5ac3882db96f9b7d2d032e9a0c61cb843094222744525a9927981c8cc7a603fd0aa1e1d4309d3f7fab21fec028115 EBUILD dwun-0.96e-r5.ebuild 1116 BLAKE2B 2499e4683d25514ceeaaede60faf6ac4b5a6165836f841ff0dfbb13d370b33d4e0fe436a2ca1f54154a91a057475505abf34ab7a69fd2c381a7f16557f40bc0d SHA512 11472298d9afa4d10ed46a9bfd754bf46c6d132145c1616010a49304337fa08d0048d01dc1032c97ca8d19b5419f65fe2959edc3779c518f31bc11985dd27581 +EBUILD dwun-0.96e-r6.ebuild 1280 BLAKE2B c6082e52b87d1681c9e54f4500b3b7d4ab7329616452e807b2e002b22effe13c916883c0b2c898cead598ed9b7f2027254af00c997073a98f434975eae352cfb SHA512 11da1e6171ce8dac87340a1507ad4f8e9c0c888f28da22b64151e3f212fe41e31191f004f5bb0718b9202b7f6e4b3be5e2f781a2f5b47ad4f581ce2cee5272fa MISC metadata.xml 242 BLAKE2B 3dd01820b25dfce48bdcb098afc1ad532cfcebd5aa504a5493726dfb5ff272da357446e70cfa1e2b64607b8694aab1838c0e09bc1042bcea362993ffed52616a SHA512 a0805b54a405be239acdfaaeaa18ac5af08646d9906c336853aa88ec5228066f840543f503e711f0b5f61a76626977630225504abf94fa2baa6c951faf40bf63 diff --git a/net-dialup/dwun/dwun-0.96e-r6.ebuild b/net-dialup/dwun/dwun-0.96e-r6.ebuild new file mode 100644 index 000000000000..0211e24e3a07 --- /dev/null +++ b/net-dialup/dwun/dwun-0.96e-r6.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools 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 ) + +PATCHES=( + "${FILESDIR}"/${P}-fno-common.patch + "${FILESDIR}"/${P}-rename-configure.patch + "${FILESDIR}"/${P}-implicit-function-declarations.patch + "${FILESDIR}"/${P}-respect-AR.patch +) + +src_prepare() { + default + + sed -i -e "s:TODO QUICKSTART README UPGRADING ChangeLog COPYING AUTHORS::" Makefile.in || die + + eautoreconf +} + +src_configure() { + tc-export CC + + 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 +} diff --git a/net-dialup/dwun/files/dwun-0.96e-implicit-function-declarations.patch b/net-dialup/dwun/files/dwun-0.96e-implicit-function-declarations.patch new file mode 100644 index 000000000000..11248396f145 --- /dev/null +++ b/net-dialup/dwun/files/dwun-0.96e-implicit-function-declarations.patch @@ -0,0 +1,14 @@ +Needed for asprintf. + +https://bugs.gentoo.org/870676 +--- a/configure.in ++++ b/configure.in +@@ -8,6 +8,8 @@ AC_PROG_CC + AC_PROG_RANLIB + AC_PROG_INSTALL + ++AC_USE_SYSTEM_EXTENSIONS ++ + dnl Checks for libraries. + AC_CHECK_LIB(crypt, crypt) + AC_CHECK_LIB(nsl, gethostbyname) diff --git a/net-dialup/dwun/files/dwun-0.96e-rename-configure.patch b/net-dialup/dwun/files/dwun-0.96e-rename-configure.patch new file mode 100644 index 000000000000..9a0a843d6efa --- /dev/null +++ b/net-dialup/dwun/files/dwun-0.96e-rename-configure.patch @@ -0,0 +1,9 @@ +--- a/configure.in ++++ b/configure.in +@@ -1,5 +1,5 @@ + dnl Process this file with autoconf to produce a configure script. +-AC_INIT(configure.in) ++AC_INIT(configure.ac) + AM_INIT_AUTOMAKE(dwun, 0.96e) + AM_CONFIG_HEADER(config.h) + diff --git a/net-dialup/dwun/files/dwun-0.96e-respect-AR.patch b/net-dialup/dwun/files/dwun-0.96e-respect-AR.patch new file mode 100644 index 000000000000..b0b3a707e858 --- /dev/null +++ b/net-dialup/dwun/files/dwun-0.96e-respect-AR.patch @@ -0,0 +1,11 @@ +https://bugs.gentoo.org/724968 +--- a/configure.in ++++ b/configure.in +@@ -7,6 +7,7 @@ dnl Checks for programs. + AC_PROG_CC + AC_PROG_RANLIB + AC_PROG_INSTALL ++AM_PROG_AR + + AC_USE_SYSTEM_EXTENSIONS + -- cgit v1.2.3