diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /mail-mta/esmtp | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'mail-mta/esmtp')
-rw-r--r-- | mail-mta/esmtp/Manifest | 2 | ||||
-rw-r--r-- | mail-mta/esmtp/esmtp-1.2-r2.ebuild | 48 | ||||
-rw-r--r-- | mail-mta/esmtp/files/esmtp-1.2-pkgconfig.patch | 29 |
3 files changed, 79 insertions, 0 deletions
diff --git a/mail-mta/esmtp/Manifest b/mail-mta/esmtp/Manifest index 8b78beff857a..27b62454b124 100644 --- a/mail-mta/esmtp/Manifest +++ b/mail-mta/esmtp/Manifest @@ -1,3 +1,5 @@ +AUX esmtp-1.2-pkgconfig.patch 761 BLAKE2B f3e041ad29b73b456f88771f67f0614dffe5da9e99f60465d9720adde27f8f84ab27b667cf04c12b8f1cc0c229500b747fe4ab456566eddc59001b41cf30f048 SHA512 ada3444f7ac1f1fa1a62f33444ab135ee6e1cc477cd740fe57a8313abf4d43d0651a0495207de5eef98875a05ac860e6556a6f3a19646d08a3876b11521a5f02 DIST esmtp-1.2.tar.bz2 127921 BLAKE2B 09823dace39d3fa7d525b85e33e6e64497ef81a6e2b4b1f3682e0576511b845c7cdf50602d6b1acd6d777ca34581d3727a337ff8cb7e737f278983c06fc8773c SHA512 a1e7b56743ba32b1778bf02d0abcbdb5e6e3cb7d592c3a23a575789de60dfd62a307d4aef06860c9553cc492cdde0fff0a42de53e9d4e972587a10f609be4821 EBUILD esmtp-1.2-r1.ebuild 940 BLAKE2B 099402570bd18146d4a1e9c26f7beeb06e919500e5f5ee8f3a153fc1aec9713d392e5c79be73eb85aa3fe8e5e33837afe592c7cab6dd11d94fa833caeeddb789 SHA512 f054e39ce72312b8f9b7d3e991cc6e5df57d891831dfeba61b6078e5c4d1a502b8131298006024ea318bfdd1d33c37bb2c1149a544724d564e34b8b7f1af7d87 +EBUILD esmtp-1.2-r2.ebuild 994 BLAKE2B cebbfeb4998699a4d64a6ac27166c037caf643e6a3b0354389ef95743fc0cae0404017a67fef53008d8bce6af3ff09d4ca8a46f59e85ad9a8ed2d7d189f47dd7 SHA512 82fcb3e3ea85c975abe6e0e3d5c247b37b256e163f6491cddb56214af650d6e815cec4f2dfac0a1403db3a305877ed4916e6ae7989c49f05d004a1b58ad6ce4e MISC metadata.xml 242 BLAKE2B 041399005c131e6e66967025968669f0ddb0972aa213f52e81852518a0005b7c478debfb6bc182443bb6a35066ebd6d3049c99d7b8e4a6272fd95960504e4d74 SHA512 8d906d3c3f37a584908f69913417a2c54ef0cde2709d7f2f88d25b932bfa18f98014a34f83d9ebd73f0508e324747ee48f412d909a0423892069fa9f03b78f37 diff --git a/mail-mta/esmtp/esmtp-1.2-r2.ebuild b/mail-mta/esmtp/esmtp-1.2-r2.ebuild new file mode 100644 index 000000000000..af0fec0f53e2 --- /dev/null +++ b/mail-mta/esmtp/esmtp-1.2-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="User configurable relay-only Mail Transfer Agent with a sendmail-like syntax" +HOMEPAGE="http://esmtp.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-libs/openssl:0= + >=net-libs/libesmtp-1.0.6_p20200824:= + !mail-mta/courier + !mail-mta/exim + !mail-mta/mini-qmail + !mail-mta/msmtp + !mail-mta/netqmail + !mail-mta/nullmailer + !mail-mta/postfix + !mail-mta/qmail-ldap + !mail-mta/sendmail + !mail-mta/ssmtp + !mail-mta/opensmtpd +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/flex + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}/${PN}-1.2-pkgconfig.patch" ) + +DOCS=( AUTHORS ChangeLog NEWS README TODO sample.esmtprc ) + +src_prepare() { + default + eautoreconf +} + +pkg_postinst() { + elog "A sample esmtprc file has been installed in /usr/share/doc/${PF}" +} diff --git a/mail-mta/esmtp/files/esmtp-1.2-pkgconfig.patch b/mail-mta/esmtp/files/esmtp-1.2-pkgconfig.patch new file mode 100644 index 000000000000..a96566a6f520 --- /dev/null +++ b/mail-mta/esmtp/files/esmtp-1.2-pkgconfig.patch @@ -0,0 +1,29 @@ +https://bugs.gentoo.org/782709 +--- a/configure.ac ++++ b/configure.ac +@@ -28,21 +28,14 @@ then + CPPFLAGS="$CPPFLAGS -I$with_libesmtp/include" + LDFLAGS="$LDFLAGS -L$with_libesmtp/lib" + AC_CHECK_HEADER(libesmtp.h, ,[AC_MSG_ERROR([libesmtp.h not found in $with_libesmtp])]) +-fi +-AC_MSG_CHECKING(for libESMTP) +-if libesmtp-config --version > /dev/null 2>&1 +-then +- AC_MSG_RESULT(yes) +- CFLAGS="$CFLAGS `libesmtp-config --cflags`" +- LIBS="$LIBS `libesmtp-config --libs`" +-else +- AC_MSG_RESULT(no) +- AC_MSG_ERROR(libESMTP library not found) + fi + ++PKG_CHECK_MODULES([libesmtp], [libesmtp-1.0]) ++CFLAGS="$CFLAGS ${libesmtp_CFLAGS}" ++LIBS="$LIBS ${libesmtp_LIBS}" ++ + jrf_FUNC_GETOPT + + AC_CHECK_FUNCS([getuid geteuid]) +- + AC_CONFIG_FILES([Makefile]) + AC_OUTPUT |