Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 230565 Details for
Bug 318727
net-misc/nxnode and net-misc/nxserver-freeedition don't work with a readonly /usr filesystem
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nxnode-3.4.0.6.patch
nxnode-3.4.0.6.patch (text/plain), 2.08 KB, created by
Bruno Redondi
on 2010-05-06 09:23:20 UTC
(
hide
)
Description:
nxnode-3.4.0.6.patch
Filename:
MIME Type:
Creator:
Bruno Redondi
Created:
2010-05-06 09:23:20 UTC
Size:
2.08 KB
patch
obsolete
>--- /usr/portage/net-misc/nxnode/nxnode-3.4.0.6.ebuild 2010-01-18 16:06:31.000000000 +0100 >+++ /usr/local/portage/net-misc/nxnode/nxnode-3.4.0.6.ebuild 2010-05-06 10:45:27.000000000 +0200 >@@ -55,10 +55,11 @@ > dobin bin/$x > done > >- dodir /usr/NX/etc >- cp etc/node-debian.cfg.sample "${D}"/usr/NX/etc/node-gentoo.cfg.sample || die >- sed -e 's|COMMAND_FUSER = .*|COMMAND_FUSER = "/usr/bin/fuser"|;' -i "${D}"/usr/NX/etc/node-gentoo.cfg.sample || die >- cp etc/node.lic.sample "${D}"/usr/NX/etc/node.lic.sample || die >+ dodir /etc/NX >+ dosym /etc/NX /usr/NX/etc >+ cp etc/node-debian.cfg.sample "${D}"/etc/NX/node-gentoo.cfg.sample || die >+ sed -e 's|COMMAND_FUSER = .*|COMMAND_FUSER = "/usr/bin/fuser"|;' -i "${D}"/etc/NX/node-gentoo.cfg.sample || die >+ cp etc/node.lic.sample "${D}"/etc/NX/node.lic.sample || die > > dodir /usr/NX/lib > cp -R lib "${D}"/usr/NX || die >@@ -69,8 +70,10 @@ > dodir /usr/NX/share > cp -R share "${D}"/usr/NX || die > >- dodir /usr/NX/var >- cp -R var "${D}"/usr/NX || die >+ dodir /var/run/NX >+ dosym /var/run/NX /usr/NX/var/run >+ dodir /var/log/NX >+ dosym /var/log/NX /usr/NX/var/log > > dodir /etc/init.d > newinitd "${FILESDIR}"/nxnode-3.0.0-init nxsensor >@@ -79,14 +82,14 @@ > pkg_postinst() > { > # Only install license file if none is found >- if [ ! -f /usr/NX/etc/node.lic ]; then >- cp "${ROOT}"/usr/NX/etc/node.lic.sample "${ROOT}"/usr/NX/etc/node.lic || die >- chmod 0400 "${ROOT}"/usr/NX/etc/node.lic >- chown nx:0 "${ROOT}"/usr/NX/etc/node.lic >+ if [ ! -f /etc/NX/node.lic ]; then >+ cp "${ROOT}"/etc/NX/node.lic.sample "${ROOT}"/etc/NX/node.lic || die >+ chmod 0400 "${ROOT}"/etc/NX/node.lic >+ chown nx:0 "${ROOT}"/etc/NX/node.lic > fi > > # only run install on the first time >- if [ -f /usr/NX/etc/node.cfg ]; then >+ if [ -f /etc/NX/node.cfg ]; then > einfo "Running NoMachine's update script" > "${ROOT}"/usr/NX/scripts/setup/nxnode --update > else >@@ -98,5 +101,5 @@ > elog > elog " rc-update add nxsensor default" > elog >- elog "You will also need to change EnableSensor to 1 in /usr/NX/etc/node.cfg" >+ elog "You will also need to change EnableSensor to 1 in /etc/NX/node.cfg" > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 318727
:
230565
|
230567
|
231907
|
231961
|
231963
|
235393
|
235397
|
235401
|
245616
|
245622
|
251233
|
251235
|
260347
|
260349
|
260350
|
264581
|
264583
|
265795
|
274369
|
274371
|
284581
|
284583