*: remove all packages unused and 6 years old

Remove everything that no combination of use flags can enable and that
have been untouched for 6 years.

Packages removed:
 - app-misc/evtest
 - app-portage/esearch
 - app-shells/dash
 - dev-libs/fribidi
 - dev-libs/libp11
 - dev-libs/libpthread-stubs
 - dev-libs/pkcs11-helper
 - dev-libs/udis86
 - dev-libs/xmlrpc-c
 - net-proxy/tsocks
 - sys-apps/input-utils
 - sys-apps/memtester
This commit is contained in:
Andrew Jeddeloh 2017-11-01 16:25:33 -07:00
parent 5d6ee934aa
commit 5f52cbc759
63 changed files with 0 additions and 3019 deletions

View File

@ -1,2 +0,0 @@
DIST evtest-1.29-mans.tar.xz 2108 RMD160 5ca7166d23e3f681c1d99a8520ead9145d201fa9 SHA1 ab26291d10758f2c580d93162d3cc4462ed4acd3 SHA256 8f5c92bb15671fd1acc3a4e66c8218115ff8f6365c4fc3ca491a728bdeff3231
DIST evtest-1.29.tar.bz2 21930 RMD160 130b21fd87c8024e8c4e689bf00a830eefad9980 SHA1 6c57202d9a794c423ef07ad4f516edab80257215 SHA256 6373c66e72cd461879f9fc6ee19b5b508ae1d6d365660a00cb8bcee7f415bb90

View File

@ -1,37 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/evtest/evtest-1.29.ebuild,v 1.2 2012/03/27 15:47:09 vapier Exp $
EAPI="4"
inherit autotools eutils
DESCRIPTION="test program for capturing input device events"
HOMEPAGE="http://cgit.freedesktop.org/evtest/"
SRC_URI="http://cgit.freedesktop.org/evtest/snapshot/${P}.tar.bz2
mirror://gentoo/${P}-mans.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE="+xml"
# We bundled the man pages ourselves to avoid xmlto/asciidoc.
# We need libxml2 for the capture tool. While at runtime,
# we have a file that can be used with xsltproc, we don't
# directly need it ourselves, so don't depend on libxslt.
RDEPEND="xml? ( dev-libs/libxml2 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_prepare() {
# No pretty configure flag :/
sed -i -r \
-e "s:HAVE_LIBXML=(yes|no):HAVE_LIBXML=$(usex xml):g" \
configure.ac || die
# We pre-compile the man pages.
export XMLTO=/bin/true ASCIIDOC=/bin/true
eautoreconf
}

View File

@ -1 +0,0 @@
DIST esearch-0.7.1.tar.bz2 10401 RMD160 40e765fdac44c8c11fafdf8e8cc0e3ad20ac675c SHA1 1ae5930254a046dcfd056178cbbd2cb4e34cf432 SHA256 3f8e23a3a0748747ceff562063caccae1c50b46c723add32165c9476e57a270d

View File

@ -1,50 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-0.7.1-r7.ebuild,v 1.2 2009/03/07 19:54:57 betelgeuse Exp $
EAPI="2"
inherit base eutils
DESCRIPTION="Replacement for 'emerge --search' with search-index"
HOMEPAGE="http://david-peter.de/esearch.html"
SRC_URI="http://david-peter.de/downloads/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="linguas_it"
RDEPEND=">=dev-lang/python-2.2[readline]
>=sys-apps/portage-2.0.50"
PATCHES=( "${FILESDIR}"/97462-esearch-metadata.patch
"${FILESDIR}"/97969-ignore-missing-ebuilds.patch
"${FILESDIR}"/120817-unset-emergedefaultopts.patch
"${FILESDIR}"/124601-remove-deprecated-syntax.patch
"${FILESDIR}"/132548-multiple-overlay.patch
"${FILESDIR}"/231223-fix-deprecated.patch
"${FILESDIR}"/253216-fix-ebuild-option.patch
"${FILESDIR}"/186994-esync-quiet.patch
"${FILESDIR}"/146555-esearch-manifest2.patch )
src_compile() { :; }
src_install() {
dodir /usr/bin/ /usr/sbin/ || die "dodir failed"
exeinto /usr/lib/esearch
doexe eupdatedb.py esearch.py esync.py common.py || die "doexe failed"
dosym /usr/lib/esearch/esearch.py /usr/bin/esearch || die "dosym failed"
dosym /usr/lib/esearch/eupdatedb.py /usr/sbin/eupdatedb || die "dosym failed"
dosym /usr/lib/esearch/esync.py /usr/sbin/esync || die "dosym failed"
doman en/{esearch,eupdatedb,esync}.1 || die "doman failed"
dodoc ChangeLog "${FILESDIR}/eupdatedb.cron" || die "dodoc failed"
if use linguas_it ; then
insinto /usr/share/man/it/man1
doins it/{esearch,eupdatedb,esync}.1 || die "doins failed"
fi
}

View File

@ -1,23 +0,0 @@
--- esync.py 2006-04-23 19:52:23.000000000 -0400
+++ esync.py.new 2006-04-24 00:33:55.217967750 -0400
@@ -22,7 +22,7 @@
from common import needdbversion
-syncprogram = "/usr/bin/emerge sync"
+syncprogram = "EMERGE_DEFAULT_OPTS=\"\" /usr/bin/emerge sync"
logfile_sync = "/var/log/emerge-sync.log"
tmp_prefix = "/tmp/esync"
@@ -72,9 +72,9 @@
if arg in ("-h", "--help"):
usage()
elif arg in ("-w", "--webrsync"):
- syncprogram = "/usr/sbin/emerge-webrsync"
+ syncprogram = "EMERGE_DEFAULT_OPTS=\"\" /usr/sbin/emerge-webrsync"
elif arg in ("-m", "--metadata"):
- syncprogram = "/usr/bin/emerge --metadata"
+ syncprogram = "EMERGE_DEFAULT_OPTS=\"\" /usr/bin/emerge --metadata"
elif arg in ("-n", "--nocolor"):
eoptions = "-n"
nocolor()

View File

@ -1,99 +0,0 @@
Only in esearch-0.7.1-patched: diff
diff -ur esearch-0.7.1/en/esync.1 esearch-0.7.1-patched/en/esync.1
--- esearch-0.7.1/en/esync.1 2006-06-05 16:27:11.000000000 +0200
+++ esearch-0.7.1-patched/en/esync.1 2006-06-05 16:31:38.000000000 +0200
@@ -1,16 +1,16 @@
.TH esearch 1 "February 13, 2005" "esync"
.SH "NAME"
-esync \- Calls 'emerge sync' and 'eupdatedb' and shows updates
+esync \- Calls 'emerge --sync' and 'eupdatedb' and shows updates
.SH "SYNOPSIS"
.B esync
[ options ]
.SH "DESCRIPTION"
-esync first imports the old esearch index, then calls 'emerge sync'
-or 'emerge-webrsync' and 'eupdatedb'. Then it shows the new and the
-updated packages.
+esync first imports the old esearch index, then calls 'emerge --sync'
+(or an alternative command: see options) and 'eupdatedb'. Then it
+shows the new and the updated packages.
.SH "OPTIONS"
.TP
@@ -18,10 +18,10 @@
Print help message
.TP
.B \-\-webrsync, \-w
-Use 'emerge-webrsync' instead of 'emerge sync'
+Use 'emerge-webrsync' instead of 'emerge --sync'
.TP
.B \-\-metadata, \-m
-Use 'emerge --metadata' instead of 'emerge sync'
+Use 'emerge --metadata' instead of 'emerge --sync'
.TP
.B \-\-nocolor, \-n
Don't use ANSI codes for colored output
diff -ur esearch-0.7.1/it/esync.1 esearch-0.7.1-patched/it/esync.1
--- esearch-0.7.1/it/esync.1 2006-06-05 16:27:11.000000000 +0200
+++ esearch-0.7.1-patched/it/esync.1 2006-06-05 16:24:43.000000000 +0200
@@ -1,7 +1,7 @@
.TH esearch 1 "08 Luglio 2004" "esearch"
.SH "NOME"
-esync \- Esegue 'emerge sync' e 'eupdatedb' mostrando gli aggiornamenti
+esync \- Esegue 'emerge --sync' e 'eupdatedb' mostrando gli aggiornamenti
.SH "SINTASSI"
.B esync
@@ -9,8 +9,8 @@
.SH "DESCRIZIONE"
esync prima importa il vecchio indice di esearch, quindi esegue
-'emerge sync' o 'emerge-webrsync' e 'eupdatedb'. Quindi mostra i
-nuovi pacchetti e quelli aggiornati.
+'emerge --sync' (o un comando alternativo: vedi opzioni) e 'eupdatedb'.
+Quindi mostra i nuovi pacchetti e quelli aggiornati.
.SH "OPZIONI"
.TP
@@ -18,10 +18,10 @@
Stampa un messaggio di aiuto.
.TP
.B \-\-webrsync, \-w
-Usa 'emerge-webrsync' invece di 'emerge sync'.
+Usa 'emerge-webrsync' invece di 'emerge --sync'.
.TP
.B \-\-metadata, \-m
-Usa 'emerge --metadata' invece di 'emerge sync'.
+Usa 'emerge --metadata' invece di 'emerge --sync'.
.TP
.B \-\-nocolor, \-n
Non usa i codici colore ANSI per la stampa.
diff -ur esearch-0.7.1/esync.py esearch-0.7.1-patched/esync.py
--- esearch-0.7.1/esync.py 2006-06-05 16:27:11.000000000 +0200
+++ esearch-0.7.1-patched/esync.py 2006-06-05 16:22:22.000000000 +0200
@@ -22,7 +22,7 @@
from common import needdbversion
-syncprogram = "EMERGE_DEFAULT_OPTS=\"\" /usr/bin/emerge sync"
+syncprogram = "EMERGE_DEFAULT_OPTS=\"\" /usr/bin/emerge --sync"
logfile_sync = "/var/log/emerge-sync.log"
tmp_prefix = "/tmp/esync"
@@ -42,10 +42,10 @@
print " Print this help message"
print ""
print darkgreen(" --webrsync") + ", " + darkgreen("-w")
- print " Use 'emerge-webrsync' instead of 'emerge sync'"
+ print " Use 'emerge-webrsync' instead of 'emerge --sync'"
print ""
print darkgreen(" --metadata") + ", " + darkgreen("-m")
- print " Use 'emerge --metadata' instead of 'emerge sync'"
+ print " Use 'emerge --metadata' instead of 'emerge --sync'"
print ""
print darkgreen(" --nocolor") + ", " + darkgreen("-n")
print " Don't use ANSI codes for colored output"

View File

@ -1,153 +0,0 @@
diff -Naru esearch-0.7.1/esearch.py esearch-0.7.1-tmp/esearch.py
--- esearch-0.7.1/esearch.py 2006-05-16 19:12:07.795314560 +0200
+++ esearch-0.7.1-tmp/esearch.py 2006-05-18 23:08:28.363580608 +0200
@@ -64,16 +64,16 @@
if fatal:
sys.exit(1)
-def searchEbuilds(path, portdir = True, searchdef = ""):
- global ebuilds, output, defebuild
+def searchEbuilds(path, portdir = True, searchdef = "", repo_num = ""):
+ global ebuilds, output, defebuild, found_in_overlay
pv = ""
pkgs = []
nr = len(ebuilds) + 1
if portdir:
- rep = darkgreen("Portage")
+ rep = darkgreen("Portage ")
else:
- rep = red("Overlay")
+ rep = red("Overlay "+str(repo_num)+" ")
if isdir(path):
list = listdir(path)
@@ -82,18 +82,20 @@
if file[-7:] == ".ebuild":
pv = file[:-7]
pkgs.append(pkgsplit(pv))
- pkgs[-1].append(path + "/" + file)
+ pkgs[-1].append(path + file)
if searchdef != "" and pv == searchdef:
defebuild = (searchdef, pkgs[-1][3])
+ if not portdir:
+ found_in_overlay = True
pkgs.sort(pkgcmp)
for pkg in pkgs:
rev = ""
if pkg[2] != "r0":
rev = "-" + pkg[2]
output.append(" " + rep + " [" + bold(str(nr)) + "] " + pkg[0] + "-" + pkg[1] + rev + "\n")
- ebuilds.append(pkg[3])
+ ebuilds.append(pkg[len(pkg)-1])
nr += 1
-
+
NORMAL = 1
COMPACT = 2
VERBOSE = 3
@@ -105,6 +107,7 @@
fullname = False
pattern = False
instonly = False
+found_in_overlay = False
try:
opts = getopt(sys.argv[1:], "hSFIcveo:d:n", ["help", "searchdesc", "fullname", "instonly", "compact", "verbose", "ebuild", "own=", "directory=", "nocolor"])
@@ -128,7 +131,7 @@
from output import blue
from common import version
outputm = VERBOSE
- elif arg in ("-e", "--ebuilds"):
+ elif arg in ("-e", "--ebuild"):
from os import listdir, getenv, system
from os.path import isdir
from portage import settings, pkgcmp, pkgsplit
@@ -313,12 +316,14 @@
else:
searchdef = ""
- searchEbuilds("%s/%s/" % (portdir, pkg[1]), True, searchdef)
+ searchEbuilds("%s/%s/" % (portdir, pkg[1]), True, searchdef, "")
if overlay:
- searchEbuilds("%s/%s/" % (overlay, pkg[1]), False, searchdef)
+ repo_num=1
+ for repo in overlay.split():
+ searchEbuilds("%s/%s/" % ( repo, pkg[1]), False, searchdef,repo_num)
+ repo_num += 1
output.append("\n")
-
count += 1
regexlist[i][2] = "".join(output)
@@ -338,34 +343,42 @@
if outputm == NORMAL:
print ""
-if outputm == EBUILDS and count != 0:
- if count > 1:
- defebuild = (0, 0)
- if len(ebuilds) == 1:
- nr = 1
- else:
- if defebuild[0] != 0:
- print bold("Show Ebuild"), " (" + darkgreen(defebuild[0]) + "): ",
+if outputm == EBUILDS:
+ if overlay and found_in_overlay:
+ repo_num=1
+ for repo in overlay.split():
+ print red("Overlay "+str(repo_num)+" : "+repo)
+ repo_num += 1
+
+ if count != 0:
+ if count > 1:
+ defebuild = (0, 0)
+
+ if len(ebuilds) == 1:
+ nr = 1
else:
- print bold("Show Ebuild: "),
+ if defebuild[0] != 0:
+ print bold("\nShow Ebuild"), " (" + darkgreen(defebuild[0]) + "): ",
+ else:
+ print bold("\nShow Ebuild: "),
+ try:
+ nr = sys.stdin.readline()
+ except KeyboardInterrupt:
+ sys.exit(1)
try:
- nr = sys.stdin.readline()
- except KeyboardInterrupt:
- sys.exit(1)
- try:
- editor = getenv("EDITOR")
- if editor:
- system(editor + " " + ebuilds[int(nr) - 1])
- else:
- print ""
- error("Please set EDITOR", False)
- except IndexError:
- print ""
- error("No such ebuild", False)
- except ValueError:
- if defebuild[0] != 0:
- system(editor + " " + defebuild[1])
- else:
+ editor = getenv("EDITOR")
+ if editor:
+ system(editor + " " + ebuilds[int(nr) - 1])
+ else:
+ print ""
+ error("Please set EDITOR", False)
+ except IndexError:
print ""
- error("Please enter a valid number", False)
+ error("No such ebuild", False)
+ except ValueError:
+ if defebuild[0] != 0:
+ system(editor + " " + defebuild[1])
+ else:
+ print ""
+ error("Please enter a valid number", False)

View File

@ -1,57 +0,0 @@
diff -Nur esearch.orig/eupdatedb.py esearch/eupdatedb.py
--- esearch.orig/eupdatedb.py 2008-12-30 21:57:59.000000000 -0800
+++ esearch/eupdatedb.py 2008-12-31 16:50:52.000000000 -0800
@@ -9,6 +9,7 @@
from time import time
start = time()
+import os
import sys
import re
from os import stat, unlink, environ, open, fdopen, O_RDONLY, O_EXCL, O_CREAT, O_WRONLY
@@ -22,8 +23,12 @@
import portage
try:
from portage.output import red, darkgreen, green, bold, nocolor
+ from portage.manifest import Manifest
+ from portage.exception import PortageException
except ImportError:
from output import red, darkgreen, green, bold, nocolor
+ from portage_manifest import Manifest
+ from portage_exception import PortageException
from common import needdbversion, version
@@ -66,14 +71,15 @@
def getfs(pkg):
# from /usr/bin/emerge
try:
- mysum = 0
- mydigest = portage.portdb.finddigest(pkg)
-
- myfilefd = open(mydigest, O_RDONLY)
- myfile = fdopen(myfilefd, "r")
- for line in myfile.readlines():
- mysum += int(line.split(" ")[3])
- myfile.close()
+ myebuild = portage.portdb.findname(pkg)
+ pkgdir = os.path.dirname(myebuild)
+ mf = Manifest(pkgdir, portage.settings["DISTDIR"])
+ if hasattr(portage.portdb, "getFetchMap"):
+ fetchlist = portage.portdb.getFetchMap(pkg)
+ else:
+ fetchlist = portage.portdb.getfetchlist(pkg,
+ mysettings=portage.settings, all=True)[1]
+ mysum = mf.getDistfilesSize(fetchlist)
mystr = str(mysum/1024)
mycount = len(mystr)
while (mycount > 3):
@@ -82,7 +88,7 @@
mysum = mystr + " kB"
return mysum
- except:
+ except (PortageException, KeyError):
return "[no/bad digest]"
try:

