diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2009-05-29 14:02:36 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2009-05-29 14:02:36 +0000 |
commit | cfbbb9441c76984ce4b6e99966bdee31751d96d1 (patch) | |
tree | da42d9ff4458703804881b86921a15b185cb419a /net-misc/nxserver-freenx | |
parent | Removing 3.2 versions (diff) | |
download | gentoo-2-cfbbb9441c76984ce4b6e99966bdee31751d96d1.tar.gz gentoo-2-cfbbb9441c76984ce4b6e99966bdee31751d96d1.tar.bz2 gentoo-2-cfbbb9441c76984ce4b6e99966bdee31751d96d1.zip |
Clean some versions
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/nxserver-freenx')
-rw-r--r-- | net-misc/nxserver-freenx/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/nxserver-freenx/nxserver-freenx-0.7.2-r2.ebuild | 122 | ||||
-rw-r--r-- | net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p102.ebuild | 135 |
3 files changed, 5 insertions, 258 deletions
diff --git a/net-misc/nxserver-freenx/ChangeLog b/net-misc/nxserver-freenx/ChangeLog index ee79134cdeea..32a9366df7eb 100644 --- a/net-misc/nxserver-freenx/ChangeLog +++ b/net-misc/nxserver-freenx/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/nxserver-freenx # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/ChangeLog,v 1.63 2009/05/14 15:15:46 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/ChangeLog,v 1.64 2009/05/29 14:02:36 voyageur Exp $ + + 29 May 2009; Bernard Cafarelli <voyageur@gentoo.org> + -nxserver-freenx-0.7.2-r2.ebuild, -nxserver-freenx-0.7.3_p102.ebuild: + Clean some versions *nxserver-freenx-0.7.3_p104-r1 (14 May 2009) diff --git a/net-misc/nxserver-freenx/nxserver-freenx-0.7.2-r2.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.7.2-r2.ebuild deleted file mode 100644 index 96e1f3ad51e8..000000000000 --- a/net-misc/nxserver-freenx/nxserver-freenx-0.7.2-r2.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/nxserver-freenx-0.7.2-r2.ebuild,v 1.4 2008/06/05 15:26:43 pva Exp $ - -inherit multilib eutils - -MY_PN="freenx-server" -DESCRIPTION="Free Software Implementation of the NX Server" -HOMEPAGE="http://freenx.berlios.de/" -SRC_URI="mirror://berlios/freenx/${MY_PN}-${PV}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -RESTRICT="strip" -IUSE="arts cups esd nxclient" -DEPEND="virtual/ssh - dev-tcltk/expect - sys-apps/gawk - net-analyzer/gnu-netcat - nxclient? ( net-misc/nxclient ) - !nxclient? ( !net-misc/nxclient - || ( x11-misc/xdialog - x11-apps/xmessage ) ) - >=net-misc/nx-2.1.0 - arts? ( kde-base/arts ) - cups? ( net-print/cups ) - esd? ( media-sound/esound ) - !net-misc/nxserver-freeedition - !net-misc/nxserver-2xterminalserver" - -RDEPEND="${DEPEND} - media-fonts/font-misc-misc - media-fonts/font-cursor-misc - x11-apps/xauth - x11-apps/xrdb - x11-apps/sessreg" - -S=${WORKDIR}/${MY_PN}-${PV} - -export NX_HOME_DIR=/var/lib/nxserver/home - -pkg_setup () { - enewuser nx -1 -1 ${NX_HOME_DIR} -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${P}-nxloadconfig.patch - epatch "${FILESDIR}"/${P}-cups.patch - epatch "${FILESDIR}"/${P}-nolistentcp.patch - epatch "${FILESDIR}"/${P}-exitstatus.patch - - sed -i "/PATH_LIB=/s/lib/$(get_libdir)/g" nxloadconfig || die - sed -i "/REAL_PATH_BIN=/s/lib/$(get_libdir)/g" nxloadconfig || die - - # Change the defaults in nxloadconfig to meet the users needs. - if use arts ; then - einfo "Enabling arts support." - sed -i '/ENABLE_ARTSD_PRELOAD=/s/"0"/"1"/' nxloadconfig || die - sed -i '/ENABLE_ARTSD_PRELOAD=/s/"0"/"1"/' node.conf.sample || die - fi - if use esd ; then - einfo "Enabling esd support." - sed -i '/ENABLE_ESD_PRELOAD=/s/"0"/"1"/' nxloadconfig || die - sed -i '/ENABLE_ESD_PRELOAD=/s/"0"/"1"/' node.conf.sample || die - fi - if use cups ; then - einfo "Enabling cups support." - sed -i '/ENABLE_KDE_CUPS=/s/"0"/"1"/' nxloadconfig || die - sed -i '/ENABLE_KDE_CUPS=/s/"0"/"1"/' node.conf.sample || die - fi -} - -src_install() { - NX_ETC_DIR=/etc/nxserver - NX_SESS_DIR=/var/lib/nxserver/db - - emake DESTDIR="${D}" install || die "install failed" - - # This should be renamed to remove the blocker on net-misc/nxclient - use nxclient && rm "${D}"/usr/bin/nxprint - - mv "${D}"/etc/nxserver/node.conf.sample "${D}"/etc/nxserver/node.conf || - die "cannot find default configuration file" - - dodir ${NX_ETC_DIR} - for x in passwords passwords.orig ; do - touch "${D}"${NX_ETC_DIR}/$x - chmod 600 "${D}"${NX_ETC_DIR}/$x - done - - dodir ${NX_HOME_DIR} - - for x in closed running failed ; do - keepdir ${NX_SESS_DIR}/$x - fperms 0700 ${NX_SESS_DIR}/$x - done - - newinitd "${FILESDIR}"/nxserver.init nxserver -} - -pkg_postinst () { - # Other NX servers ebuilds may have already created the nx account - # However they use different login shell/home directory paths - if [[ ${ROOT} == "/" ]]; then - usermod -s /usr/bin/nxserver nx || die "Unable to set login shell of nx user!!" - usermod -d ${NX_HOME_DIR} nx || die "Unable to set home directory of nx user!!" - usermod -G utmp nx || die "Unable to add nx user to utmp group!!" - else - elog "If you had another NX server installed before, please make sure" - elog "the nx user account is correctly set to:" - elog " * login shell: /usr/bin/nxserver" - elog " * home directory: ${NX_HOME_DIR}" - elog " * supplementary groups: utmp" - fi - - elog "To complete the installation, run:" - elog " nxsetup --install --setup-nomachine-key --clean --purge" - elog "This will use the default Nomachine SSH key" -} diff --git a/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p102.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p102.ebuild deleted file mode 100644 index 2e96d14d6b8d..000000000000 --- a/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p102.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p102.ebuild,v 1.3 2009/03/20 16:39:05 voyageur Exp $ - -EAPI=1 - -inherit multilib eutils toolchain-funcs versionator - -MAJOR_PV="$(get_version_component_range 1-3)" -PATCH_VER="$(get_version_component_range 4)" -MY_PN="freenx-server" - -DESCRIPTION="Free Software Implementation of the NX Server" -HOMEPAGE="http://freenx.berlios.de/ https://launchpad.net/~freenx-team" -SRC_URI="http://ppa.launchpad.net/freenx-team/ppa/ubuntu/pool/main/f/${MY_PN}/freenx-server_${MAJOR_PV}+teambzr${PATCH_VER/p}.orig.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="strip" -IUSE="arts cups esd +nxclient rdesktop vnc" - -DEPEND="x11-misc/gccmakedep - x11-misc/imake" -RDEPEND="dev-tcltk/expect - media-fonts/font-misc-misc - media-fonts/font-cursor-misc - net-analyzer/gnu-netcat - >=net-misc/nx-2.1.0 - sys-apps/gawk - virtual/ssh - x11-apps/xauth - x11-apps/xrdb - x11-apps/sessreg - arts? ( kde-base/arts ) - cups? ( net-print/cups ) - esd? ( media-sound/esound ) - nxclient? ( net-misc/nxclient ) - !nxclient? ( !net-misc/nxclient - || ( x11-misc/xdialog - x11-apps/xmessage ) ) - rdesktop? ( net-misc/rdesktop ) - vnc? ( x11-misc/x11vnc - || ( net-misc/tightvnc net-misc/vnc ) ) - !net-misc/nxserver-freeedition - !net-misc/nxserver-2xterminalserver" - -S=${WORKDIR}/${MY_PN} - -export NX_HOME_DIR=/var/lib/nxserver/home - -pkg_setup () { - enewuser nx -1 -1 ${NX_HOME_DIR} -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${P}-nxloadconfig.patch - epatch "${FILESDIR}"/${P}-cflags.patch - epatch "${FILESDIR}"/${PN}-0.7.2-cups.patch - - sed -e "/PATH_LIB=/s/lib/$(get_libdir)/g" \ - -e "s#REAL_PATH_LIB#/usr/$(get_libdir)/NX/bin#" \ - -i nxloadconfig || die "nxloadconfig sed failed" - - # Change the defaults in nxloadconfig to meet the users needs. - if use arts ; then - einfo "Enabling arts support." - sed -i '/ENABLE_ARTSD_PRELOAD=/s/"0"/"1"/' nxloadconfig || die - sed -i '/ENABLE_ARTSD_PRELOAD=/s/"0"/"1"/' node.conf.sample || die - fi - if use esd ; then - einfo "Enabling esd support." - sed -i '/ENABLE_ESD_PRELOAD=/s/"0"/"1"/' nxloadconfig || die - sed -i '/ENABLE_ESD_PRELOAD=/s/"0"/"1"/' node.conf.sample || die - fi - if use cups ; then - einfo "Enabling cups support." - sed -i '/ENABLE_KDE_CUPS=/s/"0"/"1"/' nxloadconfig || die - sed -i '/ENABLE_KDE_CUPS=/s/"0"/"1"/' node.conf.sample || die - fi -} - -src_compile() { - emake CC=$(tc-getCC) CDEBUGFLAGS="${CFLAGS}" || die "compilation failed" -} - -src_install() { - export NX_ETC_DIR=/etc/nxserver - export NX_SESS_DIR=/var/lib/nxserver/db - - emake DESTDIR="${D}" install || die "install failed" - - # This should be renamed to remove the blocker on net-misc/nxclient - use nxclient && rm "${D}"/usr/bin/nxprint - - mv "${D}"/etc/nxserver/node.conf.sample "${D}"/etc/nxserver/node.conf || - die "cannot find default configuration file" - - dodir ${NX_ETC_DIR} - for x in passwords passwords.orig ; do - touch "${D}"${NX_ETC_DIR}/$x - chmod 600 "${D}"${NX_ETC_DIR}/$x - done - - dodir ${NX_HOME_DIR} - - for x in closed running failed ; do - keepdir ${NX_SESS_DIR}/$x - fperms 0700 ${NX_SESS_DIR}/$x - done - - newinitd "${FILESDIR}"/nxserver.init nxserver -} - -pkg_postinst () { - # Other NX servers ebuilds may have already created the nx account - # However they use different login shell/home directory paths - if [[ ${ROOT} == "/" ]]; then - usermod -s /usr/bin/nxserver nx || die "Unable to set login shell of nx user!!" - usermod -d ${NX_HOME_DIR} nx || die "Unable to set home directory of nx user!!" - usermod -a -G utmp nx || die "Unable to add nx user to utmp group!!" - else - elog "If you had another NX server installed before, please make sure" - elog "the nx user account is correctly set to:" - elog " * login shell: /usr/bin/nxserver" - elog " * home directory: ${NX_HOME_DIR}" - elog " * supplementary groups: utmp" - fi - - elog "To complete the installation, run:" - elog " nxsetup --install --setup-nomachine-key --clean --purge" - elog "This will use the default Nomachine SSH key" -} |