diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-libs/libmapi | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-libs/libmapi')
-rw-r--r-- | net-libs/libmapi/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libmapi/files/openchange-1.0-BORG-fix-soname-QA.patch | 18 | ||||
-rw-r--r-- | net-libs/libmapi/files/openchange-1.0-BORG-python-location-fix.patch | 20 | ||||
-rw-r--r-- | net-libs/libmapi/libmapi-1.0.ebuild | 53 | ||||
-rw-r--r-- | net-libs/libmapi/metadata.xml | 7 |
5 files changed, 99 insertions, 0 deletions
diff --git a/net-libs/libmapi/Manifest b/net-libs/libmapi/Manifest new file mode 100644 index 00000000000..44ceaf06a73 --- /dev/null +++ b/net-libs/libmapi/Manifest @@ -0,0 +1 @@ +DIST openchange-1.0-BORG.tar.gz 1979219 SHA256 f18c1fdb0dec10ea6a469cb7be5fc24010a44d8c5de42a23da5b0c864f343bb4 SHA512 20c3923bcbbbb09aeebe686727f0fd1d6d5e0d23e815e4c1c945077dd34b646bc80a64f103c830f95e2b26111685400c050717c5bed21ab79167fc913f88a54e WHIRLPOOL 92ffe9e36a0c8c60768d6a5a79b2ac6295f3cacedb245188103254105bcb93526d920739196b2d8738d38e81afe52acfa7096d2abf716b14ab785326a045436d diff --git a/net-libs/libmapi/files/openchange-1.0-BORG-fix-soname-QA.patch b/net-libs/libmapi/files/openchange-1.0-BORG-fix-soname-QA.patch new file mode 100644 index 00000000000..0579ddd0663 --- /dev/null +++ b/net-libs/libmapi/files/openchange-1.0-BORG-fix-soname-QA.patch @@ -0,0 +1,18 @@ +--- Makefile~ 2012-03-15 13:50:43.000000000 +0000 ++++ Makefile 2012-10-10 12:12:29.318900417 +0000 +@@ -212,6 +212,7 @@ + $(INSTALL) -d $(DESTDIR)$(libdir) + $(INSTALL) -m 0755 libmapi.$(SHLIBEXT).$(PACKAGE_VERSION) $(DESTDIR)$(libdir) + ln -sf libmapi.$(SHLIBEXT).$(PACKAGE_VERSION) $(DESTDIR)$(libdir)/libmapi.$(SHLIBEXT) ++ ln -sf libmapi.$(SHLIBEXT).$(PACKAGE_VERSION) $(DESTDIR)$(libdir)/libmapi.$(SHLIBEXT).$(LIBMAPI_SO_VERSION) + ifeq ($(MANUALLY_CREATE_SYMLINKS), yes) + ln -sf libmapi.$(SHLIBEXT).$(PACKAGE_VERSION) $(DESTDIR)$(libdir)/libmapi.$(SHLIBEXT).$(LIBMAPI_SO_VERSION) + endif +@@ -400,6 +401,7 @@ + $(INSTALL) -d $(DESTDIR)$(libdir) + $(INSTALL) -m 0755 libmapipp.$(SHLIBEXT).$(PACKAGE_VERSION) $(DESTDIR)$(libdir) + ln -sf libmapipp.$(SHLIBEXT).$(PACKAGE_VERSION) $(DESTDIR)$(libdir)/libmapipp.$(SHLIBEXT) ++ ln -sf libmapipp.$(SHLIBEXT).$(PACKAGE_VERSION) $(DESTDIR)$(libdir)/libmapipp.$(SHLIBEXT).$(LIBMAPI_SO_VERSION) + ifeq ($(MANUALLY_CREATE_SYMLINKS), yes) + ln -sf libmapipp.$(SHLIBEXT).$(PACKAGE_VERSION) $(DESTDIR)$(libdir)/libmapipp.$(SHLIBEXT).$(LIBMAPIPP_SO_VERSION) + endif diff --git a/net-libs/libmapi/files/openchange-1.0-BORG-python-location-fix.patch b/net-libs/libmapi/files/openchange-1.0-BORG-python-location-fix.patch new file mode 100644 index 00000000000..8e8d243960c --- /dev/null +++ b/net-libs/libmapi/files/openchange-1.0-BORG-python-location-fix.patch @@ -0,0 +1,20 @@ +--- configure.ac~ 2012-03-15 13:50:43.000000000 +0000 ++++ configure.ac 2012-10-10 12:00:15.225031516 +0000 +@@ -328,7 +328,7 @@ + AC_SUBST(PYTHON_LIBS) + + AC_MSG_CHECKING(python library directory) +-pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1, 0, '\\${prefix}')"` ++pythondir=`$PYTHON -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"` + AC_MSG_RESULT($pythondir) + AC_SUBST(pythondir) + +@@ -661,7 +661,7 @@ + [build Python bindings for libmapi]), + enable_pymapi="$enableval", + enable_pymapi=no) +-PYCDIR=`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1, prefix='\\$(prefix)')"` ++PYCDIR=`$PYTHON -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"` + AC_SUBST(PYCDIR) + + dnl Enable pyopenchange by default diff --git a/net-libs/libmapi/libmapi-1.0.ebuild b/net-libs/libmapi/libmapi-1.0.ebuild new file mode 100644 index 00000000000..9939d560092 --- /dev/null +++ b/net-libs/libmapi/libmapi-1.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +PYTHON_DEPEND="python? *" + +inherit autotools eutils python + +MY_PN=openchange +MY_P=${MY_PN}-${PV}-BORG + +DESCRIPTION="Portable open-source implementations of Exchange protocols" +HOMEPAGE="http://www.openchange.org/" +SRC_URI="http://tracker.openchange.org/attachments/download/180/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="python" + +RDEPEND=">=net-fs/samba-4.0.0_rc2 + dev-libs/boost + python? ( dev-lang/python )" + +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/"${MY_P}"-python-location-fix.patch + epatch "${FILESDIR}"/"${MY_P}"-fix-soname-QA.patch + eaclocal + eautoconf +} +src_configure() { + ECONF="--disable-coverage + $(use_enable python pymapi)" + + econf ${ECONF} +} + +src_compile() { + emake libmapi libmapixx || die "libmapi compilation failed" +} + +src_install() { + emake DESTDIR="${D}" libmapi-install libmapixx-install || die "libmapi install failed" + + if use python ; then + emake DESTDIR="${D}" python-install || die "pymapi install failed" + fi +} diff --git a/net-libs/libmapi/metadata.xml b/net-libs/libmapi/metadata.xml new file mode 100644 index 00000000000..91f4e72fb54 --- /dev/null +++ b/net-libs/libmapi/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> +</pkgmetadata> |