pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libbsd: remove, imported in the main tree.



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By:	vms
Date:		Mon Dec 19 18:45:55 2022 +0100
Changeset:	dd082a0b73c6aa814852efbffdef7b21a004542a

Modified Files:
	Makefile
Removed Files:
	libbsd/DESCR
	libbsd/Makefile
	libbsd/PLIST
	libbsd/buildlink3.mk
	libbsd/builtin.mk
	libbsd/distinfo
	libbsd/patches/patch-src_Makefile.am

Log Message:
libbsd: remove, imported in the main tree.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=dd082a0b73c6aa814852efbffdef7b21a004542a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                             |   1 -
 libbsd/DESCR                         |   4 -
 libbsd/Makefile                      |  34 -----
 libbsd/PLIST                         | 271 -----------------------------------
 libbsd/buildlink3.mk                 |  17 ---
 libbsd/builtin.mk                    |  47 ------
 libbsd/distinfo                      |   6 -
 libbsd/patches/patch-src_Makefile.am |  16 ---
 8 files changed, 396 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 3907b2940e..85dae30a3e 100644
--- a/Makefile
+++ b/Makefile
@@ -2050,7 +2050,6 @@ SUBDIR+=	libbfio
 SUBDIR+=	libbpg
 SUBDIR+=	libbrahe
 SUBDIR+=	libbs2b
-SUBDIR+=	libbsd
 SUBDIR+=	libbtctl
 SUBDIR+=	libc++
 SUBDIR+=	libc++-abi