View File

@ -1,146 +0,0 @@
diff -ru esearch-0.7.1-r6/en/esync.1 esearch-0.7.1-r7/en/esync.1
--- esearch-0.7.1-r6/en/esync.1 2009-01-02 10:53:39.000000000 -0600
+++ esearch-0.7.1-r7/en/esync.1 2009-01-02 10:45:03.000000000 -0600
@@ -1,34 +1,36 @@
-.TH esearch 1 "February 13, 2005" "esync"
-
+.TH "esearch" "1" "February 13, 2005" "esync" ""
.SH "NAME"
-esync \- Calls 'emerge --sync' and 'eupdatedb' and shows updates
+esync \- Calls 'emerge \-\-sync' and 'eupdatedb' and shows updates
.SH "SYNOPSIS"
.B esync
[ options ]
.SH "DESCRIPTION"
-esync first imports the old esearch index, then calls 'emerge --sync'
+esync first imports the old esearch index, then calls 'emerge \-\-sync'
(or an alternative command: see options) and 'eupdatedb'. Then it
shows the new and the updated packages.
.SH "OPTIONS"
-.TP
+.TP
.B \-\-help, \-h
Print help message
-.TP
+.TP
.B \-\-webrsync, \-w
-Use 'emerge-webrsync' instead of 'emerge --sync'
-.TP
+Use 'emerge\-webrsync' instead of 'emerge \-\-sync'
+.TP
.B \-\-metadata, \-m
-Use 'emerge --metadata' instead of 'emerge --sync'
-.TP
+Use 'emerge \-\-metadata' instead of 'emerge \-\-sync'
+.TP
.B \-\-nocolor, \-n
Don't use ANSI codes for colored output
-.TP
+.TP
+.B \-\-quiet, \\-q
+Less output (implies \-\-nospinner)
+.TP
.B \-\-verbose, \-v
Verbose output
-.TP
+.TP
.B \-\-nospinner, \­s
Don't display the remaining index count
diff -ru esearch-0.7.1-r6/esync.py esearch-0.7.1-r7/esync.py
--- esearch-0.7.1-r6/esync.py 2009-01-02 10:53:40.000000000 -0600
+++ esearch-0.7.1-r7/esync.py 2009-01-02 10:50:59.000000000 -0600
@@ -35,6 +35,7 @@
eupdatedb_extra_options = ""
showtitles = "notitles" not in portage.features
verbose = False
+quiet = False
def usage():
print "esync (0.7.1) - Calls 'emerge sync' and 'eupdatedb' and shows updates"
@@ -53,6 +54,9 @@
print darkgreen(" --nocolor") + ", " + darkgreen("-n")
print " Don't use ANSI codes for colored output"
print ""
+ print darkgreen(" --quiet") + ", " + darkgreen("-q")
+ print " Less output (implies --nospinner)"
+ print ""
print darkgreen(" --verbose") + ", " + darkgreen("-v")
print " Verbose output"
print ""
@@ -63,7 +67,7 @@
sys.exit(0)
try:
- opts = getopt(sys.argv[1:], "hwmnvs", ["help", "webrsync", "nocolor", "verbose", "metadata", "nospinner"])
+ opts = getopt(sys.argv[1:], "hwmnvs", ["help", "webrsync", "nocolor", "quiet", "verbose", "metadata", "nospinner"])
except GetoptError, error:
print red(" * Error:"), error, "(see", darkgreen("--help"), "for all options)"
print
@@ -82,8 +86,13 @@
eoptions = "-n"
nocolor()
showtitles = False
+ elif arg in ("-q", "--quiet"):
+ eupdatedb_extra_options = "-q"
+ quiet = True
+ verbose = False
elif arg in ("-v", "--verbose"):
verbose = True
+ quiet = False
elif arg in ("-s", "--nospinner"):
eupdatedb_extra_options = "-q"
@@ -92,6 +101,7 @@
global showtitles
if showtitles:
xtermTitle(msg)
+ if quiet: return
print green(" *"), msg
def outofdateerror():
@@ -131,9 +141,9 @@
tree_old = gettree("old")
-emsg("Doing '" + syncprogram + "' now")
+if not quiet: emsg("Doing '" + syncprogram + "' now")
-if verbose == True:
+if verbose:
errorcode = os.system(syncprogram + " | tee " + logfile_sync + " 2>&1")
else:
errorcode = os.system(syncprogram + " > " + logfile_sync + " 2>&1")
@@ -143,16 +153,17 @@
print ""
sys.exit(1)
-print ""
+if not quiet:
+ print ""
+ emsg("Doing 'eupdatedb' now")
+ print ""
-emsg("Doing 'eupdatedb' now")
-print ""
if os.system("/usr/sbin/eupdatedb " + eoptions + " " + eupdatedb_extra_options) != 0:
print ""
print red(" * Error:"), "eupdatedb failed"
sys.exit(1)
-print ""
+if not quiet: print ""
tree_new = gettree("new")
@@ -181,6 +192,7 @@
if (pkg not in old_keys) or (old[pkg] != new[pkg]):
os.system("/usr/bin/esearch " + eoptions + " -Fc ^" + pkg + "$ | head -n1")
haspkg = True
+ break
if not haspkg:
emsg("No updates found")

View File

@ -1,57 +0,0 @@
diff -ru esearch.orig/esearch.py esearch/esearch.py
--- esearch.orig/esearch.py 2008-12-30 21:14:03.000000000 -0600
+++ esearch/esearch.py 2008-12-30 21:10:22.000000000 -0600
@@ -13,7 +13,10 @@
sys.path.insert(0, "/usr/lib/portage/pym")
sys.path.insert(0, "/usr/lib/esearch")
-from output import bold, red, green, darkgreen, turquoise, nocolor
+try:
+ from portage.output import bold, red, green, darkgreen, turquoise, nocolor
+except ImportError:
+ from output import bold, red, green, darkgreen, turquoise, nocolor, blue
from os.path import exists
import re
@@ -128,7 +131,10 @@
elif arg in ("-v", "--verbose"):
import string
from portage import portdb, best, settings
- from output import blue
+ try:
+ from portage.output import blue
+ except ImportError:
+ from output import blue
from common import version
outputm = VERBOSE
elif arg in ("-e", "--ebuild"):
diff -ru esearch.orig/esync.py esearch/esync.py
--- esearch.orig/esync.py 2008-12-30 21:14:05.000000000 -0600
+++ esearch/esync.py 2008-12-30 20:58:16.000000000 -0600
@@ -18,7 +18,10 @@
sys.path.insert(0, "/usr/lib/portage/pym")
import portage
-from output import red, green, bold, darkgreen, nocolor, xtermTitle
+try:
+ from portage.output import red, green, bold, darkgreen, nocolor, xtermTitle
+except ImportError:
+ from output import red, green, bold, darkgreen, nocolor, xtermTitle
from common import needdbversion
diff -ru esearch.orig/eupdatedb.py esearch/eupdatedb.py
--- esearch.orig/eupdatedb.py 2008-12-30 21:14:08.000000000 -0600
+++ esearch/eupdatedb.py 2008-12-30 20:58:16.000000000 -0600
@@ -20,7 +20,10 @@
sys.path.insert(0, "/usr/lib/esearch")
import portage
-from output import red, darkgreen, green, bold, nocolor
+try:
+ from portage.output import red, darkgreen, green, bold, nocolor
+except ImportError:
+ from output import red, darkgreen, green, bold, nocolor
from common import needdbversion, version

View File

@ -1,36 +0,0 @@
diff -ru esearch.orig/esearch.py esearch/esearch.py
--- esearch.orig/esearch.py 2008-12-30 22:47:31.000000000 -0600
+++ esearch/esearch.py 2008-12-30 22:49:34.000000000 -0600
@@ -67,6 +67,9 @@
if fatal:
sys.exit(1)
+def mypkgcmp(pkg1, pkg2):
+ return pkgcmp(pkg1[:3], pkg2[:3])
+
def searchEbuilds(path, portdir = True, searchdef = "", repo_num = ""):
global ebuilds, output, defebuild, found_in_overlay
pv = ""
@@ -79,18 +82,18 @@
rep = red("Overlay "+str(repo_num)+" ")
if isdir(path):
- list = listdir(path)
+ filelist = listdir(path)
- for file in list:
+ for file in filelist:
if file[-7:] == ".ebuild":
pv = file[:-7]
- pkgs.append(pkgsplit(pv))
+ pkgs.append(list(pkgsplit(pv)))
pkgs[-1].append(path + file)
if searchdef != "" and pv == searchdef:
defebuild = (searchdef, pkgs[-1][3])
if not portdir:
found_in_overlay = True
- pkgs.sort(pkgcmp)
+ pkgs.sort(mypkgcmp)
for pkg in pkgs:
rev = ""
if pkg[2] != "r0":

View File

@ -1,57 +0,0 @@
diff -ur esearch-0.7.1/en/esync.1 esearch-0.7.1-patched/en/esync.1
--- en/esync.1 2005-02-13 18:12:03.000000000 +0100
+++ en/esync.1 2006-06-05 13:37:40.000000000 +0200
@@ -20,6 +20,9 @@
.B \-\-webrsync, \-w
Use 'emerge-webrsync' instead of 'emerge sync'
.TP
+.B \-\-metadata, \-m
+Use 'emerge --metadata' instead of 'emerge sync'
+.TP
.B \-\-nocolor, \-n
Don't use ANSI codes for colored output
.TP
diff -ur esearch-0.7.1/it/esync.1 esearch-0.7.1-patched/it/esync.1
--- it/esync.1 2005-02-13 17:23:38.000000000 +0100
+++ it/esync.1 2006-06-05 13:40:13.000000000 +0200
@@ -20,6 +20,9 @@
.B \-\-webrsync, \-w
Usa 'emerge-webrsync' invece di 'emerge sync'.
.TP
+.B \-\-metadata, \-m
+Usa 'emerge --metadata' invece di 'emerge sync'.
+.TP
.B \-\-nocolor, \-n
Non usa i codici colore ANSI per la stampa.
.TP
diff -ur esearch-0.7.1/esync.py esearch-0.7.1-patched/esync.py
--- esync.py 2005-02-13 17:53:38.000000000 +0100
+++ esync.py 2006-06-05 13:37:40.000000000 +0200
@@ -44,6 +44,9 @@
print darkgreen(" --webrsync") + ", " + darkgreen("-w")
print " Use 'emerge-webrsync' instead of 'emerge sync'"
print ""
+ print darkgreen(" --metadata") + ", " + darkgreen("-m")
+ print " Use 'emerge --metadata' instead of 'emerge sync'"
+ print ""
print darkgreen(" --nocolor") + ", " + darkgreen("-n")
print " Don't use ANSI codes for colored output"
print ""
@@ -57,7 +60,7 @@
sys.exit(0)
try:
- opts = getopt(sys.argv[1:], "hwnvs", ["help", "webrsync", "nocolor", "verbose", "nospinner"])
+ opts = getopt(sys.argv[1:], "hwmnvs", ["help", "webrsync", "nocolor", "verbose", "metadata", "nospinner"])
except GetoptError, error:
print red(" * Error:"), error, "(see", darkgreen("--help"), "for all options)"
print
@@ -70,6 +73,8 @@
usage()
elif arg in ("-w", "--webrsync"):
syncprogram = "/usr/sbin/emerge-webrsync"
+ elif arg in ("-m", "--metadata"):
+ syncprogram = "/usr/bin/emerge --metadata"
elif arg in ("-n", "--nocolor"):
eoptions = "-n"
nocolor()

View File

@ -1,15 +0,0 @@
--- a/esearch.py 2006-04-23 19:48:38.088214000 -0400
+++ b/esearch.py 2006-04-23 19:33:21.482929750 -0400
@@ -222,7 +222,11 @@
if outputm == VERBOSE:
mpv = best(portdb.xmatch("match-all", pkg[1]))
- iuse_split = string.split(portdb.aux_get(pkg[1] + "-" + pkg[3], ["IUSE"])[0], " ")
+ try:
+ iuse_split = string.split(portdb.aux_get(pkg[1] + "-" + pkg[3], ["IUSE"])[0], " ")
+ except KeyError, e:
+ print "Package %s is no longer in the portage tree." % pkg[1] + "-" + pkg[3]
+ continue
iuse_split.sort()
iuse = ""

View File

@ -1,32 +0,0 @@
#! /bin/bash
# The eupdatedb script _needs_ to be installed with the filename 'eupdatedb'
# because it does things based on basename $0.
# Run some script
SCRIPT="/usr/sbin/eupdatedb"
SCRIPTPREOPTS="nice -n 19"
SCRIPTOPTS="--quiet"
PRECOMMAND=""
POSTCOMMAND=""
DATE="`date +%Y%m%d`"
LOG="/var/log/`basename ${SCRIPT}`"
${PRECOMMAND}
# Start logging
echo "--- Starting ${SCRIPT} for ${DATE} ---" >> ${LOG}
if [ "`${SCRIPTPREOPTS} ${SCRIPT} ${SCRIPTOPTS}`" ]
then
echo "${SCRIPT}: success." >> ${LOG}
else
echo "ERROR: ${SCRIPT} failed." >> ${LOG}
fi
# Cleanup tasks
${POSTCOMMAND}
# End logging
echo "--- Ending ${SCRIPT} for ${DATE} ---" >> ${LOG}

View File

@ -1,2 +0,0 @@
DIST dash-0.5.5.1.tar.gz 208094 RMD160 8831123af32ab699314edbca18350e7ec778df77 SHA1 fd73f0a34477eaf8bacc36beee75d94551954a61 SHA256 1c6717a1014c73aa16bc78a4767f1e00b40ff2a01a6c2cf2cce9a5335c24493f
DIST dash_0.5.5.1-7.diff.gz 48211 RMD160 20b69fe3b13867e317b245b116a5dd3355876c7d SHA1 dddd265fdb3cce11715f46135053330054cba370 SHA256 aea83843e9e7ab15d642237081d229b3ab44ca33b9565efcdc637865053a32ba

View File

@ -1,56 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/dash/dash-0.5.5.1.7.ebuild,v 1.6 2011/10/05 05:52:56 maekke Exp $
EAPI="2"
inherit autotools eutils flag-o-matic toolchain-funcs
DEB_PV=${PV%.*}
DEB_PATCH=${PV##*.}
DEB_PF="${PN}_${DEB_PV}-${DEB_PATCH}"
MY_P="${PN}-${DEB_PV}"
DESCRIPTION="DASH is a direct descendant of the NetBSD version of ash (the Almquist SHell) and is POSIX compliant"
HOMEPAGE="http://gondor.apana.org.au/~herbert/dash/"
SRC_URI="http://gondor.apana.org.au/~herbert/dash/files/${PN}-${DEB_PV}.tar.gz
mirror://debian/pool/main/d/dash/${DEB_PF}.diff.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
IUSE="libedit static"
RDEPEND="!static? ( libedit? ( dev-libs/libedit ) )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
libedit? ( static? ( dev-libs/libedit[static-libs] ) )"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${WORKDIR}"/${DEB_PF}.diff
epatch */debian/diff/*
epatch "${FILESDIR}"/${PN}-0.5.5.1-octal.patch #337329
# Fix the invalid sort
sed -i -e 's/LC_COLLATE=C/LC_ALL=C/g' src/mkbuiltins
# Use pkg-config for libedit linkage
sed -i "/LIBS/s:-ledit:\`$(tc-getPKG_CONFIG) --libs libedit $(use static && echo --static)\`:" configure.ac
# May as well, as the debian patches force this anyway
eautoreconf
}
src_configure() {
use static && append-ldflags -static
econf \
--bindir=/bin \
$(use_with libedit)
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc ChangeLog */debian/changelog
}

View File

