pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/hs-mountpoints



Module Name:    pkgsrc
Committed By:   pho
Date:           Tue Oct 31 18:48:34 UTC 2023

Added Files:
        pkgsrc/sysutils/hs-mountpoints: DESCR Makefile PLIST buildlink3.mk
            distinfo
        pkgsrc/sysutils/hs-mountpoints/patches: patch-cbits_libmounts.h

Log Message:
sysutils/hs-mountpoints: import hs-mountpoints-1.0.2

Lists currently mounted filesystems.

Works on: Linux, BSD, Mac OS X, Android


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/hs-mountpoints/DESCR \
    pkgsrc/sysutils/hs-mountpoints/Makefile \
    pkgsrc/sysutils/hs-mountpoints/PLIST \
    pkgsrc/sysutils/hs-mountpoints/buildlink3.mk \
    pkgsrc/sysutils/hs-mountpoints/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/hs-mountpoints/patches/patch-cbits_libmounts.h

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

Added files:

Index: pkgsrc/sysutils/hs-mountpoints/DESCR
diff -u /dev/null pkgsrc/sysutils/hs-mountpoints/DESCR:1.1
--- /dev/null   Tue Oct 31 18:48:34 2023
+++ pkgsrc/sysutils/hs-mountpoints/DESCR        Tue Oct 31 18:48:34 2023
@@ -0,0 +1,3 @@
+Lists currently mounted filesystems.
+
+Works on: Linux, BSD, Mac OS X, Android
Index: pkgsrc/sysutils/hs-mountpoints/Makefile
diff -u /dev/null pkgsrc/sysutils/hs-mountpoints/Makefile:1.1
--- /dev/null   Tue Oct 31 18:48:34 2023
+++ pkgsrc/sysutils/hs-mountpoints/Makefile     Tue Oct 31 18:48:34 2023
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2023/10/31 18:48:34 pho Exp $
+
+DISTNAME=      mountpoints-1.0.2
+CATEGORIES=    sysutils
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       List mount points
+LICENSE=       gnu-lgpl-v2.1
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/hs-mountpoints/PLIST
diff -u /dev/null pkgsrc/sysutils/hs-mountpoints/PLIST:1.1
--- /dev/null   Tue Oct 31 18:48:34 2023
+++ pkgsrc/sysutils/hs-mountpoints/PLIST        Tue Oct 31 18:48:34 2023
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2023/10/31 18:48:34 pho Exp $
+lib/mountpoints-${PKGVERSION}/${HS_VERSION}/package-description
+lib/mountpoints-${PKGVERSION}/${HS_VERSION}/package-id
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/System/MountPoints.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/MountPoints.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/System/MountPoints.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/mountpoints-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/mountpoints-${PKGVERSION}/html/System-MountPoints.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/mountpoints-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/mountpoints-${PKGVERSION}/html/doc-index.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/mountpoints-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/mountpoints-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/mountpoints-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/mountpoints-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/mountpoints-${PKGVERSION}/html/mountpoints.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/mountpoints-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/mountpoints-${PKGVERSION}/html/quick-jump.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/mountpoints-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/sysutils/hs-mountpoints/buildlink3.mk
diff -u /dev/null pkgsrc/sysutils/hs-mountpoints/buildlink3.mk:1.1
--- /dev/null   Tue Oct 31 18:48:34 2023
+++ pkgsrc/sysutils/hs-mountpoints/buildlink3.mk        Tue Oct 31 18:48:34 2023
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/10/31 18:48:34 pho Exp $
+
+BUILDLINK_TREE+=       hs-mountpoints
+
+.if !defined(HS_MOUNTPOINTS_BUILDLINK3_MK)
+HS_MOUNTPOINTS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-mountpoints+= hs-mountpoints>=1.0.2
+BUILDLINK_ABI_DEPENDS.hs-mountpoints+= hs-mountpoints>=1.0.2
+BUILDLINK_PKGSRCDIR.hs-mountpoints?=   ../../sysutils/hs-mountpoints
+.endif # HS_MOUNTPOINTS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-mountpoints
Index: pkgsrc/sysutils/hs-mountpoints/distinfo
diff -u /dev/null pkgsrc/sysutils/hs-mountpoints/distinfo:1.1
--- /dev/null   Tue Oct 31 18:48:34 2023
+++ pkgsrc/sysutils/hs-mountpoints/distinfo     Tue Oct 31 18:48:34 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/10/31 18:48:34 pho Exp $
+
+BLAKE2s (mountpoints-1.0.2.tar.gz) = e810d055e475adcd709177c3d283abbabd8cd5ab6b11ab0fc1619388786cc8b4
+SHA512 (mountpoints-1.0.2.tar.gz) = 763b58944ef4422641d4ce92d7a61c79fa95cdae9795e48db194ce10df622a3e079670099daa35f7bb51d4d10ee54ccc411105eb918bab2327d54571d9bd9060
+Size (mountpoints-1.0.2.tar.gz) = 13505 bytes
+SHA1 (patch-cbits_libmounts.h) = 47e9087d6d221f925a1f30018688550566462f68

Index: pkgsrc/sysutils/hs-mountpoints/patches/patch-cbits_libmounts.h
diff -u /dev/null pkgsrc/sysutils/hs-mountpoints/patches/patch-cbits_libmounts.h:1.1
--- /dev/null   Tue Oct 31 18:48:34 2023
+++ pkgsrc/sysutils/hs-mountpoints/patches/patch-cbits_libmounts.h      Tue Oct 31 18:48:34 2023
@@ -0,0 +1,23 @@
+$NetBSD: patch-cbits_libmounts.h,v 1.1 2023/10/31 18:48:34 pho Exp $
+
+Support NetBSD. The upstream doesn't seem to be accepting pull requests.
+
+--- cbits/libmounts.h.orig     2016-03-15 17:20:47.000000000 +0000
++++ cbits/libmounts.h
+@@ -2,11 +2,15 @@
+ #if defined __ANDROID__
+ # define UNKNOWN
+ #else
+-#if defined (__FreeBSD__) || defined (__APPLE__)
++#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__APPLE__)
+ # include <sys/param.h>
+ # include <sys/ucred.h>
+ # include <sys/mount.h>
+ # define GETMNTINFO
++# if defined(__NetBSD__)
++/* NetBSD uses struct statvfs instead of struct statfs. */
++#   define statfs statvfs
++# endif
+ #else
+ #if defined (__linux__) || defined (__FreeBSD_kernel__)
+ /* Linux or Debian kFreeBSD */



Home | Main Index | Thread Index | Old Index