diff options
author | Eray Aslan <eras@gentoo.org> | 2013-04-26 10:47:36 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2013-04-26 10:47:36 +0000 |
commit | 7867e2f22b6ebedf27395185b2f2eea4dc5f9a0b (patch) | |
tree | 25c6975b46f44378b0247b171d6f38afdc692a00 /app-shells/smrsh | |
parent | Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER for automake-1.13 compabili... (diff) | |
download | gentoo-2-7867e2f22b6ebedf27395185b2f2eea4dc5f9a0b.tar.gz gentoo-2-7867e2f22b6ebedf27395185b2f2eea4dc5f9a0b.tar.bz2 gentoo-2-7867e2f22b6ebedf27395185b2f2eea4dc5f9a0b.zip |
Version bump
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
Diffstat (limited to 'app-shells/smrsh')
-rw-r--r-- | app-shells/smrsh/ChangeLog | 7 | ||||
-rw-r--r-- | app-shells/smrsh/smrsh-8.14.7.ebuild | 54 |
2 files changed, 60 insertions, 1 deletions
diff --git a/app-shells/smrsh/ChangeLog b/app-shells/smrsh/ChangeLog index 827e5abf63ed..05aafbf3cb7a 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.12 2013/01/15 14:28:17 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/smrsh/ChangeLog,v 1.13 2013/04/26 10:47:36 eras Exp $ + +*smrsh-8.14.7 (26 Apr 2013) + + 26 Apr 2013; Eray Aslan <eras@gentoo.org> +smrsh-8.14.7.ebuild: + Version bump *smrsh-8.14.6 (15 Jan 2013) diff --git a/app-shells/smrsh/smrsh-8.14.7.ebuild b/app-shells/smrsh/smrsh-8.14.7.ebuild new file mode 100644 index 000000000000..614cf2e377b9 --- /dev/null +++ b/app-shells/smrsh/smrsh-8.14.7.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/smrsh/smrsh-8.14.7.ebuild,v 1.1 2013/04/26 10:47:36 eras 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 +} |