Diff geomyidae-0.34-r1 with a geomyidae-0.69

/usr/portage/net-misc/geomyidae/geomyidae-0.69.ebuild 2023-10-09 14:52:34.648368480 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit toolchain-funcs
7 7

  
8 8
DESCRIPTION="A daemon to serve the gopher protocol"
9 9
HOMEPAGE="http://r-36.net/scm/geomyidae/"
10
SRC_URI="ftp://bitreich.org/releases/geomyidae/${PN}-v${PV}.tgz"
10
SRC_URI="ftp://bitreich.org/releases/geomyidae/${PN}-v${PV}.tar.gz"
11

  
11 12
S="${WORKDIR}/${PN}-v${PV}"
12 13

  
13 14
LICENSE="MIT"
......
17 18
RDEPEND="
18 19
	acct-group/gopherd
19 20
	acct-user/gopherd
21
	dev-libs/libretls:0=
20 22
"
21 23
DEPEND="${RDEPEND}"
22 24

  
23 25
src_prepare() {
24
	# enable verbose build
25
	# respect CFLAGS
26 26
	# remove /usr/lib from LDFLAGS, bug #731672
27 27
	sed -i \
28
		-e 's/@${CC}/${CC}/g' \
29
		-e '/CFLAGS/s/=/?=/' \
30 28
		-e '/GEOM_LDFLAGS/s:-L/usr/lib ::' \
31 29
		Makefile || die 'sed on Makefile failed'
32
	# fix path for pid file
33
	sed -i \
34
		-e 's:/var/run:/run:g' \
35
		rc.d/Gentoo.init.d || die
36 30

  
37 31
	eapply_user
38 32
}
......
49 43

  
50 44
	insinto /var/gopher
51 45
	doins index.gph
52
	fowners -R root.gopherd /var/gopher
46
	fowners -R root:gopherd /var/gopher
53 47
	fperms -R g=rX,o=rX /var/gopher
54 48

  
55 49
	doman ${PN}.8
56
	dodoc CGI README
50
	dodoc CGI.md README
57 51
}
Thank you!