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:
solene 2019-02-13 07:33:49 +00:00
parent 134fee0ed4
commit d421113a7a
5 changed files with 51 additions and 0 deletions

View 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>

View File

@ -0,0 +1,2 @@
SHA256 (yabitrot-0.3.tgz) = /pwJOZye3CTa9kQ6YEROwOqjnLeWlY7agHbo8XEJL3Q=
SIZE (yabitrot-0.3.tgz) = 6731

View 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 -*-

View File

@ -0,0 +1,3 @@
yabitrot is a bitrot detection utility using the
Adler-32 checksum algorithm and taking account of
hardlinks.

View 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