@ -1,29 +0,0 @@
http://bugs.gentoo.org/337329
do not interpret \\1 as an octal sequence. require it to start with \\0.
--- a/src/bltin/printf.c
+++ b/src/bltin/printf.c
@@ -247,18 +247,10 @@ conv_escape_str(char *str)
* They start with a \0, and are followed by 0, 1, 2,
* or 3 octal digits.
*/
- if (ch == '0') {
- unsigned char i;
- i = 3;
- ch = 0;
- do {
- unsigned k = octtobin(*str);
- if (k > 7)
- break;
- str++;
- ch <<= 3;
- ch += k;
- } while (--i);
+ if (ch >= '1' && ch <= '9') {
+ /* Filter \1...\9; let \0 fall to conv_escape(). */
+ ch = '\\';
+ --str;
continue;
}

View File

@ -1 +0,0 @@
DIST fribidi-0.10.7.tar.gz 593309 RMD160 ddc37838a1cca880a7c63c0e77cff5ed7a3fac1d SHA1 b49568f87d72a1f513e533a99bf0143dc9fc3e64 SHA256 ecea548c16f5632f0d5dbc005e595bf2f4ebfbdb0bf74c8db347662f8475450b

View File

@ -1,17 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/fribidi/fribidi-0.10.7.ebuild,v 1.17 2009/10/12 16:36:38 armin76 Exp $
DESCRIPTION="A free implementation of the unicode bidirectional algorithm"
HOMEPAGE="http://fribidi.org/"
SRC_URI="http://fribidi.org/download/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
IUSE=""
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS NEWS README ChangeLog THANKS TODO
}

View File

@ -1 +0,0 @@
DIST libp11-0.2.8.tar.gz 377508 RMD160 6cda5a5b456aa46dd8f10021f606b86393a88465 SHA1 2d1f6dc4200038f55a0cb7e22858f93e484b0724 SHA256 a4121015503ade98074b5e2a2517fc8a139f8b28aed10021db2bb77283f40691

View File

@ -1,196 +0,0 @@
patch from upstream
From 1c872a3e9c4cbf3cbd485168a7e98b589bbad57a Mon Sep 17 00:00:00 2001
From: alonbl <alonbl@6d86ddd8-19ff-0310-a323-aa2ba648d307>
Date: Wed, 14 Dec 2011 10:46:45 +0000
Subject: [PATCH] Remove ltdl usage
Use native POSIX/Windows
git-svn-id: http://www.opensc-project.org/svn/libp11/trunk@202 6d86ddd8-19ff-0310-a323-aa2ba648d307
---
configure.ac | 23 +++++------------------
src/Makefile.am | 4 ++--
src/Makefile.mak | 7 ++-----
src/libpkcs11.c | 52 +++++++++++++++++++++++++++++++++++++++-------------
4 files changed, 48 insertions(+), 38 deletions(-)
diff --git a/configure.ac b/configure.ac
index 679b8da..9fa96bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -180,25 +180,14 @@ if test "${svn_checkout}" = "yes"; then
fi
fi
-AC_ARG_VAR([LTLIB_CFLAGS], [C compiler flags for libltdl])
-AC_ARG_VAR([LTLIB_LIBS], [linker flags for libltdl])
-if test -z "${LTLIB_LIBS}"; then
+if test "${WIN32}" != "yes"; then
AC_CHECK_LIB(
- [ltdl],
- [lt_dlopen],
- [LTLIB_LIBS="-lltdl"],
- [AC_MSG_ERROR([ltdl not found, please install libltdl and/or libtool])]
+ [dl],
+ [dlopen],
+ ,
+ [AC_MSG_ERROR([libdl required])]
)
-
fi
-saved_CFLAGS="${CFLAGS}"
-CFLAGS="${CFLAGS} ${LTLIB_CFLAGS}"
-AC_CHECK_HEADER(
- [ltdl.h],
- ,
- [AC_MSG_ERROR([ltdl.h not found, please install libltdl and/or libtool])]
-)
-CFLAGS="${saved_CFLAGS}"
PKG_CHECK_MODULES(
[OPENSSL],
@@ -273,8 +262,6 @@ Compiler flags: ${CFLAGS}
Linker flags: ${LDFLAGS}
Libraries: ${LIBS}
-LTLIB_CFLAGS: ${LTLIB_CFLAGS}
-LTLIB_LIBS: ${LTLIB_LIBS}
OPENSSL_CFLAGS: ${OPENSSL_CFLAGS}
OPENSSL_LIBS: ${OPENSSL_LIBS}
diff --git a/src/Makefile.am b/src/Makefile.am
index c66a8cd..0910f44 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -16,8 +16,8 @@ libp11_la_SOURCES += versioninfo.rc
else
dist_noinst_DATA = versioninfo.rc
endif
-libp11_la_CFLAGS = $(AM_CFLAGS) $(OPENSSL_CFLAGS) $(LTLIB_CFLAGS)
-libp11_la_LIBADD = $(OPENSSL_LIBS) $(LTLIB_LIBS)
+libp11_la_CFLAGS = $(AM_CFLAGS) $(OPENSSL_CFLAGS)
+libp11_la_LIBADD = $(OPENSSL_LIBS)
libp11_la_LDFLAGS = $(AM_LDFLAGS) \
-version-info @LIBP11_LT_CURRENT@:@LIBP11_LT_REVISION@:@LIBP11_LT_AGE@ \
-export-symbols "$(srcdir)/libp11.exports" \
diff --git a/src/Makefile.mak b/src/Makefile.mak
index 73b5428..fa0809c 100644
--- a/src/Makefile.mak
+++ b/src/Makefile.mak
@@ -1,10 +1,7 @@
-LIBLTDL_INC = # E.g. /IC:\libtool-1.5.8-lib\include
-LIBLTDL_LIB = # E.g. C:\libtool-1.5.8-lib\lib\libltdl.lib
-
OPENSSL_INC = /IC:\openssl\include
OPENSSL_LIB = C:\openssl\out32dll\libeay32.lib
-COPTS = /Zi /MD /nologo /I..\ /I. $(OPENSSL_INC) $(LIBLTDL_INC) /D_WIN32_WINNT=0x0400 /DWIN32 /DWIN32_LEAN_AND_MEAN
+COPTS = /Zi /MD /nologo /I..\ /I. $(OPENSSL_INC) /D_WIN32_WINNT=0x0400 /DWIN32 /DWIN32_LEAN_AND_MEAN
LINKFLAGS = /DEBUG /NOLOGO /INCREMENTAL:NO /MACHINE:IX86
TARGET = libp11.dll
@@ -28,6 +25,6 @@ $(TARGET): $(OBJECTS) versioninfo.res
echo EXPORTS >> $*.def
type $*.exports >> $*.def
link $(LINKFLAGS) /dll /def:$*.def /implib:$*.lib /out:$(TARGET) \
- $(OBJECTS) $(OPENSSL_LIB) $(LIBLTDL_LIB) versioninfo.res
+ $(OBJECTS) $(OPENSSL_LIB) versioninfo.res
if EXIST $*.dll.manifest mt -manifest $*.dll.manifest -outputresource:$*.dll;2
diff --git a/src/libpkcs11.c b/src/libpkcs11.c
index a146361..93584d9 100644
--- a/src/libpkcs11.c
+++ b/src/libpkcs11.c
@@ -27,14 +27,18 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <ltdl.h>
+#ifdef WIN32
+#include <windows.h>
+#else
+#include <dlfcn.h>
+#endif
#include "libp11-int.h"
#define MAGIC 0xd00bed00
struct sc_pkcs11_module {
unsigned int _magic;
- lt_dlhandle handle;
+ void *handle;
};
typedef struct sc_pkcs11_module sc_pkcs11_module_t;
@@ -52,19 +56,40 @@ C_LoadModule(const char *mspec, CK_FUNCTION_LIST_PTR_PTR funcs)
if (mspec == NULL)
return NULL;
- if (lt_dlinit() != 0)
- return NULL;
-
mod = (sc_pkcs11_module_t *) calloc(1, sizeof(*mod));
mod->_magic = MAGIC;
- mod->handle = lt_dlopen(mspec);
+#ifdef WIN32
+ mod->handle = LoadLibraryA(mspec);
+#else
+ mod->handle = dlopen(mspec, RTLD_NOW);
+#endif
+
if (mod->handle == NULL)
goto failed;
- /* Get the list of function pointers */
- c_get_function_list = (CK_RV (*)(CK_FUNCTION_LIST_PTR_PTR))
- lt_dlsym(mod->handle, "C_GetFunctionList");
+#ifdef WIN32
+ c_get_function_list = (CK_C_GetFunctionList)GetProcAddress (
+ mod->handle,
+ "C_GetFunctionList"
+ );
+#else
+ {
+ /*
+ * Make compiler happy!
+ */
+ void *p = dlsym(
+ mod->handle,
+ "C_GetFunctionList"
+ );
+ memmove(
+ &c_get_function_list,
+ &p,
+ sizeof(void *)
+ );
+ }
+#endif
+
if (!c_get_function_list)
goto failed;
rv = c_get_function_list(funcs);
@@ -89,13 +114,14 @@ C_UnloadModule(void *module)
if (!mod || mod->_magic != MAGIC)
return CKR_ARGUMENTS_BAD;
- if (lt_dlclose(mod->handle) < 0)
- return CKR_FUNCTION_FAILED;
+#ifdef WIN32
+ FreeLibrary(mod->handle);
+#else
+ dlclose(mod->handle);
+#endif
memset(mod, 0, sizeof(*mod));
free(mod);
- lt_dlexit();
-
return CKR_OK;
}
--
1.7.6.1

View File

@ -1,51 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libp11/libp11-0.2.8-r1.ebuild,v 1.1 2012/01/02 19:40:31 vapier Exp $
EAPI="4"
inherit eutils autotools
DESCRIPTION="A library implementing a layer on top of PKCS#11 API to make using PKCS#11 implementations easier."
HOMEPAGE="http://www.opensc-project.org/libp11/"
if [[ "${PV}" = "9999" ]]; then
inherit autotools subversion
ESVN_REPO_URI="http://www.opensc-project.org/svn/${PN}/trunk"
else
SRC_URI="http://www.opensc-project.org/files/${PN}/${P}.tar.gz"
fi
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
IUSE="doc"
RDEPEND="dev-libs/openssl"
DEPEND="${RDEPEND}
dev-util/pkgconfig
doc? ( app-doc/doxygen )"
if [[ "${PV}" = "9999" ]]; then
DEPEND="${DEPEND}
app-text/docbook-xsl-stylesheets
dev-libs/libxslt"
fi
src_prepare() {
epatch "${FILESDIR}"/${P}-no-ltdl.patch
eautoreconf
}
src_configure() {
econf \
--docdir="/usr/share/doc/${PF}" \
--htmldir="/usr/share/doc/${PF}/html" \
--enable-shared --disable-static \
--enable-doc \
$(use_enable doc api-doc)
}
src_install() {
emake install DESTDIR="${D}" || die "emake install failed"
find "${D}" -name '*.la' -delete
}

View File

@ -1 +0,0 @@
DIST libpthread-stubs-0.1.tar.bz2 194060 RMD160 25875ed40722ddff848c4d9836905600dcc784ba SHA1 34ef40880d0112dc6d32b386d59ce94f2c139eef SHA256 004dae11e11598584939d66d26a5ab9b48d08a00ca2d00ae8d38ee3ac7a15d65

View File

@ -1,17 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpthread-stubs/libpthread-stubs-0.1.ebuild,v 1.12 2010/02/11 15:36:25 ulm Exp $
# Must be before x-modular eclass is inherited
#SNAPSHOT="yes"
inherit x-modular
DESCRIPTION="Pthread functions stubs for platforms missing them"
SRC_URI="http://xcb.freedesktop.org/dist/${P}.tar.bz2"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND=""
DEPEND=""

View File

@ -1 +0,0 @@
DIST pkcs11-helper-1.07.tar.bz2 339147 RMD160 e2f5d1af5d09c927af96557cae89678de71659cd SHA1 45dea4081f3d2bc9aa68211b63ead3a2b6c978c9 SHA256 7849ddd06a4f3996358264ca6f92fbb4980d40aefaf6cda67a05f524476c345f

View File

@ -1,36 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/pkcs11-helper/pkcs11-helper-1.07.ebuild,v 1.7 2009/06/09 02:23:38 jer Exp $
DESCRIPTION="PKCS#11 helper library"
HOMEPAGE="http://www.opensc-project.org/pkcs11-helper"
SRC_URI="http://www.opensc-project.org/files/${PN}/${P}.tar.bz2"
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="doc gnutls nss"
RESTRICT="test"
RDEPEND=">=dev-libs/openssl-0.9.7
gnutls? ( >=net-libs/gnutls-1.4.4 )
nss? ( dev-libs/nss )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
doc? ( >=app-doc/doxygen-1.4.7 )"
src_compile() {
econf \
--docdir="/usr/share/doc/${PF}" \
$(use_enable doc) \
$(use_enable gnutls crypto-engine-gnutls) \
$(use_enable nss crypto-engine-nss)
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
mv "${D}/usr/share/doc/${PF}/api" "${T}"
prepalldocs
mv "${T}/api" "${D}/usr/share/doc/${PF}"
}

View File

@ -1 +0,0 @@
DIST udis86-1.7.tar.gz 696651 RMD160 42f39d8c2c6941913e18a85777d157825e6d1d33 SHA1 1a9949e33024542a24a948af5d9cbee34ff64695 SHA256 6128d266abcabed6077fdeebd2fbb7fb48eb599efbdae98922de2f6acd82ce3a

View File

@ -1,35 +0,0 @@
--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,9 @@
AC_DISABLE_SHARED
AC_PROG_LIBTOOL
+AC_PATH_PROG([YASM], yasm,)
+AC_SUBST(YASM)
+
# If this is a gnu compiler, pass -Wall
if test "$ac_cv_c_compiler_gnu" = "yes"; then
CFLAGS="$CFLAGS -Wall"
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -10,7 +10,7 @@
ovrrun_LDADD = ../libudis86/libudis86.la
ovrrun_CFLAGS = -I$(top_srcdir)/libudis86 -I$(top_srcdir)
-YASM = yasm
+YASM = @YASM@
dist_check_DATA = test16.asm test32.asm test64.asm testjmp.asm testobscure.asm \
testjmp.ref testobscure.ref randtest.raw randtest16.ref \
@@ -18,7 +18,10 @@
check-local: tests
-tests: test16 test32 test64 testjmp bufovrrun randraw
+yasm_tests: test16 test32 test64 testjmp
+no_yasm_tests: bufovrrun randraw
+
+tests: $(if $(YASM), yasm_tests) no_yasm_tests
test16: gen
$(YASM) -f bin -o test16.bin $(top_srcdir)/tests/test16.asm

View File

@ -1,36 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/udis86/udis86-1.7.ebuild,v 1.12 2010/11/11 17:30:39 hwoarang Exp $
EAPI=3
inherit autotools
DESCRIPTION="Disassembler library for the x86/-64 architecture sets."
HOMEPAGE="http://udis86.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc ~ppc64 x86 ~x86-fbsd"
IUSE="pic test"
DEPEND="test? (
amd64? ( dev-lang/yasm )
x86? ( dev-lang/yasm )
x86-fbsd? ( dev-lang/yasm )
)"
RDEPEND=""
src_prepare() {
# Don't fail tests if dev-lang/yasm is not installed, bug #318805
epatch "${FILESDIR}"/${P}-yasm.patch
eautoreconf
}
src_configure() {
econf "$(use_with pic)"
}
src_install() {
emake docdir="/usr/share/doc/${PF}/" DESTDIR="${D}" install || die "emake install failed"
}

View File

@ -1 +0,0 @@
DIST xmlrpc-c-1.18.02.tar.bz2 552233 RMD160 efe2f03ae37512636d33c7d285c46d9050e9296b SHA1 b815899dff10d245b31257f434230f8e45f2446a SHA256 b59845ebbad959f86a349873fda75af02a69105a4e5c6a7eb40225358677411a

View File

@ -1,20 +0,0 @@
diff -NrU5 xmlrpc-c-1.18.02.orig/src/Makefile xmlrpc-c-1.18.02/src/Makefile
--- xmlrpc-c-1.18.02.orig/src/Makefile 2009-05-02 12:53:43.000000000 +0200
+++ xmlrpc-c-1.18.02/src/Makefile 2009-05-02 13:30:00.000000000 +0200
@@ -128,11 +128,15 @@
$(SUBDIRS:%=%/all) \
# Extra dependencies to make parallel make work in spite of all the submakes
# (See top level make file for details)
ifeq ($MUST_BUILD_CLIENT),yes)
-cpp/all: $(BLDDIR)/transport_config.h
+ cpp/all: $(BLDDIR)/transport_config.h
+endif
+
+ifeq ($(ENABLE_CPLUSPLUS),yes)
+ cpp/all: $(TARGET_SHARED_LIBRARIES)
endif
#-----------------------------------------------------------------------------
# RULES TO LINK LIBRARIES
#-----------------------------------------------------------------------------

View File

