diff options
Diffstat (limited to 'sys-fs/xfsdump')
-rw-r--r-- | sys-fs/xfsdump/ChangeLog | 64 | ||||
-rw-r--r-- | sys-fs/xfsdump/Manifest | 14 | ||||
-rw-r--r-- | sys-fs/xfsdump/files/digest-xfsdump-1.1.7 | 1 | ||||
-rw-r--r-- | sys-fs/xfsdump/files/digest-xfsdump-2.2.4-r1 | 1 | ||||
-rw-r--r-- | sys-fs/xfsdump/xfsdump-1.1.7.ebuild | 48 | ||||
-rw-r--r-- | sys-fs/xfsdump/xfsdump-2.2.4-r1.ebuild | 48 |
6 files changed, 166 insertions, 10 deletions
diff --git a/sys-fs/xfsdump/ChangeLog b/sys-fs/xfsdump/ChangeLog new file mode 100644 index 000000000000..a584013d05cd --- /dev/null +++ b/sys-fs/xfsdump/ChangeLog @@ -0,0 +1,64 @@ +# ChangeLog for sys-fs/xfsdump +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsdump/ChangeLog,v 1.1 2003/09/15 17:46:25 seemant Exp $ + +*xfsdump-1.1.7 (15 Sep 2003) + + 15 Sep 2003; Seemant Kulleen <seemant@gentoo.org> xfsdump-1.1.7.ebuild, + xfsdump-2.0.0_p20020330.ebuild, xfsdump-2.1.5.ebuild, + xfsdump-2.2.4-r1.ebuild, xfsdump-2.2.4.ebuild: + moved to sys-fs + + 21 Dec 2002; Daniel Robbins <drobbins@gentoo.org>: changed 20020330 + ebuild to 2.0.0_p20020330 to fix policy violation. + +*xfsdump-2.2.4-r1 (16 Dec 2002) + + 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> xfsdump-2.2.4-r1.ebuild : + Marked as testing for mips. Made ChangeLog compatible with echangelog. + + 16 Dec 2002; Brad Cowan <bcowan@gentoo.org> xfsdump-2.2.4-r1.ebuild, + files/digest-xfsdump-2.2.4-r1: + + Changed symlinks. + +*xfsdump-2.2.4 (09 Dec 2002) + + 09 Dec 2002; Donny Davies <woodchip@gentoo.org> : Chase latest release. + +*xfsdump-2.1.5 (27 Sep 2002) + + 27 Sep 2002; Brad Cowan <bcowan@gentoo.org> xfsdump-2.1.5.ebuild + files/digest-xfsdump-2.1.5 : + + version bump thanks to Hanno Boeck <hanno@gentoo.org> + + 05 Oct 2002; Brad Cowan <bcowan@gentoo.org> xfsdump-2.1.5.ebuild : + + "Modernized" ebuild. + +*xfsdump-20020330 (14 July 2002) + + 21 Jul 2002; Mark Guertin <gerk@gentoo.org>: + updated keywords (ppc) + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> xfsdump-20020330.ebuild : + Added LICENSE, KEYWORDS, SLOT. + +*xfsdump-1.1.7 (14 July 2002) + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> xfsdump-1.1.7.ebuild : + Added LICENSE, KEYWORDS, SLOT. + +*xfsdump-20020124 (1 Feb 2002) + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> xfsdump-20020124.ebuild : + Added LICENSE, KEYWORDS, SLOT. + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/sys-fs/xfsdump/Manifest b/sys-fs/xfsdump/Manifest index 3bb3aa0a9d98..f74133a1aa34 100644 --- a/sys-fs/xfsdump/Manifest +++ b/sys-fs/xfsdump/Manifest @@ -1,11 +1,5 @@ -MD5 5ea75dcf7a8d7207f798ed238ec0dc9a ChangeLog 1955 -MD5 68d26f7194775eeb13827ccc355ca54d xfsdump-1.1.7.ebuild 1634 -MD5 19c6b521997ae0aff857fdbd6fc276d5 xfsdump-2.0.0_p20020330.ebuild 1729 -MD5 2a6f61a8c1c8d7a85b11d663b4e0c99a xfsdump-2.1.5.ebuild 1285 -MD5 212efbe1d2035ec7d8af8e5ebc6d6713 xfsdump-2.2.4-r1.ebuild 1274 -MD5 4878f9c5066c7d07af77e90fe21274ef xfsdump-2.2.4.ebuild 1285 -MD5 57a186df5f7a3c8a8c686975c14b3fb4 files/digest-xfsdump-1.1.7 69 -MD5 783702207886a893533fa92136ff2523 files/digest-xfsdump-2.0.0_p20020330 70 -MD5 d22ee5b1c305ef5940098d30b028fc02 files/digest-xfsdump-2.1.5 69 -MD5 2e7aca0d9699a54b2c9ff5857023d59f files/digest-xfsdump-2.2.4 69 +MD5 82fecaa58498d00a6cbd08480385405d xfsdump-2.2.4-r1.ebuild 1265 +MD5 4ad6e27946767b5bac30c3914865ad2d xfsdump-1.1.7.ebuild 1635 +MD5 c40337123e9faeb5920fd309693a4c50 ChangeLog 2179 MD5 2e7aca0d9699a54b2c9ff5857023d59f files/digest-xfsdump-2.2.4-r1 69 +MD5 57a186df5f7a3c8a8c686975c14b3fb4 files/digest-xfsdump-1.1.7 69 diff --git a/sys-fs/xfsdump/files/digest-xfsdump-1.1.7 b/sys-fs/xfsdump/files/digest-xfsdump-1.1.7 new file mode 100644 index 000000000000..6f7090a31bde --- /dev/null +++ b/sys-fs/xfsdump/files/digest-xfsdump-1.1.7 @@ -0,0 +1 @@ +MD5 2ab197d0af41ec1131657dda7462c0b0 xfsdump-1.1.7.src.tar.gz 449861 diff --git a/sys-fs/xfsdump/files/digest-xfsdump-2.2.4-r1 b/sys-fs/xfsdump/files/digest-xfsdump-2.2.4-r1 new file mode 100644 index 000000000000..8bfff33003cb --- /dev/null +++ b/sys-fs/xfsdump/files/digest-xfsdump-2.2.4-r1 @@ -0,0 +1 @@ +MD5 7a75c9797f7637e0c639fde8c5efae73 xfsdump-2.2.4.src.tar.gz 561490 diff --git a/sys-fs/xfsdump/xfsdump-1.1.7.ebuild b/sys-fs/xfsdump/xfsdump-1.1.7.ebuild new file mode 100644 index 000000000000..a28bdd96f688 --- /dev/null +++ b/sys-fs/xfsdump/xfsdump-1.1.7.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsdump/xfsdump-1.1.7.ebuild,v 1.1 2003/09/15 17:46:25 seemant Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="xfs dump/restore utilities" +HOMEPAGE="http://oss.sgi.com/projects/xfs" +SRC_URI="ftp://oss.sgi.com/projects/xfs/download/latest/cmd_tars/${P}.src.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 amd64" + +DEPEND="virtual/glibc + sys-devel/autoconf + sys-devel/make + sys-fs/e2fsprogs + sys-fs/xfsprogs + sys-apps/dmapi + sys-apps/attr" + +RDEPEND="virtual/glibc" + +src_compile() { + cd ${S} + export OPTIMIZER="${CFLAGS}" + export DEBUG=-DNDEBUG + autoconf || die + ./configure --prefix=/usr || die + # 1) add a ${DESTDIR} prefix to all install paths so we can relocate during the "install" phase + # 2) we also set the /usr/share/doc/ directory to the correct value. + # 3) we remove a hard-coded "-O1" + # 4) we fix some Makefile-created library symlinks that contains absolute paths + cp include/builddefs include/builddefs.orig + sed -e 's:^PKG_\(.*\)_DIR = \(.*\)$:PKG_\1_DIR = ${DESTDIR}\2:' -e "s:/usr/share/doc/${PN}:/usr/share/doc/${PF}:" -e 's:-O1::' -e 's:-S \(.*\) $(PKG_.*_DIR)/\(.*$\):-S \1 \2:' include/builddefs.orig > include/builddefs || die + # 5) We now fix some absolute path symlinks in various makefiles + local x + for x in dump restore + do + cp ${x}/Makefile ${x}/Makefile.orig + sed -e 's:$(INSTALL) -S $(PKG_.*_DIR)/\(.*\) \(.*/.*\):$(INSTALL) -S ../../sbin/\1 \2:' ${x}/Makefile.orig > ${x}/Makefile + done + emake || die +} + +src_install() { + make DESTDIR=${D} install || die +} diff --git a/sys-fs/xfsdump/xfsdump-2.2.4-r1.ebuild b/sys-fs/xfsdump/xfsdump-2.2.4-r1.ebuild new file mode 100644 index 000000000000..a61c9bed22e6 --- /dev/null +++ b/sys-fs/xfsdump/xfsdump-2.2.4-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsdump/xfsdump-2.2.4-r1.ebuild,v 1.1 2003/09/15 17:46:25 seemant Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="xfs dump/restore utilities" +HOMEPAGE="http://oss.sgi.com/projects/xfs" +SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${P}.src.tar.gz" + +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="x86 amd64 ~mips" + +DEPEND="sys-fs/e2fsprogs + sys-fs/xfsprogs + sys-apps/dmapi + sys-apps/attr" + +src_compile() { + OPTIMIZER="${CFLAGS}" + DEBUG=-DNDEBUG + + autoconf || die + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --libdir=/lib \ + --sbindir=/sbin \ + --libexecdir=/usr/lib || die + + cp include/builddefs include/builddefs.orig + sed -e 's:^PKG_\(.*\)_DIR = \(.*\)$:PKG_\1_DIR = ${DESTDIR}\2:' \ + -e "s:/usr/share/doc/${PN}:/usr/share/doc/${PF}:" -e 's:-O1::' \ + -e 's:-S \(.*\) $(PKG_.*_DIR)/\(.*$\):-S \1 \2:' \ + include/builddefs.orig > include/builddefs || die + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + + rm -f ${D}/usr/bin/xfsrestore + rm -f ${D}/usr/bin/xfsdump + dosym /sbin/xfsrestore /usr/bin/xfsrestore + dosym /sbin/xfsdump /usr/bin/xfsdump +} |