alonbl      15/03/16 16:48:43

  Modified:             ChangeLog
  Added:                chntpw-140201.ebuild
  Removed:              chntpw-100627.ebuild
  Log:
  Version bump, bug#543520, thanks to Bob Wya. Cleanup
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
BF20DC51)

Revision  Changes    Path
1.22                 app-crypt/chntpw/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/chntpw/ChangeLog?rev=1.22&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/chntpw/ChangeLog?rev=1.22&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/chntpw/ChangeLog?r1=1.21&r2=1.22

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-crypt/chntpw/ChangeLog,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- ChangeLog   2 Jun 2013 10:54:42 -0000       1.21
+++ ChangeLog   16 Mar 2015 16:48:43 -0000      1.22
@@ -1,6 +1,12 @@
 # ChangeLog for app-crypt/chntpw
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/chntpw/ChangeLog,v 1.21 
2013/06/02 10:54:42 pacho Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/chntpw/ChangeLog,v 1.22 
2015/03/16 16:48:43 alonbl Exp $
+
+*chntpw-140201 (16 Mar 2015)
+
+  16 Mar 2015; Alon Bar-Lev <[email protected]> +chntpw-140201.ebuild,
+  -chntpw-100627.ebuild:
+  Version bump, bug#543520, thanks to Bob Wya. Cleanup
 
   02 Jun 2013; Pacho Ramos <[email protected]> metadata.xml:
   Cleanup due bug #328951



1.1                  app-crypt/chntpw/chntpw-140201.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/chntpw/chntpw-140201.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/chntpw/chntpw-140201.ebuild?rev=1.1&content-type=text/plain

Index: chntpw-140201.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/chntpw/chntpw-140201.ebuild,v 1.1 
2015/03/16 16:48:43 alonbl Exp $

EAPI=5

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:0"
DEPEND="${RDEPEND}
        app-arch/unzip
        static? ( dev-libs/openssl:0[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
}




Reply via email to