From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DEE5A1382C5 for ; Mon, 25 May 2020 11:17:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03DD7E0729; Mon, 25 May 2020 11:17:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DDA16E0729 for ; Mon, 25 May 2020 11:17:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8F48734F024 for ; Mon, 25 May 2020 11:17:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC463268 for ; Mon, 25 May 2020 11:17:46 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1590405431.80bbda5bfac7dd4b6727f17b1bfbed04bbf773f1.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/etherdfs/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/etherdfs/etherdfs-20180203-r1.ebuild X-VCS-Directories: net-misc/etherdfs/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 80bbda5bfac7dd4b6727f17b1bfbed04bbf773f1 X-VCS-Branch: master Date: Mon, 25 May 2020 11:17:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 23748fb5-35a6-473b-bbda-c9d5f81be604 X-Archives-Hash: cb080fcabc09c07ab739a4abe888681e commit: 80bbda5bfac7dd4b6727f17b1bfbed04bbf773f1 Author: Conrad Kostecki gentoo org> AuthorDate: Mon May 25 11:17:11 2020 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Mon May 25 11:17:11 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80bbda5b net-misc/etherdfs: respect users LDFLAGS Closes: https://bugs.gentoo.org/725236 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Conrad Kostecki gentoo.org> net-misc/etherdfs/etherdfs-20180203-r1.ebuild | 60 +++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/net-misc/etherdfs/etherdfs-20180203-r1.ebuild b/net-misc/etherdfs/etherdfs-20180203-r1.ebuild new file mode 100644 index 00000000000..d5a7bfb7698 --- /dev/null +++ b/net-misc/etherdfs/etherdfs-20180203-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="ethersrv-linux" +MY_PV_TSR="0.8.2" +MY_P="${MY_PN}-${PV}" + +inherit systemd toolchain-funcs + +DESCRIPTION="An ethernet-based file system for DOS" +HOMEPAGE="http://etherdfs.sourceforge.net/" +SRC_URI=" + mirror://sourceforge/${PN}/${MY_P}.tar.xz + tsr? ( mirror://sourceforge/${PN}/v${MY_PV_TSR}/${PN}.zip -> ${P}.zip ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="tsr" + +BDEPEND="tsr? ( app-arch/unzip )" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( "${FILESDIR}/${P}-makefile.patch" ) + +DOCS=( "ethersrv-linux.txt" "history.txt" ) + +src_prepare() { + default + + # Respect users LDFLAGS + sed -e 's/$(CFLAGS)/& $(LDFLAGS)/' -i Makefile || die +} + +src_compile() { + tc-export CC + + default +} + +src_install() { + dobin ethersrv-linux + + if use tsr; then + insinto /usr/share/etherdfs + newins ../ETHERDFS.EXE etherdfs.exe + + DOCS+=( "../ETHERDFS.TXT" "../HISTORY.TXT" ) + fi + + newinitd "${FILESDIR}"/etherdfs.initd etherdfs + newconfd "${FILESDIR}"/etherdfs.confd etherdfs + systemd_dounit "${FILESDIR}"/etherdfs.service + + einstalldocs +}