@ -1,36 +0,0 @@
diff --git a/lib/curl_transport/curlmulti.c b/lib/curl_transport/curlmulti.c
index 27f93e3..6897d68 100644
--- a/lib/curl_transport/curlmulti.c
+++ b/lib/curl_transport/curlmulti.c
@@ -19,7 +19,6 @@
#endif
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
#include <curl/multi.h>
diff --git a/lib/curl_transport/curltransaction.c b/lib/curl_transport/curltransaction.c
index 3889462..0745f42 100644
--- a/lib/curl_transport/curltransaction.c
+++ b/lib/curl_transport/curltransaction.c
@@ -17,7 +17,6 @@
#include "version.h"
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
#include "curlversion.h"
diff --git a/lib/curl_transport/xmlrpc_curl_transport.c b/lib/curl_transport/xmlrpc_curl_transport.c
index 812ba2f..0a16835 100644
--- a/lib/curl_transport/xmlrpc_curl_transport.c
+++ b/lib/curl_transport/xmlrpc_curl_transport.c
@@ -85,7 +85,6 @@
#include "xmlrpc-c/time_int.h"
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
#include <curl/multi.h>

View File

@ -1,585 +0,0 @@
diff -NrU5 xmlrpc-c-1.18.02.orig/common.mk xmlrpc-c-1.18.02/common.mk
--- xmlrpc-c-1.18.02.orig/common.mk 2009-04-28 00:23:33.000000000 +0200
+++ xmlrpc-c-1.18.02/common.mk 2009-04-28 00:37:21.000000000 +0200
@@ -282,32 +282,10 @@
$(TARGET_MODS_PP:%=%.osh):%.osh:%.cpp
$(CXX) -c -o $@ $(INCLUDES) $(CXXFLAGS_ALL) $<
##############################################################################
-# MISC BUILD RULES #
-##############################################################################
-
-# We use the srcdir symbolic link simply to make the make
-# rules easier to read in the make output. We could use the $(SRCDIR)
-# variable, but that makes the compile and link commands
-# a mile long. Note that Make sometime figures that a directory which
-# is a dependency is newer than the symbolic link pointing to it and wants
-# to rebuild the symbolic link. So we don't make $(SRCDIR) a
-# dependency of 'srcdir'.
-
-# We should do the same for 'blddir'. We did once before, then undid
-# it in an erroneous effort to enable parallel make. It's a little harder
-# with blddir; when we did it before, we had to use the non-symlink
-# version in a few places.
-
-srcdir:
- $(LN_S) $(SRCDIR) $@
-blddir:
- $(LN_S) $(BLDDIR) $@
-
-##############################################################################
# RECURSIVE SUBDIRECTORY BUILD RULES #
##############################################################################
.PHONY: $(SUBDIRS:%=%/all)
$(SUBDIRS:%=%/all): %/all: $(CURDIR)/%
@@ -594,11 +572,10 @@
# especially with built .h files. Better not to burden the user, who
# gains nothing from it, with that.
#
rm -f depend.mk
rm -f Makefile.depend # We used to create a file by this name
- rm -f srcdir blddir
.PHONY: distdir-common
distdir-common:
@for file in $(DISTFILES); do \
d=$(SRCDIR); \
diff -NrU5 xmlrpc-c-1.18.02.orig/lib/abyss/src/Makefile xmlrpc-c-1.18.02/lib/abyss/src/Makefile
--- xmlrpc-c-1.18.02.orig/lib/abyss/src/Makefile 2009-04-28 00:23:33.000000000 +0200
+++ xmlrpc-c-1.18.02/lib/abyss/src/Makefile 2009-04-28 00:48:59.000000000 +0200
@@ -50,22 +50,17 @@
include $(SRCDIR)/common.mk
CFLAGS_LOCAL = -D_UNIX
-INCLUDES = -Iblddir -Isrcdir -Isrcdir/include -Isrcdir/lib/util/include
+INCLUDES = -I$(BLDDIR) -I$(SRCDIR) -I$(SRCDIR)/include -I$(SRCDIR)/lib/util/include
ABYSS_SHLIB = $(call shlibfn,libxmlrpc_abyss)
#ABYSS_SHLIB is e.g. libxmlrpc_abyss.so.3.1
ABYSS_SHLIBLE = $(call shliblefn,libxmlrpc_abyss)
#ABYSS_SHLIBLE is e.g. libxmlrpc_abyss.so
-# This 'common.mk' dependency makes sure the symlinks get built before
-# this make file is used for anything.
-
-$(SRCDIR)/common.mk: srcdir blddir
-
.PHONY: all
all: libxmlrpc_abyss.a $(TARGET_SHARED_LIBRARIES) $(TARGET_SHARED_LE_LIBS)
# Rule for this is in common.mk, courtesy of TARGET_LIBRARY_NAMES
diff -NrU5 xmlrpc-c-1.18.02.orig/lib/expat/xmlparse/Makefile xmlrpc-c-1.18.02/lib/expat/xmlparse/Makefile
--- xmlrpc-c-1.18.02.orig/lib/expat/xmlparse/Makefile 2009-04-28 00:23:33.000000000 +0200
+++ xmlrpc-c-1.18.02/lib/expat/xmlparse/Makefile 2009-04-28 00:39:45.000000000 +0200
@@ -83,11 +83,6 @@
distclean: clean distclean-common
.PHONY: dep
dep: dep-common
-# This 'common.mk' dependency makes sure the symlinks get built before
-# this make file is used for anything.
-
-$(SRCDIR)/common.mk: srcdir
-
include depend.mk
diff -NrU5 xmlrpc-c-1.18.02.orig/lib/expat/xmltok/Makefile xmlrpc-c-1.18.02/lib/expat/xmltok/Makefile
--- xmlrpc-c-1.18.02.orig/lib/expat/xmltok/Makefile 2009-04-28 00:23:33.000000000 +0200
+++ xmlrpc-c-1.18.02/lib/expat/xmltok/Makefile 2009-04-28 00:38:11.000000000 +0200
@@ -24,11 +24,11 @@
# we started using the Gcc -Wundef option, that generates a warning, so
# se set it explicitly to 0 here.
CFLAGS_LOCAL = -DXML_BYTE_ORDER=0
-# -I. is necessary when blddir != srcdir
+# -I. is necessary when $(BLDDIR) != $(SRCDIR)
INCLUDES = -I. -I$(BLDDIR) -I$(SRCDIR)/lib/util/include
default: all
TARGET_LIBRARY_NAMES := libxmlrpc_xmltok
diff -NrU5 xmlrpc-c-1.18.02.orig/lib/libutil/Makefile xmlrpc-c-1.18.02/lib/libutil/Makefile
--- xmlrpc-c-1.18.02.orig/lib/libutil/Makefile 2009-04-28 00:23:33.000000000 +0200
+++ xmlrpc-c-1.18.02/lib/libutil/Makefile 2009-04-28 00:48:59.000000000 +0200
@@ -41,23 +41,18 @@
MAJ=3
# Major number of shared libraries in this directory
include $(SRCDIR)/common.mk
-INCLUDES = -I$(BLDDIR) -Isrcdir \
- -I$(BLDDIR)/include -Isrcdir/include -Isrcdir/lib/util/include
+INCLUDES = -I$(BLDDIR) -I$(SRCDIR) \
+ -I$(BLDDIR)/include -I$(SRCDIR)/include -I$(SRCDIR)/lib/util/include
UTIL_SHLIB = $(call shlibfn,libxmlrpc_util)
#UTIL_SHLIB is e.g. libxmlrpc_util.so.3.1
UTIL_SHLIBLE = $(call shliblefn,libxmlrpc_util)
#UTIL_SHLIBLE is e.g. libxmlrpc_util.so
-# This 'common.mk' dependency makes sure the symlinks get built before
-# this make file is used for anything.
-
-$(SRCDIR)/common.mk: srcdir blddir
-
.PHONY: all
all: libxmlrpc_util.a $(TARGET_SHARED_LIBRARIES) $(TARGET_SHARED_LE_LIBS)
# Rule for this is in common.mk, courtesy of TARGET_LIBRARY_NAMES:
$(UTIL_SHLIB): $(TARGET_MODS:%=%.osh)
diff -NrU5 xmlrpc-c-1.18.02.orig/src/cpp/Makefile xmlrpc-c-1.18.02/src/cpp/Makefile
--- xmlrpc-c-1.18.02.orig/src/cpp/Makefile 2009-04-28 00:23:33.000000000 +0200
+++ xmlrpc-c-1.18.02/src/cpp/Makefile 2009-04-28 00:38:11.000000000 +0200
@@ -37,18 +37,18 @@
# INCLUDES and DEP_SOURCES are used by dep-common target
INCLUDES = $(BASIC_INCLUDES) $(CLIENT_INCLUDES) $(LIBXML_INCLUDES) \
$(SERVER_INCLUDES) $(SERVER_ABYSS_INCLUDES) $(TRANSPORT_INCLUDES)
DEP_SOURCES = *.cpp
-WININET_TRANSPORT_DIR = srcdir/lib/wininet_transport
-CURL_TRANSPORT_DIR = srcdir/lib/curl_transport
-LIBWWW_TRANSPORT_DIR = srcdir/lib/libwww_transport
+WININET_TRANSPORT_DIR = $(SRCDIR)/lib/wininet_transport
+CURL_TRANSPORT_DIR = $(SRCDIR)/lib/curl_transport
+LIBWWW_TRANSPORT_DIR = $(SRCDIR)/lib/libwww_transport
ifeq ($(ENABLE_LIBXML2_BACKEND),yes)
LIBXML_INCLUDES = $(LIBXML2_CFLAGS)
else
- LIBXML_INCLUDES = -Isrcdir/lib/expat/xmlparse
+ LIBXML_INCLUDES = -I$(SRCDIR)/lib/expat/xmlparse
endif
ifeq ($(ENABLE_LIBXML2_BACKEND),yes)
XML_PARSER_LIBDEP = $(shell xml2-config --libs)
else
@@ -80,26 +80,20 @@
MAJ = 5
# Major number of shared libraries in this directory
include $(SRCDIR)/common.mk
-
-# This 'common.mk' dependency makes sure the symlinks get built before
-# this make file is used for anything.
-
-$(SRCDIR)/common.mk: srcdir blddir
-
TRANSPORT_INCLUDES = \
-I$(WININET_TRANSPORT_DIR) \
-I$(CURL_TRANSPORT_DIR) \
-I$(LIBWWW_TRANSPORT_DIR) \
BASIC_INCLUDES = \
- -Iblddir/include \
- -Isrcdir/include \
- -Iblddir \
- -Isrcdir/lib/util/include
+ -I$(BLDDIR)/include \
+ -I$(SRCDIR)/include \
+ -I$(BLDDIR) \
+ -I$(SRCDIR)/lib/util/include
# TARGET_STATIC_LIBARIES, etc. are set by common.mk, based on
# TARGET_LIB_NAMES_PP.
@@ -125,22 +119,22 @@
$(LIBXMLRPC) \
$(LIBXMLRPC_SERVER) \
$(LIBXMLRPC_UTIL)
$(LIBXMLRPC_CPP_SH): LIBOBJECTS = XmlRpcCpp.osh
$(LIBXMLRPC_CPP_SH): LIBDEP = \
- -Lblddir/src -lxmlrpc_server -lxmlrpc \
+ -L$(BLDDIR)/src -lxmlrpc_server -lxmlrpc \
$(XML_PARSER_LIBDEP) \
-L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
LIBXMLRPCPP_SH = $(call shlibfn, lib$(LIBXMLRPCPP_NAME))
$(LIBXMLRPCPP_SH): $(LIBXMLRPCPP_MODS:%=%.osh) \
$(LIBXMLRPC) \
$(LIBXMLRPC_UTIL)
$(LIBXMLRPCPP_SH): LIBOBJECTS = $(LIBXMLRPCPP_MODS:%=%.osh)
$(LIBXMLRPCPP_SH): LIBDEP = \
- -Lblddir/src -lxmlrpc \
+ -L$(BLDDIR)/src -lxmlrpc \
$(XML_PARSER_LIBDEP) \
-L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
LIBXMLRPC_SERVERPP_SH = $(call shlibfn, libxmlrpc_server++)
@@ -151,11 +145,11 @@
$(LIBXMLRPC_UTIL) \
$(LIBXMLRPC)
$(LIBXMLRPC_SERVERPP_SH): LIBOBJECTS = $(LIBXMLRPC_SERVERPP_MODS:%=%.osh)
$(LIBXMLRPC_SERVERPP_SH): LIBDEP = \
-L. -l$(LIBXMLRPCPP_NAME) \
- -Lblddir/src -lxmlrpc_server -lxmlrpc \
+ -L$(BLDDIR)/src -lxmlrpc_server -lxmlrpc \
$(XML_PARSER_LIBDEP) \
-L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
LIBXMLRPC_SERVER_ABYSSPP_SH = $(call shlibfn, libxmlrpc_server_abyss++)
@@ -167,11 +161,11 @@
$(LIBXMLRPC_UTIL) \
$(LIBXMLRPC)
$(LIBXMLRPC_SERVER_ABYSSPP_SH): LIBOBJECTS = $(LIBXMLRPC_SERVER_ABYSSPP_MODS:%=%.osh)
$(LIBXMLRPC_SERVER_ABYSSPP_SH): LIBDEP = \
-L. -lxmlrpc_server++ -l$(LIBXMLRPCPP_NAME) \
- -Lblddir/src -lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc \
+ -L$(BLDDIR)/src -lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc \
$(XML_PARSER_LIBDEP) \
-L$(LIBXMLRPC_ABYSS_DIR) -lxmlrpc_abyss \
-L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util \
$(LIBXMLRPC_SERVER_CGIPP_SH): $(LIBXMLRPC_SERVER_CGIPP_MODS:%=%.osh) \
@@ -179,11 +173,11 @@
$(call shliblefn, lib$(LIBXMLRPCPP_NAME)) \
$(LIBXMLRPC)
$(LIBXMLRPC_SERVER_CGIPP_SH): LIBOBJECTS = $(LIBXMLRPC_SERVER_CGIPP_MODS:%=%.osh)
$(LIBXMLRPC_SERVER_CGIPP_SH): LIBDEP = \
-L. -lxmlrpc_server++ -l$(LIBXMLRPCPP_NAME) \
- -Lblddir/src -lxmlrpc_server -lxmlrpc \
+ -L$(BLDDIR)/src -lxmlrpc_server -lxmlrpc \
$(XML_PARSER_LIBDEP) \
-L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
LIBXMLRPC_SERVER_PSTREAMPP_SH = $(call shlibfn, libxmlrpc_server_pstream++)
@@ -193,11 +187,11 @@
$(call shliblefn, libxmlrpc_packetsocket) \
$(call shliblefn, libxmlrpc_server++)
$(LIBXMLRPC_SERVER_PSTREAMPP_SH): LIBOBJECTS = $(LIBXMLRPC_SERVER_PSTREAMPP_MODS:%=%.osh)
$(LIBXMLRPC_SERVER_PSTREAMPP_SH): LIBDEP = \
-L. -lxmlrpc_server++ -l$(LIBXMLRPCPP_NAME) -lxmlrpc_packetsocket \
- -Lblddir/src -lxmlrpc_server -lxmlrpc \
+ -L$(BLDDIR)/src -lxmlrpc_server -lxmlrpc \
$(XML_PARSER_LIBDEP) \
-L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util \
LIBXMLRPC_CLIENTPP_SH = $(call shlibfn, libxmlrpc_client++)
@@ -208,22 +202,22 @@
$(call shliblefn, lib$(LIBXMLRPCPP_NAME)) \
$(LIBXMLRPC_CLIENT)
$(LIBXMLRPC_CLIENTPP_SH): LIBOBJECTS = $(LIBXMLRPC_CLIENTPP_MODS:%=%.osh)
$(LIBXMLRPC_CLIENTPP_SH): LIBDEP = \
-L. -l$(LIBXMLRPCPP_NAME) -lxmlrpc_packetsocket \
- -Lblddir/src -lxmlrpc_client -lxmlrpc \
+ -L$(BLDDIR)/src -lxmlrpc_client -lxmlrpc \
$(XML_PARSER_LIBDEP) \
-L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
LIBXMLRPC_PACKETSOCKET_SH = $(call shlibfn, libxmlrpc_packetsocket)
$(LIBXMLRPC_PACKETSOCKET_SH): $(LIBXMLRPC_PACKETSOCKET_MODS:%=%.osh) \
$(call shliblefn, lib$(LIBXMLRPCPP_NAME))
$(LIBXMLRPC_PACKETSOCKET_SH): LIBOBJECTS = $(LIBXMLRPC_PACKETSOCKET_MODS:%=%.osh)
$(LIBXMLRPC_PACKETSOCKET_SH): LIBDEP = \
-L. -l$(LIBXMLRPCPP_NAME) \
- -Lblddir/src -lxmlrpc \
+ -L$(BLDDIR)/src -lxmlrpc \
$(XML_PARSER_LIBDEP) \
-L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
libxmlrpc_cpp.a: XmlRpcCpp.o
libxmlrpc_cpp.a: LIBOBJECTS = XmlRpcCpp.o
diff -NrU5 xmlrpc-c-1.18.02.orig/src/cpp/test/Makefile xmlrpc-c-1.18.02/src/cpp/test/Makefile
--- xmlrpc-c-1.18.02.orig/src/cpp/test/Makefile 2009-04-28 00:23:33.000000000 +0200
+++ xmlrpc-c-1.18.02/src/cpp/test/Makefile 2009-04-28 00:48:59.000000000 +0200
@@ -26,16 +26,11 @@
LIBS += $(shell libwww-config --libs)
endif
LIBS += -lpthread
-INCLUDES = -Isrcdir/include -I$(BLDDIR) -Isrcdir -Isrcdir/lib/util/include
-
-# This 'Makefile' dependency makes sure the symlinks get built before
-# this make file is used for anything.
-
-Makefile: srcdir
+INCLUDES = -I$(SRCDIR)/include -I$(BLDDIR) -I$(SRCDIR) -I$(SRCDIR)/lib/util/include
include $(SRCDIR)/common.mk
TEST_OBJS = test.o registry.o server_abyss.o server_pstream.o tools.o
diff -NrU5 xmlrpc-c-1.18.02.orig/src/Makefile xmlrpc-c-1.18.02/src/Makefile
--- xmlrpc-c-1.18.02.orig/src/Makefile 2009-04-28 00:23:33.000000000 +0200
+++ xmlrpc-c-1.18.02/src/Makefile 2009-04-28 00:32:07.000000000 +0200
@@ -115,15 +115,10 @@
MAJ=3
# Major number of shared libraries in this directory
include $(SRCDIR)/common.mk
-# This 'common.mk' dependency makes sure the symlinks get built before
-# this make file is used for anything.
-
-$(SRCDIR)/common.mk: srcdir blddir
-
# TARGET_STATIC_LIBRARIES, etc. are set by common.mk, based on
# TARGET_LIBRARY_NAMES.
all: \
diff -NrU5 xmlrpc-c-1.18.02.orig/tools/common.mk xmlrpc-c-1.18.02/tools/common.mk
--- xmlrpc-c-1.18.02.orig/tools/common.mk 2009-04-28 00:23:33.000000000 +0200
+++ xmlrpc-c-1.18.02/tools/common.mk 2009-04-28 00:49:45.000000000 +0200
@@ -5,11 +5,11 @@
# the corresponding -l.
#
# Note that in a properly configured system, curl-config, etc. do not
# generate -L options for general directories.
-CLIENT_LDLIBS = -Lblddir/src -Lblddir/lib/libutil
+CLIENT_LDLIBS = -L$(BLDDIR)/src -L$(BLDDIR)/lib/libutil
CLIENT_LDLIBS += -lxmlrpc_client -lxmlrpc -lxmlrpc_util
ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes)
CLIENT_LDLIBS += $(shell libwww-config --libs)
@@ -21,17 +21,17 @@
CLIENT_LDLIBS += $(shell wininet-config --libs)
endif
CLIENT_LDLIBS += $(LDLIBS_XML)
-CLIENTPP_LDLIBS = -Lblddir/src/cpp
+CLIENTPP_LDLIBS = -L$(BLDDIR)/src/cpp
CLIENTPP_LDLIBS += -lxmlrpc_client++ -lxmlrpc_packetsocket -lxmlrpc++
include $(SRCDIR)/common.mk
ifneq ($(OMIT_LIB_RULE),Y)
-srcdir/tools/lib/dumpvalue.o: FORCE
+$(SRCDIR)/tools/lib/dumpvalue.o: FORCE
$(MAKE) -C $(dir $@) -f $(SRCDIR)/tools/lib/Makefile $(notdir $@)
endif
.PHONY: install
install: install-common
diff -NrU5 xmlrpc-c-1.18.02.orig/tools/lib/Makefile xmlrpc-c-1.18.02/tools/lib/Makefile
--- xmlrpc-c-1.18.02.orig/tools/lib/Makefile 2009-04-28 00:23:33.000000000 +0200
+++ xmlrpc-c-1.18.02/tools/lib/Makefile 2009-04-28 00:40:19.000000000 +0200
@@ -13,29 +13,24 @@
OMIT_LIB_RULE = Y
include $(SRCDIR)/tools/common.mk
INCLUDES = \
- -Isrcdir/$(SUBDIR)/include \
- -Iblddir \
- -Isrcdir/include \
- -Isrcdir/lib/util/include \
+ -I$(SRCDIR)/$(SUBDIR)/include \
+ -I$(BLDDIR) \
+ -I$(SRCDIR)/include \
+ -I$(SRCDIR)/lib/util/include \
LIBOBJS = \
dumpvalue.o \
.PHONY: all
all: $(LIBOBJS)
%.o:%.c
$(CC) -c $(CFLAGS_ALL) $<
-# This common.mk dependency makes sure the symlinks get built before
-# this make file is used for anything.
-
-$(SRCDIR)/tools/common.mk: srcdir blddir
-
include depend.mk
.PHONY: dep
dep: dep-common
diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xmlrpc/Makefile xmlrpc-c-1.18.02/tools/xmlrpc/Makefile
--- xmlrpc-c-1.18.02.orig/tools/xmlrpc/Makefile 2009-04-28 00:23:33.000000000 +0200
+++ xmlrpc-c-1.18.02/tools/xmlrpc/Makefile 2009-04-28 00:38:11.000000000 +0200
@@ -14,14 +14,14 @@
include $(SRCDIR)/tools/common.mk
INCLUDES = \
-I../lib/include \
- -Iblddir \
- -Iblddir/include \
- -Isrcdir/include \
- -Isrcdir/lib/util/include
+ -I$(BLDDIR) \
+ -I$(BLDDIR)/include \
+ -I$(SRCDIR)/include \
+ -I$(SRCDIR)/lib/util/include
LDFLAGS = $(LADD)
all: xmlrpc
@@ -32,11 +32,11 @@
stripcaseeq.o \
string_parser.o \
UTILS = $(UTIL_OBJS:%=$(UTIL_DIR)/%)
-DUMPVALUE = srcdir/tools/lib/dumpvalue.o
+DUMPVALUE = $(SRCDIR)/tools/lib/dumpvalue.o
# Can we just use $(LIBS) in the link?
LIBS = $(LIBXMLRPC_CLIENT) $(LIBXMLRPC) $(LIBXMLRPC_XML) $(LIBXMLRPC_UTIL)
@@ -46,15 +46,10 @@
$(CCLD) -o $@ $(LDFLAGS) $(XMLRPC_OBJS) $(UTILS) $(CLIENT_LDLIBS)
%.o:%.c $(BLDDIR)/include/xmlrpc-c/config.h
$(CC) -c $(CFLAGS_ALL) $<
-# This common.mk dependency makes sure the symlinks get built before
-# this make file is used for anything.
-
-$(SRCDIR)/tools/common.mk: srcdir blddir
-
include depend.mk
.PHONY: dep
dep: dep-common
diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xml-rpc-api2cpp/Makefile xmlrpc-c-1.18.02/tools/xml-rpc-api2cpp/Makefile
--- xmlrpc-c-1.18.02.orig/tools/xml-rpc-api2cpp/Makefile 2009-04-28 00:23:33.000000000 +0200
+++ xmlrpc-c-1.18.02/tools/xml-rpc-api2cpp/Makefile 2009-04-28 00:31:08.000000000 +0200
@@ -46,15 +46,10 @@
$(CXXLD) -o $@ $(LDFLAGS) $(OBJECTS) $(LDLIBS)
%.o:%.cpp
$(CXX) -c $(CXXFLAGS_ALL) $<
-# This common.mk dependency makes sure the symlinks get built before
-# this make file is used for anything.
-
-$(SRCDIR)/tools/common.mk: srcdir blddir
-
include depend.mk
.PHONY: clean
clean: clean-common
rm -f $(PROGS)
diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xml-rpc-api2txt/Makefile xmlrpc-c-1.18.02/tools/xml-rpc-api2txt/Makefile
--- xmlrpc-c-1.18.02.orig/tools/xml-rpc-api2txt/Makefile 2009-04-28 00:23:33.000000000 +0200
+++ xmlrpc-c-1.18.02/tools/xml-rpc-api2txt/Makefile 2009-04-28 00:30:54.000000000 +0200
@@ -16,15 +16,10 @@
all: $(PROGS)
include $(SRCDIR)/tools/common.mk
-# This common.mk dependency makes sure the symlinks get built before
-# this make file is used for anything.
-
-$(SRCDIR)/tools/common.mk: srcdir blddir
-
include depend.mk
.PHONY: clean
clean: clean-common
rm -f $(PROGS)
diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xmlrpc_cpp_proxy/Makefile xmlrpc-c-1.18.02/tools/xmlrpc_cpp_proxy/Makefile
--- xmlrpc-c-1.18.02.orig/tools/xmlrpc_cpp_proxy/Makefile 2009-04-28 00:23:33.000000000 +0200
+++ xmlrpc-c-1.18.02/tools/xmlrpc_cpp_proxy/Makefile 2009-04-28 00:28:49.000000000 +0200
@@ -45,15 +45,10 @@
$(CXXLD) -o $@ $(LDFLAGS) $(OBJECTS) $(LDLIBS) $(LADD)
%.o:%.cpp $(BLDDIR)/include/xmlrpc-c/config.h
$(CXX) -c $(CXXFLAGS_ALL) $<
-# This common.mk dependency makes sure the symlinks get built before
-# this make file is used for anything.
-
-$(SRCDIR)/tools/common.mk: srcdir blddir
-
include depend.mk
.PHONY: clean
clean: clean-common
rm -f xmlrpc_cpp_proxy
diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xmlrpc_pstream/Makefile xmlrpc-c-1.18.02/tools/xmlrpc_pstream/Makefile
--- xmlrpc-c-1.18.02.orig/tools/xmlrpc_pstream/Makefile 2009-04-28 00:23:33.000000000 +0200
+++ xmlrpc-c-1.18.02/tools/xmlrpc_pstream/Makefile 2009-04-28 00:38:11.000000000 +0200
@@ -16,22 +16,22 @@
include $(SRCDIR)/tools/common.mk
INCLUDES = \
-I../lib/include \
- -Isrcdir/lib/util/include \
- -Iblddir \
- -Iblddir/include \
- -Isrcdir/include \
+ -I$(SRCDIR)/lib/util/include \
+ -I$(BLDDIR) \
+ -I$(BLDDIR)/include \
+ -I$(SRCDIR)/include \
LDFLAGS = $(LADD)
all: xmlrpc_pstream
OBJECTS = \
xmlrpc_pstream.o \
- srcdir/tools/lib/dumpvalue.o \
+ $(SRCDIR)/tools/lib/dumpvalue.o \
LIBS = \
$(LIBXMLRPC_CLIENTPP) \
$(LIBXMLRPCPP) \
$(LIBXMLRPC_CLIENT) \
@@ -52,18 +52,13 @@
UTILS = $(UTIL_OBJS:%=$(UTIL_DIR)/%)
xmlrpc_pstream: $(OBJECTS) $(LIBS) $(UTILS)
$(CXXLD) -o $@ $(LDFLAGS) $(OBJECTS) $(UTILS) $(LDLIBS) $(LADD)
-%.o:%.cpp blddir/include/xmlrpc-c/config.h
+%.o:%.cpp $(BLDDIR)/include/xmlrpc-c/config.h
$(CXX) -c $(CXXFLAGS_ALL) $<
-# This common.mk dependency makes sure the symlinks get built before
-# this make file is used for anything.
-
-$(SRCDIR)/tools/common.mk: srcdir blddir
-
include depend.mk
.PHONY: clean
clean: clean-common
rm -f xmlrpc_pstream
diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xmlrpc_transport/Makefile xmlrpc-c-1.18.02/tools/xmlrpc_transport/Makefile
--- xmlrpc-c-1.18.02.orig/tools/xmlrpc_transport/Makefile 2009-04-28 00:23:33.000000000 +0200
+++ xmlrpc-c-1.18.02/tools/xmlrpc_transport/Makefile 2009-04-28 00:29:09.000000000 +0200
@@ -39,15 +39,10 @@
$(CCLD) -o $@ $(LDFLAGS) $< $(CLIENT_LDLIBS) $(UTILS)
%.o:%.c
$(CC) -c $(CFLAGS_ALL) $<
-# This common.mk dependency makes sure the symlinks get built before
-# this make file is used for anything.
-
-$(SRCDIR)/tools/common.mk: srcdir blddir
-
include depend.mk
.PHONY: dep
dep: dep-common

