pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bkrack: add new package
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Sun Apr 24 16:44:47 2022 +0200
Changeset: 8663d955088f1c4a3473a6161abe2c66963fda5c
Modified Files:
Makefile
Added Files:
bkcrack/DESCR
bkcrack/Makefile
bkcrack/PLIST
bkcrack/TODO
bkcrack/distinfo
Log Message:
bkrack: add new package
Crack legacy zip encryption with Biham and Kocher's known plaintext
attack.
TODO:
Test if it's working.
Enable openmp (parallelization) support.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8663d955088f1c4a3473a6161abe2c66963fda5c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
bkcrack/DESCR | 2 ++
bkcrack/Makefile | 27 +++++++++++++++++++++++++++
bkcrack/PLIST | 8 ++++++++
bkcrack/TODO | 3 +++
bkcrack/distinfo | 5 +++++
6 files changed, 46 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 36462d4db5..6a2ac03559 100644
--- a/Makefile
+++ b/Makefile
@@ -289,6 +289,7 @@ SUBDIR+= bip
SUBDIR+= bitkeeper
SUBDIR+= bitlbee-purple
SUBDIR+= bkchem
+SUBDIR+= bkcrack
SUBDIR+= blad
SUBDIR+= blasr
SUBDIR+= blasr_libcpp
diff --git a/bkcrack/DESCR b/bkcrack/DESCR
new file mode 100644
index 0000000000..bdc1104ec0
--- /dev/null
+++ b/bkcrack/DESCR
@@ -0,0 +1,2 @@
+Crack legacy zip encryption with Biham and Kocher's known plaintext
+attack.
diff --git a/bkcrack/Makefile b/bkcrack/Makefile
new file mode 100644
index 0000000000..c1dd123f2a
--- /dev/null
+++ b/bkcrack/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME= bkcrack-1.3.5
+CATEGORIES= archivers security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=kimci86/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/kimci86/bkcrack/
+COMMENT= Crack legacy zip encryption with a known-plaintext attack
+LICENSE= zlib
+
+USE_CMAKE= yes
+USE_LANGUAGES= c++
+
+CMAKE_ARGS+= -DBKCRACK_PARALLEL_MODE:BOOL=OFF
+
+INSTALLATION_DIRS= bin share/doc/bkcrack share/examples/bkcrack
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/bkcrack ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/example/* ${DESTDIR}${PREFIX}/share/examples/bkcrack
+ ${INSTALL_PROGRAM} ${WRKSRC}/license.txt ${DESTDIR}${PREFIX}/share/doc/bkcrack
+ ${INSTALL_PROGRAM} ${WRKSRC}/readme.md ${DESTDIR}${PREFIX}/share/doc/bkcrack
+ ${INSTALL_PROGRAM} ${WRKSRC}/tools/*.py ${DESTDIR}${PREFIX}/share/doc/bkcrack
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/bkcrack/PLIST b/bkcrack/PLIST
new file mode 100644
index 0000000000..aba76960c7
--- /dev/null
+++ b/bkcrack/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+bin/bkcrack
+share/doc/bkcrack/deflate.py
+share/doc/bkcrack/inflate.py
+share/doc/bkcrack/license.txt
+share/doc/bkcrack/readme.md
+share/examples/bkcrack/secrets.zip
+share/examples/bkcrack/tutorial.md
diff --git a/bkcrack/TODO b/bkcrack/TODO
new file mode 100644
index 0000000000..bc20f5c60e
--- /dev/null
+++ b/bkcrack/TODO
@@ -0,0 +1,3 @@
+Test if it's working.
+
+Enable openmp (parallelization) support.
diff --git a/bkcrack/distinfo b/bkcrack/distinfo
new file mode 100644
index 0000000000..c95367a466
--- /dev/null
+++ b/bkcrack/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (bkcrack-1.3.5.tar.gz) = 8e521dcb5de1760e0ae3d51acbc26ce2eb539a5bc09cca32ffeb3a44e1dbe940
+SHA512 (bkcrack-1.3.5.tar.gz) = a7f34ed0f99e993474e6e3143a0d3e7c3b5256193c9e62cde3e0b2b5055c0c383cfd9bb3a9990cf13009056f36acf361519e404041ffb4ba7c989c235f5cb9a0
+Size (bkcrack-1.3.5.tar.gz) = 91535 bytes
Home |
Main Index |
Thread Index |
Old Index