summaryrefslogtreecommitdiff
path: root/net-misc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-30 01:41:48 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-30 01:41:48 +0100
commit38c20fb51b0482ec1b2c2a34ed16227718eac4b2 (patch)
tree18555c0f1f2d21b225fb67bd5408127b8aaadef2 /net-misc
parent2831634aa8213b30f404da1f64644d94dc66a6d0 (diff)
gentoo auto-resync : 30:06:2023 - 01:41:48
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/Manifest.gzbin54073 -> 54079 bytes
-rw-r--r--net-misc/nx/Manifest3
-rw-r--r--net-misc/nx/files/nx-3.5.99.27-which.patch22
-rw-r--r--net-misc/nx/nx-3.5.99.27.ebuild141
-rw-r--r--net-misc/x2goclient/Manifest2
-rw-r--r--net-misc/x2goclient/x2goclient-4.1.2.3.ebuild62
-rw-r--r--net-misc/x2goserver/Manifest2
-rw-r--r--net-misc/x2goserver/x2goserver-4.1.0.5.ebuild96
8 files changed, 328 insertions, 0 deletions
diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz
index cb374f3757f1..d46f00fa499f 100644
--- a/net-misc/Manifest.gz
+++ b/net-misc/Manifest.gz
Binary files differ
diff --git a/net-misc/nx/Manifest b/net-misc/nx/Manifest
index 00d39cd8e9d2..43d07b4cce9a 100644
--- a/net-misc/nx/Manifest
+++ b/net-misc/nx/Manifest
@@ -2,6 +2,9 @@ AUX nx-3.5.99.26-binutils-2.36.patch 1130 BLAKE2B 80bcb5c7fa7d4e14493a6e641dab3d
AUX nx-3.5.99.26-musl.patch 2203 BLAKE2B f4c43ed04ef6f35ef159ff30102cc6b52154e1a620a5a419f82e20f721f37832826ce0f8f141b6fdb6ce8a6814cd2fd5fec308c6f69f0b235b72578e67c1cbbd SHA512 f99052424faa49324aa79deeb92890e018872615c3d10bb0426e26487c3394201c6cb477628676583fda1794b1c980c07f31fdfe6379558694cce17734787131
AUX nx-3.5.99.26-riscv64-support.patch 2204 BLAKE2B a52c4bf54edb09a73d86ecaf6daf5aeff820493c927fb6277fac4d7f514117d2f55eb38bf81539af4b8793b439ff78772cda819979e0b144b69f0d272664ba90 SHA512 a7ebfd63a54436e61c895c43290f805833d1f704b1e17cdff6607239dc84cc08cd8bcab0a5e1154ffa8bde3d28e2482d9ecf9d6697c23df6f29797b7447fc052
AUX nx-3.5.99.26-which.patch 1157 BLAKE2B 0118abda74ceffa96bbf7fc1518ca5073c3a51b4762ba5769e061878613e27491e01c1d9ba3ca632b4de1166fce345e55f6840daf27608ce627f0c58b2b869b0 SHA512 b31ea5a6cbf5f65ac9a15ce83e2181dd1c9783e8b0ac9af24260399539a9c93bd0466d10cd7cf1eddbc95edfb1a1f7bd403f4cf1ebc66816463a2252300f4835
+AUX nx-3.5.99.27-which.patch 758 BLAKE2B 6d8841c80f086592365042d225128ebd897b118f5fdf6c573df2a845ae08d54e08f8c5c349a3a601325fb82f83bc5411262cc48b05f28a6ba24de685ab11a491 SHA512 3adca92c7e6aad36eec354f7a637c864e0ebba99535d6568c52e033ebd07ce1b026204f9b849889b324184f479ffe6195249c7d3affb1852934cca980b7c018c
DIST nx-libs-3.5.99.26.tar.gz 11070624 BLAKE2B f67f522b127858aa2ddf1c9723468a74722a5ef2fa1e7f438844a8e5b05b868cacac22abf2c604c67d5e83a346217b192773f5debe67945d085768ae43205cb7 SHA512 1aead6161e4d7b8d7229ff80937935b23ad1f87135a578ae483a00348d0df7de35e9f9b78c47c473fda3ab2cc896ef23e845cc5656344a43520b091af9663211
+DIST nx-libs-3.5.99.27.tar.gz 11076330 BLAKE2B 713f6052a8405bd61916bc2c31cff1b3b14f63f78138a2d8a3c8d85170fede3d126071ef0e03fa267ef1533432f324992ed67edc86f922e3dda4f0cb40811045 SHA512 bfba1eea6f4debe90fa020276079027c3716daaff91bded72297ecab2a8c9f56d07630ca8bc9084c319d2c674304ad80131190ec1272c161c05221d6f19089d0
EBUILD nx-3.5.99.26.ebuild 3778 BLAKE2B b80f3f4a4b02aa32c3ce9d5a99521187b3284f1d1d8d850ab915792dd6ab48552d38d41df5f83068cbdac27ab9a1c39c85110618196e3737946cd38505028c48 SHA512 3ffaff82921912897ac112ff569cbcabe3809a256134b51eb6b2eb7746b50ab26c9c3300a2cda860bedca175f31fc6d64ffc80e635a3cddea49863a79ffc35fd
+EBUILD nx-3.5.99.27.ebuild 3520 BLAKE2B d109cf890afbb7e00eb022db10ebadc8b8f1191fe3e6ebba891083c854110299fcee21d8222bdf17d433d9b5f3593adec009d598491a5545f89d3233632cee6e SHA512 66d6730129efeaf8d2e91f7ab3b6476b7593afe3f62ed720b5a841b8c21e0e65328a19edcede62b1e3e419ad05364c882da2a76a8c85dd9ba74655e815e81636
MISC metadata.xml 333 BLAKE2B 1b2843f4928b28b0b3abea2c4b7cf046c77d8c87363672f8516c7edab36597bd2ae831f23eecbec5c38029891bd5fa5bc0dc42a407e3d656ab6cfb098262f64a SHA512 77a92a8f8cec2c2a236544dc53e58fce7e0d399d9122042ddc6a097b58d013d04bad6e2ccaafcca11ce3c2e0ddd2d6aa479776e1e37539e40e3645ed20485bfd
diff --git a/net-misc/nx/files/nx-3.5.99.27-which.patch b/net-misc/nx/files/nx-3.5.99.27-which.patch
new file mode 100644
index 000000000000..4d452dad0157
--- /dev/null
+++ b/net-misc/nx/files/nx-3.5.99.27-which.patch
@@ -0,0 +1,22 @@
+--- a/nx-X11/Makefile
++++ b/nx-X11/Makefile
+@@ -70,7 +70,7 @@
+ else \
+ exit 0; \
+ fi
+- which $(IMAKE) 1>/dev/null && $(IMAKE_CMD) $(MFLAGS) -s xmakefile -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
++ command -v $(IMAKE) 1>/dev/null && $(IMAKE_CMD) $(MFLAGS) -s xmakefile -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
+
+ # don't allow any default rules in this Makefile
+ .SUFFIXES:
+--- a/nx-X11/extras/Mesa_6.4.2/bin/mklib
++++ b/nx-X11/extras/Mesa_6.4.2/bin/mklib
+@@ -285,7 +285,7 @@
+ # -linker was not specified, choose default linker now
+ if [ $CPLUSPLUS = 1 ] ; then
+ # determine linker and options for C++ code
+- if [ `which c++` ] ; then
++ if [ `command -v c++` ] ; then
+ # use Sun c++
+ LINK="c++"
+ elif [ `type g++` ] ; then
diff --git a/net-misc/nx/nx-3.5.99.27.ebuild b/net-misc/nx/nx-3.5.99.27.ebuild
new file mode 100644
index 000000000000..e054f77bb1e5
--- /dev/null
+++ b/net-misc/nx/nx-3.5.99.27.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit autotools toolchain-funcs
+
+DESCRIPTION="NX compression technology core libraries"
+HOMEPAGE="https://github.com/ArcticaProject/nx-libs"
+
+SRC_URI="https://github.com/ArcticaProject/nx-libs/archive/${PV}.tar.gz -> nx-libs-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86"
+
+RDEPEND="dev-libs/libxml2
+ media-libs/libjpeg-turbo:*
+ >=media-libs/libpng-1.2.8:0=
+ >=sys-libs/zlib-1.2.3
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXfont2
+ x11-libs/libXinerama
+ x11-libs/libXpm
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/pixman"
+
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto
+ x11-libs/libfontenc"
+
+BDEPEND="virtual/pkgconfig
+ x11-misc/gccmakedep
+ x11-misc/imake"
+
+S="${WORKDIR}/nx-libs-${PV}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.5.99.26-musl.patch"
+ "${FILESDIR}/${PN}-3.5.99.27-which.patch"
+)
+
+src_prepare() {
+ default
+
+ # We want predictable behavior. So let's assume we never
+ # have quilt installed.
+ sed 's@which quilt@false@' -i mesa-quilt || die
+
+ # Do not compress man pages by default
+ sed '/^[[:space:]]*gzip.*man/d' -i Makefile || die
+
+ # run autoreconf in all needed folders
+ local subdir
+ for subdir in nxcomp nxdialog nx-X11/lib nxcompshad nxproxy ; do
+ pushd ${subdir} || die
+ eautoreconf
+ popd || die
+ done
+}
+
+src_configure() {
+ # From xorg-x11-6.9.0-r3.ebuild
+ pushd nx-X11 || die
+ HOSTCONF="config/cf/host.def"
+ echo "#define CcCmd $(tc-getCC)" >> ${HOSTCONF}
+ echo "#define OptimizedCDebugFlags ${CFLAGS} GccAliasingArgs" >> ${HOSTCONF}
+ echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS} GccAliasingArgs" >> ${HOSTCONF}
+ # Respect LDFLAGS
+ echo "#define ExtraLoadFlags ${LDFLAGS}" >> ${HOSTCONF}
+ echo "#define SharedLibraryLoadFlags -shared ${LDFLAGS}" >> ${HOSTCONF}
+ # Disable SunRPC, #370767
+ echo "#define HasSecureRPC NO" >> ${HOSTCONF}
+ popd || die
+
+ local subdir
+ for subdir in nxcomp nxdialog nxcompshad nxproxy ; do
+ pushd ${subdir} || die
+ econf --enable-static
+ popd || die
+ done
+
+ pushd "nx-X11/lib" || die
+ econf --disable-poll
+ popd || die
+}
+
+src_compile() {
+ # First set up the build environment
+ emake build-env
+
+ # We replicate the "build-full" make target here because
+ # we cannot call "make build-full" as it
+ # - calls autoreconf several times
+ # - invokes make directly but we prefer our emake
+
+ emake -C nxcomp
+ emake -C nx-X11/lib
+
+ mkdir -p nx-X11/exports/lib/ || die
+ local nxlib
+ for nxlib in libNX_X11.so{,.6{,.3.0}} ; do
+ ln -s ../../lib/src/.libs/${nxlib} nx-X11/exports/lib/${nxlib} || die
+ done
+
+ emake -C nxcompshad
+
+ ./mesa-quilt push -a || die
+
+ emake -C nx-X11 BuildDependsOnly
+ # Parallel make issue resurfaced, upstream working on autotools switch
+ emake -j1 -C nx-X11 World \
+ USRLIBDIR="${EPREFIX}/usr/$(get_libdir)/${PN}/X11" \
+ SHLIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ ETCDIR_NX="${EPREFIX}/etc/nxagent"
+
+ emake -C nxproxy
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}/usr" \
+ NXLIBDIR="${EPREFIX}/usr/$(get_libdir)/${PN}" \
+ SHLIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ USRLIBDIR="${EPREFIX}/usr/$(get_libdir)/${PN}/X11" \
+ ETCDIR_NX="${EPREFIX}/etc/nxagent" \
+ install
+
+ # Already provided by mesa & related packages
+ rm -r "${ED}"/usr/include/GL || die
+
+ # Get rid of libtool files and static libs.
+ find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+}
diff --git a/net-misc/x2goclient/Manifest b/net-misc/x2goclient/Manifest
index 09cfd294a6f2..01bf726b9b7b 100644
--- a/net-misc/x2goclient/Manifest
+++ b/net-misc/x2goclient/Manifest
@@ -1,3 +1,5 @@
DIST x2goclient-4.1.2.2.tar.gz 2576404 BLAKE2B 2a29f73516282af119cc4ea0a511c29156cdb71564adcdbf307f60298b87c2a7eee0ca121a3e165a63c110130c2704b49b90b3b9abc6a39b6105b1f22ac5afd0 SHA512 85e6db6a34629512be64376883c205d8bf0696c4697cf216970b57a91ffe68dcf7f38bfda0d396c104602f6991b596c5fb0934e75fa4a93f7d0e41c2b3f5ac4d
+DIST x2goclient-4.1.2.3.tar.gz 2582072 BLAKE2B ee167d7f8b293220ce5d9a315dc11997ba9cf8bc5c9840155888ddbf816d18a39553659ccd363619f6198d1e7ebadc9932327082ddfc2bb83970df61ada86778 SHA512 1bd59efaaf560bf36dad979cbb67cf90df13943688e1259e86d441ba17677d523ad1f69061d2f65b0ca8eee9e7d00ee242e95c555b4446d72f37acef70a9b435
EBUILD x2goclient-4.1.2.2-r1.ebuild 1260 BLAKE2B 5d5d3f2ac8938f530f273573ff0cfeccdf2043ab70f66169a87feda0f6bc586ab440884e16e5cb363013b6f25a88f78b5cb3905eea065f1ceea27dfb6f0becae SHA512 b3a54be7590fb0e4ed75166c00b0535970867070a6925105d849a1749d5d753139329405f1bc3872e8f4b7678a0c4215217d753225d4970bcf796c7d0940a207
+EBUILD x2goclient-4.1.2.3.ebuild 1257 BLAKE2B c8fc8f7618f3e0fdbfb3d880c02521f37295949f8e6a705b992d21f76d20afd858c0d0182bc2922cf04fcd3f57b7bb21fe4cbf3d3c5604ccec43bbe9f7a47b2e SHA512 bff1a3036869c35b964fdf14d82c7cf94c7fc45accace16e47cb106b3532c929ca43d3576837c416ea2fccb4a6c94e8ac8ecac8ad0ab6a3b5714aabe0b871f3b
MISC metadata.xml 253 BLAKE2B 8557c513beef73e834b0a000c523a3241da961c6307b6e98ac857dad0888c4bbd028c98f8499f01086c24e8f2f57c64bc75db20154dab232adefc2510fccac03 SHA512 67dd372ef7b684101d9198c6199a6403f8750132d80aab4f4daa4b31ebaea3d82eb9a18e904734e2ac10c77b237d67210055949ff1c6d5aad4f75951a096884a
diff --git a/net-misc/x2goclient/x2goclient-4.1.2.3.ebuild b/net-misc/x2goclient/x2goclient-4.1.2.3.ebuild
new file mode 100644
index 000000000000..8738dcc0114d
--- /dev/null
+++ b/net-misc/x2goclient/x2goclient-4.1.2.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop qmake-utils xdg
+
+DESCRIPTION="The X2Go Qt client"
+HOMEPAGE="https://wiki.x2go.org/doku.php"
+SRC_URI="https://code.x2go.org/releases/source/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ldap"
+
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5[ssl]
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ >=net-libs/libssh-0.7.5-r2
+ net-print/cups
+ x11-libs/libXpm
+ ldap? ( net-nds/openldap:= )"
+RDEPEND="${DEPEND}
+ net-misc/nx"
+BDEPEND="dev-qt/linguist-tools:5"
+
+CLIENT_BUILD="${WORKDIR}"/${P}.client_build
+PLUGIN_BUILD="${WORKDIR}"/${P}.plugin_build
+
+src_prepare() {
+ default
+
+ if ! use ldap; then
+ sed -e "s/-lldap//" -i x2goclient.pro || die
+ sed -e "s/#define USELDAP//" -i src/x2goclientconfig.h || die
+ fi
+}
+
+src_configure() {
+ eqmake5 "${S}"/x2goclient.pro
+}
+
+src_install() {
+ dobin ${PN}
+
+ local size
+ for size in 16 32 48 64 128 ; do
+ doicon -s ${size} res/img/icons/${size}x${size}/${PN}.png
+ done
+ newicon -s scalable res/img/x2go-logos/x2go-logo.svg ${PN}.svg
+
+ insinto /usr/share/pixmaps
+ doins res/img/icons/${PN}.xpm
+
+ domenu desktop/${PN}.desktop
+ doman man/man?/*
+}
diff --git a/net-misc/x2goserver/Manifest b/net-misc/x2goserver/Manifest
index 9ce8dc9e4fc1..2cf706ce0082 100644
--- a/net-misc/x2goserver/Manifest
+++ b/net-misc/x2goserver/Manifest
@@ -3,5 +3,7 @@ AUX x2goserver-4.1.0.0-Xresources.patch 1139 BLAKE2B f48f329836a86958866836949a4
AUX x2goserver-4.1.0.0-skip_man2html.patch 2936 BLAKE2B 6b18439c5dc994c5a8ec073e2767047dcd94ebb61b0418ba5d55d55d2860530ab818b87192bdc85124be6a9d52d5c19872063555b7bdcd721429ccfa8593cabb SHA512 7b56c725c42f0813ecb88ed7f34feb0cecd1eaedd157c19068f3e6607bd8510fbba177079744f9e93fc83a4bcc65e7df40f8b1bb6acf4124fda847bc4fb86986
AUX x2goserver.init 442 BLAKE2B 11e29bed398d23cae9fccc29d2ccce6ef59422a3d258139f91dd100562bb3029202a0bb0174fcb71dd776b075a708558eeaf8b1d9914c671bd8e59799772be44 SHA512 4e5add80aedbfb732552158b8c2b97b711e333f45740b8e3dd37089e7a512bd145d64812ec651cd7b022065129cced5730e1b28ab3758fcd81bea5b84b46d93c
DIST x2goserver-4.1.0.3.tar.gz 141581 BLAKE2B 79401a146e8a18451d6521f4b9556b2f22746bd752f39dc45764bacca085f2bb66a92327aaeb292979ce43ffbde24541e492cec814f1f8a535614cbdc2dc3ebd SHA512 9d7257dd454bfedca9e3ef1b07bc38b540cb833fae4535f2225a1f0bfea93c0f04c638d411b57c50e7170106a5ae1d7f41c19f043832129a7a9460dcfd34c56a
+DIST x2goserver-4.1.0.5.tar.gz 178386 BLAKE2B b45e0ea9cbfc81afabf1160ecf4513a3cdacda40b02c692cc04a0012f37441edd4c7074e467809aa2b0ad3eae24cae1982413b5e90d1657a0b6e6e6c56224025 SHA512 b0413fe54d1f93031480f954d2e482e4bb93393fbd49516e5c89101d38f33ca6019080ad42622ae986717ebe85fbdca230db2d69e45cc9684a79e62d9f885bd8
EBUILD x2goserver-4.1.0.3-r2.ebuild 2569 BLAKE2B 38c8444f3d247f0336175fe2476fa54ab582745e860f25b7ce854c6577e3ed1274a4a43da5173d043914c7fb698fcc26927698e5e80ca1879b5fa713bc212ede SHA512 b595b0acfff6a71a381b7660ab92c16b08d7688a346be150bad0c14f7c731fa32cdf2897dcf5a12dd0d05fd449231cc62c0a4e8ea6ae695aa5b820562fcd78bb
+EBUILD x2goserver-4.1.0.5.ebuild 2375 BLAKE2B 66374a609264c6135da64f1983081fa7ff334681c00321189d6ca3520023a78b4b927188fb5ce69ab256eccb79f7003b245987711c8384f558fb2776b02e3dc7 SHA512 1325a6edf74fde3094a8e134ab101c17434066249336f2ec563ba935d920ba1b939c836357ecec25027528fbcb9379eeb5b48bab3327b6c7bcd97d5f54109562
MISC metadata.xml 347 BLAKE2B 0049573365d07c584439ec94fc6e914a7de76325daf1ac951b765f4b2bff0968c1c0ef1320525d0912d2e09e45733ceaaf7d46da3778f7e5833e53a0c29b9588 SHA512 ad22f31dd176be856023516ee7c6c500567dbce33f534b094b60093f293a81a3a0a3c69f5b7d2c65efb671dffa223de3840bc23c47dd63f8deba242e349b1a79
diff --git a/net-misc/x2goserver/x2goserver-4.1.0.5.ebuild b/net-misc/x2goserver/x2goserver-4.1.0.5.ebuild
new file mode 100644
index 000000000000..9d7bbf319cdd
--- /dev/null
+++ b/net-misc/x2goserver/x2goserver-4.1.0.5.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd tmpfiles toolchain-funcs xdg
+
+DESCRIPTION="The X2Go server"
+HOMEPAGE="http://www.x2go.org"
+SRC_URI="http://code.x2go.org/releases/source/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+fuse postgres +sqlite"
+
+REQUIRED_USE="|| ( postgres sqlite )"
+
+DEPEND="virtual/perl-ExtUtils-MakeMaker"
+RDEPEND="acct-user/x2gouser
+ acct-user/x2goprint
+ dev-lang/perl:=
+ dev-perl/Capture-Tiny
+ dev-perl/Config-Simple
+ dev-perl/File-BaseDir
+ dev-perl/File-ReadBackwards
+ dev-perl/File-Which
+ dev-perl/Switch
+ dev-perl/Try-Tiny
+ media-fonts/font-cursor-misc
+ media-fonts/font-misc-misc[nls]
+ >=net-misc/nx-3.5.99.14
+ >=sys-apps/iproute2-4.3.0
+ virtual/openssh
+ x11-apps/xauth
+ x11-apps/xhost
+ x11-apps/xwininfo
+ fuse? ( net-fs/sshfs )
+ postgres? ( dev-perl/DBD-Pg )
+ sqlite? ( dev-perl/DBD-SQLite )"
+
+src_prepare() {
+ default
+ # Do not compress man pages by default
+ sed '/^[[:space:]]*gzip.*man/d' -i */Makefile || die
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ LIBDIR="/usr/$(get_libdir)/x2go" \
+ PREFIX=/usr
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ LIBDIR="/usr/$(get_libdir)/x2go" \
+ NXLIBDIR="/usr/$(get_libdir)/nx" \
+ PREFIX=/usr \
+ install
+
+ fowners root:x2goprint /usr/bin/x2goprint
+ fperms 2755 /usr/bin/x2goprint
+ fperms 0750 /etc/sudoers.d
+ fperms 0440 /etc/sudoers.d/x2goserver
+ dosym ../../usr/share/applications /etc/x2go/applications
+
+ newinitd "${FILESDIR}"/${PN}.init x2gocleansessions
+ systemd_dounit "${FILESDIR}"/x2gocleansessions.service
+}
+
+pkg_postinst() {
+ tmpfiles_process x2goserver.conf
+ xdg_pkg_postinst
+
+ if use sqlite ; then
+ if [[ -f "${EROOT}"/var/lib/x2go/x2go_sessions ]] ; then
+ elog "To use sqlite and update your existing database, run:"
+ elog " # x2godbadmin --updatedb"
+ else
+ elog "To use sqlite and create the initial database, run:"
+ elog " # x2godbadmin --createdb"
+ fi
+
+ fi
+
+ if use postgres ; then
+ elog "To use a PostgreSQL database, more information is availabe here:"
+ elog "http://www.x2go.org/doku.php/wiki:advanced:multi-node:x2goserver-pgsql"
+ fi
+
+ elog "For password authentication, you need to enable PasswordAuthentication"
+ elog "in /etc/ssh/sshd_config (disabled by default in Gentoo)"
+ elog "An init script was installed for x2gocleansessions"
+}