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 1F7FB138334 for ; Thu, 7 Nov 2019 06:08:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2FA14E08F5; Thu, 7 Nov 2019 06:08:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 0B06FE08F5 for ; Thu, 7 Nov 2019 06:08:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 AF06234C9F4 for ; Thu, 7 Nov 2019 06:08:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E20BA8A9 for ; Thu, 7 Nov 2019 06:08:16 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1573106874.3a4ca03df2b63c0cbd0e8d649a89a3637e9d63ec.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/cmd5checkpw/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-mail/cmd5checkpw/Manifest net-mail/cmd5checkpw/cmd5checkpw-0.30-r2.ebuild X-VCS-Directories: net-mail/cmd5checkpw/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 3a4ca03df2b63c0cbd0e8d649a89a3637e9d63ec X-VCS-Branch: master Date: Thu, 7 Nov 2019 06:08:16 +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: b38db54c-64c5-4c7c-9a27-d51dc74598ea X-Archives-Hash: b67be861a8a304c081c34e112951e0fa commit: 3a4ca03df2b63c0cbd0e8d649a89a3637e9d63ec Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon Oct 14 13:48:22 2019 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Nov 7 06:07:54 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a4ca03d net-mail/cmd5checkpw: bump to EAPI 7 Bug: https://bugs.gentoo.org/697248 Signed-off-by: Rolf Eike Beer sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/13299 Signed-off-by: Joonas Niilola gentoo.org> net-mail/cmd5checkpw/Manifest | 1 + net-mail/cmd5checkpw/cmd5checkpw-0.30-r2.ebuild | 65 +++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/net-mail/cmd5checkpw/Manifest b/net-mail/cmd5checkpw/Manifest index c0c908bfe48..f8a8d35cf6f 100644 --- a/net-mail/cmd5checkpw/Manifest +++ b/net-mail/cmd5checkpw/Manifest @@ -1 +1,2 @@ DIST cmd5checkpw-030_tgz.bin 25812 BLAKE2B d1ef48edd2ff0d88823656915a04a8f0893840a49022ed977c6d178cf70d179c44504512ad44d94ae33d48e523ae8cb98ff7b87357b6c8deee761ae9df163bc5 SHA512 c54792769097ac7e8a11c6a140a9eefdb090bad4a0336be9543549a232e4faa72f08baea7e746b9743e01ce40c0f7402f4584c53b5eedb3f2d1e457d1c8a45d5 +DIST cmd5checkpw-0.30.tar.gz 25812 BLAKE2B d1ef48edd2ff0d88823656915a04a8f0893840a49022ed977c6d178cf70d179c44504512ad44d94ae33d48e523ae8cb98ff7b87357b6c8deee761ae9df163bc5 SHA512 c54792769097ac7e8a11c6a140a9eefdb090bad4a0336be9543549a232e4faa72f08baea7e746b9743e01ce40c0f7402f4584c53b5eedb3f2d1e457d1c8a45d5 diff --git a/net-mail/cmd5checkpw/cmd5checkpw-0.30-r2.ebuild b/net-mail/cmd5checkpw/cmd5checkpw-0.30-r2.ebuild new file mode 100644 index 00000000000..3a0b96995a4 --- /dev/null +++ b/net-mail/cmd5checkpw/cmd5checkpw-0.30-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit fixheadtails + +MY_VER=$(ver_rs 1- "") + +DESCRIPTION="A checkpassword compatible authentication program that used CRAM-MD5 authentication mode" +SRC_URI="https://www.fehcom.de/qmail/auth/${PN}-${MY_VER}_tgz.bin -> ${P}.tar.gz" +HOMEPAGE="https://www.fehcom.de/qmail/smtpauth.html" + +LICENSE="public-domain RSA" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +DEPEND="acct-user/cmd5checkpw" +RDEPEND="${DEPEND}" + +pkg_setup() { + if has_version "=qmail-1.03-r16" + ewarn + fi +} + +PATCHES=( + "${FILESDIR}"/euid_${MY_VER}.diff + "${FILESDIR}"/reloc.diff +) + +src_prepare() { + default + + ht_fix_file Makefile +} + +src_compile() { + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS} -o cmd5checkpw" +} + +src_install() { + insinto /etc + insopts -m 400 -o cmd5checkpw + doins "${FILESDIR}"/poppasswd + + exeinto /usr/bin + exeopts -o cmd5checkpw -m 4755 + doexe cmd5checkpw + + doman cmd5checkpw.8 + einstalldocs +} + +pkg_postinst() { + chmod 400 "${EROOT}"/etc/poppasswd || die + chown cmd5checkpw "${EROOT}"/etc/poppasswd || die +}