1 |
commit: e906d01109ddfe8ab2b512f338e06c61bd84ebcb |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 22 10:05:35 2018 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 22 10:05:35 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e906d011 |
7 |
|
8 |
net-misc/x2goserver: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
net-misc/x2goserver/Manifest | 2 - |
13 |
net-misc/x2goserver/x2goserver-4.0.1.20.ebuild | 90 ----------------------- |
14 |
net-misc/x2goserver/x2goserver-4.0.1.21.ebuild | 98 -------------------------- |
15 |
3 files changed, 190 deletions(-) |
16 |
|
17 |
diff --git a/net-misc/x2goserver/Manifest b/net-misc/x2goserver/Manifest |
18 |
index 8bb024d92fd..3a8ffc061e5 100644 |
19 |
--- a/net-misc/x2goserver/Manifest |
20 |
+++ b/net-misc/x2goserver/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST x2goserver-4.0.1.20.tar.gz 96412 BLAKE2B 292aadd38fc91436e034b1dff52d2188670598958b325782bda747a8f4f73412e9edd51d57b362d8fcc33a8c2ddbb962ddba2c678dd195181c986ddc259160d5 SHA512 21f3a415c50bf78e4c044c5b77f8478a307e4b3cef990edd415d9e7479f48fbc1c051e9f7c16a5d1f30726f4f2a812fb367eecb0a073bfba1ea2c6173c71fe54 |
23 |
-DIST x2goserver-4.0.1.21.tar.gz 101441 BLAKE2B 52b9488ad9471c351c66d49624898b4b19c18fb30b1dac0f24c3645bb49c1e562568515b838f323f92612caea4debadc5ebd21a697eee86c3122fd7758bf94c7 SHA512 641421b309baab0941416ccd60dd8b66b0a968a4031252c2d8066fb570c1985787848ad368d731fbdb4737c00ea722a26682fb8cd2820ea19da271c4ecffafa4 |
24 |
DIST x2goserver-4.0.1.22.tar.gz 101286 BLAKE2B 238da88d333b6bcb31b37b7d5e44d223ad975388fdee0cfb1ba21c58d5ab9a42961c7fcd55e474affd29197bc92fcbddf8c679eab8052387996b983a9e0244ba SHA512 ba726663f4fdedaa13cd1496a693cc9b0d7c1a815563ef8abdfe9e53b69c83379d0ed6c5569e6e7d77ac792a18a4dfed8c9b12c0a356664a66fe3be917fb7a67 |
25 |
|
26 |
diff --git a/net-misc/x2goserver/x2goserver-4.0.1.20.ebuild b/net-misc/x2goserver/x2goserver-4.0.1.20.ebuild |
27 |
deleted file mode 100644 |
28 |
index ec52317ce10..00000000000 |
29 |
--- a/net-misc/x2goserver/x2goserver-4.0.1.20.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,90 +0,0 @@ |
32 |
-# Copyright 1999-2017 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=6 |
36 |
-inherit multilib systemd toolchain-funcs user |
37 |
- |
38 |
-DESCRIPTION="The X2Go server" |
39 |
-HOMEPAGE="http://www.x2go.org" |
40 |
-SRC_URI="http://code.x2go.org/releases/source/${PN}/${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="GPL-2" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="amd64 x86" |
45 |
-IUSE="+fuse postgres +sqlite" |
46 |
- |
47 |
-REQUIRED_USE="|| ( postgres sqlite )" |
48 |
- |
49 |
-DEPEND="" |
50 |
-RDEPEND="dev-perl/Capture-Tiny |
51 |
- dev-perl/Config-Simple |
52 |
- dev-perl/File-BaseDir |
53 |
- dev-perl/File-ReadBackwards |
54 |
- dev-perl/File-Which |
55 |
- media-fonts/font-cursor-misc |
56 |
- media-fonts/font-misc-misc[nls] |
57 |
- >=net-misc/nx-3.5.0.25 |
58 |
- net-misc/openssh |
59 |
- >=sys-apps/iproute2-4.3.0 |
60 |
- x11-apps/xauth |
61 |
- x11-apps/xhost |
62 |
- x11-apps/xwininfo |
63 |
- fuse? ( net-fs/sshfs ) |
64 |
- postgres? ( dev-perl/DBD-Pg ) |
65 |
- sqlite? ( dev-perl/DBD-SQLite )" |
66 |
- |
67 |
-PATCHES=( |
68 |
- ) |
69 |
- |
70 |
-pkg_setup() { |
71 |
- # Force the group creation, #479650 |
72 |
- enewgroup x2gouser |
73 |
- enewgroup x2goprint |
74 |
- enewuser x2gouser -1 -1 /var/lib/x2go x2gouser |
75 |
- enewuser x2goprint -1 -1 /var/spool/x2goprint x2goprint |
76 |
-} |
77 |
- |
78 |
-src_prepare() { |
79 |
- # Do not install Xresources symlink (#521126) |
80 |
- sed -e '\#$(INSTALL_SYMLINK) /etc/X11/Xresources# s/^/#/' -i x2goserver-xsession/Makefile || die "Xresources symlink sed failed" |
81 |
- # Multilib clean |
82 |
- sed -e "/^LIBDIR=/s/lib/$(get_libdir)/" -i Makefile */Makefile || die "multilib sed failed" |
83 |
- # Skip man2html build |
84 |
- sed -e "s/build-indep: build_man2html/build-indep:/" -i Makefile */Makefile || die "man2html sed failed" |
85 |
- # Use nxagent directly |
86 |
- sed -i -e "/NX_TEMP=/s/x2goagent/nxagent/" x2goserver/bin/x2gostartagent || die "sed failed" |
87 |
- |
88 |
- default |
89 |
-} |
90 |
- |
91 |
-src_compile() { |
92 |
- emake CC="$(tc-getCC)" PREFIX=/usr |
93 |
-} |
94 |
- |
95 |
-src_install() { |
96 |
- emake DESTDIR="${D}" PREFIX=/usr install |
97 |
- |
98 |
- fowners root:x2goprint /usr/bin/x2goprint |
99 |
- fperms 2755 /usr/bin/x2goprint |
100 |
- fperms 0750 /etc/sudoers.d |
101 |
- fperms 0440 /etc/sudoers.d/x2goserver |
102 |
- dosym /usr/share/applications /etc/x2go/applications |
103 |
- |
104 |
- newinitd "${FILESDIR}"/${PN}.init x2gocleansessions |
105 |
- systemd_dounit "${FILESDIR}"/x2gocleansessions.service |
106 |
-} |
107 |
- |
108 |
-pkg_postinst() { |
109 |
- if use sqlite ; then |
110 |
- elog "To use sqlite and create the initial database, run:" |
111 |
- elog " # x2godbadmin --createdb" |
112 |
- fi |
113 |
- if use postgres ; then |
114 |
- elog "To use a PostgreSQL database, more information is availabe here:" |
115 |
- elog "http://www.x2go.org/doku.php/wiki:advanced:multi-node:x2goserver-pgsql" |
116 |
- fi |
117 |
- |
118 |
- elog "For password authentication, you need to enable PasswordAuthentication" |
119 |
- elog "in /etc/ssh/sshd_config (disabled by default in Gentoo)" |
120 |
- elog "An init script was installed for x2gocleansessions" |
121 |
-} |
122 |
|
123 |
diff --git a/net-misc/x2goserver/x2goserver-4.0.1.21.ebuild b/net-misc/x2goserver/x2goserver-4.0.1.21.ebuild |
124 |
deleted file mode 100644 |
125 |
index d64c4f2f058..00000000000 |
126 |
--- a/net-misc/x2goserver/x2goserver-4.0.1.21.ebuild |
127 |
+++ /dev/null |
128 |
@@ -1,98 +0,0 @@ |
129 |
-# Copyright 1999-2017 Gentoo Foundation |
130 |
-# Distributed under the terms of the GNU General Public License v2 |
131 |
- |
132 |
-EAPI=6 |
133 |
-inherit multilib systemd toolchain-funcs user xdg-utils |
134 |
- |
135 |
-DESCRIPTION="The X2Go server" |
136 |
-HOMEPAGE="http://www.x2go.org" |
137 |
-SRC_URI="http://code.x2go.org/releases/source/${PN}/${P}.tar.gz" |
138 |
- |
139 |
-LICENSE="GPL-2" |
140 |
-SLOT="0" |
141 |
-KEYWORDS="~amd64 ~x86" |
142 |
-IUSE="+fuse postgres +sqlite" |
143 |
- |
144 |
-REQUIRED_USE="|| ( postgres sqlite )" |
145 |
- |
146 |
-DEPEND="" |
147 |
-RDEPEND="dev-perl/Capture-Tiny |
148 |
- dev-perl/Config-Simple |
149 |
- dev-perl/File-BaseDir |
150 |
- dev-perl/File-ReadBackwards |
151 |
- dev-perl/File-Which |
152 |
- media-fonts/font-cursor-misc |
153 |
- media-fonts/font-misc-misc[nls] |
154 |
- >=net-misc/nx-3.5.0.25 |
155 |
- net-misc/openssh |
156 |
- >=sys-apps/iproute2-4.3.0 |
157 |
- x11-apps/xauth |
158 |
- x11-apps/xhost |
159 |
- x11-apps/xwininfo |
160 |
- fuse? ( net-fs/sshfs ) |
161 |
- postgres? ( dev-perl/DBD-Pg ) |
162 |
- sqlite? ( dev-perl/DBD-SQLite )" |
163 |
- |
164 |
-PATCHES=( |
165 |
- ) |
166 |
- |
167 |
-pkg_setup() { |
168 |
- # Force the group creation, #479650 |
169 |
- enewgroup x2gouser |
170 |
- enewgroup x2goprint |
171 |
- enewuser x2gouser -1 -1 /var/lib/x2go x2gouser |
172 |
- enewuser x2goprint -1 -1 /var/spool/x2goprint x2goprint |
173 |
-} |
174 |
- |
175 |
-src_prepare() { |
176 |
- # Do not install Xresources symlink (#521126) |
177 |
- sed -e '\#$(INSTALL_SYMLINK) /etc/X11/Xresources# s/^/#/' -i x2goserver-xsession/Makefile || die "Xresources symlink sed failed" |
178 |
- # Multilib clean |
179 |
- sed -e "/^LIBDIR=/s/lib/$(get_libdir)/" -i Makefile */Makefile || die "multilib sed failed" |
180 |
- # Skip man2html build |
181 |
- sed -e "s/build-indep: build_man2html/build-indep:/" -i Makefile */Makefile || die "man2html sed failed" |
182 |
- # Use nxagent directly |
183 |
- sed -i -e "/NX_TEMP=/s/x2goagent/nxagent/" x2goserver/bin/x2gostartagent || die "sed failed" |
184 |
- |
185 |
- default |
186 |
-} |
187 |
- |
188 |
-src_compile() { |
189 |
- emake CC="$(tc-getCC)" PREFIX=/usr |
190 |
-} |
191 |
- |
192 |
-src_install() { |
193 |
- emake DESTDIR="${D}" PREFIX=/usr install |
194 |
- |
195 |
- fowners root:x2goprint /usr/bin/x2goprint |
196 |
- fperms 2755 /usr/bin/x2goprint |
197 |
- fperms 0750 /etc/sudoers.d |
198 |
- fperms 0440 /etc/sudoers.d/x2goserver |
199 |
- dosym ../../usr/share/applications /etc/x2go/applications |
200 |
- |
201 |
- newinitd "${FILESDIR}"/${PN}.init x2gocleansessions |
202 |
- systemd_dounit "${FILESDIR}"/x2gocleansessions.service |
203 |
-} |
204 |
- |
205 |
-pkg_postinst() { |
206 |
- if use sqlite ; then |
207 |
- elog "To use sqlite and create the initial database, run:" |
208 |
- elog " # x2godbadmin --createdb" |
209 |
- fi |
210 |
- if use postgres ; then |
211 |
- elog "To use a PostgreSQL database, more information is availabe here:" |
212 |
- elog "http://www.x2go.org/doku.php/wiki:advanced:multi-node:x2goserver-pgsql" |
213 |
- fi |
214 |
- |
215 |
- elog "For password authentication, you need to enable PasswordAuthentication" |
216 |
- elog "in /etc/ssh/sshd_config (disabled by default in Gentoo)" |
217 |
- elog "An init script was installed for x2gocleansessions" |
218 |
- |
219 |
- xdg_mimeinfo_database_update |
220 |
- xdg_desktop_database_update |
221 |
-} |
222 |
- |
223 |
-pkg_postrm() { |
224 |
- xdg_mimeinfo_database_update |
225 |
- xdg_desktop_database_update |
226 |
-} |