pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/dfc



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Sep 16 09:30:26 UTC 2017

Added Files:
        pkgsrc/sysutils/dfc: DESCR Makefile PLIST distinfo
        pkgsrc/sysutils/dfc/patches: patch-services-bsd.c

Log Message:
sysutils/dfc: Import dfc-3.1.1

dfc displays file system space usage using graphs and colors. In some ways,
it is a modernized version of df as it is able to use colors, draw graphs
and export its output to different formats such as CSV or HTML.

Packaged by Matteo Cypriani in PR 52543.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/dfc/DESCR pkgsrc/sysutils/dfc/Makefile \
    pkgsrc/sysutils/dfc/PLIST pkgsrc/sysutils/dfc/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/dfc/patches/patch-services-bsd.c

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

Added files:

Index: pkgsrc/sysutils/dfc/DESCR
diff -u /dev/null pkgsrc/sysutils/dfc/DESCR:1.1
--- /dev/null   Sat Sep 16 09:30:26 2017
+++ pkgsrc/sysutils/dfc/DESCR   Sat Sep 16 09:30:26 2017
@@ -0,0 +1,3 @@
+dfc displays file system space usage using graphs and colors. In some ways,
+it is a modernized version of df as it is able to use colors, draw graphs
+and export its output to different formats such as CSV or HTML.
Index: pkgsrc/sysutils/dfc/Makefile
diff -u /dev/null pkgsrc/sysutils/dfc/Makefile:1.1
--- /dev/null   Sat Sep 16 09:30:26 2017
+++ pkgsrc/sysutils/dfc/Makefile        Sat Sep 16 09:30:26 2017
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2017/09/16 09:30:26 wiz Exp $
+
+DISTNAME=      dfc-3.1.1
+CATEGORIES=    sysutils
+MASTER_SITES=  http://projects.gw-computing.net/attachments/download/615/
+# Note: the number at the end of the URL above changes for each release
+
+MAINTAINER=    mcy%lm7.fr@localhost
+HOMEPAGE=      http://projects.gw-computing.net/projects/dfc
+COMMENT=       Display file system space usage using graph and colors
+LICENSE=       modified-bsd
+
+USE_CMAKE=     yes
+CMAKE_ARGS+=   -DMAN_PATH=${PREFIX}/${PKGMANDIR}
+
+EGDIR=                 ${PREFIX}/share/examples/dfc
+INSTALLATION_DIRS=     ${EGDIR}
+MAKE_DIRS=             ${PKG_SYSCONFDIR}/xdg
+OWN_DIRS=              ${PKG_SYSCONFDIR}/xdg/dfc
+CONF_FILES=            ${EGDIR}/dfcrc ${PKG_SYSCONFDIR}/xdg/dfc/dfcrc
+USE_PKGLOCALEDIR=       yes
+CMAKE_ARGS+=           -DNLS_ENABLED=true
+
+post-install:
+       ${INSTALL_DATA} ${DESTDIR}${PKG_SYSCONFDIR}/xdg/dfc/dfcrc ${DESTDIR}${EGDIR}
+       ${INSTALL_DATA} ${DESTDIR}${PKG_SYSCONFDIR}/xdg/dfc/fr/dfcrc ${DESTDIR}${EGDIR}/dfcrc.fr
+       ${INSTALL_DATA} ${DESTDIR}${PKG_SYSCONFDIR}/xdg/dfc/nl/dfcrc ${DESTDIR}${EGDIR}/dfcrc.nl
+
+.include "../../devel/gettext-tools/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/dfc/PLIST
diff -u /dev/null pkgsrc/sysutils/dfc/PLIST:1.1
--- /dev/null   Sat Sep 16 09:30:26 2017
+++ pkgsrc/sysutils/dfc/PLIST   Sat Sep 16 09:30:26 2017
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2017/09/16 09:30:26 wiz Exp $
+bin/dfc
+man/fr/man1/dfc.1
+man/man1/dfc.1
+man/nl/man1/dfc.1
+share/doc/dfc/AUTHORS.md
+share/doc/dfc/CHANGELOG.md
+share/doc/dfc/HACKING.md
+share/doc/dfc/LICENSE
+share/doc/dfc/README.md
+share/doc/dfc/TRANSLATORS.md
+share/examples/dfc/dfcrc
+share/examples/dfc/dfcrc.fr
+share/examples/dfc/dfcrc.nl
+share/locale/fr/LC_MESSAGES/dfc.mo
+share/locale/nl/LC_MESSAGES/dfc.mo
Index: pkgsrc/sysutils/dfc/distinfo
diff -u /dev/null pkgsrc/sysutils/dfc/distinfo:1.1
--- /dev/null   Sat Sep 16 09:30:26 2017
+++ pkgsrc/sysutils/dfc/distinfo        Sat Sep 16 09:30:26 2017
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/09/16 09:30:26 wiz Exp $
+
+SHA1 (dfc-3.1.1.tar.gz) = 948e5ce2eb94bd2ce75475b5e57db0d1023397f6
+RMD160 (dfc-3.1.1.tar.gz) = 2caa55133f5757aaf42e82245dde35051e47a6e4
+SHA512 (dfc-3.1.1.tar.gz) = eac2c8d464d57626efe939f515889cf91510f7e6eb50382d045204d4f1d6b9b9f0af4b1d8974c9cbcff1eb5b8802157e421ec06e5a1e38dac74eba72f43f9701
+Size (dfc-3.1.1.tar.gz) = 52709 bytes
+SHA1 (patch-services-bsd.c) = 8edc22ac323bd14af617177f100d169f61b267a0

Index: pkgsrc/sysutils/dfc/patches/patch-services-bsd.c
diff -u /dev/null pkgsrc/sysutils/dfc/patches/patch-services-bsd.c:1.1
--- /dev/null   Sat Sep 16 09:30:26 2017
+++ pkgsrc/sysutils/dfc/patches/patch-services-bsd.c    Sat Sep 16 09:30:26 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-services-bsd.c,v 1.1 2017/09/16 09:30:26 wiz Exp $
+
+Drop usage of MNT_HIDDEN on NetBSD.
+--- src/platform/services-bsd.c~       2017-09-09 03:11:03.000000000 -0400
++++ src/platform/services-bsd.c        2017-09-14 15:10:22.000000000 -0400
+@@ -246,9 +246,6 @@
+ #if defined(__FreeBSD__)
+       { MNT_GJOURNAL,           "gjournal"            },
+ #endif
+-#if defined(__NetBSD__)
+-      { MNT_HIDDEN,           "hidden"            },
+-#endif
+ #if defined(__APPLE__)
+       { MNT_JOURNALED,          "journaled"          },
+ #endif



Home | Main Index | Thread Index | Old Index