View File

@ -1,16 +0,0 @@
diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xmlrpc_pstream/Makefile xmlrpc-c-1.18.02/tools/xmlrpc_pstream/Makefile
--- xmlrpc-c-1.18.02.orig/tools/xmlrpc_pstream/Makefile 2009-04-26 16:05:12.000000000 +0200
+++ xmlrpc-c-1.18.02/tools/xmlrpc_pstream/Makefile 2009-04-26 22:37:06.000000000 +0200
@@ -27,11 +27,11 @@
all: xmlrpc_pstream
OBJECTS = \
xmlrpc_pstream.o \
- $(TOOLSDIR)/lib/dumpvalue.o \
+ srcdir/tools/lib/dumpvalue.o \
LIBS = \
$(LIBXMLRPC_CLIENTPP) \
$(LIBXMLRPCPP) \
$(LIBXMLRPC_CLIENT) \

View File

@ -1,93 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild,v 1.18 2011/07/25 10:21:06 angelos Exp $
EAPI=2
inherit eutils multilib base
DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
SRC_URI="mirror://gentoo/${PN}/${P}.tar.bz2"
HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
IUSE="+curl +cxx tools +cgi abyss threads"
LICENSE="BSD"
SLOT="0"
DEPEND="dev-libs/libxml2
tools? ( dev-perl/frontier-rpc )
curl? ( net-misc/curl )"
RDEPEND="${DEPEND}"
pkg_setup() {
if ! use curl
then
ewarn "Curl support disabled: No client library will be be built"
fi
}
#Bug 214137: We need to filter this.
unset SRCDIR
# Bug 255440
export LC_ALL=C
export LANG=C
PATCHES=(
"${FILESDIR}/${P}/dumpvalue.patch"
"${FILESDIR}/${P}/cpp-depends.patch"
"${FILESDIR}/${P}/dump-symlinks.patch"
"${FILESDIR}/${P}/curl-headers.patch"
)
src_prepare() {
base_src_prepare
# Respect the user's CFLAGS/CXXFLAGS.
sed -i \
-e "/CFLAGS_COMMON/s|-g -O3$|${CFLAGS}|" \
-e "/CXXFLAGS_COMMON/s|-g$|${CXXFLAGS}|" \
"${S}"/common.mk || die "404. File not found while sedding"
}
src_configure() {
# Respect the user's LDFLAGS.
export LADD=${LDFLAGS}
econf --disable-wininet-client \
--disable-libwww-client \
--enable-libxml2-backend \
$(use_enable tools) \
$(use_enable threads abyss-threads) \
$(use_enable cgi cgi-server) \
$(use_enable abyss abyss-server) \
$(use_enable cxx cplusplus) \
$(use_enable curl curl-client)
}
src_compile() {
emake -r || die "Compiling failed"
}
src_test() {
if use abyss && use curl
then
unset LDFLAGS LADD SRCDIR
cd "${S}"/src/test/
einfo "Building general tests"
make || die "Make of general tests failed"
einfo "Running general tests"
./test || die "General tests failed"
if use cxx
then
cd "${S}"/src/cpp/test
einfo "Building C++ tests"
make || die "Make of C++ tests failed"
einfo "Running C++ tests"
./test || die "C++ tests failed"
fi
else
elog "${CATEGORY}/${PN} tests will fail unless USE='abyss curl' is set."
fi
}

View File

@ -1,13 +0,0 @@
DEFINED_PHASES=prepare
DEPEND=xml? ( dev-libs/libxml2 ) dev-util/pkgconfig >=app-portage/elt-patches-20170317 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=test program for capturing input device events
EAPI=4
HOMEPAGE=http://cgit.freedesktop.org/evtest/
IUSE=+xml
KEYWORDS=amd64 arm x86
LICENSE=GPL-2
RDEPEND=xml? ( dev-libs/libxml2 )
SLOT=0
SRC_URI=http://cgit.freedesktop.org/evtest/snapshot/evtest-1.29.tar.bz2 mirror://gentoo/evtest-1.29-mans.tar.xz
_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 8fec6b1eb195836560e70b66d98fb163
_md5_=19271d9e66051536855d63cf8feb820a

View File

