1 |
|
# Copyright 1999-2022 Gentoo Authors
|
|
1 |
# Copyright 1999-2023 Gentoo Authors
|
2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
4 |
EAPI=7
|
... | ... | |
7 |
7 |
|
8 |
8 |
DESCRIPTION="Open Source AFP server"
|
9 |
9 |
HOMEPAGE="https://netatalk.sourceforge.net/"
|
10 |
|
SRC_URI="mirror://sourceforge/project/${PN}/${PN}/$(ver_cut 1-3)/${P}.tar.bz2"
|
|
10 |
SRC_URI="https://github.com/Netatalk/netatalk/releases/download/netatalk-${PV//./-}/netatalk-${PV}.tar.xz"
|
11 |
11 |
|
12 |
12 |
LICENSE="GPL-2 BSD"
|
13 |
13 |
SLOT="0/18.0"
|
14 |
|
KEYWORDS="amd64 arm ~ppc ~ppc64 x86"
|
15 |
|
IUSE="acl cracklib dbus debug kerberos ldap pam pgp quota samba +shadow ssl tracker tcpd zeroconf"
|
|
14 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
|
15 |
IUSE="acl cracklib dbus debug kerberos ldap pam pgp quota +shadow ssl tracker tcpd zeroconf"
|
16 |
16 |
|
17 |
17 |
CDEPEND="
|
18 |
18 |
!app-editors/yudit
|
... | ... | |
49 |
49 |
tracker? ( dbus )"
|
50 |
50 |
|
51 |
51 |
PATCHES=(
|
52 |
|
"${FILESDIR}"/${PN}-3.1.7-gentoo.patch
|
53 |
|
"${FILESDIR}"/${PN}-3.1.8-disable-ld-library-path.patch #564350
|
54 |
|
"${FILESDIR}"/${PN}-3.1.12-my_bool.patch #692560
|
55 |
|
"${FILESDIR}"/${PN}-3.1.12-fno-common.patch #706852
|
56 |
|
# https://sourceforge.net/p/netatalk/patches/147/
|
57 |
|
"${FILESDIR}"/${PN}-3.1.12-tracker3.patch
|
|
52 |
"${FILESDIR}"/${PN}-3.1.17-gentoo.patch
|
|
53 |
"${FILESDIR}"/${PN}-3.1.17-disable-ld-library-path.patch #564350
|
58 |
54 |
)
|
59 |
55 |
|
60 |
56 |
src_prepare() {
|
... | ... | |
79 |
75 |
$(use_enable debug)
|
80 |
76 |
$(use_enable debug debugging)
|
81 |
77 |
$(use_enable pgp pgp-uam)
|
82 |
|
$(use_enable kerberos)
|
83 |
78 |
$(use_enable kerberos krbV-uam)
|
84 |
79 |
$(use_enable quota)
|
85 |
80 |
$(use_enable tcpd tcp-wrappers)
|
... | ... | |
87 |
82 |
$(use_with acl acls)
|
88 |
83 |
$(use_with cracklib)
|
89 |
84 |
$(use_with dbus afpstats)
|
|
85 |
$(use_with kerberos)
|
90 |
86 |
$(use_with ldap)
|
91 |
87 |
$(use_with pam)
|
92 |
|
$(use_with samba smbsharemodes)
|
93 |
88 |
$(use_with shadow)
|
94 |
89 |
$(use_with ssl ssl-dir)
|
95 |
|
$(use_with tracker)
|
96 |
90 |
$(use_with tracker dbus-daemon "${EPREFIX}/usr/bin/dbus-daemon")
|
97 |
91 |
$(use_with tracker tracker-pkgconfig-version $(ver_cut 1 $(best_version app-misc/tracker | sed 's:app-misc/tracker-::g')).0)
|
98 |
92 |
--disable-static
|
99 |
93 |
--enable-overwrite
|
100 |
|
--disable-krb4-uam
|
101 |
94 |
--disable-afs
|
102 |
|
--with-libevent-header=/usr/include
|
103 |
|
--with-libevent-lib=/usr/$(get_libdir)
|
104 |
95 |
--with-bdb=/usr
|
105 |
96 |
--with-uams-path=/usr/$(get_libdir)/${PN}
|
106 |
97 |
--with-init-style=gentoo-openrc
|