From nobody Mon Apr 18 00:00:49 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D4E9711CF16D; Mon, 18 Apr 2022 00:00:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KhRsZ2gFpz4YWr; Mon, 18 Apr 2022 00:00:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650240050; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9q6EHog4qwkJBhIRPcs11JQQHNNiyfyShLIMHIKVseU=; b=O2MMb28BTrayHix+XmqjXmSZFo2qK3cu93U8YcsGVnOPcVoSBS6744CrrEeyWQz/1VMrlb GqGbm+rU+cfHkg2nP+eENonJsBLAU46819NCHDCQ/ONCa7fRrfeotmvvA/62JgX5uRTSfX Zd4nZJ82X9p1+Pq97PkGpUjGkHAY8Y0mZuFj7Vahm5kIE7Kpb1fF8zbBSWcJHmpOd5k46Y ssZNXvcQ4dpbIZl8gVBUeUg7sOBT84ySN/uu7nlAXjd0zCExAE8ABS+5YdeWCr9PjtiHQh /hDSxJqRl7/mSirKZP7n5FOeVZ3YL/bwGvbJFnHJuOMmvCCQBfifNn8dQHxGVQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1734E27D6F; Mon, 18 Apr 2022 00:00:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23I00nkY039529; Mon, 18 Apr 2022 00:00:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23I00nmn039528; Mon, 18 Apr 2022 00:00:49 GMT (envelope-from git) Date: Mon, 18 Apr 2022 00:00:49 GMT Message-Id: <202204180000.23I00nmn039528@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 68f3c2ea05f7 - main - sysutils/gdisk: Update to 1.0.9 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 68f3c2ea05f7498ae188bdf35bef1b96abe2e1d0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650240050; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9q6EHog4qwkJBhIRPcs11JQQHNNiyfyShLIMHIKVseU=; b=ASZmtQwSm/DTvX2m3q7hXBcB5Ev1jfMnXxLiMtAWSpc6P0sG8qNIiMfU3R1eF2O5wqWTY2 5p3Qbz8CdvY5p7FFPbSP1vbADTZoXyqYuNBxfmSyee9LORVk0yo6npRMLKG4ioYGyIlY+P t3IWmyMXIWt7PXtev5lTj+Qb8LbHAli3V+3RWBjKsUJGe8iXyWO4PcrG2Ht9ut/J4Fg4UG GYWh9MwzMhxHWgdvNu1eteL4M61PvOrzvPEwhEK1/pJL8NazkXB/wu6mPZtT6MrVvNClUj DIu1Ma301v2AAr1DSNUpkn6GrEg8ctzoNEGBFaNNhccL6P3qPVlAqzWpSxP+xA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650240050; a=rsa-sha256; cv=none; b=hudw5EOeh2OrePUlEjt0uXLZxNQmpbGa7IxVvEZ0MD+cSOuMqKCeHhVwBMscupgRzrjkO7 42qncyJacHmH40akz7z7Fxc+7VHF/v4JAl15e+VILyx2vvFLCBLAYSx2ymTS3CfD235EcB 651cYTR8eKo2kt+1eb5NP1f8aLbBY6EtJdVLVQ9xMVvMiej5VBj1CwXr6cTQkJR8FdwycS oU1P+fhrSVMlBFd6jqaqVjGXHIyobGQ6F6LTS9HdVkmOgmYrqvp/SFJY9vZiRsz4Mt0RyY vn2EIQfubPxGFwOTHzrIVrX02LDIiAK/3nn+vAPGNIMdIMaO2gPxm99VTj/QBA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=68f3c2ea05f7498ae188bdf35bef1b96abe2e1d0 commit 68f3c2ea05f7498ae188bdf35bef1b96abe2e1d0 Author: Po-Chuan Hsieh AuthorDate: 2022-04-17 23:42:59 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-04-17 23:58:04 +0000 sysutils/gdisk: Update to 1.0.9 - Reformat pkg-descr - Update WWW Changes: https://www.rodsbooks.com/gdisk/revisions.html --- sysutils/gdisk/Makefile | 3 +-- sysutils/gdisk/distinfo | 6 ++--- sysutils/gdisk/files/patch-Makefile.freebsd | 42 ++++++----------------------- sysutils/gdisk/files/patch-parttypes.h | 11 ++++---- sysutils/gdisk/pkg-descr | 29 +++++++++----------- 5 files changed, 31 insertions(+), 60 deletions(-) diff --git a/sysutils/gdisk/Makefile b/sysutils/gdisk/Makefile index 732cd7da5c52..d520e0daa39b 100644 --- a/sysutils/gdisk/Makefile +++ b/sysutils/gdisk/Makefile @@ -1,8 +1,7 @@ # Created by: Dmitry N Fomin PORTNAME= gdisk -PORTVERSION= 1.0.8 -PORTREVISION= 2 +PORTVERSION= 1.0.9 CATEGORIES= sysutils MASTER_SITES= SF/gptfdisk/gptfdisk/${PORTVERSION} DISTNAME= gptfdisk-${PORTVERSION} diff --git a/sysutils/gdisk/distinfo b/sysutils/gdisk/distinfo index 1698ac05586f..08cac7a4de3a 100644 --- a/sysutils/gdisk/distinfo +++ b/sysutils/gdisk/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1622214008 -SHA256 (gptfdisk-1.0.8.tar.gz) = 95d19856f004dabc4b8c342b2612e8d0a9eebdd52004297188369f152e9dc6df -SIZE (gptfdisk-1.0.8.tar.gz) = 208958 +TIMESTAMP = 1650228694 +SHA256 (gptfdisk-1.0.9.tar.gz) = dafead2693faeb8e8b97832b23407f6ed5b3219bc1784f482dd855774e2d50c2 +SIZE (gptfdisk-1.0.9.tar.gz) = 215065 diff --git a/sysutils/gdisk/files/patch-Makefile.freebsd b/sysutils/gdisk/files/patch-Makefile.freebsd index e57054322592..cb01aa7b6ad2 100644 --- a/sysutils/gdisk/files/patch-Makefile.freebsd +++ b/sysutils/gdisk/files/patch-Makefile.freebsd @@ -1,37 +1,11 @@ ---- Makefile.freebsd.orig 2021-01-13 22:14:27 UTC +--- Makefile.freebsd.orig 2022-04-14 23:17:12 UTC +++ Makefile.freebsd -@@ -1,8 +1,8 @@ --CC=clang +@@ -1,6 +1,6 @@ -CXX=clang++ -+CC?=gcc -+CXX?=g++ - CFLAGS+=-D_FILE_OFFSET_BITS=64 - #CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16 -I/usr/local/include --CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64 -I /usr/local/include -+CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64 ${CPPFLAGS} - LDFLAGS+= ++CXX?=clang++ + #CXXFLAGS+=-O2 -Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16 -I/usr/local/include +-CXXFLAGS+=-O2 -Wall -D_FILE_OFFSET_BITS=64 -I /usr/local/include ++CXXFLAGS+=-O2 -Wall -D_FILE_OFFSET_BITS=64 $(CPPFLAGS) + LDFLAGS+=-L/usr/local/lib + LDLIBS+=-luuid #-licuio LIB_NAMES=crc32 support guid gptpart mbrpart basicmbr mbr gpt bsd parttypes attributes diskio diskio-unix - MBR_LIBS=support diskio diskio-unix basicmbr mbrpart -@@ -15,18 +15,18 @@ all: gdisk cgdisk sgdisk fixparts - - gdisk: $(LIB_OBJS) gdisk.o gpttext.o - # $(CXX) $(LIB_OBJS) gdisk.o gpttext.o -L/usr/local/lib $(LDFLAGS) -licuio -luuid -o gdisk -- $(CXX) $(LIB_OBJS) gdisk.o gpttext.o -L/usr/local/lib $(LDFLAGS) -luuid -o gdisk -+ $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -luuid -o gdisk - - cgdisk: $(LIB_OBJS) cgdisk.o gptcurses.o - # $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o -L/usr/local/lib $(LDFLAGS) -licuio -luuid -lncurses -o cgdisk -- $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o -L/usr/local/lib $(LDFLAGS) -luuid -lncurses -o cgdisk -+ $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -luuid -lncurses -o cgdisk - - sgdisk: $(LIB_OBJS) sgdisk.o gptcl.o - # $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o -L/usr/local/lib $(LDFLAGS) -luuid -licuio -lpopt -o sgdisk -- $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o -L/usr/local/lib $(LDFLAGS) -luuid -lpopt -o sgdisk -+ $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -luuid -lpopt -o sgdisk - - fixparts: $(MBR_LIB_OBJS) fixparts.o -- $(CXX) $(MBR_LIB_OBJS) fixparts.o -L/usr/local/lib $(LDFLAGS) -o fixparts -+ $(CXX) $(MBR_LIB_OBJS) fixparts.o $(LDFLAGS) -o fixparts - - lint: #no pre-reqs - lint $(SRCS) diff --git a/sysutils/gdisk/files/patch-parttypes.h b/sysutils/gdisk/files/patch-parttypes.h index 457b7bcf16fe..349c5a5b1cb5 100644 --- a/sysutils/gdisk/files/patch-parttypes.h +++ b/sysutils/gdisk/files/patch-parttypes.h @@ -1,12 +1,13 @@ ---- parttypes.h.orig 2021-01-13 22:14:27 UTC +--- parttypes.h.orig 2022-04-14 23:17:12 UTC +++ parttypes.h -@@ -16,6 +16,9 @@ - #include "guid.h" +@@ -15,6 +15,10 @@ + #define UnicodeString std::string + #endif - using namespace std; +#ifdef USE_UTF16 +using namespace icu; +#endif - ++ // A partition type struct AType { + // I'm using a custom 16-bit extension of the original MBR 8-bit diff --git a/sysutils/gdisk/pkg-descr b/sysutils/gdisk/pkg-descr index ee49547520c6..57e64bc9d32f 100644 --- a/sysutils/gdisk/pkg-descr +++ b/sysutils/gdisk/pkg-descr @@ -1,18 +1,15 @@ -GPT fdisk (aka gdisk) by Roderick W. Smith, rodsmith@rodsbooks.com +GPT fdisk (aka gdisk) is intended as a (somewhat) fdisk-workalike program for +GPT-partitioned disks. Specific advantages of gdisk, cgdisk and sgdisk include: -This software is intended as a (somewhat) fdisk-workalike program for -GPT-partitioned disks. Specific advantages of gdisk, cgdisk and -sgdisk include: +- Edit GUID partition table (GPT) definitions in Linux, FreeBSD, MacOS X, or + Windows +- Convert MBR to GPT or back without data loss +- Convert BSD disklabels to GPT without data loss +- Create hybrid MBR, which permits GPT-unaware OSes to access up to three GPT + partitions on the disk +- Repair damaged GPT data structures +- The ability to specify sector-exact partition sizes +- Clear identification of the number of unallocated sectors on a disk - * Edit GUID partition table (GPT) definitions in Linux, FreeBSD, MacOS X, - or Windows - * Convert MBR to GPT or back without data loss - * Convert BSD disklabels to GPT without data loss - * Create hybrid MBR, which permits GPT-unaware - OSes to access up to three GPT partitions on the disk - * Repair damaged GPT data structures - * The ability to specify sector-exact partition sizes - * Clear identification of the number of unallocated sectors on a disk - -WWW: http://www.rodsbooks.com/gdisk/ - http://www.rodsbooks.com/fixparts/ +WWW: https://www.rodsbooks.com/gdisk/ +WWW: https://www.rodsbooks.com/fixparts/