@ -1,12 +0,0 @@
DEFINED_PHASES=compile configure install prepare unpack
DESCRIPTION=Replacement for 'emerge --search' with search-index
EAPI=2
HOMEPAGE=http://david-peter.de/esearch.html
IUSE=linguas_it
KEYWORDS=alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd
LICENSE=GPL-2
RDEPEND=>=dev-lang/python-2.2[readline] >=sys-apps/portage-2.0.50
SLOT=0
SRC_URI=http://david-peter.de/downloads/esearch-0.7.1.tar.bz2
_eclasses_=base df2aa567b3f0595aae0d0923889f7631 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 8fec6b1eb195836560e70b66d98fb163
_md5_=e84eb99b82de56000fa8396d3e931632

View File

@ -1,13 +0,0 @@
DEFINED_PHASES=configure install prepare
DEPEND=!static? ( libedit? ( dev-libs/libedit ) ) dev-util/pkgconfig libedit? ( static? ( dev-libs/libedit[static-libs] ) ) >=app-portage/elt-patches-20170317 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=DASH is a direct descendant of the NetBSD version of ash (the Almquist SHell) and is POSIX compliant
EAPI=2
HOMEPAGE=http://gondor.apana.org.au/~herbert/dash/
IUSE=libedit static
KEYWORDS=~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86
LICENSE=BSD
RDEPEND=!static? ( libedit? ( dev-libs/libedit ) )
SLOT=0
SRC_URI=http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.5.1.tar.gz mirror://debian/pool/main/d/dash/dash_0.5.5.1-7.diff.gz
_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea flag-o-matic 61cad4fb5d800b29d484b27cb033f59b libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 8fec6b1eb195836560e70b66d98fb163
_md5_=dde512f5af56741bb111e7997e19744d

View File

@ -1,9 +0,0 @@
DEFINED_PHASES=install
DESCRIPTION=A free implementation of the unicode bidirectional algorithm
EAPI=0
HOMEPAGE=http://fribidi.org/
KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd
LICENSE=LGPL-2.1
SLOT=0
SRC_URI=http://fribidi.org/download/fribidi-0.10.7.tar.gz
_md5_=3d2dddea5e67fc154e9990517797df96

View File

@ -1,13 +0,0 @@
DEFINED_PHASES=configure install prepare
DEPEND=dev-libs/openssl dev-util/pkgconfig doc? ( app-doc/doxygen ) >=app-portage/elt-patches-20170317 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=A library implementing a layer on top of PKCS#11 API to make using PKCS#11 implementations easier.
EAPI=4
HOMEPAGE=http://www.opensc-project.org/libp11/
IUSE=doc
KEYWORDS=alpha amd64 arm hppa ia64 ppc ppc64 sparc x86
LICENSE=LGPL-2.1
RDEPEND=dev-libs/openssl
SLOT=0
SRC_URI=http://www.opensc-project.org/files/libp11/libp11-0.2.8.tar.gz
_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 8fec6b1eb195836560e70b66d98fb163
_md5_=5670fd32127ff2c2b5b31d5f30ada00a

View File

@ -1,13 +0,0 @@
DEFINED_PHASES=compile install postinst postrm preinst unpack
DEPEND=>=app-portage/elt-patches-20170317 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 >=sys-devel/libtool-1.5 >=sys-devel/m4-1.4 virtual/pkgconfig >=x11-misc/util-macros-1.3.0
DESCRIPTION=Pthread functions stubs for platforms missing them
EAPI=0
HOMEPAGE=https://www.x.org/wiki/
IUSE=debug
KEYWORDS=alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=MIT
RDEPEND=!<=x11-base/xorg-x11-6.9
SLOT=0
SRC_URI=http://xcb.freedesktop.org/dist/libpthread-stubs-0.1.tar.bz2
_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea flag-o-matic 61cad4fb5d800b29d484b27cb033f59b libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 8fec6b1eb195836560e70b66d98fb163 x-modular 125c252037f5830def4f0eaa4b6e481c
_md5_=aeb1e66aef31c9c4bd0c247725e791f4

View File

@ -1,13 +0,0 @@
DEFINED_PHASES=compile install
DEPEND=>=dev-libs/openssl-0.9.7 gnutls? ( >=net-libs/gnutls-1.4.4 ) nss? ( dev-libs/nss ) dev-util/pkgconfig doc? ( >=app-doc/doxygen-1.4.7 )
DESCRIPTION=PKCS#11 helper library
EAPI=0
HOMEPAGE=http://www.opensc-project.org/pkcs11-helper
IUSE=doc gnutls nss
KEYWORDS=alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd
LICENSE=|| ( BSD GPL-2 )
RDEPEND=>=dev-libs/openssl-0.9.7 gnutls? ( >=net-libs/gnutls-1.4.4 ) nss? ( dev-libs/nss )
RESTRICT=test
SLOT=0
SRC_URI=http://www.opensc-project.org/files/pkcs11-helper/pkcs11-helper-1.07.tar.bz2
_md5_=08216d6c1e58b2fa4e914292a1a7c016

View File

@ -1,12 +0,0 @@
DEFINED_PHASES=configure install prepare
DEPEND=test? ( amd64? ( dev-lang/yasm ) x86? ( dev-lang/yasm ) x86-fbsd? ( dev-lang/yasm ) ) >=app-portage/elt-patches-20170317 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=Disassembler library for the x86/-64 architecture sets.
EAPI=3
HOMEPAGE=http://udis86.sourceforge.net/
IUSE=pic test
KEYWORDS=amd64 ~hppa ppc ~ppc64 x86 ~x86-fbsd
LICENSE=BSD
SLOT=0
SRC_URI=mirror://sourceforge/udis86/udis86-1.7.tar.gz
_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 libtool e32ea84bf82cf8987965b574672dba93 multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 8fec6b1eb195836560e70b66d98fb163
_md5_=106370f6cd38b77fe5451531f6acb3d3

View File

@ -1,13 +0,0 @@
DEFINED_PHASES=compile configure install prepare setup test unpack
DEPEND=dev-libs/libxml2 tools? ( dev-perl/frontier-rpc ) curl? ( net-misc/curl )
DESCRIPTION=A lightweigt RPC library based on XML and HTTP
EAPI=2
HOMEPAGE=http://xmlrpc-c.sourceforge.net/
IUSE=+curl +cxx tools +cgi abyss threads
KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86
LICENSE=BSD
RDEPEND=dev-libs/libxml2 tools? ( dev-perl/frontier-rpc ) curl? ( net-misc/curl )
SLOT=0
SRC_URI=mirror://gentoo/xmlrpc-c/xmlrpc-c-1.18.02.tar.bz2
_eclasses_=base df2aa567b3f0595aae0d0923889f7631 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 8fec6b1eb195836560e70b66d98fb163
_md5_=c94da80195b1446bf64b8e6cfbf00127

View File

@ -1,12 +0,0 @@
DEFINED_PHASES=compile install postinst unpack
DEPEND=>=app-portage/elt-patches-20170317 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=Transparent SOCKS v4 proxying library
EAPI=0
HOMEPAGE=http://tsocks.sourceforge.net/
IUSE=tordns
KEYWORDS=alpha amd64 ppc ppc64 sparc x86 ~x86-fbsd
LICENSE=GPL-2
SLOT=0
SRC_URI=mirror://sourceforge/tsocks/tsocks-1.8beta5.tar.gz tordns? ( mirror://gentoo/tsocks-1.8b5-tordns1-gentoo-r1.patch.gz )
_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 8fec6b1eb195836560e70b66d98fb163
_md5_=5a6950a3552a55fdec1bab1901fdd5d5

View File

@ -1,12 +0,0 @@
DEFINED_PHASES=compile install postinst unpack
DEPEND=>=app-portage/elt-patches-20170317 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=Transparent SOCKS v4 proxying library
EAPI=0
HOMEPAGE=http://tsocks.sourceforge.net/
IUSE=tordns
KEYWORDS=~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd
LICENSE=GPL-2
SLOT=0
SRC_URI=mirror://sourceforge/tsocks/tsocks-1.8beta5.tar.gz tordns? ( mirror://gentoo/tsocks-1.8b5-tordns1-gentoo-r1.patch.gz )
_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 8fec6b1eb195836560e70b66d98fb163
_md5_=7b6cf904928673fe9850c38c06776557

View File

@ -1,12 +0,0 @@
DEFINED_PHASES=compile configure install postinst prepare
DEPEND=>=app-portage/elt-patches-20170317 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=Transparent SOCKS v4 proxying library
EAPI=2
HOMEPAGE=http://tsocks.sourceforge.net/
IUSE=tordns
KEYWORDS=alpha amd64 arm ppc ppc64 sparc x86 ~x86-fbsd
LICENSE=GPL-2
SLOT=0
SRC_URI=mirror://sourceforge/tsocks/tsocks-1.8beta5.tar.gz tordns? ( mirror://gentoo/tsocks-1.8b5-tordns1-gentoo-r1.patch.gz )
_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 8fec6b1eb195836560e70b66d98fb163
_md5_=f709d8893f5eb1574990d712329c8de3

View File

@ -1,10 +0,0 @@
DEFINED_PHASES=install unpack
DESCRIPTION=Small collection of linux input layer utils
EAPI=0
HOMEPAGE=http://dl.bytesex.org/cvs-snapshots/
KEYWORDS=amd64 ppc x86
LICENSE=GPL-2
SLOT=0
SRC_URI=http://dl.bytesex.org/cvs-snapshots/input-20051128-143821.tar.gz mirror://debian/pool/main/i/input-utils/input-utils_0.0.20051128-4.diff.gz
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 8fec6b1eb195836560e70b66d98fb163
_md5_=40840d57e80f2ebea4e2b365f70c379e

View File

@ -1,10 +0,0 @@
DEFINED_PHASES=install prepare
DESCRIPTION=userspace utility for testing the memory subsystem for faults
EAPI=4
HOMEPAGE=http://pyropus.ca/software/memtester/
KEYWORDS=amd64 arm ~ia64 ~mips ppc ppc64 sparc x86
LICENSE=GPL-2
SLOT=0
SRC_URI=http://pyropus.ca/software/memtester/memtester-4.2.2.tar.gz http://pyropus.ca/software/memtester/old-versions/memtester-4.2.2.tar.gz
_eclasses_=multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 8fec6b1eb195836560e70b66d98fb163
_md5_=932f9e07d08d4a570d7313d03d08f777

View File

