pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   cheusov
Date:           Wed Dec  9 11:21:46 UTC 2020

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/libbsd: DESCR Makefile PLIST buildlink3.mk builtin.mk
            distinfo

Log Message:
Import libbsd-0.10.0 from wip/


To generate a diff of this commit:
cvs rdiff -u -r1.3289 -r1.3290 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libbsd/DESCR pkgsrc/devel/libbsd/Makefile \
    pkgsrc/devel/libbsd/PLIST pkgsrc/devel/libbsd/buildlink3.mk \
    pkgsrc/devel/libbsd/builtin.mk pkgsrc/devel/libbsd/distinfo

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

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3289 pkgsrc/devel/Makefile:1.3290
--- pkgsrc/devel/Makefile:1.3289        Wed Dec  9 11:11:26 2020
+++ pkgsrc/devel/Makefile       Wed Dec  9 11:21:46 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3289 2020/12/09 11:11:26 jaapb Exp $
+# $NetBSD: Makefile,v 1.3290 2020/12/09 11:21:46 cheusov Exp $
 #
 
 COMMENT=       Development utilities
@@ -712,6 +712,7 @@ SUBDIR+=    libbinio
 SUBDIR+=       libblkid
 SUBDIR+=       libbonobo
 SUBDIR+=       libbonoboui
+SUBDIR+=       libbsd
 SUBDIR+=       libcbor
 SUBDIR+=       libcerf
 SUBDIR+=       libcfg+

Added files:

Index: pkgsrc/devel/libbsd/DESCR
diff -u /dev/null pkgsrc/devel/libbsd/DESCR:1.1
--- /dev/null   Wed Dec  9 11:21:46 2020
+++ pkgsrc/devel/libbsd/DESCR   Wed Dec  9 11:21:46 2020
@@ -0,0 +1,4 @@
+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.
Index: pkgsrc/devel/libbsd/Makefile
diff -u /dev/null pkgsrc/devel/libbsd/Makefile:1.1
--- /dev/null   Wed Dec  9 11:21:46 2020
+++ pkgsrc/devel/libbsd/Makefile        Wed Dec  9 11:21:46 2020
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2020/12/09 11:21:46 cheusov Exp $
+
+DISTNAME=      libbsd-0.10.0
+CATEGORIES=    devel
+MASTER_SITES=  http://libbsd.freedesktop.org/releases/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    matthias%rampke.de@localhost
+HOMEPAGE=      https://libbsd.freedesktop.org/
+COMMENT=       Compatibility library for BSD functions under other systems
+LICENSE=       original-bsd
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/libbsd/PLIST
diff -u /dev/null pkgsrc/devel/libbsd/PLIST:1.1
--- /dev/null   Wed Dec  9 11:21:46 2020
+++ pkgsrc/devel/libbsd/PLIST   Wed Dec  9 11:21:46 2020
@@ -0,0 +1,252 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/09 11:21:46 cheusov Exp $
+include/bsd/bitstring.h
+include/bsd/bsd.h
+include/bsd/err.h
+include/bsd/getopt.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/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_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_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_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_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_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/funopen.3bsd
+man/man3/getbsize.3bsd
+man/man3/getmode.3bsd
+man/man3/getpeereid.3bsd
+man/man3/getprogname.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/queue.3bsd
+man/man3/radixsort.3bsd
+man/man3/readpassphrase.3bsd
+man/man3/reallocarray.3bsd
+man/man3/reallocf.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/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/unvis.3bsd
+man/man3/vis.3bsd
+man/man3/wcslcat.3bsd
+man/man3/wcslcpy.3bsd
+man/man7/libbsd.7
Index: pkgsrc/devel/libbsd/buildlink3.mk
diff -u /dev/null pkgsrc/devel/libbsd/buildlink3.mk:1.1
--- /dev/null   Wed Dec  9 11:21:46 2020
+++ pkgsrc/devel/libbsd/buildlink3.mk   Wed Dec  9 11:21:46 2020
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/12/09 11:21:46 cheusov Exp $
+
+BUILDLINK_TREE+=       libbsd
+
+.if !defined(LIBBSD_BUILDLINK3_MK)
+LIBBSD_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libbsd+= libbsd>=0.10.0
+BUILDLINK_PKGSRCDIR.libbsd?=   ../../devel/libbsd
+.endif # LIBBSD_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libbsd
Index: pkgsrc/devel/libbsd/builtin.mk
diff -u /dev/null pkgsrc/devel/libbsd/builtin.mk:1.1
--- /dev/null   Wed Dec  9 11:21:46 2020
+++ pkgsrc/devel/libbsd/builtin.mk      Wed Dec  9 11:21:46 2020
@@ -0,0 +1,47 @@
+# $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) && \
+        !empty(IS_BUILTIN.libbsd:M[yY][eE][sS])
+USE_BUILTIN.libbsd=    yes
+.      for _dep_ in ${BUILDLINK_API_DEPENDS.libbsd}
+.        if !empty(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
Index: pkgsrc/devel/libbsd/distinfo
diff -u /dev/null pkgsrc/devel/libbsd/distinfo:1.1
--- /dev/null   Wed Dec  9 11:21:46 2020
+++ pkgsrc/devel/libbsd/distinfo        Wed Dec  9 11:21:46 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/12/09 11:21:46 cheusov Exp $
+
+SHA1 (libbsd-0.10.0.tar.xz) = 9cb8f0b717da13c8aa13b9f3f5f8105ee6e5ccb5
+RMD160 (libbsd-0.10.0.tar.xz) = 12ba2b56ce049a1bae5212435fdd17635f1de6ce
+SHA512 (libbsd-0.10.0.tar.xz) = b75529785b16c93d31401187f8a58258fbebe565dac071c8311775c913af989f62cd29d5ce2651af3ea6221cffd31cf04826577d3e546ab9ca14340f297777b9
+Size (libbsd-0.10.0.tar.xz) = 393576 bytes



Home | Main Index | Thread Index | Old Index