Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 663038
Collapse All | Expand All

(-)a/app-crypt/md4sum/md4sum-0.02.03-r1.ebuild (-3 / +3 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2015 Gentoo Foundation
1
# Copyright 1999-2018 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI=5
4
EAPI=5
Lines 6-13 EAPI=5 Link Here
6
inherit eutils
6
inherit eutils
7
7
8
DESCRIPTION="md4 and edonkey hash algorithm tool"
8
DESCRIPTION="md4 and edonkey hash algorithm tool"
9
HOMEPAGE="http://linux.xulin.de/c/"
9
HOMEPAGE="https://linux.xulin.de/c/"
10
SRC_URI="http://linux.xulin.de/c/${P}.tar.gz"
10
SRC_URI="https://linux.xulin.de/c/${P}.tar.gz"
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~amd64 ~x86 ~ppc"
13
KEYWORDS="~amd64 ~x86 ~ppc"
(-)a/app-crypt/md4sum/md4sum-0.02.03-r2.ebuild (+31 lines)
Line 0 Link Here
1
# Copyright 1999-2018 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=7
5
6
inherit toolchain-funcs
7
8
DESCRIPTION="md4 and edonkey hash algorithm tool"
9
HOMEPAGE="https://linux.xulin.de/c/"
10
SRC_URI="https://linux.xulin.de/c/${P}.tar.gz"
11
12
LICENSE="GPL-2"
13
SLOT="0"
14
KEYWORDS="~amd64 ~ppc ~x86"
15
16
PATCHES=( ${FILESDIR}/md4sum-fix-out-of-bounds-write.diff )
17
18
src_configure() {
19
	default
20
	sed -i -e "s:CFLAGS=:CFLAGS=${CFLAGS} :g" \
21
		-e "s:install -s:install:g" Makefile || die
22
}
23
24
src_compile() {
25
	emake LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)"
26
}
27
28
src_install() {
29
	dobin ${PN}
30
	doman ${PN}.1
31
}

Return to bug 663038