Install this version:
emerge -a =games-server/crossfire-server-1.75.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-server/crossfire-server-1.75.0
Or alternatively:
emerge --autounmask-write -a =games-server/crossfire-server-1.75.0
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_P="${P/-server/}"
DESCRIPTION="Server for the crossfire clients"
HOMEPAGE="https://crossfire.real-time.com/"
SRC_URI="https://downloads.sourceforge.net/crossfire/crossfire-server/${PV}/crossfire-${PV}.tar.gz
https://downloads.sourceforge.net/crossfire/crossfire-maps/${PV}/crossfire-maps-${PV}.tar.gz"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X"
RESTRICT="test"
RDEPEND="
net-misc/curl
virtual/zlib:=
virtual/libcrypt:=
X? (
x11-libs/libXaw
media-libs/libpng:0=
)
"
PATCHES=( "${FILESDIR}/${P}-incompatible-func-pointers.patch" )
src_prepare() {
default
# bug #236205
rm -f "${WORKDIR}"/maps/Info/combine.pl || die
# ln -s "${WORKDIR}"/arch "${S}"/lib || die
eapply "${FILESDIR}"/${P}-format.patch
}
src_compile() {
# work around the collect.pl locking
emake -j1 -C lib
emake
}
src_install() {
default
keepdir /var/lib/crossfire/{account,datafiles,maps,players,template-maps,unique-items}
insinto /usr/share/crossfire
doins -r "${WORKDIR}"/maps
find "${ED}" -name '*.la' -delete || die
}
Manage flags for this package:
euse -i <flag> -p games-server/crossfire-server |
euse -E <flag> -p games-server/crossfire-server |
euse -D <flag> -p games-server/crossfire-server
net-misc/curl virtual/zlib:= virtual/libcrypt:= X? ( x11-libs/libXaw media-libs/libpng:0= )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | crossfire-1.75.0.tar.gz | 7199792 bytes | https://downloads.sourceforge.net/crossfire/crossfire-server/1.75.0/crossfire-1.75.0.tar.gz |
| DIST | crossfire-maps-1.75.0.tar.gz | 33892228 bytes | https://downloads.sourceforge.net/crossfire/crossfire-maps/1.75.0/crossfire-maps-1.75.0.tar.gz |