diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2007-12-03 21:49:49 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2007-12-03 21:49:49 +0000 |
commit | b7fcfa4f01637ed1144afc549121c667639c8ee6 (patch) | |
tree | d4707070d70f934d5fa5b5d31da6c9741d07aadf /net-misc | |
parent | Version bump wrt #201032 (diff) | |
download | historical-b7fcfa4f01637ed1144afc549121c667639c8ee6.tar.gz historical-b7fcfa4f01637ed1144afc549121c667639c8ee6.tar.bz2 historical-b7fcfa4f01637ed1144afc549121c667639c8ee6.zip |
Version bump, fix some quoting
Package-Manager: portage-2.1.4_rc6
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/nxnode/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/nxnode/files/digest-nxnode-3.0.0-r4 | 6 | ||||
-rw-r--r-- | net-misc/nxnode/nxnode-3.0.0-r4.ebuild | 110 | ||||
-rw-r--r-- | net-misc/nxserver-freeedition/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/nxserver-freeedition/files/digest-nxserver-freeedition-3.0.0-r4 | 6 | ||||
-rw-r--r-- | net-misc/nxserver-freeedition/files/nxserver-3.0.0-r4-setup.patch | 79 | ||||
-rw-r--r-- | net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r3.ebuild | 8 | ||||
-rw-r--r-- | net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r4.ebuild | 84 | ||||
-rw-r--r-- | net-misc/rsync/Manifest | 16 |
9 files changed, 313 insertions, 14 deletions
diff --git a/net-misc/nxnode/ChangeLog b/net-misc/nxnode/ChangeLog index ba651b6ba055..5be9380d8050 100644 --- a/net-misc/nxnode/ChangeLog +++ b/net-misc/nxnode/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/nxnode # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v 1.17 2007/09/20 23:18:38 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v 1.18 2007/12/03 21:48:15 voyageur Exp $ + +*nxnode-3.0.0-r4 (03 Dec 2007) + + 03 Dec 2007; Bernard Cafarelli <voyageur@gentoo.org> + +nxnode-3.0.0-r4.ebuild: + Version bump 20 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org> -files/nxnode-2.1.0-init, -files/nxnode-2.1.0-setup.patch, diff --git a/net-misc/nxnode/files/digest-nxnode-3.0.0-r4 b/net-misc/nxnode/files/digest-nxnode-3.0.0-r4 new file mode 100644 index 000000000000..f39a9fdfc0d1 --- /dev/null +++ b/net-misc/nxnode/files/digest-nxnode-3.0.0-r4 @@ -0,0 +1,6 @@ +MD5 ad577ed41d582194c764de3f2ea02ca9 nxnode-3.0.0-93.i386.tar.gz 6283984 +RMD160 b3018756dc02e4f213eda95522ccd1604c4347d5 nxnode-3.0.0-93.i386.tar.gz 6283984 +SHA256 898d7d1e8d26331e251e0e186aba778890242d3485cd9607380297fa10090807 nxnode-3.0.0-93.i386.tar.gz 6283984 +MD5 60f3c47ba4dcc5e49995e0efa84b542c nxnode-3.0.0-93.x86_64.tar.gz 6963315 +RMD160 c283c6563d621b4da0a4ce19cccbd311b337d23c nxnode-3.0.0-93.x86_64.tar.gz 6963315 +SHA256 4e592ded58033df0e9a59c8edc4f94fd0c02b02eb86c51407cb6371a0ce71023 nxnode-3.0.0-93.x86_64.tar.gz 6963315 diff --git a/net-misc/nxnode/nxnode-3.0.0-r4.ebuild b/net-misc/nxnode/nxnode-3.0.0-r4.ebuild new file mode 100644 index 000000000000..53913e8b126f --- /dev/null +++ b/net-misc/nxnode/nxnode-3.0.0-r4.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/nxnode-3.0.0-r4.ebuild,v 1.1 2007/12/03 21:48:15 voyageur Exp $ + +inherit eutils + +MY_PV="${PV}-93" +DESCRIPTION="nxnode provides the components that are shared between the different editions of NoMachine's NX Server" +HOMEPAGE="http://www.nomachine.com/" +SRC_URI="amd64? ( http://64.34.161.181/download/3.0.0/Linux/nxnode-${MY_PV}.x86_64.tar.gz ) + x86? ( http://64.34.161.181/download/3.0.0/Linux/nxnode-${MY_PV}.i386.tar.gz )" + +LICENSE="nomachine" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="rdesktop vnc" +RESTRICT="strip" + +DEPEND="!net-misc/nxserver-freenx + !<net-misc/nxserver-freeedition-3.0.0" + +RDEPEND="=net-misc/nxclient-3* + x11-libs/libICE + x11-libs/libXmu + x11-libs/libSM + x11-libs/libXt + x11-libs/libXaw + x11-libs/libXpm + x11-apps/xrdb + rdesktop? ( net-misc/rdesktop ) + vnc? ( || ( net-misc/vnc net-misc/tightvnc ) )" + +S=${WORKDIR}/NX + +pkg_setup() { + if use vnc; then + if has_version net-misc/vnc && ! built_with_use net-misc/vnc server; + then + die "net-misc/vnc needs to be built with USE=\"server\" for VNC support" + fi + + if has_version net-misc/tightvnc && ! built_with_use net-misc/tightvnc server; + then + die "net-misc/tightvnc needs to be built with USE=\"server\" for VNC support" + fi + fi +} + +src_unpack() +{ + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/nxnode-3.0.0-setup.patch +} + +src_install() +{ + # we install nxnode into /usr/NX, to make sure it doesn't clash + # with libraries installed for FreeNX + + into /usr/NX + for x in nxagent nxnode nxsensor nxspool nxuexec ; do + 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 /usr/NX/lib + cp -R lib "${D}"/usr/NX || die + + dodir /usr/NX/scripts + cp -R scripts "${D}"/usr/NX || die + + dodir /usr/NX/share + cp -R share "${D}"/usr/NX || die + + dodir /usr/NX/var + cp -R var "${D}"/usr/NX || die + + dodir /etc/init.d + newinitd "${FILESDIR}"/nxnode-3.0.0-init nxsensor +} + +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:root "${ROOT}"/usr/NX/etc/node.lic + fi + + # only run install on the first time + if [ -f /usr/NX/etc/node.cfg ]; then + einfo "Running NoMachine's update script" + "${ROOT}"/usr/NX/scripts/setup/nxnode --update + else + einfo "Running NoMachine's setup script" + "${ROOT}"/usr/NX/scripts/setup/nxnode --install + fi + + elog "If you want server statistics, please add nxsensor to your default runlevel" + elog + elog " rc-update add nxsensor default" + elog + elog "You will also need to change EnableSensor to 1 in /usr/NX/etc/node.cfg" +} diff --git a/net-misc/nxserver-freeedition/ChangeLog b/net-misc/nxserver-freeedition/ChangeLog index c53be8b6443c..e2acc997a314 100644 --- a/net-misc/nxserver-freeedition/ChangeLog +++ b/net-misc/nxserver-freeedition/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-misc/nxserver-freeedition # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/ChangeLog,v 1.18 2007/09/20 23:19:27 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/ChangeLog,v 1.19 2007/12/03 21:49:48 voyageur Exp $ + +*nxserver-freeedition-3.0.0-r4 (03 Dec 2007) + + 03 Dec 2007; Bernard Cafarelli <voyageur@gentoo.org> + +files/nxserver-3.0.0-r4-setup.patch, + nxserver-freeedition-3.0.0-r3.ebuild, + +nxserver-freeedition-3.0.0-r4.ebuild: + Version bump, fix some quoting 20 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org> -files/nxserver-2.1.0-setup.patch, -files/nxserver-3.0.0-setup.patch, diff --git a/net-misc/nxserver-freeedition/files/digest-nxserver-freeedition-3.0.0-r4 b/net-misc/nxserver-freeedition/files/digest-nxserver-freeedition-3.0.0-r4 new file mode 100644 index 000000000000..33fcf42f2b0b --- /dev/null +++ b/net-misc/nxserver-freeedition/files/digest-nxserver-freeedition-3.0.0-r4 @@ -0,0 +1,6 @@ +MD5 fdb1bcdef1aff5dec4bb23aa42636b11 nxserver-3.0.0-79.i386.tar.gz 6683894 +RMD160 1ea1aa93ef6a23d55dca8be4c7845d490097890a nxserver-3.0.0-79.i386.tar.gz 6683894 +SHA256 161db58a5a0be991413e406db4837633d11ac2212baa289ec532fe029719a94e nxserver-3.0.0-79.i386.tar.gz 6683894 +MD5 5e7db22e848412a0608a22c5f9c3014f nxserver-3.0.0-79.x86_64.tar.gz 7735239 +RMD160 e44cd3b09d040a4c1522e9c422cf209779ee3984 nxserver-3.0.0-79.x86_64.tar.gz 7735239 +SHA256 9f79040c63c49322be1ca99a41c6894cabe2c6df39134e964fe7275c6e8957b1 nxserver-3.0.0-79.x86_64.tar.gz 7735239 diff --git a/net-misc/nxserver-freeedition/files/nxserver-3.0.0-r4-setup.patch b/net-misc/nxserver-freeedition/files/nxserver-3.0.0-r4-setup.patch new file mode 100644 index 000000000000..fe9dd50e6bdd --- /dev/null +++ b/net-misc/nxserver-freeedition/files/nxserver-3.0.0-r4-setup.patch @@ -0,0 +1,79 @@ +--- scripts/setup/nxserver.orig 2007-11-21 19:08:47.000000000 +0100 ++++ scripts/setup/nxserver 2007-11-30 10:57:41.430044132 +0100 +@@ -598,6 +598,10 @@ + + removeNXinit () { + ++ if [ "$system" = "gentoo" ]; then ++ return ++ fi ++ + runCommand "$RMCOMMAND -f /etc/init.d/nxserver" "Unable to remove '/etc/init.d/nxserver'" "warn" + + if [ "$system" = "solaris" ]; +@@ -744,6 +748,10 @@ + + addNXinit () { + ++ if [ "$system" = "gentoo" ]; then ++ return ++ fi ++ + runCommand "cat $NODE_ROOT/scripts/init/nxserver > /etc/init.d/nxserver" "Unable to create: '/etc/init.d/nxserver'" "warn" + runCommand "chmod +x /etc/init.d/nxserver" "Cannot set permissions of '/etc/init.d/nxserver' file" "warn" + +@@ -858,6 +866,12 @@ + } + + addNXUserLinux () { ++ ++ # does the NX user already exist? ++ if id nx > /dev/null 2>&1 ; then ++ return ++ fi ++ + if [ "x$system" != "xdebian" ] + then + sysuser=`useradd --help 2>&1|grep "\-r"`; +@@ -2515,6 +2529,11 @@ + system=fedora + fi + ++if [ -d /usr/portage ]; ++then ++ system=gentoo ++fi ++ + if [ "x$system" = "x" -a -f /etc/release ]; + then + system=solaris +@@ -2549,6 +2568,7 @@ + "mandrake" ) ;; + "fedora" ) ;; + "debian" ) ;; ++ "gentoo" ) ;; + "solaris" ) ;; + "" ) ARGS=-1 && errMsg="$PREFIX $ERROR ERROR: Unable to autodetect the operating system type, please specify it" ;; + * ) ARGS=-1 && errMsg="$PREFIX $ERROR ERROR: Unsupported operating system '$system'" ;; +@@ -2701,21 +2721,6 @@ + fi + fi + +- +- result=`id nx 2>&1` +- if [ $? = 0 ]; +- then +-# printMsg "Cannot add user: nx. User: nx already exists" "error" +-# printMsg "Please try to fix the problem by reinstalling the server" "error" +- printMsg "Cannot add user: nx" "error" +- printMsg "User: nx already exists" "error" +- printMsgNoDot "To fix the problem, you may try to completely uninstall NX" +- printMsgNoDot "Server and install it from scratch. If this is not enough," +- printMsgNoDot "please delete the nx user by using the system commands and" +- printMsg "proceed with a new installation of NX Server" +- exit 1 +- fi +- + LOGFILE="$INSTALLOG" + createLogdirectory + startLog diff --git a/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r3.ebuild b/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r3.ebuild index 6c8d79f5b54c..05d9a21d0852 100644 --- a/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r3.ebuild +++ b/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r3.ebuild,v 1.5 2007/09/20 14:53:19 rbu Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r3.ebuild,v 1.6 2007/12/03 21:49:48 voyageur Exp $ inherit eutils @@ -56,9 +56,9 @@ src_install() newins etc/server-debian.cfg.sample server-gentoo.cfg.sample - cp -R home ${D}/usr/NX || die "Unable to install home folder" - cp -R lib ${D}/usr/NX || die "Unable to install lib folder" - cp -R scripts ${D}/usr/NX || die "Unable to install scripts folder" + cp -R home "${D}"/usr/NX || die "Unable to install home folder" + cp -R lib "${D}"/usr/NX || die "Unable to install lib folder" + cp -R scripts "${D}"/usr/NX || die "Unable to install scripts folder" cp -R share "${D}"/usr/NX || die "Unable to install share folder" cp -R var "${D}"/usr/NX || die "Unable to install var folder" diff --git a/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r4.ebuild b/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r4.ebuild new file mode 100644 index 000000000000..42e715060d68 --- /dev/null +++ b/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r4.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r4.ebuild,v 1.1 2007/12/03 21:49:48 voyageur Exp $ + +inherit eutils + +MY_PV="${PV}-79" +DESCRIPTION="Free edition NX server from NoMachine" +HOMEPAGE="http://www.nomachine.com/" +SRC_URI="amd64? ( http://64.34.161.181/download/3.0.0/Linux/FE/nxserver-${MY_PV}.x86_64.tar.gz ) + x86? ( http://64.34.161.181/download/3.0.0/Linux/FE/nxserver-${MY_PV}.i386.tar.gz )" + +LICENSE="nomachine" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="strip" + +DEPEND="=net-misc/nxnode-3.0* + !net-misc/nxserver-freenx + !net-misc/nxserver-2xterminalserver" +RDEPEND="${DEPEND} + media-fonts/font-misc-misc + media-fonts/font-cursor-misc + x11-apps/xauth" + +S="${WORKDIR}"/NX + +pkg_preinst() +{ + enewuser nx -1 -1 /usr/NX/home/nx +} + +src_unpack() +{ + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/nxserver-3.0.0-r4-setup.patch +} + +src_install() +{ + # we install nxserver into /usr/NX, to make sure it doesn't clash + # with libraries installed for FreeNX + + into /usr/NX + dobin bin/nxserver + + dodir /usr/NX/etc/keys + insinto /usr/NX/etc + doins etc/administrators.db.sample + doins etc/guests.db.sample + doins etc/passwords.db.sample + doins etc/profiles.db.sample + doins etc/users.db.sample + doins etc/server.lic.sample + + newins etc/server-debian.cfg.sample server-gentoo.cfg.sample + + cp -R home "${D}"/usr/NX || die "Unable to install home folder" + cp -R lib "${D}"/usr/NX || die "Unable to install lib folder" + cp -R scripts "${D}"/usr/NX || die "Unable to install scripts folder" + cp -R share "${D}"/usr/NX || die "Unable to install share folder" + cp -R var "${D}"/usr/NX || die "Unable to install var folder" + + newinitd "${FILESDIR}"/nxserver-2.1.0-init nxserver +} + +pkg_postinst () +{ + usermod -s /usr/NX/bin/nxserver nx || die "Unable to set login shell of nx user!!" + usermod -d /usr/NX/home/nx nx || die "Unable to set home directory of nx user!!" + + # only run install when no configuration file is found + if [ -f /usr/NX/etc/server.cfg ]; then + einfo "Running NoMachine's update script" + "${ROOT}"/usr/NX/scripts/setup/nxserver --update || die "Update script failed" + else + einfo "Running NoMachine's setup script" + "${ROOT}"/usr/NX/scripts/setup/nxserver --install || die "Installation script failed" + fi + + elog "Remember to add nxserver to your default runlevel" +} diff --git a/net-misc/rsync/Manifest b/net-misc/rsync/Manifest index 89d9424df040..0434789e46d1 100644 --- a/net-misc/rsync/Manifest +++ b/net-misc/rsync/Manifest @@ -52,18 +52,18 @@ EBUILD rsync-2.6.9-r4.ebuild 2259 RMD160 8c868b6eb95eca30f76303c9e36bb97faf92a56 MD5 cdb988e66fa2f4094fd24f545d7868f7 rsync-2.6.9-r4.ebuild 2259 RMD160 8c868b6eb95eca30f76303c9e36bb97faf92a56a rsync-2.6.9-r4.ebuild 2259 SHA256 f65ea81420a8384b00fcff35fbecd966d08137ec49b0d05b95b6becc6cee8def rsync-2.6.9-r4.ebuild 2259 -EBUILD rsync-2.6.9-r5.ebuild 2246 RMD160 dde75e93d104c0f8ded8d1a866c92dde65769f63 SHA1 6522c38b8dfe9b594b1c9c3de69ec4853302aaf1 SHA256 3edb51a7624639b1ccc52284b40a0beb236fcb616a5ba08a3481d22e15675c0d -MD5 ba063e4bcf4de8cf4278b18cfa4bfc98 rsync-2.6.9-r5.ebuild 2246 -RMD160 dde75e93d104c0f8ded8d1a866c92dde65769f63 rsync-2.6.9-r5.ebuild 2246 -SHA256 3edb51a7624639b1ccc52284b40a0beb236fcb616a5ba08a3481d22e15675c0d rsync-2.6.9-r5.ebuild 2246 +EBUILD rsync-2.6.9-r5.ebuild 2249 RMD160 058d6f1a604fcaa0ecf8d26ebb8fb5a086203705 SHA1 4dc40181b7425b743e6f543af31db464e3578689 SHA256 3d57c4d18502ee3d8ac7e7aba07644598368bee31ac637d360ada6fc3e1d30b6 +MD5 0d1c64f8ff9477c89f4e82ef5b99bbd7 rsync-2.6.9-r5.ebuild 2249 +RMD160 058d6f1a604fcaa0ecf8d26ebb8fb5a086203705 rsync-2.6.9-r5.ebuild 2249 +SHA256 3d57c4d18502ee3d8ac7e7aba07644598368bee31ac637d360ada6fc3e1d30b6 rsync-2.6.9-r5.ebuild 2249 EBUILD rsync-3.0.0_pre6.ebuild 1972 RMD160 012f10b874578a17d4ab2b3aff2197a025dfd923 SHA1 118cb38a31653e4d121a846f1a5fcca6dbc25b8c SHA256 8bc29601eb6038cc42254bcb9a62c3dc7f6dea721dd4837c9dff896f80b6bc7d MD5 1663b6b0940dfe0dc2d894b35943196f rsync-3.0.0_pre6.ebuild 1972 RMD160 012f10b874578a17d4ab2b3aff2197a025dfd923 rsync-3.0.0_pre6.ebuild 1972 SHA256 8bc29601eb6038cc42254bcb9a62c3dc7f6dea721dd4837c9dff896f80b6bc7d rsync-3.0.0_pre6.ebuild 1972 -MISC ChangeLog 18029 RMD160 1036ae23ae64a9d729f1f142a76960c600437eed SHA1 ca1f5ade32b1416521c5f8ad0146b416f42320f2 SHA256 eaea0739c0fb3ab926a9e3d63b15517ae727da4be2c5398c47f5f5e10f6be8a9 -MD5 c03df3d3ccf39fff8097b912c4ec1a30 ChangeLog 18029 -RMD160 1036ae23ae64a9d729f1f142a76960c600437eed ChangeLog 18029 -SHA256 eaea0739c0fb3ab926a9e3d63b15517ae727da4be2c5398c47f5f5e10f6be8a9 ChangeLog 18029 +MISC ChangeLog 18141 RMD160 e8d60173fbdb3110f669479b2a59ce6b31e844d2 SHA1 443670fa0e691926d5ad0954d9cf81dbb112a620 SHA256 94b4a5c17bf7c7dd6bb91ef377d399d0d5009e4478230aa9b94d348a21c0d0a0 +MD5 3bb14a3af33f6c7b420f1f613c94bbca ChangeLog 18141 +RMD160 e8d60173fbdb3110f669479b2a59ce6b31e844d2 ChangeLog 18141 +SHA256 94b4a5c17bf7c7dd6bb91ef377d399d0d5009e4478230aa9b94d348a21c0d0a0 ChangeLog 18141 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164 |