parent
167b9657b8
commit
5d3c765891
@ -1,44 +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/apg/apg-2.3.0b-r4.ebuild,v 1.6 2012/12/07 19:00:36 ulm Exp $
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Another Password Generator"
|
||||
HOMEPAGE="http://www.adel.nursat.kz/apg/"
|
||||
SRC_URI="http://www.adel.nursat.kz/apg/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ppc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="cracklib"
|
||||
|
||||
DEPEND="cracklib? ( sys-libs/cracklib )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
chmod -R 0700 "${S}"
|
||||
cd "${S}"
|
||||
if use cracklib; then
|
||||
epatch "${FILESDIR}"/${P}-cracklib.patch
|
||||
epatch "${FILESDIR}"/${PN}-glibc-2.4.patch
|
||||
fi
|
||||
epatch "${FILESDIR}"/${P}-crypt_password.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
sed -i 's,^#\(APG_CS_CLIBS += -lnsl\)$,\1,' Makefile
|
||||
[[ ${CHOST} == *-darwin* ]] && \
|
||||
sed -i 's,^APG_CLIBS += -lcrypt,APG_CLIBS += ,' Makefile
|
||||
|
||||
emake standalone FLAGS="${CFLAGS}" CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "compile problem"
|
||||
emake -C bfconvert FLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "compile problem"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin apg apgbfm bfconvert/bfconvert || die
|
||||
dodoc CHANGES INSTALL README THANKS TODO
|
||||
cd doc
|
||||
doman man/apg.1 man/apgbfm.1
|
||||
dodoc APG_TIPS pronun.txt rfc0972.txt rfc1750.txt
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/bastille/bastille-3.0.9.ebuild,v 1.1 2009/01/09 00:36:14 battousai Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
PATCHVER=0.2
|
||||
MY_PN=${PN/b/B}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
S=${WORKDIR}/${MY_PN}
|
||||
DESCRIPTION="Bastille-Linux is a security hardening tool"
|
||||
HOMEPAGE="http://bastille-linux.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}-linux/${MY_P}.tar.bz2
|
||||
mirror://gentoo/${P}-gentoo-${PATCHVER}.patch.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="net-firewall/iptables
|
||||
app-admin/logrotate
|
||||
dev-perl/Curses
|
||||
net-firewall/psad
|
||||
X? ( dev-perl/perl-tk )
|
||||
virtual/logger"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
epatch "${WORKDIR}"/${P}-gentoo-${PATCHVER}.patch
|
||||
|
||||
cd "${S}"
|
||||
chmod a+x Install.sh bastille-ipchains bastille-netfilter
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
cd "${S}"
|
||||
DESTDIR="${D}" ./Install.sh
|
||||
|
||||
# Example configs
|
||||
cd "${S}"
|
||||
insinto /usr/share/Bastille
|
||||
doins *.config
|
||||
|
||||
newinitd ${PN}-firewall.gentoo-init ${PN}-firewall
|
||||
|
||||
# Documentation
|
||||
cd "${S}"
|
||||
dodoc *.txt BUGS Change* README*
|
||||
cd "${S}"/docs
|
||||
doman *.1m
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please be aware that when using the Server Lax, Server Moderate, or"
|
||||
elog "Server Paranoia configurations, you may need to use InteractiveBastille"
|
||||
elog "to set any advanced network information, such as masquerading and"
|
||||
elog "internal interfaces, if you plan to use them."
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/cancd/cancd-0.1.0.ebuild,v 1.4 2014/08/10 01:37:44 patrick Exp $
|
||||
|
||||
DESCRIPTION="This is the CA NetConsole Daemon, a daemon to receive output from
|
||||
the Linux netconsole driver"
|
||||
HOMEPAGE="http://oss.oracle.com/projects/cancd/"
|
||||
SRC_URI="http://oss.oracle.com/projects/cancd/dist/files/source/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
# slight makefile cleanup
|
||||
sed -i.orig \
|
||||
-e '/^CFLAGS/s,-g,,' \
|
||||
-e '/^CFLAGS/s,-O2,,' \
|
||||
-e '/rm cancd cancd.o/s,rm,rm -f,' \
|
||||
"${S}"/Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake cancd
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into /usr
|
||||
dosbin cancd
|
||||
newinitd "${FILESDIR}"/cancd-init.d cancd
|
||||
newconfd "${FILESDIR}"/cancd-conf.d cancd
|
||||
keepdir /var/crash
|
||||
fowners adm:nobody /var/crash
|
||||
fperms 700 /var/crash
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/chrpath/chrpath-0.13.ebuild,v 1.12 2009/12/07 12:13:28 grobian Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="chrpath can modify the rpath and runpath of ELF executables"
|
||||
HOMEPAGE="http://directory.fsf.org/project/chrpath/"
|
||||
# original upstream no longer exists (ftp://ftp.hungry.com/pub/hungry)
|
||||
SRC_URI="http://ftp.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ppc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
dobin chrpath || die
|
||||
doman chrpath.1
|
||||
dodoc ChangeLog AUTHORS NEWS README
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST conserver-8.1.16.tar.gz 311373 SHA256 43dc9d81bc23d76a0ec01acd1f54f5c276b715feeb8f52bb33b5c81f325a46d8 SHA512 a1cee166d68836d348fc16118d4d27f1538e6a4de244a689327590a674534d8931558b9cb258f07e6559a0004f2e7709c15c9a296fa708601a5ec4c994d33eee WHIRLPOOL 325f053a2a36a4b0f577c4bfe8fce8a1e3d9f03a7be33ee19419146f1e770454368fc8a24543bca4ba6b1f2ecc4ebf05b1c062f8f52a59e723031c21dc5a42d0
|
||||
DIST conserver-8.1.18.tar.gz 323247 SHA256 3c73cebf732419c41c7c860032e41d83c1f152fe3115a30dc9851820b7864e14 SHA512 a8029aef5fd84f93eb3ae56ba7f751d79a6065c012bfd805e050f8c9edf09fd660c272d3f3ce0a47cfb17678574babbecad63f8bfd50ad4fdccdbabc2249435f WHIRLPOOL e12e54f2af25ef696ecf61818da0dd8cd09c23ca03e0fbb8445ee8eca5dc4ec2dbb25e88a68ac4a51c49b89838bf875ac65ac0e59d49337f36aa3929aa02dc81
|
||||
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/conserver/conserver-8.1.16-r1.ebuild,v 1.7 2014/05/30 13:05:18 swift Exp $
|
||||
|
||||
inherit ssl-cert eutils pam
|
||||
|
||||
DESCRIPTION="Serial Console Manager"
|
||||
HOMEPAGE="http://www.conserver.com/"
|
||||
SRC_URI="ftp://ftp.conserver.com/conserver/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="pam ssl tcpd debug"
|
||||
|
||||
DEPEND="ssl? ( >=dev-libs/openssl-0.9.6g )
|
||||
pam? ( virtual/pam )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
debug? ( dev-libs/dmalloc )"
|
||||
RDEPEND="${DEPEND}
|
||||
pam? ( >=sys-auth/pambase-20080219.1 )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# Apply patch to prevent package from stripping binaries
|
||||
epatch "${FILESDIR}"/${PN}-prestrip.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with pam) \
|
||||
$(use_with tcpd libwrap) \
|
||||
$(use_with debug dmalloc) \
|
||||
--with-logfile=/var/log/conserver.log \
|
||||
--with-pidfile=/var/run/conserver.pid \
|
||||
--with-cffile=conserver/conserver.cf \
|
||||
--with-pwdfile=conserver/conserver.passwd \
|
||||
--with-master=localhost \
|
||||
--with-port=7782 || die "./configure failed"
|
||||
|
||||
emake || die "compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall exampledir="${D}"/usr/share/doc/${PF}/examples \
|
||||
|| die "problem with install"
|
||||
|
||||
## create data directory
|
||||
dodir /var/consoles
|
||||
fowners daemon:daemon /var/consoles
|
||||
fperms 700 /var/consoles
|
||||
|
||||
## add startup and sample config
|
||||
newinitd "${FILESDIR}"/conserver.initd conserver
|
||||
newconfd "${FILESDIR}"/conserver.confd conserver
|
||||
|
||||
dodir /etc/conserver
|
||||
fperms 700 /etc/conserver
|
||||
insinto /etc/conserver
|
||||
newins "${S}"/conserver.cf/conserver.cf conserver.cf.sample
|
||||
newins "${S}"/conserver.cf/conserver.passwd conserver.passwd.sample
|
||||
|
||||
## add docs
|
||||
dohtml conserver.html
|
||||
dodoc CHANGES FAQ PROTOCOL README TODO
|
||||
dodoc conserver/Sun-serial contrib/maketestcerts
|
||||
newdoc conserver.cf/conserver.cf conserver.cf.sample
|
||||
|
||||
# Add pam config
|
||||
newpamd "${FILESDIR}"/conserver.pam-pambase conserver
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Add certs if SSL use flag is enabled
|
||||
if use ssl && [ ! -f "${ROOT}"/etc/ssl/conserver/conserver.key ]; then
|
||||
install_cert /etc/ssl/conserver/conserver
|
||||
fi
|
||||
}
|
@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/conserver/conserver-8.1.16.ebuild,v 1.6 2014/05/30 13:05:18 swift Exp $
|
||||
|
||||
inherit ssl-cert eutils pam
|
||||
|
||||
DESCRIPTION="Serial Console Manager"
|
||||
HOMEPAGE="http://www.conserver.com/"
|
||||
SRC_URI="ftp://ftp.conserver.com/conserver/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc sparc x86"
|
||||
IUSE="pam ssl tcpd debug"
|
||||
|
||||
DEPEND="ssl? ( >=dev-libs/openssl-0.9.6g )
|
||||
pam? ( virtual/pam )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
debug? ( dev-libs/dmalloc )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# Apply patch to prevent package from stripping binaries
|
||||
epatch "${FILESDIR}"/${PN}-prestrip.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with pam) \
|
||||
$(use_with tcpd libwrap) \
|
||||
$(use_with debug dmalloc) \
|
||||
--with-logfile=/var/log/conserver.log \
|
||||
--with-pidfile=/var/run/conserver.pid \
|
||||
--with-cffile=conserver/conserver.cf \
|
||||
--with-pwdfile=conserver/conserver.passwd \
|
||||
--with-master=localhost \
|
||||
--with-port=7782 || die "./configure failed"
|
||||
|
||||
emake || die "compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall exampledir="${D}"/usr/share/doc/${PF}/examples \
|
||||
|| die "problem with install"
|
||||
|
||||
## create data directory
|
||||
dodir /var/consoles
|
||||
fowners daemon:daemon /var/consoles
|
||||
fperms 700 /var/consoles
|
||||
|
||||
## add startup and sample config
|
||||
newinitd "${FILESDIR}"/conserver.initd conserver
|
||||
newconfd "${FILESDIR}"/conserver.confd conserver
|
||||
|
||||
dodir /etc/conserver
|
||||
fperms 700 /etc/conserver
|
||||
insinto /etc/conserver
|
||||
newins "${S}"/conserver.cf/conserver.cf conserver.cf.sample
|
||||
newins "${S}"/conserver.cf/conserver.passwd conserver.passwd.sample
|
||||
|
||||
## add docs
|
||||
dohtml conserver.html
|
||||
dodoc CHANGES FAQ PROTOCOL README TODO
|
||||
dodoc conserver/Sun-serial contrib/maketestcerts
|
||||
newdoc conserver.cf/conserver.cf conserver.cf.sample
|
||||
|
||||
# Add pam config
|
||||
newpamd "${FILESDIR}"/conserver.pam-include.1 conserver
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Add certs if SSL use flag is enabled
|
||||
if use ssl && [ ! -f "${ROOT}"/etc/ssl/conserver/conserver.key ]; then
|
||||
install_cert /etc/ssl/conserver/conserver
|
||||
fi
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/conserver/files/conserver.initd,v 1.3 2004/07/14 21:10:02 agriffis Exp $
|
||||
|
||||
depend() {
|
||||
need clock
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [ ! -e /etc/conserver/conserver.cf ] ; then
|
||||
eerror "You need to create /etc/conserver/conserver.cf first."
|
||||
eerror "A sample is placed there to be renamed and ajusted."
|
||||
eerror "Read the man page or see /usr/share/doc/conserver-<version>/."
|
||||
return 1
|
||||
fi
|
||||
|
||||
if [ ! -e /etc/conserver/conserver.passwd ] ; then
|
||||
eerror "You need to create /etc/conserver/conserver.passwd first."
|
||||
eerror "A sample is placed there to be renamed and ajusted."
|
||||
eerror "Read the man page or see /usr/share/doc/conserver-<version>/."
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
ebegin "Starting conserver"
|
||||
start-stop-daemon --start --quiet --exec \
|
||||
/usr/sbin/conserver -- ${CONSERVER_OPTS} 1>/dev/null
|
||||
eend $? "Failed to start conserver"
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping conserver"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/conserver.pid
|
||||
eend $? "Failed to stop conserver"
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
#%PAM-1.0
|
||||
|
||||
auth required pam_securetty.so
|
||||
auth required pam_nologin.so
|
||||
auth include system-auth
|
||||
|
||||
account include system-auth
|
||||
|
||||
password include system-auth
|
||||
|
||||
session include system-auth
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/diradm/diradm-2.9.5.ebuild,v 1.3 2014/08/10 01:37:40 patrick Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="diradm is a nearly complete nss/shadow suite for managing POSIX users/groups/data in LDAP"
|
||||
#HOMEPAGE="http://research.iat.sfu.ca/custom-software/diradm/"
|
||||
#SRC_URI="${HOMEPAGE}/${P}.tar.bz2"
|
||||
HOMEPAGE="http://orbis-terrarum.net/~robbat2/"
|
||||
SRC_URI="http://orbis-terrarum.net/~robbat2/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="samba irixpasswd automount test"
|
||||
RDEPEND=">=net-nds/openldap-2.3
|
||||
sys-apps/gawk
|
||||
sys-apps/coreutils
|
||||
sys-apps/grep
|
||||
dev-lang/perl
|
||||
app-shells/bash
|
||||
sys-apps/sed
|
||||
virtual/perl-MIME-Base64
|
||||
samba? (
|
||||
dev-perl/Crypt-SmbHash
|
||||
>=net-fs/samba-3.0.6
|
||||
)"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( dev-perl/Crypt-SmbHash >=net-fs/samba-3.0.6 dev-util/dejagnu )"
|
||||
|
||||
pkg_setup() {
|
||||
if use test; then
|
||||
if built_with_use net-nds/openldap minimal ; then
|
||||
die "You MUST have a non-minimal build of OpenLDAP to use the testcases!"
|
||||
fi
|
||||
elog "Warning, for test usage, diradm is built with all optional features!"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
if use test; then
|
||||
myconf="--enable-samba --enable-automount --enable-irixpasswd"
|
||||
else
|
||||
myconf="`use_enable samba` `use_enable automount` `use_enable irixpasswd`"
|
||||
fi
|
||||
econf ${myconf} || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "emake install failed"
|
||||
dodoc CHANGES* README AUTHORS ChangeLog NEWS README.prefork THANKS TODO KNOWN-BUGS
|
||||
if use irixpasswd; then
|
||||
insinto /etc/openldap/schema
|
||||
doins irixpassword.schema
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The new diradm pulls many settings from your LDAP configuration."
|
||||
elog "But don't forget to customize /etc/diradm.conf for other settings."
|
||||
elog "Please see the README to instructions if you problems."
|
||||
}
|
||||
|
||||
src_test() {
|
||||
use test || die "You must build diradm with USE=test to run the testcases!"
|
||||
emake -j1 check
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/diradm/diradm-2.9.6.ebuild,v 1.4 2014/08/10 01:37:40 patrick Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="diradm is a nearly complete nss/shadow suite for managing POSIX users/groups/data in LDAP"
|
||||
#HOMEPAGE="http://research.iat.sfu.ca/custom-software/diradm/"
|
||||
#SRC_URI="${HOMEPAGE}/${P}.tar.bz2"
|
||||
HOMEPAGE="http://orbis-terrarum.net/~robbat2/"
|
||||
SRC_URI="http://orbis-terrarum.net/~robbat2/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="samba irixpasswd automount test"
|
||||
RDEPEND=">=net-nds/openldap-2.3
|
||||
sys-apps/gawk
|
||||
sys-apps/coreutils
|
||||
sys-apps/grep
|
||||
dev-lang/perl
|
||||
app-shells/bash
|
||||
sys-apps/sed
|
||||
virtual/perl-MIME-Base64
|
||||
samba? (
|
||||
dev-perl/Crypt-SmbHash
|
||||
>=net-fs/samba-3.0.6
|
||||
)"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-perl/Crypt-SmbHash
|
||||
>=net-fs/samba-3.0.6
|
||||
dev-util/dejagnu
|
||||
net-nds/openldap[-minimal]
|
||||
)"
|
||||
|
||||
pkg_setup() {
|
||||
use test && elog "Warning, for test usage, diradm is built with all optional features!"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
if use test; then
|
||||
myconf="--enable-samba --enable-automount --enable-irixpasswd"
|
||||
else
|
||||
myconf="`use_enable samba` `use_enable automount` `use_enable irixpasswd`"
|
||||
fi
|
||||
econf ${myconf} || die "econf failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "emake install failed"
|
||||
dodoc CHANGES* README AUTHORS ChangeLog NEWS README.prefork \
|
||||
THANKS TODO KNOWN-BUGS || die
|
||||
if use irixpasswd; then
|
||||
insinto /etc/openldap/schema
|
||||
doins irixpassword.schema
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The new diradm pulls many settings from your LDAP configuration."
|
||||
elog "But don't forget to customize /etc/diradm.conf for other settings."
|
||||
elog "Please see the README to instructions if you problems."
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 check
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/diradm/diradm-2.9.7.ebuild,v 1.6 2014/08/10 01:37:40 patrick Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="diradm is a nearly complete nss/shadow suite for managing POSIX users/groups/data in LDAP"
|
||||
#HOMEPAGE="http://research.iat.sfu.ca/custom-software/diradm/"
|
||||
#SRC_URI="${HOMEPAGE}/${P}.tar.bz2"
|
||||
HOMEPAGE="http://orbis-terrarum.net/~robbat2/"
|
||||
SRC_URI="http://orbis-terrarum.net/~robbat2/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE="samba irixpasswd automount test"
|
||||
RDEPEND=">=net-nds/openldap-2.3
|
||||
sys-apps/gawk
|
||||
sys-apps/coreutils
|
||||
sys-apps/grep
|
||||
dev-lang/perl
|
||||
app-shells/bash
|
||||
sys-apps/sed
|
||||
virtual/perl-MIME-Base64
|
||||
samba? (
|
||||
dev-perl/Crypt-SmbHash
|
||||
>=net-fs/samba-3.0.6
|
||||
)"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-perl/Crypt-SmbHash
|
||||
>=net-fs/samba-3.0.6
|
||||
dev-util/dejagnu
|
||||
net-nds/openldap[-minimal]
|
||||
)"
|
||||
|
||||
pkg_setup() {
|
||||
use test && elog "Warning, for test usage, diradm is built with all optional features!"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
if use test; then
|
||||
myconf="--enable-samba --enable-automount --enable-irixpasswd"
|
||||
else
|
||||
myconf="`use_enable samba` `use_enable automount` `use_enable irixpasswd`"
|
||||
fi
|
||||
econf ${myconf} || die "econf failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "emake install failed"
|
||||
dodoc CHANGES* README AUTHORS ChangeLog NEWS README.prefork \
|
||||
THANKS TODO KNOWN-BUGS || die
|
||||
if use irixpasswd; then
|
||||
insinto /etc/openldap/schema
|
||||
doins irixpassword.schema || die "Failed irixpassword.schema"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The new diradm pulls many settings from your LDAP configuration."
|
||||
elog "But don't forget to customize /etc/diradm.conf for other settings."
|
||||
elog "Please see the README to instructions if you problems."
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 check
|
||||
}
|
@ -1,84 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/gam-server/gam-server-0.1.10-r1.ebuild,v 1.10 2013/04/28 13:04:13 ssuominen Exp $
|
||||
|
||||
EAPI="3"
|
||||
GNOME_ORG_MODULE="gamin"
|
||||
|
||||
inherit autotools eutils flag-o-matic libtool multilib python gnome.org
|
||||
|
||||
DESCRIPTION="Library providing the FAM File Alteration Monitor API"
|
||||
HOMEPAGE="http://www.gnome.org/~veillard/gamin/"
|
||||
SRC_URI="${SRC_URI}
|
||||
mirror://gentoo/gamin-0.1.9-freebsd.patch.bz2
|
||||
http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz" # pkg.m4 for eautoreconf
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="debug kernel_linux"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2:2
|
||||
>=dev-libs/libgamin-0.1.10
|
||||
!app-admin/fam
|
||||
!<app-admin/gamin-0.1.10"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
#S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
mv -vf "${WORKDIR}"/pkg-config-*/pkg.m4 "${WORKDIR}"/ || die
|
||||
|
||||
# Fix compile warnings; bug #188923
|
||||
epatch "${DISTDIR}/gamin-0.1.9-freebsd.patch.bz2"
|
||||
|
||||
# Fix file-collision due to shared library, upstream bug #530635
|
||||
epatch "${FILESDIR}/${PN}-0.1.10-noinst-lib.patch"
|
||||
|
||||
# Fix compilation with latest glib, bug #382783
|
||||
epatch "${FILESDIR}/${PN}-0.1.10-G_CONST_RETURN-removal.patch"
|
||||
|
||||
# Fix crosscompilation issues, bug #267604
|
||||
epatch "${FILESDIR}/${PN}-0.1.10-crosscompile-fix.patch"
|
||||
|
||||
# Enable linux specific features on armel, upstream bug #588338
|
||||
epatch "${FILESDIR}/${P}-armel-features.patch"
|
||||
|
||||
# Fix deadlocks with glib-2.32, bug #413331, upstream #667230
|
||||
epatch "${FILESDIR}/${P}-ih_sub_cancel-deadlock.patch"
|
||||
|
||||
# Drop DEPRECATED flags
|
||||
sed -i -e 's:-DG_DISABLE_DEPRECATED:$(NULL):g' server/Makefile.am || die
|
||||
|
||||
sed -i \
|
||||
-e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
|
||||
-e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
|
||||
configure.in || die #466948
|
||||
|
||||
# autoconf is required as the user-cflags patch modifies configure.in
|
||||
# however, elibtoolize is also required, so when the above patch is
|
||||
# removed, replace the following call with a call to elibtoolize
|
||||
AT_M4DIR="${WORKDIR}" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# fixes bug 225403
|
||||
#append-flags "-D_GNU_SOURCE"
|
||||
|
||||
if ! has_version virtual/pkgconfig; then
|
||||
export DAEMON_CFLAGS="-I/usr/include/glib-2.0 -I/usr/$(get_libdir)/glib-2.0/include"
|
||||
export DAEMON_LIBS="-lglib-2.0"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--disable-debug \
|
||||
--disable-libgamin \
|
||||
--without-python \
|
||||
$(use_enable kernel_linux inotify) \
|
||||
$(use_enable debug debug-api)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
}
|
@ -1,18 +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/gamin/gamin-0.1.10.ebuild,v 1.11 2012/04/26 17:34:06 aballier Exp $
|
||||
|
||||
DESCRIPTION="Meta package providing the File Alteration Monitor API & Server"
|
||||
HOMEPAGE="http://www.gnome.org/~veillard/gamin/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!app-admin/fam
|
||||
>=dev-libs/libgamin-0.1.10"
|
||||
DEPEND=""
|
||||
|
||||
PDEPEND=">=app-admin/gam-server-0.1.10"
|
@ -1,118 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/geolizer/geolizer-2.01.10_p20070115.ebuild,v 1.3 2010/09/17 06:47:32 sping Exp $
|
||||
|
||||
# uses webapp.eclass to create directories with right permissions
|
||||
# probably slight overkill but works well
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit versionator confutils eutils webapp db-use autotools
|
||||
|
||||
WEBAPP_MANUAL_SLOT="yes"
|
||||
|
||||
MY_PV="$(get_version_component_range 1-2)-$(get_version_component_range 3)"
|
||||
WEBALIZER_P="webalizer-${MY_PV}"
|
||||
GEOLIZER_P="${PN}_${MY_PV}-patch.${PV/*_p/}"
|
||||
|
||||
DESCRIPTION="Webserver log file analyzer"
|
||||
HOMEPAGE="http://sysd.org/stas/node/10"
|
||||
SRC_URI="ftp://ftp.mrunix.net/pub/webalizer/old/${WEBALIZER_P}-src.tar.bz2
|
||||
http://sysd.org/stas/files/active/0/${GEOLIZER_P}.tar.gz
|
||||
mirror://gentoo/webalizer.conf.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="nls"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=">=sys-libs/db-4.2
|
||||
>=sys-libs/zlib-1.1.4
|
||||
>=media-libs/libpng-1.2
|
||||
>=media-libs/gd-1.8.3
|
||||
dev-libs/geoip"
|
||||
|
||||
S="${WORKDIR}"/${WEBALIZER_P}
|
||||
|
||||
pkg_setup() {
|
||||
webapp_pkg_setup
|
||||
confutils_require_built_with_all media-libs/gd png
|
||||
|
||||
# USE=nls has no real meaning if LINGUAS isn't set
|
||||
if use nls && [[ -z "${LINGUAS}" ]]; then
|
||||
ewarn "you must set LINGUAS in /etc/make.conf"
|
||||
ewarn "if you want to USE=nls"
|
||||
die "please either set LINGUAS or do not use nls"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}"/${PN}_${MY_PV}-patch/${PN}.patch \
|
||||
"${FILESDIR}"/${P}-etc-geolizer-conf.patch \
|
||||
"${FILESDIR}"/${P}-strip.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# really dirty hack; necessary due to a really gross ./configure
|
||||
# basically, it just sets the natural language the program uses
|
||||
# unfortunatly, this program only allows for one lang, so only the first
|
||||
# entry in LINGUAS is used
|
||||
if use nls; then
|
||||
local longlang="$(grep ^${LINGUAS:0:2} "${FILESDIR}"/geolizer-language-list.txt)"
|
||||
local myconf="${myconf} --with-language=${longlang:3}"
|
||||
else
|
||||
local myconf="${myconf} --with-language=english"
|
||||
fi
|
||||
|
||||
econf --enable-dns \
|
||||
--with-db=$(db_includedir) \
|
||||
--with-dblib=$(db_libname) \
|
||||
${myconf} \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
newbin webalizer geolizer
|
||||
fperms 755 /usr/bin/geolizer
|
||||
dosym geolizer /usr/bin/geozolver || die 'dosym failed'
|
||||
newman webalizer.1 geolizer.1 || die 'newman failed'
|
||||
|
||||
insinto /etc
|
||||
newins "${WORKDIR}"/webalizer.conf geolizer.conf || die 'doins failed'
|
||||
dosed "s/apache/apache2/g" /etc/geolizer.conf || die 'dosed failed'
|
||||
|
||||
dodoc CHANGES *README* INSTALL sample.conf "${FILESDIR}"/apache.geolizer || die 'dodoc failed'
|
||||
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "It is suggested that you restart apache before using geolizer"
|
||||
elog "You may want to review /etc/geolizer.conf and ensure that"
|
||||
elog "OutputDir is set correctly"
|
||||
elog
|
||||
elog "Then just type geolizer to generate your stats."
|
||||
elog "You can also use cron to generate them e.g. every day."
|
||||
elog "They can be accessed via http://localhost/geolizer"
|
||||
elog
|
||||
elog "A sample Apache config file has been installed into"
|
||||
elog "/usr/share/doc/${PF}/apache.geolizer"
|
||||
elog "Please edit and install it as necessary"
|
||||
elog
|
||||
|
||||
if [[ ${#LINGUAS} -gt 2 ]] && use nls; then
|
||||
ewarn
|
||||
ewarn "You have more than one language in LINGUAS"
|
||||
ewarn "Due to the limitations of this packge, it was built"
|
||||
ewarn "only with ${LINGUAS:0:2} support. If this is not what"
|
||||
ewarn "you intended, please place the language you desire"
|
||||
ewarn "_first_ in the list of LINGUAS in /etc/make.conf"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
webapp_pkg_postinst
|
||||
}
|
@ -1,119 +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/gkrellm/gkrellm-2.3.5-r1.ebuild,v 1.1 2012/06/27 17:52:13 lack Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils multilib toolchain-funcs user
|
||||
|
||||
DESCRIPTION="Single process stack of various system monitors"
|
||||
HOMEPAGE="http://www.gkrellm.net/"
|
||||
SRC_URI="http://members.dslextreme.com/users/billw/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="hddtemp gnutls lm_sensors nls ssl ntlm X kernel_FreeBSD"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
hddtemp? ( app-admin/hddtemp )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
!gnutls? ( ssl? ( dev-libs/openssl ) )
|
||||
lm_sensors? ( sys-apps/lm_sensors )
|
||||
nls? ( virtual/libintl )
|
||||
ntlm? ( net-libs/libntlm )
|
||||
X? ( x11-libs/gtk+:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup gkrellmd
|
||||
enewuser gkrellmd -1 -1 -1 gkrellmd
|
||||
TARGET=
|
||||
use kernel_FreeBSD && TARGET="freebsd"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's:-O2 ::' \
|
||||
-e 's:override CC:CFLAGS:' \
|
||||
-i */Makefile || die "sed Makefile(s) failed"
|
||||
|
||||
sed -e 's:#user\tnobody:user\tgkrellmd:' \
|
||||
-e 's:#group\tproc:group\tgkrellmd:' \
|
||||
-i server/gkrellmd.conf || die "sed gkrellmd.conf failed"
|
||||
|
||||
sed -e "s:/usr/lib:/usr/$(get_libdir):" \
|
||||
-e "s:/usr/local/lib:/usr/local/$(get_libdir):" \
|
||||
-i src/${PN}.h || die "sed ${PN}.h failed"
|
||||
|
||||
epatch "${FILESDIR}/${P}-autofs.patch"
|
||||
epatch "${FILESDIR}/${P}-cifs.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use X ; then
|
||||
local sslopt=""
|
||||
if use gnutls; then
|
||||
sslopt="without-ssl=yes"
|
||||
elif use ssl; then
|
||||
sslopt="without-gnutls=yes"
|
||||
else
|
||||
sslopt="without-ssl=yes without-gnutls=yes"
|
||||
fi
|
||||
|
||||
emake ${TARGET} \
|
||||
CC="$(tc-getCC)" \
|
||||
STRIP="" \
|
||||
INSTALLROOT="/usr" \
|
||||
INCLUDEDIR="/usr/include/gkrellm2" \
|
||||
LOCALEDIR="/usr/share/locale" \
|
||||
$(use nls || echo enable_nls=0) \
|
||||
$(use lm_sensors || echo without-libsensors=yes) \
|
||||
$(use ntlm || echo without-ntlm=yes) \
|
||||
${sslopt} \
|
||||
|| die "emake failed"
|
||||
else
|
||||
cd server
|
||||
emake ${TARGET} \
|
||||
CC="$(tc-getCC)" \
|
||||
LINK_FLAGS="$LDFLAGS -Wl,-E" \
|
||||
STRIP="" \
|
||||
$(use nls || echo enable_nls=0) \
|
||||
$(use lm_sensors || echo without-libsensors=yes) \
|
||||
|| die "emake failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use X ; then
|
||||
emake install${TARGET:+_}${TARGET} \
|
||||
$(use nls || echo enable_nls=0) \
|
||||
STRIP="" \
|
||||
INSTALLDIR="${D}/usr/bin" \
|
||||
INCLUDEDIR="${D}/usr/include" \
|
||||
LOCALEDIR="${D}/usr/share/locale" \
|
||||
PKGCONFIGDIR="${D}/usr/$(get_libdir)/pkgconfig" \
|
||||
MANDIR="${D}/usr/share/man/man1" \
|
||||
|| die "emake install failed"
|
||||
|
||||
dohtml *.html
|
||||
|
||||
newicon src/icon.xpm ${PN}.xpm
|
||||
make_desktop_entry ${PN} GKrellM ${PN}
|
||||
else
|
||||
dobin server/gkrellmd || die "dobin failed"
|
||||
|
||||
insinto /usr/include/gkrellm2
|
||||
doins server/gkrellmd.h || die "doins failed"
|
||||
doins shared/log.h || die "doins failed"
|
||||
fi
|
||||
|
||||
doinitd "${FILESDIR}"/gkrellmd || die "doinitd failed"
|
||||
newconfd "${FILESDIR}"/gkrellmd.conf gkrellmd || die "newconfd failed"
|
||||
|
||||
insinto /etc
|
||||
doins server/gkrellmd.conf || die "doins failed"
|
||||
|
||||
dodoc Changelog CREDITS README
|
||||
}
|
@ -1,123 +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/gkrellm/gkrellm-2.3.5.ebuild,v 1.11 2012/05/31 02:30:55 zmedico Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils multilib toolchain-funcs user
|
||||
|
||||
DESCRIPTION="Single process stack of various system monitors"
|
||||
HOMEPAGE="http://www.gkrellm.net/"
|
||||
SRC_URI="http://members.dslextreme.com/users/billw/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="2"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="hddtemp gnutls lm_sensors nls ssl ntlm X kernel_FreeBSD"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
hddtemp? ( app-admin/hddtemp )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
!gnutls? ( ssl? ( dev-libs/openssl ) )
|
||||
lm_sensors? ( sys-apps/lm_sensors )
|
||||
nls? ( virtual/libintl )
|
||||
ntlm? ( net-libs/libntlm )
|
||||
X? ( x11-libs/gtk+:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup gkrellmd
|
||||
enewuser gkrellmd -1 -1 -1 gkrellmd
|
||||
TARGET=
|
||||
use kernel_FreeBSD && TARGET="freebsd"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's:-O2 ::' \
|
||||
-e 's:override CC:CFLAGS:' \
|
||||
-i */Makefile || die "sed Makefile(s) failed"
|
||||
|
||||
sed -e 's:#user\tnobody:user\tgkrellmd:' \
|
||||
-e 's:#group\tproc:group\tgkrellmd:' \
|
||||
-i server/gkrellmd.conf || die "sed gkrellmd.conf failed"
|
||||
|
||||
sed -e "s:/usr/lib:/usr/$(get_libdir):" \
|
||||
-e "s:/usr/local/lib:/usr/local/$(get_libdir):" \
|
||||
-i src/${PN}.h || die "sed ${PN}.h failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use X ; then
|
||||
local sslopt=""
|
||||
if use gnutls; then
|
||||
sslopt="without-ssl=yes"
|
||||
elif use ssl; then
|
||||
sslopt="without-gnutls=yes"
|
||||
else
|
||||
sslopt="without-ssl=yes without-gnutls=yes"
|
||||
fi
|
||||
|
||||
emake ${TARGET} \
|
||||
CC="$(tc-getCC)" \
|
||||
STRIP="" \
|
||||
INSTALLROOT="/usr" \
|
||||
INCLUDEDIR="/usr/include/gkrellm2" \
|
||||
LOCALEDIR="/usr/share/locale" \
|
||||
$(use nls || echo enable_nls=0) \
|
||||
$(use lm_sensors || echo without-libsensors=yes) \
|
||||
$(use ntlm || echo without-ntlm=yes) \
|
||||
${sslopt} \
|
||||
|| die "emake failed"
|
||||
else
|
||||
cd server
|
||||
emake ${TARGET} \
|
||||
CC="$(tc-getCC)" \
|
||||
LINK_FLAGS="$LDFLAGS -Wl,-E" \
|
||||
STRIP="" \
|
||||
$(use nls || echo enable_nls=0) \
|
||||
$(use lm_sensors || echo without-libsensors=yes) \
|
||||
|| die "emake failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use X ; then
|
||||
emake install${TARGET:+_}${TARGET} \
|
||||
$(use nls || echo enable_nls=0) \
|
||||
STRIP="" \
|
||||
INSTALLDIR="${D}/usr/bin" \
|
||||
INCLUDEDIR="${D}/usr/include" \
|
||||
LOCALEDIR="${D}/usr/share/locale" \
|
||||
PKGCONFIGDIR="${D}/usr/$(get_libdir)/pkgconfig" \
|
||||
MANDIR="${D}/usr/share/man/man1" \
|
||||
|| die "emake install failed"
|
||||
|
||||
dohtml *.html
|
||||
|
||||
newicon src/icon.xpm ${PN}.xpm
|
||||
make_desktop_entry ${PN} GKrellM ${PN}
|
||||
else
|
||||
dobin server/gkrellmd || die "dobin failed"
|
||||
|
||||
insinto /usr/include/gkrellm2
|
||||
doins server/gkrellmd.h || die "doins failed"
|
||||
doins shared/log.h || die "doins failed"
|
||||
fi
|
||||
|
||||
doinitd "${FILESDIR}"/gkrellmd || die "doinitd failed"
|
||||
newconfd "${FILESDIR}"/gkrellmd.conf gkrellmd || die "newconfd failed"
|
||||
|
||||
insinto /etc
|
||||
doins server/gkrellmd.conf || die "doins failed"
|
||||
|
||||
dodoc Changelog CREDITS README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X ; then
|
||||
ewarn "The old executable name 'gkrellm2' has been removed."
|
||||
ewarn "Run 'gkrellm' instead."
|
||||
fi
|
||||
}
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-2.4.1.ebuild,v 1.1 2015/04/14 22:07:18 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano"
|
||||
inherit subversion autotools
|
||||
else
|
||||
MY_P=${PN}-${PV/_}
|
||||
SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GNU GPL'd Pico clone with more functionality"
|
||||
HOMEPAGE="http://www.nano-editor.org/ http://www.gentoo.org/doc/en/nano-basics-guide.xml"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug justify +magic minimal ncurses nls slang +spell unicode"
|
||||
|
||||
RDEPEND=">=sys-libs/ncurses-5.9-r1[unicode?]
|
||||
magic? ( sys-apps/file )
|
||||
nls? ( virtual/libintl )
|
||||
!ncurses? ( slang? ( sys-libs/slang ) )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic)
|
||||
local myconf=()
|
||||
case ${CHOST} in
|
||||
*-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
|
||||
esac
|
||||
econf \
|
||||
--bindir="${EPREFIX}"/bin \
|
||||
--htmldir=/trash \
|
||||
$(use_enable !minimal color) \
|
||||
$(use_enable !minimal multibuffer) \
|
||||
$(use_enable !minimal nanorc) \
|
||||
--disable-wrapping-as-root \
|
||||
$(use_enable spell speller) \
|
||||
$(use_enable justify) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable unicode utf8) \
|
||||
$(use_enable minimal tiny) \
|
||||
$(usex ncurses --without-slang $(use_with slang)) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -rf "${D}"/trash
|
||||
|
||||
dodoc doc/nanorc.sample
|
||||
dohtml doc/faq.html
|
||||
insinto /etc
|
||||
newins doc/nanorc.sample nanorc
|
||||
if ! use minimal ; then
|
||||
# Enable colorization by default.
|
||||
sed -i \
|
||||
-e '/^# include /s:# *::' \
|
||||
"${ED}"/etc/nanorc || die
|
||||
fi
|
||||
|
||||
dodir /usr/bin
|
||||
dosym /bin/nano /usr/bin/nano
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST CRF++-0.53.tar.gz 805150 SHA256 8a909ed9bd2495c82389a5325f9c50a0dd6232f67150b0ddb89c73633ab32dea SHA512 ebb75ee3e1f32900e57ce6007e4a4910daa12c172eac675b19d878e99ff56ffb3702d36488b5bdc3d81e20ef45ad7f2a09a3203d82013689e85dfbe03da638e9 WHIRLPOOL 85c1888c58eb24f52333365c899487378bb21176abf40f9687d24a0fed1712c9b71904bf90dac969de256dc680f3253a850c17a4e3f964493fb263141b70e6a0
|
||||
DIST CRF++-0.54.tar.gz 809008 SHA256 8dab6e9ab71212b3d223588f6855384f2b29dada0a30d450266f8990ced63354 SHA512 4198ad9423776a44d02db51a655a35f36db767ec623f55de426b3415179ac7187b91d23c6ef9a2cf3d1c38e14507fc7681006ff2ba50dcfc771a7d5e9d1c5760 WHIRLPOOL 6e09affc37cee8bda9df1b7a919f386e026f4218a5ccda7e677b7a172887aba7af85db2357ea1ec51c8122115bb558183e242315d2991b4745df6ce90835cda4
|
||||
DIST CRF++-0.58.tar.gz 790570 SHA256 9d1c0a994f25a5025cede5e1d3a687ec98cd4949bfb2aae13f2a873a13259cb2 SHA512 676b3e9ed89b5fb2f246175b58c384f10cab09fff8329c07311fed3832f55dbad26a25d2946c9efaa75cd8026517cb9e1742bb70ca26187367747852073e4eb9 WHIRLPOOL 87f642639c0d670a7926d99630f2230fffbbea1e02976fc8f47dc580dcbfffdca6e2e066445e7bd28fb517dd5f3798af9fda6549c54fd5278f3570befc155ee6
|
||||
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/crf++/crf++-0.53.ebuild,v 1.2 2010/12/02 01:18:51 flameeyes Exp $
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
MY_P="${P/crf/CRF}"
|
||||
DESCRIPTION="Yet Another CRF toolkit for segmenting/labelling sequential data"
|
||||
HOMEPAGE="http://crfpp.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/crfpp/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( BSD LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="examples"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
sed -i \
|
||||
-e "/CFLAGS/s/-O3/${CFLAGS}/" \
|
||||
-e "/CXXFLAGS/s/-O3/${CXXFLAGS}/" \
|
||||
configure.in || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_test() {
|
||||
for task in example/* ; do
|
||||
(
|
||||
cd "${task}"
|
||||
./exec.sh || die "failed test in ${task}"
|
||||
)
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
dodoc AUTHORS README
|
||||
dohtml doc/*
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r example
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST cwtext-0.94.tar.gz 12957 SHA256 7aa753003e055b2a1edddf353db1553a247dd0aaa7d269d293b809f636ba2cbe SHA512 a2e696b34d9a4101d36d8db270d9e5498f3deeeea9323d549b1f8d9349f191c5ffde57c7b67776060dec853c4d04a571f0ecc26f605ac4c1d8ce0940b65df374 WHIRLPOOL d0f4cca842c5cb093040c4b37eefaca5c3e41529b10f09d44e646385827204e399cb7d83807fe21a05f728616740f309b850c63839c20635e6388ccdde074e3a
|
||||
DIST cwtext-0.96.tar.gz 16596 SHA256 db108e6f510583edf4a285c6d6ab9ab9fdffa3bc5682903b316fd10e1e12393e SHA512 6765c79b6feea2947974bf4654ed1edc83f6c9ddaae1bf37d5ed95dedc4ce9b45d5e41dff7ec50d6586f34901d8f93a3230f1a7e1cf4d52b8a84c851cfbdbd33 WHIRLPOOL eb06efa8c9eb1817431826a5454d417c9440da7e7a8f5ce7a3fd34466d64a2e097140973e31237657b2c88d7b95044e51c9d00568f5217610e5b997f8c6e0a80
|
||||
|
@ -1,32 +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/cwtext/cwtext-0.94.ebuild,v 1.18 2012/02/05 15:46:26 armin76 Exp $
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Text to Morse Code converter"
|
||||
HOMEPAGE="http://cwtext.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~mips ppc ~ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# change install directory to ${S}
|
||||
sed -i -e "/^PREFIX/ s:=.*:=\"${S}\":" makefile || \
|
||||
die "sed makefile failed"
|
||||
|
||||
epatch "${FILESDIR}"/${P}-asneeded.patch
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin cwtext cwpcm cwmm || die "dobin failed"
|
||||
|
||||
dodoc Changes README TODO
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST docbook-xsl-ns-1.77.1.tar.bz2 4329834 SHA256 399ee0bcba707bd177882d5430e458d916e719ca2bd69ac77b13ae95e1f89977 SHA512 f2046a105d6c39714cf96eedb67c9819c61712bdbd1f13c9875fc7ff3d421dd9cd5804d1f60272eee6466d0885faba9135fe71349811ff605f5ea5d2e732c848 WHIRLPOOL d7c0bc513a61390f98e45a0b15673850492455fe344b51258ea22f98b024a3ad110932ce764ea34a099a9beb6e77ddd950c972d4bc1b628ad5e4a0cdbd0bf08f
|
||||
DIST docbook-xsl-ns-1.78.0.tar.bz2 4992293 SHA256 255f67ff33c879e461d7a7550be80477d1bd0b0c3406fa50e9b4037eeb8c598e SHA512 f3b9b52a4ba5670c17086cdf64674080ef82a9226f085887c23c53d2d102611d690895c71d14186cd84a25c7735b05d6c55207f4b2b9084d65889aaac7993cf3 WHIRLPOOL d0f875baddea8317eaf6b5a4d1d0e9b3e4a380fada6414a310a88c3a9ea8fc2f502c249a1862e100138030409f1fa0052514b905ba56fa084c3798d78d0a0396
|
||||
|
@ -1,80 +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/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.77.1-r1.ebuild,v 1.7 2012/09/15 18:49:12 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DOCBOOKDIR="/usr/share/sgml/${PN/-//}"
|
||||
MY_PN="${PN%-stylesheets}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="XSL Stylesheets for Docbook"
|
||||
HOMEPAGE="http://wiki.docbook.org/topic/DocBookXslStylesheets"
|
||||
SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="ruby"
|
||||
|
||||
RDEPEND=">=app-text/build-docbook-catalog-1.4
|
||||
ruby? ( || ( dev-lang/ruby dev-lang/ruby-enterprise ) )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# Makefile is broken since 1.76.0
|
||||
RESTRICT=test
|
||||
|
||||
# The makefile runs tests, not builds.
|
||||
src_compile() { :; }
|
||||
|
||||
src_test() {
|
||||
emake check || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# The changelog is now zipped, and copied as the RELEASE-NOTES, so we
|
||||
# don't need to install it
|
||||
dodoc AUTHORS BUGS NEWS README RELEASE-NOTES.txt TODO
|
||||
|
||||
insinto ${DOCBOOKDIR}
|
||||
doins VERSION VERSION.xsl
|
||||
|
||||
local i
|
||||
for i in $(find . -maxdepth 1 -mindepth 1 -type d -exec basename {} \;); do
|
||||
[[ "$i" == "epub" ]] && ! use ruby && continue
|
||||
|
||||
cd "${S}"/${i}
|
||||
for doc in ChangeLog README; do
|
||||
if [ -e "$doc" ]; then
|
||||
mv ${doc} ${doc}.${i}
|
||||
dodoc ${doc}.${i}
|
||||
rm ${doc}.${i}
|
||||
fi
|
||||
done
|
||||
|
||||
doins -r "${S}"/${i}
|
||||
done
|
||||
|
||||
if use ruby; then
|
||||
local cmd="dbtoepub${MY_PN#docbook-xsl}"
|
||||
|
||||
# we can't use a symlink or it'll look for the library in the
|
||||
# wrong path.
|
||||
dodir /usr/bin
|
||||
cat - > "${D}"/usr/bin/${cmd} <<EOF
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
load "${DOCBOOKDIR}/epub/bin/dbtoepub"
|
||||
EOF
|
||||
fperms 0755 /usr/bin/${cmd}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
build-docbook-catalog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
build-docbook-catalog
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST docbook-xsl-1.77.1.tar.bz2 4319727 SHA256 24c6c4413f71f9a2c000fa21be76c58f53db1baa42f17b02845e1c2c0aeb7cd5 SHA512 39c1eb10ce439ad2c99d9aedf13d26b9ff6bbab871d4491c88253c9f88caaaafdb9316dde201627c84b639c4b6c2a110fa0eddc687ff4e199c0407331954c839 WHIRLPOOL 83637d2c2308a416089352ece61dfef3e80bf09cb9df717b25efb757807281bd3127e071e8788d92844288b945349f6408b46f6ad2d13be0b38b27bbfda6bfbc
|
||||
DIST docbook-xsl-1.78.0.tar.bz2 5011106 SHA256 e43220bfe35cad7eb289291264da472819c4b781173a9a58f72d6e404a1f5923 SHA512 9611e354a8c8e86fa203a0b58356a6229e82f98197a94f9a668c10e10ef3ebb87f468fa03a04292068d1cca5ad31043d78e19981933ee3820910d70ca9e044e2 WHIRLPOOL a2ffba19a2da8c6fc1be9fbdc8ef5b5fc5f13ed8524ffc07bda56b7f986268f45b5c4df2261f6a04c7e12b97aadc2e2a6718268ffe3102aa58589f2db6e6f90c
|
||||
|
@ -1,80 +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/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.77.1-r1.ebuild,v 1.7 2012/09/30 17:09:49 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DOCBOOKDIR="/usr/share/sgml/${PN/-//}"
|
||||
MY_PN="${PN%-stylesheets}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="XSL Stylesheets for Docbook"
|
||||
HOMEPAGE="http://wiki.docbook.org/topic/DocBookXslStylesheets"
|
||||
SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="ruby"
|
||||
|
||||
RDEPEND=">=app-text/build-docbook-catalog-1.1
|
||||
ruby? ( || ( dev-lang/ruby dev-lang/ruby-enterprise ) )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# Makefile is broken since 1.76.0
|
||||
RESTRICT=test
|
||||
|
||||
# The makefile runs tests, not builds.
|
||||
src_compile() { :; }
|
||||
|
||||
src_test() {
|
||||
emake check || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# The changelog is now zipped, and copied as the RELEASE-NOTES, so we
|
||||
# don't need to install it
|
||||
dodoc AUTHORS BUGS NEWS README RELEASE-NOTES.txt TODO
|
||||
|
||||
insinto ${DOCBOOKDIR}
|
||||
doins VERSION VERSION.xsl
|
||||
|
||||
local i
|
||||
for i in $(find . -maxdepth 1 -mindepth 1 -type d -exec basename {} \;); do
|
||||
[[ "$i" == "epub" ]] && ! use ruby && continue
|
||||
|
||||
cd "${S}"/${i}
|
||||
for doc in ChangeLog README; do
|
||||
if [ -e "$doc" ]; then
|
||||
mv ${doc} ${doc}.${i}
|
||||
dodoc ${doc}.${i}
|
||||
rm ${doc}.${i}
|
||||
fi
|
||||
done
|
||||
|
||||
doins -r "${S}"/${i}
|
||||
done
|
||||
|
||||
if use ruby; then
|
||||
local cmd="dbtoepub${MY_PN#docbook-xsl}"
|
||||
|
||||
# we can't use a symlink or it'll look for the library in the
|
||||
# wrong path.
|
||||
dodir /usr/bin
|
||||
cat - > "${D}"/usr/bin/${cmd} <<EOF
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
load "${DOCBOOKDIR}/epub/bin/dbtoepub"
|
||||
EOF
|
||||
fperms 0755 /usr/bin/${cmd}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
build-docbook-catalog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
build-docbook-catalog
|
||||
}
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.78.0.ebuild,v 1.14 2014/01/18 11:45:54 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DOCBOOKDIR="/usr/share/sgml/${PN/-//}"
|
||||
MY_PN="${PN%-stylesheets}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="XSL Stylesheets for Docbook"
|
||||
HOMEPAGE="http://wiki.docbook.org/topic/DocBookXslStylesheets"
|
||||
SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="ruby"
|
||||
|
||||
RDEPEND=">=app-text/build-docbook-catalog-1.1
|
||||
ruby? ( dev-lang/ruby )"
|
||||
DEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# Makefile is broken since 1.76.0
|
||||
RESTRICT=test
|
||||
|
||||
# The makefile runs tests, not builds.
|
||||
src_compile() { :; }
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# The changelog is now zipped, and copied as the RELEASE-NOTES, so we
|
||||
# don't need to install it
|
||||
dodoc AUTHORS BUGS NEWS README RELEASE-NOTES.txt TODO
|
||||
|
||||
insinto ${DOCBOOKDIR}
|
||||
doins VERSION VERSION.xsl
|
||||
|
||||
local i
|
||||
for i in $(find . -maxdepth 1 -mindepth 1 -type d -exec basename {} \;); do
|
||||
[[ "$i" == "epub" ]] && ! use ruby && continue
|
||||
|
||||
cd "${S}"/${i}
|
||||
for doc in ChangeLog README; do
|
||||
if [ -e "$doc" ]; then
|
||||
mv ${doc} ${doc}.${i}
|
||||
dodoc ${doc}.${i}
|
||||
rm ${doc}.${i}
|
||||
fi
|
||||
done
|
||||
|
||||
doins -r "${S}"/${i}
|
||||
done
|
||||
|
||||
if use ruby; then
|
||||
local cmd="dbtoepub${MY_PN#docbook-xsl}"
|
||||
|
||||
# we can't use a symlink or it'll look for the library in the
|
||||
# wrong path.
|
||||
dodir /usr/bin
|
||||
cat - > "${D}"/usr/bin/${cmd} <<EOF
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
load "${DOCBOOKDIR}/epub/bin/dbtoepub"
|
||||
EOF
|
||||
fperms 0755 /usr/bin/${cmd}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
build-docbook-catalog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
build-docbook-catalog
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST hyperestraier-1.4.10.tar.gz 1011767 SHA256 9b64d3a3273b80494cba0511501a83f6d5c03e9268192e2ed09ac7c2c383d396 SHA512 32f01d137335e7ca120dae800c172cb354b04f78dff10370a0d8938ce648dba61cd2fa2c83e5049e775e14420a3fc0d04808a7d1aea4846bc46f81abb665180d WHIRLPOOL 464b79b104b95639256c8a9b54a0cead59d355f3511647dad8066326c09bbbad6469094f6c31a8c99f0a091f004c7e6ad1fa5caf447ad1b63c9cb289dd39d921
|
||||
DIST hyperestraier-1.4.13.tar.gz 1014600 SHA256 92f3e76d12da79e116e4e68487ffdddfc2abe5f50f509247905414daa5c38fff SHA512 ec97f487bb0e085f74222106fc5fab227c8c02ee8d736c0b4adef57ec0e4310f829ac59fff5a1c92321786e89bbc2a059a0acff6ab0e5844b83627567bb265fc WHIRLPOOL 686b6de4334fc345c98239d981367247fa670eaa3dc7769d5cb71a694c278bef9ab03f7ef3260281eaa1ef4070b611c780374bb6d832c45908c86a9941a44b70
|
||||
|
@ -1,110 +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/hyperestraier/hyperestraier-1.4.10-r1.ebuild,v 1.7 2012/06/03 23:24:09 zmedico Exp $
|
||||
|
||||
inherit java-pkg-opt-2 multilib
|
||||
|
||||
IUSE="debug java mecab ruby"
|
||||
|
||||
DESCRIPTION="a full-text search system for communities"
|
||||
HOMEPAGE="http://fallabs.com/hyperestraier/"
|
||||
SRC_URI="http://fallabs.com/hyperestraier/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="amd64 ppc sparc x86"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=dev-db/qdbm-1.8.75
|
||||
sys-libs/zlib
|
||||
java? ( >=virtual/jre-1.4 )
|
||||
mecab? ( app-text/mecab )
|
||||
ruby? ( dev-lang/ruby )"
|
||||
DEPEND="${RDEPEND}
|
||||
java? ( >=virtual/jdk-1.4 )"
|
||||
|
||||
src_unpack() {
|
||||
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# fix for insecure runpath warning.
|
||||
sed -i "/^LDENV/d" Makefile.in
|
||||
|
||||
sed -i "/^JAVACFLAGS/s:$: ${JAVACFLAGS}:" java*/Makefile.in
|
||||
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
econf \
|
||||
`use_enable debug` \
|
||||
`use_enable mecab` \
|
||||
|| die
|
||||
emake || die
|
||||
|
||||
local u d
|
||||
|
||||
for u in java ruby; do
|
||||
if ! use ${u}; then
|
||||
continue
|
||||
fi
|
||||
|
||||
for d in ${u}native ${u}pure; do
|
||||
cd ${d}
|
||||
econf || die
|
||||
emake || die
|
||||
cd -
|
||||
done
|
||||
done
|
||||
|
||||
}
|
||||
|
||||
src_test() {
|
||||
|
||||
emake -j1 check || die
|
||||
|
||||
local u d
|
||||
|
||||
for u in java ruby; do
|
||||
if ! use ${u}; then
|
||||
continue
|
||||
fi
|
||||
|
||||
for d in ${u}native; do
|
||||
cd ${d}
|
||||
emake -j1 check || die
|
||||
cd -
|
||||
done
|
||||
done
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
emake DESTDIR="${D}" MYDOCS= install || die
|
||||
dodoc ChangeLog README* THANKS
|
||||
dohtml doc/*
|
||||
|
||||
local u d
|
||||
|
||||
for u in java ruby; do
|
||||
if ! use ${u}; then
|
||||
continue
|
||||
fi
|
||||
|
||||
for d in ${u}native ${u}pure; do
|
||||
cd ${d}
|
||||
emake DESTDIR="${D}" install || die
|
||||
cd -
|
||||
dohtml -r doc/${d}api
|
||||
done
|
||||
done
|
||||
|
||||
if use java; then
|
||||
java-pkg_dojar "${D}"/usr/$(get_libdir)/*.jar
|
||||
rm -f "${D}"/usr/$(get_libdir)/*.jar
|
||||
fi
|
||||
|
||||
rm -f "${D}"/usr/bin/*test
|
||||
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST kpaste-0.1.tar.gz 21031 SHA256 17d6d928dac531a310591d329ebc9ab335dadeea2f02f457eb9e38946359ebed SHA512 92afd613e94d413107a812ddd51de0a2b4de8ef2b6339ff236c822f15e93c1132cc8dbcfe6697f0d5083f8c168dae56b817e281b65f6d6a74d5fabd1484a56d1 WHIRLPOOL 65e2e6342bb08366894145308fcda3e98a611e10852aadff942c2ca45b778d58152a0dedace7e954c3bc7e02b8d9cfc747fa3373ae74a7136f29c6ef79b5b9f1
|
||||
DIST kpaste-1.0.tar.bz2 19607 SHA256 3fda8aa0efa8231b81ab863f6884999d0c1fbbc729f64979fd49a48c1651e801 SHA512 ba1e2b10192e3f5a2f8fa11ca57ec274a6b277195ba8ec41c64ea0ea4552f477c785c7894ea653137094cf3a6d041f04260006326978993d00cab1edd6c93918 WHIRLPOOL 98fa7c4d9e2eb753f1d49bf9f62dca1f80a4042a84cc3795773133b109cce95c9abf42ae080d9d2fe66448ff02d833aa6d19770f770ece618269b30f19d9d861
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/kpaste/kpaste-0.1.ebuild,v 1.1 2011/12/31 04:57:04 floppym Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Command-line tool to paste to paste.kde.org"
|
||||
HOMEPAGE="http://quickgit.kde.org/?p=kpaste.git"
|
||||
SRC_URI="http://dev.gentoo.org/~floppym/distfiles/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin kpaste
|
||||
dodoc README
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST letterize-1.2.tar.gz 13314 SHA256 be5906ece69098b7cec43d935c8e9d886001e992f2104de1f50968071d0d895b SHA512 34a8bf6fb510ca3eed99bf5d11d6430e4fe9b56c1aa00342870db49170eae3e584fe8a111d74bb38d187ecc08ad841aaa28d870d99e32240b520c411523dfe35 WHIRLPOOL bd35a9486a610a44215a5d4d5d5e33f40fafad55cd6a562fcbffc9ead8216550744044ec3a240f3e192891bdc4291f1b17ab3df5cfad4c094011301c64d7e552
|
||||
DIST letterize-1.3.tar.gz 7772 SHA256 bd86e477770c7df04e12cd7612c1e2e3f2ac97835bfe64ca954c99bf2a47c644 SHA512 481caa2ecd487e7950faa87e1468887fbc4b3964d02ea86394489834bc6368bad590c54744d08cfa00b34b05ebab094f24a0b84ea91af4ab8e56455c6615bdb8 WHIRLPOOL 141f774c2454c3643c25f8c8025b048f7a1c57c4641d8398b45dabd4b6262011f551593946828a22af6a5d4917d51797678729680b36c63e115c056b5dac8d3b
|
||||
|
@ -1,13 +0,0 @@
|
||||
diff -ur letterize-1.2.orig/letterize.c letterize-1.2/letterize.c
|
||||
--- letterize-1.2.orig/letterize.c 1994-10-25 04:29:21.000000000 +0200
|
||||
+++ letterize-1.2/letterize.c 2008-05-24 13:54:18.000000000 +0300
|
||||
@@ -18,6 +18,9 @@
|
||||
|
||||
The table is 30 percent populated.
|
||||
*/
|
||||
+
|
||||
+#include <stdio.h>
|
||||
+
|
||||
long obvtab[27][27] =
|
||||
{
|
||||
{ 0X00100001, 0X00040000, 0X00040000, 0X00009000, 0X00808020, 0X00140000,
|
@ -1,31 +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/letterize/letterize-1.2.ebuild,v 1.2 2008/05/24 12:06:08 drac Exp $
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Generate English-plausible alphabetic mnemonics for a phone number"
|
||||
HOMEPAGE="http://www.catb.org/~esr/letterize/"
|
||||
SRC_URI="http://www.catb.org/~esr/letterize/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-printf.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake || die "emake failed."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} || die "dobin failed."
|
||||
doman ${PN}.1
|
||||
dodoc README
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST mftrace-1.2.17.tar.gz 78967 SHA256 b347a9011c2bd3635055c560f563340c9225b65acd8b0933a91147be6665fb68 SHA512 126fd1f3c0e2c73ca81f11c2e261b6939bcc197f4bee0dc071e1c6bd12c596b33428d247c298d831899297048e13e9a838052a02164ceb837b3b5082ff791869 WHIRLPOOL f6ca7d407e5060402a1675e23a3000964cc65a73aa1c486b7e1096d4bf0fa1e382df9a49efaa7899f4d7bae3b6f473781436fa69976072e8a77d610d0cd0425b
|
||||
DIST mftrace-1.2.18.tar.gz 79112 SHA256 0d31065f1d35919e311d9170bbfcdacc58736e3f783311411ed1277aa09d3261 SHA512 db26a643a92cfcbb150c5f80af65b1ce6030a266023b4433ea760c3601092c42602617f52a49ce467cd3a4804aa6779e72ee38dc557dc03e1e1c86a36dbd54db WHIRLPOOL 32db904ab2962046052416ecab143b3bcc3480ac4baa99d1c68dfb0da8907722f69ab3de68d8e62fb9959094e0b08b764a1e2aca3945737238877f4b0372526d
|
||||
|
@ -1,53 +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/mftrace/mftrace-1.2.17.ebuild,v 1.9 2012/01/06 16:52:12 ranger Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit python toolchain-funcs
|
||||
|
||||
DESCRIPTION="Traces TeX fonts to PFA or PFB fonts (formerly pktrace)"
|
||||
HOMEPAGE="http://lilypond.org/mftrace/"
|
||||
SRC_URI="http://lilypond.org/download/sources/mftrace/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ~hppa ppc x86 ~x86-fbsd"
|
||||
# SLOT 1 was used in pktrace ebuild
|
||||
SLOT="1"
|
||||
IUSE="test truetype"
|
||||
|
||||
RDEPEND=">=app-text/t1utils-1.25
|
||||
|| ( media-gfx/potrace >=media-gfx/autotrace-0.30 )
|
||||
truetype? ( media-gfx/fontforge )
|
||||
virtual/latex-base"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( media-gfx/fontforge )"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
econf \
|
||||
--datadir="$(python_get_sitedir)" \
|
||||
PYTHON="$(PYTHON)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CFLAGS="-Wall ${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" PYC_MODULES="" install
|
||||
dodoc README.txt ChangeLog
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize mftrace
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup mftrace
|
||||
}
|
@ -1,100 +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/noweb/noweb-2.11b-r3.ebuild,v 1.7 2012/07/29 18:43:46 armin76 Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils toolchain-funcs elisp-common
|
||||
|
||||
DESCRIPTION="a literate programming tool, lighter than web"
|
||||
HOMEPAGE="http://www.eecs.harvard.edu/~nr/noweb/"
|
||||
SRC_URI="http://www.eecs.harvard.edu/~nr/noweb/dist/${P}.tgz"
|
||||
|
||||
LICENSE="noweb emacs? ( GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="emacs examples"
|
||||
|
||||
DEPEND="virtual/tex-base
|
||||
dev-lang/icon
|
||||
sys-apps/debianutils
|
||||
emacs? ( virtual/emacs )"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
S=${WORKDIR}/${P}/src
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
src_prepare() {
|
||||
# glibc2.10 compat (bug 270757)
|
||||
# mkdir d && cp -r c/* d/
|
||||
sed "s:getline (:getline_nonlibc (:" -i c/getline.{c,h} || die
|
||||
sed "s:getline(:getline_nonlibc(:" -i c/{notangle.c,getline.c,finduses.c} || die
|
||||
# diff -u d/ c/
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-2.9-security.patch
|
||||
# dont run texhash...
|
||||
sed -i -e "s/texhash/true/" Makefile
|
||||
# dont strip...
|
||||
sed -i -e "s/strip/true/" Makefile
|
||||
|
||||
cd "${WORKDIR}/${P}"
|
||||
epatch "${FILESDIR}"/${P}-recmake.patch
|
||||
epatch "${FILESDIR}"/${P}-ldflags.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# noweb tries to use notangle and noweb; see bug #50429
|
||||
( cd c; emake ICONC="icont" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LIBSRC="icon" ) || die
|
||||
export PATH="${PATH}:${T}"
|
||||
emake ICONC="icont" CC="$(tc-getCC)" BIN="${T}" LIB="${T}" LIBSRC="icon" install-code \
|
||||
|| die "make temporal install failed."
|
||||
|
||||
emake ICONC="icont" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LIBSRC="icon" || die "make failed"
|
||||
# Set awk to awk not nawk
|
||||
./awkname awk
|
||||
|
||||
if use emacs; then
|
||||
elisp-compile elisp/noweb-mode.el || die "elisp-compile failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# It needs the directories to exist first...
|
||||
dodir /usr/bin
|
||||
dodir /usr/libexec/${PN}
|
||||
dodir /usr/share/man
|
||||
dodir /usr/share/texmf/tex/inputs
|
||||
emake ICONC="icont" \
|
||||
BIN="${ED}/usr/bin" \
|
||||
LIBSRC="icon" \
|
||||
LIBNAME="${EPREFIX}/usr/libexec/${PN}" \
|
||||
LIB="${ED}/usr/libexec/${PN}" \
|
||||
MAN="${ED}/usr/share/man" \
|
||||
TEXNAME="${EPREFIX}/usr/share/texmf/tex/inputs" \
|
||||
TEXINPUTS="${ED}/usr/share/texmf/tex/inputs" \
|
||||
install || die "make install failed"
|
||||
cd "${WORKDIR}/${P}"
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*
|
||||
fi
|
||||
dodoc CHANGES README
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} src/elisp/noweb-mode.{el,elc} \
|
||||
|| die "elisp-install failed"
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
|
||||
|| die "elisp-site-file-install failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
einfo "Running texhash to complete installation.."
|
||||
texhash
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST poppler-data-0.4.6.tar.gz 4182141 SHA256 f306901dfa5bda90cd6663d4eedb1c773c3c709de78018c79f1282b2c8f90afa SHA512 5e5f5302c475d3630961b7a89a2e8c8b77884ee99289d97b626d9f1daee54314f4b1d070397c8f3dce0c420a71960d4663c56637eb9ba54de2eec3e481636035 WHIRLPOOL be737450e7a3d299528d1971786ce9076c92e3b54e1bf82f2fe678e9461057744db95bbb5821073e6007a326c27a06443a493cf761bcf1473795e4d41b35ba94
|
||||
DIST poppler-data-0.4.7.tar.gz 4182339 SHA256 e752b0d88a7aba54574152143e7bf76436a7ef51977c55d6bd9a48dccde3a7de SHA512 9a865f077f8760a106c6b28302357253c6d63a8f4f10a9506724d1f0ba42e3481bd790ca07e7ee245c63de3650a33c12e80e20e94415a0e37b05225cfe0efce2 WHIRLPOOL 4e939252767112723678fe8771f958eeef6d3fd26224c26ecf54feb2a7a29510d86f183f1b8267fcf56848a24fb6e3e3c4c001145edd9751d953cb882585b827
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler-data/poppler-data-0.4.6.ebuild,v 1.13 2014/06/10 00:56:31 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="Data files for poppler to support uncommon encodings without xpdfrc"
|
||||
HOMEPAGE="http://poppler.freedesktop.org/"
|
||||
SRC_URI="http://poppler.freedesktop.org/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD GPL-2 MIT"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
emake prefix="${EPREFIX}"/usr DESTDIR="${D}" install || die
|
||||
|
||||
# bug 409361
|
||||
dodir /usr/share/poppler/cMaps
|
||||
cd "${D}/${EPREFIX}"/usr/share/poppler/cMaps || die
|
||||
find ../cMap -type f -exec ln -s {} . \; || die
|
||||
}
|
@ -1,29 +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/pstotext/pstotext-1.9-r2.ebuild,v 1.11 2012/03/25 15:42:35 armin76 Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Extract ASCII text from a PostScript or PDF file"
|
||||
HOMEPAGE="http://www.cs.wisc.edu/~ghost/doc/pstotext.htm"
|
||||
SRC_URI="ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/contrib/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSTT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ppc ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/ncompress"
|
||||
RDEPEND="app-text/ghostscript-gpl"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
# fix bug #132662
|
||||
epatch "${FILESDIR}"/${P}-quote-chars-fix.patch
|
||||
}
|
||||
|
||||
src_install () {
|
||||
dobin pstotext || die
|
||||
doman pstotext.1 || die
|
||||
}
|
@ -1,42 +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/sloccount/sloccount-2.26-r1.ebuild,v 1.12 2008/12/09 21:33:31 armin76 Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Tools for counting Source Lines of Code (SLOC) for a large number of languages"
|
||||
HOMEPAGE="http://www.dwheeler.com/sloccount/"
|
||||
SRC_URI="http://www.dwheeler.com/sloccount/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ppc sparc x86"
|
||||
IUSE=""
|
||||
RDEPEND="dev-lang/perl
|
||||
>=sys-apps/sed-4
|
||||
app-shells/bash"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gcc"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-libexec.patch
|
||||
epatch "${FILESDIR}"/${P}-coreutils-tail-n-fix.patch
|
||||
|
||||
sed -i \
|
||||
-e "/^CC/ { s/$/ ${CFLAGS}/g }" \
|
||||
-e "/^DOC_DIR/ { s/-\$(RPM_VERSION)//g }" \
|
||||
-e "/^MYDOCS/ { s/[^ =]\+\.html//g }" \
|
||||
makefile || die "sed makefile failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall PREFIX="${D}/usr" DOC_DIR="${D}/usr/share/doc/${PF}/" || die
|
||||
prepalldocs
|
||||
dohtml *html
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/sloccount-2.26-r2.ebuild,v 1.7 2013/07/04 12:25:16 ago Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Tools for counting Source Lines of Code (SLOC) for a large number of languages"
|
||||
HOMEPAGE="http://www.dwheeler.com/sloccount/"
|
||||
SRC_URI="http://www.dwheeler.com/sloccount/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
RDEPEND="dev-lang/perl
|
||||
>=sys-apps/sed-4
|
||||
app-shells/bash"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-libexec.patch
|
||||
epatch "${FILESDIR}"/${P}-coreutils-tail-n-fix.patch
|
||||
|
||||
sed -i \
|
||||
-e 's|^CC=gcc|CFLAGS+=|g' \
|
||||
-e 's|$(CC)|& $(CFLAGS) $(LDFLAGS)|g' \
|
||||
-e '/^DOC_DIR/ { s/-$(RPM_VERSION)//g }' \
|
||||
-e '/^MYDOCS/ { s/[^ =]\+\.html//g }' \
|
||||
makefile || die "sed makefile failed"
|
||||
|
||||
#fixed hard-codes libexec_dir in sloccount
|
||||
sed -i "s|libexec_dir=|&\"${EPREFIX}\"|" sloccount || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
PATH+=":${S}"
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${ED}/usr" DOC_DIR="${ED}/usr/share/doc/${PF}/" install
|
||||
dohtml *html
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST t1utils-1.37.tar.gz 169956 SHA256 42bdce77aaf12b33ca6d193e01a2d2c0012f755435a6d25921f94733ee61cec3 SHA512 72b6eec7669be078f11927f0d8061fe9956f9a37c159cedb95344abedb7c79687c774916024f3eec2279d1b4e6d1430c78a8c8e2c95c563cb1df316d0c863a9f WHIRLPOOL bc49f264b4ff789a0c0521fafecee4735e9240e7cfca37a2289e09660c87ebaf6de3fa92921d3671494edfe6ee18ecec307fb0c7c66822c1205dec49a1689cda
|
||||
DIST t1utils-1.38.tar.gz 174513 SHA256 fc9f1ae744b22a6ecf5f54296d2d6229f1ce14c19aa7306e96ee7bb994bcddde SHA512 4cdfa5eab621b76f6226edee2167b26f01af4714d109dc4699a959a99170a0652fd8b119ec09aa908eb8ab6cec3af3ea10bf2886b209f3e2902ccf1ffca879b7 WHIRLPOOL fc706b8e5b5bdad56dcf2aa5a8bcb621f6d1f03188da6a95acadd3501db0ba1c4af2759b96f3842a8c7260f5711ec052172bf9540ed6d17e01a4f0fb1d4dd8af
|
||||
DIST t1utils-1.39.tar.gz 175047 SHA256 0faef3e5c4927b38b05ac99ee177b7d7cddbbf5b4452f98b244f684b52b0d4c4 SHA512 930fa0f264136fdc5d3d18e9a3b45c4818413d01ed12a32daa1b5ecfcc0ea4d6554faf428c6bab9247a2cfc16973787c0b6f0dfbb0273fa6a03a3e8d1d501301 WHIRLPOOL 976452434ea273cc1a42973cec28cd7587925490e37369715eeebb5e1d4aebca829d61893060512d621fe9393dd3758d670f0e1827347d8240cb622aa7afa1be
|
||||
|
@ -1,21 +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/t1utils/t1utils-1.37.ebuild,v 1.9 2012/07/08 16:01:43 armin76 Exp $
|
||||
|
||||
IUSE=""
|
||||
|
||||
DESCRIPTION="Type 1 Font utilities"
|
||||
SRC_URI="http://www.lcdf.org/type/${P}.tar.gz"
|
||||
HOMEPAGE="http://www.lcdf.org/type/#t1utils"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
!<media-libs/freetype-1.4_pre20080316"
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc NEWS README
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/ttf2pt1/ttf2pt1-3.4.4.ebuild,v 1.4 2009/10/10 15:24:52 armin76 Exp $
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="True Type Font to Postscript Type 1 Converter"
|
||||
HOMEPAGE="http://ttf2pt1.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/ttf2pt1/${P}.tgz"
|
||||
|
||||
LICENSE="ttf2pt1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=media-libs/freetype-2.0"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}/${P}-Makefile.patch"
|
||||
epatch "${FILESDIR}/${PN}-3.4.0-man-pages.diff"
|
||||
epatch "${FILESDIR}/${P}-freetype.patch"
|
||||
|
||||
sed -i -e "/^CC=/ { s:gcc:$(tc-getCC): }" Makefile
|
||||
sed -i -e "/^CFLAGS_SYS=/ { s:-O.*$:${CFLAGS}: }" Makefile
|
||||
sed -i -e "/^LIBS_FT=/ { s:-L/usr/lib:-L/usr/$(get_libdir): }" Makefile
|
||||
sed -i -e "/^LIBXDIR =/ { s:libexec:$(get_libdir): }" Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTDIR=${D}/usr install || die
|
||||
dodir /usr/share/doc/${PF}/html
|
||||
cd ${D}/usr/share/ttf2pt1
|
||||
rm -r app other
|
||||
mv *.html ../doc/${PF}/html
|
||||
mv [A-Z]* ../doc/${PF}
|
||||
prepalldocs
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
diff -ur unrtf-0.19.3/convert.c.old unrtf-0.19.3/convert.c
|
||||
--- unrtf-0.19.3/convert.c.old 2004-12-25 21:08:41.000000000 -0500
|
||||
+++ unrtf-0.19.3/convert.c 2004-12-25 20:40:26.000000000 -0500
|
||||
@@ -341,7 +341,7 @@
|
||||
while(w2) {
|
||||
tmp = word_string (w2);
|
||||
if (tmp && tmp[0] != '\\')
|
||||
- strcat(name,tmp);
|
||||
+ strncat(name,tmp,sizeof(name) - strlen(name) - 1);
|
||||
|
||||
w2=w2->next;
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
diff -Nuarp unrtf-0.21.1.orig/charmaps/Makefile.am unrtf-0.21.1/charmaps/Makefile.am
|
||||
--- unrtf-0.21.1.orig/charmaps/Makefile.am 2010-01-17 07:33:12.000000000 +0000
|
||||
+++ unrtf-0.21.1/charmaps/Makefile.am 2010-02-01 06:37:10.184989205 +0000
|
||||
@@ -1,2 +1,2 @@
|
||||
-outputsdir = ${libdir}/${PACKAGE}
|
||||
+outputsdir = ${pkgdatadir}
|
||||
dist_outputs_DATA = SYMBOL.charmap
|
||||
diff -Nuarp unrtf-0.21.1.orig/outputs/Makefile.am unrtf-0.21.1/outputs/Makefile.am
|
||||
--- unrtf-0.21.1.orig/outputs/Makefile.am 2010-01-17 07:32:48.000000000 +0000
|
||||
+++ unrtf-0.21.1/outputs/Makefile.am 2010-02-01 06:37:20.968321648 +0000
|
||||
@@ -1,2 +1,2 @@
|
||||
-outputsdir = ${libdir}/${PACKAGE}
|
||||
+outputsdir = ${pkgdatadir}
|
||||
dist_outputs_DATA = html.conf latex.conf rtf.conf text.conf vt.conf
|
||||
diff -Nuarp unrtf-0.21.1.orig/tests/Makefile.am unrtf-0.21.1/tests/Makefile.am
|
||||
--- unrtf-0.21.1.orig/tests/Makefile.am 2010-02-01 06:30:50.085007020 +0000
|
||||
+++ unrtf-0.21.1/tests/Makefile.am 2010-02-01 06:31:07.848358870 +0000
|
||||
@@ -61,7 +61,7 @@ CLEANFILES = $(testresults_html) $(testr
|
||||
# add the test scripts and the test data to the distributed files
|
||||
EXTRA_DIST = $(TESTS) $(testdata)
|
||||
|
||||
-TESTS_ENVIRONMENT = UNRTF=$(top_builddir)/src/unrtf
|
||||
+TESTS_ENVIRONMENT = UNRTF="$(top_builddir)/src/unrtf -P $(top_builddir)/outputs:$(top_builddir)/charmaps"
|
||||
|
||||
# ensure that the distributed scripts are executable before distribution.
|
||||
# Could be necessary if checking out CVS.
|
@ -1,14 +0,0 @@
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -44,7 +44,11 @@
|
||||
AC_CANONICAL_HOST
|
||||
case $host in
|
||||
*-*-cygwin*) AC_SUBST(LIBS, ["-liconv"]);;
|
||||
+ *-*-darwin*) AC_SUBST(LIBS, ["-liconv"]);;
|
||||
+ *-*-solaris*) AC_SUBST(LIBS, ["-liconv"]);;
|
||||
esac
|
||||
+# should actually use this instead (from gettext):
|
||||
+#AM_ICONV
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
charmaps/Makefile
|
@ -1,11 +0,0 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -45,6 +45,8 @@
|
||||
case $host in
|
||||
*-*-cygwin*) AC_SUBST(LIBS, ["-liconv"]);;
|
||||
*aix*) AC_SUBST(LIBS, ["-liconv"]);;
|
||||
+ *-*-darwin*) AC_SUBST(LIBS, ["-liconv"]);;
|
||||
+ *-*-solaris*) AC_SUBST(LIBS, ["-liconv"]);;
|
||||
esac
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/unrtf-0.19.9.ebuild,v 1.2 2009/09/23 16:41:58 patrick Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Converts RTF files to various formats"
|
||||
HOMEPAGE="http://www.gnu.org/software/unrtf/unrtf.html"
|
||||
#SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
MY_P="${P/-/_}"
|
||||
SRC_URI="http://www.gnu.org/software/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~s390 ~x86 ~sparc"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_compile() {
|
||||
emake CFLAGS="${CFLAGS}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin unrtf || die
|
||||
doman unrtf.1
|
||||
dohtml doc/unrtf.html
|
||||
dodoc CHANGES README TODO
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/unrtf-0.20.1.ebuild,v 1.14 2009/09/06 20:45:35 ranger Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_P="${P/-/_}"
|
||||
DESCRIPTION="Converts RTF files to various formats"
|
||||
HOMEPAGE="http://www.gnu.org/software/unrtf/unrtf.html"
|
||||
#SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
SRC_URI="http://www.gnu.org/software/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc ChangeLog NEWS README AUTHORS
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/unrtf-0.20.5.ebuild,v 1.2 2010/01/02 11:44:06 fauli Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Converts RTF files to various formats"
|
||||
HOMEPAGE="http://www.gnu.org/software/unrtf/unrtf.html"
|
||||
SRC_URI="http://www.gnu.org/software/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc ChangeLog NEWS README AUTHORS
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/unrtf-0.21.2-r1.ebuild,v 1.1 2013/06/15 11:59:13 grobian Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Converts RTF files to various formats"
|
||||
HOMEPAGE="http://www.gnu.org/software/unrtf/unrtf.html"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/unrtf-0.21.1-automake-fix.patch
|
||||
sed -i \
|
||||
-e "s,/usr/local/lib/,${EPREFIX}/usr/share/,g" \
|
||||
"${S}"/src/*.h "${S}"/doc/${PN}.1 || die "failed to sed"
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-0.21.2-iconv-detection.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc ChangeLog NEWS README AUTHORS
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/unrtf-0.21.8.ebuild,v 1.2 2014/12/22 14:32:52 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Converts RTF files to various formats"
|
||||
HOMEPAGE="http://www.gnu.org/software/unrtf/unrtf.html"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/unrtf-0.21.8-automake-fix.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.21.8-iconv-detection.patch
|
||||
eautoreconf
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST wiki2beamer-0.9.2.zip 372109 SHA256 936e6e54b7c469b9c587c0265c16280bcc28802c9e84d5b7be38480171a094de SHA512 75ad06d8665ec3d52e3c373a244fae5d6ba92375e4e7b8c9ff9bb7b95dac3a9baa2bbed8369203355a42d66298b2885798836689301fc9a16809c85838abb1bb WHIRLPOOL 78b5b663d4c8123b12451c60f6eb2a3430519e694c488e91dc535e06775c56e309df47098c75897e61e2956fb1e0a25cc38c0219529cbcd0904308b1bbb37fa7
|
||||
DIST wiki2beamer-0.9.4.zip 371458 SHA256 39109a3f1f15e64dccb2ef9262cbf2e942a5edc0876db3dcdf6f7a0c31d45d31 SHA512 2bcf949d35fd1a5e9c79c52844ac80511ea0209156be4ee44537864d6d9151baea552f6f1fbf0c761df5dcca7fba2fb2b541b8afd57a454a59fd4b1d88420bdb WHIRLPOOL 0d7ba35c545763426a02e14de1772e91dc1ca5953947ac4466253a0086ed424109880af7b156aa095c34638fc32cd3e82cf2a017bc9388a659cb19fc839fd62a
|
||||
DIST wiki2beamer-0.9.5.zip 443288 SHA256 d38f1d53896fb09e5fed4bafccbdcfd73d7207dfc8c84709d442d4910a32f4cc SHA512 0cad0458c293c335cfb0b2181822652b12662877a2ed66d743e5f258d9983ee91fb34664c032357995606bcf17bebbb7409b6100ba2340b06cc6f253e8c6b0f7 WHIRLPOOL 2973234d59131ca8531d65d1bca0f2c417b82ddd012dbd709488961583f866b3e8c83fa2927cabe1c509777683a8b6ecb8abb57d1dde8ae9766f545225d938aa
|
||||
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/wiki2beamer/wiki2beamer-0.9.2-r2.ebuild,v 1.3 2014/08/10 18:36:02 slyfox Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Tool to produce LaTeX Beamer code from wiki-like input"
|
||||
|
||||
HOMEPAGE="http://wiki2beamer.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 ) FDL-1.3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+examples"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
src_install() {
|
||||
if use examples; then
|
||||
# Patch example Makefile
|
||||
sed -e 's|../../code/wiki2beamer|wiki2beamer|' \
|
||||
-i doc/example/Makefile \
|
||||
|| die
|
||||
|
||||
insinto /usr/share/doc/${PF}/example
|
||||
doins doc/example/* || die
|
||||
fi
|
||||
|
||||
doman doc/man/${PN}.1 || die
|
||||
dodoc ChangeLog README || die
|
||||
|
||||
per_abi_install() {
|
||||
local MAIN_DIR="$(python_get_sitedir)"/${PN}
|
||||
insinto "${MAIN_DIR}"
|
||||
newins code/${PN} ${PN}.py || die
|
||||
|
||||
fperms 755 "${MAIN_DIR}"/${PN}.py || die
|
||||
dosym "${MAIN_DIR}"/${PN}.py /usr/bin/${PN}-${PYTHON_ABI} || die
|
||||
}
|
||||
python_execute_function per_abi_install
|
||||
|
||||
python_generate_wrapper_scripts "${ED}usr/bin/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize ${PN}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup ${PN}
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/wiki2beamer/wiki2beamer-0.9.4.ebuild,v 1.3 2014/08/10 18:36:02 slyfox Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="*"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Tool to produce LaTeX Beamer code from wiki-like input"
|
||||
|
||||
HOMEPAGE="http://wiki2beamer.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 ) FDL-1.3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+examples"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
src_install() {
|
||||
if use examples; then
|
||||
# Patch example Makefile
|
||||
sed -e 's|../../code/wiki2beamer|wiki2beamer|' \
|
||||
-i doc/example/Makefile \
|
||||
|| die
|
||||
|
||||
insinto /usr/share/doc/${PF}/example
|
||||
doins doc/example/* || die
|
||||
fi
|
||||
|
||||
doman doc/man/${PN}.1 || die
|
||||
dodoc ChangeLog README || die
|
||||
|
||||
per_abi_install() {
|
||||
local MAIN_DIR="$(python_get_sitedir)"/${PN}
|
||||
insinto "${MAIN_DIR}"
|
||||
newins code/${PN} ${PN}.py || die
|
||||
|
||||
fperms 755 "${MAIN_DIR}"/${PN}.py || die
|
||||
dosym "${MAIN_DIR}"/${PN}.py /usr/bin/${PN}-${PYTHON_ABI} || die
|
||||
}
|
||||
python_execute_function per_abi_install
|
||||
|
||||
python_generate_wrapper_scripts "${ED}usr/bin/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize ${PN}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup ${PN}
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/wiki2beamer/wiki2beamer-0.9.5.ebuild,v 1.2 2014/08/10 18:36:02 slyfox Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="*"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Tool to produce LaTeX Beamer code from wiki-like input"
|
||||
|
||||
HOMEPAGE="http://wiki2beamer.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 ) FDL-1.3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+examples"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
src_install() {
|
||||
if use examples; then
|
||||
# Patch example Makefile
|
||||
sed -e 's|../../code/wiki2beamer|wiki2beamer|' \
|
||||
-i doc/example/Makefile \
|
||||
|| die
|
||||
|
||||
insinto /usr/share/doc/${PF}/example
|
||||
doins doc/example/* || die
|
||||
fi
|
||||
|
||||
doman doc/man/${PN}.1 || die
|
||||
dodoc ChangeLog README || die
|
||||
|
||||
per_abi_install() {
|
||||
local MAIN_DIR="$(python_get_sitedir)"/${PN}
|
||||
insinto "${MAIN_DIR}"
|
||||
newins code/${PN} ${PN}.py || die
|
||||
|
||||
fperms 755 "${MAIN_DIR}"/${PN}.py || die
|
||||
dosym "${MAIN_DIR}"/${PN}.py /usr/bin/${PN}-${PYTHON_ABI} || die
|
||||
}
|
||||
python_execute_function per_abi_install
|
||||
|
||||
python_generate_wrapper_scripts "${ED}usr/bin/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize ${PN}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup ${PN}
|
||||
}
|
@ -1,25 +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/xmldiff/xmldiff-0.6.9-r1.ebuild,v 1.4 2012/08/27 15:18:13 floppym Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
|
||||
inherit distutils python
|
||||
|
||||
DESCRIPTION="A tool that figures out the differences between two similar XML files"
|
||||
HOMEPAGE="http://www.logilab.org/project/xmldiff"
|
||||
SRC_URI="ftp://ftp.logilab.fr/pub/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/pyxml"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS="ChangeLog README README.xmlrev TODO"
|
@ -1,21 +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/xmldiff/xmldiff-0.6.9.ebuild,v 1.11 2012/08/27 15:18:13 floppym Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A tool that figures out the differences between two similar XML files"
|
||||
HOMEPAGE="http://www.logilab.org/project/xmldiff"
|
||||
SRC_URI="ftp://ftp.logilab.fr/pub/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/pyxml"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS="ChangeLog README README.xmlrev TODO"
|
@ -0,0 +1,70 @@
|
||||
--- gnu-hylafax-pool/main/java/gnu/hylafax/pool/ClientPool.java.orig 2015-04-14 18:20:17.113435400 +0000
|
||||
+++ gnu-hylafax-pool/main/java/gnu/hylafax/pool/ClientPool.java 2015-04-14 18:20:58.310438791 +0000
|
||||
@@ -32,7 +32,7 @@
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
-import EDU.oswego.cs.dl.util.concurrent.LinkedQueue;
|
||||
+import java.util.concurrent.ConcurrentLinkedQueue;
|
||||
|
||||
public class ClientPool implements gnu.hylafax.ClientPool {
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
private HashMap clientMap;
|
||||
|
||||
- private LinkedQueue clients;
|
||||
+ private ConcurrentLinkedQueue clients;
|
||||
|
||||
private ClientPoolConfiguration configuration;
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
|
||||
public ClientPool(ClientPoolConfiguration configuration) {
|
||||
this.configuration = configuration;
|
||||
- clients = new LinkedQueue();
|
||||
+ clients = new ConcurrentLinkedQueue();
|
||||
clientMap = new HashMap();
|
||||
workingClients = new HashSet();
|
||||
workingClientsToClose = new HashSet();
|
||||
@@ -163,8 +163,7 @@
|
||||
blocked = true;
|
||||
}
|
||||
|
||||
- client = (PooledClient) clients.poll(getConfiguration()
|
||||
- .getRetryInterval());
|
||||
+ client = (PooledClient) clients.poll();
|
||||
if (client == null)
|
||||
log.warn("No Clients Available.");
|
||||
else if (!clientAdded)
|
||||
@@ -172,10 +171,10 @@
|
||||
}
|
||||
|
||||
} else {
|
||||
- client = (PooledClient) clients.take();
|
||||
+ client = (PooledClient) clients.poll();
|
||||
}
|
||||
}
|
||||
- } catch (InterruptedException e) {
|
||||
+ } catch (Exception e) {
|
||||
throw new ClientPoolException(
|
||||
"Interrupted Thread and No Free Connection Available.");
|
||||
}
|
||||
@@ -294,7 +293,7 @@
|
||||
destroyClient(client);
|
||||
addClient();
|
||||
} else {
|
||||
- clients.put(client);
|
||||
+ clients.offer(client);
|
||||
size++;
|
||||
}
|
||||
}
|
||||
@@ -306,7 +305,7 @@
|
||||
|
||||
log.debug("Released Client.");
|
||||
|
||||
- } catch (InterruptedException e) {
|
||||
+ } catch (Exception e) {
|
||||
log.warn("Was Interrupted.", e);
|
||||
destroyClient(client);
|
||||
} finally {
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-hylafax/gnu-hylafax-1.0.3-r1.ebuild,v 1.1 2015/04/14 18:25:45 monsieurp Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="source doc"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Java API designed to implement the client protocol portion of the hfaxd server"
|
||||
HOMEPAGE="http://gnu-hylafax.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}-bin.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
CDEPEND="dev-java/commons-logging:0
|
||||
dev-java/commons-cli:1
|
||||
java-virtuals/javamail:0
|
||||
dev-java/java-getopt:1
|
||||
dev-java/log4j:0"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="commons-logging,commons-cli-1,javamail,java-getopt-1,log4j"
|
||||
|
||||
java_prepare() {
|
||||
rm -rv "${S}"/lib || die
|
||||
find -name "pom.xml" -delete || die
|
||||
|
||||
# tarball contains the same sources in gnu-.../sources and gnu-.../main/
|
||||
rm -r gnu-hylafax-*/sources || die
|
||||
|
||||
# bug 546502
|
||||
epatch "${FILESDIR}"/"${P}"-ClientPool.patch
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST jmock-1.1.0-src.zip 579355 SHA256 3f9fbfe322e2e09878a9418c86c9f440bf135ea09487e117d151f12cfc93050e SHA512 7728f23bdfb78b2989400e48d90c42aa72d8c95f678597cf8e234109d9df2c4abc36ebbf4edbe16167b38891ef624d14cc6aae9b7be33a31b41b4caaae157dd8 WHIRLPOOL 875d4988bd0a2d3dadf98c2e95d33f08eb37c35ae647d93d8a426a0d88c27983b039168b10e8bdb1d7f0dda7424d97b3fb5448a76490eca7d8d464036bfc9e7b
|
||||
DIST jmock-1.2.0-jars.zip 153318 SHA256 c98e8dd0e5ebb590578baf4eb095b0c69084cd448269cac6c7dd52075ced5b36 SHA512 7b854c462e04642444f8994875d496655986a094b113f888c8dd5f07149c41c4e97e23f8f0cf75822b4e8281ffb90054ac44024cacd3f6e55ef0659e463f0cc5 WHIRLPOOL b2563df867f481706a9a7ebf4b5535321bcb295c42233575fb657908c232cda8416d3e1a5c78b67d41a311efdb0760ad5984278ae9cc02ea81868184767cc88a
|
||||
DIST jmock-2.5.1-jars.zip 758019 SHA256 e5f8d704d732a4e0d2a7788d966e6c8cfc722707bf278b6c0618f9d46eae6e7a SHA512 97032dd3f7f2b8e4e310e04722af0f444a60b0908ca45111b0ad1578f92ddac411c9d66f6eb696f45134c8baced86c10194b5ebbd8974090a585e95583dd2a9c WHIRLPOOL 1e50a9da3f8a16f4f706f2631f2a9aee89a89067c1a365284c116e6bdd7a4e5c4ac9a828317e13e49d097ad59bb7cd4f7d49cf99ed47055a17b2faa418300f94
|
||||
DIST jmock-2.6.1-jars.zip 1249841 SHA256 e49a0f7628c6368e46de1c48dfd8aed084f03661d87cf3a78025fdec367021fb SHA512 7cd1d2e89dceb31c68ad3f702ad937b5de6ec77cc37e94be7aa53db2fc61d11aa40ec5aab225a3eeeba5064ad8384f10413ac05a9df97102c8e63f4209ea149e WHIRLPOOL e67be30e6718b998a34a52cdaa59ba7afc19969b5fe08529ea056867c0b8b3fad2628eb04b8b0b778bd215d29fe4aa962b0021afbb64835eac845f76c4b5987d
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jmock/jmock-2.6.1.ebuild,v 1.1 2015/04/14 18:54:51 monsieurp Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Library for testing Java code using mock objects"
|
||||
SRC_URI="http://www.jmock.org/downloads/${P}-jars.zip"
|
||||
HOMEPAGE="http://www.jmock.org"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/hamcrest-core:1.3
|
||||
dev-java/hamcrest-library:1.3
|
||||
dev-java/junit:4"
|
||||
|
||||
RDEPEND="virtual/jre:1.6
|
||||
${CDEPEND}"
|
||||
|
||||
DEPEND="virtual/jdk:1.6
|
||||
${CDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="hamcrest-core-1.3,hamcrest-library-1.3,junit-4"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}" || die
|
||||
unzip ${P}.jar -d src || die
|
||||
rm *.jar || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
find -name "*.class" -delete || die
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/spin/spin-1.5-r1.ebuild,v 1.1 2015/04/14 19:50:22 monsieurp Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Transparent threading solution for non-freezing Swing applications"
|
||||
HOMEPAGE="http://spin.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-all.zip"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
COMMON_DEP="dev-java/cglib:3"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}"
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${COMMON_DEP}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
cp "${FILESDIR}/${PV}-build.xml" build.xml || die
|
||||
cp "${FILESDIR}/${PV}-maven-build.properties" maven-build.properties || die
|
||||
rm -v lib/*.jar || die
|
||||
java-pkg_filter-compiler jikes
|
||||
}
|
||||
|
||||
EANT_GENTOO_CLASSPATH="cglib-3"
|
||||
|
||||
# Needs X
|
||||
RESTRICT="test"
|
||||
|
||||
src_test() {
|
||||
ANT_TASKS="ant-junit" eant test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${P}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/xstream/xstream-1.3.1-r2.ebuild,v 1.1 2015/04/14 20:13:59 monsieurp Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A text-processing Java classes that serialize objects to XML and back again"
|
||||
HOMEPAGE="http://xstream.codehaus.org/index.html"
|
||||
SRC_URI="http://repository.codehaus.org/com/thoughtworks/${PN}/${PN}-distribution/${PV}/${PN}-distribution-${PV}-src.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="
|
||||
dev-java/cglib:3
|
||||
dev-java/dom4j:1
|
||||
dev-java/jdom:1.0
|
||||
dev-java/joda-time:0
|
||||
dev-java/xom:0
|
||||
dev-java/xpp3:0
|
||||
dev-java/xml-commons-external:1.3
|
||||
dev-java/jettison:0
|
||||
java-virtuals/stax-api
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.6
|
||||
app-arch/unzip
|
||||
test? (
|
||||
dev-java/ant-junit
|
||||
dev-java/ant-trax
|
||||
dev-java/junit:0
|
||||
dev-java/xml-writer:0
|
||||
dev-java/commons-lang:2.1
|
||||
dev-java/jmock:1.0
|
||||
dev-java/jakarta-oro:2.0
|
||||
dev-java/stax:0
|
||||
dev-java/wstx:3.2
|
||||
)
|
||||
${CDEPEND}"
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}/lib"
|
||||
rm -v *.jar || die
|
||||
rm -rf jdk1.3 || die
|
||||
}
|
||||
|
||||
EANT_GENTOO_CLASSPATH="xpp3,jdom-1.0,xom,dom4j-1,joda-time,cglib-3
|
||||
xml-commons-external-1.3,jettison,stax-api"
|
||||
|
||||
EANT_BUILD_TARGET="benchmark:compile jar"
|
||||
EANT_EXTRA_ARGS="-Dversion=${PV}"
|
||||
|
||||
src_test(){
|
||||
EANT_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH}
|
||||
junit,jmock-1.0,commons-lang-2.1,xml-writer,wstx-3.2,stax,jakarta-oro-2.0" \
|
||||
ANT_TASKS="ant-junit ant-trax" eant test || die "Tests failed"
|
||||
}
|
||||
|
||||
src_install(){
|
||||
java-pkg_newjar target/${P}.jar
|
||||
java-pkg_newjar target/${PN}-benchmark-${PV}.jar ${PN}-benchmark.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc target/javadoc
|
||||
use source && java-pkg_dosrc src/java/com
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
elog "Major Changes from 1.2 See:"
|
||||
elog "http://xstream.codehaus.org/changes.html"
|
||||
elog "to prevent breakage ..."
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Auth_SASL/PEAR-Auth_SASL-1.0.6-r1.ebuild,v 1.1 2015/04/14 18:18:28 grknight Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Abstraction of various SASL mechanism responses"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
@ -1 +1,2 @@
|
||||
DIST django_openstack_auth-1.1.5.tar.gz 40893 SHA256 ad63e85575caae1107bd05afd8d27b45d4590cc1f6d3b63905959a7c457b1aef SHA512 43a95a1a5b9c24e15d4ff76660a52204c03d6679400632e870ee364c9f7de7b39128cc6acd883cd12abc80cbdfab44a3e3f2a803193eeac7d3e838be39a93ea2 WHIRLPOOL 2515c77ce6aa2c9f3e2860506ae0d5656f3dfda9bf17eb1fba5c307bf477de5aa22a3834b94c053a5f6fc439c9cf2a5b9bbeb7e87bef3bcf3e7739f55b80dd77
|
||||
DIST django_openstack_auth-1.2.0.tar.gz 75577 SHA256 5ad78e5c92502f1abfb10fd101c023adf74a3e728bd42ed19ffea2185680f9a6 SHA512 793f0763b47574574864c16c9d79787d44c84259304587b5d2b3375de04291c5d200699297960b3b3904b959ceee31f696fef2233659db9b846c6af06fd8c251 WHIRLPOOL 37632e35beb810979ffb7878c9ffed0258a64caf4a80f61050bb054d70b56e09c9f0f13dac2ce339b87ccdcbeba779893c2ce81912b95f50d52a88b947872092
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-openstack-auth/django-openstack-auth-1.2.0.ebuild,v 1.1 2015/04/14 22:47:58 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Django authentication backend for use with the OpenStack Keystone
|
||||
Identity backend."
|
||||
HOMEPAGE="http://django_openstack_auth.readthedocs.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/django_openstack_auth/django_openstack_auth-${PV}.tar.gz"
|
||||
S="${WORKDIR}/django_openstack_auth-${PV}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/hacking-0.10.0[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-sphinx-2.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND="
|
||||
>=dev-python/django-1.4.2[${PYTHON_USEDEP}]
|
||||
<dev-python/django-1.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.9.3[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-config-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" -m openstack_auth.tests.run_tests || die "Testsuite failed"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST oslo.db-1.0.2.tar.gz 90060 SHA256 7092525eab0352748fc0c58a7facd3d6ae967d9130589b4afc12bfa171bee837 SHA512 77412e531f93966229c6cb866f34cb22c9b97e419f6035f0cb51a093ed218277aed85bf6b8a684b68ceb212ca9f17b0bda8073601cc4a569c3503d2dd1b59311 WHIRLPOOL ccde39e352adf7916b73b9883da1ef3aa99ce862d3dbd4b3ce86c058118cd49a43a50918237e0fb13ce7655cc6a88b3f745a5aee47af9af9e2a431dbb6cd4714
|
||||
DIST oslo.db-1.4.1.tar.gz 127166 SHA256 e1fc76e17db9552c42ddca7b95ef8dce9a2049c68b90c0130ed2e27c7a9d82fb SHA512 138bef9fb82d08be9f2d13061689f6f2af7f16e75968d51e423d58a0c6a5bcc12b13a3849dbb0862789256f737e9c3e72be844125bd2cdcfcce0df91b8694ecc WHIRLPOOL 7a98eae42a620699518415f191af4099b4d2cfc8d68392b2d5ae29e90d2f501670110bf19edfd223a55f52b078cb7c26125f7e99fded99eb52715a45afd578d0
|
||||
DIST oslo.db-1.7.1.tar.gz 134351 SHA256 21ceab26d3fe4f69e8ec3a7444cff2f13bc8a6e298cc8ffbfbe965f782931b74 SHA512 02f48ec51c4af4eaa76d2ead7c73f5748b6f8340d7d9d304334f44b718b6aa8f841cc7b48166521f6ca6d93d8ee2a33d06570ec99b8ef1b1b628b6aa6d1eb789 WHIRLPOOL 11f2aa7a5a67bc822216cb3694623d5d6121dd9fc48d78e4837c56af589a73b8b43c2b01b8be2e799993e0af8e57972503d4e404f9242dcca1582ca7b17cbba2
|
||||
DIST oslo.db-1.8.0.tar.gz 143208 SHA256 0688ced3c34c975e2a68139e0f91601ef43c79fb73308d75674fdc40d30a2d4c SHA512 c97fd671572dc1fdc2bff642e5680f1b8910c737d295ff8d79bed6e4886de46216361de47c1e7f0ac88315988b7d1cd448d6cffff58d906524d8f9ec86d2e582 WHIRLPOOL 70d72ac5f0baf1c01eea040908a2b35336f793b3c7968f218e83a2c1699fd7381ca84cabef9a612069020a1292c3e195047a5795ca6fd9c62b961c68393b3f38
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/oslo-db/oslo-db-1.8.0.ebuild,v 1.1 2015/04/14 17:08:43 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="OpenStack Common DB Code"
|
||||
HOMEPAGE="http://launchpad.net/oslo"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/oslo.db/oslo.db-${PV}.tar.gz"
|
||||
S="${WORKDIR}/oslo.db-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+sqlite mysql postgres"
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.8.2[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
>=dev-python/alembic-0.7.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.9.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-1.4.0[${PYTHON_USEDEP}]
|
||||
sqlite? (
|
||||
|| (
|
||||
>=dev-python/sqlalchemy-0.9.7[sqlite,${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}]
|
||||
)
|
||||
)
|
||||
mysql? (
|
||||
dev-python/mysql-python
|
||||
|| (
|
||||
>=dev-python/sqlalchemy-0.9.7[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[${PYTHON_USEDEP}]
|
||||
)
|
||||
)
|
||||
postgres? (
|
||||
dev-python/psycopg:2
|
||||
|| (
|
||||
>=dev-python/sqlalchemy-0.9.7[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[${PYTHON_USEDEP}]
|
||||
)
|
||||
)
|
||||
>=dev-python/sqlalchemy-migrate-0.9.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
"
|
@ -1 +1,2 @@
|
||||
DIST python-keystoneclient-1.0.0.tar.gz 314308 SHA256 6d960d2196efc7a181519a77f757a27ceeeac71f41f624318ae7f1088d2e6db4 SHA512 331d1f634c06f142628c6c641e49a75ca721eb6a37e11827b12db293eeef3e39e9565b38db27d9e39464ef80f5a6d1da2b4e0365dc2eba2b22f63abe0b2992fc WHIRLPOOL abd1173e4caf31ffdef01e7a5f13869dcea4d8c053805ec995b675a46350f2c2a8d5c6d692127a048690b018c3785dc005d6c752df86277dc04873a4daa19525
|
||||
DIST python-keystoneclient-1.3.0.tar.gz 338528 SHA256 c009445d9a36fa788a14b093f67501091b246fefccb30fb63925e6e4fbeaac04 SHA512 51fd09419479ed00a9bd1785c0bf08cd7ee5393cb2eabba02558cf9828cbd9070f671377d759ff3dda0b675846f22dc8bb7419443e0b850c26f3263cd3b9b533 WHIRLPOOL 4f134aaefe9353382ab78a74109c139df55f9275cc2d932eae5cd8764e74f3b608fcf5bcfb659ac14504d87e944494b6a0221051dcf82a21bec109ddefeda7bf
|
||||
|
@ -0,0 +1,63 @@
|
||||
diff --git a/keystoneclient/middleware/s3_token.py b/keystoneclient/middleware/s3_token.py
|
||||
index b27b9ce..4ced7a7 100644
|
||||
--- a/keystoneclient/middleware/s3_token.py
|
||||
+++ b/keystoneclient/middleware/s3_token.py
|
||||
@@ -34,6 +34,7 @@ This WSGI component:
|
||||
import logging
|
||||
|
||||
from oslo.serialization import jsonutils
|
||||
+from oslo_utils import strutils
|
||||
import requests
|
||||
import six
|
||||
from six.moves import urllib
|
||||
@@ -116,7 +117,7 @@ class S3Token(object):
|
||||
self.request_uri = '%s://%s:%s' % (auth_protocol, auth_host, auth_port)
|
||||
|
||||
# SSL
|
||||
- insecure = conf.get('insecure', False)
|
||||
+ insecure = strutils.bool_from_string(conf.get('insecure', False))
|
||||
cert_file = conf.get('certfile')
|
||||
key_file = conf.get('keyfile')
|
||||
|
||||
diff --git a/keystoneclient/tests/test_s3_token_middleware.py b/keystoneclient/tests/test_s3_token_middleware.py
|
||||
index ab77b79..91c3e81 100644
|
||||
--- a/keystoneclient/tests/test_s3_token_middleware.py
|
||||
+++ b/keystoneclient/tests/test_s3_token_middleware.py
|
||||
@@ -124,7 +124,7 @@ class S3TokenMiddlewareTestGood(S3TokenMiddlewareTestBase):
|
||||
@mock.patch.object(requests, 'post')
|
||||
def test_insecure(self, MOCK_REQUEST):
|
||||
self.middleware = (
|
||||
- s3_token.filter_factory({'insecure': True})(FakeApp()))
|
||||
+ s3_token.filter_factory({'insecure': 'True'})(FakeApp()))
|
||||
|
||||
text_return_value = jsonutils.dumps(GOOD_RESPONSE)
|
||||
if six.PY3:
|
||||
@@ -142,6 +142,28 @@ class S3TokenMiddlewareTestGood(S3TokenMiddlewareTestBase):
|
||||
mock_args, mock_kwargs = MOCK_REQUEST.call_args
|
||||
self.assertIs(mock_kwargs['verify'], False)
|
||||
|
||||
+ def test_insecure_option(self):
|
||||
+ # insecure is passed as a string.
|
||||
+
|
||||
+ # Some non-secure values.
|
||||
+ true_values = ['true', 'True', '1', 'yes']
|
||||
+ for val in true_values:
|
||||
+ config = {'insecure': val, 'certfile': 'false_ind'}
|
||||
+ middleware = s3_token.filter_factory(config)(FakeApp())
|
||||
+ self.assertIs(False, middleware.verify)
|
||||
+
|
||||
+ # Some "secure" values, including unexpected value.
|
||||
+ false_values = ['false', 'False', '0', 'no', 'someweirdvalue']
|
||||
+ for val in false_values:
|
||||
+ config = {'insecure': val, 'certfile': 'false_ind'}
|
||||
+ middleware = s3_token.filter_factory(config)(FakeApp())
|
||||
+ self.assertEqual('false_ind', middleware.verify)
|
||||
+
|
||||
+ # Default is secure.
|
||||
+ config = {'certfile': 'false_ind'}
|
||||
+ middleware = s3_token.filter_factory(config)(FakeApp())
|
||||
+ self.assertIs('false_ind', middleware.verify)
|
||||
+
|
||||
|
||||
class S3TokenMiddlewareTestBad(S3TokenMiddlewareTestBase):
|
||||
def setUp(self):
|
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-1.0.0-r1.ebuild,v 1.1 2015/04/14 23:01:33 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Client Library for OpenStack Identity"
|
||||
HOMEPAGE="https://github.com/openstack/python-keystoneclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples test"
|
||||
|
||||
# Note: blacklist version not in portage:
|
||||
#doc? ( !~dev-python/sphinx-1.3_preb1[${PYTHON_USEDEP}] )
|
||||
|
||||
CDEPEND="
|
||||
>=dev-python/pbr-0.6[${PYTHON_USEDEP}]
|
||||
!~dev-python/pbr-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
TCDEPEND="
|
||||
>=dev-python/lxml-2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-mock-0.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
test? (
|
||||
${TCDEPEND}
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/hacking-0.9.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/keyring-2.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/keyring-3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/oauthlib-0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
|
||||
!~dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
${TCDEPEND}
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-serialization-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.2.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.1.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/keystoneclient-1.0.0-cve-2015-1852.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
use doc && esetup.py build_sphinx
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=TRUE
|
||||
|
||||
rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
|
||||
|
||||
testr init || die "testr init failed under ${EPYTHON}"
|
||||
testr run || die "testr run failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue