mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 11:38:07 -07:00
app-crypt/chntpw: cleanup
Package-Manager: portage-2.2.28
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST chntpw-source-110511.zip 758936 SHA256 593514ca8601adb4091d951499b916dfdac2bd34b325d307237fa52ca572b5b7 SHA512 2a0b3638df40481d0650a5fb524b37896db253db83eb8e12836a3f59f12df59bea89ae92710e28bd08dc01f6fa806789be118397fd097732f7132571d3057d56 WHIRLPOOL d3a9e61109f8cc2721ee734cfd6f5da914fc6397e762de3a4e9192b568c24c9c7088d77630dfb93e709f043a54244c5344a2b6fbfdc1bd36881ee4299b805812
|
||||
DIST chntpw-source-140201.zip 1404098 SHA256 96e20905443e24cba2f21e51162df71dd993a1c02bfa12b1be2d0801a4ee2ccc SHA512 a26d747f6e077d1bb3e9b8077781f8c37dd978e07b7426495862f15c9004572b706c34736fc4d1ed8856b1a43335d726b4d87c688f7f9a11fd6cc3a74d71a7fa WHIRLPOOL 87284c123d2ae1965d069d4d97cda23ce757305b3521f84089e43a9f1fa8aaa48f8fbad5bba19b3a439cfb16d270e0f77f528664fdba895c65c100492eb9e42a
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Offline Windows NT Password & Registry Editor"
|
||||
HOMEPAGE="http://pogostick.net/~pnh/ntpasswd/"
|
||||
SRC_URI="http://pogostick.net/~pnh/ntpasswd/${PN}-source-${PV}.zip"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="static"
|
||||
|
||||
RDEPEND="dev-libs/openssl"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
static? ( dev-libs/openssl[static-libs] )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/-o/s:$(CC):$(CC) $(LDFLAGS):' Makefile || die
|
||||
|
||||
if ! use static ; then
|
||||
sed -i -e "/^all:/s/ \(chntpw\|reged\).static//g" Makefile || die
|
||||
fi
|
||||
|
||||
emake clean
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS} -DUSEOPENSSL -Wall" \
|
||||
LIBS="-lcrypto"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin chntpw cpnt reged
|
||||
|
||||
if use static; then
|
||||
dobin {chntpw,reged}.static
|
||||
fi
|
||||
|
||||
dodoc {HISTORY,README,regedit,WinReg}.txt
|
||||
}
|
||||
Reference in New Issue
Block a user