From 348d07b541d98bbfd07a60fcf0853df80e90752b Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 5 Dec 2009 21:19:27 +0000 Subject: [PATCH] add cliemt plugins git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@1650 6952d904-891a-0410-993b-d76249ca496b --- net-misc/ifolder3-client-plugins/Manifest | 3 + .../files/ifolder3-plugins-3.8-mono22-1.patch | 44 ++++++++++++ ...folder3-client-plugins-3.8.0.9328.1.ebuild | 70 +++++++++++++++++++ 3 files changed, 117 insertions(+) create mode 100644 net-misc/ifolder3-client-plugins/Manifest create mode 100644 net-misc/ifolder3-client-plugins/files/ifolder3-plugins-3.8-mono22-1.patch create mode 100644 net-misc/ifolder3-client-plugins/ifolder3-client-plugins-3.8.0.9328.1.ebuild diff --git a/net-misc/ifolder3-client-plugins/Manifest b/net-misc/ifolder3-client-plugins/Manifest new file mode 100644 index 0000000..d1b68ed --- /dev/null +++ b/net-misc/ifolder3-client-plugins/Manifest @@ -0,0 +1,3 @@ +AUX ifolder3-plugins-3.8-mono22-1.patch 1459 RMD160 8b31316a68a58a5264ea7b5f431150e6b945f515 SHA1 b16e4801f8e5fc7a0da89aef6da5e169a8a820a4 SHA256 e391fde1d66eed260ce6cc12b058dae8de1d2b4c6aca6a5b2be2bfc3e0978ba8 +DIST ifolder3-client-plugins-3.8.0.9328.1.tar.gz 421648 RMD160 e3bcf5ad62ad35427a839a431b9971e4c48d6b1b SHA1 88d4a74893a46c9c246ea410cc91a0414568e484 SHA256 c52f9c00b815466b4cb8673774b533a6397028c6cb26c971637886bd02187c3c +EBUILD ifolder3-client-plugins-3.8.0.9328.1.ebuild 2335 RMD160 ceffd0921f000aeb4f4195e23ab13b8b8c0b7604 SHA1 23f59612828c261b324cb09cd6499a9a34e1cb67 SHA256 d2b83b21a7a6d00a32c73165ccee3328e5b305a4eb23dac8898b1c2a1252a352 diff --git a/net-misc/ifolder3-client-plugins/files/ifolder3-plugins-3.8-mono22-1.patch b/net-misc/ifolder3-client-plugins/files/ifolder3-plugins-3.8-mono22-1.patch new file mode 100644 index 0000000..28185c0 --- /dev/null +++ b/net-misc/ifolder3-client-plugins/files/ifolder3-plugins-3.8-mono22-1.patch @@ -0,0 +1,44 @@ +diff -uNr novell-ifolder-client-plugins.orig/configure.in novell-ifolder-client-plugins/configure.in +--- novell-ifolder-client-plugins.orig/configure.in 2009-12-05 21:10:47.628532148 +0100 ++++ novell-ifolder-client-plugins/configure.in 2009-12-05 21:13:55.895282777 +0100 +@@ -52,13 +52,13 @@ + linux*) + SIMIAS_OS='linux' + if test "$clientplugins" = "TRUE"; then +- AC_CHECK_PROG(CSC, mcs, mcs) ++ AC_CHECK_PROG(CSC, gmcs, gmcs) + else + if pkg-config --atleast-version=2.4 mono > /dev/null 2>&1 + then + AC_CHECK_PROG(CSC, gmcs, gmcs) + else +- AC_CHECK_PROG(CSC, gmcs, mcs) ++ AC_CHECK_PROG(CSC, gmcs, gmcs) + fi + fi + test -z "$CSC" && AC_MSG_ERROR([no C Sharp compiler: (g)mcs not found in \$PATH]) +@@ -96,13 +96,13 @@ + AM_CONDITIONAL(DARWIN, test "$SIMIAS_OS" = "darwin") + AM_CONDITIONAL(DARWIN_X86, test "$host_cpu" = "i686") + if test "$clientplugins" = "TRUE"; then +- AM_CONDITIONAL(MONO, test "$CSC" = "mcs") ++ AM_CONDITIONAL(MONO, test "$CSC" = "gmcs") + else + if pkg-config --atleast-version=2.4 mono > /dev/null 2>&1 + then + AM_CONDITIONAL(MONO, test "$CSC" = "gmcs") + else +- AM_CONDITIONAL(MONO, test "$CSC" = "mcs") ++ AM_CONDITIONAL(MONO, test "$CSC" = "gmcs") + fi + fi + AM_CONDITIONAL(DOTNET, test "$CSC" = "csc") +@@ -160,7 +160,7 @@ + # + # Mono-specific configuration + # +- mcs) ++ gmcs) + CSC_EXEFLAG=/target:exe + CSC_LIBFLAG=/target:library + CSC_WINEXEFLAG=/target:winexe diff --git a/net-misc/ifolder3-client-plugins/ifolder3-client-plugins-3.8.0.9328.1.ebuild b/net-misc/ifolder3-client-plugins/ifolder3-client-plugins-3.8.0.9328.1.ebuild new file mode 100644 index 0000000..929bbb3 --- /dev/null +++ b/net-misc/ifolder3-client-plugins/ifolder3-client-plugins-3.8.0.9328.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" +WANT_AUTOMAKE=1.9 + +#ESVN_REPO_URI="https://forgesvn1.novell.com/svn/simias/trunk/@${PV/3.7_pre/}" +#inherit autotools eutils mono subversion + +inherit autotools eutils mono + +DESCRIPTION="Enterprise backend for iFolder" +HOMEPAGE="http://www.ifolder.com/" +SRC_URI="mirror://sourceforge/ifolder3/files/iFolder%20Clients/3.8.0/novell-ifolder-client-plugins-${PV}.tar.gz -> ${P}.tar.gz + http://ftp.mars.arge.at/ifolder/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +RESTRICT="mirror" + +DEPEND="!www-apps/ifolder3-enterprise-plugins + net-misc/ifolder3" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/novell-ifolder-client-plugins-${PV}" + +src_prepare() { +# epatch "${FILESDIR}"/WSDLPATCH-1.diff +# epatch "${FILESDIR}"/configure.in-xsp-check-by-dl9pf-version3.diff +# epatch "${FILESDIR}"/simias-libtool22-1.patch + epatch "${FILESDIR}"/ifolder3-plugins-3.8-mono22-1.patch +# epatch "${FILESDIR}"/simias-mononamespace.dpatch +# epatch "${FILESDIR}"/simias-etc_use_destdir.dpatch +# epatch "${FILESDIR}"/simias-bash.dpatch +# epatch "${FILESDIR}"/simias_make_gcc43_happy.diff +# epatch "${FILESDIR}"/simias-libflaim_shared-1.patch +# epatch "${FILESDIR}"/simias-1.8-use_system_gsoap-2.patch +# epatch "${FILESDIR}"/gsoap-2.7.12.patch +# epatch "${FILESDIR}"/simias-recovery_agent-fix-1.patch + #Patch the path of mod_mono.conf +# epatch ${FILESDIR}/${PN}-mod_mono-path.patch +# epatch ${FILESDIR}/${PN}-apache-rights.patch +# epatch ${FILESDIR}/${PN}-simias-server-setup.patch + +# epatch ${FILESDIR}/new_mod_mono.diff +# epatch ${FILESDIR}/ifolder-3.8-admin-setup-1.diff +# epatch ${FILESDIR}/ifolder-apache-conf.diff +# epatch ${FILESDIR}/ifolder-3.8-web-setup-1.diff +# epatch ${FILESDIR}/simias-1.8.3-server-setup-1.diff +# epatch ${FILESDIR}/no_write_to_etc_during_install.diff +# epatch ${FILESDIR}/new_default_simias.config.diff +# epatch ${FILESDIR}/flex_in_lib64.diff +# epatch ${FILESDIR}/${PN}-simias-server-setup.patch + eautoreconf || die "eautoreconf failed" +} + +src_configure() { + econf --with-clientplugins --with-simiasdatadir="\${HOME}/.local/share/simias" || die "configure failed" +} + +src_compile() { + emake -j1 || die "build failed" +} + +src_install() { + make DESTDIR="${D}" install || die "Error install ${PN}" +} +