From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/smrsh/
Date: Thu, 10 Apr 2025 09:34:00 +0000 (UTC) [thread overview]
Message-ID: <1744277575.9a67fe5a0ea3bc1a430a615711d71d9f366b75f6.sam@gentoo> (raw)
commit: 9a67fe5a0ea3bc1a430a615711d71d9f366b75f6
Author: Cristian Othón Martínez Vera <cfuga <AT> cfuga <DOT> mx>
AuthorDate: Thu Apr 3 16:16:19 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 10 09:32:55 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a67fe5a
app-shells/smrsh: bump to version 8.18.1, add myself as maintainer
Signed-off-by: Cristian Othón Martínez Vera <cfuga <AT> cfuga.mx>
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-shells/smrsh/Manifest | 1 +
app-shells/smrsh/metadata.xml | 9 +++++-
app-shells/smrsh/smrsh-8.18.1.ebuild | 60 ++++++++++++++++++++++++++++++++++++
3 files changed, 69 insertions(+), 1 deletion(-)
diff --git a/app-shells/smrsh/Manifest b/app-shells/smrsh/Manifest
index 0134628b792a..f10117beed3b 100644
--- a/app-shells/smrsh/Manifest
+++ b/app-shells/smrsh/Manifest
@@ -1 +1,2 @@
DIST sendmail.8.15.2.tar.gz 2207417 BLAKE2B 3d9dfb5bc2b535e30ef2fc61333e12a9b1fc45a5d730d2bed1ef956adb574721833f87aeba0475705b76e0c7d6cf00f9a10025bffb0de6c6b4dae606eb2ec399 SHA512 04feb37316c13b66b1518596507a7da7c16cb0bf1abf10367f7fd888a428fadb093a9efa55342fa55b936c3f0cbdc63b9e2505cd99201a69a0c05b8ad65f49f9
+DIST sendmail.8.18.1.tar.gz 2401566 BLAKE2B 3afa36073fd611c7fdb43ef0ab9f02d5fb8ae388e9471bdc7275c6c9dcee0a654f46ddef505b70e978cb1b818b0da375250678e501676d8bace534d59ee40d90 SHA512 9ce713b44439d4de6faa9e3cdfa2226b44b4fbeb352a5f81584c062570e9472da244158287e489aabe258d28fe54ca4964565c7b0adc7e1763d212be42f98061
diff --git a/app-shells/smrsh/metadata.xml b/app-shells/smrsh/metadata.xml
index 85e4ed814fa2..5ba86804120d 100644
--- a/app-shells/smrsh/metadata.xml
+++ b/app-shells/smrsh/metadata.xml
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
+ <maintainer type="person" proxied="yes">
+ <email>cfuga@cfuga.mx</email>
+ <name>Cristian Othón Martínez Vera</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
</pkgmetadata>
diff --git a/app-shells/smrsh/smrsh-8.18.1.ebuild b/app-shells/smrsh/smrsh-8.18.1.ebuild
new file mode 100644
index 000000000000..bada1d80ba8b
--- /dev/null
+++ b/app-shells/smrsh/smrsh-8.18.1.ebuild
@@ -0,0 +1,60 @@
+# 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() {
+ 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:@@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."
+}
next reply other threads:[~2025-04-10 9:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-10 9:34 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-02 1:43 [gentoo-commits] repo/gentoo:master commit in: app-shells/smrsh/ Sam James
2025-04-02 1:43 Sam James
2024-01-13 20:46 Conrad Kostecki
2022-11-13 18:34 Conrad Kostecki
2021-04-21 19:55 Sam James
2020-03-24 13:32 Ben Kohler
2015-10-16 6:29 Patrice Clement
2015-10-15 20:51 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1744277575.9a67fe5a0ea3bc1a430a615711d71d9f366b75f6.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox