mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
net-analyzer/mdns-scan: eapi 7->8, minor fixes
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
This commit is contained in:
parent
079afe6b2b
commit
12e2d4e2be
@ -1 +1 @@
|
||||
DIST mdns-scan-0.5.tar.gz 15181 BLAKE2B 318ee5560f9973c663d4a319182715c1452adf593c281df404dab9c87e4b0ea872e0cae1cd801a4e9b9f03019222b8969f4f70eeee7e1c3e2fa941ff7f3324a8 SHA512 732ecb5cd3830056dc61f3a688d72cbf18ef49c9efd7fc082e4d6fbf1a826fc50ddd372185e53cdcae0d819b6aa5e2834328d3799e0f0b37e0f493d162e7775d
|
||||
DIST mdns-scan-0.5_p20200715.gh.tar.gz 15239 BLAKE2B 10378dacb3ea63dbc4c425a9316a42d29efc7ce86cd3f76b05f0ee9e64b9e2d68264f94047b6b82b3a2768d707dbcbf3f36514422378de7c68de91ace24a180c SHA512 99488093cd4adeca12138739acb64bd58419c270a3dcc204378d579f25a385ae324a343f023da1c4bd093034b0b324bff80a31f462068b122052390c6706cc49
|
||||
|
||||
@ -1,24 +0,0 @@
|
||||
# Copyright 2019-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="a tool for scanning for mDNS/DNS-SD published services"
|
||||
HOMEPAGE="http://0pointer.de/lennart/projects/mdns-scan/"
|
||||
SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
sed -i "s#-Wall -W -g -O0 -pipe#${CFLAGS} ${LDFLAGS}#" Makefile
|
||||
sed -i "s#-o #${CFLAGS} ${LDFLAGS} -o #" Makefile
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
default
|
||||
}
|
||||
25
net-analyzer/mdns-scan/mdns-scan-0.5_p20200715.ebuild
Normal file
25
net-analyzer/mdns-scan/mdns-scan-0.5_p20200715.ebuild
Normal file
@ -0,0 +1,25 @@
|
||||
# Copyright 2019-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="a tool for scanning for mDNS/DNS-SD published services"
|
||||
HOMEPAGE="https://github.com/alteholz/mdns-scan"
|
||||
COMMIT="9c307d81d82812e423664e4ebe135f429d995ac8"
|
||||
SRC_URI="https://github.com/alteholz/mdns-scan/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
src_prepare() {
|
||||
sed -i "s#-Wall -W -g -O0 -pipe#${CFLAGS}#" Makefile
|
||||
sed -i "s#-o #${LDFLAGS} -o #" Makefile
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
default
|
||||
}
|
||||
@ -5,4 +5,7 @@
|
||||
<name>Rick Farina</name>
|
||||
<email>zerochaos@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">alteholz/mdns-scan</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user