delete old ebuilds
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2685 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
AUX startboomerang-qt.sh 102 RMD160 d16392c466734fd7edd079a792fd015bc73745ee SHA1 05d90c7732b7e924a922a8274d5079e839c20b3a SHA256 c30f056ddf5f4896b33bf37c42900ecdf3cb8ff2c6342631bc8405ac578e25d4
|
||||
AUX startboomerang.sh 131 RMD160 c6e824c3a1e403e7053001ba79be687b269ff2d5 SHA1 9a6ef2aa6101ac077054d9e4dc3a172f9ca880f1 SHA256 6bf97ff1aad9a119dcb5b829dab42c316ff6bc44efe54fdb84b0c6e76d1502a7
|
||||
EBUILD boomerang-9999.ebuild 5278 RMD160 32e2a78226402a0f869b8d533d3e7a0537e2c0d1 SHA1 846a4cbd02825611b5d85d9ab0d39c32d3e1a7df SHA256 4bdc2428d9419feaa044e0d43f6de4d03ee9e90e5a580694f86a0cf1c0d7d87e
|
||||
@@ -1,258 +0,0 @@
|
||||
# Copyright 1999-2004 Gentoo Technologies, Inc.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: Exp $
|
||||
|
||||
ECVS_SERVER="boomerang.cvs.sourceforge.net:/cvsroot/boomerang"
|
||||
ECVS_MODULE="boomerang"
|
||||
ECVS_USER="anonymous"
|
||||
ECVS_PASS=""
|
||||
ECVS_CVS_OPTIONS="-dP"
|
||||
|
||||
inherit cvs eutils
|
||||
|
||||
S=${WORKDIR}/${ECVS_MODULE}
|
||||
|
||||
DESCRIPTION="A general, open source, retargetable decompiler of machine code programs - (sources from CVS)."
|
||||
HOMEPAGE="http://boomerang.sourceforge.net"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~x86 ~amd64"
|
||||
IUSE="qt4 examples"
|
||||
|
||||
DEPEND="dev-libs/boehm-gc
|
||||
dev-libs/expat
|
||||
dev-util/cppunit
|
||||
qt4? ( >=x11-libs/qt-gui-4.1.2 )"
|
||||
|
||||
|
||||
pkg_setup() {
|
||||
if built_with_use dev-libs/boehm-gc nocxx; then
|
||||
eerror "We need dev-libs/boehm-gc without nocxx enabled"
|
||||
einfo "Recompile dev-libs/boehm-gc with use=\"-nocxx\""
|
||||
die "Need cxx-support in dev-libs/boehm-gc"
|
||||
fi
|
||||
|
||||
|
||||
ewarn "This is a LIVE CVS ebuild."
|
||||
ewarn "That means there are NO promises it will work."
|
||||
ewarn "If it fails to build, FIX THE CODE YOURSELF"
|
||||
ewarn "before reporting any issues."
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
cvs_src_unpack
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf || die "econf failed."
|
||||
|
||||
emake remote || die "emake remote failed"
|
||||
|
||||
emake || die "emake failed"
|
||||
emake || die "emake failed"
|
||||
|
||||
if use qt4; then
|
||||
cd qtgui2
|
||||
qmake -project qtgui2-unx.pro
|
||||
qmake qtgui2-unx.pro
|
||||
emake || die "emake failed. try building without qt4 use flag."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into /usr/local/boomerang
|
||||
|
||||
##bin
|
||||
dodir ${DESTTREE}/bin
|
||||
|
||||
dobin boomerang
|
||||
dosym bin/boomerang ${DESTTREE}/boomerang
|
||||
|
||||
##startscript for main binary
|
||||
dobin ${FILESDIR}/startboomerang.sh
|
||||
dosym ${DESTTREE}/bin/startboomerang.sh /usr/bin/boomerang
|
||||
|
||||
if use qt4; then
|
||||
##qt binary
|
||||
newbin qtgui2/qtgui2-unx boomerang-qt
|
||||
|
||||
dosym bin/boomerang-qt ${DESTTREE}/boomerang-qt
|
||||
|
||||
##startscript for qt binary
|
||||
dobin ${FILESDIR}/startboomerang-qt.sh
|
||||
dosym ${DESTTREE}/bin/startboomerang-qt.sh /usr/bin/boomerang-qt
|
||||
|
||||
|
||||
##bmp images
|
||||
insinto ${DESTTREE}
|
||||
doins *.bmp
|
||||
fi
|
||||
|
||||
##lib
|
||||
dodir ${DESTTREE}/lib
|
||||
|
||||
dolib lib/*.so
|
||||
dosym ${DESTTREE}/lib/libBinaryFile.so /usr/lib/libBinaryFile.so
|
||||
|
||||
|
||||
##licence file
|
||||
dodir ${DESTTREE}/licence
|
||||
insinto ${DESTTREE}/licence
|
||||
|
||||
doins LICENSE.TERMS
|
||||
|
||||
|
||||
##signatures
|
||||
dodir ${DESTTREE}/signatures
|
||||
insinto ${DESTTREE}/signatures
|
||||
|
||||
doins signatures/*.hs
|
||||
doins signatures/*.h
|
||||
|
||||
##transformations
|
||||
dodir ${DESTTREE}/transformations
|
||||
insinto ${DESTTREE}/transformations
|
||||
|
||||
doins transformations/*.t
|
||||
|
||||
|
||||
##frontend - ppc
|
||||
dodir ${DESTTREE}/frontend/machine/ppc
|
||||
insinto ${DESTTREE}/frontend/machine/ppc
|
||||
|
||||
doins frontend/machine/ppc/ppc.ssl
|
||||
|
||||
|
||||
##frontend - hppa
|
||||
dodir ${DESTTREE}/frontend/machine/hppa
|
||||
insinto ${DESTTREE}/frontend/machine/hppa
|
||||
|
||||
doins frontend/machine/hppa/hppa.ssl
|
||||
|
||||
|
||||
##frontend - st20
|
||||
dodir ${DESTTREE}/frontend/machine/st20
|
||||
insinto ${DESTTREE}/frontend/machine/st20
|
||||
|
||||
doins frontend/machine/st20/st20.ssl
|
||||
|
||||
|
||||
##frontend - mc68k
|
||||
dodir ${DESTTREE}/frontend/machine/mc68k
|
||||
insinto ${DESTTREE}/frontend/machine/mc68k
|
||||
|
||||
doins frontend/machine/mc68k/mc68k.ssl
|
||||
|
||||
|
||||
##frontend - sparc
|
||||
dodir ${DESTTREE}/frontend/machine/sparc
|
||||
insinto ${DESTTREE}/frontend/machine/sparc
|
||||
|
||||
doins frontend/machine/sparc/sparc.ssl
|
||||
|
||||
|
||||
##frontend - pentium
|
||||
dodir ${DESTTREE}/frontend/machine/pentium
|
||||
insinto ${DESTTREE}/frontend/machine/pentium
|
||||
|
||||
doins frontend/machine/pentium/pentium.ssl
|
||||
|
||||
|
||||
##examples, rm is used to exclude CVS folders. maybe there's a better way
|
||||
if use examples; then
|
||||
##examples - elf32-ppc
|
||||
dodir ${DESTTREE}/test/elf32-ppc
|
||||
insinto ${DESTTREE}/test/elf32-ppc
|
||||
|
||||
rm -rf test/elf32-ppc/CVS
|
||||
doins test/elf32-ppc/*
|
||||
|
||||
|
||||
##examples - hppa
|
||||
dodir ${DESTTREE}/test/hppa
|
||||
insinto ${DESTTREE}/test/hppa
|
||||
|
||||
rm -rf test/hppa/CVS
|
||||
doins test/hppa/*
|
||||
|
||||
|
||||
##examples - mc68328
|
||||
dodir ${DESTTREE}/test/mc68328
|
||||
insinto ${DESTTREE}/test/mc68328
|
||||
|
||||
rm -rf test/mc68328/CVS
|
||||
doins test/mc68328/*
|
||||
|
||||
|
||||
##examples - mips
|
||||
dodir ${DESTTREE}/test/mips
|
||||
insinto ${DESTTREE}/test/mips
|
||||
|
||||
rm -rf test/mips/CVS
|
||||
doins test/mips/*
|
||||
|
||||
|
||||
##examples - OSX
|
||||
dodir ${DESTTREE}/test/OSX
|
||||
insinto ${DESTTREE}/test/OSX
|
||||
|
||||
rm -rf test/OSX/CVS
|
||||
doins test/OSX/*
|
||||
|
||||
|
||||
##examples - pentium
|
||||
dodir ${DESTTREE}/test/pentium
|
||||
insinto ${DESTTREE}/test/pentium
|
||||
|
||||
rm -rf test/pentium/CVS
|
||||
doins test/pentium/*
|
||||
|
||||
|
||||
##examples - ppc
|
||||
dodir ${DESTTREE}/test/ppc
|
||||
insinto ${DESTTREE}/test/ppc
|
||||
|
||||
rm -rf test/ppc/CVS
|
||||
doins test/ppc/*
|
||||
|
||||
|
||||
##examples - source code of examples
|
||||
dodir ${DESTTREE}/test/source
|
||||
insinto ${DESTTREE}/test/source
|
||||
|
||||
rm -rf test/source/CVS
|
||||
doins test/source/*
|
||||
|
||||
|
||||
##examples - sparc
|
||||
dodir ${DESTTREE}/test/sparc
|
||||
insinto ${DESTTREE}/test/sparc
|
||||
|
||||
rm -rf test/sparc/CVS
|
||||
doins test/sparc/*
|
||||
|
||||
|
||||
##examples - windows
|
||||
dodir ${DESTTREE}/test/windows
|
||||
insinto ${DESTTREE}/test/windows
|
||||
|
||||
rm -rf test/windows/CVS
|
||||
doins test/windows/*
|
||||
fi
|
||||
|
||||
##end of src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "You may now start boomerang by typing \"boomerang\"."
|
||||
|
||||
if use qt4; then
|
||||
einfo "You also request the qt4-gui. You may start it by typing \"boomerang-qt\"."
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
einfo "Examples to test decompilation have been put into /usr/local/boomerang/test (including original source)"
|
||||
fi
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
cd /usr/local/boomerang
|
||||
if [ "$*" = "" ]; then
|
||||
./boomerang-qt
|
||||
else
|
||||
./boomerang-qt $*
|
||||
fi
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
workdir=`pwd`
|
||||
cd /usr/local/boomerang
|
||||
if [ "$*" = "" ]; then
|
||||
./boomerang
|
||||
else
|
||||
./boomerang -o ${workdir}/output $*
|
||||
fi
|
||||
@@ -1,212 +0,0 @@
|
||||
# ChangeLog for dev-util/libconf
|
||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/libconf/ChangeLog,v 1.48 2009/07/02 23:57:49 jer Exp $
|
||||
|
||||
03 Sep 2009; Mario Fetka <mario.fetka@gmail.com> ChangeLog:
|
||||
add perl 8.10 patch
|
||||
|
||||
02 Jul 2009; Jeroen Roovers <jer@gentoo.org> libconf-0.42.10-r1.ebuild:
|
||||
Marked ~hppa too.
|
||||
|
||||
29 Feb 2008; Brent Baude <ranger@gentoo.org> libconf-0.42.10-r1.ebuild:
|
||||
keyworded ~arch for ppc64, bug 211757
|
||||
|
||||
09 Feb 2007; Damien Krotkine <dams@gentoo.org> libconf-0.42.10-r1.ebuild:
|
||||
corrected homepage. bug #166128
|
||||
|
||||
18 Jan 2007; Damien Krotkine <dams@gentoo.org> libconf-0.42.10-r1.ebuild:
|
||||
corrected SRC_URI, corrected copyright date
|
||||
|
||||
18 Jan 2007; Damien Krotkine <dams@gentoo.org> libconf-0.40.00.ebuild:
|
||||
corrected SRC_URI, corrected copyright date
|
||||
|
||||
28 Nov 2006; Tiziano Müller <dev-zero@gentoo.org>
|
||||
+files/0.42.10-fbsd.patch, libconf-0.42.10-r1.ebuild:
|
||||
Added fixes and patch for FreeBSD. ~x86-fbsd keyword added.
|
||||
|
||||
28 Nov 2006; Tiziano Müller <dev-zero@gentoo.org>
|
||||
-libconf-0.42.00.ebuild, -libconf-0.42.00-r1.ebuild,
|
||||
-libconf-0.42.10.ebuild, libconf-0.42.10-r1.ebuild:
|
||||
Dropped old versions. Cleaned up the ebuild.
|
||||
|
||||
07 Jun 2006; Damien Krotkine <dams@gentoo.org> libconf-0.40.00.ebuild:
|
||||
added xml IUSE, bug #135972
|
||||
|
||||
02 Mar 2006; Damien Krotkine <dams@gentoo.org> +libconf-0.42.10-r1.ebuild:
|
||||
correcting bug #118123
|
||||
|
||||
*libconf-0.42.10-r1 (02 Mar 2006)
|
||||
|
||||
02 Mar 2006; Damien Krotkine <dams@gentoo.org> +libconf-0.42.10-r1.ebuild:
|
||||
correcting
|
||||
|
||||
14 Dec 2005; Damien Krotkine <dams@gentoo.org> libconf-0.42.10.ebuild:
|
||||
setting DESTDIR when installing (bug #115469)
|
||||
|
||||
26 Nov 2005; Tom Martin <slarti@gentoo.org> libconf-0.42.10.ebuild:
|
||||
Multilib fix -- ebuild will install to a multilib-strict environment now.
|
||||
Also, remove call to make check in src_compile.
|
||||
|
||||
23 Nov 2005; Luis Medinas <metalgod@gentoo.org> libconf-0.40.00.ebuild:
|
||||
Stable on amd64. Fixing bug #113291.
|
||||
|
||||
*libconf-0.42.10 (22 Nov 2005)
|
||||
|
||||
22 Nov 2005; Damien Krotkine <dams@gentoo.org> +libconf-0.42.10.ebuild:
|
||||
cleaned old version, version bump, added python binding compilation
|
||||
|
||||
*libconf-0.42.00-r1 (20 Nov 2005)
|
||||
|
||||
20 Nov 2005; Damien Krotkine <dams@gentoo.org> +libconf-0.42.00-r1.ebuild:
|
||||
removed stupid reference to wxwidgets
|
||||
|
||||
*libconf-0.42.00 (18 Nov 2005)
|
||||
|
||||
18 Nov 2005; Damien Krotkine <dams@gentoo.org> +libconf-0.42.00.ebuild:
|
||||
version bump : python, ruby, bash bindings, xml support
|
||||
|
||||
30 Oct 2005; Jason Wever <weeve@gentoo.org> libconf-0.40.00.ebuild:
|
||||
Stable on SPARC.
|
||||
|
||||
02 Oct 2005; Aron Griffis <agriffis@gentoo.org> libconf-0.40.00.ebuild:
|
||||
Mark 0.40.00 stable on ia64
|
||||
|
||||
10 Sep 2005; Aron Griffis <agriffis@gentoo.org> libconf-0.40.00.ebuild:
|
||||
Mark 0.40.00 stable on alpha
|
||||
|
||||
03 Sep 2005; Markus Rothe <corsair@gentoo.org> libconf-0.40.00.ebuild:
|
||||
Stable on ppc64
|
||||
|
||||
*libconf-0.40.00 (27 Aug 2005)
|
||||
|
||||
27 Aug 2005; Damien Krotkine <dams@gentoo.org> +libconf-0.40.00.ebuild:
|
||||
major version bump
|
||||
|
||||
23 Aug 2005; Aron Griffis <agriffis@gentoo.org> libconf-0.39.21.ebuild:
|
||||
stable on ia64
|
||||
|
||||
12 Jul 2005; Simon Stelling <blubb@gentoo.org> libconf-0.39.21.ebuild:
|
||||
stable on amd64
|
||||
|
||||
*libconf-0.39.21 (20 Jun 2005)
|
||||
|
||||
20 Jun 2005; <dams@gentoo.org> +libconf-0.39.21.ebuild:
|
||||
new version
|
||||
|
||||
02 Jun 2005; <dams@gentoo.org> libconf-0.39.18.ebuild:
|
||||
marked stable on ppc64
|
||||
|
||||
*libconf-0.39.18 (02 Jun 2005)
|
||||
|
||||
02 Jun 2005; <dams@gentoo.org> +libconf-0.39.18.ebuild:
|
||||
new version
|
||||
|
||||
*libconf-0.39.16 (08 May 2005)
|
||||
|
||||
08 May 2005; <dams@gentoo.org> +libconf-0.39.16.ebuild:
|
||||
version bump
|
||||
|
||||
*libconf-0.39.15 (08 May 2005)
|
||||
|
||||
08 May 2005; <dams@gentoo.org> +libconf-0.39.15.ebuild:
|
||||
version bump
|
||||
|
||||
*libconf-0.39.14 (07 May 2005)
|
||||
|
||||
07 May 2005; <dams@gentoo.org> +libconf-0.39.14.ebuild:
|
||||
version bump
|
||||
|
||||
01 Apr 2005; Aron Griffis <agriffis@gentoo.org> libconf-0.39.8.ebuild:
|
||||
stable on ia64
|
||||
|
||||
*libconf-0.39.13 (29 Mar 2005)
|
||||
|
||||
29 Mar 2005; <dams@gentoo.org> +libconf-0.39.13.ebuild:
|
||||
version 0.39.13 : xml import/export, resolv template correction
|
||||
|
||||
*libconf-0.39.12 (21 Mar 2005)
|
||||
|
||||
21 Mar 2005; <dams@gentoo.org> +libconf-0.39.12.ebuild:
|
||||
version 0.39.12
|
||||
|
||||
07 Mar 2005; Markus Rothe <corsair@gentoo.org> libconf-0.39.8.ebuild:
|
||||
Stable on ppc64
|
||||
|
||||
*libconf-0.39.11 (19 Feb 2005)
|
||||
|
||||
19 Feb 2005; <dams@gentoo.org> +libconf-0.39.11.ebuild:
|
||||
version 0.39.11, command line tool correction
|
||||
|
||||
*libconf-0.39.10 (17 Feb 2005)
|
||||
|
||||
17 Feb 2005; <dams@gentoo.org> +libconf-0.39.10.ebuild:
|
||||
correcting a multiple filehandlers bug
|
||||
|
||||
*libconf-0.39.9 (15 Feb 2005)
|
||||
|
||||
15 Feb 2005; <dams@gentoo.org> +libconf-0.39.9.ebuild:
|
||||
version 0.39.9
|
||||
|
||||
*libconf-0.39.8 (24 Jan 2005)
|
||||
|
||||
24 Jan 2005; <dams@gentoo.org> +libconf-0.39.8.ebuild:
|
||||
typo
|
||||
|
||||
24 Jan 2005; <dams@gentoo.org> :
|
||||
- true-shell use debug
|
||||
- new feature : xml import and export
|
||||
|
||||
*libconf-0.39.7 (17 Jan 2005)
|
||||
|
||||
17 Jan 2005; <dams@gentoo.org> +libconf-0.39.7.ebuild:
|
||||
- the Shell template can now use a true shell binary to use shell
|
||||
interpretation
|
||||
|
||||
*libconf-0.39.6 (07 Jan 2005)
|
||||
|
||||
07 Jan 2005; <dams@gentoo.org> +libconf-0.39.6.ebuild:
|
||||
. version 0.39.6
|
||||
. corrected 2005 copyrights
|
||||
|
||||
*libconf-0.39.5 (08 Dec 2004)
|
||||
|
||||
08 Dec 2004; <dams@gentoo.org> +libconf-0.39.5.ebuild:
|
||||
version 0.39.5, needed for latest profuse
|
||||
|
||||
*libconf-0.39.4 (30 Nov 2004)
|
||||
|
||||
30 Nov 2004; <dams@gentoo.org> +libconf-0.39.4.ebuild:
|
||||
version 0.39.4
|
||||
|
||||
26 Nov 2004; <dams@gentoo.org> :
|
||||
version 0.39.3
|
||||
|
||||
*libconf-0.39.2 (14 Nov 2004)
|
||||
|
||||
14 Nov 2004; <dams@gentoo.org> +libconf-0.39.2.ebuild:
|
||||
version 0.39.2, required for profuse
|
||||
|
||||
*libconf-0.39.1 (19 Oct 2004)
|
||||
|
||||
19 Oct 2004; <dams@gentoo.org> +libconf-0.39.1.ebuild:
|
||||
version 0.39.1 (corrects etags bug, thanks pylon)
|
||||
|
||||
*libconf-0.39_alpha (10 Oct 2004)
|
||||
|
||||
10 Oct 2004; <dams@gentoo.org> +libconf-0.39_alpha.ebuild:
|
||||
version 0.39_alpha
|
||||
|
||||
*libconf-0.29 (09 Mar 2004)
|
||||
|
||||
09 Mar 2004; Dams,,, <dams@gentoo.org> libconf-0.29.ebuild:
|
||||
. version 0.29
|
||||
. added make check in compile rule
|
||||
|
||||
*libconf-0.28 (26 Feb 2004)
|
||||
|
||||
26 Feb 2004; Seemant Kulleen <seemant@gentoo.org> libconf-0.28.ebuild,
|
||||
metadata.xml:
|
||||
New abstraction library and utilities for interacting with configuration
|
||||
files. The app/lib itself is written by Dams (at gentoo dot org). Seemant
|
||||
committed it to portage.
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
AUX 0.42.10-fbsd.patch 1850 RMD160 534d06dac6a2190a21d03cbc01e97bc50d2f17f1 SHA1 22688c4f67bb36d33672881ce03934b98a5c4b1e SHA256 760b13b41e618c7de9a0132e00e7be3f00cc64cfa51869fd3bbf432164183e73
|
||||
AUX libconf-0.42.10-perl510.patch 486 RMD160 c541f314b16acdbd8a6be8cfcf591f93d2ad1486 SHA1 3eae14f495303b5bc32700e5d3bb4a8cb2aebc47 SHA256 88176bf4ac5d04e74bd86914a4408a0902f5853a7e1f4a5fb1685fbb80262372
|
||||
DIST perl-Libconf-0.42.10.tar.bz2 203303 RMD160 55e59e22fb8f2a0b4954abe52af03a58a1ed9847 SHA1 278200ceb40a51be14a250bcf35f4f0d6e46afb3 SHA256 91fc840042f0072c2de8520a044e5842df63c0f6f1c41ff989090c34c01ad40e
|
||||
EBUILD libconf-0.42.10-r1.ebuild 1613 RMD160 5284dd0361908358a144196c5d0d73b54f932a67 SHA1 38ba952974489fe25ee62cc41d9baa931206f57d SHA256 e5565b1551beccd6e5e2dc0337845e43b90c1d2ad8ebcecc96ee0275100f52f4
|
||||
MISC ChangeLog 6267 RMD160 82d107a261de5333d1eeb6cb2c598967f72045c9 SHA1 8653cb1f60b1a2a0a17b0dd711e0ed7eed794e1e SHA256 39ba1619fec158f015b07ab34f97775eb6389e7442267e86ffd9d9dd332c481d
|
||||
MISC metadata.xml 284 RMD160 d34a08cf3b7481409cfe53b033da70d654e7a132 SHA1 65de00127c5630c17a87531fc68e5dcb6d06bc73 SHA256 b3f4651cafe0c058bff035950a89a8fd476f19a06bdc3b7f5ed0b5981ddd333a
|
||||
@@ -1,51 +0,0 @@
|
||||
--- bindings/c/src/conf2xml.c.orig 2006-11-28 09:49:23 +0100
|
||||
+++ bindings/c/src/conf2xml.c 2006-11-28 09:49:34 +0100
|
||||
@@ -7,7 +7,6 @@
|
||||
#include <string.h>
|
||||
#include "conf2xml.h"
|
||||
|
||||
-#include <error.h>
|
||||
#include <errno.h>
|
||||
/* #define ARGC(a) ((sizeof(a)/sizeof(a[0]))) */
|
||||
/* #define STR_MAX_SIZE 256 */
|
||||
@@ -39,17 +38,17 @@
|
||||
|
||||
char * conf2xml (char *filename, char *template, char *template_options) {
|
||||
STRLEN l;
|
||||
- if (my_perl == NULL) error (NOT_INITIALIZED, 0, "conf2xml has not been initialized. Call conf2xml_init first");
|
||||
+ if (my_perl == NULL) errc (NOT_INITIALIZED, 0, "conf2xml has not been initialized. Call conf2xml_init first");
|
||||
|
||||
if (!template) {
|
||||
template = malloc(sizeof(char));
|
||||
- if (!template) error (ENOMEM, ENOMEM, NULL);
|
||||
+ if (!template) errc (ENOMEM, ENOMEM, NULL);
|
||||
*template = '\0';
|
||||
}
|
||||
|
||||
if (!template_options) {
|
||||
template_options = malloc(sizeof(char));
|
||||
- if (!template_options) error (ENOMEM, ENOMEM, NULL);;
|
||||
+ if (!template_options) errc (ENOMEM, ENOMEM, NULL);;
|
||||
*template_options = '\0';
|
||||
}
|
||||
|
||||
@@ -66,7 +65,7 @@
|
||||
1
|
||||
);
|
||||
char *perl_code = malloc(sizeof(char) * code_length);
|
||||
- if (!perl_code) error (ENOMEM, ENOMEM, NULL);;
|
||||
+ if (!perl_code) errc (ENOMEM, ENOMEM, NULL);;
|
||||
*perl_code = '\0';
|
||||
strncat(perl_code, perl_code1, strlen(perl_code1));
|
||||
strncat(perl_code, filename, strlen(filename));
|
||||
--- bindings/python/src/setup.py.orig 2006-11-28 09:50:43 +0100
|
||||
+++ bindings/python/src/setup.py 2006-11-28 09:50:50 +0100
|
||||
@@ -12,7 +12,6 @@
|
||||
ext_modules=[
|
||||
Extension(
|
||||
'conf2xml',
|
||||
- sources=['conf2xmlmodule.c'],
|
||||
- libraries=['dl'],
|
||||
+ sources=['conf2xmlmodule.c']
|
||||
)]
|
||||
)
|
||||
@@ -1,11 +0,0 @@
|
||||
--- perl-Libconf-0.42.10/bindings/c/src/conf2xml.c 2005-11-07 01:02:03.000000000 -0800
|
||||
+++ perl-Libconf-0.42.10/bindings/c/src/conf2xml.c.new 2008-07-22 17:01:33.000000000 -0700
|
||||
@@ -19,7 +19,7 @@
|
||||
char *embedding[] = { "", "-e", "0" };
|
||||
|
||||
if (my_perl != NULL) conf2xml_free();
|
||||
- PERL_SYS_INIT3(&argc,&argv,&env);
|
||||
+ PERL_SYS_INIT3(NULL,NULL,NULL);
|
||||
my_perl = perl_alloc();
|
||||
perl_construct( my_perl );
|
||||
perl_parse(my_perl, xs_init, 3, embedding, (char **)NULL);
|
||||
@@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
MY_P=perl-Libconf-${PV}
|
||||
|
||||
DESCRIPTION="Centralized abstraction layer for system configuration files"
|
||||
HOMEPAGE="http://damien.krotkine.com/libconf/"
|
||||
SRC_URI="http://damien.krotkine.com/libconf/dist/${MY_P}.tar.bz2"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
|
||||
IUSE="python ruby"
|
||||
DEPEND="dev-lang/perl
|
||||
dev-perl/DelimMatch
|
||||
dev-perl/XML-Twig
|
||||
python? ( >=dev-lang/python-2.4.2 )
|
||||
ruby? ( >=dev-lang/ruby-1.8.3 )"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
bindings() {
|
||||
local mybindings
|
||||
mybindings="bash"
|
||||
use python && mybindings="${mybindings} python"
|
||||
use ruby && mybindings="${mybindings} ruby"
|
||||
echo ${mybindings}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ ${USERLAND} == *BSD ]] && epatch "${FILESDIR}"/${PV}-fbsd.patch
|
||||
epatch "${FILESDIR}"/${P}-perl510.patch
|
||||
|
||||
# Multilib fix
|
||||
sed -i \
|
||||
-e "/^LIB_DIR/ { s:lib:$(get_libdir): }" \
|
||||
-e 's/^CF=-Wall/CF=$(CFLAGS)/' \
|
||||
bindings/c/src/Makefile || die "sed failed"
|
||||
|
||||
sed -i \
|
||||
-e 's/ /\t/' \
|
||||
perl-Libconf/Makefile || die "sed failed"
|
||||
|
||||
sed -i \
|
||||
-e '/^MAKE =/d' \
|
||||
Makefile perl-Libconf/Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
BINDINGS="$(bindings)" \
|
||||
CC=$(tc-getCC) \
|
||||
|| die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
BINDINGS="$(bindings)" \
|
||||
PREFIX="${D}"/usr DESTDIR="${D}" ROOT="${D}" \
|
||||
CPA="cp -pR" install || die "emake install failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog \
|
||||
bindings/ruby/src/{AUTHORS,README} \
|
||||
bindings/python/src/README
|
||||
}
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>perl</herd>
|
||||
<maintainer>
|
||||
<email>dams@gentoo.org</email>
|
||||
<name>Primary Maintainer is Dams. Secondary is Seemant</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user