summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2014-06-09 05:57:41 +0000
committerPatrick Lauer <patrick@gentoo.org>2014-06-09 05:57:41 +0000
commitbd05ecfa2a31e7607b283da10edee1da34367d36 (patch)
treedb543db856eb29f6bc621002d4b0af11e266982c /app-shells/smrsh
parentRemove unneeded useflag description from metadata.xml (diff)
downloadgentoo-2-bd05ecfa2a31e7607b283da10edee1da34367d36.tar.gz
gentoo-2-bd05ecfa2a31e7607b283da10edee1da34367d36.tar.bz2
gentoo-2-bd05ecfa2a31e7607b283da10edee1da34367d36.zip
Bump
(Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-shells/smrsh')
-rw-r--r--app-shells/smrsh/ChangeLog9
-rw-r--r--app-shells/smrsh/smrsh-8.14.8.ebuild54
2 files changed, 61 insertions, 2 deletions
diff --git a/app-shells/smrsh/ChangeLog b/app-shells/smrsh/ChangeLog
index 19375553c882..9c02eb2f776b 100644
--- a/app-shells/smrsh/ChangeLog
+++ b/app-shells/smrsh/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-shells/smrsh
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/smrsh/ChangeLog,v 1.14 2013/07/04 12:24:39 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/smrsh/ChangeLog,v 1.15 2014/06/09 05:57:41 patrick Exp $
+
+*smrsh-8.14.8 (09 Jun 2014)
+
+ 09 Jun 2014; Patrick Lauer <patrick@gentoo.org> +smrsh-8.14.8.ebuild:
+ Bump
04 Jul 2013; Agostino Sarubbo <ago@gentoo.org> smrsh-8.14.7.ebuild:
Stable for x86, wrt bug #474152
diff --git a/app-shells/smrsh/smrsh-8.14.8.ebuild b/app-shells/smrsh/smrsh-8.14.8.ebuild
new file mode 100644
index 000000000000..0bc57e1764f6
--- /dev/null
+++ b/app-shells/smrsh/smrsh-8.14.8.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/smrsh/smrsh-8.14.8.ebuild,v 1.1 2014/06/09 05:57:41 patrick Exp $
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="Sendmail restricted shell, for use with MTAs other than Sendmail"
+HOMEPAGE="http://www.sendmail.org/"
+SRC_URI="ftp://ftp.sendmail.org/pub/sendmail/sendmail.${PV}.tar.gz"
+
+LICENSE="Sendmail"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-devel/m4
+ >=sys-apps/sed-4"
+RDEPEND="${DEPEND}
+ !mail-mta/sendmail"
+
+S="${WORKDIR}/sendmail-${PV}"
+
+src_prepare() {
+ cd "${S}/${PN}"
+ 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}/${PN}-8.14.5-site.config.m4" \
+ > "${S}/devtools/Site/site.config.m4" || die "sed failed"
+}
+
+src_compile() {
+ cd "${S}/${PN}"
+ /bin/sh Build
+}
+
+src_install() {
+ dosbin "${S}/obj.$(uname -s).$(uname -r).$(arch)/${PN}/${PN}" || die
+
+ cd "${S}/${PN}"
+ doman smrsh.8 || die
+ dodoc README || die
+
+ keepdir /var/lib/smrsh
+}
+
+pkg_postinst() {
+ elog "smrsh is compiled to look for programs in /var/lib/smrsh."
+ echo
+}