diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-04-13 21:55:07 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-04-13 21:55:07 +0000 |
commit | 3bef52a45943fac55854b522479017f623ecee9c (patch) | |
tree | 87ff09ef4dbf43b0ff1316338a5955bc8948f152 /dev-util/aegis | |
parent | New upstream version. Fixes #1279. (diff) | |
download | gentoo-2-3bef52a45943fac55854b522479017f623ecee9c.tar.gz gentoo-2-3bef52a45943fac55854b522479017f623ecee9c.tar.bz2 gentoo-2-3bef52a45943fac55854b522479017f623ecee9c.zip |
Fixes #957
Diffstat (limited to 'dev-util/aegis')
-rw-r--r-- | dev-util/aegis/ChangeLog | 13 | ||||
-rw-r--r-- | dev-util/aegis/aegis-4.2.ebuild | 66 | ||||
-rw-r--r-- | dev-util/aegis/files/digest-aegis-4.2 | 1 |
3 files changed, 80 insertions, 0 deletions
diff --git a/dev-util/aegis/ChangeLog b/dev-util/aegis/ChangeLog new file mode 100644 index 000000000000..6677941f4017 --- /dev/null +++ b/dev-util/aegis/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for dev-util/aegis +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/dev-util/aegis/ChangeLog,v 1.1 2002/04/13 21:55:07 karltk Exp $ + +*aegis-4.2 (13 Apr 2002) + + 13 Apr 2002; Karl Trygve Kalleberg <karltk@gentoo.org> aegis-4.2.ebuild files/digest-aegis-4.2 : + + Aegis is a transaction-based software configuration management system. It + provides a framework within which a team of developers may work on many + changes to a program independently, and Aegis coordinates integrating these + changes back into the master source of the program, with as little + disruption as possible. diff --git a/dev-util/aegis/aegis-4.2.ebuild b/dev-util/aegis/aegis-4.2.ebuild new file mode 100644 index 000000000000..5ddf6117e7fa --- /dev/null +++ b/dev-util/aegis/aegis-4.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Peter Maxwell <peter@biolateral.com.au> +# $Header: /var/cvsroot/gentoo-x86/dev-util/aegis/aegis-4.2.ebuild,v 1.1 2002/04/13 21:55:07 karltk Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="A transaction based revision control system" +SRC_URI="http://aegis.sourceforge.net/${P}.tar.gz" +HOMEPAGE="http://aegis.sourceforge.net" + +DEPEND="sys-libs/zlib sys-devel/gettext sys-apps/groff sys-devel/bison tcltk? ( >=dev-lang/tk-8.3 )" +RDEPEND="sys-libs/zlib tcltk? ( >=dev-lang/tk-8.3 )" + +src_compile() { + # aegis-4.2 configure misses gentoo's httpd.conf's ScriptAlias + # directive just because it is indented. + # This is where aegis.cgi will be put. + ed -s configure <<-"END" + ,s/\^ScriptAlias/\^[[:blank:]]*ScriptAlias/g + wq + END + + # By default aegis configure puts shareable read/write files (locks etc) + # in ${prefix}/com/aegis but the FHS says /var/lib/aegis can be shared. + ./configure \ + --prefix=/usr \ + --sharedstatedir=/var/lib/aegis \ + --with-nlsdir=/usr/share/locale \ + --mandir=/usr/share/man || die "./configure failed" + + # Second ebuild causes redefined/undefined function errors + make clean + + # not emake safe, I think + make || die +} + +src_install () { + make RPM_BUILD_ROOT=${D} install || die + + # Alas gentoo appears to have no profile.d mechanism, so: + rm ${D}/etc/profile.d/aegis.sh + rm ${D}/etc/profile.d/aegis.csh + rmdir ${D}/etc/profile.d + rmdir ${D}/etc + + # OK so ${D}/var/lib/aegis gets UID=3, but for some + # reason so do the files under /usr/share, even though + # they are read-only. + chown -R root.root ${D}/usr/share + + # Remove duplicate documention etc. + rm -r ${D}/usr/share/aegis/en + rm -r ${D}/usr/share/aegis/de + rm -r ${D}/usr/share/aegis/man1 + + # Leaving out the .dvi versions and junk. + dodoc lib/en/*.txt + dodoc lib/en/*.ps + + # Link to share dir so user has a chance of noticing it. + dosym /usr/share/aegis /usr/share/doc/${PF}/scripts + + # Config file examples are documentation. + mv ${D}/usr/share/aegis/config.example ${D}/usr/share/doc/${PF}/ +} diff --git a/dev-util/aegis/files/digest-aegis-4.2 b/dev-util/aegis/files/digest-aegis-4.2 new file mode 100644 index 000000000000..a14c422c62e3 --- /dev/null +++ b/dev-util/aegis/files/digest-aegis-4.2 @@ -0,0 +1 @@ +MD5 041fd437740e5192b926b7b5e479eea4 aegis-4.2.tar.gz 1879210 |