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 DB7F8139083 for ; Sun, 17 Dec 2017 18:51:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E6F7E0E2D; Sun, 17 Dec 2017 18:51:43 +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 0E5AFE0E2D for ; Sun, 17 Dec 2017 18:51:43 +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 E00E133BEAC for ; Sun, 17 Dec 2017 18:51:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 55700ADCA for ; Sun, 17 Dec 2017 18:51:40 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1513536691.8f70c1a3e93eb21ec8a9870aa83100864bc80f76.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/nail/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-client/nail/nail-12.4-r2.ebuild mail-client/nail/nail-12.4.ebuild X-VCS-Directories: mail-client/nail/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: 8f70c1a3e93eb21ec8a9870aa83100864bc80f76 X-VCS-Branch: master Date: Sun, 17 Dec 2017 18:51:40 +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-Archives-Salt: 5c4d0f14-199b-493f-969b-6d2ed9bd519c X-Archives-Hash: d81b132b5542a50a6b05f0cef8c27e82 commit: 8f70c1a3e93eb21ec8a9870aa83100864bc80f76 Author: Mikle Kolyada gentoo org> AuthorDate: Sun Dec 17 18:51:31 2017 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Sun Dec 17 18:51:31 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f70c1a3 mail-client/nail: Drop old Package-Manager: Portage-2.3.13, Repoman-2.3.3 mail-client/nail/nail-12.4-r2.ebuild | 106 ----------------------------------- mail-client/nail/nail-12.4.ebuild | 90 ----------------------------- 2 files changed, 196 deletions(-) diff --git a/mail-client/nail/nail-12.4-r2.ebuild b/mail-client/nail/nail-12.4-r2.ebuild deleted file mode 100644 index ca0cec9d82f..00000000000 --- a/mail-client/nail/nail-12.4-r2.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit eutils toolchain-funcs - -HOMEPAGE="http://heirloom.sourceforge.net/" -DESCRIPTION="an enhanced mailx-compatible mail client" -LICENSE="BSD" - -MY_PN="mailx" -MY_P="${MY_PN}-${PV}" -SRC_URI="mirror://sourceforge/project/heirloom/heirloom-${MY_PN}/${PV}/${MY_P}.tar.bz2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="ssl net kerberos" - -RDEPEND=" - net? ( - ssl? ( dev-libs/openssl ) - kerberos? ( virtual/krb5 ) - ) - !mail-client/mailx - !net-mail/mailutils -" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -undef() { - sed -i -e "/$1/s:#define:#undef:" config.h || die -} - -droplib() { - sed -i -e "/$1/s:^:#:" LIBS || die -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-debian.patch \ - "${FILESDIR}"/${P}-openssl-1.patch - # Do not strip the binary - sed -i -e '/STRIP/d' Makefile -} - -src_configure() { - # Build config.h and LIBS, neccesary to tweak the config - # use -j1 because it will produce bogus output otherwise - emake -j1 config.h LIBS || die - - # Logic to 'configure' the package - - if ! use ssl || ! use net ; then - undef 'USE_\(OPEN\)\?SSL' - droplib -lssl - fi - - if ! use kerberos || ! use net ; then - undef 'USE_GSSAPI' - droplib -lgssapi_krb5 - fi - - if ! use net ; then - undef 'HAVE_SOCKETS' - fi -} - -src_compile() { - # No configure script to check for and set this - tc-export CC - - emake \ - CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" \ - PREFIX="${EPREFIX}"/usr SYSCONFDIR="${EPREFIX}"/etc \ - SENDMAIL="${EPREFIX}/usr/sbin/sendmail" \ - MAILSPOOL='/var/spool/mail' \ - || die "emake failed" -} - -src_install () { - # Use /usr/sbin/sendmail by default and provide an example - cat <<- EOSMTP >> nail.rc - - # Use the local sendmail (/usr/sbin/sendmail) binary by default. - # (Uncomment the following line to use a SMTP server) - #set smtp=localhost - - # Ask for CC: list too. - set askcc - EOSMTP - - emake DESTDIR="${D}" \ - UCBINSTALL=$(type -p install) \ - PREFIX="${EPREFIX}"/usr SYSCONFDIR="${EPREFIX}"/etc install \ - || die - - dodoc AUTHORS README || die - - dodir /bin - dosym ../usr/bin/mailx /bin/mail || die - dosym mailx /usr/bin/mail || die - dosym mailx /usr/bin/Mail || die - - dosym mailx.1 /usr/share/man/man1/mail.1 || die - dosym mailx.1 /usr/share/man/man1/Mail.1 || die -} diff --git a/mail-client/nail/nail-12.4.ebuild b/mail-client/nail/nail-12.4.ebuild deleted file mode 100644 index 00e9a0fd8c7..00000000000 --- a/mail-client/nail/nail-12.4.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit eutils toolchain-funcs - -HOMEPAGE="http://heirloom.sourceforge.net/" -DESCRIPTION="an enhanced mailx-compatible mail client" -LICENSE="BSD" - -MY_PN="mailx" -MY_P="${MY_PN}-${PV}" -SRC_URI="mirror://sourceforge/project/heirloom/heirloom-${MY_PN}/${PV}/${MY_P}.tar.bz2" -SLOT="0" -KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" -IUSE="ssl net kerberos" - -RDEPEND=" - ssl? ( dev-libs/openssl ) - kerberos? ( virtual/krb5 ) - !mail-client/mailx - !net-mail/mailutils -" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -remove_ssl() { - elog "Disabling SSL support" - sed -i -e 's~#define USE_\(OPEN\)\?SSL~#undef USE_\1SSL~' config.h - sed -i -e 's~-ssl~~' -e 's~-lcrypto~~' LIBS -} - -remove_sockets() { - elog "Not enabling sockets (thus disabling IMAP, POP and SMTP)" - sed -i -e 's~#define HAVE_SOCKETS~#undef HAVE_SOCKETS~' config.h -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-debian.patch \ - "${FILESDIR}"/${P}-openssl-1.patch - # Do not strip the binary - sed -i -e '/STRIP/d' Makefile -} - -src_configure() { - # Build config.h and LIBS, neccesary to tweak the config - make config.h LIBS - - # Logic to 'configure' the package - if use net && ! use ssl ; then - remove_ssl - elif ! use net ; then - # Linking to ssl without net support is pointless - remove_ssl - remove_sockets - fi -} - -src_compile() { - # No configure script to check for and set this - tc-export CC - - emake \ - CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" - PREFIX="${EPREFIX}"/usr SYSCONFDIR="${EPREFIX}"/etc \ - MAILSPOOL='/var/spool/mail' \ - || die "emake failed" -} - -src_install () { - # Use /usr/lib/sendmail by default and provide an example - cat <<- EOSMTP >> nail.rc - - # Use the local sendmail (/usr/lib/sendmail) binary by default. - # (Uncomment the following line to use a SMTP server) - #set smtp=localhost - EOSMTP - - make DESTDIR="${D}" \ - UCBINSTALL=$(type -p install) \ - PREFIX="${EPREFIX}"/usr SYSCONFDIR="${EPREFIX}"/etc install \ - || die - dodoc AUTHORS README - dodir /bin - dosym /usr/bin/mailx /bin/mail - dosym /usr/bin/mailx /usr/bin/mail - dosym /usr/bin/mailx /usr/bin/Mail -}