From owner-svn-ports-all@freebsd.org Mon Feb 29 21:22:50 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31C69AB7F14; Mon, 29 Feb 2016 21:22:50 +0000 (UTC) (envelope-from mi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D5FEFC4; Mon, 29 Feb 2016 21:22:49 +0000 (UTC) (envelope-from mi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1TLMnWR099033; Mon, 29 Feb 2016 21:22:49 GMT (envelope-from mi@FreeBSD.org) Received: (from mi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1TLMm6J099029; Mon, 29 Feb 2016 21:22:48 GMT (envelope-from mi@FreeBSD.org) Message-Id: <201602292122.u1TLMm6J099029@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mi set sender to mi@FreeBSD.org using -f From: Mikhail Teterin Date: Mon, 29 Feb 2016 21:22:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r409827 - in head/security: . pdfcrack X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 21:22:50 -0000 Author: mi Date: Mon Feb 29 21:22:48 2016 New Revision: 409827 URL: https://svnweb.freebsd.org/changeset/ports/409827 Log: Add a tool for brute-force cracking PDF-passwords (both user and owner ones). Added: head/security/pdfcrack/ head/security/pdfcrack/Makefile - copied, changed from r409305, head/net/minidlna/Makefile head/security/pdfcrack/distinfo (contents, props changed) head/security/pdfcrack/pkg-descr (contents, props changed) Modified: head/security/Makefile Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Mon Feb 29 21:03:14 2016 (r409826) +++ head/security/Makefile Mon Feb 29 21:22:48 2016 (r409827) @@ -708,6 +708,7 @@ SUBDIR += pbc SUBDIR += pbnj SUBDIR += pcsc-tools + SUBDIR += pdfcrack SUBDIR += pear-Auth SUBDIR += pear-Auth_HTTP SUBDIR += pear-Auth_OpenID Copied and modified: head/security/pdfcrack/Makefile (from r409305, head/net/minidlna/Makefile) ============================================================================== --- head/net/minidlna/Makefile Sun Feb 21 17:12:58 2016 (r409305, copy source) +++ head/security/pdfcrack/Makefile Mon Feb 29 21:22:48 2016 (r409827) @@ -1,54 +1,24 @@ # Created by: Mikhail Teterin # $FreeBSD$ -PORTNAME= minidlna -PORTVERSION= 1.1.5 -PORTREVISION= 1 -PORTEPOCH= 1 -CATEGORIES= net multimedia www -MASTER_SITES= SF - -MAINTAINER= wg@FreeBSD.org -COMMENT= Media-server compatible with "Digital Life Network Alliance" - -LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ - libexif.so:${PORTSDIR}/graphics/libexif \ - libid3tag.so:${PORTSDIR}/audio/libid3tag \ - libogg.so:${PORTSDIR}/audio/libogg \ - libvorbis.so:${PORTSDIR}/audio/libvorbis \ - libFLAC.so:${PORTSDIR}/audio/flac \ - libavformat.so:${PORTSDIR}/multimedia/ffmpeg - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-db-path=/var/db/minidlna \ - --with-os-url="http://www.FreeBSD.org" -USES= autoreconf gettext-tools iconv jpeg localbase - -PKGMESSAGE= ${WRKSRC}/pkg-message -SUB_FILES+= pkg-message -USE_RC_SUBR= minidlna -SUB_LIST+= USER=${USERS} - -USERS= dlna -GROUPS= dlna - -OPTIONS_DEFINE= DEBUG KQUEUE NLS -OPTIONS_DEFAULT=KQUEUE -OPTIONS_SUB= yes - -DEBUG_CFLAGS= -DDEBUG -KQUEUE_DESC= Experimental patch for automatic rescan using kqueue(2) -NLS_USES= gettext-runtime - -.include - -.if ${PORT_OPTIONS:MKQUEUE} -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-kqueue -.endif - -post-install: - ${INSTALL_MAN} ${WRKSRC}/*.5 ${STAGEDIR}${MANPREFIX}/man/man5/ - ${INSTALL_MAN} ${WRKSRC}/*.8 ${STAGEDIR}${MANPREFIX}/man/man8/ - ${INSTALL_DATA} ${WRKSRC}/minidlna.conf ${STAGEDIR}${PREFIX}/etc/minidlna.conf.sample +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 Added: head/security/pdfcrack/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/pdfcrack/distinfo Mon Feb 29 21:22:48 2016 (r409827) @@ -0,0 +1,2 @@ +SHA256 (pdfcrack-0.15.tar.gz) = 791043693f9fc261fa326dbcb5e4de3801d6ae552dbea39293f9b2674c250d3e +SIZE (pdfcrack-0.15.tar.gz) = 34269 Added: head/security/pdfcrack/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/pdfcrack/pkg-descr Mon Feb 29 21:22:48 2016 (r409827) @@ -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/