diff options
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/pdfcrack/Makefile | 24 | ||||
-rw-r--r-- | security/pdfcrack/distinfo | 2 | ||||
-rw-r--r-- | security/pdfcrack/pkg-descr | 7 |
4 files changed, 34 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 5550deb..74d36bb 100644 --- a/security/Makefile +++ b/security/Makefile @@ -708,6 +708,7 @@ SUBDIR += pbc SUBDIR += pbnj SUBDIR += pcsc-tools + SUBDIR += pdfcrack SUBDIR += pear-Auth SUBDIR += pear-Auth_HTTP SUBDIR += pear-Auth_OpenID diff --git a/security/pdfcrack/Makefile b/security/pdfcrack/Makefile new file mode 100644 index 0000000..16ff642 --- /dev/null +++ b/security/pdfcrack/Makefile @@ -0,0 +1,24 @@ +# Created by: Mikhail Teterin <mi@aldan.algebra.com> +# $FreeBSD$ + +PORTNAME= pdfcrack +PORTVERSION= 0.15 +CATEGORIES= security print +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} + +MAINTAINER= mi@aldan.algebra.com +COMMENT= Cracking tool for password-protected PDF-files + +LICENSE= GPLv2+ + +PLIST_FILES= bin/pdfcrack bin/pdfreader +ALL_TARGET= pdfcrack pdfreader + +post-patch: + ${REINPLACE_CMD} 's,-O.* -g,,' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${PLIST_FILES:Mbin/*:S,bin/,${WRKSRC}/,g} \ + ${STAGEDIR}${PREFIX}/bin/ + +.include <bsd.port.mk> diff --git a/security/pdfcrack/distinfo b/security/pdfcrack/distinfo new file mode 100644 index 0000000..cc672f8 --- /dev/null +++ b/security/pdfcrack/distinfo @@ -0,0 +1,2 @@ +SHA256 (pdfcrack-0.15.tar.gz) = 791043693f9fc261fa326dbcb5e4de3801d6ae552dbea39293f9b2674c250d3e +SIZE (pdfcrack-0.15.tar.gz) = 34269 diff --git a/security/pdfcrack/pkg-descr b/security/pdfcrack/pkg-descr new file mode 100644 index 0000000..61fe4a6 --- /dev/null +++ b/security/pdfcrack/pkg-descr @@ -0,0 +1,7 @@ +pdfcrack is a simple tool for recovering passwords (both owner and +user ones) from pdf-documents. It should be able to handle all +pdfs that uses the standard security handler but the pdf-parsing +routines are a bit of a quick hack so you might stumble across some +pdfs where the parser needs to be fixed to handle. + +WWW: http://sourceforge.net/projects/pdfcrack/ |