parent
b43b260d57
commit
f76489fe92
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/localepurge/localepurge-0.5.3.1.ebuild,v 1.2 2008/01/26 10:20:17 grobian Exp $
|
||||
|
||||
DESCRIPTION="Script to recover diskspace wasted for unneeded locale files and localized man pages."
|
||||
HOMEPAGE="http://www.josealberto.org/blog/index.php?s=localepurge"
|
||||
SRC_URI="mirror://gentoo/${P}.tbz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-shells/bash"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_install() {
|
||||
insinto /var/cache/localepurge
|
||||
doins defaultlist
|
||||
dosym defaultlist /var/cache/localepurge/localelist
|
||||
insinto /etc
|
||||
doins locale.nopurge
|
||||
dobin localepurge || die
|
||||
doman localepurge.8
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/localepurge/localepurge-0.5.3.2.ebuild,v 1.2 2008/01/26 10:20:17 grobian Exp $
|
||||
|
||||
DESCRIPTION="Script to recover diskspace wasted for unneeded locale files and localized man pages."
|
||||
HOMEPAGE="http://www.josealberto.org/blog/index.php?s=localepurge"
|
||||
SRC_URI="mirror://gentoo/${P}.tbz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-shells/bash"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_install() {
|
||||
insinto /var/cache/localepurge
|
||||
doins defaultlist
|
||||
dosym defaultlist /var/cache/localepurge/localelist
|
||||
insinto /etc
|
||||
doins locale.nopurge
|
||||
dobin localepurge || die
|
||||
doman localepurge.8
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/localepurge/localepurge-0.5.3.ebuild,v 1.2 2008/01/26 10:20:17 grobian Exp $
|
||||
|
||||
DESCRIPTION="Script to recover diskspace wasted for unneeded locale files and localized man pages."
|
||||
HOMEPAGE="http://www.josealberto.org/blog/index.php?s=localepurge"
|
||||
SRC_URI="mirror://gentoo/${P}.tbz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-shells/bash"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_install() {
|
||||
insinto /var/cache/localepurge
|
||||
doins defaultlist
|
||||
dosym defaultlist /var/cache/localepurge/localelist
|
||||
insinto /etc
|
||||
doins locale.nopurge
|
||||
dobin localepurge || die
|
||||
doman localepurge.8
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST lzip-1.10.tar.gz 77089 RMD160 164cf51f1b3163a247da87e95009467ee70117c9 SHA1 ac2ac4be12cfbd9ba28998a52e5a2ab957369408 SHA256 6e7943d30efefacb710524102aa6ae9bce67d90ead3075bb8aa8923938580561
|
||||
DIST lzip-1.11.tar.gz 101128 RMD160 7775836dd65fc06d9af4042eddba6dfcf6a98bfb SHA1 59f8d7c97493d8948564bad1c3ec8b15096d23df SHA256 c3cfd2396733f6817b25a2bd1b019447ac2fa692f6fe5dc477631a9dbb31b00b
|
||||
DIST lzip-1.12.tar.gz 103815 RMD160 2068682bc648bd42bcab19dc5f46158d34decb58 SHA1 4ea1d38d509e36ee41cf11e78a227e2f5d0e38e9 SHA256 eabc590d02d404dc1a1cc8e2777ed398370174b68edb22043c8ca0b209dfcd27
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/lzip/lzip-1.10.ebuild,v 1.5 2011/02/11 18:14:53 xarthisius Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="lossless data compressor based on the LZMA algorithm"
|
||||
HOMEPAGE="http://www.nongnu.org/lzip/lzip.html"
|
||||
SRC_URI="http://download.savannah.gnu.org/releases-noredirect/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ppc ~ppc64 ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.9-build.patch
|
||||
tc-export CC CXX
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
dodoc AUTHORS README NEWS ChangeLog
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/lzip/lzip-1.11.ebuild,v 1.3 2011/06/19 15:38:38 maekke Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="lossless data compressor based on the LZMA algorithm"
|
||||
HOMEPAGE="http://www.nongnu.org/lzip/lzip.html"
|
||||
SRC_URI="http://download.savannah.gnu.org/releases-noredirect/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ppc ~ppc64 ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.9-build.patch
|
||||
tc-export CC CXX
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
dodoc AUTHORS README NEWS ChangeLog
|
||||
}
|
@ -0,0 +1,252 @@
|
||||
--- getdelta.sh 2007-07-13 16:30:26.000000000 +0000
|
||||
+++ getdelta.sh 2010-08-27 17:23:31.692000002 +0000
|
||||
@@ -25,6 +25,9 @@
|
||||
VERSION="0.7"
|
||||
|
||||
# Changelog
|
||||
+# version 0.7.9 2008/10/08
|
||||
+# - add second parameter for destination name (EAPI=2)
|
||||
+# - quote more carefully
|
||||
# version 0.7.8 2007/07/13
|
||||
# - added option -O to call of emerge when finding mirrors
|
||||
# - replaced some calls of coreutils with bash-internals
|
||||
@@ -326,13 +329,13 @@
|
||||
|
||||
remove() {
|
||||
output "${GREEN}You have chosen to remove ${CYAN}$1\n"
|
||||
- pushd ${DISTDIR} >/dev/null 2>&1
|
||||
+ pushd -- "${DISTDIR}" >/dev/null 2>&1
|
||||
removeme=true
|
||||
for n in $(grep -v "^#" ${DO_NOT_REMOVE})
|
||||
do
|
||||
grep -q $n <<< "$1" && removeme=false && output "${CYAN}${1}${RED} is not deleted, since it matches ${n} in ${DO_NOT_REMOVE}"
|
||||
done
|
||||
- $removeme && rm -f $1
|
||||
+ $removeme && rm -f -- "$1"
|
||||
popd >/dev/null 2>&1
|
||||
}
|
||||
|
||||
@@ -349,7 +352,7 @@
|
||||
-e "s/src4/srcDDD/g" \
|
||||
-e "s/src5/srcEEE/g" \
|
||||
-e "s/src6/srcFFF/g" \
|
||||
- -e "s/src7/srcGGG/g" <<< $MASK_FILENAME)
|
||||
+ -e "s/src7/srcGGG/g" <<< "$MASK_FILENAME")
|
||||
fi
|
||||
|
||||
# ignore PR for src-files of firefox
|
||||
@@ -375,7 +378,7 @@
|
||||
-e "s/rc//g" \
|
||||
-e "s/[\._-]//g" \
|
||||
-e "s/\+//g" \
|
||||
- -e "s/ //g" <<< $MASK_FILENAME)
|
||||
+ -e "s/ //g" <<< "$MASK_FILENAME")
|
||||
}
|
||||
|
||||
# create or update a config-file
|
||||
@@ -384,6 +387,7 @@
|
||||
add_to_configfile LOCAL_MIRROR "" "set this to one or more (space separated) URI ending with '/' if you want to check one or more local mirror(s) first\n# most people just leave it empty."
|
||||
add_to_configfile DELTUP_SERVER "http://linux01.gwdg.de/~nlissne/deltup.php" "deltup-server to use"
|
||||
add_to_configfile FETCH "/usr/bin/wget -t 1 --passive-ftp" "command to use for downloading"
|
||||
+add_to_configfile FETCHNAME "\$FETCH -O" "command to use for downloading; first parameter is the filename, second the url"
|
||||
add_to_configfile QUEUERETRY 15 "number of seconds to wait before a queued request is retried"
|
||||
add_to_configfile MAXIMUM_ACCEPTABLE_QUEUEPOS "15" "the maximum queuepos you would accept (if higher download full archive instead)"
|
||||
add_to_configfile QUEUETIMEOUT 900 "when a dtu-request is queued - how long should we wait max. before downloading the original archive instead (in seconds)"
|
||||
@@ -424,14 +428,14 @@
|
||||
add_to_donotremove "^rp-pppoe"
|
||||
|
||||
|
||||
-if [ -z $1 ]
|
||||
+if [ -z "$1" ]
|
||||
then
|
||||
COLOR=true
|
||||
echo -e "${YELLOW}getdelta.sh version ${VERSION}"
|
||||
echo "This script has to be called like this:"
|
||||
echo -e "${CYAN}$0 <URI>"
|
||||
echo -e "\n${YELLOW}To use it, you should just put the following line into your /etc/make.conf"
|
||||
- echo -e "${GREEN}FETCHCOMMAND=\"$0 \\\${URI}\""
|
||||
+ echo -e "${GREEN}FETCHCOMMAND=\"$0 \\\"\\\${URI}\\\" \\\"\\\${FILE}\\\"\""
|
||||
echo -e "\n${YELLOW}There is a config-file ${CYAN}${GETDELTA_CONFIGFILE}${YELLOW} with some variables to control the behaviour of this script."
|
||||
echo -e "Edit it to your needs.${NORMAL}"
|
||||
exit 1
|
||||
@@ -464,10 +468,12 @@
|
||||
output "use getdelta.sh for your FETCHCOMMAND, only." &&
|
||||
sleep 5 && exit 1
|
||||
|
||||
-pushd $DISTDIR >/dev/null 2>/dev/null
|
||||
+pushd -- "$DISTDIR" >/dev/null 2>/dev/null
|
||||
ORIG_URI=$1
|
||||
NEW_FILE=$(basename $ORIG_URI)
|
||||
|
||||
+[ -z "${NEW_FILE}" ] && NEW_FILE=${ORIG_URI##*/}
|
||||
+
|
||||
# repoman downloads metadata.dtd with FETCHCOMMAND
|
||||
# this should not be done with getdelta - so just fetch the file and exit
|
||||
|
||||
@@ -475,7 +481,7 @@
|
||||
# dtu files.
|
||||
if [ "${NEW_FILE}" = "metadata.dtd" ] || [ "$GETDELTA" = "0" ]
|
||||
then
|
||||
- $FETCH $@
|
||||
+ $FETCHNAME "$NEW_FILE" "$ORIG_URI"
|
||||
exit $?
|
||||
fi
|
||||
|
||||
@@ -516,7 +522,7 @@
|
||||
#
|
||||
output "${GREEN}Searching for a previously downloaded file in ${YELLOW}${DISTDIR}\n"
|
||||
|
||||
-first_chars=$(sed 's/[[:digit:]][[:print:]]*$//' <<< $NEW_FILE)
|
||||
+first_chars=$(sed 's/[[:digit:]][[:print:]]*$//' <<< "$NEW_FILE")
|
||||
length_first_chars=${#first_chars}
|
||||
[ $length_first_chars -lt 3 ] && first_chars="${NEW_FILE:0:2}"
|
||||
|
||||
@@ -527,7 +533,7 @@
|
||||
let len1=${#mask}
|
||||
filelist=""
|
||||
|
||||
-for name in $( ls ${first_chars}* 2>/dev/null )
|
||||
+for name in $( ls -- "${first_chars}"* 2>/dev/null )
|
||||
do
|
||||
mask2=$(mask_name "${name}")
|
||||
# add any file, that results in the same mask or differ not more than two letters
|
||||
@@ -582,7 +588,7 @@
|
||||
|
||||
# find matching part of filename - first: frontmatch
|
||||
x=0;
|
||||
- a=($NEW_FILE $filelist)
|
||||
+ a=("$NEW_FILE" $filelist)
|
||||
match=""
|
||||
while [ -z "$match" ]
|
||||
do
|
||||
@@ -657,7 +663,7 @@
|
||||
FILE_IS_CORRUPT=false
|
||||
if $CHECK_OLD_FILE
|
||||
then
|
||||
- file_digest=$(grep -h ${best_candidate} ${FILESDIR}/digest-* | sed -n 1p)
|
||||
+ file_digest=$(grep -h ${best_candidate} "${FILESDIR}"/digest-* | sed -n 1p)
|
||||
if [ "$file_digest" ]
|
||||
then
|
||||
file_md5=$(cut -d ' ' -f2 <<< "$file_digest")
|
||||
@@ -669,7 +675,7 @@
|
||||
FILE_IS_CORRUPT=true
|
||||
fi
|
||||
else
|
||||
- if [ $(rev <<< ${best_candidate} | cut -d. -f2 | rev) = "tar" ]
|
||||
+ if [ $(rev <<< "${best_candidate}" | cut -d. -f2 | rev) = "tar" ]
|
||||
then
|
||||
output "${YELLOW}Could not find a digest-file for ${CYAN}${best_candidate}${YELLOW}. Testing file integrity with tar.\n"
|
||||
if ! tar -tf ${best_candidate} >/dev/null
|
||||
@@ -698,17 +704,16 @@
|
||||
|
||||
# Remember where we are, and go to a new dir there we can work
|
||||
tmp_dwn_dest="${DISTDIR}/.getdelta-`date +%N`-tmp"
|
||||
- mkdir ${tmp_dwn_dest}
|
||||
+ mkdir -- "${tmp_dwn_dest}"
|
||||
# If user abort Ctrl+C (signal 2), remove tmp-dir; enabable trap again and send it again to stop wget
|
||||
- trap "rm -r ${tmp_dwn_dest}; trap 2; kill -2 $$" 2
|
||||
- pushd ${tmp_dwn_dest} >/dev/null 2>&1
|
||||
+ trap 'rm -r -- "${tmp_dwn_dest}"; trap 2; kill -2 '$$ 2
|
||||
+ pushd -- "${tmp_dwn_dest}" >/dev/null 2>&1
|
||||
|
||||
# thanks to MATSUI Fe2+ Tetsushi for idea and patch
|
||||
FILESIZE=$(stat -c %s "${DISTDIR}/${best_candidate}")
|
||||
let TIMELIMIT=${FILESIZE}/${BANDWIDTH}
|
||||
[[ $TIMELIMIT -lt $QUEUETIMEOUT ]] && QUEUETIMEOUT=$TIMELIMIT
|
||||
-
|
||||
- if $FETCH "${DELTUP_SERVER}${query}"
|
||||
+ if $FETCH "${DELTUP_SERVER}${query}" -O ${best_candidate}-${NEW_FILE}.dtu
|
||||
then
|
||||
# thanks to deelkar for this much more elegant solution to the "broken pipe" problem with "head -n1"
|
||||
GOTFILE=$(ls -c | sed -n 1p)
|
||||
@@ -718,15 +723,15 @@
|
||||
# may have sento to us.
|
||||
|
||||
# first: the request have been queued
|
||||
- if [ "${GOTFILE}" = "deltup-queued" ]
|
||||
+# if [ "${GOTFILE}" = "deltup-queued" ]
|
||||
+ if [[ "$(file -bi ${GOTFILE}|cut -d ";" -f1)" != "application/x-bzip2" && "$(cat ${GOTFILE}|cut -d "," -f1)" != "sorry" ]]
|
||||
then
|
||||
let QTMOUT=$(date +%s)+QUEUETIMEOUT
|
||||
- while [ -f deltup-queued ]
|
||||
+ while [[ "$(file -bi ${GOTFILE}|cut -d ";" -f1)" != "application/x-bzip2" && "$(cat ${GOTFILE}|cut -d "," -f1)" != "sorry" ]]
|
||||
do
|
||||
output "${GREEN}destination file: ${CYAN}${NEW_FILE}\n"
|
||||
- output "${YELLOW}$(cat deltup-queued)"
|
||||
- QUEUEPOS=$(grep "has been queued" deltup-queued | cut -d. -f2 | cut -d")" -f1)
|
||||
- rm -f deltup-queued
|
||||
+ output "${YELLOW}$(cat ${GOTFILE})"
|
||||
+ QUEUEPOS=$(grep "has been queued" ${GOTFILE} | cut -d. -f2 | cut -d")" -f1)
|
||||
TSTAMP=$(date +%s)
|
||||
if ((TSTAMP<QTMOUT)) && ((QUEUEPOS<=MAXIMUM_ACCEPTABLE_QUEUEPOS))
|
||||
then
|
||||
@@ -741,7 +746,7 @@
|
||||
sleep 1
|
||||
done
|
||||
echo -n -e "${NORMAL}"
|
||||
- $FETCH "${DELTUP_SERVER}${query}"
|
||||
+ $FETCH "${DELTUP_SERVER}${query}" -O ${best_candidate}-${NEW_FILE}.dtu
|
||||
GOTFILE=$(ls -c | sed -n 1p)
|
||||
else
|
||||
if ((TSTAMP>=QTMOUT))
|
||||
@@ -761,20 +766,20 @@
|
||||
done
|
||||
fi
|
||||
|
||||
- if [ -f ${best_candidate}-${NEW_FILE}.failed ]
|
||||
+ if [ "$(cat ${GOTFILE}|cut -d "," -f1)" = "sorry" ]
|
||||
then
|
||||
output "\n${RED}The server could not build the dtu-file for ${NEW_FILE}\n"
|
||||
- output "${YELLOW}reason:\n${RED}$(cat ${best_candidate}-${NEW_FILE}.failed)\n"
|
||||
- rm -rf ${best_candidate}-${NEW_FILE}.failed
|
||||
+ output "${YELLOW}reason:\n${RED}$(cat ${GOTFILE})\n"
|
||||
+ rm -rf -- "${GOTFILE}"
|
||||
fi
|
||||
|
||||
- if [ -f ${best_candidate}-${NEW_FILE}.dtu ]
|
||||
+ if [ -f "${best_candidate}-${NEW_FILE}.dtu" ]
|
||||
then
|
||||
output "${GREEN}Successfully fetched the dtu-file - let's build ${NEW_FILE}...\n"
|
||||
- downloadsize=$(stat -c %s ${best_candidate}-${NEW_FILE}.dtu)
|
||||
- if deltup -p -v -D ${DISTDIR} ${best_candidate}-${NEW_FILE}.dtu
|
||||
+ downloadsize=$(stat -c %s "${best_candidate}-${NEW_FILE}.dtu")
|
||||
+ if deltup -p -v -D "${DISTDIR}" "${best_candidate}-${NEW_FILE}.dtu"
|
||||
then
|
||||
- newsize=$(stat -c %s ${NEW_FILE})
|
||||
+ newsize=$(stat -c %s "${NEW_FILE}")
|
||||
let savedsize=${newsize}-${downloadsize}
|
||||
let percent=${savedsize}*100/${newsize}
|
||||
unit="bytes"
|
||||
@@ -791,8 +796,8 @@
|
||||
esac
|
||||
output "${YELLOW}This dtu-file saved ${UCOLOR}${savedsize} ${unit} (${percent}%)${YELLOW} download size.\n"
|
||||
fi
|
||||
- mv -f ${NEW_FILE} ${DISTDIR} &&
|
||||
- ${REMOVE_OLD} && remove "${best_candidate}"
|
||||
+ mv -f -- "${NEW_FILE}" "${DISTDIR}" &&
|
||||
+ ${REMOVE_OLD} && remove ${best_candidate}
|
||||
fi
|
||||
|
||||
fi # if $FETCH "${DELTUP_SERVER}${query}"
|
||||
@@ -812,7 +817,7 @@
|
||||
read
|
||||
fi
|
||||
popd >/dev/null 2>&1
|
||||
- rm -rf ${tmp_dwn_dest}
|
||||
+ rm -rf -- "${tmp_dwn_dest}"
|
||||
#stop respond to trap2
|
||||
trap 2
|
||||
fi # if ! FILE_IS_CORRUPT
|
||||
@@ -824,10 +829,10 @@
|
||||
|
||||
# Ok, once we are here, we should have got the delta (and used it)
|
||||
# or we still have to download the full file
|
||||
-if ! [ -f ${DISTDIR}/${NEW_FILE} ]
|
||||
+if ! [ -f "${DISTDIR}/${NEW_FILE}" ]
|
||||
then
|
||||
output "${RED}The dtu could not be fetched,${YELLOW} downloading full file from original URL\n"
|
||||
- $FETCH $ORIG_URI
|
||||
+ $FETCHNAME "$NEW_FILE" "$ORIG_URI"
|
||||
# remember we had a fallback to use correct exitcode for portage
|
||||
FALLBACK=$?
|
||||
fi
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/getdelta/getdelta-0.7.9.ebuild,v 1.1 2012/03/19 03:10:24 patrick Exp $
|
||||
|
||||
DESCRIPTION="dynamic deltup client"
|
||||
HOMEPAGE="http://linux01.gwdg.de/~nlissne/"
|
||||
SRC_URI="http://linux01.gwdg.de/~nlissne/${PN}-0.7.8.tar.bz2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~sparc ~x86"
|
||||
|
||||
inherit eutils
|
||||
|
||||
RDEPEND="app-portage/deltup
|
||||
dev-util/bdelta"
|
||||
|
||||
src_prepare() {
|
||||
epatch ${FILESDIR}/{P}.patch
|
||||
}
|
||||
|
||||
src_install () {
|
||||
sed -i -e "s:/bin/sh:/bin/bash:" "${WORKDIR}"/getdelta.sh || die
|
||||
dobin "${WORKDIR}"/getdelta.sh || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You need to put"
|
||||
elog "FETCHCOMMAND=\"/usr/bin/getdelta.sh \\\${URI}\""
|
||||
elog "into your /etc/make.conf to make use of getdelta"
|
||||
|
||||
# make sure permissions are ok
|
||||
touch "${ROOT}"/var/log/getdelta.log
|
||||
mkdir -p "${ROOT}"/etc/deltup
|
||||
chown -R portage:portage "${ROOT}"/{var/log/getdelta.log,etc/deltup}
|
||||
chmod -R ug+rwX "${ROOT}"/{var/log/getdelta.log,etc/deltup}
|
||||
}
|
@ -0,0 +1,107 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/asciidoc-8.6.7.ebuild,v 1.1 2012/03/19 01:28:00 sping Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
[ "$PV" == "9999" ] && inherit mercurial autotools
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="A text document format for writing short documents, articles, books and UNIX man pages"
|
||||
HOMEPAGE="http://www.methods.co.nz/asciidoc/"
|
||||
if [ "$PV" == "9999" ]; then
|
||||
EHG_REPO_URI="https://asciidoc.googlecode.com/hg/"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
S=${WORKDIR}/hg
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="examples graphviz highlight test vim-syntax"
|
||||
|
||||
RDEPEND=">=app-text/docbook-xsl-stylesheets-1.75
|
||||
dev-libs/libxslt
|
||||
graphviz? ( media-gfx/graphviz )
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
highlight? ( || ( dev-python/pygments dev-util/source-highlight ) )
|
||||
"
|
||||
DEPEND="test? ( dev-util/source-highlight
|
||||
media-sound/lilypond
|
||||
media-gfx/imagemagick
|
||||
dev-texlive/texlive-latex
|
||||
app-text/dvipng
|
||||
media-gfx/graphviz )
|
||||
"
|
||||
|
||||
if [ "$PV" == "9999" ]; then
|
||||
DEPEND="${DEPEND}
|
||||
dev-util/aap
|
||||
www-client/lynx
|
||||
dev-util/source-highlight"
|
||||
fi
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use vim-syntax; then
|
||||
sed -i -e '/^install/s/install-vim//' Makefile.in
|
||||
else
|
||||
sed -i\
|
||||
-e "/^vimdir/s:@sysconfdir@/vim:${EPREFIX}/usr/share/vim/vimfiles:" \
|
||||
-e 's:/etc/vim::' \
|
||||
Makefile.in || die
|
||||
fi
|
||||
|
||||
# Only needed for prefix - harmless (does nothing) otherwise
|
||||
sed -i -e "s:^CONF_DIR=.*:CONF_DIR='${EPREFIX}/etc/asciidoc':" \
|
||||
"${S}/asciidoc.py" || die
|
||||
|
||||
[ "$PV" == "9999" ] && eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --sysconfdir="${EPREFIX}"/usr/share
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if [ "$PV" == "9999" ]; then
|
||||
( cd doc && aap -f main.aap ../{CHANGELOG,README,BUGS} )
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use vim-syntax && dodir /usr/share/vim/vimfiles
|
||||
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
|
||||
python_convert_shebangs -r 2 "${D}"
|
||||
|
||||
if use examples; then
|
||||
# This is a symlink to a directory
|
||||
rm examples/website/images || die
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples || die
|
||||
dosym ../../../asciidoc/images /usr/share/doc/${PF}/examples || die
|
||||
fi
|
||||
|
||||
dodoc BUGS CHANGELOG README docbook-xsl/asciidoc-docbook-xsl.txt \
|
||||
dblatex/dblatex-readme.txt filters/code/code-filter-readme.txt || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd tests || die
|
||||
ASCIIDOC_PY=../asciidoc.py "$(PYTHON)" test${PN}.py update || die
|
||||
ASCIIDOC_PY=../asciidoc.py "$(PYTHON)" test${PN}.py run || die
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST calibre-0.8.41.tar.xz 24003452 RMD160 85c16b05de47eb54236691848c44aec813ae4d07 SHA1 532caa160726c58b52b164df60ee3c2c33ade024 SHA256 be986113f707c70255814d3dbc4b3d2f8319124c4215c9f5960293545ed7d91d
|
||||
DIST calibre-0.8.42.tar.xz 24266592 RMD160 d866b4796294a3f00ee031981b4032bcdc0cd892 SHA1 cb9a95ef34d1e81be5e9820020c10760868b2ec4 SHA256 cda337792de7fb8742a4349748387e750fe7c7965067820f5d3c78ee3d236c56
|
||||
DIST calibre-0.8.43.tar.xz 24328360 RMD160 bfaf10cf1cf99f43a01f33bf3046be860b76fd8a SHA1 e97a90ef8c9031886a126cb918dcc9f528ca547b SHA256 612ad8cf3399bb9666d6945b851ca4f65689d59b94404819bea82a9d34222113
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.41.ebuild,v 1.1 2012/03/06 00:44:20 zmedico Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.43.ebuild,v 1.1 2012/03/18 20:28:55 zmedico Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND=2:2.7
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gnap-dev/gnap-dev-1.6.ebuild,v 1.1 2005/05/17 12:30:39 koon Exp $
|
||||
|
||||
STAGE2_VERSION="x86-uclibc-hardened-2005.0"
|
||||
|
||||
MY_P=${P/gnap-dev/gnap-sources}
|
||||
S="${WORKDIR}/gnap-${PV}"
|
||||
DESCRIPTION="GNAP is a Gentoo-based Network Appliance building system. The gnap-dev package contains the GNAP development environment allowing to rebuild GNAP core files from scratch."
|
||||
HOMEPAGE="http://embedded.gentoo.org/gnap.xml"
|
||||
|
||||
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2
|
||||
!minimal? ( http://gentoo.osuosl.org/experimental/x86/embedded/stages/stage2-${STAGE2_VERSION}.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE="minimal"
|
||||
|
||||
RDEPEND="dev-util/catalyst
|
||||
sys-fs/squashfs-tools
|
||||
app-cdr/cdrtools"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.bz2
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gnap_make
|
||||
doman gnap_make.1
|
||||
|
||||
dodir /usr/lib/gnap
|
||||
insinto /usr/lib/gnap
|
||||
doins -r specs
|
||||
if ! use minimal; then
|
||||
newins ${DISTDIR}/stage2-${STAGE2_VERSION}.tar.bz2 stage2seed.tar.bz2
|
||||
fi
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gnap-dev/gnap-dev-1.7.1.ebuild,v 1.1 2005/06/23 13:20:16 koon Exp $
|
||||
|
||||
MY_P=${P/gnap-dev/gnap-sources}
|
||||
S="${WORKDIR}/gnap-${PV}"
|
||||
DESCRIPTION="Gentoo-based Network Appliance building system development tools"
|
||||
HOMEPAGE="http://embedded.gentoo.org/gnap.xml"
|
||||
|
||||
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2
|
||||
!minimal? ( mirror://gentoo/gnap-stageseed-${PV}.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE="minimal"
|
||||
|
||||
RDEPEND="dev-util/catalyst
|
||||
sys-fs/squashfs-tools
|
||||
app-cdr/cdrtools"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.bz2
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gnap_make
|
||||
doman gnap_make.1
|
||||
|
||||
dodir /usr/lib/gnap
|
||||
insinto /usr/lib/gnap
|
||||
doins -r specs
|
||||
if ! use minimal; then
|
||||
newins ${DISTDIR}/gnap-stageseed-${PV}.tar.bz2 gnap-stage3seed.tar.bz2
|
||||
fi
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gnap-dev/gnap-dev-1.7.ebuild,v 1.1 2005/05/31 11:23:52 koon Exp $
|
||||
|
||||
MY_P=${P/gnap-dev/gnap-sources}
|
||||
S="${WORKDIR}/gnap-${PV}"
|
||||
DESCRIPTION="Gentoo-based Network Appliance building system development tools"
|
||||
HOMEPAGE="http://embedded.gentoo.org/gnap.xml"
|
||||
|
||||
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2
|
||||
!minimal? ( mirror://gentoo/gnap-stageseed-${PV}.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE="minimal"
|
||||
|
||||
RDEPEND="dev-util/catalyst
|
||||
sys-fs/squashfs-tools
|
||||
app-cdr/cdrtools"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.bz2
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gnap_make
|
||||
doman gnap_make.1
|
||||
|
||||
dodir /usr/lib/gnap
|
||||
insinto /usr/lib/gnap
|
||||
doins -r specs
|
||||
if ! use minimal; then
|
||||
newins ${DISTDIR}/gnap-stageseed-${PV}.tar.bz2 gnap-stage3seed.tar.bz2
|
||||
fi
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gnap-dev/gnap-dev-1.8.1.ebuild,v 1.1 2005/08/31 10:16:44 koon Exp $
|
||||
|
||||
MY_P=${P/gnap-dev/gnap-sources}
|
||||
S="${WORKDIR}/gnap-${PV}"
|
||||
DESCRIPTION="Gentoo-based Network Appliance building system development tools"
|
||||
HOMEPAGE="http://embedded.gentoo.org/gnap.xml"
|
||||
|
||||
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2
|
||||
!minimal? ( mirror://gentoo/gnap-stageseed-${PV}.tar.bz2
|
||||
mirror://gentoo/gnap-portagesnapshot-${PV}.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE="minimal"
|
||||
|
||||
RDEPEND="dev-util/catalyst
|
||||
sys-fs/squashfs-tools
|
||||
app-cdr/cdrtools"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.bz2
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gnap_make
|
||||
doman gnap_make.1
|
||||
|
||||
dodir /usr/lib/gnap
|
||||
tar jc -f ${D}/usr/lib/gnap/gnap-specs.tar.bz2 -C specs .
|
||||
if ! use minimal; then
|
||||
insinto /usr/lib/gnap
|
||||
newins ${DISTDIR}/gnap-stageseed-${PV}.tar.bz2 gnap-stage3seed.tar.bz2
|
||||
newins ${DISTDIR}/gnap-portagesnapshot-${PV}.tar.bz2 gnap-portagesnapshot.tar.bz2
|
||||
fi
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gnap-dev/gnap-dev-1.8.2.ebuild,v 1.1 2005/10/21 14:21:19 koon Exp $
|
||||
|
||||
MY_P=${P/gnap-dev/gnap-sources}
|
||||
S="${WORKDIR}/gnap-${PV}"
|
||||
DESCRIPTION="Gentoo-based Network Appliance building system development tools"
|
||||
HOMEPAGE="http://embedded.gentoo.org/gnap.xml"
|
||||
|
||||
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2
|
||||
!minimal? ( mirror://gentoo/gnap-stageseed-${PV}.tar.bz2
|
||||
mirror://gentoo/gnap-portagesnapshot-${PV}.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE="minimal"
|
||||
|
||||
RDEPEND="dev-util/catalyst
|
||||
sys-fs/squashfs-tools
|
||||
app-cdr/cdrtools"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.bz2
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gnap_make
|
||||
doman gnap_make.1
|
||||
|
||||
dodir /usr/lib/gnap
|
||||
tar jc -f ${D}/usr/lib/gnap/gnap-specs.tar.bz2 -C specs .
|
||||
if ! use minimal; then
|
||||
insinto /usr/lib/gnap
|
||||
newins ${DISTDIR}/gnap-stageseed-${PV}.tar.bz2 gnap-stage3seed.tar.bz2
|
||||
newins ${DISTDIR}/gnap-portagesnapshot-${PV}.tar.bz2 gnap-portagesnapshot.tar.bz2
|
||||
fi
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gnap-dev/gnap-dev-1.8.ebuild,v 1.1 2005/08/10 11:25:00 koon Exp $
|
||||
|
||||
MY_P=${P/gnap-dev/gnap-sources}
|
||||
S="${WORKDIR}/gnap-${PV}"
|
||||
DESCRIPTION="Gentoo-based Network Appliance building system development tools"
|
||||
HOMEPAGE="http://embedded.gentoo.org/gnap.xml"
|
||||
|
||||
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2
|
||||
!minimal? ( mirror://gentoo/gnap-stageseed-${PV}.tar.bz2
|
||||
mirror://gentoo/gnap-portagesnapshot-${PV}.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE="minimal"
|
||||
|
||||
RDEPEND="dev-util/catalyst
|
||||
sys-fs/squashfs-tools
|
||||
app-cdr/cdrtools"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.bz2
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gnap_make
|
||||
doman gnap_make.1
|
||||
|
||||
dodir /usr/lib/gnap
|
||||
insinto /usr/lib/gnap
|
||||
doins -r specs
|
||||
if ! use minimal; then
|
||||
newins ${DISTDIR}/gnap-stageseed-${PV}.tar.bz2 gnap-stage3seed.tar.bz2
|
||||
newins ${DISTDIR}/gnap-portagesnapshot-${PV}.tar.bz2 gnap-portagesnapshot.tar.bz2
|
||||
fi
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
diff --git a/haddock.cabal b/haddock.cabal
|
||||
index 2f36187..0c2aeb4 100644
|
||||
--- a/haddock.cabal
|
||||
+++ b/haddock.cabal
|
||||
@@ -142,7 +142,7 @@ library
|
||||
containers,
|
||||
array,
|
||||
xhtml >= 3000.2 && < 3000.3,
|
||||
- Cabal >= 1.10,
|
||||
+ Cabal >= 1.10 && < 1.14,
|
||||
ghc >= 7.0 && < 7.2
|
||||
|
||||
if flag(in-ghc-tree)
|
@ -1,12 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-DB/PEAR-DB-1.7.12.ebuild,v 1.12 2010/04/27 16:17:56 beandog Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
|
||||
|
||||
DESCRIPTION="Database abstraction layer for PHP."
|
||||
LICENSE="PHP-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
@ -1,12 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-DB/PEAR-DB-1.7.14_rc1.ebuild,v 1.4 2010/04/27 16:17:56 beandog Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
|
||||
DESCRIPTION="Database abstraction layer for PHP."
|
||||
LICENSE="PHP-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
@ -1,11 +1,11 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-HTML_Common/PEAR-HTML_Common-1.2.5.ebuild,v 1.7 2012/03/05 20:56:27 maekke Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-HTML_Common/PEAR-HTML_Common-1.2.5.ebuild,v 1.8 2012/03/18 19:30:03 armin76 Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Base class for other HTML classes."
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
|
||||
IUSE=""
|
||||
|
@ -1,2 +1 @@
|
||||
DIST Net_POP3-1.3.6.tgz 10076 RMD160 b56ef8ed899a751743d8446731a43e787d8d0e65 SHA1 f2c485f9e2b306f5f75c7c71d373a26cad09667b SHA256 b17c74c0b08f300c07e94b426cd36fbbfc3cb12d076cb06d350c94e50434ee3b
|
||||
DIST Net_POP3-1.3.8.tgz 9657 RMD160 b9f3f2aab75df9e1cf131333dbff852451e8f5de SHA1 ffce93a26c83dcaab83418269f4a28c6fc7a3c52 SHA256 766d6d539c6c6b1dd448f1dd479b77266338f2ea1fd712af551dfe8e7cedf726
|
||||
|
@ -1,13 +0,0 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_POP3/PEAR-Net_POP3-1.3.6-r1.ebuild,v 1.16 2006/03/30 19:29:10 josejx Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Provides a POP3 class to access POP3 server."
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
RDEPEND=">=dev-php/PEAR-Net_Socket-1.0.6-r1"
|
@ -1,11 +1,11 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.0.1.ebuild,v 1.7 2012/03/02 22:58:29 klausman Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.0.1.ebuild,v 1.8 2012/03/18 18:45:52 armin76 Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Net_SmartIRC is a PHP class for communication with IRC networks"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 ~sparc x86"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
@ -1,12 +1,12 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Spreadsheet_Excel_Writer/PEAR-Spreadsheet_Excel_Writer-0.9.2.ebuild,v 1.7 2012/03/03 20:31:40 klausman Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Spreadsheet_Excel_Writer/PEAR-Spreadsheet_Excel_Writer-0.9.2.ebuild,v 1.8 2012/03/18 19:16:09 armin76 Exp $
|
||||
|
||||
inherit php-pear-r1 eutils
|
||||
|
||||
DESCRIPTION="Package for generating Excel spreadsheets"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
|
||||
RDEPEND=">=dev-php/PEAR-OLE-0.5-r1"
|
||||
IUSE=""
|
||||
|
@ -0,0 +1,44 @@
|
||||
--- apitrace-apitrace-e2c4320/common/trace_file.cpp
|
||||
+++ apitrace-apitrace-e2c4320/common/trace_file.cpp
|
||||
@@ -132,35 +132,35 @@
|
||||
|
||||
bool ZLibFile::rawWrite(const void *buffer, size_t length)
|
||||
{
|
||||
- return gzwrite(m_gzFile, buffer, length) != -1;
|
||||
+ return gzwrite((gzFile)m_gzFile, buffer, length) != -1;
|
||||
}
|
||||
|
||||
bool ZLibFile::rawRead(void *buffer, size_t length)
|
||||
{
|
||||
- return gzread(m_gzFile, buffer, length) != -1;
|
||||
+ return gzread((gzFile)m_gzFile, buffer, length) != -1;
|
||||
}
|
||||
|
||||
int ZLibFile::rawGetc()
|
||||
{
|
||||
- return gzgetc(m_gzFile);
|
||||
+ return gzgetc((gzFile)m_gzFile);
|
||||
}
|
||||
|
||||
void ZLibFile::rawClose()
|
||||
{
|
||||
if (m_gzFile) {
|
||||
- gzclose(m_gzFile);
|
||||
+ gzclose((gzFile)m_gzFile);
|
||||
m_gzFile = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
void ZLibFile::rawFlush()
|
||||
{
|
||||
- gzflush(m_gzFile, Z_SYNC_FLUSH);
|
||||
+ gzflush((gzFile)m_gzFile, Z_SYNC_FLUSH);
|
||||
}
|
||||
|
||||
File::Offset ZLibFile::currentOffset()
|
||||
{
|
||||
- return File::Offset(gztell(m_gzFile));
|
||||
+ return File::Offset(gztell((gzFile)m_gzFile));
|
||||
}
|
||||
|
||||
bool ZLibFile::supportsOffsets() const
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue