parent
ee3f7f7b3e
commit
d97ce19244
@ -1,4 +1,2 @@
|
||||
DIST monit-5.1.1.tar.gz 615924 RMD160 1b4fed4e039adfd626f3c49436702c0272948327 SHA1 cad2ff02a2f6dbfb5773d13e42506adb2165d15c SHA256 bf789e0660410e8c63f4b3dc2eeab9889347e6494a6dc1c0e764343cae0dc1ba
|
||||
DIST monit-5.2.3.tar.gz 618139 RMD160 6e82619df575c1bc372edc76db92a211adff9634 SHA1 dae1a63fca9a44cf1bda53691711b8273efe3935 SHA256 920f50e752cbdc8e2c7f009e1c54bfd46f5646ea22bbab96c58eb5d1a19a0d8c
|
||||
DIST monit-5.2.5.tar.gz 608861 RMD160 68cc1ce013626da10e421303840c9c768128f015 SHA1 41954b62a08663527d497084bd16d08b9a7b21bc SHA256 3c2496e9f653ff8a46b75b61126a86cb3861ad35e4eeb7379d64a0fc55c1fd8d
|
||||
DIST monit-5.3.2.tar.gz 1192207 RMD160 5215517216499d250a520f76979f483617631aa5 SHA1 346d90dfa526e35be2df2f15ba8ab62e1826f8c2 SHA256 406a06ac912525c8e76066d07235c848466b331532b2b3de931b61fe455ae915
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-5.1.1-r1.ebuild,v 1.1 2011/12/31 16:28:50 idl0r Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
DESCRIPTION="a utility for monitoring and managing daemons or similar programs running on a Unix system."
|
||||
HOMEPAGE="http://mmonit.com/monit/"
|
||||
SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc sparc x86"
|
||||
IUSE="ssl"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
sys-devel/bison"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with ssl) || die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
dodoc CHANGES.txt README*
|
||||
dohtml -r doc/*
|
||||
|
||||
insinto /etc; insopts -m700; doins monitrc || die "doins monitrc failed"
|
||||
newinitd "${FILESDIR}"/monit.initd-5.0 monit || die "newinitd failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Sample configurations are available at:"
|
||||
elog "http://mmonit.com/monit/documentation/"
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-5.2.5-r1.ebuild,v 1.1 2011/12/31 16:28:50 idl0r Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
DESCRIPTION="a utility for monitoring and managing daemons or similar programs running on a Unix system."
|
||||
HOMEPAGE="http://mmonit.com/monit/"
|
||||
SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="ssl"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
sys-devel/bison"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with ssl) || die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
dodoc CHANGES.txt README*
|
||||
dohtml -r doc/*
|
||||
|
||||
insinto /etc; insopts -m700; doins monitrc || die "doins monitrc failed"
|
||||
newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit || die "newinitd failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Sample configurations are available at:"
|
||||
elog "http://mmonit.com/monit/documentation/"
|
||||
}
|
@ -1,7 +1,3 @@
|
||||
DIST sudo-1.7.4p5.tar.gz 966176 RMD160 24fcaa065f9efc229abcf2b70ec4faca03efa32d SHA1 bb9c9ff6ce6d4c70bdc546316442e7021ca754c2 SHA256 72e8e3545f314d342f178b0fee4b483e26d70ef132b081699be035da0f0acbba
|
||||
DIST sudo-1.8.1p2.tar.gz 1238804 RMD160 165029d462e737c885b1d32accb9b2b19411a0fb SHA1 b743b3d7bdb06de68ea24eedfe13530e8fbcae09 SHA256 281f90c80547cf22132e351e7f61c25ba4ba9cf393438468f318f9a7884026fb
|
||||
DIST sudo-1.8.2.tar.gz 1465051 RMD160 daebd7f67fff6429c3cb85260e9b11f0c3e28e3c SHA1 6a9400ba3e40394fd9c913219e3b6bb102bb3906 SHA256 37fe6ee670329bc45937fbe402e847f80b3a0a1c8fc9a66487e92b4b810152b0
|
||||
DIST sudo-1.8.3p1.tar.gz 1536465 RMD160 7809cbde339220d7dc10ae8da504d5c4e219b55c SHA1 2a7ad912aa8a31706796e5bff8813e4fc7505333 SHA256 1a22635bc5a0a84df273a893c624d45f628c78668317c5bc442dac11db55bb82
|
||||
DIST sudo-1.8.3p2.tar.gz 1536943 RMD160 5a6b8574d2245cc89d2ac982eae9cb6ca2414033 SHA1 37d70b133f809116ce631229fa0e727d9f5125ad SHA256 7edcf02ef4dc4f26f524726e8faaa90d7939772c186409ab150d2934e3a9ba31
|
||||
DIST sudo-1.8.4p1.tar.gz 1607355 RMD160 3f83dd07e9a563f8249ee08a37f3ca09d2718983 SHA1 5d5fe07cc44ea648c2ea6dc3129a5c13604c83ed SHA256 48214b55b40fd1fa9501e69f82fc8754911943ca2652d955e66e2b992d39d027
|
||||
DIST sudo-1.8.4p2.tar.gz 1608580 RMD160 62c52bf05ac4a236e7cdf56c15cc271928635d85 SHA1 949c39a0191584ded1044a0f729d54a8dc7b3e72 SHA256 b1310b8548db5ea92f3063011c0fe6e843a1f95f548a4aeae54bcc2fdfea88a9
|
||||
DIST sudo-1.8.4p4.tar.gz 1608969 RMD160 02875946f3bb9a40637efde20c1a9a3f0b0cfca8 SHA1 49373706709bd4c30d9b3c513eff7be04aecd812 SHA256 bf965b09bde9b0cf7fd2355c53a81884d02d522af2d539cf40218436e9a5051e
|
||||
|
@ -1,240 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.7.4_p5.ebuild,v 1.9 2011/12/29 21:33:54 ulm Exp $
|
||||
|
||||
inherit eutils pam
|
||||
|
||||
MY_P=${P/_/}
|
||||
MY_P=${MY_P/beta/b}
|
||||
|
||||
case "${P}" in
|
||||
*_beta* | *_rc*)
|
||||
uri_prefix=beta/
|
||||
;;
|
||||
*)
|
||||
uri_prefix=""
|
||||
;;
|
||||
esac
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="http://www.sudo.ws/"
|
||||
SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="as-is BSD"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="pam skey offensive ldap selinux"
|
||||
|
||||
DEPEND="pam? ( virtual/pam )
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
dev-libs/cyrus-sasl
|
||||
)
|
||||
!pam? ( skey? ( >=sys-auth/skey-1.1.5-r1 ) )
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
virtual/mta"
|
||||
RDEPEND="selinux? ( sec-policy/selinux-sudo )
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
${DEPEND}"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if use pam && use skey; then
|
||||
ewarn "You cannot enable both S/KEY and PAM at the same time, PAM will"
|
||||
ewarn "be used then."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}; cd "${S}"
|
||||
|
||||
# compatability fix.
|
||||
epatch "${FILESDIR}"/${PN}-skeychallengeargs.diff
|
||||
|
||||
# additional variables to disallow, should user disable env_reset.
|
||||
|
||||
# NOTE: this is not a supported mode of operation, these variables
|
||||
# are added to the blacklist as a convenience to administrators
|
||||
# who fail to heed the warnings of allowing untrusted users
|
||||
# to access sudo.
|
||||
#
|
||||
# there is *no possible way* to foresee all attack vectors in
|
||||
# all possible applications that could potentially be used via
|
||||
# sudo, these settings will just delay the inevitable.
|
||||
#
|
||||
# that said, I will accept suggestions for variables that can
|
||||
# be misused in _common_ interpreters or libraries, such as
|
||||
# perl, bash, python, ruby, etc., in the hope of dissuading
|
||||
# a casual attacker.
|
||||
|
||||
# XXX: perl should be using suid_perl.
|
||||
# XXX: users can remove/add more via env_delete and env_check.
|
||||
# XXX: <?> = probably safe enough for most circumstances.
|
||||
|
||||
einfo "Blacklisting common variables (env_delete)..."
|
||||
sudo_bad_var() {
|
||||
local target='env.c' marker='\*initial_badenv_table\[\]'
|
||||
|
||||
ebegin " $1"
|
||||
sed -i 's#\(^.*'${marker}'.*$\)#\1\n\t"'${1}'",#' "${S}"/${target}
|
||||
eend $?
|
||||
}
|
||||
|
||||
sudo_bad_var 'PERLIO_DEBUG' # perl, write debug to file.
|
||||
sudo_bad_var 'FPATH' # ksh, search path for functions.
|
||||
sudo_bad_var 'NULLCMD' # zsh, command on null-redir. <?>
|
||||
sudo_bad_var 'READNULLCMD' # zsh, command on null-redir. <?>
|
||||
sudo_bad_var 'GLOBIGNORE' # bash, glob paterns to ignore. <?>
|
||||
sudo_bad_var 'PYTHONHOME' # python, module search path.
|
||||
sudo_bad_var 'PYTHONPATH' # python, search path.
|
||||
sudo_bad_var 'PYTHONINSPECT' # python, allow inspection.
|
||||
sudo_bad_var 'RUBYLIB' # ruby, lib load path.
|
||||
sudo_bad_var 'RUBYOPT' # ruby, cl options.
|
||||
sudo_bad_var 'ZDOTDIR' # zsh, path to search for dotfiles.
|
||||
einfo "...done."
|
||||
|
||||
# prevent binaries from being stripped.
|
||||
sed -i 's/\($(INSTALL).*\) -s \(.*[(sudo|visudo)]\)/\1 \2/g' Makefile.in
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local line ROOTPATH
|
||||
|
||||
# FIXME: secure_path is a compile time setting. using ROOTPATH
|
||||
# is not perfect, env-update may invalidate this, but until it
|
||||
# is available as a sudoers setting this will have to do.
|
||||
einfo "Setting secure_path..."
|
||||
|
||||
# why not use grep? variable might be expanded from other variables
|
||||
# declared in that file. cannot just source the file, would override
|
||||
# any variables already set.
|
||||
eval `PS4= bash -x /etc/profile.env 2>&1 | \
|
||||
while read line; do
|
||||
case $line in
|
||||
ROOTPATH=*) echo $line; break;;
|
||||
*) continue;;
|
||||
esac
|
||||
done` && einfo " Found ROOTPATH..." || \
|
||||
ewarn " Failed to find ROOTPATH, please report this."
|
||||
|
||||
# remove duplicate path entries from $1
|
||||
cleanpath() {
|
||||
local i=1 x n IFS=:
|
||||
local -a paths; paths=($1)
|
||||
|
||||
for ((n=${#paths[*]}-1;i<=n;i++)); do
|
||||
for ((x=0;x<i;x++)); do
|
||||
test "${paths[i]}" == "${paths[x]}" && {
|
||||
einfo " Duplicate entry ${paths[i]} removed..." 1>&2
|
||||
unset paths[i]; continue 2; }
|
||||
done; # einfo " Adding ${paths[i]}..." 1>&2
|
||||
done; echo "${paths[*]}"
|
||||
}
|
||||
|
||||
ROOTPATH=$(cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}})
|
||||
|
||||
# strip gcc path (bug #136027)
|
||||
rmpath() {
|
||||
declare e newpath oldpath=${!1} PATHvar=$1 thisp IFS=:
|
||||
shift
|
||||
for thisp in $oldpath; do
|
||||
for e; do [[ $thisp == $e ]] && continue 2; done
|
||||
newpath=$newpath:$thisp
|
||||
done
|
||||
eval $PATHvar='${newpath#:}'
|
||||
}
|
||||
|
||||
rmpath ROOTPATH '*/gcc-bin/*'
|
||||
|
||||
einfo "...done."
|
||||
|
||||
if use pam; then
|
||||
myconf="--with-pam --without-skey"
|
||||
elif use skey; then
|
||||
myconf="--without-pam --with-skey"
|
||||
else
|
||||
myconf="--without-pam --without-skey"
|
||||
fi
|
||||
|
||||
# audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. — Diego
|
||||
econf --with-secure-path="${ROOTPATH}" \
|
||||
--with-editor=/usr/libexec/editor \
|
||||
--with-env-editor \
|
||||
$(use_with offensive insults) \
|
||||
$(use_with offensive all-insults) \
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \
|
||||
$(use_with ldap) \
|
||||
--without-linux-audit \
|
||||
--with-timedir=/var/db/sudo \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
${myconf}
|
||||
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
if use ldap; then
|
||||
dodoc README.LDAP schema.OpenLDAP
|
||||
dosbin sudoers2ldif
|
||||
|
||||
cat - > "${T}"/ldap.conf.sudo <<EOF
|
||||
# See ldap.conf(5) and README.LDAP for details\n"
|
||||
# This file should only be readable by root\n\n"
|
||||
# supported directives: host, port, ssl, ldap_version\n"
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug\n"
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key
|
||||
EOF
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
insinto /etc
|
||||
doins "${S}"/sudoers
|
||||
fperms 0440 /etc/sudoers
|
||||
|
||||
keepdir /var/db/sudo
|
||||
fperms 0700 /var/db/sudo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ldap; then
|
||||
ewarn
|
||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if egrep -q '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in /etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
@ -1,182 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.8.1_p2.ebuild,v 1.10 2011/12/29 20:55:14 halcy0n Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils pam multilib libtool
|
||||
|
||||
MY_P=${P/_/}
|
||||
MY_P=${MY_P/beta/b}
|
||||
|
||||
case "${P}" in
|
||||
*_beta* | *_rc*)
|
||||
uri_prefix=beta/
|
||||
;;
|
||||
*)
|
||||
uri_prefix=""
|
||||
;;
|
||||
esac
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="http://www.sudo.ws/"
|
||||
SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="as-is BSD"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="pam offensive ldap selinux skey"
|
||||
|
||||
DEPEND="pam? ( virtual/pam )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
dev-libs/cyrus-sasl
|
||||
)
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
virtual/mta"
|
||||
RDEPEND="selinux? ( sec-policy/selinux-sudo )
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
${DEPEND}"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
REQUIRED_USE="pam? ( !skey ) skey? ( !pam )"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local line ROOTPATH
|
||||
|
||||
# FIXME: secure_path is a compile time setting. using ROOTPATH
|
||||
# is not perfect, env-update may invalidate this, but until it
|
||||
# is available as a sudoers setting this will have to do.
|
||||
einfo "Setting secure_path..."
|
||||
|
||||
# why not use grep? variable might be expanded from other variables
|
||||
# declared in that file. cannot just source the file, would override
|
||||
# any variables already set.
|
||||
eval `PS4= bash -x /etc/profile.env 2>&1 | \
|
||||
while read line; do
|
||||
case $line in
|
||||
ROOTPATH=*) echo $line; break;;
|
||||
*) continue;;
|
||||
esac
|
||||
done` && einfo " Found ROOTPATH..." || \
|
||||
ewarn " Failed to find ROOTPATH, please report this."
|
||||
|
||||
# remove duplicate path entries from $1
|
||||
cleanpath() {
|
||||
local i=1 x n IFS=:
|
||||
local -a paths; paths=($1)
|
||||
|
||||
for ((n=${#paths[*]}-1;i<=n;i++)); do
|
||||
for ((x=0;x<i;x++)); do
|
||||
test "${paths[i]}" == "${paths[x]}" && {
|
||||
einfo " Duplicate entry ${paths[i]} removed..." 1>&2
|
||||
unset paths[i]; continue 2; }
|
||||
done; # einfo " Adding ${paths[i]}..." 1>&2
|
||||
done; echo "${paths[*]}"
|
||||
}
|
||||
|
||||
ROOTPATH=$(cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}})
|
||||
|
||||
# strip gcc path (bug #136027)
|
||||
rmpath() {
|
||||
declare e newpath oldpath=${!1} PATHvar=$1 thisp IFS=:
|
||||
shift
|
||||
for thisp in $oldpath; do
|
||||
for e; do [[ $thisp == $e ]] && continue 2; done
|
||||
newpath=$newpath:$thisp
|
||||
done
|
||||
eval $PATHvar='${newpath#:}'
|
||||
}
|
||||
|
||||
rmpath ROOTPATH '*/gcc-bin/*'
|
||||
rmpath ROOTPATH '*/gnat-gcc-bin/*'
|
||||
rmpath ROOTPATH '*/gnat-gcc/*'
|
||||
|
||||
einfo "...done."
|
||||
|
||||
# audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. — Diego
|
||||
econf --with-secure-path="${ROOTPATH}" \
|
||||
--with-editor=/usr/libexec/editor \
|
||||
--with-env-editor \
|
||||
$(use_with offensive insults) \
|
||||
$(use_with offensive all-insults) \
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with skey) \
|
||||
--without-opie \
|
||||
--without-linux-audit \
|
||||
--with-timedir=/var/db/sudo \
|
||||
--with-plugindir=/usr/$(get_libdir)/sudo \
|
||||
--docdir=/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
if use ldap; then
|
||||
dodoc README.LDAP doc/schema.OpenLDAP
|
||||
dosbin plugins/sudoers/sudoers2ldif
|
||||
|
||||
cat - > "${T}"/ldap.conf.sudo <<EOF
|
||||
# See ldap.conf(5) and README.LDAP for details\n"
|
||||
# This file should only be readable by root\n\n"
|
||||
# supported directives: host, port, ssl, ldap_version\n"
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug\n"
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key
|
||||
EOF
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
keepdir /var/db/sudo
|
||||
fperms 0700 /var/db/sudo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ldap; then
|
||||
ewarn
|
||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if egrep -q '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in /etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
@ -1,187 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.8.2-r1.ebuild,v 1.5 2012/01/22 15:35:39 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils pam multilib libtool
|
||||
|
||||
MY_P=${P/_/}
|
||||
MY_P=${MY_P/beta/b}
|
||||
|
||||
case "${P}" in
|
||||
*_beta* | *_rc*)
|
||||
uri_prefix=beta/
|
||||
;;
|
||||
*)
|
||||
uri_prefix=""
|
||||
;;
|
||||
esac
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="http://www.sudo.ws/"
|
||||
SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="as-is BSD"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ~ppc ~ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="pam offensive ldap selinux skey"
|
||||
|
||||
DEPEND="pam? ( virtual/pam )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
dev-libs/cyrus-sasl
|
||||
)
|
||||
>=app-misc/editor-wrapper-3
|
||||
sys-libs/zlib
|
||||
virtual/editor
|
||||
virtual/mta"
|
||||
RDEPEND="selinux? ( sec-policy/selinux-sudo )
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
${DEPEND}"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
REQUIRED_USE="pam? ( !skey ) skey? ( !pam )"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-parallel-build.patch
|
||||
epatch "${FILESDIR}"/${P}-fix-pwutil-alignment.patch
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local line ROOTPATH
|
||||
|
||||
# FIXME: secure_path is a compile time setting. using ROOTPATH
|
||||
# is not perfect, env-update may invalidate this, but until it
|
||||
# is available as a sudoers setting this will have to do.
|
||||
einfo "Setting secure_path..."
|
||||
|
||||
# why not use grep? variable might be expanded from other variables
|
||||
# declared in that file. cannot just source the file, would override
|
||||
# any variables already set.
|
||||
eval `PS4= bash -x /etc/profile.env 2>&1 | \
|
||||
while read line; do
|
||||
case $line in
|
||||
ROOTPATH=*) echo $line; break;;
|
||||
*) continue;;
|
||||
esac
|
||||
done` && einfo " Found ROOTPATH..." || \
|
||||
ewarn " Failed to find ROOTPATH, please report this."
|
||||
|
||||
# remove duplicate path entries from $1
|
||||
cleanpath() {
|
||||
local i=1 x n IFS=:
|
||||
local -a paths; paths=($1)
|
||||
|
||||
for ((n=${#paths[*]}-1;i<=n;i++)); do
|
||||
for ((x=0;x<i;x++)); do
|
||||
test "${paths[i]}" == "${paths[x]}" && {
|
||||
einfo " Duplicate entry ${paths[i]} removed..." 1>&2
|
||||
unset paths[i]; continue 2; }
|
||||
done; # einfo " Adding ${paths[i]}..." 1>&2
|
||||
done; echo "${paths[*]}"
|
||||
}
|
||||
|
||||
ROOTPATH=$(cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}})
|
||||
|
||||
# strip gcc path (bug #136027)
|
||||
rmpath() {
|
||||
declare e newpath oldpath=${!1} PATHvar=$1 thisp IFS=:
|
||||
shift
|
||||
for thisp in $oldpath; do
|
||||
for e; do [[ $thisp == $e ]] && continue 2; done
|
||||
newpath=$newpath:$thisp
|
||||
done
|
||||
eval $PATHvar='${newpath#:}'
|
||||
}
|
||||
|
||||
rmpath ROOTPATH '*/gcc-bin/*'
|
||||
rmpath ROOTPATH '*/gnat-gcc-bin/*'
|
||||
rmpath ROOTPATH '*/gnat-gcc/*'
|
||||
|
||||
einfo "...done."
|
||||
|
||||
# audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. — Diego
|
||||
econf \
|
||||
--enable-zlib=system \
|
||||
--with-secure-path="${ROOTPATH}" \
|
||||
--with-editor=/usr/libexec/editor \
|
||||
--with-env-editor \
|
||||
$(use_with offensive insults) \
|
||||
$(use_with offensive all-insults) \
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with skey) \
|
||||
--without-opie \
|
||||
--without-linux-audit \
|
||||
--with-timedir=/var/db/sudo \
|
||||
--with-plugindir=/usr/$(get_libdir)/sudo \
|
||||
--docdir=/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
if use ldap; then
|
||||
dodoc README.LDAP doc/schema.OpenLDAP
|
||||
dosbin plugins/sudoers/sudoers2ldif
|
||||
|
||||
cat - > "${T}"/ldap.conf.sudo <<EOF
|
||||
# See ldap.conf(5) and README.LDAP for details\n"
|
||||
# This file should only be readable by root\n\n"
|
||||
# supported directives: host, port, ssl, ldap_version\n"
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug\n"
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key
|
||||
EOF
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
keepdir /var/db/sudo
|
||||
fperms 0700 /var/db/sudo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ldap; then
|
||||
ewarn
|
||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if egrep -q '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in /etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
@ -1,177 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.8.3_p1-r2.ebuild,v 1.2 2011/12/13 20:38:16 swift Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils pam multilib libtool
|
||||
|
||||
MY_P=${P/_/}
|
||||
MY_P=${MY_P/beta/b}
|
||||
|
||||
uri_prefix=
|
||||
case ${P} in
|
||||
*_beta*|*_rc*) uri_prefix=beta/ ;;
|
||||
esac
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="http://www.sudo.ws/"
|
||||
SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="as-is BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="pam offensive ldap selinux skey"
|
||||
|
||||
DEPEND="pam? ( virtual/pam )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
dev-libs/cyrus-sasl
|
||||
)
|
||||
>=app-misc/editor-wrapper-3
|
||||
sys-libs/zlib
|
||||
virtual/editor
|
||||
virtual/mta"
|
||||
RDEPEND="selinux? ( sec-policy/selinux-sudo )
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
${DEPEND}"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
REQUIRED_USE="pam? ( !skey ) skey? ( !pam )"
|
||||
|
||||
MAKEOPTS+=" SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-linguas.patch
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
set_rootpath() {
|
||||
# FIXME: secure_path is a compile time setting. using ROOTPATH
|
||||
# is not perfect, env-update may invalidate this, but until it
|
||||
# is available as a sudoers setting this will have to do.
|
||||
einfo "Setting secure_path ..."
|
||||
|
||||
# first extract the default ROOTPATH from build env
|
||||
ROOTPATH=$(unset ROOTPATH; . /etc/profile.env; echo "${ROOTPATH}")
|
||||
if [[ -z ${ROOTPATH} ]] ; then
|
||||
ewarn " Failed to find ROOTPATH, please report this"
|
||||
fi
|
||||
|
||||
# then remove duplicate path entries
|
||||
cleanpath() {
|
||||
local newpath thisp IFS=:
|
||||
for thisp in $1 ; do
|
||||
if [[ :${newpath}: != *:${thisp}:* ]] ; then
|
||||
newpath+=:$thisp
|
||||
else
|
||||
einfo " Duplicate entry ${thisp} removed..."
|
||||
fi
|
||||
done
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}}
|
||||
|
||||
# finally, strip gcc paths #136027
|
||||
rmpath() {
|
||||
local e newpath thisp IFS=:
|
||||
for thisp in ${ROOTPATH} ; do
|
||||
for e ; do [[ $thisp == $e ]] && continue 2 ; done
|
||||
newpath+=:$thisp
|
||||
done
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
||||
|
||||
einfo "... done"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local ROOTPATH
|
||||
set_rootpath
|
||||
|
||||
# audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. - Diego
|
||||
# plugindir: autoconf code is crappy and does not delay evaluation
|
||||
# until `make` time, so we have to use a full path here rather than
|
||||
# basing off other values.
|
||||
econf \
|
||||
--enable-zlib=system \
|
||||
--with-secure-path="${ROOTPATH}" \
|
||||
--with-editor=/usr/libexec/editor \
|
||||
--with-env-editor \
|
||||
$(use_with offensive insults) \
|
||||
$(use_with offensive all-insults) \
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with skey) \
|
||||
$(use_with selinux) \
|
||||
--without-opie \
|
||||
--without-linux-audit \
|
||||
--with-timedir=/var/db/sudo \
|
||||
--with-plugindir=/usr/$(get_libdir)/sudo \
|
||||
--docdir=/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
if use ldap ; then
|
||||
dodoc README.LDAP doc/schema.OpenLDAP
|
||||
dosbin plugins/sudoers/sudoers2ldif
|
||||
|
||||
cat <<-EOF > "${T}"/ldap.conf.sudo
|
||||
# See ldap.conf(5) and README.LDAP for details
|
||||
# This file should only be readable by root
|
||||
|
||||
# supported directives: host, port, ssl, ldap_version
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key
|
||||
EOF
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
keepdir /var/db/sudo
|
||||
fperms 0700 /var/db/sudo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ldap ; then
|
||||
ewarn
|
||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in /etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
@ -1,185 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.8.3_p1.ebuild,v 1.1 2011/10/28 14:36:52 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils pam multilib libtool
|
||||
|
||||
MY_P=${P/_/}
|
||||
MY_P=${MY_P/beta/b}
|
||||
|
||||
case "${P}" in
|
||||
*_beta* | *_rc*)
|
||||
uri_prefix=beta/
|
||||
;;
|
||||
*)
|
||||
uri_prefix=""
|
||||
;;
|
||||
esac
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="http://www.sudo.ws/"
|
||||
SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="as-is BSD"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="pam offensive ldap selinux skey"
|
||||
|
||||
DEPEND="pam? ( virtual/pam )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
dev-libs/cyrus-sasl
|
||||
)
|
||||
>=app-misc/editor-wrapper-3
|
||||
sys-libs/zlib
|
||||
virtual/editor
|
||||
virtual/mta"
|
||||
RDEPEND="selinux? ( sec-policy/selinux-sudo )
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
${DEPEND}"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
REQUIRED_USE="pam? ( !skey ) skey? ( !pam )"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local line ROOTPATH
|
||||
|
||||
# FIXME: secure_path is a compile time setting. using ROOTPATH
|
||||
# is not perfect, env-update may invalidate this, but until it
|
||||
# is available as a sudoers setting this will have to do.
|
||||
einfo "Setting secure_path..."
|
||||
|
||||
# why not use grep? variable might be expanded from other variables
|
||||
# declared in that file. cannot just source the file, would override
|
||||
# any variables already set.
|
||||
eval `PS4= bash -x /etc/profile.env 2>&1 | \
|
||||
while read line; do
|
||||
case $line in
|
||||
ROOTPATH=*) echo $line; break;;
|
||||
*) continue;;
|
||||
esac
|
||||
done` && einfo " Found ROOTPATH..." || \
|
||||
ewarn " Failed to find ROOTPATH, please report this."
|
||||
|
||||
# remove duplicate path entries from $1
|
||||
cleanpath() {
|
||||
local i=1 x n IFS=:
|
||||
local -a paths; paths=($1)
|
||||
|
||||
for ((n=${#paths[*]}-1;i<=n;i++)); do
|
||||
for ((x=0;x<i;x++)); do
|
||||
test "${paths[i]}" == "${paths[x]}" && {
|
||||
einfo " Duplicate entry ${paths[i]} removed..." 1>&2
|
||||
unset paths[i]; continue 2; }
|
||||
done; # einfo " Adding ${paths[i]}..." 1>&2
|
||||
done; echo "${paths[*]}"
|
||||
}
|
||||
|
||||
ROOTPATH=$(cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}})
|
||||
|
||||
# strip gcc path (bug #136027)
|
||||
rmpath() {
|
||||
declare e newpath oldpath=${!1} PATHvar=$1 thisp IFS=:
|
||||
shift
|
||||
for thisp in $oldpath; do
|
||||
for e; do [[ $thisp == $e ]] && continue 2; done
|
||||
newpath=$newpath:$thisp
|
||||
done
|
||||
eval $PATHvar='${newpath#:}'
|
||||
}
|
||||
|
||||
rmpath ROOTPATH '*/gcc-bin/*'
|
||||
rmpath ROOTPATH '*/gnat-gcc-bin/*'
|
||||
rmpath ROOTPATH '*/gnat-gcc/*'
|
||||
|
||||
einfo "...done."
|
||||
|
||||
# audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. — Diego
|
||||
econf \
|
||||
--enable-zlib=system \
|
||||
--with-secure-path="${ROOTPATH}" \
|
||||
--with-editor=/usr/libexec/editor \
|
||||
--with-env-editor \
|
||||
$(use_with offensive insults) \
|
||||
$(use_with offensive all-insults) \
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with skey) \
|
||||
--without-opie \
|
||||
--without-linux-audit \
|
||||
--with-timedir=/var/db/sudo \
|
||||
--with-plugindir=/usr/$(get_libdir)/sudo \
|
||||
--docdir=/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
if use ldap; then
|
||||
dodoc README.LDAP doc/schema.OpenLDAP
|
||||
dosbin plugins/sudoers/sudoers2ldif
|
||||
|
||||
cat - > "${T}"/ldap.conf.sudo <<EOF
|
||||
# See ldap.conf(5) and README.LDAP for details\n"
|
||||
# This file should only be readable by root\n\n"
|
||||
# supported directives: host, port, ssl, ldap_version\n"
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug\n"
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key
|
||||
EOF
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
keepdir /var/db/sudo
|
||||
fperms 0700 /var/db/sudo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ldap; then
|
||||
ewarn
|
||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if egrep -q '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in /etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
@ -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-admin/sudo/sudo-1.8.4_p1.ebuild,v 1.1 2012/02/21 20:23:33 flameeyes Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.8.4_p4.ebuild,v 1.1 2012/03/13 16:22:55 flameeyes Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST lzma465.tar.bz2 288122 RMD160 70953d4ee8542addf566953e0ed62e9c75a016b5 SHA1 5ec1c4606fec88c770a9712073e83916f8aed173 SHA256 c935fd04dd8e0e8c688a3078f3675d699679a90be81c12686837e0880aa0fa1e
|
||||
DIST upx-3.04-src.tar.bz2 782454 RMD160 066103c97aa3a624af2903f3e23fb0fe952bffb7 SHA1 76e509efb52e1b891e929601f7cb8acbe349445e SHA256 69b8652f316085628c6136a561a1ebc43f7986fba099dda2556e07e1d4977d97
|
||||
DIST upx-3.07-src.tar.bz2 859362 RMD160 b0b0c01ddf3d958c5c3405106e70c7cd37f148bb SHA1 53692fa1662c4d6be0110e8b7976ab2f9cc6701e SHA256 7a9dcb8a39d1fcff54bdc75c3633fe39d48989f81c3fb82b1947817eac7cec1e
|
||||
DIST upx-3.08-src.tar.bz2 877691 RMD160 3fd7b3c4c66a90ddd622b5fb0ba0502c7145da62 SHA1 5ccbc0aacfd3aaee407eceab06ec5989bf1d153a SHA256 c6d873925ef0d5422b9320c7075ef9be5981a6f99418469ce067becd68de65eb
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-ucl/upx-ucl-3.04.ebuild,v 1.1 2010/03/20 04:07:10 matsuu Exp $
|
||||
|
||||
EAPI="2"
|
||||
inherit eutils toolchain-funcs flag-o-matic
|
||||
|
||||
LZMA_VER=465
|
||||
#LZMA_VER=911
|
||||
MY_P="${P/-ucl/}-src"
|
||||
DESCRIPTION="upx is the Ultimate Packer for eXecutables."
|
||||
HOMEPAGE="http://upx.sourceforge.net"
|
||||
SRC_URI="http://upx.sourceforge.net/download/${MY_P}.tar.bz2
|
||||
mirror://sourceforge/sevenzip/lzma${LZMA_VER}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/ucl-1.02
|
||||
dev-lang/perl
|
||||
!app-arch/upx"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_compile() {
|
||||
#[ "$(tc-endian)" -eq "big" ] && append-flags "-D__BIG_ENDIAN__"
|
||||
use sparc && append-flags "-D__BIG_ENDIAN__"
|
||||
|
||||
tc-export CXX
|
||||
emake UPX_LZMADIR="${WORKDIR}" all || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin src/upx.out upx || die
|
||||
|
||||
dodoc BUGS NEWS PROJECTS README* THANKS TODO doc/upx.doc doc/*.txt || die
|
||||
dohtml doc/upx.html || die
|
||||
doman doc/upx.1 || die
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-ucl/upx-ucl-3.08.ebuild,v 1.1 2012/03/14 04:43:07 patrick Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils toolchain-funcs flag-o-matic
|
||||
|
||||
LZMA_VER=465
|
||||
#LZMA_VER=920
|
||||
MY_P="${P/-ucl}-src"
|
||||
DESCRIPTION="Ultimate Packer for eXecutables (free version using UCL compression and not NRV)"
|
||||
HOMEPAGE="http://upx.sourceforge.net/"
|
||||
SRC_URI="http://upx.sourceforge.net/download/${MY_P}.tar.bz2
|
||||
lzma? ( mirror://sourceforge/sevenzip/lzma${LZMA_VER}.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="lzma zlib"
|
||||
|
||||
RDEPEND=">=dev-libs/ucl-1.02
|
||||
!app-arch/upx
|
||||
!app-arch/upx-bin"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
use zlib && append-cppflags -DWITH_ZLIB=1
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CXX
|
||||
emake UPX_LZMADIR="${WORKDIR}" all || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin src/upx.out upx || die
|
||||
dodoc BUGS NEWS PROJECTS README* THANKS TODO doc/*.txt
|
||||
dohtml doc/upx.html || die
|
||||
doman doc/upx.1 || die
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST p11-kit-0.10.tar.gz 528279 RMD160 f305a865b4d267b79abb183965704ae406e357ae SHA1 861e8d19a2c578ef8009c8ac93975db9884bb002 SHA256 9646149022bd39c3d3f72f361a917a36f6a5dd09175824d13c36daf4697e8e36
|
||||
DIST p11-kit-0.11.tar.gz 528575 RMD160 d3f931570e7d575e2753b79c8168022fed1da005 SHA1 50983f9d70930f739f93e5e626580c8781d886cf SHA256 04f14e0d378e4bb8e220fcacd1d24e26371f96ff8374f3254e6f0b3f71d0ddb4
|
||||
DIST p11-kit-0.9.tar.gz 526395 RMD160 bfffaa7cdeac0529afcc77950c2a2d33990cf1ca SHA1 214bd4e0d99ed7c8f448efdb1583f61a0dba1015 SHA256 96486f971111f976743be05f2f88b75ced7f14954fad42861b54480c889c66d0
|
||||
DIST p11-kit-0.12.tar.gz 533549 RMD160 aebd003c4a5427a3fd776b2de61ff26456785d42 SHA1 25671198425b8055024067b3cc469a8d955581b0 SHA256 4db792def545a3c8ae12e7e4ef166d7620cb445c00a5a984ab7c4a3b35f0be00
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/p11-kit/p11-kit-0.9.ebuild,v 1.3 2011/11/28 02:26:55 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="Provides a standard configuration setup for installing PKCS#11."
|
||||
HOMEPAGE="http://p11-glue.freedesktop.org/p11-kit.html"
|
||||
SRC_URI="http://p11-glue.freedesktop.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable debug)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST html526.tar.gz 542192666 RMD160 3d7ff4da3731ee8321fd6c37dfff806e722bda1a SHA1 c74de77e097006459d01120a474f1d63215bab59 SHA256 9e5e9d10e93cb8be6b6e0dc63b0bc4848c2b9762459102be205d9269f81748d9
|
||||
DIST html528.tar.gz 1145194061 RMD160 f5d837d764e047898a1be6b163e14824e262e8c8 SHA1 605f1e8bf561bb62ae157020c6af331b1619844b SHA256 424ea6ec6fd1606c27379cf56f63ab52a99b7e3ac3b98f8b08a50841069ade5a
|
||||
DIST html532.tar.gz 868144440 RMD160 6de2c739cc7c56923338d34547d19258ccae13db SHA1 d2ca8298ca85067bac28609432c020e53168478b SHA256 9797ffc762acbe121a1be903a03de08b9e2254f7cae673cd9bf59664c6135108
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.32.ebuild,v 1.1 2012/03/13 17:15:19 bicatali Exp $
|
||||
|
||||
EAPI=3
|
||||
inherit versionator
|
||||
|
||||
DESCRIPTION="An Object-Oriented Data Analysis Framework"
|
||||
MYP=html$(replace_version_separator 1 '')
|
||||
|
||||
SRC_URI="ftp://root.cern.ch/root/${MYP}.tar.gz"
|
||||
HOMEPAGE="http://root.cern.ch/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="as-is"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S=${WORKDIR}/htmldoc
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
# use mv, there is too much to copy
|
||||
mv ${MYP}/* "${ED}"/usr/share/doc/${PF}/
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ht-2.0.18.tar.bz2 884293 RMD160 c486e436d2f5c24830e4e0ba7da83b5fe46a5d5b SHA1 f4e51dae47f8f2a2fe34883714890e9d1c48d3de SHA256 39370538e3352eac9a662d5e4d44e569dcd41f96ef026ac775da3fe4f88af4d4
|
||||
DIST ht-2.0.19.tar.bz2 900748 RMD160 2cfd8af3e9d73fd5c7bf9049960d2530baac183d SHA1 08cc1d82b74ea646e308e7b9629b03b5b79ca419 SHA256 89f9f36ce4dacc6965575b85510f4b90a230f3aea839a5e34977ae3c73de8eae
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/hteditor/hteditor-2.0.19.ebuild,v 1.1 2012/03/14 04:48:53 patrick Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
MY_P=${P/editor}
|
||||
|
||||
DESCRIPTION="A file viewer, editor and analyzer for text, binary, and executable files"
|
||||
HOMEPAGE="http://hte.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/hte/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
X? ( x11-libs/libX11 )
|
||||
>=dev-libs/lzo-2"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/bison
|
||||
sys-devel/flex"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/FLAGS_ALL/s:-ggdb -g3 -O0::' \
|
||||
configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable X x11-textmode) \
|
||||
--disable-release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog KNOWNBUGS README TODO
|
||||
dohtml doc/*.html
|
||||
doinfo doc/*.info
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/qxmledit-0.8.0.ebuild,v 1.1 2012/03/12 21:06:35 hwoarang Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib qt4-r2
|
||||
|
||||
MY_P="qxmledit-${PV}-src"
|
||||
|
||||
DESCRIPTION="Qt4 XML Editor"
|
||||
HOMEPAGE="http://code.google.com/p/qxmledit/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="x11-libs/qt-core:4
|
||||
x11-libs/qt-gui:4
|
||||
x11-libs/qt-svg:4
|
||||
x11-libs/qt-xmlpatterns:4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS="AUTHORS NEWS README TODO"
|
||||
DOCSDIR="${WORKDIR}/${P}/"
|
||||
|
||||
src_prepare() {
|
||||
# fix doc dir
|
||||
sed -i "/^INST_DOC_DIR/ s|/opt/${PN}|/usr/share/doc/${PF}|" src/QXmlEdit.pro || \
|
||||
die "failed to fix installation path"
|
||||
# fix installation path
|
||||
sed -i "/^INST_DIR/ s|/opt/${PN}|/usr/bin|" src/QXmlEdit.pro || \
|
||||
die "failed to fix installation path"
|
||||
# fix widget library
|
||||
sed -i "/^INST_DIR/ s|/opt/${PN}|/usr/$(get_libdir)|" \
|
||||
src/QXmlEditWidget.pro || die "failed to fix library installation path"
|
||||
# fix translations
|
||||
sed -i "/^INST_DATA_DIR/ s|/opt|/usr/share|" src/QXmlEdit{,Widget}.pro || \
|
||||
die "failed to fix translations"
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt4-r2_src_install
|
||||
newicon src/images/icon.png ${PN}.png
|
||||
make_desktop_entry QXmlEdit QXmlEdit ${PN} "Qt;Utility;TextEditor"
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
diff --git a/ChangeLog b/ChangeLog
|
||||
index 54255e0..0a9f20b 100644
|
||||
--- a/ChangeLog
|
||||
+++ b/ChangeLog
|
||||
@@ -1,3 +1,8 @@
|
||||
+2011-05-07 Naohiro Aota <naota@elisp.net>
|
||||
+
|
||||
+ * test/test-twittering-mode.el (test-toggle-proxy): Improve proxy
|
||||
+ test.
|
||||
+
|
||||
2011-05-06 Tadashi MATSUO <tad@mymail.twin.jp>
|
||||
|
||||
* twittering-mode.el: Replace the symbol `us-ascii' for a
|
||||
diff --git a/test/test-twittering-mode.el b/test/test-twittering-mode.el
|
||||
index a686cf9..2b8eff6 100644
|
||||
--- a/test/test-twittering-mode.el
|
||||
+++ b/test/test-twittering-mode.el
|
||||
@@ -17,7 +17,13 @@
|
||||
(test-assert-eq nil (assocref 'quxx '((baz . qux) (foo . bar)))))
|
||||
|
||||
(defcase test-toggle-proxy nil nil
|
||||
- (setq twittering-proxy-use nil)
|
||||
+ (setq twittering-proxy-use nil
|
||||
+ twittering-http-proxy-server nil
|
||||
+ twittering-http-proxy-port nil)
|
||||
+ (twittering-toggle-proxy)
|
||||
+ (test-assert-ok (not twittering-proxy-use))
|
||||
+ (setq twittering-http-proxy-server "proxy.example.com"
|
||||
+ twittering-http-proxy-port 8080)
|
||||
(twittering-toggle-proxy)
|
||||
(test-assert-ok twittering-proxy-use)
|
||||
(twittering-toggle-proxy)
|
||||
@@ -565,4 +571,4 @@
|
||||
access-token access-token-secret
|
||||
oauth-params))
|
||||
"OAuth oauth_nonce=\"oElnnMTQIZvqvlfXM56aBLAf5noGD0AQR3Fmi7Q6Y\",oauth_signature_method=\"HMAC-SHA1\",oauth_timestamp=\"1272325550\",oauth_consumer_key=\"GDdmIQH6jhtmLUypg82g\",oauth_token=\"819797-Jxq8aYUDRmykzVKrgoLhXSq67TEa5ruc4GJC2rWimw\",oauth_version=\"1.0\",oauth_signature=\"yOahq5m0YjDDjfjxHaXEsW9D%2BX0%3D\"")
|
||||
- )
|
||||
\ No newline at end of file
|
||||
+ )
|
@ -1,30 +0,0 @@
|
||||
Fix build failure caused by KVM-specific code in arches not supporting KVM:
|
||||
LINK alpha-softmmu/qemu-system-alpha
|
||||
i8259.o: In function `kvm_i8259_set_irq':
|
||||
/tmp/portage/app-emulation/qemu-kvm-9999/work/qemu-kvm-9999/hw/i8259.c:689: undefined reference to `apic_set_irq_delivered'
|
||||
diff --git a/hw/i8259.c b/hw/i8259.c
|
||||
index 21a4efc..bb3bb18 100644
|
||||
--- a/hw/i8259.c
|
||||
+++ b/hw/i8259.c
|
||||
@@ -21,6 +21,7 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
+#include "apic.h"
|
||||
#include "hw.h"
|
||||
#include "pc.h"
|
||||
#include "isa.h"
|
||||
@@ -591,11 +592,13 @@ static int kvm_kernel_pic_load_from_user(PICCommonState *s)
|
||||
|
||||
static void kvm_i8259_set_irq(void *opaque, int irq, int level)
|
||||
{
|
||||
+#ifdef CONFIG_KVM
|
||||
int pic_ret;
|
||||
if (kvm_set_irq(irq, level, &pic_ret)) {
|
||||
apic_report_irq_delivered(pic_ret);
|
||||
return;
|
||||
}
|
||||
+#endif
|
||||
}
|
||||
|
||||
device_init(pic_register)
|
@ -0,0 +1,86 @@
|
||||
diff --git a/vmnet-only/filter.c b/vmnet-only/filter.c
|
||||
index 491add5..74f7a3b 100644
|
||||
--- a/vmnet-only/filter.c
|
||||
+++ b/vmnet-only/filter.c
|
||||
@@ -40,6 +40,10 @@
|
||||
#include "vnetInt.h"
|
||||
#include "vmnetInt.h"
|
||||
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0)
|
||||
+#include <linux/export.h>
|
||||
+#endif
|
||||
+
|
||||
// VNet_FilterLogPacket.action for dropped packets
|
||||
#define VNET_FILTER_ACTION_DRP (1)
|
||||
#define VNET_FILTER_ACTION_DRP_SHORT (2)
|
||||
diff --git a/vmnet-only/netif.c b/vmnet-only/netif.c
|
||||
index 4bdb643..5b71339 100644
|
||||
--- a/vmnet-only/netif.c
|
||||
+++ b/vmnet-only/netif.c
|
||||
@@ -62,7 +62,9 @@ static int VNetNetifClose(struct net_device *dev);
|
||||
static int VNetNetifStartXmit(struct sk_buff *skb, struct net_device *dev);
|
||||
static struct net_device_stats *VNetNetifGetStats(struct net_device *dev);
|
||||
static int VNetNetifSetMAC(struct net_device *dev, void *addr);
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 2, 0)
|
||||
static void VNetNetifSetMulticast(struct net_device *dev);
|
||||
+#endif
|
||||
#if 0
|
||||
static void VNetNetifTxTimeout(struct net_device *dev);
|
||||
#endif
|
||||
@@ -131,7 +133,9 @@ VNetNetIfSetup(struct net_device *dev) // IN:
|
||||
.ndo_stop = VNetNetifClose,
|
||||
.ndo_get_stats = VNetNetifGetStats,
|
||||
.ndo_set_mac_address = VNetNetifSetMAC,
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 2, 0)
|
||||
.ndo_set_multicast_list = VNetNetifSetMulticast,
|
||||
+#endif
|
||||
/*
|
||||
* We cannot stuck... If someone will report problems under
|
||||
* low memory conditions or some such, we should enable it.
|
||||
@@ -152,7 +156,9 @@ VNetNetIfSetup(struct net_device *dev) // IN:
|
||||
dev->stop = VNetNetifClose;
|
||||
dev->get_stats = VNetNetifGetStats;
|
||||
dev->set_mac_address = VNetNetifSetMAC;
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 2, 0)
|
||||
dev->set_multicast_list = VNetNetifSetMulticast;
|
||||
+#endif
|
||||
/*
|
||||
* We cannot stuck... If someone will report problems under
|
||||
* low memory conditions or some such, we should enable it.
|
||||
@@ -612,11 +618,12 @@ VNetNetifSetMAC(struct net_device *dev, // IN:
|
||||
*----------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 2, 0)
|
||||
void
|
||||
VNetNetifSetMulticast(struct net_device *dev) // IN: unused
|
||||
{
|
||||
}
|
||||
-
|
||||
+#endif
|
||||
|
||||
/*
|
||||
*----------------------------------------------------------------------
|
||||
diff --git a/vmnet-only/userif.c b/vmnet-only/userif.c
|
||||
index 541187b..77e0089 100644
|
||||
--- a/vmnet-only/userif.c
|
||||
+++ b/vmnet-only/userif.c
|
||||
@@ -517,10 +517,18 @@ VNetCsumCopyDatagram(const struct sk_buff *skb, // IN: skb to copy
|
||||
unsigned int tmpCsum;
|
||||
const void *vaddr;
|
||||
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0)
|
||||
+ vaddr = kmap(skb_frag_page(frag));
|
||||
+#else
|
||||
vaddr = kmap(frag->page);
|
||||
+#endif
|
||||
tmpCsum = csum_and_copy_to_user(vaddr + frag->page_offset,
|
||||
curr, frag->size, 0, &err);
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0)
|
||||
+ kunmap(skb_frag_page(frag));
|
||||
+#else
|
||||
kunmap(frag->page);
|
||||
+#endif
|
||||
if (err) {
|
||||
return err;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST fcitx-configtool-0.1.4.tar.gz 234329 RMD160 3baa5dd74f5d331f2183f9444ac050d97f72f63f SHA1 01de43eb9fb8b7869e273205977d501b924b7c98 SHA256 9b69fa0a3fae57573729a3dde666baf03144fa3582c620f56f4bb0074bc717c3
|
||||
DIST fcitx-configtool-0.2.0.tar.gz 37435 RMD160 e40e9563160f9b8c9accc0da3b1b48411a58a184 SHA1 b670a171f49ed149098589f10db3bbf7dd546af5 SHA256 2c309f2df500cf7c1b0d13b446a69e3513a11588025a2f648b18b684cc2320fe
|
||||
DIST fcitx-configtool-0.3.1.tar.bz2 22323 RMD160 4a55a3b229e5b5c733654d1d3791d71a1f27d988 SHA1 26dcf97d705a565e2a803028fa04b3fec834a460 SHA256 60a2596ca3c36d0c98398d36d4eb5f1f03992133a782ae15cb39f66131aeaa3e
|
||||
DIST fcitx-configtool-0.4.0.tar.bz2 32124 RMD160 1d9b2983870e0b5314757a8c289027b2ad4259c9 SHA1 18636ad077e71533b0436a42db1dab4dcde4db9a SHA256 580a531838c27a1446d1b8ad33d84e44fa729c1b178deff4b9736d316d754640
|
||||
DIST fcitx-configtool-0.4.1.tar.xz 33608 RMD160 d67837b2b6a81fbbd71e053b82f31d3dce65a52d SHA1 1c11a350536afe66233b8bc6f1c16acb82292b42 SHA256 7135d8ec94589f7c55741908a3292c8cf89c097479061b3a47ce4154d3a305c9
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST ibus-pinyin-1.3.99.20110706.tar.gz 1795648 RMD160 17c390783e83bb1b3185fd1701123b425551c607 SHA1 0eac27212045fe0aa8d2f92771ad7120c4186bb3 SHA256 5b46156fa40e33034f7e754806f0014ec8510dc5a67e1f3a5679fd727c0d54a1
|
||||
DIST ibus-pinyin-1.4.0.tar.gz 1813003 RMD160 b1c540225e2204ebade5cfa527305898807c4dbf SHA1 499ceb4d3bec5614f88322b8e7695c04586b63e9 SHA256 4fcaef6ac0533945c7feb4cb36fc72c102aae63b3fb4cbf338cdcc816182c24a
|
||||
DIST pinyin-database-1.2.99.tar.bz2 9977983 RMD160 1679567f31c20a235577f02175df38e16a05e7de SHA1 e38a148a772e9909facda66b2d579e17b94cccbe SHA256 32c7d07b9f41e1dfc0f9008f54eca8e6cb367e7f2b19ac94c49754442694c321
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.4.0.ebuild,v 1.1 2012/03/13 14:24:55 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
PYTHON_USE_WITH="sqlite"
|
||||
|
||||
inherit python
|
||||
|
||||
PYDB_TAR="pinyin-database-1.2.99.tar.bz2"
|
||||
DESCRIPTION="Chinese PinYin IMEngine for IBus Framework"
|
||||
HOMEPAGE="http://code.google.com/p/ibus/"
|
||||
SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz
|
||||
http://ibus.googlecode.com/files/${PYDB_TAR}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="boost lua nls opencc"
|
||||
|
||||
RDEPEND=">=app-i18n/ibus-1.4
|
||||
sys-apps/util-linux
|
||||
boost? ( >=dev-libs/boost-1.39 )
|
||||
lua? ( >=dev-lang/lua-5.1 )
|
||||
nls? ( virtual/libintl )
|
||||
opencc? ( app-i18n/opencc )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.16.1 )"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp "${DISTDIR}"/${PYDB_TAR} data/db/open-phrase/ || die
|
||||
>py-compile
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable boost) \
|
||||
$(use_enable lua lua-extension) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable opencc) \
|
||||
--enable-db-open-phrase
|
||||
#--disable-db-android \
|
||||
#--disable-english-input-mode \
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/share/${PN}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/${PN}
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST brewtarget_1.2.4.orig.tar.gz 8699961 RMD160 8b98cafad0ff2de79fbb6cada3b37bd31ea8b0e6 SHA1 37789de0c1d6b931b1c17912621441fd121cccfa SHA256 ff18b76c9d3400131f6189289592b50457776bdfa51a15c00ab910e3726a5512
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/brewtarget/brewtarget-1.2.4.ebuild,v 1.1 2012/03/14 00:16:53 pesa Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Application to create and manage beer recipes"
|
||||
HOMEPAGE="http://brewtarget.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 WTFPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="kde"
|
||||
|
||||
DEPEND="
|
||||
>=x11-libs/qt-core-4.6:4
|
||||
>=x11-libs/qt-gui-4.6:4
|
||||
>=x11-libs/qt-svg-4.6:4
|
||||
>=x11-libs/qt-webkit-4.6:4
|
||||
kde? ( media-libs/phonon )
|
||||
!kde? ( || ( >=x11-libs/qt-phonon-4.6:4 media-libs/phonon ) )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PV}-find-phonon.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
|
||||
# Fix docs install path
|
||||
sed -i -e "/DOCDIR / s:\${CMAKE_PROJECT_NAME}:${PF}:" \
|
||||
CMakeLists.txt || die
|
||||
|
||||
# Append missing semicolon to Categories in desktop file
|
||||
sed -i -e '/^Categories=/ s:$:;:' ${PN}.desktop.in || die
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
--- brewtarget-1.2.4.orig/CMakeLists.txt 2012-03-14 00:08:19.969684464 +0100
|
||||
+++ brewtarget-1.2.4/CMakeLists.txt 2012-03-14 00:11:39.289192627 +0100
|
||||
@@ -66,29 +66,28 @@
|
||||
INCLUDE_DIRECTORIES("${CMAKE_BINARY_DIR}/QtDesignerPlugins")
|
||||
|
||||
# ======================Find Qt4 (>= 4.6.0) for this project===================
|
||||
-SET( EXT_LIBS "" )
|
||||
-
|
||||
IF( ${BUILD_DESIGNER_PLUGINS} )
|
||||
- FIND_PACKAGE(Qt4 4.6.0 COMPONENTS QtCore QtGui QtNetwork QtSvg QtWebKit QtXml Phonon QtDesigner REQUIRED)
|
||||
+ FIND_PACKAGE(Qt4 4.6.0 COMPONENTS QtCore QtGui QtNetwork QtSvg QtWebKit QtXml QtDesigner REQUIRED)
|
||||
ELSE()
|
||||
- FIND_PACKAGE(Qt4 4.6.0 COMPONENTS QtCore QtGui QtNetwork QtSvg QtWebkit QtXml Phonon REQUIRED)
|
||||
+ FIND_PACKAGE(Qt4 4.6.0 COMPONENTS QtCore QtGui QtNetwork QtSvg QtWebkit QtXml REQUIRED)
|
||||
ENDIF()
|
||||
|
||||
MESSAGE( STATUS "CMAKE_SYSTEM_INCLUDE_PATH: ${CMAKE_SYSTEM_INCLUDE_PATH}" )
|
||||
|
||||
# Some distros seem to treat Qt and Phonon as separate, so try to find Phonon.
|
||||
IF( NOT QT_PHONON_FOUND )
|
||||
- MESSAGE( STATUS "Phonon not found as a part of Qt; trying another approach." )
|
||||
-
|
||||
- FIND_LIBRARY( EXT_PHONON_LIB phonon )
|
||||
- FIND_PATH( EXT_PHONON_PATH "mediaobject.h" )
|
||||
+ FIND_LIBRARY( EXT_PHONON_LIB phonon
|
||||
+ PATHS /usr/lib64/qt4 )
|
||||
+ FIND_PATH( EXT_PHONON_PATH "mediaobject.h"
|
||||
+ PATHS /usr/include/phonon
|
||||
+ /usr/include/qt4/phonon )
|
||||
|
||||
IF( EXISTS ${EXT_PHONON_LIB} AND EXISTS ${EXT_PHONON_PATH} )
|
||||
MESSAGE( STATUS "Hooray! Phonon found." )
|
||||
MESSAGE( STATUS "Phonon dir: ${EXT_PHONON_PATH}")
|
||||
MESSAGE( STATUS "Phonon lib: ${EXT_PHONON_LIB}")
|
||||
|
||||
- SET( EXT_LIBS ${EXT_LIBS} ${EXT_PHONON_LIB} )
|
||||
+ SET( EXT_LIBRARIES ${EXT_PHONON_LIB} )
|
||||
INCLUDE_DIRECTORIES( ${EXT_PHONON_PATH} )
|
||||
ELSE()
|
||||
MESSAGE( FATAL_ERROR "Phonon not found. Run cmake again with the option -DCMAKE_PREFIX_PATH=/path/to/phonon" )
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>pesa@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,3 +1,4 @@
|
||||
DIST byobu_5.10.orig.tar.gz 338879 RMD160 a6eae814736b7dc2731efe2919f6ea0bcf9ba67d SHA1 28cd618c6013428d0cbf04e3f7eb26635ed5a54d SHA256 027d48c1fa2b9435dcd732e7e7e03193b1acaad5c59e2b622e02e3a509c78fce
|
||||
DIST byobu_5.15.orig.tar.gz 342512 RMD160 090790e3f1a056d5ef7ee405d770257f120bd5b3 SHA1 e41e7f75bf393aaa42c89ffbf2206ce0aed6c45f SHA256 4fa7de56dfc274a583a4b094f0cd01464f39e206f8083cc7224a880e581e6801
|
||||
DIST byobu_5.16.orig.tar.gz 344159 RMD160 1335051f3e9225acbbfd42e35b79ff546b17721b SHA1 19052c376f10d6c55ec2aa133646484e9d5b4456 SHA256 9b4639b502c6d6e2ad0531690274381768395480d5bece3fae8993c7706535ca
|
||||
DIST byobu_5.5.orig.tar.gz 337042 RMD160 1add14a70722e3edc6542342a8d064458fef9adb SHA1 cecd4541e16b099ff27ce09ee73933d8c36bbbf9 SHA256 d79ec0a931c80b245c83df03c564fb478314ec937339313d95dc3a87b7e1a382
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.16.ebuild,v 1.1 2012/03/13 06:46:20 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="https://launchpad.net/byobu"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
|
||||
RDEPEND="screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )
|
||||
dev-libs/newt"
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs -r 2 .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST cstream-2.7.6.tar.gz 92056 RMD160 acee0a00637bc62485fc6c6574493ef72f73efe5 SHA1 cb59a0926ac4c9d2be624a02f2669ebd19101559 SHA256 f8c33be315e29e4fb20918ad379c5924f5d6f8e665204c49a2c06fa46cd4674a
|
||||
DIST cstream-3.0.0.tar.gz 98286 RMD160 8c4a0243ad69eb0cc6495fddf6a69ddfd727ae46 SHA1 bbffc1722cca7a19633647b4d4e4f2d00c2435d1 SHA256 3261202434d22256bb55fbcbafdfda5fac84c9c1e5589ba2c4ded45d3dad9bfc
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/cstream/cstream-3.0.0.ebuild,v 1.1 2012/03/14 04:52:11 patrick Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="cstream is a general-purpose stream-handling tool like UNIX dd"
|
||||
HOMEPAGE="http://www.cons.org/cracauer/cstream.html"
|
||||
SRC_URI="http://www.cons.org/cracauer/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST nut-17.4.tar.gz 1315621 RMD160 d8333e4448cc71b1b4bfb85e6ba1b36d7a2a4b4e SHA1 31e090a01ee182ce24c1703eb79b544f6da1f4ad SHA256 d6b9b12c2b318173a03e9211c3724ba5091516934dc3bd6727a2de21292f9153
|
||||
DIST nut-17.5.tar.gz 1315564 RMD160 4d37b8d20db239421e5782279da3f49643316b2a SHA1 bf3f165daad114379e99cefd14bd917065d7efc7 SHA256 a9e11b6192fd572bc3a6b8a9a4a1a96f21db2e68e57fe2c4816cddb96f895292
|
||||
|
@ -0,0 +1,86 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-prefix = /usr/local
|
||||
+prefix = /usr
|
||||
libdir = $(prefix)/lib/nut
|
||||
bindir = $(prefix)/bin
|
||||
mandir = $(prefix)/man/man1
|
||||
@@ -8,15 +8,6 @@
|
||||
EXECUTABLE := nut
|
||||
LIBS := -lm
|
||||
|
||||
-FLTK_CONFIG := $(shell fltk-config --version 2>/dev/null)
|
||||
-ifeq ($(FLTK_CONFIG),)
|
||||
-HAVE_FLTK = 0
|
||||
-FLTK_NUT =
|
||||
-else
|
||||
-HAVE_FLTK = 1
|
||||
-FLTK_NUT = fltk/Nut
|
||||
-endif
|
||||
-
|
||||
OS := $(shell uname -s)
|
||||
ifeq ($(OS),HP-UX)
|
||||
CC = cc
|
||||
@@ -26,7 +17,7 @@
|
||||
OPT = -O1
|
||||
endif
|
||||
|
||||
-CFLAGS := $(OPT) -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR)
|
||||
+CFLAGS += -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR)
|
||||
ifeq ($(CC),gcc)
|
||||
CFLAGS += $(OPT) -Wall -fno-inline -ansi
|
||||
endif
|
||||
@@ -36,10 +27,10 @@
|
||||
SOURCE := $(wildcard *.c)
|
||||
OBJS := $(patsubst %.c,%.o,$(SOURCE))
|
||||
|
||||
-all: nut $(FLTK_NUT)
|
||||
+all: nut
|
||||
|
||||
nut: $(OBJS)
|
||||
- $(CC) $(OPT) -o $(EXECUTABLE) $(OBJS) $(LIBS)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(EXECUTABLE) $(OBJS) $(LIBS)
|
||||
|
||||
ifeq ($(HAVE_FLTK),1)
|
||||
$(FLTK_NUT):
|
||||
--- a/fltk/Makefile
|
||||
+++ b/fltk/Makefile
|
||||
@@ -5,24 +5,24 @@
|
||||
NUTDIR := \".nutdb\"
|
||||
FOODDIR := \"$(libdir)\"
|
||||
EXECUTABLE := Nut
|
||||
-LIBS := `fltk-config --ldstaticflags` -lXpm
|
||||
+LIBS := $(shell fltk-config --ldflags) -lXpm
|
||||
|
||||
OS := $(shell uname -s)
|
||||
ifeq ($(OS),HP-UX)
|
||||
CC = cc
|
||||
CXX = /opt/aCC/bin/aCC
|
||||
OPT = -O
|
||||
-LIBS := `fltk-config --ldflags` -lXpm
|
||||
+LIBS := $(shell fltk-config --ldflags) -lXpm
|
||||
else
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
OPT = -Os
|
||||
endif
|
||||
|
||||
-CFLAGS := -I.. `fltk-config --optim --cflags` $(OPT) -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR)
|
||||
+CFLAGS += -I.. $(shell fltk-config --optim --cflags) -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR)
|
||||
|
||||
ifeq ($(CXX),g++)
|
||||
-CFLAGS := -I.. `fltk-config --optim --cflags` -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR) -Wall -fno-inline -ansi
|
||||
+CFLAGS := -I.. $(shell fltk-config --optim --cflags) -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR) -Wall -fno-inline -ansi
|
||||
endif
|
||||
|
||||
CXXFLAGS := $(CFLAGS)
|
||||
@@ -31,7 +31,7 @@
|
||||
OBJS := ../anameal.o ../db.o ../food.o ../meal.o ../options.o ../prtmenu.o ../recmeal.o ../util.o $(patsubst %.cc,%.o,$(SOURCE))
|
||||
|
||||
nut: $(OBJS)
|
||||
- $(CXX) $(OPT) -o $(EXECUTABLE) $(OBJS) $(LIBS)
|
||||
+ $(CXX) $(CFLAGS) $(LDFLAGS) -o $(EXECUTABLE) $(OBJS) $(LIBS)
|
||||
|
||||
deps:
|
||||
makedepend -Y.. ../anameal.c ../db.c ../food.c ../meal.c ../options.c ../prtmenu.c ../recmeal.c ../util.c *.cc >/dev/null 2>&1
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/nut-17.5.ebuild,v 1.1 2012/03/13 11:21:10 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Record what you eat and analyze your nutrient levels"
|
||||
HOMEPAGE="http://nut.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86"
|
||||
IUSE="fltk"
|
||||
|
||||
RDEPEND="
|
||||
fltk? (
|
||||
x11-libs/fltk:1
|
||||
x11-libs/libXpm
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-17.5-makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) FOODDIR=\\\"/usr/share/nut\\\"
|
||||
if use fltk; then
|
||||
cd fltk
|
||||
emake CXX=$(tc-getCXX) FOODDIR=\\\"/usr/share/nut\\\"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/nut
|
||||
doins raw.data/*
|
||||
dobin nut
|
||||
doman nut.1
|
||||
if use fltk; then
|
||||
dobin fltk/Nut
|
||||
doicon nut.xpm
|
||||
make_desktop_entry Nut nut nut Education
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST strigi-0.7.1.tar.bz2 936454 RMD160 4dac3c3e8937dc1e0ea5cc759c95d64ba4e24898 SHA1 9e05a875a1c62ebb5c0c59bf2114253cd1bc2a07 SHA256 d1830506da50262c80d5a3b55ee7821b132184cbd251c527db8d9d76a9242ab3
|
||||
DIST strigi-0.7.7.tar.xz 698312 RMD160 473fc190c003ea07b74b0e309052d65b220ec635 SHA1 31e80a5d762ab20391d07080ddb035f9b91a233f SHA256 de35cb6c4e909f88fa39649fdf3b5ebc2908e0c7311c305cdd93b42b4801d817
|
||||
|
@ -1,40 +0,0 @@
|
||||
--- strigi-0.6.4.orig/src/daemon/dbus/dbuscpp/dbusmessagereader.h
|
||||
+++ strigi-0.6.4/src/daemon/dbus/dbuscpp/dbusmessagereader.h
|
||||
@@ -23,6 +23,7 @@
|
||||
#define DBUS_API_SUBJECT_TO_CHANGE 1
|
||||
#include <dbus/dbus.h>
|
||||
|
||||
+#include <stdint.h>
|
||||
#include <set>
|
||||
#include <map>
|
||||
#include <string>
|
||||
--- strigi-0.6.4.orig/src/daemon/eventlistener/inotifylistener.h
|
||||
+++ strigi-0.6.4/src/daemon/eventlistener/inotifylistener.h
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "strigi_thread.h"
|
||||
#include <map>
|
||||
#include <vector>
|
||||
+#include <stdio.h>
|
||||
|
||||
class Event;
|
||||
class PollingListener;
|
||||
--- strigi-0.6.4.orig/src/daemon/strigithread.h
|
||||
+++ strigi-0.6.4/src/daemon/strigithread.h
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
#include <strigi_thread.h>
|
||||
#include <string>
|
||||
+#include <stdio.h>
|
||||
|
||||
extern "C" void *threadstarter(void *);
|
||||
|
||||
--- strigi-0.6.4.orig/src/streamanalyzer/indexpluginloader.h
|
||||
+++ strigi-0.6.4/src/streamanalyzer/indexpluginloader.h
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <string>
|
||||
+#include <stdio.h>
|
||||
|
||||
namespace Strigi {
|
||||
class IndexManager;
|
@ -1,22 +0,0 @@
|
||||
diff -Nuar strigi-0.6.5.orig/src/estraierindexer/estraierindexmanager.cpp strigi-0.6.5/src/estraierindexer/estraierindexmanager.cpp
|
||||
--- strigi-0.6.5.orig/src/estraierindexer/estraierindexmanager.cpp 2008-05-19 22:30:35.000000000 +0200
|
||||
+++ strigi-0.6.5/src/estraierindexer/estraierindexmanager.cpp 2009-05-18 11:06:21.296581521 +0200
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "estraierindexwriter.h"
|
||||
#include "strigi_thread.h"
|
||||
#include "indexplugin.h"
|
||||
+#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
diff -Nuar strigi-0.6.5.orig/src/estraierindexer/estraierindexreader.cpp strigi-0.6.5/src/estraierindexer/estraierindexreader.cpp
|
||||
--- strigi-0.6.5.orig/src/estraierindexer/estraierindexreader.cpp 2008-05-19 22:30:35.000000000 +0200
|
||||
+++ strigi-0.6.5/src/estraierindexer/estraierindexreader.cpp 2009-05-18 11:17:30.476583471 +0200
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "estraierindexmanager.h"
|
||||
#include "query.h"
|
||||
#include <estraier.h>
|
||||
+#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <set>
|
||||
#include <sstream>
|
@ -1,19 +0,0 @@
|
||||
--- src/xsd/CMakeLists.txt.orig 2009-02-28 23:23:33.000000000 +0300
|
||||
+++ src/xsd/CMakeLists.txt 2009-03-01 00:08:08.000000000 +0300
|
||||
@@ -22,6 +22,8 @@ endif (LIBXML2_FOUND)
|
||||
# javac >= 1.5 is required to compile the xsd parser
|
||||
OPTION(ENABLE_REGENERATEXSD
|
||||
"regenerate xsd parser from *.xsd files(not normally required)" ON)
|
||||
+
|
||||
+if(${ENABLE_REGENERATEXSD})
|
||||
find_package(Java)
|
||||
if (JAVA_COMPILE)
|
||||
execute_process(COMMAND ${JAVA_COMPILE} "-version" ERROR_VARIABLE
|
||||
@@ -31,6 +33,7 @@ if (JAVA_COMPILE)
|
||||
endif (JAVAC_VERSION MATCHES " 1\\.[56]" AND NOT JAVAC_VERSION MATCHES "g[ci]j")
|
||||
MESSAGE("Java5 found ${JAVAC5_FOUND}")
|
||||
endif (JAVA_COMPILE)
|
||||
+endif(${ENABLE_REGENERATEXSD})
|
||||
|
||||
# loop over all xsd files
|
||||
set(XSDFILES "${CMAKE_CURRENT_SOURCE_DIR}/strigidaemonconfiguration.xsd"
|
@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/strigi/strigi-0.7.1.ebuild,v 1.10 2010/09/27 20:46:53 jer Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit base cmake-utils
|
||||
|
||||
DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI"
|
||||
HOMEPAGE="http://strigi.sourceforge.net/"
|
||||
SRC_URI="http://www.vandenoever.info/software/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="+clucene +dbus debug exif fam hyperestraier inotify log +qt4 test"
|
||||
|
||||
COMMONDEPEND="
|
||||
dev-libs/libxml2
|
||||
virtual/libiconv
|
||||
clucene? ( >=dev-cpp/clucene-0.9.21[-debug] )
|
||||
dbus? (
|
||||
sys-apps/dbus
|
||||
qt4? ( x11-libs/qt-dbus:4 )
|
||||
)
|
||||
exif? ( >=media-gfx/exiv2-0.17 )
|
||||
fam? ( virtual/fam )
|
||||
hyperestraier? ( app-text/hyperestraier )
|
||||
log? ( >=dev-libs/log4cxx-0.10.0 )
|
||||
qt4? (
|
||||
x11-libs/qt-core:4
|
||||
x11-libs/qt-gui:4
|
||||
)
|
||||
!clucene? (
|
||||
!hyperestraier? (
|
||||
>=dev-cpp/clucene-0.9.21[-debug]
|
||||
)
|
||||
)
|
||||
"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
test? ( dev-util/cppunit )"
|
||||
RDEPEND="${COMMONDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.6.4-gcc44.patch"
|
||||
"${FILESDIR}/${PN}-0.6.5-gcc4.4-missing-headers.patch"
|
||||
"${FILESDIR}/${PN}-disable_java.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
rm cmake/FindQt4.cmake || die "unable to remove obsolete FindQt4 macro."
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Strigi needs either expat or libxml2.
|
||||
# However libxml2 seems to be required in both cases, linking to 2 xml parsers
|
||||
# is just silly, so we forcefully disable linking to expat.
|
||||
# Enabled: POLLING (only reliable way to check for files changed.)
|
||||
|
||||
mycmakeargs=(
|
||||
-DENABLE_EXPAT=OFF -DENABLE_POLLING=ON
|
||||
-DFORCE_DEPS=ON -DENABLE_CPPUNIT=OFF
|
||||
-DENABLE_REGENERATEXSD=OFF
|
||||
$(cmake-utils_use_enable clucene)
|
||||
$(cmake-utils_use_enable dbus)
|
||||
$(cmake-utils_use_enable exif EXIV2)
|
||||
$(cmake-utils_use_enable fam)
|
||||
$(cmake-utils_use_enable hyperestraier)
|
||||
$(cmake-utils_use_enable inotify)
|
||||
$(cmake-utils_use_enable log LOG4CXX)
|
||||
$(cmake-utils_use_enable qt4)
|
||||
)
|
||||
|
||||
if use qt4; then
|
||||
mycmakeargs+=(-DENABLE_DBUS=ON)
|
||||
fi
|
||||
|
||||
if ! use clucene && ! use hyperestraier; then
|
||||
mycmakeargs+=(-DENABLE_CLUCENE=ON)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
mycmakeargs+=(-DENABLE_CPPUNIT=ON)
|
||||
cmake-utils_src_configure
|
||||
cmake-utils_src_compile
|
||||
|
||||
pushd "${CMAKE_BUILD_DIR}" > /dev/null
|
||||
ctest --extra-verbose || die "Tests failed."
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use clucene && ! use hyperestraier; then
|
||||
elog "Because you didn't enable either of the supported backends:"
|
||||
elog "clucene or hyperestraier"
|
||||
elog "clucene support was silently installed."
|
||||
elog "If you prefer another backend, be sure to reinstall strigi"
|
||||
elog "and to enable that backend use flag"
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST wcd-5.1.4-src.tar.gz 160626 RMD160 ad7cf97e80eaf3ff4084ef64cc660e92763c59ea SHA1 9efac92636fc55758db100bce795e96e1aaf7ecc SHA256 7ad4a8067b4a697a88f9bf9d055aa211ccfeecc1d5e0cece5ae59e29e895a40e
|
||||
DIST wcd-5.2.1-src.tar.gz 166927 RMD160 fe8bdac4010fa0cdd8e802a4ad22fd0676268dad SHA1 6df9641821f70550d3f77026f7684e5e81d901f2 SHA256 4fb66cd06d8f0b7ecee37c321a8ae052ab46ddd7d880e4524f63918af6e0a38e
|
||||
|
@ -0,0 +1,60 @@
|
||||
src/Makefile | 13 +++++++------
|
||||
1 files changed, 7 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index 9a37e3b..7aac6eb 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -46,14 +46,14 @@ endif
|
||||
|
||||
include version.mk
|
||||
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
STATIC =
|
||||
-STRIP = strip
|
||||
+STRIP =
|
||||
|
||||
ENABLE_NLS = 1
|
||||
|
||||
PACKAGE = wcd
|
||||
-EXT = .exe
|
||||
+EXT =
|
||||
PROGRAM = $(PACKAGE)$(EXT)
|
||||
BIN = $(PROGRAM)
|
||||
|
||||
@@ -310,7 +310,7 @@ endif
|
||||
# dynamically) comment the LDFLAGS line and add the 'libncurses.a' file
|
||||
# (often found as /usr/lib/libncurses.a) to the OBJS1 list.
|
||||
|
||||
-CFLAGS = -O2 -Wall -Wextra -Wno-unused-parameter -Wconversion $(RPM_OPT_FLAGS)
|
||||
+CFLAGS += -Wall
|
||||
|
||||
EXTRA_CFLAGS = -Ic3po \
|
||||
$(CFLAGS_VERSION) \
|
||||
@@ -337,7 +337,7 @@ ifdef ASCII_TREE
|
||||
EXTRA_CFLAGS += -DASCII_TREE
|
||||
endif
|
||||
|
||||
-LDFLAGS = $(RPM_OPT_FLAGS) \
|
||||
+LIBS = $(RPM_OPT_FLAGS) \
|
||||
$(LIB_CURSES) \
|
||||
$(LIB_UNISTRING) \
|
||||
$(LDFLAGS_EXTRA) \
|
||||
@@ -387,6 +387,7 @@ status:
|
||||
@echo "DEFS = $(DEFS)"
|
||||
@echo "DEFS_CURSES = $(DEFS_CURSES)"
|
||||
@echo "EXTRA_DEFS = $(EXTRA_DEFS)"
|
||||
+ @echo "LIBS = $(LIBS)"
|
||||
@echo "LDFLAGS = $(LDFLAGS)"
|
||||
@echo "LDFLAGS_EXTRA = $(LDFLAGS_EXTRA)"
|
||||
@echo "CFLAGS = $(CFLAGS)"
|
||||
@@ -396,7 +397,7 @@ status:
|
||||
|
||||
$(BIN): $(OBJS1)
|
||||
$(MAKE) status
|
||||
- $(CC) $(OBJS1) $(LDFLAGS) -o $@
|
||||
+ $(CC) $(OBJS1) $(LDFLAGS) -o $@ $(LIBS)
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(DEFS) -c $< -o $@
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/wcd/wcd-5.2.1.ebuild,v 1.1 2012/03/13 13:04:06 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Wherever Change Directory"
|
||||
HOMEPAGE="http://www.xs4all.nl/~waterlan/#WCD_ANCHOR"
|
||||
SRC_URI="http://www.xs4all.nl/~waterlan/${P}-src.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
LICENSE="GPL-2"
|
||||
IUSE="ncurses nls unicode"
|
||||
|
||||
DEPEND="app-text/ghostscript-gpl"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gentoo.patch
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local mycompile
|
||||
use nls || mycompile="${mycompile} ENABLE_NLS="
|
||||
use ncurses || mycompile="${mycompile} CURSES="
|
||||
use unicode && mycompile="${mycompile} UCS=1"
|
||||
emake \
|
||||
${mycompile}
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST akonadi-1.5.2.tar.bz2 209050 RMD160 51c4658fef5e9d638b2446d7e62f57d339225a7f SHA1 c5d24a2c553ec26e975ab51f98cf74a8a64af633 SHA256 4a4299ff360998c897a528f557013519cceb29be88ee4f235dd88aad41964e68
|
||||
DIST akonadi-1.6.2.tar.bz2 211347 RMD160 d4f923054a794ecbb03fd6a13db4c9e69a57975c SHA1 f02302686f6e50be240d1e73280c00a10c8ccf11 SHA256 29e5cffbc806b30ded70ba486e71a2aaf0e7b9ea1a798881b2e9bf25535b1696
|
||||
DIST akonadi-1.7.0.tar.bz2 210281 RMD160 0125b31a02143be7e50f427162bc9e7d0421a94d SHA1 794be377ed42d6ec906a3c9eb36af28493d7ea56 SHA256 bfb9228d83c1dfe1787883682afc4b9ac8b35096888a2b1ba0d3bc604d96b580
|
||||
DIST akonadi-1.7.1.tar.bz2 210853 RMD160 39ddd2e37437ea5bbc912f5994684a1413bad06e SHA1 a6057bd1a1740568ed86ee9dfaf325e3c3f77662 SHA256 6e6042257df8f212d63a06423e6d391bbf26259d985613e88759b62c993ee8ac
|
||||
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.5.2.ebuild,v 1.8 2011/10/17 17:08:57 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="The server part of Akonadi"
|
||||
HOMEPAGE="http://pim.kde.org/akonadi"
|
||||
SRC_URI="http://download.akonadi-project.org/${P/-server/}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
IUSE="mysql postgres +sqlite test"
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/boost
|
||||
>=dev-libs/soprano-2.2
|
||||
>=x11-libs/qt-gui-4.5.0:4[dbus]
|
||||
>=x11-libs/qt-sql-4.5.0:4[mysql?,postgres?]
|
||||
>=x11-libs/qt-test-4.5.0:4
|
||||
x11-misc/shared-mime-info
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-libs/libxslt
|
||||
>=dev-util/automoc-0.9.88
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
postgres? ( dev-db/postgresql-server )
|
||||
"
|
||||
|
||||
REQUIRED_USE="|| ( sqlite mysql postgres )"
|
||||
|
||||
S=${WORKDIR}/${P/-server/}
|
||||
|
||||
pkg_setup() {
|
||||
# Set default storage backend in order: SQLite, MySQL, PostgreSQL
|
||||
if use sqlite; then
|
||||
DRIVER="QSQLITE3"
|
||||
AVAILABLE+=" ${driver}"
|
||||
elif use mysql; then
|
||||
DRIVER="QMYSQL"
|
||||
AVAILABLE+=" ${driver}"
|
||||
elif use postgres; then
|
||||
DRIVER="QPSQL"
|
||||
AVAILABLE+=" ${driver}"
|
||||
fi
|
||||
|
||||
# Notify about driver name change
|
||||
if use sqlite && has_version "<=${CATEGORY}/${PN}-1.4.0[sqlite]"; then
|
||||
ewarn
|
||||
ewarn "SQLite driver name changed from QSQLITE to QSQLITE3."
|
||||
ewarn "Please edit your ~/.config/akonadi/akonadiserverrc."
|
||||
fi
|
||||
|
||||
# Notify about MySQL not being default anymore
|
||||
if ! use mysql && has_version "<=${CATEGORY}/${PN}-1.4.0[mysql]"; then
|
||||
ewarn
|
||||
ewarn "MySQL driver is not enabled by default in Gentoo anymore."
|
||||
ewarn "If you intend to use it, please enable mysql USE flag and reinstall"
|
||||
ewarn "${CATEGORY}/${PN}."
|
||||
ewarn "Otherwise select different driver in your ~/.config/akonadi/akonadiserverrc."
|
||||
ewarn "Available drivers are:${AVAILABLE}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DAKONADI_USE_STRIGI_SEARCH=OFF"
|
||||
$(cmake-utils_use test AKONADI_BUILD_TESTS)
|
||||
$(cmake-utils_use sqlite INSTALL_QSQLITE_IN_QT_PREFIX)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Who knows, maybe it accidentally fixes our permission issues
|
||||
cat <<-EOF > "${T}"/akonadiserverrc
|
||||
[%General]
|
||||
Driver=${DRIVER}
|
||||
EOF
|
||||
insinto /usr/share/config/akonadi
|
||||
doins "${T}"/akonadiserverrc || die "doins failed"
|
||||
|
||||
cmake-utils_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "${DRIVER} has been set as your default akonadi storage backend."
|
||||
elog "You can override it in your ~/.config/akonadi/akonadiserverrc."
|
||||
elog "Available drivers are: ${AVAILABLE}"
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/karbon/karbon-2.3.3.ebuild,v 1.6 2011/11/20 18:30:46 dilfridge Exp $
|
||||
|
||||
EAPI=4
|
||||
KMNAME="koffice"
|
||||
KMMODULE="${PN}"
|
||||
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="KOffice vector drawing application."
|
||||
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+pstoedit wpg"
|
||||
|
||||
DEPEND="
|
||||
media-libs/libart_lgpl
|
||||
pstoedit? ( media-gfx/pstoedit )
|
||||
wpg? ( app-text/libwpg:0.1[tools(+)] )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
KMEXTRA="filters/${KMMODULE}"
|
||||
KMEXTRACTONLY="
|
||||
KoConfig.h.cmake
|
||||
libs/
|
||||
plugins/
|
||||
filters/
|
||||
"
|
||||
KMLOADLIBS="koffice-libs"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_with wpg)
|
||||
$(cmake-utils_use_with pstoedit)
|
||||
)
|
||||
kde4-meta_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
kde4-meta_src_install
|
||||
|
||||
# this is already installed by koffice-data
|
||||
rm -f "${D}/usr/include/config-opengl.h"
|
||||
rm -f "${D}/usr/include/KoConfig.h"
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-2.30.ebuild,v 1.5 2011/07/15 16:20:11 xarthisius Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit base qt4-r2 versionator
|
||||
|
||||
# The upstream version numbering is bad, so we have to remove a dot in the
|
||||
# minor version number
|
||||
MAJOR="$(get_major_version)"
|
||||
MINOR_1="$(($(get_version_component_range 2)/10))"
|
||||
MINOR_2="$(($(get_version_component_range 2)%10))"
|
||||
if [ ${MINOR_2} -eq "0" ] ; then
|
||||
MY_P="${PN}-${MAJOR}.${MINOR_1}"
|
||||
else
|
||||
MY_P="${PN}-${MAJOR}.${MINOR_1}.${MINOR_2}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A nice LaTeX-IDE"
|
||||
HOMEPAGE="http://www.xm1math.net/texmaker/"
|
||||
SRC_URI="http://www.xm1math.net/texmaker/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/poppler[qt4]
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
>=x11-libs/qt-gui-4.6.1:4
|
||||
>=x11-libs/qt-core-4.6.1:4
|
||||
>=x11-libs/qt-webkit-4.6.1:4
|
||||
>=app-text/hunspell-1.2.4"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
app-text/psutils
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/netpbm"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-hunspell.patch" )
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install || die "make install failed"
|
||||
|
||||
insinto /usr/share/pixmaps/texmaker
|
||||
doins utilities/texmaker*.png || die "doins failed."
|
||||
doins utilities/texmaker.svg || die "doins failed."
|
||||
|
||||
dodoc utilities/AUTHORS utilities/CHANGELOG.txt || die "dodoc failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "A user manual with many screenshots is available at:"
|
||||
elog "/usr/share/${PN}/usermanual_en.html"
|
||||
}
|
@ -0,0 +1,193 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.2_p24.ebuild,v 1.2 2012/03/13 14:43:10 vapier Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs bashlogger examples mem-scramble +net nls plugins vanilla"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
>=sys-libs/readline-6.2
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<sys-apps/portage-2.1.7.16
|
||||
!<sys-apps/paludis-0.26.0_alpha5"
|
||||
# we only need yacc when the .y files get patched (bash42-005)
|
||||
DEPEND+=" virtual/yacc"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
if use bashlogger ; then
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
cd "${S}"
|
||||
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[a-z]*.h::g' Makefile.in || die
|
||||
|
||||
# Avoid regenerating docs after patches #407985
|
||||
sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
|
||||
touch -r . doc/*
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.2-execute-job-control.patch #383237
|
||||
epatch "${FILESDIR}"/${PN}-4.2-parallel-build.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC \
|
||||
$(use bashlogger && echo -DSYSLOG_HISTORY)
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf="${myconf} --disable-nls"
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
use plugins && append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
|
||||
econf \
|
||||
--with-installed-readline \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
${myconf}
|
||||
emake || die
|
||||
|
||||
if use plugins ; then
|
||||
emake -C examples/loadables all others || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
|
||||
dodir /bin
|
||||
mv "${D}"/usr/bin/bash "${D}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/{bashrc,bash_logout}
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
sed -i -e "s:#${USERLAND}#@::" "${D}"/etc/skel/.bashrc "${D}"/etc/bash/bashrc
|
||||
sed -i -e '/#@/d' "${D}"/etc/skel/.bashrc "${D}"/etc/bash/bashrc
|
||||
|
||||
if use plugins ; then
|
||||
exeinto /usr/$(get_libdir)/bash
|
||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g') || die
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
for d in examples/{functions,misc,scripts,scripts.noah,scripts.v2} ; do
|
||||
exeinto /usr/share/doc/${PF}/${d}
|
||||
insinto /usr/share/doc/${PF}/${d}
|
||||
for f in ${d}/* ; do
|
||||
if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then
|
||||
doexe ${f}
|
||||
else
|
||||
doins ${f}
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
doman doc/*.1
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${ROOT}/etc/bashrc ]] && [[ ! -d ${ROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${ROOT}"/etc/bash
|
||||
mv -f "${ROOT}"/etc/bashrc "${ROOT}"/etc/bash/
|
||||
fi
|
||||
|
||||
if [[ -L ${ROOT}/bin/sh ]]; then
|
||||
# rewrite the symlink to ensure that its mtime changes. having /bin/sh
|
||||
# missing even temporarily causes a fatal error with paludis.
|
||||
local target=$(readlink "${ROOT}"/bin/sh)
|
||||
local tmp=$(emktemp "${ROOT}"/bin)
|
||||
ln -sf "${target}" "${tmp}"
|
||||
mv -f "${tmp}" "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# If /bin/sh does not exist, provide it
|
||||
if [[ ! -e ${ROOT}/bin/sh ]]; then
|
||||
ln -sf bash "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST squirrelsh-1.2.3-src.tar.bz2 613935 RMD160 d27165640d88145872f31d9c16785ac74dc3fb04 SHA1 a754e32b9736e5c67d3f1707336ef0cc0fde12ec SHA256 9fda1b90e157655839690383cf8856b69526df1a6e2345c4339f7b31dfe3efc6
|
||||
DIST squirrelsh-1.2.6-src.tar.bz2 651733 RMD160 81803ca66a56f44b62c5aad72e3abbb4176c787e SHA1 6b7ab3f7e2b8420dbe3d6bb814d2cd874e41cea3 SHA256 ba8ce82853b3bf1610408242ed47f52e36471b95e42cbf75474c37478439ca3a
|
||||
|
@ -0,0 +1,12 @@
|
||||
diff -Naur squirrelsh-1.2.6.orig//configure squirrelsh-1.2.6/configure
|
||||
--- squirrelsh-1.2.6.orig//configure 2012-03-12 21:45:25.000000000 -0400
|
||||
+++ squirrelsh-1.2.6/configure 2012-03-12 21:50:36.000000000 -0400
|
||||
@@ -1138,7 +1138,7 @@
|
||||
in_INSTALL_EXE="$installer -c -m 0755 \"\$(target)\" \"$bindir/\$(target_name)\""
|
||||
|
||||
if [ "$with_pcre" = "local" ] || [ "$with_squirrel" = "local" ]; then
|
||||
- in_LDFLAGS="-L\"$source_dir/lib\""
|
||||
+ in_LDFLAGS="$in_LDFLAGS -L\"$source_dir/lib\""
|
||||
fi
|
||||
|
||||
if [ -n "$pkgconfig" ]; then
|
@ -0,0 +1,25 @@
|
||||
diff -Naur squirrelsh-1.2.6.orig//Makefile.in squirrelsh-1.2.6/Makefile.in
|
||||
--- squirrelsh-1.2.6.orig//Makefile.in 2011-12-16 13:25:08.000000000 -0500
|
||||
+++ squirrelsh-1.2.6/Makefile.in 2012-03-12 21:58:50.000000000 -0400
|
||||
@@ -19,14 +19,6 @@
|
||||
@MAKE_PCRE@
|
||||
@MAKE_SQUIRREL@
|
||||
@MAKE_SHELL@
|
||||
- @INSTALL@ -d -m 0755 "@DOCDIR@"
|
||||
- @INSTALL@ -c -m 0644 COPYING "@DOCDIR@"
|
||||
- @INSTALL@ -c -m 0644 COPYING-squirrel "@DOCDIR@"
|
||||
- @INSTALL@ -c -m 0644 COPYING-zlib "@DOCDIR@"
|
||||
- @INSTALL@ -c -m 0644 HISTORY "@DOCDIR@"
|
||||
- @INSTALL@ -c -m 0644 README "@DOCDIR@"
|
||||
- @INSTALL@ -c -m 0644 doc/squirrel3.pdf "@DOCDIR@"
|
||||
- @INSTALL@ -c -m 0644 doc/squirrelsh.pdf "@DOCDIR@"
|
||||
@INSTALL@ -d -m 0755 "@MANDIR@"
|
||||
@INSTALL@ -c -m 0644 doc/squirrelsh.1 "@MANDIR@"
|
||||
@INSTALL_MIME@
|
||||
@@ -35,6 +27,5 @@
|
||||
@MAKE_PCRE@
|
||||
@MAKE_SQUIRREL@
|
||||
@MAKE_SHELL@
|
||||
- @RMDIR@ "@DOCDIR@"
|
||||
@RM@ "@MANDIR@/squirrelsh.1"
|
||||
@UNINSTALL_MIME@
|
@ -0,0 +1,19 @@
|
||||
diff -Naur squirrelsh-1.2.6.orig//configure squirrelsh-1.2.6/configure
|
||||
--- squirrelsh-1.2.6.orig//configure 2012-03-12 20:19:01.000000000 -0400
|
||||
+++ squirrelsh-1.2.6/configure 2012-03-12 20:32:25.000000000 -0400
|
||||
@@ -1163,7 +1163,6 @@
|
||||
[ -z "$CFLAGS" ] && in_CFLAGS="$in_CFLAGS -fomit-frame-pointer"
|
||||
[ -z "$CXXFLAGS" ] && in_CXXFLAGS="$in_CXXFLAGS -fomit-frame-pointer"
|
||||
in_DEFINES="-DNDEBUG"
|
||||
- [ -z "$LDFLAGS" ] && in_LDFLAGS="$in_LDFLAGS -s"
|
||||
fi
|
||||
|
||||
if [ "$with_pcre" = "local" ] && [ "$with_libraries" = "static" ]; then
|
||||
@@ -1233,7 +1232,6 @@
|
||||
in_CXXFLAGS_LIB="$in_CXXFLAGS -fPIC"
|
||||
in_MAKE_LIB="$linker -shared $in_LDFLAGS -o \"\$(target)\" \$(objects)"
|
||||
in_INSTALL_LIB="$installer -c -m 0755 \"\$(target)\" \"$libdir\""
|
||||
- [ "$with_strip" ] && in_INSTALL_LIB="$in_INSTALL_LIB \\&\\& strip --strip-unneeded \"$libdir/\$(target_name)\""
|
||||
in_UNINSTALL_LIB="rm -f \"$libdir/\$(target_name)\""
|
||||
fi
|
||||
|
@ -0,0 +1,21 @@
|
||||
diff -Naur squirrelsh-1.2.6.orig//configure squirrelsh-1.2.6/configure
|
||||
--- squirrelsh-1.2.6.orig//configure 2012-03-12 22:02:40.000000000 -0400
|
||||
+++ squirrelsh-1.2.6/configure 2012-03-12 22:05:42.000000000 -0400
|
||||
@@ -1172,15 +1172,10 @@
|
||||
# ... CFLAGS, CXXFLAGS, DEFINES, LDFLAGS (machine-dependent)
|
||||
case "$target" in
|
||||
x86)
|
||||
- in_CFLAGS="-m32 $in_CFLAGS"
|
||||
- in_CXXFLAGS="-m32 $in_CXXFLAGS"
|
||||
- in_LDFLAGS="-m32 $in_LDFLAGS";;
|
||||
+ :;;
|
||||
|
||||
x86_64)
|
||||
- in_CFLAGS="-m64 $in_CFLAGS"
|
||||
- in_CXXFLAGS="-m64 $in_CXXFLAGS"
|
||||
- in_DEFINES="$in_DEFINES -D_SQ64"
|
||||
- in_LDFLAGS="-m64 $in_LDFLAGS";;
|
||||
+ in_DEFINES="$in_DEFINES -D_SQ64";;
|
||||
|
||||
ia64)
|
||||
in_DEFINES="$in_DEFINES -D_SQ64";;
|
@ -0,0 +1,140 @@
|
||||
diff -Naur squirrelsh-1.2.6.orig//configure squirrelsh-1.2.6/configure
|
||||
--- squirrelsh-1.2.6.orig//configure 2010-11-09 13:16:43.000000000 -0500
|
||||
+++ squirrelsh-1.2.6/configure 2012-03-12 20:19:01.000000000 -0400
|
||||
@@ -55,8 +55,8 @@
|
||||
with_ranlib="yes" # yes, no
|
||||
linker="$cpp_compiler"
|
||||
|
||||
-if [ -n "$LFLAGS" ]; then
|
||||
- linker_flags="$LFLAGS"
|
||||
+if [ -n "$LDFLAGS" ]; then
|
||||
+ linker_flags="$LDFLAGS"
|
||||
else
|
||||
linker_flags="-Wl,-O1 -Wl,--as-needed"
|
||||
fi
|
||||
@@ -136,7 +136,7 @@
|
||||
CFLAGS C compiler options
|
||||
CXX C++ compiler
|
||||
CXXFLAGS C++ compiler options
|
||||
- LFLAGS Linker options
|
||||
+ LDFLAGS Linker options
|
||||
__SHEOF__
|
||||
closescript
|
||||
}
|
||||
@@ -275,7 +275,7 @@
|
||||
return 1
|
||||
}
|
||||
|
||||
-# getoutput CPPFLAGS LFLAGS
|
||||
+# getoutput CPPFLAGS LDFLAGS
|
||||
# Compile C++ code and run the compiled program
|
||||
getoutput ()
|
||||
{
|
||||
@@ -824,7 +824,7 @@
|
||||
checkforlinkeroption || msg_fail
|
||||
|
||||
# Check for optional linker options
|
||||
-if [ -z "$LFLAGS" ]; then
|
||||
+if [ -z "$LDFLAGS" ]; then
|
||||
checkforlinkeroption "-pipe" || msg_result "no"
|
||||
checkforlinkeroption "-flto" y || msg_result "no"
|
||||
fi
|
||||
@@ -1131,27 +1131,27 @@
|
||||
#------ CREATE MAKEFILES --------------------------------------------------------------------------
|
||||
|
||||
# Define variables for substitution
|
||||
-# ... CFLAGS, CXXFLAGS, DEFINES, LFLAGS, INSTALL_EXE (machine-independent)
|
||||
+# ... CFLAGS, CXXFLAGS, DEFINES, LDFLAGS, INSTALL_EXE (machine-independent)
|
||||
in_CFLAGS="-c $c_compiler_flags"
|
||||
in_CXXFLAGS="-c $cpp_compiler_flags"
|
||||
-in_LFLAGS="$linker_flags"
|
||||
+in_LDFLAGS="$linker_flags"
|
||||
in_INSTALL_EXE="$installer -c -m 0755 \"\$(target)\" \"$bindir/\$(target_name)\""
|
||||
|
||||
if [ "$with_pcre" = "local" ] || [ "$with_squirrel" = "local" ]; then
|
||||
- in_LFLAGS="-L\"$source_dir/lib\""
|
||||
+ in_LDFLAGS="-L\"$source_dir/lib\""
|
||||
fi
|
||||
|
||||
if [ -n "$pkgconfig" ]; then
|
||||
if [ "$with_pcre" = "system" ]; then
|
||||
in_CFLAGS="$in_CFLAGS `$pkgconfig --cflags-only-other libpcre`"
|
||||
in_CXXFLAGS="$in_CXXFLAGS `$pkgconfig --cflags-only-other libpcre`"
|
||||
- in_LFLAGS="$in_LFLAGS `$pkgconfig --libs-only-other --libs-only-L libpcre`"
|
||||
+ in_LDFLAGS="$in_LDFLAGS `$pkgconfig --libs-only-other --libs-only-L libpcre`"
|
||||
fi
|
||||
|
||||
if [ "$with_squirrel" = "system" ]; then
|
||||
in_CFLAGS="$in_CFLAGS `$pkgconfig --cflags-only-other libsquirrel`"
|
||||
in_CXXFLAGS="$in_CXXFLAGS `$pkgconfig --cflags-only-other libsquirrel`"
|
||||
- in_LFLAGS="$in_LFLAGS `$pkgconfig --libs-only-other --libs-only-L libsquirrel`"
|
||||
+ in_LDFLAGS="$in_LDFLAGS `$pkgconfig --libs-only-other --libs-only-L libsquirrel`"
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -1163,25 +1163,25 @@
|
||||
[ -z "$CFLAGS" ] && in_CFLAGS="$in_CFLAGS -fomit-frame-pointer"
|
||||
[ -z "$CXXFLAGS" ] && in_CXXFLAGS="$in_CXXFLAGS -fomit-frame-pointer"
|
||||
in_DEFINES="-DNDEBUG"
|
||||
- [ -z "$LFLAGS" ] && in_LFLAGS="$in_LFLAGS -s"
|
||||
+ [ -z "$LDFLAGS" ] && in_LDFLAGS="$in_LDFLAGS -s"
|
||||
fi
|
||||
|
||||
if [ "$with_pcre" = "local" ] && [ "$with_libraries" = "static" ]; then
|
||||
in_DEFINES="$in_DEFINES -DPCRE_STATIC"
|
||||
fi
|
||||
|
||||
-# ... CFLAGS, CXXFLAGS, DEFINES, LFLAGS (machine-dependent)
|
||||
+# ... CFLAGS, CXXFLAGS, DEFINES, LDFLAGS (machine-dependent)
|
||||
case "$target" in
|
||||
x86)
|
||||
in_CFLAGS="-m32 $in_CFLAGS"
|
||||
in_CXXFLAGS="-m32 $in_CXXFLAGS"
|
||||
- in_LFLAGS="-m32 $in_LFLAGS";;
|
||||
+ in_LDFLAGS="-m32 $in_LDFLAGS";;
|
||||
|
||||
x86_64)
|
||||
in_CFLAGS="-m64 $in_CFLAGS"
|
||||
in_CXXFLAGS="-m64 $in_CXXFLAGS"
|
||||
in_DEFINES="$in_DEFINES -D_SQ64"
|
||||
- in_LFLAGS="-m64 $in_LFLAGS";;
|
||||
+ in_LDFLAGS="-m64 $in_LDFLAGS";;
|
||||
|
||||
ia64)
|
||||
in_DEFINES="$in_DEFINES -D_SQ64";;
|
||||
@@ -1223,7 +1223,7 @@
|
||||
|
||||
# Work around Apple's linker behavior ("-L../lib" linker option seems to be ignored)
|
||||
if [ "$platform" = "macosx" ]; then
|
||||
- #in_LFLAGS="$in_LFLAGS -search_paths_first"
|
||||
+ #in_LDFLAGS="$in_LDFLAGS -search_paths_first"
|
||||
[ "$with_pcre" = "local" ] && in_LIBS=`echo "$in_LIBS" | $sed -e "s@-lpcre@../lib/libpcre$lib_suffix@"`
|
||||
[ "$with_squirrel" = "local" ] && in_LIBS=`echo "$in_LIBS" | $sed -e "s@-lsquirrel@../lib/libsquirrel$lib_suffix@"`
|
||||
fi
|
||||
@@ -1231,7 +1231,7 @@
|
||||
in_LIB_EXT="$dll_suffix"
|
||||
in_CFLAGS_LIB="$in_CFLAGS -fPIC"
|
||||
in_CXXFLAGS_LIB="$in_CXXFLAGS -fPIC"
|
||||
- in_MAKE_LIB="$linker -shared $in_LFLAGS -o \"\$(target)\" \$(objects)"
|
||||
+ in_MAKE_LIB="$linker -shared $in_LDFLAGS -o \"\$(target)\" \$(objects)"
|
||||
in_INSTALL_LIB="$installer -c -m 0755 \"\$(target)\" \"$libdir\""
|
||||
[ "$with_strip" ] && in_INSTALL_LIB="$in_INSTALL_LIB \\&\\& strip --strip-unneeded \"$libdir/\$(target_name)\""
|
||||
in_UNINSTALL_LIB="rm -f \"$libdir/\$(target_name)\""
|
||||
@@ -1274,7 +1274,7 @@
|
||||
s#@LINK@#$linker#
|
||||
s#@EXE_EXT@#$exe_suffix#
|
||||
s#@LIB_EXT@#$in_LIB_EXT#
|
||||
-s#@MAKE_EXE@#$linker $in_LFLAGS -o "\$(target)" \$(objects) $in_LIBS#
|
||||
+s#@MAKE_EXE@#$linker $in_LDFLAGS -o "\$(target)" \$(objects) $in_LIBS#
|
||||
s#@MAKE_LIB@#$in_MAKE_LIB#
|
||||
s#@MAKE_PCRE@#$in_MAKE_PCRE#
|
||||
s#@MAKE_SHELL@#@cd shell \&\& \$(MAKE) \$@#
|
||||
@@ -1285,7 +1285,7 @@
|
||||
s#@CXXFLAGS_EXE@#$in_CXXFLAGS_EXE#
|
||||
s#@CFLAGS_LIB@#$in_CFLAGS_LIB#
|
||||
s#@CXXFLAGS_LIB@#$in_CXXFLAGS_LIB#
|
||||
-s#@LFLAGS@#$in_LFLAGS#
|
||||
+s#@LDFLAGS@#$in_LDFLAGS#
|
||||
s#@DEFINES@#$in_DEFINES#
|
||||
s#@INCLUDES@#$in_INCLUDES#
|
||||
s#@LIBS@#$in_LIBS#
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/squirrelsh/squirrelsh-1.2.6.ebuild,v 1.1 2012/03/13 11:39:20 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="An advanced, cross-platform object oriented scripting shell based
|
||||
on the squirrel scripting language"
|
||||
HOMEPAGE="http://squirrelsh.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-libs/libpcre"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-rename-LDFLAGS.patch
|
||||
epatch "${FILESDIR}"/${PN}-no-strip.patch
|
||||
epatch "${FILESDIR}"/${PN}-fix-in_LDFLAGS.patch
|
||||
epatch "${FILESDIR}"/${PN}-remove-forced-abi.patch
|
||||
epatch "${FILESDIR}"/${PN}-no-docs.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
#This package uses a custom written configure script
|
||||
./configure --prefix="${D}"/usr \
|
||||
--with-cc="$(tc-getCC)" \
|
||||
--with-cpp="$(tc-getCXX)" \
|
||||
--with-linker="$(tc-getCXX)" \
|
||||
--libdir=/usr/"$(get_libdir)" \
|
||||
--with-pcre="system" \
|
||||
--with-squirrel="local" \
|
||||
--with-mime=no || die "configure failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doman doc/${PN}.1
|
||||
dodoc HISTORY INSTALL README
|
||||
use doc && dodoc doc/*.pdf
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST calibre-0.8.40.tar.xz 23836620 RMD160 ea42ee662d16422a927a5952b76d507f9221929c SHA1 8f6b3d7f231e8ce06217c1c92a2839def862a84d SHA256 64ae7985c12635e4228baf7df2d6bf86ebd6a85e3c33b073ce9f15962081fac0
|
||||
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
|
||||
|
@ -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.40.ebuild,v 1.1 2012/02/18 09:02:26 zmedico Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.42.ebuild,v 1.1 2012/03/12 19:17:22 zmedico Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND=2:2.7
|
@ -1,3 +1 @@
|
||||
DIST djvulibre-3.5.22.tar.gz 3027985 RMD160 f74cec88c5fbda28976e64669d3e48833b4dfdcd SHA1 f869d4114052a7df7b8da2d334d124934f1293a6 SHA256 3d9242f98db8f5fc8ca239ccaa91e70c20451fe3b3fa8de6f133e0888f89f0be
|
||||
DIST djvulibre-3.5.23.tar.gz 3028428 RMD160 66d6dc71cdaa8c2412197f52562c99bef6b924a6 SHA1 b19f6b461515a52eb1048aec81e04dfd836d681f SHA256 608c07e629626cfe713168c942a07d2db3b0b19df4aae1f598473f4a2daf213d
|
||||
DIST djvulibre-3.5.24.tar.gz 2998853 RMD160 cee93324ecfa7d832f29f390b4e8d82424b9eed0 SHA1 075d1d4a333a2fe74e4c9240d853be016e27e983 SHA256 c0734c81d22a0e458c3fb5efd4c3eab051bcb6ad8740f5a5784c1f5699482534
|
||||
|
@ -1,88 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/djvu-3.5.22-r1.ebuild,v 1.10 2012/03/11 16:14:54 ssuominen Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit fdo-mime autotools flag-o-matic
|
||||
|
||||
MY_P="${PN}libre-${PV#*_p}"
|
||||
|
||||
DESCRIPTION="DjVu viewers, encoders and utilities"
|
||||
HOMEPAGE="http://djvu.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/djvu/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="debug doc jpeg nls tiff xml"
|
||||
|
||||
RDEPEND="jpeg? ( virtual/jpeg )
|
||||
tiff? ( media-libs/tiff:0 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
# No gui, only manual pages left and only on ja...
|
||||
LANGS="ja"
|
||||
for X in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
src_prepare() {
|
||||
sed 's/AC_CXX_OPTIMIZE/OPTS=;AC_SUBST(OPTS)/' -i configure.ac || die #263688
|
||||
rm aclocal.m4 config/{libtool.m4,ltmain.sh,install-sh}
|
||||
AT_M4DIR="config" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local X I18N
|
||||
if use nls; then
|
||||
for X in ${LANGS}; do
|
||||
if use linguas_${X}; then
|
||||
I18N="${I18N} ${X}"
|
||||
fi
|
||||
done
|
||||
I18N="${I18N# }"
|
||||
if test -n "$I18N"; then
|
||||
I18N="--enable-i18n=${I18N}"
|
||||
else
|
||||
I18N="--enable-i18n"
|
||||
fi
|
||||
else
|
||||
I18N="--disable-i18n"
|
||||
fi
|
||||
|
||||
use debug && append-cppflags "-DRUNTIME_DEBUG_ONLY"
|
||||
|
||||
# We install all desktop files by hand.
|
||||
econf --disable-desktopfiles \
|
||||
--without-qt \
|
||||
$(use_enable xml xmltools) \
|
||||
$(use_with jpeg) \
|
||||
$(use_with tiff) \
|
||||
"${I18N}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
dodoc README TODO NEWS
|
||||
|
||||
use doc && cp -r doc/ "${D}"/usr/share/doc/${PF}
|
||||
|
||||
# Install desktop files.
|
||||
cd desktopfiles
|
||||
insinto /usr/share/icons/hicolor/22x22/mimetypes && newins hi22-djvu.png image-vnd.djvu.png || die
|
||||
insinto /usr/share/icons/hicolor/32x32/mimetypes && newins hi32-djvu.png image-vnd.djvu.png || die
|
||||
insinto /usr/share/icons/hicolor/48x48/mimetypes && newins hi48-djvu.png image-vnd.djvu.png || die
|
||||
insinto /usr/share/mime/packages && doins djvulibre-mime.xml || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_mime_database_update
|
||||
elog "For djviewer or browser plugin, emerge app-text/djview4."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -1,88 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/djvu-3.5.23.ebuild,v 1.11 2012/03/11 16:14:54 ssuominen Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit fdo-mime autotools flag-o-matic
|
||||
|
||||
MY_P="${PN}libre-${PV#*_p}"
|
||||
|
||||
DESCRIPTION="DjVu viewers, encoders and utilities"
|
||||
HOMEPAGE="http://djvu.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/djvu/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="debug doc jpeg nls tiff xml"
|
||||
|
||||
RDEPEND="jpeg? ( virtual/jpeg )
|
||||
tiff? ( media-libs/tiff:0 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
# No gui, only manual pages left and only on ja...
|
||||
LANGS="ja"
|
||||
IUSE+=" $(printf "linguas_%s" ${LANGS})"
|
||||
|
||||
src_prepare() {
|
||||
sed 's/AC_CXX_OPTIMIZE/OPTS=;AC_SUBST(OPTS)/' -i configure.ac || die #263688
|
||||
rm aclocal.m4 config/{libtool.m4,ltmain.sh,install-sh}
|
||||
AT_M4DIR="config" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local X I18N
|
||||
if use nls; then
|
||||
for X in ${LANGS}; do
|
||||
if use linguas_${X}; then
|
||||
I18N="${I18N} ${X}"
|
||||
fi
|
||||
done
|
||||
I18N="${I18N# }"
|
||||
if test -n "$I18N"; then
|
||||
I18N="--enable-i18n=${I18N}"
|
||||
else
|
||||
I18N="--enable-i18n"
|
||||
fi
|
||||
else
|
||||
I18N="--disable-i18n"
|
||||
fi
|
||||
|
||||
use debug && append-cppflags "-DRUNTIME_DEBUG_ONLY"
|
||||
|
||||
# We install all desktop files by hand.
|
||||
econf --disable-desktopfiles \
|
||||
--without-qt \
|
||||
$(use_enable xml xmltools) \
|
||||
$(use_with jpeg) \
|
||||
$(use_with tiff) \
|
||||
"${I18N}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
dodoc README TODO NEWS
|
||||
|
||||
use doc && cp -r doc/ "${D}"/usr/share/doc/${PF}
|
||||
|
||||
# Install desktop files.
|
||||
cd desktopfiles
|
||||
for i in {22,32,48}; do
|
||||
insinto /usr/share/icons/hicolor/${i}x${i}/mimetypes
|
||||
newins hi${i}-djvu.png image-vnd.djvu.png || die
|
||||
done
|
||||
insinto /usr/share/mime/packages
|
||||
doins djvulibre-mime.xml || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_mime_database_update
|
||||
elog "For djviewer or browser plugin, emerge app-text/djview4."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -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/djvu/djvu-3.5.24.ebuild,v 1.9 2012/03/11 16:14:54 ssuominen Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/djvu-3.5.24-r1.ebuild,v 1.1 2012/03/13 22:00:27 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils fdo-mime autotools flag-o-matic
|
@ -1 +1,2 @@
|
||||
DIST xapian-omega-1.2.8.tar.gz 615930 RMD160 2288159a0c388706d737825d33d222b68292b9fb SHA1 c4d4c030ac72f85c46a681914bca7de154373a98 SHA256 e7df07d04e8f4ed5364bb3ecc45c0e5388f27404a6f8097bddcf6e7b303a2f8f
|
||||
DIST xapian-omega-1.2.9.tar.gz 617384 RMD160 2d6848e0030aca962a080024f068fdd3db18e4d6 SHA1 6340a83621822e6b2adcdebe282cce84c2ae075b SHA256 317e145752fc31ca5875d169a0d979506dbe3d9a0ae5f8a2e44d990929771aff
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/xapian-omega/xapian-omega-1.2.9.ebuild,v 1.2 2012/03/14 02:26:47 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="An application built on Xapian, consisting of indexers and a CGI search frontend."
|
||||
SRC_URI="http://www.oligarchy.co.uk/xapian/${PV}/xapian-omega-${PV}.tar.gz"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
S="${WORKDIR}/xapian-omega-${PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/xapian-${PV}
|
||||
dev-lang/perl
|
||||
dev-libs/libpcre
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
#move docs to /usr/share/doc/${PF}.
|
||||
mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}"
|
||||
|
||||
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST yudit-2.8.1.beta7.tar.gz 2588228 RMD160 1545972c9b00fb712e7be9b1b5969e8d15ae565d SHA1 391614f520b76b88ca2cef45ed30140aedc87980 SHA256 8267247318ab6d8d5924acd8c4dc4c329a6b75ed76f7669b536e3e2162661346
|
||||
DIST yudit-2.8.1.tar.gz 2531801 RMD160 e03f751dcaca778d8c19083ffa2abbe11f152d0e SHA1 57b7ce0f2ebad9cd18a51bd5d2293d2b8e6f09d1 SHA256 f8781589aec8e1562d8a38fe0ca04d40a4af5270fe6df4a5d6c7670ab0c47746
|
||||
DIST yudit-2.9.0.tar.gz 2750082 RMD160 891c5ce6293e393ccb7d5edb28427e488aaf96b5 SHA1 b7c609677f6ff6218220c4f4eff77357dc68c6e1 SHA256 89edf9a0b526c5bcac495967d322b6290653755e02946f02fdec323899eba4a1
|
||||
DIST yudit-2.9.2.tar.gz 2831966 RMD160 f1e7f60213f8cbd057d90634438a13f8babc7ecb SHA1 6cf8235293ea91489aea772780a4b63fefec6834 SHA256 d9bb2fbf49dbc192b33a9095a819c6ee0b62bf46839333c286371786ab1acfc9
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/yudit/yudit-2.8.1.ebuild,v 1.3 2008/02/29 17:49:42 carlo Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="free (Y)unicode text editor for all unices"
|
||||
SRC_URI="http://yudit.org/download/${P}.tar.gz"
|
||||
HOMEPAGE="http://www.yudit.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="x11-libs/libX11
|
||||
>=sys-devel/gettext-0.10"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${A}"
|
||||
cd "${S}"
|
||||
sed -i -e 's:bin/install-sh -c -s:bin/install-sh -c:' Makefile.conf.in || die 'sed failed'
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf || die 'econf failed'
|
||||
# Fails parallel make
|
||||
emake -j1 || die 'emake failed'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR=${D} install || die
|
||||
doicon icons/SS_Yudit_XPM.xpm
|
||||
make_desktop_entry ${PN} "Unicode Text Editor Yudit" SS_Yudit_XPM Utility
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/yudit/yudit-2.9.2.ebuild,v 1.1 2012/03/14 03:42:29 patrick Exp $
|
||||
|
||||
DESCRIPTION="free (Y)unicode text editor for all unices"
|
||||
SRC_URI="http://yudit.org/download/${P}.tar.gz"
|
||||
HOMEPAGE="http://www.yudit.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="x11-libs/libX11
|
||||
>=sys-devel/gettext-0.10"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
#Don't strip binaries, let portage do that.
|
||||
sed -i "/^INSTALL_PROGRAM/s: -s::" Makefile.conf.in || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf
|
||||
#FIXME:
|
||||
#-j1 because this app builds a tool called 'mytool' and we need to make
|
||||
#sure that it is built before it needs to be used.
|
||||
emake -j1 || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die
|
||||
dodoc *.TXT
|
||||
}
|
@ -1,8 +1,11 @@
|
||||
DIST ecj-4.5.jar 1470676 RMD160 d3f4da657f086b6423f74e93f001132f4855368a SHA1 58c1d79c64c8cd718550f32a932ccfde8d1e6449 SHA256 98fd128f1d374d9e42fd9d4836bdd249c6d511ebc6c0df17fbc1b9df96c3d781
|
||||
DIST gcc-4.6.1-patches-1.0.tar.bz2 12161 RMD160 c25f8e8434c62d051802080a5e47ef1b45b49cf7 SHA1 d1759e8dacde0eb29bf7324b19e40097d6e01580 SHA256 5174176d6335b54365f1bcf895fed19c35f1634437e4d1757a436a42703b72c3
|
||||
DIST gcc-4.6.1.tar.bz2 71688404 RMD160 e12a50dc951b02c62916acfbb181c00cae176fd0 SHA1 8bf66f7a71534ba564563a0ba0b2517aead8ac30 SHA256 8eebf51c908151d1f1a3756c8899c5e71572e8469a547ad72a1ef16a08a31b59
|
||||
DIST gcc-4.6.2-patches-1.0.tar.bz2 12374 RMD160 84aa2e55a8762e2d38161943e1661fd7a89683a8 SHA1 582f0c4bf7b734bb5798b0b8b9deac898557789d SHA256 a6fd308469094095891ba003b9c3c2d4c8bf35713df987609b675f04a43e83df
|
||||
DIST gcc-4.6.2.tar.bz2 71995338 RMD160 e7041933b39629f9524848dcf81a1a4c02a225c6 SHA1 691974613b1c1f15ed0182ec539fa54a12dd6f93 SHA256 60b05463dfe18d40d68fb8a71b25b408a01f86cc6ceaf5e6b22238b6b0f450c2
|
||||
DIST msp430-gcc-4.6.1_p20111205.patch.bz2 77776 RMD160 122c4d2b469cd7a8e6ef5ffd835416a6b2393f2d SHA1 ee8e77ea19ae602ce529802fde07d067094c0369 SHA256 d09b2c1edb8dd65259b6fa91ff62fad206ce8aa8151d23c941abfd9ee6af7285
|
||||
DIST msp430-gcc-4.6.1_p20111224.patch.bz2 76862 RMD160 266a6f94d8b3083713cab0cc739fb8f6ec617ac0 SHA1 7915dc80362f4d3abf03215a12c5a54abe4abca0 SHA256 01a5ab928da9761741cc662656f71dfd56c4219f2dae5dbeb60038665999e4a8
|
||||
DIST msp430-gcc-4.6.1_p20120119.patch.bz2 77329 RMD160 4b407321ae635d9b61466f2cfe229c1be1867df9 SHA1 f277c101d0bc64116b60877c21a0d65d8dcd2ce6 SHA256 8f677cdb44d44f2a81911327071834e78740b90e220252984c1e151d4ae25b3c
|
||||
DIST msp430-gcc-4.6.1_p20120125.patch.bz2 74717 RMD160 9ad74a2664c3fcf32bcfa7f27ba802b86e12fc0e SHA1 b541b6aff1bf919cdacf2ee8795aba95c1301d30 SHA256 1420184b9e344d143c81f03a160c913ebbfab17f6a54737317ad45eebf9aa17c
|
||||
DIST msp430-gcc-4.6.1_p20120224.patch.bz2 75117 RMD160 b89d24790c8ad50cc8c3e8d7617a2fb51199a0b4 SHA1 6850022689d8a3a9a603b4fefd855ed35a9c0dbe SHA256 9ae8868220f95cb878f9df22880c0513bccaf635fcfd6478c2c418dbe38662ff
|
||||
DIST msp430-gcc-4.6.2_p20120311.patch.bz2 76065 RMD160 b6ad0808314cda1bb551d35ee9e75302d1fba9ed SHA1 7e7f70ccdc59b42e422a9159e5320ffc588381cd SHA256 33a7906122c218a108dcab2400298c2f291f98303ac57045b1ab04b1b82b2dd7
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-gcc/msp430-gcc-4.6.2_p20120311.ebuild,v 1.1 2012/03/13 22:23:03 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PATCH_VER="1.0"
|
||||
BRANCH_UPDATE=""
|
||||
|
||||
inherit toolchain
|
||||
|
||||
DESCRIPTION="The GNU Compiler Collection for MSP430 microcontrollers"
|
||||
LICENSE="GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="${SRC_URI} http://dev.gentoo.org/~radhermit/distfiles/${P}.patch.bz2"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
elibc_glibc? ( >=sys-libs/glibc-2.8 )
|
||||
${CATEGORY}/msp430-binutils"
|
||||
|
||||
pkg_pretend() {
|
||||
is_crosscompile || die "Only cross-compile builds are supported"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${DISTDIR}"/${P}.patch.bz2
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430mcu/msp430mcu-20120311.ebuild,v 1.1 2012/03/13 06:57:29 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="MCU-specific data for MSP430 microcontrollers"
|
||||
HOMEPAGE="http://mspgcc.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/mspgcc/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-20111205-install.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
MSP430MCU_ROOT="${S}" ./scripts/install.sh "${D}/usr"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue