summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kalika <max@gentoo.org>2003-07-21 22:02:50 +0000
committerMax Kalika <max@gentoo.org>2003-07-21 22:02:50 +0000
commit45eddc635c74e77617352b25861f162c8094881a (patch)
tree2075ba4f993e997031f808b8e974eea6d27cb319 /app-shells
parentcleanup (diff)
downloadgentoo-2-45eddc635c74e77617352b25861f162c8094881a.tar.gz
gentoo-2-45eddc635c74e77617352b25861f162c8094881a.tar.bz2
gentoo-2-45eddc635c74e77617352b25861f162c8094881a.zip
Initial commit.
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/smrsh/ChangeLog9
-rw-r--r--app-shells/smrsh/Manifest3
-rw-r--r--app-shells/smrsh/files/digest-smrsh-8.12.91
-rw-r--r--app-shells/smrsh/smrsh-8.12.9.ebuild54
4 files changed, 67 insertions, 0 deletions
diff --git a/app-shells/smrsh/ChangeLog b/app-shells/smrsh/ChangeLog
new file mode 100644
index 000000000000..8bfc9c558455
--- /dev/null
+++ b/app-shells/smrsh/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-shells/smrsh
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/smrsh/ChangeLog,v 1.1 2003/07/21 22:02:47 max Exp $
+
+*smrsh-8.12.9 (21 Jul 2003)
+
+ 21 Jul 2003; Max Kalika <max@gentoo.org> smrsh-8.12.9.ebuild:
+ Initial import.
+
diff --git a/app-shells/smrsh/Manifest b/app-shells/smrsh/Manifest
new file mode 100644
index 000000000000..7aabe8e39b0a
--- /dev/null
+++ b/app-shells/smrsh/Manifest
@@ -0,0 +1,3 @@
+MD5 fdd629f888c42983102e3286d65bec7d smrsh-8.12.9.ebuild 1139
+MD5 22d516d75ce4aff72daf3bb77f8be0bf ChangeLog 323
+MD5 6d2d3106fb3c1c317310e4bf80228741 files/digest-smrsh-8.12.9 68
diff --git a/app-shells/smrsh/files/digest-smrsh-8.12.9 b/app-shells/smrsh/files/digest-smrsh-8.12.9
new file mode 100644
index 000000000000..23e40363b241
--- /dev/null
+++ b/app-shells/smrsh/files/digest-smrsh-8.12.9
@@ -0,0 +1 @@
+MD5 3dba3b6d769b3681640d0a38b0eba48c sendmail.8.12.9.tar.gz 1886008
diff --git a/app-shells/smrsh/smrsh-8.12.9.ebuild b/app-shells/smrsh/smrsh-8.12.9.ebuild
new file mode 100644
index 000000000000..b740e904e00c
--- /dev/null
+++ b/app-shells/smrsh/smrsh-8.12.9.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/smrsh/smrsh-8.12.9.ebuild,v 1.1 2003/07/21 22:02:47 max Exp $
+
+IUSE=""
+DESCRIPTION="Sendmail restricted shell, for use with MTAs other than Sendmail."
+HOMEPAGE="http://www.sendmail.org"
+SRC_URI="ftp://ftp.sendmail.org/pub/${PN}/sendmail.${PV}.tar.gz"
+
+LICENSE="Sendmail"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="sys-devel/m4
+ >=sys-apps/sed-4"
+
+RDEPEND="${DEPEND}
+ !net-mail/sendmail"
+
+S="${WORKDIR}/sendmail-${PV}"
+
+src_compile() {
+
+ 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}:" "${FILESDIR}/site.config.m4" \
+ > "${S}/devtools/Site/site.config.m4" || die "sed failed"
+
+ /bin/sh Build
+
+}
+
+src_install () {
+
+ cd "${S}/${PN}"
+ dosbin "${S}/obj.$(uname -s).$(uname -r).$(arch)/${PN}/${PN}"
+
+ dodoc README
+ doman smrsh.8
+
+ keepdir /var/lib/smrsh
+
+}
+
+pkg_postinst() {
+
+ einfo "smrsh is compiled to look for programs in /var/lib/smrsh."
+ echo
+
+}