git: 8a60baa6c635 - main - misc/e2fsprogs-libuuid: Remove port

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Mon, 30 Jun 2025 15:03:10 UTC
The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8a60baa6c63547911900d389309b39c4b16bb36c

commit 8a60baa6c63547911900d389309b39c4b16bb36c
Author:     Alexander Shursha <kekek2@ya.ru>
AuthorDate: 2024-12-19 08:09:31 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2025-06-30 14:57:46 +0000

    misc/e2fsprogs-libuuid: Remove port
---
 misc/Makefile                         |  1 -
 misc/e2fsprogs-libuuid/Makefile       | 47 -----------------------------------
 misc/e2fsprogs-libuuid/files/uuidd.in | 27 --------------------
 misc/e2fsprogs-libuuid/pkg-descr      |  1 -
 misc/e2fsprogs-libuuid/pkg-plist      | 22 ----------------
 5 files changed, 98 deletions(-)

diff --git a/misc/Makefile b/misc/Makefile
index 9517f2c7561c..d8c592931cf5 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -98,7 +98,6 @@
     SUBDIR += dtach
     SUBDIR += dvorak7min
     SUBDIR += dynomite
-    SUBDIR += e2fsprogs-libuuid
     SUBDIR += ecflow
     SUBDIR += edfbrowser
     SUBDIR += edflib
diff --git a/misc/e2fsprogs-libuuid/Makefile b/misc/e2fsprogs-libuuid/Makefile
deleted file mode 100644
index d0439b78b2c8..000000000000
--- a/misc/e2fsprogs-libuuid/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-PORTREVISION=	0
-CATEGORIES=	misc devel
-PKGNAMESUFFIX=	-libuuid
-
-COMMENT=	UUID library from e2fsprogs package
-
-LICENSE=	BSD3CLAUSE
-LICENSE_FILE=	${INSTALL_WRKSRC}/COPYING
-
-CONFIGURE_ARGS=	--enable-elf-shlibs --enable-libuuid
-
-OPTIONS_EXCLUDE=	NLS
-MASTERDIR=	${.CURDIR}/../../filesystems/e2fsprogs-core
-MAKE_ARGS=	LIB_SUBDIRS=lib/uuid
-USE_LDCONFIG=	yes
-ALL_TARGET=	libs
-INSTALL_TARGET=	install install-shlibs
-INSTALL_WRKSRC=	${WRKSRC}/lib/uuid
-FILESDIR=	${.CURDIR}/files
-USE_RC_SUBR=	uuidd
-
-PKGDIR=		${.CURDIR}
-
-post-patch::
-	${REINPLACE_CMD} -e 's,/var/lib/libuuid,/var/run/libuuid,g' \
-	    -e 's,/usr/sbin/uuidd,${PREFIX}/sbin/uuidd,' \
-	    ${WRKSRC}/lib/uuid/*.[ch]
-
-pre-build:
-	${MKDIR} ${WRKSRC}/lib/uuid/elfshared
-	cd ${WRKSRC}/util && ${MAKE_CMD} subst
-
-# ulimit guards against runaway tests
-# failure to launch uuidd is fine (one might be running, or we may lack
-# privileges); if it works, it'll quit after 50 seconds
-post-build:
-	cd ${WRKSRC}/misc && ${MAKE_CMD} uuidgen uuidgen.1 uuidd uuidd.8
-	cd ${INSTALL_WRKSRC} && ( ulimit -t 5 && ${MAKE_CMD} check )
-
-post-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/misc/uuidgen ${STAGEDIR}${PREFIX}/bin/
-	${INSTALL_MAN} ${WRKSRC}/misc/uuidgen.1 ${STAGEDIR}${PREFIX}/share/man/man1/
-	${INSTALL_PROGRAM} ${WRKSRC}/misc/uuidd ${STAGEDIR}${PREFIX}/sbin/
-	${INSTALL_MAN} ${WRKSRC}/misc/uuidd.8 ${STAGEDIR}${PREFIX}/share/man/man8/
-	${MKDIR} ${STAGEDIR}/var/run/libuuid
-
-.include "${MASTERDIR}/Makefile"
diff --git a/misc/e2fsprogs-libuuid/files/uuidd.in b/misc/e2fsprogs-libuuid/files/uuidd.in
deleted file mode 100644
index 5e48d6d4b052..000000000000
--- a/misc/e2fsprogs-libuuid/files/uuidd.in
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-#
-# rcNG script to start uuidd at boot-time on rcNG-enabled systems,
-# such as FreeBSD.  Note: Starting uuidd at boot-time is not strictly 
-# necessary, the library will - as of 1.41.5 - silently launch an 
-# instance of uuidd that exits after 300 seconds; for most accurate 
-# time-based uuids generated from unprivileged user accounts it may be 
-# useful to run it system-wide.
-#
-# (C) 2008, 2009 by Matthias Andree.
-# Licensed under the modified (= 2-clause) BSD license.
-
-# PROVIDE: uuidd
-# REQUIRE: FILESYSTEMS ldconfig
-# BEFORE: DAEMON
-
-. /etc/rc.subr
-
-name="uuidd"
-rcvar=uuidd_enable
-command="%%PREFIX%%/sbin/uuidd"
-procname="${command}"
-
-: ${uuidd_enable="NO"}
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/misc/e2fsprogs-libuuid/pkg-descr b/misc/e2fsprogs-libuuid/pkg-descr
deleted file mode 100644
index 0e6e023f4968..000000000000
--- a/misc/e2fsprogs-libuuid/pkg-descr
+++ /dev/null
@@ -1 +0,0 @@
-UUID library from the e2fsprogs package.
diff --git a/misc/e2fsprogs-libuuid/pkg-plist b/misc/e2fsprogs-libuuid/pkg-plist
deleted file mode 100644
index 27ef33780287..000000000000
--- a/misc/e2fsprogs-libuuid/pkg-plist
+++ /dev/null
@@ -1,22 +0,0 @@
-bin/uuidgen
-include/uuid/uuid.h
-lib/libuuid.so.1.2
-lib/libuuid.so.1
-lib/libuuid.so
-lib/libuuid.a
-libdata/pkgconfig/uuid.pc
-share/man/man1/uuidgen.1.gz
-share/man/man3/uuid.3.gz
-share/man/man3/uuid_clear.3.gz
-share/man/man3/uuid_compare.3.gz
-share/man/man3/uuid_copy.3.gz
-share/man/man3/uuid_generate.3.gz
-share/man/man3/uuid_is_null.3.gz
-share/man/man3/uuid_parse.3.gz
-share/man/man3/uuid_time.3.gz
-share/man/man3/uuid_unparse.3.gz
-share/man/man3/uuid_generate_random.3.gz
-share/man/man3/uuid_generate_time.3.gz
-share/man/man8/uuidd.8.gz
-sbin/uuidd
-@dir /var/run/libuuid