Import yabitrot-0.3
yabitrot is a bitrot detection utility using the Adler-32 checksum algorithm and taking account of hardlinks. ok sthen@ Help from danj@ sthen@ for python specific bits
This commit is contained in:
parent
134fee0ed4
commit
d421113a7a
31
sysutils/yabitrot/Makefile
Normal file
31
sysutils/yabitrot/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2019/02/13 07:33:49 solene Exp $
|
||||
|
||||
COMMENT = fast bitrot detection utility
|
||||
|
||||
DISTNAME = yabitrot-0.3
|
||||
|
||||
CATEGORIES = sysutils
|
||||
|
||||
HOMEPAGE = https://sourceforge.net/projects/yabitrot/
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=yabitrot/}
|
||||
EXTRACT_SUFX = .tgz
|
||||
|
||||
MODULES = lang/python
|
||||
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
|
||||
NO_BUILD = yes
|
||||
PKG_ARCH = *
|
||||
|
||||
CONFIGURE_STYLE = none
|
||||
|
||||
pre-install:
|
||||
${SUBST_CMD} ${WRKSRC}/yabitrot
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/yabitrot/
|
||||
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/yabitrot/README
|
||||
|
||||
.include <bsd.port.mk>
|
2
sysutils/yabitrot/distinfo
Normal file
2
sysutils/yabitrot/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (yabitrot-0.3.tgz) = /pwJOZye3CTa9kQ6YEROwOqjnLeWlY7agHbo8XEJL3Q=
|
||||
SIZE (yabitrot-0.3.tgz) = 6731
|
11
sysutils/yabitrot/patches/patch-yabitrot
Normal file
11
sysutils/yabitrot/patches/patch-yabitrot
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-yabitrot,v 1.1.1.1 2019/02/13 07:33:49 solene Exp $
|
||||
|
||||
Index: yabitrot
|
||||
--- yabitrot.orig
|
||||
+++ yabitrot
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/local/bin/python3.6 -u
|
||||
+#!${MODPY_BIN} -u
|
||||
# -*- coding:Utf-8 -*-
|
||||
|
||||
|
3
sysutils/yabitrot/pkg/DESCR
Normal file
3
sysutils/yabitrot/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
yabitrot is a bitrot detection utility using the
|
||||
Adler-32 checksum algorithm and taking account of
|
||||
hardlinks.
|
4
sysutils/yabitrot/pkg/PLIST
Normal file
4
sysutils/yabitrot/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/02/13 07:33:49 solene Exp $
|
||||
bin/yabitrot
|
||||
share/doc/yabitrot/
|
||||
share/doc/yabitrot/README
|
Loading…
Reference in New Issue
Block a user