diff --git a/libbsd/DESCR b/libbsd/DESCR
deleted file mode 100644
index ef2fd317cc..0000000000
--- a/libbsd/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-This library provides useful functions commonly found on BSD systems,
-and lacking on others like GNU systems, thus making it easier to port
-projects with strong BSD origins, without needing to embed the same code
-over and over again on each project.
diff --git a/libbsd/Makefile b/libbsd/Makefile
deleted file mode 100644
index ef881bae36..0000000000
--- a/libbsd/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	libbsd-0.11.7
-CATEGORIES=	devel
-MASTER_SITES=	https://libbsd.freedesktop.org/releases/
-EXTRACT_SUFX=	.tar.xz
-
-MAINTAINER=	vins%NetBSD.org@localhost
-HOMEPAGE=	https://libbsd.freedesktop.org/
-COMMENT=	Compatibility library for BSD functions under other systems
-LICENSE=	original-bsd AND modified-bsd AND 2-clause-bsd
-LICENSE+=	AND isc AND mit AND beer-ware
-
-NOT_FOR_PLATFORM=	NetBSD-*-* FreeBSD-*-*
-NOT_FOR_PLATFORM+=	OpenBSD-*-* DragonFly-*
-
-GNU_CONFIGURE=	yes
-USE_LIBTOOL=	yes
-USE_TOOLS+=	pkg-config autoconf automake autoreconf
-
-CFLAGS+=	-ffat-lto-objects
-
-pre-configure:
-	set -e; cd ${WRKSRC} && autoreconf -fiv
-
-do-test:
-	${RUN} cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${MAKE} check
-
-PKGCONFIG_OVERRIDE+=	src/libbsd-ctor.pc.in
-PKGCONFIG_OVERRIDE+=	src/libbsd-overlay.pc.in
-PKGCONFIG_OVERRIDE+=	src/libbsd.pc.in
-
-.include "../../devel/libmd/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/libbsd/PLIST b/libbsd/PLIST
deleted file mode 100644
index b6a327d728..0000000000
--- a/libbsd/PLIST
+++ /dev/null
@@ -1,271 +0,0 @@
-@comment $NetBSD$
-include/bsd/bitstring.h
-include/bsd/bsd.h
-include/bsd/err.h
-include/bsd/getopt.h
-include/bsd/grp.h
-include/bsd/inttypes.h
-include/bsd/libutil.h
-include/bsd/md5.h
-include/bsd/netinet/ip_icmp.h
-include/bsd/nlist.h
-include/bsd/pwd.h
-include/bsd/readpassphrase.h
-include/bsd/stdio.h
-include/bsd/stdlib.h
-include/bsd/string.h
-include/bsd/stringlist.h
-include/bsd/sys/bitstring.h
-include/bsd/sys/cdefs.h
-include/bsd/sys/endian.h
-include/bsd/sys/param.h
-include/bsd/sys/poll.h
-include/bsd/sys/queue.h
-include/bsd/sys/time.h
-include/bsd/sys/tree.h
-include/bsd/timeconv.h
-include/bsd/unistd.h
-include/bsd/vis.h
-include/bsd/wchar.h
-lib/libbsd-ctor.a
-lib/libbsd.la
-lib/pkgconfig/libbsd-ctor.pc
-lib/pkgconfig/libbsd-overlay.pc
-lib/pkgconfig/libbsd.pc
-man/man3/LIST_CLASS_ENTRY.3bsd
-man/man3/LIST_CLASS_HEAD.3bsd
-man/man3/LIST_EMPTY.3bsd
-man/man3/LIST_ENTRY.3bsd
-man/man3/LIST_FIRST.3bsd
-man/man3/LIST_FOREACH.3bsd
-man/man3/LIST_FOREACH_FROM.3bsd
-man/man3/LIST_FOREACH_FROM_SAFE.3bsd
-man/man3/LIST_FOREACH_SAFE.3bsd
-man/man3/LIST_HEAD.3bsd
-man/man3/LIST_HEAD_INITIALIZER.3bsd
-man/man3/LIST_INIT.3bsd
-man/man3/LIST_INSERT_AFTER.3bsd
-man/man3/LIST_INSERT_BEFORE.3bsd
-man/man3/LIST_INSERT_HEAD.3bsd
-man/man3/LIST_NEXT.3bsd
-man/man3/LIST_PREV.3bsd
-man/man3/LIST_REMOVE.3bsd
-man/man3/LIST_SWAP.3bsd
-man/man3/RB_EMPTY.3bsd
-man/man3/RB_ENTRY.3bsd
-man/man3/RB_FIND.3bsd
-man/man3/RB_FOREACH.3bsd
-man/man3/RB_FOREACH_REVERSE.3bsd
-man/man3/RB_GENERATE.3bsd
-man/man3/RB_GENERATE_STATIC.3bsd
-man/man3/RB_HEAD.3bsd
-man/man3/RB_INIT.3bsd
-man/man3/RB_INITIALIZER.3bsd
-man/man3/RB_INSERT.3bsd
-man/man3/RB_LEFT.3bsd
-man/man3/RB_MAX.3bsd
-man/man3/RB_MIN.3bsd
-man/man3/RB_NEXT.3bsd
-man/man3/RB_NFIND.3bsd
-man/man3/RB_PARENT.3bsd
-man/man3/RB_PREV.3bsd
-man/man3/RB_PROTOTYPE.3bsd
-man/man3/RB_PROTOTYPE_STATIC.3bsd
-man/man3/RB_REMOVE.3bsd
-man/man3/RB_RIGHT.3bsd
-man/man3/RB_ROOT.3bsd
-man/man3/SLIST_CLASS_ENTRY.3bsd
-man/man3/SLIST_CLASS_HEAD.3bsd
-man/man3/SLIST_EMPTY.3bsd
-man/man3/SLIST_ENTRY.3bsd
-man/man3/SLIST_FIRST.3bsd
-man/man3/SLIST_FOREACH.3bsd
-man/man3/SLIST_FOREACH_FROM.3bsd
-man/man3/SLIST_FOREACH_FROM_SAFE.3bsd
-man/man3/SLIST_FOREACH_SAFE.3bsd
-man/man3/SLIST_HEAD.3bsd
-man/man3/SLIST_HEAD_INITIALIZER.3bsd
-man/man3/SLIST_INIT.3bsd
-man/man3/SLIST_INSERT_AFTER.3bsd
-man/man3/SLIST_INSERT_HEAD.3bsd
-man/man3/SLIST_NEXT.3bsd
-man/man3/SLIST_REMOVE.3bsd
-man/man3/SLIST_REMOVE_AFTER.3bsd
-man/man3/SLIST_REMOVE_HEAD.3bsd
-man/man3/SLIST_REMOVE_PREVPTR.3bsd
-man/man3/SLIST_SWAP.3bsd
-man/man3/SPLAY_EMPTY.3bsd
-man/man3/SPLAY_ENTRY.3bsd
-man/man3/SPLAY_FIND.3bsd
-man/man3/SPLAY_FOREACH.3bsd
-man/man3/SPLAY_GENERATE.3bsd
-man/man3/SPLAY_HEAD.3bsd
-man/man3/SPLAY_INIT.3bsd
-man/man3/SPLAY_INITIALIZER.3bsd
-man/man3/SPLAY_INSERT.3bsd
-man/man3/SPLAY_LEFT.3bsd
-man/man3/SPLAY_MAX.3bsd
-man/man3/SPLAY_MIN.3bsd
-man/man3/SPLAY_NEXT.3bsd
-man/man3/SPLAY_PROTOTYPE.3bsd
-man/man3/SPLAY_REMOVE.3bsd
-man/man3/SPLAY_RIGHT.3bsd
-man/man3/SPLAY_ROOT.3bsd
-man/man3/STAILQ_CLASS_ENTRY.3bsd
-man/man3/STAILQ_CLASS_HEAD.3bsd
-man/man3/STAILQ_CONCAT.3bsd
-man/man3/STAILQ_EMPTY.3bsd
-man/man3/STAILQ_ENTRY.3bsd
-man/man3/STAILQ_FIRST.3bsd
-man/man3/STAILQ_FOREACH.3bsd
-man/man3/STAILQ_FOREACH_FROM.3bsd
-man/man3/STAILQ_FOREACH_FROM_SAFE.3bsd
-man/man3/STAILQ_FOREACH_SAFE.3bsd
-man/man3/STAILQ_HEAD.3bsd
-man/man3/STAILQ_HEAD_INITIALIZER.3bsd
-man/man3/STAILQ_INIT.3bsd
-man/man3/STAILQ_INSERT_AFTER.3bsd
-man/man3/STAILQ_INSERT_HEAD.3bsd
-man/man3/STAILQ_INSERT_TAIL.3bsd
-man/man3/STAILQ_LAST.3bsd
-man/man3/STAILQ_NEXT.3bsd
-man/man3/STAILQ_REMOVE.3bsd
-man/man3/STAILQ_REMOVE_AFTER.3bsd
-man/man3/STAILQ_REMOVE_HEAD.3bsd
-man/man3/STAILQ_SWAP.3bsd
-man/man3/TAILQ_CLASS_ENTRY.3bsd
-man/man3/TAILQ_CLASS_HEAD.3bsd
-man/man3/TAILQ_CONCAT.3bsd
-man/man3/TAILQ_EMPTY.3bsd
-man/man3/TAILQ_ENTRY.3bsd
-man/man3/TAILQ_FIRST.3bsd
-man/man3/TAILQ_FOREACH.3bsd
-man/man3/TAILQ_FOREACH_FROM.3bsd
-man/man3/TAILQ_FOREACH_FROM_SAFE.3bsd
-man/man3/TAILQ_FOREACH_REVERSE.3bsd
-man/man3/TAILQ_FOREACH_REVERSE_FROM.3bsd
-man/man3/TAILQ_FOREACH_REVERSE_FROM_SAFE.3bsd
-man/man3/TAILQ_FOREACH_REVERSE_SAFE.3bsd
-man/man3/TAILQ_FOREACH_SAFE.3bsd
-man/man3/TAILQ_HEAD.3bsd
-man/man3/TAILQ_HEAD_INITIALIZER.3bsd
-man/man3/TAILQ_INIT.3bsd
-man/man3/TAILQ_INSERT_AFTER.3bsd
-man/man3/TAILQ_INSERT_BEFORE.3bsd
-man/man3/TAILQ_INSERT_HEAD.3bsd
-man/man3/TAILQ_INSERT_TAIL.3bsd
-man/man3/TAILQ_LAST.3bsd
-man/man3/TAILQ_NEXT.3bsd
-man/man3/TAILQ_PREV.3bsd
-man/man3/TAILQ_REMOVE.3bsd
-man/man3/TAILQ_SWAP.3bsd
-man/man3/TIMESPEC_TO_TIMEVAL.3bsd
-man/man3/TIMEVAL_TO_TIMESPEC.3bsd
-man/man3/arc4random.3bsd
-man/man3/arc4random_addrandom.3bsd
-man/man3/arc4random_buf.3bsd
-man/man3/arc4random_stir.3bsd
-man/man3/arc4random_uniform.3bsd
-man/man3/be16dec.3bsd
-man/man3/be16enc.3bsd
-man/man3/be32dec.3bsd
-man/man3/be32enc.3bsd
-man/man3/be64dec.3bsd
-man/man3/be64enc.3bsd
-man/man3/bit_alloc.3bsd
-man/man3/bit_clear.3bsd
-man/man3/bit_decl.3bsd
-man/man3/bit_ffc.3bsd
-man/man3/bit_ffs.3bsd
-man/man3/bit_nclear.3bsd
-man/man3/bit_nset.3bsd
-man/man3/bit_set.3bsd
-man/man3/bit_test.3bsd
-man/man3/bitstr_size.3bsd
-man/man3/bitstring.3bsd
-man/man3/byteorder.3bsd
-man/man3/closefrom.3bsd
-man/man3/dehumanize_number.3bsd
-man/man3/errc.3bsd
-man/man3/expand_number.3bsd
-man/man3/explicit_bzero.3bsd
-man/man3/fgetln.3bsd
-man/man3/fgetwln.3bsd
-man/man3/flopen.3bsd
-man/man3/fmtcheck.3bsd
-man/man3/fparseln.3bsd
-man/man3/fpurge.3bsd
-man/man3/freezero.3bsd
-man/man3/funopen.3bsd
-man/man3/getbsize.3bsd
-man/man3/getmode.3bsd
-man/man3/getpeereid.3bsd
-man/man3/getprogname.3bsd
-man/man3/gid_from_group.3bsd
-man/man3/group_from_gid.3bsd
-man/man3/heapsort.3bsd
-man/man3/humanize_number.3bsd
-man/man3/le16dec.3bsd
-man/man3/le16enc.3bsd
-man/man3/le32dec.3bsd
-man/man3/le32enc.3bsd
-man/man3/le64dec.3bsd
-man/man3/le64enc.3bsd
-man/man3/md5.3bsd
-man/man3/mergesort.3bsd
-man/man3/nlist.3bsd
-man/man3/pidfile.3bsd
-man/man3/pidfile_close.3bsd
-man/man3/pidfile_open.3bsd
-man/man3/pidfile_remove.3bsd
-man/man3/pidfile_write.3bsd
-man/man3/pwcache.3bsd
-man/man3/queue.3bsd
-man/man3/radixsort.3bsd
-man/man3/readpassphrase.3bsd
-man/man3/reallocarray.3bsd
-man/man3/reallocf.3bsd
-man/man3/recallocarray.3bsd
-man/man3/setmode.3bsd
-man/man3/setproctitle.3bsd
-man/man3/setproctitle_init.3bsd
-man/man3/setprogname.3bsd
-man/man3/sl_add.3bsd
-man/man3/sl_delete.3bsd
-man/man3/sl_find.3bsd
-man/man3/sl_free.3bsd
-man/man3/sl_init.3bsd
-man/man3/sradixsort.3bsd
-man/man3/stringlist.3bsd
-man/man3/strlcat.3bsd
-man/man3/strlcpy.3bsd
-man/man3/strmode.3bsd
-man/man3/strnstr.3bsd
-man/man3/strnunvis.3bsd
-man/man3/strnvis.3bsd
-man/man3/strtoi.3bsd
-man/man3/strtonum.3bsd
-man/man3/strtou.3bsd
-man/man3/strunvis.3bsd
-man/man3/strvis.3bsd
-man/man3/strvisx.3bsd
-man/man3/timeradd.3bsd
-man/man3/timerclear.3bsd
-man/man3/timercmp.3bsd
-man/man3/timerisset.3bsd
-man/man3/timersub.3bsd
-man/man3/timespec.3bsd
-man/man3/timespecadd.3bsd
-man/man3/timespecclear.3bsd
-man/man3/timespeccmp.3bsd
-man/man3/timespecisset.3bsd
-man/man3/timespecsub.3bsd
-man/man3/timeval.3bsd
-man/man3/tree.3bsd
-man/man3/uid_from_user.3bsd
-man/man3/unvis.3bsd
-man/man3/user_from_uid.3bsd
-man/man3/vis.3bsd
-man/man3/wcslcat.3bsd
-man/man3/wcslcpy.3bsd
-man/man7/libbsd.7
diff --git a/libbsd/buildlink3.mk b/libbsd/buildlink3.mk
deleted file mode 100644
index 814097fba2..0000000000
--- a/libbsd/buildlink3.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+=	libbsd
-
-.if !defined(LIBBSD_BUILDLINK3_MK)
-LIBBSD_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.libbsd+=	libbsd>=0.11.0
-BUILDLINK_PKGSRCDIR.libbsd?=	../../devel/libbsd
-
-BUILDLINK_CFLAGS.libbsd+=	-I${BUILDLINK_PREFIX.libbsd}/include/bsd -DLIBBSD_OVERLAY
-BUILDLINK_LDFLAGS.libbsd+=	-lbsd -lmd
-
-.include "../../devel/libmd/buildlink3.mk"
-.endif	# LIBBSD_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-libbsd
diff --git a/libbsd/builtin.mk b/libbsd/builtin.mk
deleted file mode 100644
index 51a726df2f..0000000000
--- a/libbsd/builtin.mk
+++ /dev/null
@@ -1,47 +0,0 @@
-# $NetBSD: builtin.mk,v 1.1 2020/12/09 11:21:46 cheusov Exp $
-
-BUILTIN_PKG:=	libbsd
-
-BUILTIN_FIND_HEADERS_VAR:=	H_LIBBSD
-BUILTIN_FIND_HEADERS.H_LIBBSD=	bsd/bsd.h
-
-.include "../../mk/buildlink3/bsd.builtin.mk"
-
-###
-### Determine if there is a built-in implementation of the package and
-### set IS_BUILTIN.<pkg> appropriately ("yes" or "no").
-###
-.if !defined(IS_BUILTIN.libbsd)
-IS_BUILTIN.libbsd=	no
-.  if empty(H_LIBBSD:M__nonexistent__) && empty(H_LIBBSD:M${LOCALBASE}/*)
-IS_BUILTIN.libbsd=	yes
-.  endif
-.endif
-MAKEVARS+=		IS_BUILTIN.libbsd
-
-###
-### Determine whether we should use the built-in implementation if it
-### exists, and set USE_BUILTIN.<pkg> appropriate ("yes" or "no").
-###
-.if !defined(USE_BUILTIN.libbsd)
-.  if ${PREFER.libbsd} == "pkgsrc"
-USE_BUILTIN.libbsd=	no
-.  else
-USE_BUILTIN.libbsd=	${IS_BUILTIN.libbsd}
-.    if defined(BUILTIN_PKG.libbsd) && \
-        ${IS_BUILTIN.libbsd:M[yY][eE][sS]}
-USE_BUILTIN.libbsd=	yes
-.      for _dep_ in ${BUILDLINK_API_DEPENDS.libbsd}
-.        if ${USE_BUILTIN.libbsd:M[yY][eE][sS]}
-USE_BUILTIN.libbsd!=							\
-	if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.libbsd:Q}; then	\
-		${ECHO} yes;						\
-	else								\
-		${ECHO} no;						\
-	fi
-.        endif
-.      endfor
-.    endif
-.  endif  # PREFER.libbsd
-.endif
-MAKEVARS+=		USE_BUILTIN.libbsd
diff --git a/libbsd/distinfo b/libbsd/distinfo
deleted file mode 100644
index 8358841223..0000000000
--- a/libbsd/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD$
-
-BLAKE2s (libbsd-0.11.7.tar.xz) = 3493aa935253101a41884d8c24bdd449c01da5029ab4bf3619cc8b120cb8384f
-SHA512 (libbsd-0.11.7.tar.xz) = 51fda4724f41dd8a4628afd58c21236a7588d9045e337e06eeabf83805a9aaaa53705441ca901ad11f1c65f18e881523bdc97721a7d3d6a5cced27f2450d09a2
-Size (libbsd-0.11.7.tar.xz) = 418508 bytes
-SHA1 (patch-src_Makefile.am) = 00127300a4eff0083a14e6efff3ae6563556c269
diff --git a/libbsd/patches/patch-src_Makefile.am b/libbsd/patches/patch-src_Makefile.am
deleted file mode 100644
index 8cef9748d5..0000000000
--- a/libbsd/patches/patch-src_Makefile.am
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-Prevent the libbsd.so.0.11.6 shared library from being overwitten during
-the instal-exec-hook target. 
-
---- src/Makefile.am.orig	2022-01-29 14:23:40.000000000 +0000
-+++ src/Makefile.am
-@@ -156,7 +156,7 @@ if NEED_TRANSPARENT_LIBMD
- # The "GNU ld script" magic is required so that GNU ldconfig does not complain
- # about an unknown format file.
- 	soname=`readlink $(DESTDIR)$(libdir)/libbsd.so`; \
--	$(RM) $(DESTDIR)$(libdir)/libbsd.so; \
-+	rm -f $(DESTDIR)$(libdir)/libbsd.so; \
- 	(echo '/* GNU ld script'; \
- 	 echo ' * The MD5 functions are provided by the libmd library. */'; \
- 	 cat format.ld; \


Home | Main Index | Thread Index | Old Index