From 14866757225815b9374acfc8453518951e0f910d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 8 Aug 2024 12:38:45 +0100 Subject: gentoo auto-resync : 08:08:2024 - 12:38:45 --- net-mail/mailfront/Manifest | 2 +- net-mail/mailfront/mailfront-2.22-r1.ebuild | 73 +++++++++++++++++++++++++++++ net-mail/mailfront/mailfront-2.22.ebuild | 61 ------------------------ 3 files changed, 74 insertions(+), 62 deletions(-) create mode 100644 net-mail/mailfront/mailfront-2.22-r1.ebuild delete mode 100644 net-mail/mailfront/mailfront-2.22.ebuild (limited to 'net-mail/mailfront') diff --git a/net-mail/mailfront/Manifest b/net-mail/mailfront/Manifest index 9b15cfb0fad4..d5d077ea3254 100644 --- a/net-mail/mailfront/Manifest +++ b/net-mail/mailfront/Manifest @@ -1,5 +1,5 @@ AUX run-pop3front 269 BLAKE2B 6b5489f24331cc059359c07919efad67759854508e8f544ad50bb567940a7fd62730b61f92652e7e91af147c6911058ec91c16960e2d3b68cf25b0f043fbc292 SHA512 87515965e39f8436965704054cdb35a1665ea21080b01a27a4442af7c939307e093ddc85edeae2398b29b21bd867f9ef557c9abccc6b4318304f620ed13e3a11 AUX run-smtpfront 461 BLAKE2B 6b247811ecb101995a3ba6e7b7a15174020a8a16296e7d5ff93f3e7bb6f4d18998b79ed4aca4135ed3f4dea71dcc681d23e30bb35f493735f47da91e666633b3 SHA512 c8c1301d1972d4a415e549f0b9702e3670b44d258ceca606e868592d36f9cdc15ed587c25d24f17577a4d2934d59a3639a6ec66e11f9f00ed54716bdbd6dc4da DIST mailfront-2.22.tar.gz 128355 BLAKE2B 593598c353aee9c264690de4af5d472bb4b965cb14aa774a0be6fdece200e078a1e2dbe1feca8135e05a54dad2e0fd3378a4a5903f9a45ccffa260fbbbd2edb6 SHA512 30e1c561f8836bbaf893897b1e864539c44600c4b605d4c8c51c1156c9227967a4ac9e2e9eb0b48bb1827001aff2c6a94e9f44c59bf10e16b5d98595c6a9f2f6 -EBUILD mailfront-2.22.ebuild 1720 BLAKE2B 8ddb06ab454ee4ec7d37edfaeb0ef401cf8f75c01769fcaabca48baee177036d4acace182a725d58d04ea07124a8b1c6c5e2ab4916aaf4a3ebbcbc2df501a2c9 SHA512 946c9d31b9e39a07776b0ecf0da7a86f1f1d48adf9efdab933f25c00a7413d0ba5837982ef781dbaa0a12d03915703548c1f6664918735c2531458b38a8a96ad +EBUILD mailfront-2.22-r1.ebuild 2100 BLAKE2B 2e4bd76271963c7c55eda15e8ea1930fa8d93af9072ee9db636ae4cf0b76d9c2732988c7f635273b34aa191b6c55897d90a698374b2c22058adce81d4f171af2 SHA512 a3ce6ad114d2a0ed3be085afc7d4beb014fa0e90334433f7ae416a1caab481ec613b2b26c2e2747829b4214a35fa22a74b2a1b93d783a628d49007bf21210561 MISC metadata.xml 583 BLAKE2B 9866b0de164304769cc78d7d518c7ac06b0829103da565930b50c7e0d719ffb3d0b4323199bae0438c8e64171be677c7129eee8364fd18a043196fd163375ce7 SHA512 20c3b90a16d0fb5e1072bdf71ac5a73d14ac6a6899318a6628c12abf935980ee43aab1c588f8262e2cfd70a6bf5a9364689e2c4b68978b4aaea2a9cf5c22cf57 diff --git a/net-mail/mailfront/mailfront-2.22-r1.ebuild b/net-mail/mailfront/mailfront-2.22-r1.ebuild new file mode 100644 index 000000000000..d7880f49f5c7 --- /dev/null +++ b/net-mail/mailfront/mailfront-2.22-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Mail server network protocol front-ends" +HOMEPAGE="https://untroubled.org/mailfront/" +SRC_URI="https://untroubled.org/mailfront/archive/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" + +DEPEND=">=dev-libs/bglibs-2.04 + >=net-libs/cvm-0.81" +RDEPEND="${DEPEND} + virtual/qmail + net-libs/cvm" + +src_prepare() { + default + local sed_args=( + # make compilation more verbose + -e '/exec/ {h;s/exec/echo/g;G}' + # replace AR and be more verbose, bug #792249 + -e "/ar cr/ {h;s/ar/echo &/;G;s:ar:$(tc-getAR):g}" + # replace RANLIB and be more verbose, bug #792252 + -e "/ranlib/ {h;s/ranlib/echo &/;G;s:ranlib:$(tc-getRANLIB):g}" + ) + sed -i "${sed_args[@]}" Makefile || die +} + +src_configure() { + echo "${EPREFIX}/var/qmail" > conf-qmail || die + echo "/var/qmail/bin" > conf-bin || die + echo "/usr/$(get_libdir)/mailfront" > conf-modules || die + echo "/usr/include" > conf-include || die + echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die + echo "$(tc-getCC) ${CFLAGS} -fPIC -shared ${LDFLAGS}" > conf-ccso || die + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die +} + +src_install() { + emake install install_prefix="${ED}" + exeinto /var/qmail/supervise/qmail-smtpd + newexe "${FILESDIR}"/run-smtpfront run.mailfront + exeinto /var/qmail/supervise/qmail-pop3d + newexe "${FILESDIR}"/run-pop3front run.mailfront + + dodoc ANNOUNCEMENT ChangeLog NEWS README TODO VERSION + docinto html + dodoc *.html +} + +pkg_config() { + cd "${EROOT}"/var/qmail/supervise/qmail-smtpd/ || die + [[ -e run ]] && ( cp run run.qmail-smtpd.`date +%Y%m%d%H%M%S` || die ) + cp run.mailfront run || die + + cd "${EROOT}"/var/qmail/supervise/qmail-pop3d/ || die + [[ -e run ]] && ( cp run run.qmail-pop3d.`date +%Y%m%d%H%M%S` || die ) + cp run.mailfront run || die +} + +pkg_postinst() { + elog "Run" + elog "emerge --config '=${CATEGORY}/${PF}'" + elog "to update your run files (backups are created) in" + elog " /var/qmail/supervise/qmail-pop3d and" + elog " /var/qmail/supervise/qmail-smtpd" +} diff --git a/net-mail/mailfront/mailfront-2.22.ebuild b/net-mail/mailfront/mailfront-2.22.ebuild deleted file mode 100644 index 83c2bd634dde..000000000000 --- a/net-mail/mailfront/mailfront-2.22.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Mail server network protocol front-ends" -HOMEPAGE="https://untroubled.org/mailfront/" -SRC_URI="https://untroubled.org/mailfront/archive/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~sparc ~x86" -IUSE="" - -DEPEND=">=dev-libs/bglibs-2.04 - >=net-libs/cvm-0.81" -RDEPEND="${DEPEND} - virtual/qmail - net-libs/cvm" - -src_configure() { - echo "${EPREFIX}/var/qmail" > conf-qmail || die - echo "/var/qmail/bin" > conf-bin || die - echo "/usr/$(get_libdir)/mailfront" > conf-modules || die - echo "/usr/include" > conf-include || die - echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die - echo "$(tc-getCC) ${CFLAGS} -fPIC -shared" > conf-ccso || die - echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die -} - -src_install() { - emake install install_prefix="${ED}" - exeinto /var/qmail/supervise/qmail-smtpd - newexe "${FILESDIR}"/run-smtpfront run.mailfront - exeinto /var/qmail/supervise/qmail-pop3d - newexe "${FILESDIR}"/run-pop3front run.mailfront - - dodoc ANNOUNCEMENT ChangeLog NEWS README TODO VERSION - docinto html - dodoc *.html -} - -pkg_config() { - cd "${EROOT}"/var/qmail/supervise/qmail-smtpd/ || die - [[ -e run ]] && ( cp run run.qmail-smtpd.`date +%Y%m%d%H%M%S` || die ) - cp run.mailfront run || die - - cd "${EROOT}"/var/qmail/supervise/qmail-pop3d/ || die - [[ -e run ]] && ( cp run run.qmail-pop3d.`date +%Y%m%d%H%M%S` || die ) - cp run.mailfront run || die -} - -pkg_postinst() { - elog "Run" - elog "emerge --config '=${CATEGORY}/${PF}'" - elog "to update your run files (backups are created) in" - elog " /var/qmail/supervise/qmail-pop3d and" - elog " /var/qmail/supervise/qmail-smtpd" -} -- cgit v1.2.3