summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-08-31 10:50:32 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-08-31 10:50:32 +0000
commit5ad66a1f508fd648b9d0dedae25c389ca2143bfd (patch)
tree1243613f4cba3829bbdc77feedf21b9fc53adca9 /sys-fs/xfsdump
parentCleanup of XFS-related apps: dmapi, acl, xfsdump, attr. (Manifest recommit) (diff)
downloadgentoo-2-5ad66a1f508fd648b9d0dedae25c389ca2143bfd.tar.gz
gentoo-2-5ad66a1f508fd648b9d0dedae25c389ca2143bfd.tar.bz2
gentoo-2-5ad66a1f508fd648b9d0dedae25c389ca2143bfd.zip
Cleanup of XFS-related apps: dmapi, acl, xfsdump, attr.
Diffstat (limited to 'sys-fs/xfsdump')
-rw-r--r--sys-fs/xfsdump/ChangeLog7
-rw-r--r--sys-fs/xfsdump/Manifest16
-rw-r--r--sys-fs/xfsdump/files/digest-xfsdump-2.2.211
-rw-r--r--sys-fs/xfsdump/xfsdump-2.2.21.ebuild67
4 files changed, 78 insertions, 13 deletions
diff --git a/sys-fs/xfsdump/ChangeLog b/sys-fs/xfsdump/ChangeLog
index fa78ca2a6e57..7e2ea7c5abc6 100644
--- a/sys-fs/xfsdump/ChangeLog
+++ b/sys-fs/xfsdump/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/xfsdump
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsdump/ChangeLog,v 1.12 2004/07/01 21:51:55 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsdump/ChangeLog,v 1.13 2004/08/31 10:50:32 robbat2 Exp $
+
+*xfsdump-2.2.21 (31 Aug 2004)
+
+ 31 Aug 2004; Robin H. Johnson <robbat2@gentoo.org> +xfsdump-2.2.21.ebuild:
+ Cleanup of XFS-related apps: dmapi, acl, xfsdump, attr.
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> xfsdump-1.1.7.ebuild:
virtual/glibc -> virtual/libc
diff --git a/sys-fs/xfsdump/Manifest b/sys-fs/xfsdump/Manifest
index 8cd59b0cf581..35eba33a8a7a 100644
--- a/sys-fs/xfsdump/Manifest
+++ b/sys-fs/xfsdump/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 7acc6cc24451812f0870c7d5958c46d5 ChangeLog 3639
-MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 b358e42fb4e335e1d5e24cfb404d8344 xfsdump-2.2.21.ebuild 1491
MD5 cebf35ca2d9c19bfc858b9307896fe2a xfsdump-2.2.16.ebuild 1141
+MD5 87e15e3e00cf610d2426d233500892ef ChangeLog 3806
+MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 37f44e5343b1280989c23f1f11112a93 files/digest-xfsdump-2.2.16 70
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBJtRTHTu7gpaalycRAhDEAJ9aJQ7AWEybcH9XjXjBrq8u9D+OTQCg0bGy
-avjiGdQxwDViY7sxuGwUCrY=
-=nZme
------END PGP SIGNATURE-----
+MD5 40ad6b6e0a2b464bc7838b4364deed7f files/digest-xfsdump-2.2.21 70
diff --git a/sys-fs/xfsdump/files/digest-xfsdump-2.2.21 b/sys-fs/xfsdump/files/digest-xfsdump-2.2.21
new file mode 100644
index 000000000000..6dc5df9eddcc
--- /dev/null
+++ b/sys-fs/xfsdump/files/digest-xfsdump-2.2.21
@@ -0,0 +1 @@
+MD5 d5846c9d0dded9c7f6c385fa786d52a6 xfsdump-2.2.21.src.tar.gz 588164
diff --git a/sys-fs/xfsdump/xfsdump-2.2.21.ebuild b/sys-fs/xfsdump/xfsdump-2.2.21.ebuild
new file mode 100644
index 000000000000..1f7e888ba6ac
--- /dev/null
+++ b/sys-fs/xfsdump/xfsdump-2.2.21.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsdump/xfsdump-2.2.21.ebuild,v 1.1 2004/08/31 10:50:32 robbat2 Exp $
+
+inherit eutils
+
+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"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc -sparc ~mips ~alpha ~amd64 ~ia64"
+IUSE="debug static"
+
+DEPEND="sys-fs/e2fsprogs
+ sys-fs/xfsprogs
+ sys-apps/dmapi
+ sys-apps/attr"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i \
+ -e "/^PKG_DOC_DIR/s:=.*:= /usr/share/doc/${PF}:" \
+ -e '/^GCFLAGS/s:-O1::' \
+ -e '/^PKG_[A-Z]*_DIR/s:= := $(DESTDIR):' \
+ include/builddefs.in \
+ || die
+}
+
+src_compile() {
+ if use debug; then
+ DEBUG=-DDEBUG
+ OPTIMIZER="-g"
+ CFLAGS=
+ CXXFLAGS=
+ export CFLAGS CXXFLAGS
+ else
+ DEBUG=-DNDEBUG
+ OPTIMIZER="${CFLAGS}"
+ fi
+ export DEBUG OPTIMIZER
+
+ # Some archs need the PLATFORM var unset
+ if hasq ${ARCH} mips ppc sparc ppc64 s390; then
+ unset PLATFORM
+ fi
+
+ local myconf
+ LIBDIR="`get_libdir`"
+ myconf="${myconf} --libdir=/${LIBDIR} --libexecdir=/usr/${LIBDIR}"
+ myconf="${myconf} `use_enable !static shared`"
+ econf \
+ ${myconf} \
+ --sbindir=/sbin \
+ || 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
+}