summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2005-03-06 17:50:53 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2005-03-06 17:50:53 +0000
commitba57e961a540f13e9aa8dfdb37be8fc78a47ce9a (patch)
tree29680c3fce07a617926259fa02dade6f8bf19646
parentManifest recommit (diff)
downloadhistorical-ba57e961a540f13e9aa8dfdb37be8fc78a47ce9a.tar.gz
historical-ba57e961a540f13e9aa8dfdb37be8fc78a47ce9a.tar.bz2
historical-ba57e961a540f13e9aa8dfdb37be8fc78a47ce9a.zip
Moved to sys-block/gpart.
-rw-r--r--sys-apps/gpart/ChangeLog20
-rw-r--r--sys-apps/gpart/Manifest8
-rw-r--r--sys-apps/gpart/files/digest-gpart-0.1h-r12
-rw-r--r--sys-apps/gpart/files/gpart-0.1h-PIC.patch11
-rw-r--r--sys-apps/gpart/files/gpart-0.1h-errno.patch20
-rw-r--r--sys-apps/gpart/files/gpart-0.1h-ntfs.patch75
-rw-r--r--sys-apps/gpart/files/gpart-0.1h-vfat.patch17
-rw-r--r--sys-apps/gpart/gpart-0.1h-r1.ebuild34
-rw-r--r--sys-apps/gpart/metadata.xml5
9 files changed, 0 insertions, 192 deletions
diff --git a/sys-apps/gpart/ChangeLog b/sys-apps/gpart/ChangeLog
deleted file mode 100644
index 1d41d0078ca7..000000000000
--- a/sys-apps/gpart/ChangeLog
+++ /dev/null
@@ -1,20 +0,0 @@
-# ChangeLog for sys-apps/gpart
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gpart/ChangeLog,v 1.8 2005/02/12 01:32:05 vapier Exp $
-
-*gpart-0.1h-r1 (11 Feb 2005)
-
- 11 Feb 2005; Mike Frysinger <vapier@gentoo.org>
- +files/gpart-0.1h-errno.patch, +files/gpart-0.1h-ntfs.patch,
- +files/gpart-0.1h-vfat.patch, +files/gpart-0.1h-PIC.patch:
- Add fix from reiserfs for #49732 by Brice Arnould. Grab patches from Debian
- to fix NTFS building #49878 by Hans-Christian Armingeon. Fix building with
- hardened (PIC) #43440 by John Davis.
-
-*gpart-0.1h (09 Feb 2003)
-
- 22 Apr 2003; Stefan Jones <cretin@gentoo.org> gpart-0.1h.ebuild gpart-0.1h-errno.diff :
- Added errno patch to fix compile on nwer glibc, bug #19302
-
- 15 Feb 2003: Seth Chandler <sethbc@gentoo.org> gpart-0.1h.ebuild:
- added gpart to portage...
diff --git a/sys-apps/gpart/Manifest b/sys-apps/gpart/Manifest
deleted file mode 100644
index 3c26ed21e45b..000000000000
--- a/sys-apps/gpart/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-MD5 3ef34ad8da62fc50ce23cda965e69f14 ChangeLog 878
-MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 dd19900b4954b76ab313c3c63c33b875 gpart-0.1h-r1.ebuild 963
-MD5 1d99cacbe74a8d1d559fdeb0d843359e files/gpart-0.1h-PIC.patch 394
-MD5 1ed269d6c15522200092b17a53c7a90c files/digest-gpart-0.1h-r1 136
-MD5 81eee5d9985df9bf9c23624e46cf945f files/gpart-0.1h-errno.patch 384
-MD5 ae6d86b0268618d34e618824dcd82754 files/gpart-0.1h-vfat.patch 515
-MD5 8161c02116ee4575906587eb09e35bde files/gpart-0.1h-ntfs.patch 2430
diff --git a/sys-apps/gpart/files/digest-gpart-0.1h-r1 b/sys-apps/gpart/files/digest-gpart-0.1h-r1
deleted file mode 100644
index 24d6b303d6db..000000000000
--- a/sys-apps/gpart/files/digest-gpart-0.1h-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 ee3a2d2dde70bcf404eb354b3d1ee6d4 gpart-0.1h.tar.gz 52352
-MD5 ed479abcb1d7612669c4275a1c445085 gpart-0.1h-reiserfs-3.6.patch.gz 3658
diff --git a/sys-apps/gpart/files/gpart-0.1h-PIC.patch b/sys-apps/gpart/files/gpart-0.1h-PIC.patch
deleted file mode 100644
index 6c57a9b1c66b..000000000000
--- a/sys-apps/gpart/files/gpart-0.1h-PIC.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gpart-0.1h/src/l64seek.c.orig 2005-02-11 20:29:24.000000000 -0500
-+++ gpart-0.1h/src/l64seek.c 2005-02-11 20:29:46.000000000 -0500
-@@ -26,7 +26,7 @@
- } ostck[OSTACKLEN];
- static int osptr = -1;
-
--#if defined(__linux__) && defined(__i386__)
-+#if defined(__linux__) && defined(__i386__) && ! defined(__PIC__)
- _syscall5(int,_llseek,uint,fd,ulong,hi,ulong,lo,loff_t *,res,uint,wh)
- #endif
-
diff --git a/sys-apps/gpart/files/gpart-0.1h-errno.patch b/sys-apps/gpart/files/gpart-0.1h-errno.patch
deleted file mode 100644
index 13041c20245d..000000000000
--- a/sys-apps/gpart/files/gpart-0.1h-errno.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- gpart-0.1h/src/l64seek.c
-+++ gpart-0.1h-working/src/l64seek.c
-@@ -16,6 +16,7 @@
-
- #include "l64seek.h"
-
-+#include <errno.h>
-
- #define OSTACKLEN 16
- static struct
---- gpart-0.1h/src/disku.c
-+++ gpart-0.1h-working/src/disku.c
-@@ -20,6 +20,7 @@
- #include <string.h>
- #include <sys/ioctl.h>
- #include "gpart.h"
-+#include <errno.h>
-
- #if defined(__linux__)
- #include <sys/mount.h>
diff --git a/sys-apps/gpart/files/gpart-0.1h-ntfs.patch b/sys-apps/gpart/files/gpart-0.1h-ntfs.patch
deleted file mode 100644
index 1f887ac47135..000000000000
--- a/sys-apps/gpart/files/gpart-0.1h-ntfs.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-Ripped out of debian
-
---- gpart-0.1h.orig/src/gm_ntfs.h
-+++ gpart-0.1h/src/gm_ntfs.h
-@@ -14,6 +14,9 @@
- *
- */
-
-+#include <stdint.h>
-+#include <asm/byteorder.h>
-+
- #ifndef _GM_NTFS_H
- #define _GM_NTFS_H
-
-@@ -29,32 +32,38 @@
- /* 'NTFS' in little endian */
- #define NTFS_SUPER_MAGIC 0x5346544E
-
--#if defined(i386) || defined(__i386__) || defined(__alpha__)
--
- /* unsigned integral types */
- #ifndef NTFS_INTEGRAL_TYPES
- #define NTFS_INTEGRAL_TYPES
--typedef unsigned char ntfs_u8;
--typedef unsigned short ntfs_u16;
--typedef unsigned int ntfs_u32;
--typedef s64_t ntfs_u64;
-+typedef uint8_t ntfs_u8;
-+typedef uint16_t ntfs_u16;
-+typedef uint32_t ntfs_u32;
-+typedef uint64_t ntfs_u64;
-+typedef int8_t ntfs_s8;
-+typedef int16_t ntfs_s16;
- #endif /* NTFS_INTEGRAL_TYPES */
--#endif /* defined(i386) || defined(__i386__) || defined(__alpha__) */
--
--
--/* Macros reading unsigned integers from a byte pointer */
--/* these should work for all little endian machines */
--#define NTFS_GETU8(p) (*(ntfs_u8*)(p))
--#define NTFS_GETU16(p) (*(ntfs_u16*)(p))
--#define NTFS_GETU24(p) (NTFS_GETU32(p) & 0xFFFFFF)
--#define NTFS_GETU32(p) (*(ntfs_u32*)(p))
--#define NTFS_GETU64(p) (*(ntfs_u64*)(p))
--
--/* Macros reading signed integers, returning int */
--#define NTFS_GETS8(p) ((int)(*(char*)(p)))
--#define NTFS_GETS16(p) ((int)(*(short*)(p)))
--#define NTFS_GETS24(p) (NTFS_GETU24(p) < 0x800000 ? (int)NTFS_GETU24(p) :
--
-
-+#define CPU_TO_LE16(a) __cpu_to_le16(a)
-+#define CPU_TO_LE32(a) __cpu_to_le32(a)
-+#define CPU_TO_LE64(a) __cpu_to_le64(a)
-+
-+#define LE16_TO_CPU(a) __cpu_to_le16(a)
-+#define LE32_TO_CPU(a) __cpu_to_le32(a)
-+#define LE64_TO_CPU(a) __cpu_to_le64(a)
-+
-+/* Macros reading unsigned integers */
-+#define NTFS_GETU8(p) (*(ntfs_u8*)(p))
-+#define NTFS_GETU16(p) ((ntfs_u16)LE16_TO_CPU(*(ntfs_u16*)(p)))
-+#define NTFS_GETU24(p) ((ntfs_u32)NTFS_GETU16(p) | \
-+ ((ntfs_u32)NTFS_GETU8(((char*)(p)) + 2) << 16))
-+#define NTFS_GETU32(p) ((ntfs_u32)LE32_TO_CPU(*(ntfs_u32*)(p)))
-+#define NTFS_GETU64(p) ((ntfs_u64)LE64_TO_CPU(*(ntfs_u64*)(p)))
-+
-+/* Macros reading signed integers */
-+#define NTFS_GETS8(p) ((*(ntfs_s8*)(p)))
-+#define NTFS_GETS16(p) ((ntfs_s16)LE16_TO_CPU(*(short*)(p)))
-+#define NTFS_GETS24(p) (NTFS_GETU24(p) < 0x800000 ? \
-+ (int)NTFS_GETU24(p) : \
-+ (int)(NTFS_GETU24(p) - 0x1000000))
-
- #endif /* _GM_NTFS_H */
diff --git a/sys-apps/gpart/files/gpart-0.1h-vfat.patch b/sys-apps/gpart/files/gpart-0.1h-vfat.patch
deleted file mode 100644
index 7234ac689831..000000000000
--- a/sys-apps/gpart/files/gpart-0.1h-vfat.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Ripped out of debian
-
---- gpart-0.1h.orig/src/gm_fat.h
-+++ gpart-0.1h/src/gm_fat.h
-@@ -60,6 +60,10 @@
- __u16 info_sector; /* filesystem info sector */
- __u16 backup_boot; /* backup boot sector */
- __u16 reserved2[6]; /* Unused */
--};
--
-+} __attribute__ ((packed));
-+/* "__attribute__ ((packed))"
-+ added by davidc@debian.org,
-+ as suggested by falk@zxmjz18.extern.uni-tuebingen.de
-+ Fri Jul 07 18:04:15 2000
-+ in debian bug report #66893 "FAT detection broken on Alpha" */
- #endif /* _GM_FAT_H */
diff --git a/sys-apps/gpart/gpart-0.1h-r1.ebuild b/sys-apps/gpart/gpart-0.1h-r1.ebuild
deleted file mode 100644
index 33e29ceba0ed..000000000000
--- a/sys-apps/gpart/gpart-0.1h-r1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gpart/gpart-0.1h-r1.ebuild,v 1.2 2005/02/12 01:32:05 vapier Exp $
-
-inherit eutils
-
-DESCRIPTION="Partition table rescue/guessing tool"
-HOMEPAGE="http://www.stud.uni-hannover.de/user/76201/gpart/"
-SRC_URI="http://www.stud.uni-hannover.de/user/76201/gpart/${P}.tar.gz
- ftp://ftp.namesys.com/pub/misc-patches/gpart-0.1h-reiserfs-3.6.patch.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-RDEPEND="virtual/libc"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-errno.patch
- epatch "${FILESDIR}"/${P}-vfat.patch
- epatch "${FILESDIR}"/${P}-ntfs.patch
- epatch "${FILESDIR}"/${P}-PIC.patch
- epatch "${WORKDIR}"/gpart-0.1h-reiserfs-3.6.patch
- sed -i -e "/^CFLAGS/s: -O2 : ${CFLAGS} :" make.defs
-}
-
-src_install() {
- dobin src/gpart || die
- doman man/gpart.8
- dodoc README CHANGES INSTALL LSM
-}
diff --git a/sys-apps/gpart/metadata.xml b/sys-apps/gpart/metadata.xml
deleted file mode 100644
index 96a2d586367d..000000000000
--- a/sys-apps/gpart/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>base-system</herd>
-</pkgmetadata>