@ -1,178 +0,0 @@
# ChangeLog for net-proxy/tsocks
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-proxy/tsocks/ChangeLog,v 1.34 2009/07/19 18:46:15 nixnut Exp $
19 Jul 2009; nixnut <nixnut@gentoo.org> tsocks-1.8_beta5-r5.ebuild:
ppc stable #274790
06 Jul 2009; Raúl Porcel <armin76@gentoo.org> tsocks-1.8_beta5-r5.ebuild:
sparc stable wrt #274790
04 Jul 2009; Brent Baude <ranger@gentoo.org> tsocks-1.8_beta5-r5.ebuild:
stable ppc64, bug 274790
28 Jun 2009; Tobias Klausmann <klausman@gentoo.org>
tsocks-1.8_beta5-r5.ebuild:
Stable on alpha, bug #274790
28 Jun 2009; Markus Meier <maekke@gentoo.org> tsocks-1.8_beta5-r5.ebuild:
amd64/x86 stable, bug #274790
*tsocks-1.8_beta5-r5 (20 Jun 2009)
20 Jun 2009; Alin Năstac <mrness@gentoo.org>
+files/tsocks-1.8_beta5-gentoo-r3.patch, +tsocks-1.8_beta5-r5.ebuild:
Link tsocks-saveme dinamically (#273339). Migrate to EAPI 2.
*tsocks-1.8_beta5-r4 (18 Feb 2009)
18 Feb 2009; Alin Năstac <mrness@gentoo.org>
-files/tsocks-1.8_beta5-gentoo.patch,
+files/tsocks-1.8_beta5-gentoo-r2.patch, -tsocks-1.8_beta5-r2.ebuild,
+tsocks-1.8_beta5-r4.ebuild:
Fix LD_PRELOAD setup, thanks to Yuval Hager <yuval at avramzon dot net>
(#255960).
22 Aug 2008; Markus Meier <maekke@gentoo.org> metadata.xml,
tsocks-1.8_beta5-r3.ebuild:
amd64 stable, bug #231690; add GLEP 56 USE flag desc from use.local.desc
21 Jul 2008; nixnut <nixnut@gentoo.org> tsocks-1.8_beta5-r3.ebuild:
Stable on ppc wrt bug 231690
17 Jul 2008; Markus Rothe <corsair@gentoo.org> tsocks-1.8_beta5-r3.ebuild:
Stable on ppc64; bug #231690
17 Jul 2008; Raúl Porcel <armin76@gentoo.org> tsocks-1.8_beta5-r3.ebuild:
alpha/x86 stable wrt #231690
16 Jul 2008; Friedrich Oslage <bluebird@gentoo.org>
tsocks-1.8_beta5-r3.ebuild:
Stable on sparc, bug #231690
*tsocks-1.8_beta5-r3 (13 Feb 2008)
13 Feb 2008; Alin Năstac <mrness@gentoo.org>
+files/tsocks-1.8_beta5-gentoo-r1.patch, +tsocks-1.8_beta5-r3.ebuild:
Link programs using user selected LDFLAGS (#209703). Fix library path in
tsocks script.
17 Jun 2007; Alin Năstac <mrness@gentoo.org> -tsocks-1.8_beta5.ebuild,
-tsocks-1.8_beta5-r1.ebuild:
Remove old revisions.
22 Apr 2007; Bryan Østergaard <kloeri@gentoo.org>
tsocks-1.8_beta5-r2.ebuild:
Stable on Alpha, bug 174160.
11 Apr 2007; Alin Năstac <mrness@gentoo.org> tsocks-1.8_beta5-r2.ebuild:
Stable on amd64.
01 Apr 2007; Michael Hanselmann <hansmi@gentoo.org>
tsocks-1.8_beta5-r2.ebuild:
Stable on ppc.
03 Dec 2006; Markus Rothe <corsair@gentoo.org> tsocks-1.8_beta5-r2.ebuild:
Stable on ppc64
07 Nov 2006; Gustavo Zacarias <gustavoz@gentoo.org>
tsocks-1.8_beta5-r2.ebuild:
Stable on sparc
01 Nov 2006; Alin Nastac <mrness@gentoo.org> tsocks-1.8_beta5-r2.ebuild:
Add SONAME to libtsocks. Stable on x86.
20 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org>
tsocks-1.8_beta5-r1.ebuild:
Stable on sparc
29 Sep 2006; Markus Rothe <corsair@gentoo.org> tsocks-1.8_beta5-r1.ebuild:
Stable on ppc64
24 Sep 2006; Michael Hanselmann <hansmi@gentoo.org>
tsocks-1.8_beta5-r1.ebuild:
Stable on ppc.
*tsocks-1.8_beta5-r2 (22 Sep 2006)
22 Sep 2006; Alin Nastac <mrness@gentoo.org>
+files/tsocks-1.8_beta5-gentoo.patch, +tsocks-1.8_beta5-r2.ebuild:
Rename saveme and validateconf executables. Add tordns patch & local USE
flag (#148550).
20 Sep 2006; Alin Nastac <mrness@gentoo.org> tsocks-1.8_beta5-r1.ebuild:
Stable on x86.
*tsocks-1.8_beta5-r1 (16 Jul 2006)
16 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+files/tsocks-1.8_beta5-bsd.patch, +tsocks-1.8_beta5-r1.ebuild:
Add tsocks with a little cleanup and patch for BSD compatibility (bug #140612).
04 Oct 2005; Alin Nastac <mrness@gentoo.org> -tsocks-1.8_beta4.ebuild,
tsocks-1.8_beta5.ebuild:
Remove obsolete version. Remove INSTALL from docs.
13 Aug 2005; Michael Hanselmann <hansmi@gentoo.org>
tsocks-1.8_beta5.ebuild:
Stable on ppc.
02 Aug 2005; Gustavo Zacarias <gustavoz@gentoo.org>
tsocks-1.8_beta5.ebuild:
Stable on sparc
30 Jul 2005; Alin Nastac <mrness@gentoo.org> tsocks-1.8_beta5.ebuild:
Stable on x86.
20 Jul 2005; Herbie Hopkins <herbs@gentoo.org> tsocks-1.8_beta5.ebuild:
Stable on amd64.
18 May 2005; Markus Rothe <corsair@gentoo.org> tsocks-1.8_beta5.ebuild:
Stable on ppc64
22 Apr 2005; Alin Nastac <mrness@gentoo.org> +metadata.xml:
Move net-misc/tsocks to net-proxy/tsocks. Add metadata.
29 Mar 2005; Markus Rothe <corsair@gentoo.org> tsocks-1.8_beta5.ebuild:
Added ~ppc64 to KEYWORDS; bug #86993
22 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org>
tsocks-1.8_beta5.ebuild:
Multilib cleanup.
29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
08 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> tsocks-1.8_beta5.ebuild:
Stable on alpha.
*tsocks-1.8_beta5 (22 Feb 2004)
22 Feb 2004; Mike Frysinger <vapier@gentoo.org> :
Version bump #42394 by Scott Jones.
07 Dec 2003; David Holm <dholm@gentoo.org> tsocks-1.8_beta4.ebuild:
Added to ~ppc.
21 Aug 2003; Will Woods <wwoods@gentoo.org> tsocks-1.8_beta4.ebuild:
Added ~alpha to KEYWORDS
12 Jun 2003; <msterret@gentoo.org> tsocks-1.8_beta4.ebuild:
add Header
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
*tsocks-1.8_beta4 (10 Jun 2002)
11 Jul 2002; lamer <lamer@gentoo.org> tsocks-1.8beta4.ebuild :
Added "dobin validateconf saveme inspectsocks" to src_install
09 Jul 2002; phoen][x <phoenix@gentoo.org> tsocks-1.8beta4.ebuild :
Added KEYWORDS, SLOT.
10 Jun 2002; Ben Lutgens <lamer@gentoo.org> tsocks-1.8_beta4: Ebuild for
tsocks submitted to bugs.gentoo.org by a gentoo user *THANKS*
bardur-gta@odense.kollegienet.dk. It should be noted that as per the
install docs, this stuff gets installed to /lib. Mainly due to the fact
that it's often needed before /usr gets mounted. So the old
/etc/ld.so.preload trick won't work!

View File

@ -1,2 +0,0 @@
DIST tsocks-1.8b5-tordns1-gentoo-r1.patch.gz 20060 RMD160 5c77013987262331c9285e9d53738f9f7a3ecf45 SHA1 df0474aedd7ae9639053ec11968b10a68b4f82ed SHA256 d49f0eede6cf59a2e911ddf3ec14e880626369e94037c9ad853cf530ce5971dd
DIST tsocks-1.8beta5.tar.gz 83928 RMD160 12e3eeeafaf7f3be21dd8901da38d5890659b09e SHA1 489f88c5df999ba21b27cdaa7836d9426d062aec SHA256 849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347

View File

@ -1,22 +0,0 @@
Index: tsocks-1.8/configure.in
===================================================================
--- tsocks-1.8.orig/configure.in
+++ tsocks-1.8/configure.in
@@ -122,7 +122,7 @@ LIBS=
dnl Checks for libraries.
dnl Replace `main' with a function in -ldl:
-AC_CHECK_LIB(dl, dlsym,,AC_MSG_ERROR("libdl is required"))
+AC_CHECK_FUNC([dlsym], [], [AC_CHECK_LIB(dl, dlsym,,AC_MSG_ERROR("libdl is required"))])
dnl If we're using gcc here define _GNU_SOURCE
AC_MSG_CHECKING("for RTLD_NEXT from dlfcn.h")
@@ -312,7 +312,7 @@ AC_DEFINE_UNQUOTED(CLOSE_SIGNATURE, [${P
dnl Find the correct poll prototype on this machine
AC_MSG_CHECKING(for correct poll prototype)
PROTO=
-for testproto in 'struct pollfd *ufds, unsigned long nfds, int timeout'
+for testproto in 'struct pollfd *ufds, unsigned long nfds, int timeout' 'struct pollfd ufds[[]], nfds_t nfds, int timeout'
do
if test "${PROTO}" = ""; then
AC_TRY_COMPILE([

View File

@ -1,128 +0,0 @@
diff -Nru tsocks-1.8.orig/Makefile.in tsocks-1.8/Makefile.in
--- tsocks-1.8.orig/Makefile.in 2002-03-16 12:12:40.000000000 +0200
+++ tsocks-1.8/Makefile.in 2008-02-13 18:06:05.000000000 +0200
@@ -28,6 +28,7 @@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
CFLAGS = @CFLAGS@
+LDFLAGS = @LDFLAGS@
INCLUDES = -I.
LIBS = @LIBS@
SPECIALLIBS = @SPECIALLIBS@
@@ -41,16 +42,16 @@
all: ${TARGETS}
${VALIDATECONF}: ${VALIDATECONF}.c ${COMMON}.o ${PARSER}.o
- ${SHCC} ${CFLAGS} ${INCLUDES} -o ${VALIDATECONF} ${VALIDATECONF}.c ${COMMON}.o ${PARSER}.o ${LIBS}
+ ${SHCC} ${LDFLAGS} ${INCLUDES} -o ${VALIDATECONF} ${VALIDATECONF}.c ${COMMON}.o ${PARSER}.o ${LIBS}
${INSPECT}: ${INSPECT}.c ${COMMON}.o
- ${SHCC} ${CFLAGS} ${INCLUDES} -o ${INSPECT} ${INSPECT}.c ${COMMON}.o ${LIBS}
+ ${SHCC} ${LDFLAGS} ${INCLUDES} -o ${INSPECT} ${INSPECT}.c ${COMMON}.o ${LIBS}
${SAVE}: ${SAVE}.c
- ${SHCC} ${CFLAGS} ${INCLUDES} -static -o ${SAVE} ${SAVE}.c
+ ${SHCC} ${LDFLAGS} ${INCLUDES} -static -o ${SAVE} ${SAVE}.c
${SHLIB}: ${OBJS} ${COMMON}.o ${PARSER}.o
- ${SHCC} ${CFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS}
+ ${SHCC} ${LDFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS}
ln -sf ${SHLIB} ${LIB_NAME}.so
%.so: %.c
diff -Nru tsocks-1.8.orig/tsocks tsocks-1.8/tsocks
--- tsocks-1.8.orig/tsocks 2002-03-16 12:27:18.000000000 +0200
+++ tsocks-1.8/tsocks 2008-02-13 18:05:11.000000000 +0200
@@ -46,10 +46,10 @@
on)
if [ -z "$LD_PRELOAD" ]
then
- export LD_PRELOAD="/usr/lib/libtsocks.so"
+ export LD_PRELOAD="/lib/libtsocks.so"
else
- echo $LD_PRELOAD | grep -q "/usr/lib/libtsocks\.so" || \
- export LD_PRELOAD="/usr/lib/libtsocks.so $LD_PRELOAD"
+ echo $LD_PRELOAD | grep -q "/lib/libtsocks\.so" || \
+ export LD_PRELOAD="/lib/libtsocks.so $LD_PRELOAD"
fi
;;
off)
@@ -68,10 +68,10 @@
*)
if [ -z "$LD_PRELOAD" ]
then
- export LD_PRELOAD="/usr/lib/libtsocks.so"
+ export LD_PRELOAD="/lib/libtsocks.so"
else
- echo $LD_PRELOAD | grep -q "/usr/lib/libtsocks\.so" || \
- export LD_PRELOAD="/usr/lib/libtsocks.so $LD_PRELOAD"
+ echo $LD_PRELOAD | grep -q "/lib/libtsocks\.so" || \
+ export LD_PRELOAD="/lib/libtsocks.so $LD_PRELOAD"
fi
if [ $# = 0 ]
diff -Nru tsocks-1.8.orig/tsocks.8 tsocks-1.8/tsocks.8
--- tsocks-1.8.orig/tsocks.8 2002-03-16 12:20:51.000000000 +0200
+++ tsocks-1.8/tsocks.8 2008-02-13 18:06:05.000000000 +0200
@@ -127,8 +127,8 @@
libtsocks in /etc/ld.so.preload. Please make sure you correctly enter the
full path to the library in this file if you do this. If you get it wrong,
you will be UNABLE TO DO ANYTHING with the machine and will have to boot
-it with a rescue disk and remove the file (or try the saveme program, see
-the INSTALL file for more info). THIS IS A ***WARNING***, please be
+it with a rescue disk and remove the file (or try the tsocks-saveme program,
+simply unlinks /etc/ld.so.preload ). THIS IS A ***WARNING***, please be
careful. Also be sure the library is in the root filesystem as all hell
will break loose if the directory it is in is not available at boot time.
diff -Nru tsocks-1.8.orig/tsocks.conf.5 tsocks-1.8/tsocks.conf.5
--- tsocks-1.8.orig/tsocks.conf.5 2002-05-18 05:13:08.000000000 +0300
+++ tsocks-1.8/tsocks.conf.5 2008-02-13 18:06:05.000000000 +0200
@@ -139,21 +139,20 @@
the version that server supports.
.TP
-validateconf
-validateconf can be used to verify the configuration file. It checks the format
-of the file and also the contents for errors. Having read the file it dumps
-the configuration to the screen in a formatted, readable manner. This can be
-extremely useful in debugging problems.
-
-validateconf can read a configuration file from a location other than the
-location specified at compile time with the -f <filename> command line
-option.
-
-Normally validateconf simply dumps the configuration read to the screen (in
-a nicely readable format), however it also has a useful 'test' mode. When
-passed a hostname/ip on the command line like -t <hostname/ip>, validateconf
-determines which of the SOCKS servers specified in the configuration file
-would be used by tsocks to access the specified host.
+tsocks-validateconf
+tsocks-validateconf can be used to verify the configuration file. It checks
+the format of the file and also the contents for errors. Having read the file
+it dumps the configuration to the screen in a formatted, readable manner.
+This can be extremely useful in debugging problems.
+
+tsocks-validateconf can read a configuration file from a location other than the
+location specified at compile time with the -f <filename> command line option.
+
+Normally tsocks-validateconf simply dumps the configuration read to the screen
+(in a nicely readable format), however it also has a useful 'test' mode. When
+passed a hostname/ip on the command line like -t <hostname/ip>,
+tsocks-validateconf determines which of the SOCKS servers specified in the
+configuration file would be used by tsocks to access the specified host.
.SH SEE ALSO
tsocks(8)
diff -Nru tsocks-1.8.orig/validateconf.c tsocks-1.8/validateconf.c
--- tsocks-1.8.orig/validateconf.c 2002-02-07 12:49:59.000000000 +0200
+++ tsocks-1.8/validateconf.c 2008-02-13 18:06:05.000000000 +0200
@@ -23,7 +23,7 @@
*/
/* Global configuration variables */
-char *progname = "validateconf"; /* Name for error msgs */
+char *progname = "tsocks-validateconf"; /* Name for error msgs */
/* Header Files */
#include <config.h>

View File

@ -1,133 +0,0 @@
diff -Naur tsocks-1.8.orig/Makefile.in tsocks-1.8/Makefile.in
--- tsocks-1.8.orig/Makefile.in 2002-03-16 12:12:40.000000000 +0200
+++ tsocks-1.8/Makefile.in 2009-01-22 10:30:17.000000000 +0200
@@ -28,6 +28,7 @@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
CFLAGS = @CFLAGS@
+LDFLAGS = @LDFLAGS@
INCLUDES = -I.
LIBS = @LIBS@
SPECIALLIBS = @SPECIALLIBS@
@@ -41,16 +42,16 @@
all: ${TARGETS}
${VALIDATECONF}: ${VALIDATECONF}.c ${COMMON}.o ${PARSER}.o
- ${SHCC} ${CFLAGS} ${INCLUDES} -o ${VALIDATECONF} ${VALIDATECONF}.c ${COMMON}.o ${PARSER}.o ${LIBS}
+ ${SHCC} ${LDFLAGS} ${INCLUDES} -o ${VALIDATECONF} ${VALIDATECONF}.c ${COMMON}.o ${PARSER}.o ${LIBS}
${INSPECT}: ${INSPECT}.c ${COMMON}.o
- ${SHCC} ${CFLAGS} ${INCLUDES} -o ${INSPECT} ${INSPECT}.c ${COMMON}.o ${LIBS}
+ ${SHCC} ${LDFLAGS} ${INCLUDES} -o ${INSPECT} ${INSPECT}.c ${COMMON}.o ${LIBS}
${SAVE}: ${SAVE}.c
- ${SHCC} ${CFLAGS} ${INCLUDES} -static -o ${SAVE} ${SAVE}.c
+ ${SHCC} ${LDFLAGS} ${INCLUDES} -static -o ${SAVE} ${SAVE}.c
${SHLIB}: ${OBJS} ${COMMON}.o ${PARSER}.o
- ${SHCC} ${CFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS}
+ ${SHCC} ${LDFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS}
ln -sf ${SHLIB} ${LIB_NAME}.so
%.so: %.c
diff -Naur tsocks-1.8.orig/tsocks tsocks-1.8/tsocks
--- tsocks-1.8.orig/tsocks 2002-03-16 12:27:18.000000000 +0200
+++ tsocks-1.8/tsocks 2009-01-22 10:30:34.000000000 +0200
@@ -46,14 +46,14 @@
on)
if [ -z "$LD_PRELOAD" ]
then
- export LD_PRELOAD="/usr/lib/libtsocks.so"
+ export LD_PRELOAD="/lib/libtsocks.so"
else
- echo $LD_PRELOAD | grep -q "/usr/lib/libtsocks\.so" || \
- export LD_PRELOAD="/usr/lib/libtsocks.so $LD_PRELOAD"
+ echo $LD_PRELOAD | grep -q "/lib/libtsocks\.so" || \
+ export LD_PRELOAD="/lib/libtsocks.so $LD_PRELOAD"
fi
;;
off)
- export LD_PRELOAD=`echo -n $LD_PRELOAD | sed 's/\/usr\/lib\/libtsocks.so \?//'`
+ export LD_PRELOAD=`echo -n $LD_PRELOAD | sed 's/\/lib\/libtsocks.so \?//'`
if [ -z "$LD_PRELOAD" ]
then
unset LD_PRELOAD
@@ -68,10 +68,10 @@
*)
if [ -z "$LD_PRELOAD" ]
then
- export LD_PRELOAD="/usr/lib/libtsocks.so"
+ export LD_PRELOAD="/lib/libtsocks.so"
else
- echo $LD_PRELOAD | grep -q "/usr/lib/libtsocks\.so" || \
- export LD_PRELOAD="/usr/lib/libtsocks.so $LD_PRELOAD"
+ echo $LD_PRELOAD | grep -q "/lib/libtsocks\.so" || \
+ export LD_PRELOAD="/lib/libtsocks.so $LD_PRELOAD"
fi
if [ $# = 0 ]
diff -Naur tsocks-1.8.orig/tsocks.8 tsocks-1.8/tsocks.8
--- tsocks-1.8.orig/tsocks.8 2002-03-16 12:20:51.000000000 +0200
+++ tsocks-1.8/tsocks.8 2009-01-22 10:30:17.000000000 +0200
@@ -127,8 +127,8 @@
libtsocks in /etc/ld.so.preload. Please make sure you correctly enter the
full path to the library in this file if you do this. If you get it wrong,
you will be UNABLE TO DO ANYTHING with the machine and will have to boot
-it with a rescue disk and remove the file (or try the saveme program, see
-the INSTALL file for more info). THIS IS A ***WARNING***, please be
+it with a rescue disk and remove the file (or try the tsocks-saveme program,
+simply unlinks /etc/ld.so.preload ). THIS IS A ***WARNING***, please be
careful. Also be sure the library is in the root filesystem as all hell
will break loose if the directory it is in is not available at boot time.
diff -Naur tsocks-1.8.orig/tsocks.conf.5 tsocks-1.8/tsocks.conf.5
--- tsocks-1.8.orig/tsocks.conf.5 2002-05-18 05:13:08.000000000 +0300
+++ tsocks-1.8/tsocks.conf.5 2009-01-22 10:30:17.000000000 +0200
@@ -139,21 +139,20 @@
the version that server supports.
.TP
-validateconf
-validateconf can be used to verify the configuration file. It checks the format
-of the file and also the contents for errors. Having read the file it dumps
-the configuration to the screen in a formatted, readable manner. This can be
-extremely useful in debugging problems.
-
-validateconf can read a configuration file from a location other than the
-location specified at compile time with the -f <filename> command line
-option.
-
-Normally validateconf simply dumps the configuration read to the screen (in
-a nicely readable format), however it also has a useful 'test' mode. When
-passed a hostname/ip on the command line like -t <hostname/ip>, validateconf
-determines which of the SOCKS servers specified in the configuration file
-would be used by tsocks to access the specified host.
+tsocks-validateconf
+tsocks-validateconf can be used to verify the configuration file. It checks
+the format of the file and also the contents for errors. Having read the file
+it dumps the configuration to the screen in a formatted, readable manner.
+This can be extremely useful in debugging problems.
+
+tsocks-validateconf can read a configuration file from a location other than the
+location specified at compile time with the -f <filename> command line option.
+
+Normally tsocks-validateconf simply dumps the configuration read to the screen
+(in a nicely readable format), however it also has a useful 'test' mode. When
+passed a hostname/ip on the command line like -t <hostname/ip>,
+tsocks-validateconf determines which of the SOCKS servers specified in the
+configuration file would be used by tsocks to access the specified host.
.SH SEE ALSO
tsocks(8)
diff -Naur tsocks-1.8.orig/validateconf.c tsocks-1.8/validateconf.c
--- tsocks-1.8.orig/validateconf.c 2002-02-07 12:49:59.000000000 +0200
+++ tsocks-1.8/validateconf.c 2009-01-22 10:30:17.000000000 +0200
@@ -23,7 +23,7 @@
*/
/* Global configuration variables */
-char *progname = "validateconf"; /* Name for error msgs */
+char *progname = "tsocks-validateconf"; /* Name for error msgs */
/* Header Files */
#include <config.h>

View File

@ -1,133 +0,0 @@
diff -Nru tsocks-1.8.orig/Makefile.in tsocks-1.8/Makefile.in
--- tsocks-1.8.orig/Makefile.in 2002-03-16 11:12:40.000000000 +0100
+++ tsocks-1.8/Makefile.in 2009-06-20 13:56:56.000000000 +0200
@@ -28,6 +28,7 @@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
CFLAGS = @CFLAGS@
+LDFLAGS = @LDFLAGS@
INCLUDES = -I.
LIBS = @LIBS@
SPECIALLIBS = @SPECIALLIBS@
@@ -41,16 +42,16 @@
all: ${TARGETS}
${VALIDATECONF}: ${VALIDATECONF}.c ${COMMON}.o ${PARSER}.o
- ${SHCC} ${CFLAGS} ${INCLUDES} -o ${VALIDATECONF} ${VALIDATECONF}.c ${COMMON}.o ${PARSER}.o ${LIBS}
+ ${SHCC} ${LDFLAGS} ${INCLUDES} -o ${VALIDATECONF} ${VALIDATECONF}.c ${COMMON}.o ${PARSER}.o ${LIBS}
${INSPECT}: ${INSPECT}.c ${COMMON}.o
- ${SHCC} ${CFLAGS} ${INCLUDES} -o ${INSPECT} ${INSPECT}.c ${COMMON}.o ${LIBS}
+ ${SHCC} ${LDFLAGS} ${INCLUDES} -o ${INSPECT} ${INSPECT}.c ${COMMON}.o ${LIBS}
${SAVE}: ${SAVE}.c
- ${SHCC} ${CFLAGS} ${INCLUDES} -static -o ${SAVE} ${SAVE}.c
+ ${SHCC} ${LDFLAGS} ${INCLUDES} -o ${SAVE} ${SAVE}.c
${SHLIB}: ${OBJS} ${COMMON}.o ${PARSER}.o
- ${SHCC} ${CFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS}
+ ${SHCC} ${LDFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS}
ln -sf ${SHLIB} ${LIB_NAME}.so
%.so: %.c
diff -Nru tsocks-1.8.orig/tsocks tsocks-1.8/tsocks
--- tsocks-1.8.orig/tsocks 2002-03-16 11:27:18.000000000 +0100
+++ tsocks-1.8/tsocks 2009-06-20 13:56:38.000000000 +0200
@@ -46,14 +46,14 @@
on)
if [ -z "$LD_PRELOAD" ]
then
- export LD_PRELOAD="/usr/lib/libtsocks.so"
+ export LD_PRELOAD="/lib/libtsocks.so"
else
- echo $LD_PRELOAD | grep -q "/usr/lib/libtsocks\.so" || \
- export LD_PRELOAD="/usr/lib/libtsocks.so $LD_PRELOAD"
+ echo $LD_PRELOAD | grep -q "/lib/libtsocks\.so" || \
+ export LD_PRELOAD="/lib/libtsocks.so $LD_PRELOAD"
fi
;;
off)
- export LD_PRELOAD=`echo -n $LD_PRELOAD | sed 's/\/usr\/lib\/libtsocks.so \?//'`
+ export LD_PRELOAD=`echo -n $LD_PRELOAD | sed 's/\/lib\/libtsocks.so \?//'`
if [ -z "$LD_PRELOAD" ]
then
unset LD_PRELOAD
@@ -68,10 +68,10 @@
*)
if [ -z "$LD_PRELOAD" ]
then
- export LD_PRELOAD="/usr/lib/libtsocks.so"
+ export LD_PRELOAD="/lib/libtsocks.so"
else
- echo $LD_PRELOAD | grep -q "/usr/lib/libtsocks\.so" || \
- export LD_PRELOAD="/usr/lib/libtsocks.so $LD_PRELOAD"
+ echo $LD_PRELOAD | grep -q "/lib/libtsocks\.so" || \
+ export LD_PRELOAD="/lib/libtsocks.so $LD_PRELOAD"
fi
if [ $# = 0 ]
diff -Nru tsocks-1.8.orig/tsocks.8 tsocks-1.8/tsocks.8
--- tsocks-1.8.orig/tsocks.8 2002-03-16 11:20:51.000000000 +0100
+++ tsocks-1.8/tsocks.8 2009-06-20 13:56:38.000000000 +0200
@@ -127,8 +127,8 @@
libtsocks in /etc/ld.so.preload. Please make sure you correctly enter the
full path to the library in this file if you do this. If you get it wrong,
you will be UNABLE TO DO ANYTHING with the machine and will have to boot
-it with a rescue disk and remove the file (or try the saveme program, see
-the INSTALL file for more info). THIS IS A ***WARNING***, please be
+it with a rescue disk and remove the file (or try the tsocks-saveme program,
+simply unlinks /etc/ld.so.preload ). THIS IS A ***WARNING***, please be
careful. Also be sure the library is in the root filesystem as all hell
will break loose if the directory it is in is not available at boot time.
diff -Nru tsocks-1.8.orig/tsocks.conf.5 tsocks-1.8/tsocks.conf.5
--- tsocks-1.8.orig/tsocks.conf.5 2002-05-18 04:13:08.000000000 +0200
+++ tsocks-1.8/tsocks.conf.5 2009-06-20 13:56:38.000000000 +0200
@@ -139,21 +139,20 @@
the version that server supports.
.TP
-validateconf
-validateconf can be used to verify the configuration file. It checks the format
-of the file and also the contents for errors. Having read the file it dumps
-the configuration to the screen in a formatted, readable manner. This can be
-extremely useful in debugging problems.
-
-validateconf can read a configuration file from a location other than the
-location specified at compile time with the -f <filename> command line
-option.
-
-Normally validateconf simply dumps the configuration read to the screen (in
-a nicely readable format), however it also has a useful 'test' mode. When
-passed a hostname/ip on the command line like -t <hostname/ip>, validateconf
-determines which of the SOCKS servers specified in the configuration file
-would be used by tsocks to access the specified host.
+tsocks-validateconf
+tsocks-validateconf can be used to verify the configuration file. It checks
+the format of the file and also the contents for errors. Having read the file
+it dumps the configuration to the screen in a formatted, readable manner.
+This can be extremely useful in debugging problems.
+
+tsocks-validateconf can read a configuration file from a location other than the
+location specified at compile time with the -f <filename> command line option.
+
+Normally tsocks-validateconf simply dumps the configuration read to the screen
+(in a nicely readable format), however it also has a useful 'test' mode. When
+passed a hostname/ip on the command line like -t <hostname/ip>,
+tsocks-validateconf determines which of the SOCKS servers specified in the
+configuration file would be used by tsocks to access the specified host.
.SH SEE ALSO
tsocks(8)
diff -Nru tsocks-1.8.orig/validateconf.c tsocks-1.8/validateconf.c
--- tsocks-1.8.orig/validateconf.c 2002-02-07 11:49:59.000000000 +0100
+++ tsocks-1.8/validateconf.c 2009-06-20 13:56:38.000000000 +0200
@@ -23,7 +23,7 @@
*/
/* Global configuration variables */
-char *progname = "validateconf"; /* Name for error msgs */
+char *progname = "tsocks-validateconf"; /* Name for error msgs */
/* Header Files */
#include <config.h>

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>net-proxy</herd>
<longdescription>tsocks' role is to allow non SOCKS aware applications (e.g telnet, ssh, ftp etc) to use SOCKS
without any modification. It does this by intercepting the calls that applications make to establish network connections
and negotating them through a SOCKS server as necessary.</longdescription>
<use>
<flag name='tordns'>
Apply tordns patch which allows transparent TORification of the DNS queries
</flag>
</use>
</pkgmetadata>

View File

@ -1,58 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-proxy/tsocks/tsocks-1.8_beta5-r3.ebuild,v 1.6 2008/08/22 21:58:52 maekke Exp $
inherit multilib eutils autotools toolchain-funcs
DESCRIPTION="Transparent SOCKS v4 proxying library"
HOMEPAGE="http://tsocks.sourceforge.net/"
SRC_URI="mirror://sourceforge/tsocks/${PN}-${PV/_}.tar.gz
tordns? ( mirror://gentoo/${PN}-${PV/_beta/b}-tordns1-gentoo-r1.patch.gz )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="tordns"
S="${WORKDIR}/${P%%_*}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-gentoo-r1.patch"
epatch "${FILESDIR}/${P}-bsd.patch"
use tordns && epatch "../${PN}-${PV/_beta/b}-tordns1-gentoo-r1.patch"
eautoconf
}
src_compile() {
tc-export CC
# NOTE: the docs say to install it into /lib. If you put it into
# /usr/lib and add it to /etc/ld.so.preload on many systems /usr isn't
# mounted in time :-( (Ben Lutgens) <lamer@gentoo.org>
econf \
--with-conf=/etc/socks/tsocks.conf \
--libdir=/$(get_libdir) || die "configure failed"
# Fix QA notice lack of SONAME
emake DYNLIB_FLAGS=-Wl,--soname,libtsocks.so.${PV/_beta*} || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
newbin validateconf tsocks-validateconf
newbin saveme tsocks-saveme
dobin inspectsocks
insinto /etc/socks
doins tsocks.conf.*.example
dodoc FAQ
use tordns && dodoc README*
}
pkg_postinst() {
einfo "Make sure you create /etc/socks/tsocks.conf from one of the examples in that directory"
einfo "The following executables have been renamed:"
einfo " /usr/bin/saveme renamed to tsocks-saveme"
einfo " /usr/bin/validateconf renamed to tsocks-validateconf"
}

View File

@ -1,58 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-proxy/tsocks/tsocks-1.8_beta5-r4.ebuild,v 1.1 2009/02/18 00:01:46 mrness Exp $
inherit multilib eutils autotools toolchain-funcs
DESCRIPTION="Transparent SOCKS v4 proxying library"
HOMEPAGE="http://tsocks.sourceforge.net/"
SRC_URI="mirror://sourceforge/tsocks/${PN}-${PV/_}.tar.gz
tordns? ( mirror://gentoo/${PN}-${PV/_beta/b}-tordns1-gentoo-r1.patch.gz )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="tordns"
S="${WORKDIR}/${P%%_*}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-gentoo-r2.patch"
epatch "${FILESDIR}/${P}-bsd.patch"
use tordns && epatch "../${PN}-${PV/_beta/b}-tordns1-gentoo-r1.patch"
eautoconf
}
src_compile() {
tc-export CC
# NOTE: the docs say to install it into /lib. If you put it into
# /usr/lib and add it to /etc/ld.so.preload on many systems /usr isn't
# mounted in time :-( (Ben Lutgens) <lamer@gentoo.org>
econf \
--with-conf=/etc/socks/tsocks.conf \
--libdir=/$(get_libdir) || die "configure failed"
# Fix QA notice lack of SONAME
emake DYNLIB_FLAGS=-Wl,--soname,libtsocks.so.${PV/_beta*} || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
newbin validateconf tsocks-validateconf
newbin saveme tsocks-saveme
dobin inspectsocks
insinto /etc/socks
doins tsocks.conf.*.example
dodoc FAQ
use tordns && dodoc README*
}
pkg_postinst() {
einfo "Make sure you create /etc/socks/tsocks.conf from one of the examples in that directory"
einfo "The following executables have been renamed:"
einfo " /usr/bin/saveme renamed to tsocks-saveme"
einfo " /usr/bin/validateconf renamed to tsocks-validateconf"
}

View File

@ -1,60 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-proxy/tsocks/tsocks-1.8_beta5-r5.ebuild,v 1.8 2010/06/06 14:40:38 armin76 Exp $
EAPI="2"
inherit multilib eutils autotools toolchain-funcs
DESCRIPTION="Transparent SOCKS v4 proxying library"
HOMEPAGE="http://tsocks.sourceforge.net/"
SRC_URI="mirror://sourceforge/tsocks/${PN}-${PV/_}.tar.gz
tordns? ( mirror://gentoo/${PN}-${PV/_beta/b}-tordns1-gentoo-r1.patch.gz )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="tordns"
S="${WORKDIR}/${P%%_*}"
src_prepare() {
epatch "${FILESDIR}/${P}-gentoo-r3.patch"
epatch "${FILESDIR}/${P}-bsd.patch"
use tordns && epatch "../${PN}-${PV/_beta/b}-tordns1-gentoo-r1.patch"
eautoreconf
}
src_configure() {
tc-export CC
# NOTE: the docs say to install it into /lib. If you put it into
# /usr/lib and add it to /etc/ld.so.preload on many systems /usr isn't
# mounted in time :-( (Ben Lutgens) <lamer@gentoo.org>
econf \
--with-conf=/etc/socks/tsocks.conf \
--libdir=/$(get_libdir) || die "configure failed"
}
src_compile() {
# Fix QA notice lack of SONAME
emake DYNLIB_FLAGS=-Wl,--soname,libtsocks.so.${PV/_beta*} || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
newbin validateconf tsocks-validateconf
newbin saveme tsocks-saveme
dobin inspectsocks
insinto /etc/socks
doins tsocks.conf.*.example
dodoc FAQ
use tordns && dodoc README*
}
pkg_postinst() {
einfo "Make sure you create /etc/socks/tsocks.conf from one of the examples in that directory"
einfo "The following executables have been renamed:"
einfo " /usr/bin/saveme renamed to tsocks-saveme"
einfo " /usr/bin/validateconf renamed to tsocks-validateconf"
}

View File

@ -1,2 +0,0 @@
DIST input-20051128-143821.tar.gz 28010 RMD160 84a90f22f5953a3b2595835a374f14a5536791a3 SHA1 7236bcdeb1f952bc09b88d85fd386447881ddc68 SHA256 9bdfe6bf6eb54255aa3ba2d4b9de3e4ff54ad0f8775cdae97c35577634a6b239
DIST input-utils_0.0.20051128-4.diff.gz 3850 RMD160 09ea1a043bb17ea0b2d890ed83fb82975c87dc93 SHA1 5121c2531ff6d122c72c0e4493071096cfc1b4e4 SHA256 82068b6dc6f75c2551785174d81f138f6757448fd7c40d86faf3f1f317ccc16e

View File

@ -1,40 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/input-utils/input-utils-0.0.1_pre20051128-r1.ebuild,v 1.4 2008/01/20 18:47:24 angelos Exp $
inherit eutils
MY_P="input-${PV/0.0.1_pre/}-143821"
DEBIAN_PR=4
DEBIAN_P="${PN}_${PV/1_pre/}-${DEBIAN_PR}.diff.gz"
DESCRIPTION="Small collection of linux input layer utils"
HOMEPAGE="http://dl.bytesex.org/cvs-snapshots/"
SRC_URI="http://dl.bytesex.org/cvs-snapshots/${MY_P}.tar.gz
mirror://debian/pool/main/i/input-utils/${DEBIAN_P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND=""
RDEPEND=""
S="${WORKDIR}/input"
src_unpack() {
unpack ${MY_P}.tar.gz
EPATCH_OPTS="-d ${S} -p1 " epatch "${DISTDIR}"/${DEBIAN_P}
for p in $(<"${S}"/debian/patches/series) ; do
EPATCH_OPTS="-d ${S} -p1 " epatch "${S}"/debian/patches/${p}
done
sed -i -e '/INSTALL_BINARY/s,-s,,g' "${S}"/mk/Variables.mk \
|| die "Failed to sed"
}
src_install() {
make install bindir="${D}"/usr/bin mandir="${D}"/usr/share/man || die "make install failed"
dodoc lircd.conf
dodoc README
}

View File

@ -1 +0,0 @@
DIST memtester-4.2.2.tar.gz 20952 RMD160 9aae7bec1408224348baa02556a5c9c484c7a7a7 SHA1 22d3a6da7e1d1d4ecf4e15a91e50dc1e0f6ea692 SHA256 a494569d58d642c796332a1b7f3b4b86845b52da66c15c96fbeecd74e48dae8e

View File

@ -1,28 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtester/memtester-4.2.2.ebuild,v 1.7 2012/04/17 22:35:42 vapier Exp $
EAPI="4"
inherit toolchain-funcs
DESCRIPTION="userspace utility for testing the memory subsystem for faults"
HOMEPAGE="http://pyropus.ca/software/memtester/"
SRC_URI="http://pyropus.ca/software/memtester/${P}.tar.gz
http://pyropus.ca/software/memtester/old-versions/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm ~ia64 ~mips ppc ppc64 sparc x86"
IUSE=""
src_prepare() {
echo "$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -DPOSIX -c" > conf-cc
echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS}" > conf-ld
}
src_install() {
dosbin memtester
doman memtester.8
dodoc BUGS CHANGELOG README README.tests
}