1 |
commit: abdf6186ebf18d494af884f223075f7f0944df97 |
2 |
Author: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 23 14:54:01 2021 +0000 |
4 |
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 23 14:54:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=abdf6186 |
7 |
|
8 |
app-crypt/chntpw: moved to main tree |
9 |
|
10 |
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org> |
11 |
|
12 |
app-crypt/chntpw/Manifest | 1 - |
13 |
app-crypt/chntpw/chntpw-140201.ebuild | 58 ---------------------- |
14 |
.../files/chntpw-140201-missing-stdint.patch | 26 ---------- |
15 |
app-crypt/chntpw/metadata.xml | 8 --- |
16 |
4 files changed, 93 deletions(-) |
17 |
|
18 |
diff --git a/app-crypt/chntpw/Manifest b/app-crypt/chntpw/Manifest |
19 |
deleted file mode 100644 |
20 |
index a17c6ae0..00000000 |
21 |
--- a/app-crypt/chntpw/Manifest |
22 |
+++ /dev/null |
23 |
@@ -1 +0,0 @@ |
24 |
-DIST chntpw-source-140201.zip 1404098 BLAKE2B 86c93861983613496fcd82879a5b000537d4a7ee2add466aa26c67feabefdb5363f610234f99615139997a04aedb448468ef8b29cc6c4bf49b2e295f41308644 SHA512 a26d747f6e077d1bb3e9b8077781f8c37dd978e07b7426495862f15c9004572b706c34736fc4d1ed8856b1a43335d726b4d87c688f7f9a11fd6cc3a74d71a7fa |
25 |
|
26 |
diff --git a/app-crypt/chntpw/chntpw-140201.ebuild b/app-crypt/chntpw/chntpw-140201.ebuild |
27 |
deleted file mode 100644 |
28 |
index 1daf1b00..00000000 |
29 |
--- a/app-crypt/chntpw/chntpw-140201.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,58 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-inherit toolchain-funcs |
38 |
- |
39 |
-DESCRIPTION="Offline Windows NT Password & Registry Editor" |
40 |
-HOMEPAGE="http://pogostick.net/~pnh/ntpasswd/" |
41 |
-SRC_URI="http://pogostick.net/~pnh/ntpasswd/${PN}-source-${PV}.zip" |
42 |
- |
43 |
-LICENSE="GPL-2 LGPL-2.1" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="~amd64 ~ppc ~x86" |
46 |
-IUSE="static" |
47 |
- |
48 |
-RDEPEND="dev-libs/openssl:0=" |
49 |
-DEPEND="${RDEPEND} |
50 |
- app-arch/unzip |
51 |
- static? ( dev-libs/openssl:0[static-libs] )" |
52 |
- |
53 |
-DOCS=( |
54 |
- HISTORY.txt |
55 |
- README.txt |
56 |
- WinReg.txt |
57 |
- regedit.txt |
58 |
-) |
59 |
- |
60 |
-PATCHES=( |
61 |
- "${FILESDIR}"/${P}-missing-stdint.patch |
62 |
-) |
63 |
- |
64 |
-src_prepare() { |
65 |
- default |
66 |
- sed -i -e '/-o/s:$(CC):$(CC) $(LDFLAGS):' Makefile || die |
67 |
- |
68 |
- if ! use static ; then |
69 |
- sed -i -e "/^all:/s/ \(chntpw\|reged\).static//g" Makefile || die |
70 |
- fi |
71 |
- |
72 |
- emake clean |
73 |
-} |
74 |
- |
75 |
-src_compile() { |
76 |
- emake \ |
77 |
- CC="$(tc-getCC)" \ |
78 |
- CFLAGS="${CFLAGS} -DUSEOPENSSL -Wall" \ |
79 |
- LIBS="-lcrypto" |
80 |
-} |
81 |
- |
82 |
-src_install() { |
83 |
- einstalldocs |
84 |
- dobin chntpw cpnt reged |
85 |
- |
86 |
- if use static; then |
87 |
- dobin {chntpw,reged}.static |
88 |
- fi |
89 |
-} |
90 |
|
91 |
diff --git a/app-crypt/chntpw/files/chntpw-140201-missing-stdint.patch b/app-crypt/chntpw/files/chntpw-140201-missing-stdint.patch |
92 |
deleted file mode 100644 |
93 |
index de33ebff..00000000 |
94 |
--- a/app-crypt/chntpw/files/chntpw-140201-missing-stdint.patch |
95 |
+++ /dev/null |
96 |
@@ -1,26 +0,0 @@ |
97 |
-From c72bedece14b5797b1826e779c7fcb3e3024f820 Mon Sep 17 00:00:00 2001 |
98 |
-From: Jory Pratt <anarchy@g.o> |
99 |
-Date: Thu, 11 Jul 2019 14:19:30 -0500 |
100 |
-Subject: [PATCH] include missing stdint header |
101 |
- |
102 |
-Signed-off-by: Jory Pratt <anarchy@g.o> |
103 |
-Upstream-Status: Submitted |
104 |
---- |
105 |
- ntreg.h | 1 + |
106 |
- 1 file changed, 1 insertion(+) |
107 |
- |
108 |
-diff --git a/ntreg.h b/ntreg.h |
109 |
-index 4b46106..d6fc7cf 100644 |
110 |
---- a/ntreg.h |
111 |
-+++ b/ntreg.h |
112 |
-@@ -24,6 +24,7 @@ |
113 |
- |
114 |
- #ifndef _INCLUDE_NTREG_H |
115 |
- #define _INCLUDE_NTREG_H 1 |
116 |
-+#include <stdint.h> |
117 |
- |
118 |
- #define SZ_MAX 4096 /* Max unicode strlen before we truncate */ |
119 |
- |
120 |
--- |
121 |
-2.22.0 |
122 |
- |
123 |
|
124 |
diff --git a/app-crypt/chntpw/metadata.xml b/app-crypt/chntpw/metadata.xml |
125 |
deleted file mode 100644 |
126 |
index 040cba5f..00000000 |
127 |
--- a/app-crypt/chntpw/metadata.xml |
128 |
+++ /dev/null |
129 |
@@ -1,8 +0,0 @@ |
130 |
-<?xml version="1.0" encoding="UTF-8"?> |
131 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
132 |
-<pkgmetadata> |
133 |
- <maintainer type="project"> |
134 |
- <email>crypto@g.o</email> |
135 |
- <name>Crypto</name> |
136 |
- </maintainer> |
137 |
-</pkgmetadata> |