diff --git a/filesystem/gptfdisk/gptfdisk.cache b/filesystem/gptfdisk/gptfdisk.cache new file mode 100644 index 000000000..4539a11d8 --- /dev/null +++ b/filesystem/gptfdisk/gptfdisk.cache @@ -0,0 +1,5 @@ + +[TIMESTAMP] 1325880939 Fri Jan 6 21:15:39 2012 +[BUILDTIME] 0 (1) +[SIZE] 0.46 MB, 15 files + diff --git a/filesystem/gptfdisk/gptfdisk.conf b/filesystem/gptfdisk/gptfdisk.conf new file mode 100644 index 000000000..e0754486b --- /dev/null +++ b/filesystem/gptfdisk/gptfdisk.conf @@ -0,0 +1,26 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../gptfdisk/gptfdisk.conf +# Copyright (C) 2012 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +if ! atstage native; then + var_remove makeopt ' ' "all" + var_append makeopt ' ' "gdisk sgdisk fixparts" + makeinstopt= + hook_add postmake 5 'gptfdisk_install' +fi + +gptfdisk_install(){ + install -t "$root$sbindir" {,s}gdisk fixparts + install -m644 -t "$root$mandir/man8" {{,s}gdisk,fixparts}.8 + install -m644 -t "$root$docdir" README NEWS +} diff --git a/filesystem/gptfdisk/gptfdisk.desc b/filesystem/gptfdisk/gptfdisk.desc new file mode 100644 index 000000000..ca9454025 --- /dev/null +++ b/filesystem/gptfdisk/gptfdisk.desc @@ -0,0 +1,33 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../gptfdisk/gptfdisk.desc +[COPY] Copyright (C) 2012 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] A text-mode partitioning tool + +[T] GPT fdisk is a disk partitioning tool loosely modeled on Linux fdisk, but +[T] used for modifying GUID Partition Table (GPT) disks. The related +[T] FixParts utility fixes some common problems on Master Boot Record (MBR) disks. + +[U] http://www.rodsbooks.com/gdisk/ + +[A] Rod Smith +[M] Nagy Karoly Gabriel + +[C] extra/filesystem + +[L] GPL +[S] Beta +[V] 0.8.1 +[P] X -?----5---9 800.000 + +[D] 2164191466 gptfdisk-0.8.1.tar.gz http://dl.sourceforge.net/sourceforge/gptfdisk/ diff --git a/filesystem/gptfdisk/no_icu.patch b/filesystem/gptfdisk/no_icu.patch new file mode 100644 index 000000000..319318b50 --- /dev/null +++ b/filesystem/gptfdisk/no_icu.patch @@ -0,0 +1,52 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../gptfdisk/no_icu.patch +# Copyright (C) 2012 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- gptfdisk-0.8.1/Makefile.orig 2011-10-01 23:52:33.000000000 +0200 ++++ gptfdisk-0.8.1/Makefile 2012-01-06 20:40:06.468070557 +0100 +@@ -1,8 +1,8 @@ + CC=gcc + CXX=g++ + CFLAGS+=-D_FILE_OFFSET_BITS=64 +-CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16 +-#CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64 ++#CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16 ++CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64 + LDFLAGS+= + LIB_NAMES=crc32 support guid gptpart mbrpart basicmbr mbr gpt bsd parttypes attributes diskio diskio-unix + MBR_LIBS=support diskio diskio-unix basicmbr mbrpart +@@ -14,16 +14,16 @@ + all: cgdisk gdisk sgdisk fixparts + + gdisk: $(LIB_OBJS) gdisk.o gpttext.o +-# $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -luuid -o gdisk +- $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -licuio -licuuc -luuid -o gdisk ++ $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -luuid -o gdisk ++# $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -licuio -licuuc -luuid -o gdisk + + cgdisk: $(LIB_OBJS) cgdisk.o gptcurses.o +-# $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -luuid -lncurses -o cgdisk +- $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -licuio -licuuc -luuid -lncurses -o cgdisk ++ $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -luuid -lncurses -o cgdisk ++# $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -licuio -licuuc -luuid -lncurses -o cgdisk + + sgdisk: $(LIB_OBJS) sgdisk.o gptcl.o +-# $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -luuid -lpopt -o sgdisk +- $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -licuio -licuuc -luuid -lpopt -o sgdisk ++ $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -luuid -lpopt -o sgdisk ++# $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -licuio -licuuc -luuid -lpopt -o sgdisk + + fixparts: $(MBR_LIB_OBJS) fixparts.o + $(CXX) $(MBR_LIB_OBJS) fixparts.o $(LDFLAGS) -o fixparts