mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
app-shells/smrsh: drop 8.15.2-r1, 8.18.1
Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx> Part-of: https://github.com/gentoo/gentoo/pull/45696 Closes: https://github.com/gentoo/gentoo/pull/45696 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
b72e2516f4
commit
b15176b347
@@ -1,4 +1,3 @@
|
||||
DIST sendmail.8.15.2.tar.gz 2207417 BLAKE2B 3d9dfb5bc2b535e30ef2fc61333e12a9b1fc45a5d730d2bed1ef956adb574721833f87aeba0475705b76e0c7d6cf00f9a10025bffb0de6c6b4dae606eb2ec399 SHA512 04feb37316c13b66b1518596507a7da7c16cb0bf1abf10367f7fd888a428fadb093a9efa55342fa55b936c3f0cbdc63b9e2505cd99201a69a0c05b8ad65f49f9
|
||||
DIST sendmail.8.18.1.tar.gz 2401566 BLAKE2B 3afa36073fd611c7fdb43ef0ab9f02d5fb8ae388e9471bdc7275c6c9dcee0a654f46ddef505b70e978cb1b818b0da375250678e501676d8bace534d59ee40d90 SHA512 9ce713b44439d4de6faa9e3cdfa2226b44b4fbeb352a5f81584c062570e9472da244158287e489aabe258d28fe54ca4964565c7b0adc7e1763d212be42f98061
|
||||
DIST sendmail.8.18.1.tar.gz.sig 543 BLAKE2B f5f8ffaee2b4380babb033257aa30a3ade3686f3ae3dc4ced3beb25698c1917489e05456cf6b3cfcf3f0a8a1725ac42a6ce1db317939f944012e994672f6c22d SHA512 a1b3fc2278061c220ca36b954e333867a187b52c32ecd10793a12c1c90c0466bc3f1e6f76ca3aeaaf02e14f71f8cef418f5291557461b61509ed255c55c6ef47
|
||||
DIST sendmail.8.18.2.tar.gz 2372458 BLAKE2B a291006fd498d61b8fe19eb02cdeb92f83cef68b5c3db0c8b6479edb8e4722ed2d2ae03cf39553c0631224a1dfa00754cf4ea32bb7bc762ad8152ccaebe606dc SHA512 55515220ea84db4b56b8154efbf21aeb7161943c92bd63527cfc20169ea566e299cc289f0a6e160dc5637f656bdc451707003750d4b42a7894d40f35f51f6040
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Note: please bump this together with mail-mta/sendmail and mail-filter/libmilter
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Sendmail restricted shell, for use with MTAs other than Sendmail"
|
||||
HOMEPAGE="https://www.proofpoint.com/us/products/email-protection/open-source-email-solution"
|
||||
if [[ -n $(ver_cut 4) ]] ; then
|
||||
# Snapshots have an extra version component (e.g. 8.17.1 vs 8.17.1.9)
|
||||
SRC_URI="https://ftp.sendmail.org/snapshots/sendmail.${PV}.tar.gz"
|
||||
fi
|
||||
SRC_URI+=" https://ftp.sendmail.org/sendmail.${PV}.tar.gz"
|
||||
SRC_URI+=" https://ftp.sendmail.org/past-releases/sendmail.${PV}.tar.gz"
|
||||
S="${WORKDIR}/sendmail-${PV}"
|
||||
|
||||
LICENSE="Sendmail"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="!mail-mta/sendmail"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/m4"
|
||||
|
||||
src_prepare() {
|
||||
local confENVDEF="-DXDEBUG=0"
|
||||
|
||||
eapply "${FILESDIR}"/${PN}-8.18.1-c23-sm_strtoll.patch
|
||||
|
||||
if use elibc_musl; then
|
||||
eapply "${FILESDIR}"/${PN}-musl-disable-cdefs.patch
|
||||
confENVDEF+=" -DHASSTRERROR"
|
||||
fi
|
||||
|
||||
cd "${S}/${PN}" || die
|
||||
|
||||
default
|
||||
|
||||
sed -e "s:/usr/libexec:/usr/sbin:g" \
|
||||
-e "s:/usr/adm/sm.bin:/var/lib/smrsh:g" \
|
||||
-i README -i smrsh.8 || die "sed failed"
|
||||
|
||||
sed -e "s|@@confCCOPTS@@|${CFLAGS}|" \
|
||||
-e "s|@@confLDOPTS@@|${LDFLAGS}|" \
|
||||
-e "s|@@confENVDEF@@|${confENVDEF}|" \
|
||||
-e "s:@@confCC@@:$(tc-getCC):" "${FILESDIR}/site.config.m4" \
|
||||
> "${S}/devtools/Site/site.config.m4" || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}/${PN}" || die
|
||||
/bin/sh Build AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin "${S}/obj.$(uname -s).$(uname -r).$(arch)/${PN}/${PN}"
|
||||
|
||||
cd "${S}/${PN}" || die
|
||||
doman "${PN}.8"
|
||||
dodoc README
|
||||
|
||||
keepdir /var/lib/${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "smrsh is compiled to look for programs in /var/lib/smrsh."
|
||||
}
|
||||
@@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Note: please bump this together with mail-mta/sendmail and mail-filter/libmilter
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Sendmail restricted shell, for use with MTAs other than Sendmail"
|
||||
HOMEPAGE="https://www.proofpoint.com/us/products/email-protection/open-source-email-solution"
|
||||
if [[ -n $(ver_cut 4) ]] ; then
|
||||
# Snapshots have an extra version component (e.g. 8.17.1 vs 8.17.1.9)
|
||||
SRC_URI="https://ftp.sendmail.org/snapshots/sendmail.${PV}.tar.gz"
|
||||
fi
|
||||
SRC_URI+=" https://ftp.sendmail.org/sendmail.${PV}.tar.gz"
|
||||
SRC_URI+=" https://ftp.sendmail.org/past-releases/sendmail.${PV}.tar.gz"
|
||||
S="${WORKDIR}/sendmail-${PV}"
|
||||
|
||||
LICENSE="Sendmail"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="!mail-mta/sendmail"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/m4"
|
||||
|
||||
src_prepare() {
|
||||
local confENVDEF="-DXDEBUG=0"
|
||||
|
||||
eapply "${FILESDIR}"/${PN}-8.18.1-c23-sm_strtoll.patch
|
||||
|
||||
if use elibc_musl; then
|
||||
eapply "${FILESDIR}"/${PN}-musl-disable-cdefs.patch
|
||||
confENVDEF+=" -DHASSTRERROR"
|
||||
fi
|
||||
|
||||
cd "${S}/${PN}" || die
|
||||
|
||||
default
|
||||
|
||||
sed -e "s:/usr/libexec:/usr/sbin:g" \
|
||||
-e "s:/usr/adm/sm.bin:/var/lib/smrsh:g" \
|
||||
-i README -i smrsh.8 || die "sed failed"
|
||||
|
||||
sed -e "s|@@confCCOPTS@@|${CFLAGS}|" \
|
||||
-e "s|@@confLDOPTS@@|${LDFLAGS}|" \
|
||||
-e "s|@@confENVDEF@@|${confENVDEF}|" \
|
||||
-e "s:@@confCC@@:$(tc-getCC):" "${FILESDIR}/site.config.m4" \
|
||||
> "${S}/devtools/Site/site.config.m4" || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}/${PN}" || die
|
||||
/bin/sh Build AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin "${S}/obj.$(uname -s).$(uname -r).$(arch)/${PN}/${PN}"
|
||||
|
||||
cd "${S}/${PN}" || die
|
||||
doman "${PN}.8"
|
||||
dodoc README
|
||||
|
||||
keepdir /var/lib/${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "smrsh is compiled to look for programs in /var/lib/smrsh."
|
||||
}
|
||||
Reference in New Issue
Block a user