app-crypt/samdump2 - 3.0.0 (pentoo)

Search

Install

Install this version:

emerge -a =app-crypt/samdump2-3.0.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-crypt/samdump2-3.0.0

Or alternatively:

emerge --autounmask-write -a =app-crypt/samdump2-3.0.0

Package Information

Description:
Windows NT/2k/XP/Vista sam hash dumper
Homepage:
https://sourceforge.net/projects/ophcrack/files/
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
3.0.0 8 ~amd64 ~arm ~x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Windows NT/2k/XP/Vista sam hash dumper"
HOMEPAGE="https://sourceforge.net/projects/ophcrack/files/"
SRC_URI="https://downloads.sourceforge.net/ophcrack/${PN}/${P}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"

DEPEND="dev-libs/openssl:="
RDEPEND="${DEPEND}"

src_prepare() {
	# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828537
	eapply "${FILESDIR}"/50_fix-openssl-1.1.0-compat.patch

	sed -i \
		-e "s|CFLAGS    =|CFLAGS    +=|" \
		-e 's|= -lssl|= -lssl -lcrypto|g' \
		Makefile || die

	default
}

src_compile() {
	emake CC="$(tc-getCC)"
}

src_install() {
	dobin samdump2
	doman samdump2.1
}

Inherited Eclasses

Dependencies

DEPEND

dev-libs/openssl:=

RDEPEND

dev-libs/openssl:=

Manifest for 3.0.0

Type File Size Source URLs
DIST samdump2-3.0.0.tar.bz2 32784 bytes https://downloads.sourceforge.net/ophcrack/samdump2/samdump2-3.0.0.tar.bz2