diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
| commit | 290aebdea65a02557706eaeda477fef0437b6a48 (patch) | |
| tree | f87a939169a508a2e943570501b64cc16b411cda /sys-boot/dvhtool | |
| parent | 6783ddcd4b73d9ce586a71770caed352bec93b16 (diff) | |
| download | baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip | |
Adding metadata
Diffstat (limited to 'sys-boot/dvhtool')
| -rw-r--r-- | sys-boot/dvhtool/Manifest | 1 | ||||
| -rw-r--r-- | sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild | 41 | ||||
| -rw-r--r-- | sys-boot/dvhtool/files/dvhtool-1.0.1-add-raid-lvm-parttypes.patch | 24 | ||||
| -rw-r--r-- | sys-boot/dvhtool/files/dvhtool-1.0.1-debian-warn_type_guess.diff | 12 | ||||
| -rw-r--r-- | sys-boot/dvhtool/files/dvhtool-1.0.1-debian-xopen_source.diff | 11 | ||||
| -rw-r--r-- | sys-boot/dvhtool/files/dvhtool-1.0.1-debian.diff | 135 | ||||
| -rw-r--r-- | sys-boot/dvhtool/metadata.xml | 9 |
7 files changed, 0 insertions, 233 deletions
diff --git a/sys-boot/dvhtool/Manifest b/sys-boot/dvhtool/Manifest deleted file mode 100644 index 3c6f389ba248..000000000000 --- a/sys-boot/dvhtool/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST dvhtool_1.0.1.orig.tar.gz 53283 BLAKE2B 7268d3bda57988ab9432d88c3c220a450a4726fd5b2560315e731b50d9088f66821a2629f7d0059305c880e429b77f40f609ea0798d362fb7b5831002a453967 SHA512 e81c4427f98a7aa79b9e8cee6fad35822d5fa48fda17f656407d1d6de50658ff2c8b6c3a890ae07afafebf126b5388c98ebf63af4a93bf1091161a27ea09d140 diff --git a/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild b/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild deleted file mode 100644 index 86fe693b70db..000000000000 --- a/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools toolchain-funcs - -DESCRIPTION="Tool to copy kernel(s) into the volume header on SGI MIPS-based workstations" -HOMEPAGE="http://packages.debian.org/unstable/utils/dvhtool" -SRC_URI="mirror://debian/pool/main/d/dvhtool/dvhtool_${PV}.orig.tar.gz" -S="${S}.orig" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~mips ~x86" - -PATCHES=( - "${FILESDIR}/${P}-debian.diff" - "${FILESDIR}/${P}-debian-warn_type_guess.diff" - "${FILESDIR}/${P}-debian-xopen_source.diff" - "${FILESDIR}/${P}-add-raid-lvm-parttypes.patch" -) - -src_prepare() { - default - - # Fix automake warning - mv configure.{in,ac} || die - - eautoreconf -} - -src_configure() { - CC="$(tc-getCC)" LD="$(tc-getLD)" \ - econf -} - -src_compile() { - CC="$(tc-getCC)" LD="$(tc-getLD)" \ - emake -} diff --git a/sys-boot/dvhtool/files/dvhtool-1.0.1-add-raid-lvm-parttypes.patch b/sys-boot/dvhtool/files/dvhtool-1.0.1-add-raid-lvm-parttypes.patch deleted file mode 100644 index 2a3cd753252b..000000000000 --- a/sys-boot/dvhtool/files/dvhtool-1.0.1-add-raid-lvm-parttypes.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naurp dvhtool-1.0.1.orig-A/dvh.h dvhtool-1.0.1.orig/dvh.h ---- dvhtool-1.0.1.orig-A/dvh.h 2005-09-28 02:45:56 -0400 -+++ dvhtool-1.0.1.orig/dvh.h 2005-09-28 02:41:15 -0400 -@@ -129,6 +129,8 @@ struct partition_table { /* one per log - #define PTYPE_XVM 13 /* partition is sgi XVM */ - #define PTYPE_LSWAP 0x82 /* partition is Linux swap */ - #define PTYPE_LINUX 0x83 /* partition is Linux native */ -+#define PTYPE_LLVM 0x8e /* partition is Linux LVM */ -+#define PTYPE_LRAID 0xfd /* partition is Linux RAID */ - #define NPTYPES 16 - - #define VHMAGIC 0xbe5a941 /* randomly chosen value */ -diff -Naurp dvhtool-1.0.1.orig-A/dvhlib.c dvhtool-1.0.1.orig/dvhlib.c ---- dvhtool-1.0.1.orig-A/dvhlib.c 2005-09-28 02:45:56 -0400 -+++ dvhtool-1.0.1.orig/dvhlib.c 2005-09-28 02:41:45 -0400 -@@ -52,6 +52,8 @@ ptype2str(int ptype) - case PTYPE_XVM: return "XVM Volume"; - case PTYPE_LSWAP: return "Linux Swap"; - case PTYPE_LINUX: return "Linux Native"; -+ case PTYPE_LLVM: return "Linux LVM"; -+ case PTYPE_LRAID: return "Linux RAID"; - } - return "Unknown Partition Type"; - } diff --git a/sys-boot/dvhtool/files/dvhtool-1.0.1-debian-warn_type_guess.diff b/sys-boot/dvhtool/files/dvhtool-1.0.1-debian-warn_type_guess.diff deleted file mode 100644 index bab2a305be92..000000000000 --- a/sys-boot/dvhtool/files/dvhtool-1.0.1-debian-warn_type_guess.diff +++ /dev/null @@ -1,12 +0,0 @@ ---- a/dvhlib.h -+++ b/dvhlib.h -@@ -3,7 +3,8 @@ #include "config.h" - #ifdef HAVE_INTTYPES_H - #include <inttypes.h> - #else --typedef unsigned int uint32_t; /* A guess ... */ -+ #warning Guessing type of uint32_t -+ typedef unsigned int uint32_t; /* A guess ... */ - #endif - - #include "dvh.h" diff --git a/sys-boot/dvhtool/files/dvhtool-1.0.1-debian-xopen_source.diff b/sys-boot/dvhtool/files/dvhtool-1.0.1-debian-xopen_source.diff deleted file mode 100644 index 333eb2a74064..000000000000 --- a/sys-boot/dvhtool/files/dvhtool-1.0.1-debian-xopen_source.diff +++ /dev/null @@ -1,11 +0,0 @@ -diff --git a/dvhlib.c b/dvhlib.c ---- a/dvhlib.c -+++ b/dvhlib.c -@@ -1,6 +1,7 @@ - /* - * Disk Volume Header Library - */ -+#define _XOPEN_SOURCE 500 - #include <stdio.h> - #include <stdlib.h> - #include <string.h> diff --git a/sys-boot/dvhtool/files/dvhtool-1.0.1-debian.diff b/sys-boot/dvhtool/files/dvhtool-1.0.1-debian.diff deleted file mode 100644 index 43f33ffc2596..000000000000 --- a/sys-boot/dvhtool/files/dvhtool-1.0.1-debian.diff +++ /dev/null @@ -1,135 +0,0 @@ ---- dvhtool-1.0.1.orig/dvh.h -+++ dvhtool-1.0.1/dvh.h -@@ -127,6 +127,8 @@ - #define PTYPE_XFSLOG 11 /* partition is sgi XFS log */ - #define PTYPE_XLV 12 /* partition is part of an XLV vol */ - #define PTYPE_XVM 13 /* partition is sgi XVM */ -+#define PTYPE_LSWAP 0x82 /* partition is Linux swap */ -+#define PTYPE_LINUX 0x83 /* partition is Linux native */ - #define NPTYPES 16 - - #define VHMAGIC 0xbe5a941 /* randomly chosen value */ ---- dvhtool-1.0.1.orig/dvhlib.c -+++ dvhtool-1.0.1/dvhlib.c -@@ -50,6 +50,8 @@ - case PTYPE_XFSLOG: return "XFS Log"; - case PTYPE_XLV: return "XLV Volume"; - case PTYPE_XVM: return "XVM Volume"; -+ case PTYPE_LSWAP: return "Linux Swap"; -+ case PTYPE_LINUX: return "Linux Native"; - } - return "Unknown Partition Type"; - } -@@ -325,8 +327,10 @@ - if (res == -1) - die("Couldn't stat source file"); - -- /* XXX pad to blocksize? */ -- size = vh->vh_pt[8].pt_nblks * blksize - istat.st_size; -+ /* calculate free blocks in vh */ -+ size = vh->vh_pt[8].pt_nblks /* total vh size */ -+ - ( vh->vh_pt[8].pt_firstlbn + 4 ) /* reserved area */ -+ - (( istat.st_size + blksize - 1 ) / blksize ); /* pad to blocksize */ - /* - * Are we replacing an existing file, check for enough space and free - * entry in volume header -@@ -336,16 +340,15 @@ - /* It's an existing file, delete it. */ - memset(vd->vd_name, 0, VDNAMESIZE); - vd->vd_nbytes = 0; -- break; - } - if ( vd->vd_nbytes ) { -- size -= vd->vd_nbytes; -+ size -= (vd->vd_nbytes + blksize - 1 ) / blksize; /* pad to blocksize */ - num++; - } - vd++; - } - -- if ( num == NVDIR ) -+ if ( num == NVDIR ) - die("No more free entries in volume header"); - if ( size <= 0 ) - die("Not enough space left in volume header"); -@@ -403,7 +406,7 @@ - die("Short write"); - } - } -- dest += (vd->vd_nbytes + 511) / 512; /* XXX Blocksize */ -+ dest += (vd->vd_nbytes + blksize - 1) / blksize; - vd++; - } - ---- dvhtool-1.0.1.orig/dvhtool.8 -+++ dvhtool-1.0.1/dvhtool.8 -@@ -1,4 +1,4 @@ --.TH DVHTOOL 1 "July 2000" -+.TH DVHTOOL 8 "July 2000" - .UC 4 - .SH NAME - dvhtool \- Disk volume header manipulation tool -@@ -85,4 +85,4 @@ - .PP - .I dvhtool - was written by Ralf Baechle <ralf@oss.sgi.com>, Keith M. Wesolowski <wesolows@foobazco.org>, --Tor Arntsen <tor@spacetec.no>, Guido Guenther <guido.guenther@gmx.net>. -+Tor Arntsen <tor@spacetec.no>, Guido Guenther <agx@debian.org>. ---- dvhtool-1.0.1.orig/Makefile.in -+++ dvhtool-1.0.1/Makefile.in -@@ -1,4 +1,4 @@ --# Makefile.in generated automatically by automake 1.4a from Makefile.am -+# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - - # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. - # This Makefile.in is free software; the Free Software Foundation -@@ -46,10 +46,9 @@ - AUTOHEADER = @AUTOHEADER@ - - INSTALL = @INSTALL@ --INSTALL_PROGRAM = @INSTALL_PROGRAM@ -+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) - INSTALL_DATA = @INSTALL_DATA@ - INSTALL_SCRIPT = @INSTALL_SCRIPT@ --INSTALL_STRIP_FLAG = - transform = @program_transform_name@ - - NORMAL_INSTALL = : -@@ -104,7 +103,7 @@ - - DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - --TAR = gtar -+TAR = tar - GZIP_ENV = --best - DEP_FILES = .deps/dvhlib.P .deps/dvhtool.P .deps/getopt.P \ - .deps/getopt1.P .deps/pread.P -@@ -124,7 +123,7 @@ - $(ACLOCAL_M4): configure.in acinclude.m4 - cd $(srcdir) && $(ACLOCAL) - --config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) -+config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck - $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) - cd $(srcdir) && $(AUTOCONF) -@@ -173,8 +172,8 @@ - $(mkinstalldirs) $(DESTDIR)$(sbindir) - @list='$(sbin_PROGRAMS)'; for p in $$list; do \ - if test -f $$p; then \ -- echo " $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ -- $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ -+ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ -+ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ - else :; fi; \ - done - -@@ -382,7 +381,7 @@ - all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS) config.h - all-redirect: all-am - install-strip: -- $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install -+ $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install - installdirs: - $(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir)/man8 - diff --git a/sys-boot/dvhtool/metadata.xml b/sys-boot/dvhtool/metadata.xml deleted file mode 100644 index 3e24ca6d4795..000000000000 --- a/sys-boot/dvhtool/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>mips@gentoo.org</email> - <name>MIPS architecture team</name> - </maintainer> - <origin>baldeagleos-repo</origin> -</pkgmetadata> |
