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 4A5B713835A for ; Sat, 17 Apr 2021 19:20:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C8BA2E086D; Sat, 17 Apr 2021 19:20:34 +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 A56C8E086D for ; Sat, 17 Apr 2021 19:20:34 +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 80C24340A9D for ; Sat, 17 Apr 2021 19:20:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 370BB72D for ; Sat, 17 Apr 2021 19:20:29 +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: <1618687175.6db97a29e135e71a1425be553b2240b1a0db2c7c.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/cntlm/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/cntlm/cntlm-0.93_beta5-r3.ebuild X-VCS-Directories: net-proxy/cntlm/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 6db97a29e135e71a1425be553b2240b1a0db2c7c X-VCS-Branch: master Date: Sat, 17 Apr 2021 19:20:29 +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: 927c2b4e-def3-4310-ab1d-162ddd21c329 X-Archives-Hash: b4daa3f95c1f00ee5e023b6c2a0a3201 commit: 6db97a29e135e71a1425be553b2240b1a0db2c7c Author: Conrad Kostecki gentoo org> AuthorDate: Sat Apr 17 18:50:58 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Apr 17 19:19:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6db97a29 net-proxy/cntlm: migrate to glep 81 Closes: https://bugs.gentoo.org/781458 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> net-proxy/cntlm/cntlm-0.93_beta5-r3.ebuild | 50 ++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/net-proxy/cntlm/cntlm-0.93_beta5-r3.ebuild b/net-proxy/cntlm/cntlm-0.93_beta5-r3.ebuild new file mode 100644 index 00000000000..4c6879ddacc --- /dev/null +++ b/net-proxy/cntlm/cntlm-0.93_beta5-r3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd toolchain-funcs + +DESCRIPTION="Cntlm is an NTLM/NTLMv2 authenticating HTTP proxy" +HOMEPAGE="http://cntlm.sourceforge.net/" +SRC_URI="http://ftp.awk.cz/pub/${P//_}.tar.gz" +S="${WORKDIR}/${P//_}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + acct-group/cntlm + acct-user/cntlm +" + +src_prepare() { + default + eapply -p0 "${FILESDIR}"/${P}-buildsystem.patch # 334647 +} + +src_configure() { + tc-export CC + + econf + + # Replace default config file path in Makefile + sed -e 's~SYSCONFDIR=/usr/local/etc~SYSCONFDIR=/etc~' -i "${S}"/Makefile || die +} + +src_compile() { + emake V=1 +} + +src_install() { + dobin cntlm + dodoc COPYRIGHT README VERSION doc/cntlm.conf + doman doc/cntlm.1 + newinitd "${FILESDIR}"/cntlm.initd cntlm + newconfd "${FILESDIR}"/cntlm.confd cntlm + systemd_dounit "${FILESDIR}"/cntlm.service + insinto /etc + insopts -m0600 + doins doc/cntlm.conf +}