summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Teaford Cowan <bcowan@gentoo.org>2002-09-27 20:01:06 +0000
committerBrad Teaford Cowan <bcowan@gentoo.org>2002-09-27 20:01:06 +0000
commitd07311f9553da2caad93d4c8280925915db89a6b (patch)
treea771a55e0140693c7773a70dd208ca36ded15962
parentmasked updated XFS utilities thanks to Hanno (diff)
downloadhistorical-d07311f9553da2caad93d4c8280925915db89a6b.tar.gz
historical-d07311f9553da2caad93d4c8280925915db89a6b.tar.bz2
historical-d07311f9553da2caad93d4c8280925915db89a6b.zip
updated XFS utils and masked thanks to Hanno
-rw-r--r--sys-apps/acl/ChangeLog9
-rw-r--r--sys-apps/acl/acl-2.0.18.ebuild45
-rw-r--r--sys-apps/acl/files/digest-acl-2.0.181
-rw-r--r--sys-apps/attr/ChangeLog9
-rw-r--r--sys-apps/attr/attr-2.0.9.ebuild40
-rw-r--r--sys-apps/attr/files/digest-attr-2.0.91
-rw-r--r--sys-apps/dmapi/ChangeLog9
-rw-r--r--sys-apps/dmapi/dmapi-2.0.5.ebuild37
-rw-r--r--sys-apps/dmapi/files/digest-dmapi-2.0.51
-rw-r--r--sys-apps/xfsdump/ChangeLog9
-rw-r--r--sys-apps/xfsdump/files/digest-xfsdump-2.1.51
-rw-r--r--sys-apps/xfsdump/xfsdump-2.1.5.ebuild40
-rw-r--r--sys-apps/xfsprogs/ChangeLog8
-rw-r--r--sys-apps/xfsprogs/files/digest-xfsprogs-2.2.21
-rw-r--r--sys-apps/xfsprogs/xfsprogs-2.2.2.ebuild66
15 files changed, 272 insertions, 5 deletions
diff --git a/sys-apps/acl/ChangeLog b/sys-apps/acl/ChangeLog
index 617af5aa2634..686b740350e8 100644
--- a/sys-apps/acl/ChangeLog
+++ b/sys-apps/acl/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/acl
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.4 2002/07/21 18:17:16 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.5 2002/09/27 20:01:06 bcowan Exp $
+
+*acl-2.0.18.ebuild (27 Sep 2002)
+
+ 27 Sep 2002; Brad Cowan <bcowan@gentoo.org> acl-2.0.18.ebuild
+ files/digest-acl-2.0.18 :
+
+ version bump thanks to Hanno Boeck <hanno@gentoo.org>
*acl-20020330.ebuild (14 July 2002)
diff --git a/sys-apps/acl/acl-2.0.18.ebuild b/sys-apps/acl/acl-2.0.18.ebuild
new file mode 100644
index 000000000000..47eeb1596c0d
--- /dev/null
+++ b/sys-apps/acl/acl-2.0.18.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.0.18.ebuild,v 1.1 2002/09/27 20:01:06 bcowan Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="XFS dump/restore utilities"
+SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${P}.src.tar.gz"
+HOMEPAGE="http://oss.sgi.com/projects/xfs"
+KEYWORDS="x86 ppc sparc sparc64"
+SLOT="0"
+LICENSE="LGPL-2.1"
+
+DEPEND="virtual/glibc sys-devel/autoconf sys-apps/attr sys-devel/make"
+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::' \
+ include/builddefs.orig > include/builddefs || die
+# -e 's:-S \(.*\) $(PKG_.*_DIR)/\(.*$\):-S \1 \2:' \
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install install-dev install-lib || die
+ #fix freaky symlinks
+ cd ${D}/usr/lib
+ rm libacl.so
+ ln -s ../../lib/libacl.so libacl.so
+ cd ${D}/lib
+ rm *a
+ ln -s ../usr/lib/libacl.la libacl.la
+ ln -s ../usr/lib/libacl.a libacl.a
+}
diff --git a/sys-apps/acl/files/digest-acl-2.0.18 b/sys-apps/acl/files/digest-acl-2.0.18
new file mode 100644
index 000000000000..b6803cb9e9f5
--- /dev/null
+++ b/sys-apps/acl/files/digest-acl-2.0.18
@@ -0,0 +1 @@
+MD5 f0ed8fa16753323cf6cb3575575978bd acl-2.0.18.src.tar.gz 109665
diff --git a/sys-apps/attr/ChangeLog b/sys-apps/attr/ChangeLog
index fd0362b6c979..0997c2e39343 100644
--- a/sys-apps/attr/ChangeLog
+++ b/sys-apps/attr/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/attr
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.3 2002/07/21 18:26:09 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.4 2002/09/27 20:01:06 bcowan Exp $
+
+*attr-2.0.9 (27 Sep 2002)
+
+ 27 Sep 2002; Brad Cowan <bcowan@gentoo.org> attr-2.0.9.ebuild
+ files/digest-attr-2.0.9 :
+
+ version bump thanks to Hanno Boeck <hanno@gentoo.org>
*attr-20020330.ebuild (14 July 2002)
diff --git a/sys-apps/attr/attr-2.0.9.ebuild b/sys-apps/attr/attr-2.0.9.ebuild
new file mode 100644
index 000000000000..7ce961a1b7c2
--- /dev/null
+++ b/sys-apps/attr/attr-2.0.9.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/attr-2.0.9.ebuild,v 1.1 2002/09/27 20:01:06 bcowan Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="xfs extended attributes tools"
+SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${P}.src.tar.gz"
+HOMEPAGE="http://oss.sgi.com/projects/xfs"
+KEYWORDS="x86 ppc sparc sparc64"
+SLOT="0"
+LICENSE="LGPL-2.1"
+
+DEPEND="virtual/glibc sys-devel/autoconf sys-devel/make"
+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:../$(INSTALL) -S \(.*\) $(PKG_.*_DIR)/\(.*$\)::' \
+ include/builddefs.orig > include/builddefs || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install install-lib install-dev || die
+ #dosym /usr/lib/libattr.a /lib/libattr.a
+ #dosym /usr/lib/libattr.la /lib/libattr.la
+ #dosym /lib/libattr.so /usr/lib/libattr.so
+}
diff --git a/sys-apps/attr/files/digest-attr-2.0.9 b/sys-apps/attr/files/digest-attr-2.0.9
new file mode 100644
index 000000000000..3608e5f0a2f3
--- /dev/null
+++ b/sys-apps/attr/files/digest-attr-2.0.9
@@ -0,0 +1 @@
+MD5 d2f7458ffcc98263d50fba0f2289b3a0 attr-2.0.9.src.tar.gz 66101
diff --git a/sys-apps/dmapi/ChangeLog b/sys-apps/dmapi/ChangeLog
index 5bdac184d5bb..e82858a45fe2 100644
--- a/sys-apps/dmapi/ChangeLog
+++ b/sys-apps/dmapi/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/dmapi
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmapi/ChangeLog,v 1.3 2002/07/21 18:47:18 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmapi/ChangeLog,v 1.4 2002/09/27 20:01:06 bcowan Exp $
+
+*dmapi-2.0.5 (27 Sep 2002)
+
+ 27 Sep 2002; Brad Cowan <bcowan@gentoo.org> dmapi-2.0.5.ebuild
+ files/digest-dmapi-2.0.5 :
+
+ version bump thanks to Hanno Boeck <hanno@gentoo.org>
*dmapi-20020330.ebuild (14 July 2002)
diff --git a/sys-apps/dmapi/dmapi-2.0.5.ebuild b/sys-apps/dmapi/dmapi-2.0.5.ebuild
new file mode 100644
index 000000000000..5c3a8475ac97
--- /dev/null
+++ b/sys-apps/dmapi/dmapi-2.0.5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmapi/dmapi-2.0.5.ebuild,v 1.1 2002/09/27 20:01:06 bcowan Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="XFS data management API library"
+SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${P}.src.tar.gz"
+HOMEPAGE="http://oss.sgi.com/projects/xfs"
+KEYWORDS="x86 ppc sparc sparc64"
+SLOT="0"
+LICENSE="LGPL-2.1"
+
+DEPEND="virtual/glibc sys-devel/autoconf sys-devel/make sys-apps/xfsprogs"
+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:../$(INSTALL) -S \(.*\) $(PKG_.*_DIR)/\(.*$\)::' \
+ include/builddefs.orig > include/builddefs || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install install-dev || die
+}
diff --git a/sys-apps/dmapi/files/digest-dmapi-2.0.5 b/sys-apps/dmapi/files/digest-dmapi-2.0.5
new file mode 100644
index 000000000000..43bf1a801e0c
--- /dev/null
+++ b/sys-apps/dmapi/files/digest-dmapi-2.0.5
@@ -0,0 +1 @@
+MD5 843dd4ebc7d21c6b3df46c7cb258f324 dmapi-2.0.5.src.tar.gz 56399
diff --git a/sys-apps/xfsdump/ChangeLog b/sys-apps/xfsdump/ChangeLog
index 505dd17051de..0ca01e088292 100644
--- a/sys-apps/xfsdump/ChangeLog
+++ b/sys-apps/xfsdump/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/xfsdump
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/xfsdump/ChangeLog,v 1.3 2002/07/21 21:18:38 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/xfsdump/ChangeLog,v 1.4 2002/09/27 20:01:06 bcowan Exp $
+
+*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>
*xfsdump-20020330.ebuild (14 July 2002)
diff --git a/sys-apps/xfsdump/files/digest-xfsdump-2.1.5 b/sys-apps/xfsdump/files/digest-xfsdump-2.1.5
new file mode 100644
index 000000000000..11b80d9a53d7
--- /dev/null
+++ b/sys-apps/xfsdump/files/digest-xfsdump-2.1.5
@@ -0,0 +1 @@
+MD5 e76b8238dbc50d4c72fca1c167035f02 xfsdump-2.1.5.src.tar.gz 545577
diff --git a/sys-apps/xfsdump/xfsdump-2.1.5.ebuild b/sys-apps/xfsdump/xfsdump-2.1.5.ebuild
new file mode 100644
index 000000000000..417bc6ff2068
--- /dev/null
+++ b/sys-apps/xfsdump/xfsdump-2.1.5.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/xfsdump/xfsdump-2.1.5.ebuild,v 1.1 2002/09/27 20:01:06 bcowan Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="xfs dump/restore utilities"
+SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${P}.src.tar.gz"
+HOMEPAGE="http://oss.sgi.com/projects/xfs"
+KEYWORDS="x86 ppc"
+SLOT="0"
+LICENSE="LGPL-2.1"
+
+DEPEND="virtual/glibc sys-devel/autoconf sys-devel/make sys-apps/e2fsprogs sys-apps/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-apps/xfsprogs/ChangeLog b/sys-apps/xfsprogs/ChangeLog
index 2dfd9099a5b1..d5b75431f647 100644
--- a/sys-apps/xfsprogs/ChangeLog
+++ b/sys-apps/xfsprogs/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for sys-apps/xfsprogs
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/xfsprogs/ChangeLog,v 1.4 2002/07/26 17:53:40 phoenix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/xfsprogs/ChangeLog,v 1.5 2002/09/27 20:01:06 bcowan Exp $
+*xfsprogs-2.2.2 (27 Sep 2002)
+
+ 27 Sep 2002; Brad Cowan <bcowan@gentoo.org> xfsprogs-2.2.2.ebuild
+ files/digest-xfsprogs-2.2.2 :
+
+ version bump thanks to Hanno Boeck <hanno@gentoo.org>
*xfsprogs-20020330-r1.ebuild (26 July 2002)
diff --git a/sys-apps/xfsprogs/files/digest-xfsprogs-2.2.2 b/sys-apps/xfsprogs/files/digest-xfsprogs-2.2.2
new file mode 100644
index 000000000000..ab8a6b607c8b
--- /dev/null
+++ b/sys-apps/xfsprogs/files/digest-xfsprogs-2.2.2
@@ -0,0 +1 @@
+MD5 8ed8e586b97e172a26ad8d0903e9cdeb xfsprogs-2.2.2.src.tar.gz 743125
diff --git a/sys-apps/xfsprogs/xfsprogs-2.2.2.ebuild b/sys-apps/xfsprogs/xfsprogs-2.2.2.ebuild
new file mode 100644
index 000000000000..2c1fe6ac7e27
--- /dev/null
+++ b/sys-apps/xfsprogs/xfsprogs-2.2.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
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/xfsprogs/xfsprogs-2.2.2.ebuild,v 1.1 2002/09/27 20:01:06 bcowan Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="xfs filesystem utilities"
+SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${P}.src.tar.gz"
+HOMEPAGE="http://oss.sgi.com/projects/xfs"
+KEYWORDS="x86 ppc"
+SLOT="0"
+LICENSE="LGPL-2.1"
+oldCFLAGS="${CFLAGS}"
+oldCXXFLAGS="${CXXFLAGS}"
+
+DEPEND="virtual/glibc sys-devel/autoconf sys-devel/make sys-apps/e2fsprogs"
+RDEPEND="virtual/glibc"
+
+ebuild_die() {
+ export CFLAGS="${oldCFLAGS}"
+ export CXXFLAGS="${oldCXXFLAGS}"
+ if([ -n "$LINE" ]) then
+ die "Line ${2}: ${1}"
+ else
+ die "${1}"
+ fi
+}
+
+
+src_compile() {
+ cd ${S}
+ export CFLAGS="`echo ${CFLAGS} | sed "s/ -O[2-9]/ -O1/g"`"
+ export CXXFLAGS="`echo ${CXXFLAGS} | sed "s/ -O[2-9]/ -O1/g"`"
+ 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:/usr/share/doc/${PN}:/usr/share/doc/${PF}:" \
+ -e 's:-O1::' \
+ -e '/-S $(PKG/d' \
+ -e 's:^PKG_\(.*\)_DIR = \(.*\)$:PKG_\1_DIR = ${DESTDIR}\2:' \
+ include/builddefs.orig > include/builddefs || ebuild_die "sed failed" 49
+ emake || ebuild_die "emake failed" 50
+ export ${oldCFLAGS}
+ export ${oldCXXFLAGS}
+}
+
+src_install() {
+ make DESTDIR=${D} DK_INC_DIR=${D}/usr/include/disk install install-dev || ebuild_die "make install failed" 54
+ cat ${S}/libhandle/.libs/libhandle.la | sed -e 's:installed=no:installed=yes:g' > ${D}/usr/lib/libhandle.la
+ dodir /usr/lib /lib
+ insinto /usr/lib
+ doins libhandle.a
+ exeinto /lib
+ doins libhandle.so.1.0.0
+ cd ${D}/lib
+ ln -sf ../usr/lib/libhandle.a libhandle.a
+ ln -sf libhandle.so.1.0.0 libhandle.so.1
+ ln -sf libhandle.so.1 libhandle.so
+ cd ${D}/usr/lib
+ ln -sf ../../lib/libhandle.so libhandle.so
+}