summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2003-01-19 10:16:20 +0000
committerNick Hadaway <raker@gentoo.org>2003-01-19 10:16:20 +0000
commit7f454fabaacb26deed126a5079d91755bc5a3742 (patch)
treed2922b335cc18063d70f6896932ee16078896311 /net-mail/drac
parentadd fix for module loader for 2.5.54 and later; update tl patch (diff)
downloadgentoo-2-7f454fabaacb26deed126a5079d91755bc5a3742.tar.gz
gentoo-2-7f454fabaacb26deed126a5079d91755bc5a3742.tar.bz2
gentoo-2-7f454fabaacb26deed126a5079d91755bc5a3742.zip
New package. Currently marked unstable.
Diffstat (limited to 'net-mail/drac')
-rw-r--r--net-mail/drac/ChangeLog9
-rw-r--r--net-mail/drac/drac-1.12.ebuild48
-rw-r--r--net-mail/drac/files/digest-drac-1.121
3 files changed, 58 insertions, 0 deletions
diff --git a/net-mail/drac/ChangeLog b/net-mail/drac/ChangeLog
new file mode 100644
index 000000000000..83bc4f163139
--- /dev/null
+++ b/net-mail/drac/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-mail/drac
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/drac/ChangeLog,v 1.1 2003/01/19 10:16:20 raker Exp $
+
+*drac-1.12 (19 Jan 2003)
+
+ 19 Jan 2003; Nick Hadaway <raker@gentoo.org> drac-1.12.ebuild,
+ files/digest-drac-1.12 :
+ New ebuild added for a more robust tpop3d build.
diff --git a/net-mail/drac/drac-1.12.ebuild b/net-mail/drac/drac-1.12.ebuild
new file mode 100644
index 000000000000..8c69d102eb4f
--- /dev/null
+++ b/net-mail/drac/drac-1.12.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/drac/drac-1.12.ebuild,v 1.1 2003/01/19 10:16:20 raker Exp $
+
+DESCRIPTION="A robust implementation of POP-before-SMTP"
+HOMEPAGE="http://mail.cc.umanitoba.ca/drac/"
+SRC_URI="ftp://ftp.cc.umanitoba.ca/src/${PN}.tar.Z"
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="virtual/glibc
+ sys-libs/db
+ >=net-mail/sendmail-8.9"
+S=${WORKDIR}
+
+inherit eutils
+
+src_compile() {
+ cp Makefile Makefile.orig
+ sed \
+ -e "s:INSTALL = /usr/ucb/install:INSTALL = install:" \
+ -e "s:EBIN = /usr/local/sbin:EBIN = /usr/sbin:" \
+ -e "s:MAN = /usr/local/man/man:MAN = /usr/share/man/man:" \
+ -e "s:DEFS = -DTI_RPC -DFCNTL_LOCK -DSYSINFO:DEFS = -DSOCK_RPC -DFCNTL_LOCK -DGETHOST -DDASH_C:" \
+ -e "s:CC = cc:CC = gcc:" \
+ -e "s:LDLIBS = -L/usr/local/src/db/db-4.1.25/build_unix -lnsl -ldb-4.1:LDLIBS = -ldb:" \
+ -e "s:TSTLIBS = -L. -ldrac -lnsl:TSTLIBS = -L. -ldrac:" \
+ -e "s:RPCGENFLAGS =:RPCGENFLAGS = -C -I:" \
+ -e "s:MANADM = 1m:MANADM = 8:" \
+ < Makefile.orig > Makefile
+ if [ ! -z $DEBUGBUILD ]; then
+ cp Makefile Makefile.posthacked
+ sed -e "s:CFLAGS = \$(DEFS) -g -I/usr/local/src/db/db-4.1.25/build_unix:CFLAGS = \$(DEFS) -g ${CFLAGS}:" \
+ < Makefile.posthacked > Makefile
+ else
+ cp Makefile Makefile.posthacked
+ sed -e "s:CFLAGS = \$(DEFS) -g -I/usr/local/src/db/db-4.1.25/build_unix:CFLAGS = \$(DEFS) ${CFLAGS}:" \
+ < Makefile.posthacked > Makefile
+ fi
+ make || die
+}
+
+src_install() {
+ dobin rpc.dracd
+ mv rpc.dracd.1m rpc.dracd.8
+ doman dracauth.3 rpc.dracd.8
+}
diff --git a/net-mail/drac/files/digest-drac-1.12 b/net-mail/drac/files/digest-drac-1.12
new file mode 100644
index 000000000000..c04ee89baf19
--- /dev/null
+++ b/net-mail/drac/files/digest-drac-1.12
@@ -0,0 +1 @@
+MD5 fadaee589bf1dd9067222d58637d5fe4 drac.tar.Z 20705