diff options
author | Eray Aslan <eras@gentoo.org> | 2011-05-12 12:10:58 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2011-05-12 12:10:58 +0000 |
commit | 7ec90c953a003ca4991f016b0ca7826e997aeb5e (patch) | |
tree | 7fab35a5dcc5195bfc1ddb72af677c7710e350e8 /app-shells | |
parent | Version bump zeromq to 2.1.7. (diff) | |
download | gentoo-2-7ec90c953a003ca4991f016b0ca7826e997aeb5e.tar.gz gentoo-2-7ec90c953a003ca4991f016b0ca7826e997aeb5e.tar.bz2 gentoo-2-7ec90c953a003ca4991f016b0ca7826e997aeb5e.zip |
Version bump. Do not strip files bug #251872. Respect LDFLAGS bug #335981.
(Portage version: 2.1.9.48/cvs/Linux x86_64)
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/smrsh/ChangeLog | 10 | ||||
-rw-r--r-- | app-shells/smrsh/files/smrsh-8.14.4-site.config.m4 | 13 | ||||
-rw-r--r-- | app-shells/smrsh/smrsh-8.14.4.ebuild | 52 |
3 files changed, 73 insertions, 2 deletions
diff --git a/app-shells/smrsh/ChangeLog b/app-shells/smrsh/ChangeLog index c2775a7a3da1..1283236af405 100644 --- a/app-shells/smrsh/ChangeLog +++ b/app-shells/smrsh/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-shells/smrsh -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/smrsh/ChangeLog,v 1.8 2009/12/03 11:41:55 maekke Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/smrsh/ChangeLog,v 1.9 2011/05/12 12:10:58 eras Exp $ + +*smrsh-8.14.4 (12 May 2011) + + 12 May 2011; Eray Aslan <eras@gentoo.org> +smrsh-8.14.4.ebuild, + +files/smrsh-8.14.4-site.config.m4: + Version bump. Do not strip files bug #251872. Respect LDFLAGS bug #335981. 03 Dec 2009; Markus Meier <maekke@gentoo.org> smrsh-8.12.10.ebuild: add ~amd64, bug #286627 diff --git a/app-shells/smrsh/files/smrsh-8.14.4-site.config.m4 b/app-shells/smrsh/files/smrsh-8.14.4-site.config.m4 new file mode 100644 index 000000000000..a5627e2412f2 --- /dev/null +++ b/app-shells/smrsh/files/smrsh-8.14.4-site.config.m4 @@ -0,0 +1,13 @@ +define(`confCCOPTS', `@@confCCOPTS@@') +define(`confSTDIO_TYPE', `portable') +define(`confENVDEF', `-DXDEBUG=0') +define(`confLDOPTS', `@@confLDOPTS@@') +define(`confMANOWN', `root') +define(`confMANGRP', `root') +define(`confMANMODE', `644') +define(`confMAN1SRC', `1') +define(`confMAN5SRC', `5') +define(`confMAN8SRC', `8') +define(`confLDOPTS_SO', `@@confLDOPTS@@') +APPENDDEF(`conf_smrsh_ENVDEF', `-DSMRSH_PATH=\"/bin:/usr/bin\"') +APPENDDEF(`conf_smrsh_ENVDEF', `-DSMRSH_CMDDIR=\"/var/lib/smrsh\"') diff --git a/app-shells/smrsh/smrsh-8.14.4.ebuild b/app-shells/smrsh/smrsh-8.14.4.ebuild new file mode 100644 index 000000000000..7e5c144fc768 --- /dev/null +++ b/app-shells/smrsh/smrsh-8.14.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/smrsh/smrsh-8.14.4.ebuild,v 1.1 2011/05/12 12:10:58 eras Exp $ + +EAPI=4 + +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}:" "${FILESDIR}/${P}-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 +} |