parent
86ba21ca2a
commit
62b8bf8eb0
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eclean-kernel/eclean-kernel-9999.ebuild,v 1.2 2012/12/15 12:34:31 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="Remove outdated built kernels"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/eclean-kernel/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="kernel_linux? ( dev-python/pymountboot[${PYTHON_USEDEP}] )"
|
||||
#if LIVE
|
||||
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
@ -1,4 +1,17 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST eselect-sh-0.3.tar.gz 1414 SHA256 13e135765dad570a8465e5f502dd971daa72afc26811b4e65f268d48a8058473 SHA512 770a892d3bd265379856ecfd73a655479ecdf7eea872b445c55e7211fd0f86af26d0cc3e91ff1f727afc1795069bb19917fa183152385a6c408264dccfd918e2 WHIRLPOOL ac5a7f8d201e670e949bac4dfcc79576d9386d3123a5b79af881b7e3c7d4d6da0daf013e33746749ccbb2f076201ebceca61f342d33c9a9137e75dd38f4b5388
|
||||
EBUILD eselect-sh-0.3.ebuild 681 SHA256 f84a026cac08dc17ecf29ec602c8c5c3e18e0d0538dd0383504be7c52ea07a62 SHA512 6c03429366c8a4ea1adf4ec1d79bc64865bbfd301057ea8bf97f1e15f82eaa94447e4dab383c501ca62fb81aa3df7b6b2f4fb66a0359569a594e2cfb010a8ade WHIRLPOOL 9d39ea91146b5bf1c1cc7447bd1f658c6f001992dad14cccd911a09ad644ccfa7b66d31c30cf9a7ddc551b2ad3771c1508ec56fd91d9a47a2e479932ff8cc401
|
||||
MISC ChangeLog 1847 SHA256 109100ffe638dc039e93cff36756f5407aa9ffd2ecc4206a8ce37b264c445d6f SHA512 8b831bab0874459dfa58a7ff546eaae869178625360db01599aa3f248b1908f62ee114555f7daa82fc5acaca13cb24005be43204930fac5e2a0a576bfce703e6 WHIRLPOOL 1ca34fbac95ca8a3592fda2084ec2ecd8353ce130f147c965619e28b068a35d90f0eea809ae60c2943acc548a50a148e8cf79168b82eb8f706785060967d7096
|
||||
EBUILD eselect-sh-9999.ebuild 822 SHA256 244fcf1c54b2914607ab7b96ff83818977a0cc8eb45aebe57d7a141aaa3e3215 SHA512 ef48eca9d39253231107bfa520a5a7b0d3437a1411faa7d318a34d3de612a1af4d5df41353e09ca96b1eac557ec11b3e35430ad3751f742f712ab49f690944c8 WHIRLPOOL fdaa6ef0922b862e4345fa669bbc25d32942d3e1ecbfd76eab2b7222c8958fc29da6c060e7445c958690aba35b10779fe80dfb0f1d75b7c1e5bbff619b340e9d
|
||||
MISC ChangeLog 1984 SHA256 e76ab17bc721f37fe1dd1b3289d6c965bec608d1978901e8132b8a2b233eb7ae SHA512 875a422811db394ca84d78e71e2677686a68a0e52aa206d8613631a130046c28d792362be3d76157b0ad484f98b8bfe37dba63787b110843aa84c489bca0d2d6 WHIRLPOOL 172217a4b448a4d49fe76f4bc3dbb210ff1923e27beed796dfbdb1b385919d4cdf5d0b5d56aaf95914635d29463f77b4ed179fbf4aa594141a4a91d5b2d94cb8
|
||||
MISC metadata.xml 441 SHA256 d294d57987a9b142e072cf181641252a61241211fb1e6d3af61f658a91c50e17 SHA512 37cb26a4934991690f308be84bb97e2c35d7044de3e4706f3aea2d57e817ebaecc658f0056d35afddf3dbe48681a7cf59668fa7b89f9f2236c40a6fff6bd3e91 WHIRLPOOL 32a4c127edc1d8942700f33865e30ec0be39f637ce9db5f45f0bee90e42bdc8c642203d87575b0ec4ccca5b4969283a333f50974c779405d8114c44bc50c7952
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iJwEAQEIAAYFAlDMbx4ACgkQfXuS5UK5QB2XOgP8CZqzX7UhYh0XrnrUdkfhstcf
|
||||
J+2ZuJXAT0YGn0VMbq63ozYdm7UXU9aNvFVSx7TnDxOYCTZZ/rnfCe9OuWhyiNtL
|
||||
05FrX92CZAC5RRMAAnwus5rpo3gx/xOENPgMx4oL0EjRhYuo4n/xgXJ2epB5bCLc
|
||||
t5Fb9//DfwsQN+egcjI=
|
||||
=KsIs
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-sh/eselect-sh-9999.ebuild,v 1.1 2012/12/15 12:37:16 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit base
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="Manages the /bin/sh (POSIX shell) symlink"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/eselect-sh/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins sh.eselect || die
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/mirage2iso/mirage2iso-9999.ebuild,v 1.1 2012/12/15 12:33:50 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#if LIVE
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
inherit autotools-utils versionator
|
||||
|
||||
TESTS_PV=$(get_version_component_range 1-2)
|
||||
|
||||
DESCRIPTION="CD/DVD image converter using libmirage"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/mirage2iso/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2
|
||||
test? ( mirror://bitbucket/mgorny/${PN}/downloads/${PN}-${TESTS_PV}-tests.tar.xz )"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="pinentry test"
|
||||
|
||||
COMMON_DEPEND="dev-libs/libmirage
|
||||
dev-libs/glib:2
|
||||
pinentry? ( dev-libs/libassuan )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( app-arch/xz-utils )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
pinentry? ( app-crypt/pinentry )"
|
||||
|
||||
#if LIVE
|
||||
DEPEND="${DEPEND}
|
||||
dev-libs/libassuan"
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
||||
|
||||
src_configure() {
|
||||
myeconfargs=(
|
||||
$(use_with pinentry libassuan)
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
#if LIVE
|
||||
autotools-utils_src_test
|
||||
return ${?}
|
||||
|
||||
#endif
|
||||
mv "${WORKDIR}"/${PN}-${TESTS_PV}/tests/* tests/ || die
|
||||
autotools-utils_src_test
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/aespipe/aespipe-2.4c.ebuild,v 1.1 2012/12/14 21:59:41 alonbl Exp $
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="Encrypts data from stdin to stdout"
|
||||
HOMEPAGE="http://loop-aes.sourceforge.net"
|
||||
SRC_URI="http://loop-aes.sourceforge.net/aespipe/${PN}-v${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
|
||||
IUSE="static"
|
||||
DEPEND=""
|
||||
RDEPEND="app-arch/sharutils"
|
||||
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
src_compile() {
|
||||
use static && append-ldflags -static
|
||||
econf || die
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin aespipe bz2aespipe
|
||||
dodoc README
|
||||
doman aespipe.1
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/bestcrypt-2.0.0.ebuild,v 1.1 2012/12/15 03:06:38 alonbl Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils linux-mod toolchain-funcs versionator
|
||||
|
||||
MY_PN="bcrypt"
|
||||
MY_PV="$(replace_version_separator 2 -)"
|
||||
DESCRIPTION="commercially licensed transparent filesystem encryption"
|
||||
HOMEPAGE="http://www.jetico.com/"
|
||||
SRC_URI="http://www.jetico.com/linux/BestCrypt-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="bestcrypt"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="virtual/linux-sources"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${MY_PV}"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
|
||||
MODULE_NAMES="bestcrypt(block::kernel/kmod)
|
||||
bc_3des(crypto::kernel/kmod/crypto/algs/3des)
|
||||
bc_bf128(crypto::kernel/kmod/crypto/algs/bf128)
|
||||
bc_bf448(crypto::kernel/kmod/crypto/algs/bf448)
|
||||
bc_blowfish(crypto::kernel/kmod/crypto/algs/blowfish)
|
||||
bc_cast(crypto::kernel/kmod/crypto/algs/cast)
|
||||
bc_des(crypto::kernel/kmod/crypto/algs/des)
|
||||
bc_gost(crypto::kernel/kmod/crypto/algs/gost)
|
||||
bc_idea(crypto::kernel/kmod/crypto/algs/idea)
|
||||
bc_rijn(crypto::kernel/kmod/crypto/algs/rijn)"
|
||||
BUILD_TARGETS="module"
|
||||
BUILD_PARAMS=" \
|
||||
KERNEL_DIR=\"${KV_DIR}\""
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-build.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
MAKEOPTS="-j1" linux-mod_src_compile
|
||||
MAKEOPTS="-j1" emake \
|
||||
CFLAGS="${CXXFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
|
||||
emake install PREFIX="${ED}" install
|
||||
|
||||
newinitd "${FILESDIR}/bcrypt3" bcrypt
|
||||
sed -e '/\(bc_rc6\|bc_serpent\|bc_twofish\)/d' -i "${D}etc/init.d/bcrypt"
|
||||
dodoc HIDDEN_PART README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn
|
||||
ewarn "The BestCrypt drivers are not free - Please purchace a license from "
|
||||
ewarn "http://www.jetico.com/"
|
||||
ewarn
|
||||
|
||||
linux-mod_pkg_postinst
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 63baafb..995d48e 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -56,7 +56,8 @@ KGSHA_LIB = $(KGSHA_BUILD_DIR)/lib$(KGSHA_LIB_NAME).a
|
||||
KGGHOST_LIB = $(KGGHOST_BUILD_DIR)/lib$(KGGHOST_LIB_NAME).a
|
||||
SPACEMAP_LIB = $(SPACEMAP_BUILD_DIR)/lib$(SPACEMAP_LIB_NAME).a
|
||||
|
||||
-BC_EXTRA_CFLAGS= -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
+BC_EXTRA_CFLAGS= $(CFLAGS) -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
+BC_EXTRA_LDFLAGS = $(LDFLAGS)
|
||||
|
||||
#
|
||||
# commands
|
||||
@@ -86,7 +87,7 @@ BCTOOL_OBJS = container/linux/file.o \
|
||||
src/bctool-rawlink.o
|
||||
|
||||
BCTOOL_CFLAGS = $(BC_EXTRA_CFLAGS) -DBC_LINUX -Wall -I. -Icertificate/
|
||||
-BCTOOL_LDFLAGS = -L$(TARGET_DIR) -l$(KERN_LIB_NAME) -l$(KGSHA_LIB_NAME) \
|
||||
+BCTOOL_LDFLAGS = $(BC_EXTRA_LDFLAGS) -L$(TARGET_DIR) -l$(KERN_LIB_NAME) -l$(KGSHA_LIB_NAME) \
|
||||
-l$(KGGHOST_LIB_NAME) -l$(CERT_LIB_NAME) -l$(SPACEMAP_LIB_NAME) \
|
||||
-ludev -lpthread -l$(FS_LIB_NAME)
|
||||
|
||||
@@ -101,7 +102,7 @@ $(shell mkdir -p $(TARGET_DIR)/kernel)
|
||||
#
|
||||
|
||||
# default target builds console tool with modules
|
||||
-all: Makefile helpers module bctool-app
|
||||
+all: Makefile helpers bctool-app
|
||||
true
|
||||
|
||||
# GUI executable with helpers and console tool
|
||||
@@ -216,7 +217,7 @@ module-clean: force-look
|
||||
#
|
||||
|
||||
# install for default target
|
||||
-install: module-install bctool-app-install helpers-install
|
||||
+install: bctool-app-install helpers-install
|
||||
true
|
||||
|
||||
# uninstall for default target
|
||||
@@ -224,6 +225,7 @@ uninstall: before-uninstall module-uninstall bctool-app-uninstall helpers-uninst
|
||||
true
|
||||
|
||||
helpers-install:
|
||||
+ install -o root -m 755 -d $(PREFIX)/sbin
|
||||
install -o root -m 4755 -s $(TARGET_DIR)/bcmount_helper $(PREFIX)/sbin
|
||||
install -o root -m 4755 -s $(TARGET_DIR)/bcumount_helper $(PREFIX)/sbin
|
||||
install -o root -m 4755 -s $(TARGET_DIR)/bcrrpart_helper $(PREFIX)/sbin
|
||||
@@ -247,7 +249,9 @@ before-uninstall: force-look
|
||||
|
||||
# install for main executable only
|
||||
bctool-app-install: force-look
|
||||
+ install -o root -m 755 -d $(PREFIX)/usr/bin
|
||||
install -o root -m 0755 -s build/bctool $(PREFIX)/usr/bin/
|
||||
+ install -o root -m 755 -d $(PREFIX)/$(MAN_PATH)/man8
|
||||
install -m 644 bctool.8 $(PREFIX)/$(MAN_PATH)/man8/
|
||||
|
||||
# uninstall for main executable only
|
@ -0,0 +1,343 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.2.91.ebuild,v 1.1 2012/12/15 16:50:08 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
EBZR_PROJECT="emacs"
|
||||
EBZR_BRANCH="emacs-24"
|
||||
EBZR_REPO_URI="bzr://bzr.savannah.gnu.org/emacs/${EBZR_BRANCH}/"
|
||||
# "Nosmart" is much faster for initial branching.
|
||||
EBZR_INITIAL_URI="nosmart+${EBZR_REPO_URI}"
|
||||
EBZR_WORKDIR_CHECKOUT="t" #434746
|
||||
inherit bzr
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="mirror://gentoo/emacs-${PV}.tar.gz
|
||||
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.gz"
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="24"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="alsa aqua athena dbus games gconf gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick jpeg kerberos libxml2 m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.2
|
||||
>=app-emacs/emacs-common-gentoo-1.3[games?,X?]
|
||||
net-libs/liblockfile
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
gpm? ( sys-libs/gpm )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg )
|
||||
png? ( >=media-libs/libpng-1.4:0 )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? (
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
!gtk3? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
!gtk? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? (
|
||||
athena? ( x11-libs/libXaw )
|
||||
!athena? ( motif? ( >=x11-libs/motif-2.3:0 ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
alsa? ( virtual/pkgconfig )
|
||||
dbus? ( virtual/pkgconfig )
|
||||
gnutls? ( virtual/pkgconfig )
|
||||
libxml2? ( virtual/pkgconfig )
|
||||
X? ( virtual/pkgconfig )
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
FULL_VERSION=$(sed -n 's/^AC_INIT(emacs,[ \t]*\([^ \t,)]*\).*/\1/p' \
|
||||
configure.ac)
|
||||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
||||
einfo "Emacs branch: ${EBZR_BRANCH}"
|
||||
einfo "Revision: ${EBZR_REVISION:-${EBZR_REVNO}}"
|
||||
einfo "Emacs version number: ${FULL_VERSION}"
|
||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
if ! use alsa; then
|
||||
# ALSA is detected even if not requested by its USE flag.
|
||||
# Suppress it by supplying pkg-config with a wrong library name.
|
||||
sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.ac \
|
||||
|| die "unable to sed configure.ac"
|
||||
fi
|
||||
if ! use gzip-el; then
|
||||
# Emacs' build system automatically detects the gzip binary and
|
||||
# compresses el files. We don't want that so confuse it with a
|
||||
# wrong binary name
|
||||
sed -i -e "/AC_PATH_PROG/s/gzip/PrEvEnTcOmPrEsSiOn/" configure.ac \
|
||||
|| die "unable to sed configure.ac"
|
||||
fi
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
|
||||
if use sh; then
|
||||
replace-flags "-O[1-9]" -O0 #262359
|
||||
elif use ia64; then
|
||||
replace-flags "-O[2-9]" -O1 #325373
|
||||
else
|
||||
replace-flags "-O[3-9]" -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa && ! use sound; then
|
||||
einfo "Although sound USE flag is disabled you chose to have alsa,"
|
||||
einfo "so sound is switched on anyway."
|
||||
myconf="${myconf} --with-sound"
|
||||
else
|
||||
myconf="${myconf} $(use_with sound)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf="${myconf} --with-x --without-ns"
|
||||
myconf="${myconf} $(use_with gconf)"
|
||||
myconf="${myconf} $(use_with gsettings)"
|
||||
myconf="${myconf} $(use_with toolkit-scroll-bars)"
|
||||
myconf="${myconf} $(use_with gif) $(use_with jpeg)"
|
||||
myconf="${myconf} $(use_with png) $(use_with svg rsvg)"
|
||||
myconf="${myconf} $(use_with tiff) $(use_with xpm)"
|
||||
myconf="${myconf} $(use_with imagemagick)"
|
||||
|
||||
if use xft; then
|
||||
myconf="${myconf} --with-xft"
|
||||
myconf="${myconf} $(use_with m17n-lib libotf)"
|
||||
myconf="${myconf} $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf="${myconf} --without-xft"
|
||||
myconf="${myconf} --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf="${myconf} --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||
local f
|
||||
for f in athena Xaw3d motif; do
|
||||
use ${f} && ewarn "USE flag \"${f}\" ignored" \
|
||||
"(superseded by \"gtk\")"
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
use motif && ewarn "USE flag \"motif\" ignored" \
|
||||
"(superseded by \"athena\" or \"Xaw3d\")"
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=motif"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Cocoa support"
|
||||
myconf="${myconf} --with-ns --disable-ns-self-contained"
|
||||
myconf="${myconf} --without-x"
|
||||
else
|
||||
myconf="${myconf} --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# Save version information in the Emacs binary. It will be available
|
||||
# in variable "system-configuration-options".
|
||||
myconf="${myconf} GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
myconf="${myconf} EBZR_BRANCH=${EBZR_BRANCH} EBZR_REVNO=${EBZR_REVNO}"
|
||||
fi
|
||||
|
||||
# According to configure, this option is only used for GNU/Linux
|
||||
# (x86_64 and s390). For Gentoo Prefix we have to explicitly spell
|
||||
# out the location because $(get_libdir) does not necessarily return
|
||||
# something that matches the host OS's libdir naming (e.g. RHEL).
|
||||
local crtdir=$($(tc-getCC) -print-file-name=crt1.o)
|
||||
crtdir=${crtdir%/*}
|
||||
|
||||
econf \
|
||||
--program-suffix=-${EMACS_SUFFIX} \
|
||||
--program-transform-name="s/emacs-[0-9].*/${EMACS_SUFFIX}/" \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-crt-dir="${crtdir}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
--without-compress-info \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with gpm) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
$(use_with wide-int) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
||||
|
||||
# move man pages to the correct place
|
||||
local m
|
||||
for m in "${ED}"/usr/share/man/man1/* ; do
|
||||
mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die "mv man failed"
|
||||
done
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{applications,icons}
|
||||
rm -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
local c=";;"
|
||||
if use source; then
|
||||
insinto /usr/share/emacs/${FULL_VERSION}/src
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
c=""
|
||||
fi
|
||||
|
||||
sed 's/^X//' >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
X ${c}(setq find-function-C-source-directory
|
||||
X ${c} "${EPREFIX}/usr/share/emacs/${FULL_VERSION}/src")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
elog "Emacs${EMACS_SUFFIX#emacs}.app is in ${EPREFIX}/Applications/Gentoo."
|
||||
elog "You may want to copy or symlink it into /Applications by yourself."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
|
||||
if use X; then
|
||||
elog "You need to install some fonts for Emacs."
|
||||
elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's"
|
||||
elog "machine would satisfy basic Emacs requirements under X11."
|
||||
elog "See also http://www.gentoo.org/proj/en/lisp/emacs/xft.xml"
|
||||
elog "for how to enable anti-aliased fonts."
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "You can set the version to be started by /usr/bin/emacs through"
|
||||
elog "the Emacs eselect module, which also redirects man and info pages."
|
||||
elog "Therefore, several Emacs versions can be installed at the same time."
|
||||
elog "\"man emacs.eselect\" for details."
|
||||
elog
|
||||
elog "If you upgrade from Emacs version 24.2 or earlier, then it is"
|
||||
elog "strongly recommended that you use app-admin/emacs-updater to rebuild"
|
||||
elog "all byte-compiled elisp files of the installed Emacs packages."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -1,10 +1,30 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST man-pages-ja-20070515.tar.gz 3415989 SHA256 1f6209d5a57e40cef754ba207500c7be41883301d980efdeac976f75c2a0d4c1 SHA512 0b60191d658d7014744a9a75ad16ceb08de6a7963e4f8859433ae84c3840ab6e43f7173c22ac0636a61e54392ce332be06adce79c68070ad59e3efe3b9359542 WHIRLPOOL 4e1b6ba87e51e5c0141873e98901ce12dd92121ef3b5106dfaa623065e27ad0f28d5b8019809c1ded88037bd68c18959802d3712f44683ba6fa8fc4582608a8b
|
||||
DIST man-pages-ja-20101110.tar.gz 3815928 SHA256 6cbcebeb10cc0bc7636c1283327660b6a642a0ace97cdd5f13d4e0796de6ace3 SHA512 92a0b73a6b55e4fa38836031f6067673929720aec99c0b547de322540af56ce30ec81c8676228ecc9c365d55d610aba6f3b2425223fbb9d645bd0c640888be3c WHIRLPOOL af28aa2ee97927f91381a1c7f4e296c347a525992688417d8f9d080a9b68d82387d6bcdf2279a30540d5e4d40363f6a73cb141eef07f703ff60c4238d5a099f4
|
||||
DIST man-pages-ja-20111020.tar.gz 3850350 SHA256 86efe95e4dd8753116fbc44602c5c88c2343fd396da7d34c576299f4f6c1130c SHA512 3f17fe0cd02f57bdcf6fcf0296c3a9b2386142c83d06b22ab7115431493673e964c539051358bec42249a3c8dbc1565544d71af1cca90897fda52bb0ea9084d6 WHIRLPOOL ec2b5b861913da067009b10e18f2e6122f32984bc6c957a384c309eccbb75e6779fd3cb4e2ed90207470a043be281f636b04bea3fd196a30acc1434304c5575e
|
||||
DIST portage-man-pages-ja-20060415.tar.gz 67347 SHA256 e847d0ab11b7cc1b5b9e8c2c11591665efe8f00d6d7a277c0b9489906d4eaf3a SHA512 37364cdcb27b460663bdae31fea1ac653317ba4d928a5325c51814eb1677d7d9fb9bcc55cf64d63a8e6daaefa34d8604e0efe3582308957397cad31325a6eaad WHIRLPOOL 4b574be2fed47e5a51fe23d52a352d87740366138385536055efb9b024461885465c095e9767aea202de86caf0b6901f1e206bd832d36c01ea9043f895e44c1c
|
||||
EBUILD man-pages-ja-20070515.ebuild 1765 SHA256 7f5b226d0f1c1e340f528d04b17145d09bb3a4f087d6c4ea2268d6be4d235e7c SHA512 5d4f9ca1b00d1493fc67e4562b5a5800696e399f912851ee773eba7901accdbb584af439a152565023d568c5ebb967f5fb93cccfa0b71441aa265350a150c45a WHIRLPOOL 9bd31ab220514ee7d2d703520d2e3a29f7b533f72a2a9bbea0eb7126ccb3a84718298cb114cac30cdd4f70c8d4e49e7b995822cc8a6fcc87b361b105979a78d4
|
||||
EBUILD man-pages-ja-20101110-r1.ebuild 2054 SHA256 9926f07534c9d3d478c0e5a746313a27c6c0c8316973a3328ec34b10b8953f60 SHA512 04bc7a7ffa7e094818212872ca0dee20bbfcf76a953ec25e10ce77502aac49fa3e2b92db6de10103281d3f71d2b7728e91af5f4c53893e95b0733051947f3223 WHIRLPOOL 852d960d8c745e0f47c9eb9f91789dd72f39c893e2e69cd225b8054797765463fd98f66c981a6ebbefaeae4e5d01787668695a139e4df3e262f01f5df9415303
|
||||
EBUILD man-pages-ja-20101110.ebuild 1992 SHA256 c5e9a3da2dbd978fc7831613fbe943a51eed01431e1ac13732f27692c9ac9a68 SHA512 ef6893338cfa0a423d42351101eaa26d64ce0f6304f5075039c4bc67308b4d11392c4f21024e97257bb6be2bef693309f830dc022de2e894533612763abc58b4 WHIRLPOOL f0b763dadefc4e2bed29e6c5032c6864bc354751943e07ac6561261678354bff589fc8102ce07ef42b5b9506c5c3b304ebc7921befca4d8847818c53c86ee8ca
|
||||
EBUILD man-pages-ja-20111020.ebuild 2051 SHA256 e2c18b85ccd218d33d36b5e025096f2a62c3ab46f15a645e9c3f57bb293be413 SHA512 83e4c970e13d9baf47d3fcfcdc0a9c9c6d92a5f115d8a6321cbfb6b985bb8d1582b7c7420690cc1b7443b113e23c73e30299f9894ec79f23bd4d02ae910dd337 WHIRLPOOL cfeb2b63f2c144e8ae64f47740a12b36f491dbece0ff9d45e4bda52ca04f216dc31224ea7706324635e27c7abdd29e3a3e3d501506837f746c3e5993b71ec453
|
||||
MISC ChangeLog 9671 SHA256 2f3a39ca68ec6071e793fcc72b4235d8391f2e53834e3a7e93b337354935246e SHA512 dff46101f5de9fc4eef54fd2b34bd976cef0913fafcfc4974a7d0d225cffc1cca3c5562c5ef5762a2a683e500539da4a6c3e8bf5f11180e9b3d95268df1bf1be WHIRLPOOL 9ae02c725f8e58eba6ec064eabaedb4c696c1d624933c5e218e45974fda2330d82c8cb3b4f747ade14e07e39868803e7583f1a2e6f09ccdb1906d4867347e432
|
||||
EBUILD man-pages-ja-20070515.ebuild 1799 SHA256 32ab8910fdd717b56a897432721aca7a1d19ac0b43da382a7e94c5541e5f0409 SHA512 ddc1068b6e7d669435e9b7a089cbaba7b2ee0cbb2bcddb87d13b7b118b4f61fe9daf60d06f18d2414b25b4996e792af204b459e2cde7ad186dd5e643a5272e20 WHIRLPOOL e97c16f04d01e9c546868d4c741291055712125d80626f80b3d0ed19ff7eca07ac43c95a7c8277d643f2985ab9161f021ac423d93da929cb03c70fb5d2318cc3
|
||||
EBUILD man-pages-ja-20101110-r1.ebuild 2086 SHA256 443309f76cc3337be0b0f290ab3d61ccda796410881b06ec767e2cfede4b9ba4 SHA512 e2f37e0d4c23096457fb764823b0fb053cd74be57e74764f81aa9907f63267e57571726447db048fbcdce34ec9410080b8b69579bab9bc222f358e8476180f6c WHIRLPOOL 84482ca26a262ed1526d059b0a001b6bb11370dcd860ea2ecc6e86bdae817ca3a043664e897c54e919d774236ea66d140adf6211ea47e2bc48295e9fd5e5a430
|
||||
EBUILD man-pages-ja-20101110.ebuild 2023 SHA256 42cb3e88b55c7e11b3c27eb41c8f8f4d2b2f2dfcd8b03cb8aa2af6d9c966c9b2 SHA512 d2fe69b200e0417e1fa7602fd28eaf435f5f0c1baac948a731a00b0555b75422298fe76030df1c7913be0002456412679198c1d86be77a579459f2713b26c5e0 WHIRLPOOL c63a2e6e4ff1ffd298be19efe1da48aa69bad8db29799f7c5b2764d9c64e5496843ae389b4af71c4fb5ae6c13adfad7d8dc89234aec1c07ab66136222a130163
|
||||
EBUILD man-pages-ja-20111020.ebuild 2083 SHA256 babb4e69dab8ad806fc9e40400d51f6cddb0dfe37a1d44fd02fd8a9139a016ec SHA512 fb4d560b4675d5d28754524bec9372895f9b607ba2ea14fa659a56d2753bb516adb3ccd63967bc55dcaf1d225ff5a9c4e1df66e09843355ec51f99dd47470305 WHIRLPOOL 9498909009851d8fd538422d47353b19fc74a7590fc765b9911965b7ac3f4e0f47e6591208f03cfcde212c0fa3d047b84e91e4cc9d4347ac5de0ce9f919f1c2a
|
||||
MISC ChangeLog 9899 SHA256 738a0d6b2a3dea1d3d68a23654b97a2c95b4f2bd8652378adbecb4d2e65eec52 SHA512 5e3c74f013ded40bb213b4a20fa1a7276767094f1d2c42632f7e42a0255eff39cbfc584893231ce9acb9182586383ff354679d468cf8a0e380883e7a20d5d8ea WHIRLPOOL 0068583d49be72f60a27388d08f0a090bee3cc88c1bf88f01e3a471a30c2762c2bdbae3d4fdeeba0010c2222ab2388a79f38fc491f5bc02092ed990261ee8cb2
|
||||
MISC metadata.xml 508 SHA256 08d6d36824b177500d7f2ffe746f0a5a5cfbdbab7622b07cc2a5291df1fb3cc4 SHA512 8c94565a08f644d88c0fb2e09ac9f44196993ec60ea9aeaf2001914b32439444bc718a844373d76a5f63d29da70a99d66204e030483f75e6b48aab50198c8345 WHIRLPOOL d47471b5bd049988940bdfb504a151885df763bf8b8d2253d99b7c37382cc5195332ad8bdff3bef6e98ef4313077d8b01547e512064ed44917cca0ca58094356
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJQzI4BAAoJEDxpGckxwJCBphcP/3iHR21xW7NEIdkgia0E+IHJ
|
||||
QbHEjJFoHwGF1+ksIRH+km7UTpH33apKyXA1RFC1/FqP3wrUIeu9BxKnmSxT37nn
|
||||
YVPFr+5aR3nxlYTVe2oRzG0YbZXExkp6+dyX2KpqlnCOe679BpTKWtKsFcyAWg3b
|
||||
3lT44v1EdrKd2VtnUtTrfKktZfYxPVWU82ulyRKJ8xsZTtJ0oNAAYKgEmsXqRGsJ
|
||||
H49XSjNpRzZ/DUfKECixg7kbVf4DlBf9OxYTHFvdNajBQr4HrjlTS5XwSQB8lvnZ
|
||||
DjmqrgT0EJiQdSclhUVkKqwpl0HY7PQWeC0OlCXKqiLbEezukKl0WREdElxsjSRG
|
||||
tQgB3ATfnwNMT1jiXjKFCrz13I4yDGbxqPRZ10OsHSPeGB73iEAZlTtfzPTAmuh1
|
||||
uoqY4AYVvy05S3zuBsCkk7JZQaLJotcNR41bYom+JHm1CAzQYSEF3t5/exJxm9NS
|
||||
NCwHmBG8445F3lGMyndioZVHZeAAdrlkC4vvZ1j1jAZYdArslbC04S4xgwJ9kqb9
|
||||
+bf8AjLEBN3IXJK+hnGCKWX7M/5L1b8KxJsNGxZx94itHVQodNiBqqrkSlu8Fgym
|
||||
ps+DEbA0SPxiJ5683o5JYfY3OjJEZfOMcvnUf6SRMKpe7SpgWpiFpl3q7jCJKSek
|
||||
by08W0ISWHFjpdTvvwWA
|
||||
=m6cn
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,15 +1,17 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX tpb-0.6.4-nvram.patch 2321 SHA256 1979ed13e446db8f6cfe3e7af60fe51fd60481888fd73420f53fdd3f4dd82085 SHA512 0e59e3c01805c608738b6539e4cab78d7377b0550c08636b51f4df0ed02d3adb2d391d5e76bdf043a835fb523492dea8c0c7293915f0dc60df357dec4d759457 WHIRLPOOL ddee2555060017d017460a66132b1153f22188b1ceab4e7692a8bcae3aa19db64b70e03d0f3eea4fd3bccbfbb24d571abefa0a4e38d80943cdd5c1b8b10576c7
|
||||
AUX tpb-configure-fix.diff 478 SHA256 53baa3169b178737ffc59f108853cf79f78e8bf5ed0612ea3d95fe556cb4a0aa SHA512 461088eb82e66976a6bf591e4bb0de43e76c8aa9e404448d862535a27acb2857fcf3b5830edc6ece650857eb0e1ed24e7366c83d77d2e91b427f96f68928b32a WHIRLPOOL ca675b1025bc6cfda2ac4c9553c90de356d7eb24a2a331dc7fa740eb3bfce9ac77a403efed9f304e9ae814cf0e0e2be5f4f37ad1a1dc630614616ce1c9cd3c85
|
||||
DIST tpb-0.6.4.tar.gz 280316 SHA256 9ce4599ff4cb7397a3f49f747ff0225ef32bc6152778e55419f15aaf4cbff32a SHA512 1a12f4231b86bc3da2867670d5800f8f99f347743cf40b229c92485b6fe52e12b0222356d95d071ec26162ac778d2fe40867b4e635701620bc52236dbdb7b76a WHIRLPOOL 3b9fba89561d3c02cb2b36a266d52cba3d08f8305bcc2863b900ca3b8a2c8e5f1705bb1ffd20c03f8d28f531092ac26e2caaac634ad599f4601b9c6171652dfc
|
||||
EBUILD tpb-0.6.4-r1.ebuild 914 SHA256 d4a2ff28ea6cfc893e105c870fc3f4a6b1cb0aa30f1cdc8b94f8bbb6438066cf SHA512 a759ded175863b0f29b59b0ad0b777b449d8b638c7a666f1baf933d6901047d62082177081214c2dcb256ba2dc95c8351f5f3325699ec85c28c56e30ed457f78 WHIRLPOOL 67ca101bba375f97b681ab4e3b5b25e85f1a9469bef50c85414f0ef4e85b18f23c7960099314c8b65fc94f6734d83354043a46b46b8c9f7cc1451e8ce66ea251
|
||||
EBUILD tpb-0.6.4.ebuild 983 SHA256 fe2bca9b4e216cfe1dd4b3b862ad0f6ab2a91c18e65adcf437fdc9cbb12bebf2 SHA512 c137c9871807d67a3dd3d7c747c5f9e9423841310a87b4b65d284cc222bcb67c04d7f1df86f247f0fd976790eca7de2027f60f52f347543fb6c553b0228416fe WHIRLPOOL 6ccda8fb47853c79eb33c16c7cbf55f310a55f702fa01daffeedba8b80a4d2f50356b523a806237c259f844d3eda88a61e464cb28a9037938f487a643ee4c756
|
||||
MISC ChangeLog 3118 SHA256 6ad38ccf6603724f5005fc57558a1caa48e690f8facedf61669cdf699bfb78af SHA512 44b527ee35432140b1211087a96122e0bc57d02ced28d5bcc8f2c8cf604f26871bde3e84a5064c3f8a50b214095fc5fb49945901c1ecda80b4fd3a906887d811 WHIRLPOOL dec8db794c541465c04edd55a68a39cad67d8b07394bfa8eb36615b0858f58b2f241686b888376257375dc44b12fb4222f7900001a0b14155858cae8251d6667
|
||||
MISC ChangeLog 3294 SHA256 c5b039257dfb8b7146b2cf7b6099b960dcf2e421c830b7d3d72340d55a2fba6b SHA512 10e7c4b4b38347d77b17303a6b0238c863a39274fc7b19a69844db1448b9797bb29a61531ee4eac2c9ff9b035af1b086921d0c4ce9c4f15c9a359b5cbb73bcbe WHIRLPOOL a5389b45bdfbefa919dd36e7b27928137f45d2654aabcae1dd7817beaa7b10737db5581420ab4a5e350f6446f4db7d675bed01c10c3cd99da41e816706db70a8
|
||||
MISC metadata.xml 208 SHA256 98f8aa3fb70533eeab6b09d5bc30bd8f649ec13d9b04363490082fb87bb6032e SHA512 d5a7f3cb2fe57f8d7783ba358068648b122d9f5de81a17bff61ce600e42b6487e6f7e2a62c8be95cc7021cb3ea88716824b1ad0565da922ea753bea2417b3d3d WHIRLPOOL e38a6cdef2acb3efdc182efde482593790f773ab3bb9b66cced3af47e4ab39368757e17c4352c6cacaefa338341db88c3bcc3ffcd32aabd7984c5b19051a7bb7
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlCovkIACgkQCaWpQKGI+9QtUwCfczYjGmDX8CW/rjtnTntl+irX
|
||||
4XQAn1vq2tsguwk7eykgQbx7LL5l35H0
|
||||
=6Zw2
|
||||
iEYEAREIAAYFAlDMrqIACgkQCaWpQKGI+9RrmACfUaD8+ApT0JZuTwX5vofWRc6v
|
||||
QlMAn2PORO7brx6xgV/oxpZ/SV1JnVGs
|
||||
=sPPf
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,34 @@
|
||||
diff -Naur tpb-0.6.4-org/src/tpb.c tpb-0.6.4/src/tpb.c
|
||||
--- tpb-0.6.4-org/src/tpb.c 2005-07-18 16:15:59.000000000 +0200
|
||||
+++ tpb-0.6.4/src/tpb.c 2008-05-13 15:15:34.000000000 +0200
|
||||
@@ -523,10 +523,10 @@
|
||||
/* determine the state of the brightness buttons {{{ */
|
||||
if(thinkpad_state.brightness_level != last_thinkpad_state.brightness_level) {
|
||||
if(cfg.verbose == STATE_ON) {
|
||||
- printf(_("Brightness changed: Level %d\n"), thinkpad_state.brightness_level * 100 / 7);
|
||||
+ printf(_("Brightness changed: Level %d\n"), thinkpad_state.brightness_level * 100 / 15);
|
||||
}
|
||||
if(cfg.callback != NULL) {
|
||||
- snprintf(callback_cmd, sizeof(callback_cmd), "%s brightness %d", cfg.callback, thinkpad_state.brightness_level * 100 / 7);
|
||||
+ snprintf(callback_cmd, sizeof(callback_cmd), "%s brightness %d", cfg.callback, thinkpad_state.brightness_level * 100 / 15);
|
||||
if(fork_app(callback_cmd) != 0) {
|
||||
_exit(0);
|
||||
}
|
||||
@@ -537,7 +537,7 @@
|
||||
if(osd_ptr != NULL &&
|
||||
((cfg.osd == STATE_OFF && cfg.osdbrightness == STATE_ON) || (cfg.osd == STATE_ON && cfg.osdbrightness != STATE_OFF))) {
|
||||
xosd_display(osd_ptr, 0, XOSD_string, _("Brightness"));
|
||||
- xosd_display(osd_ptr, 1, XOSD_percentage, thinkpad_state.brightness_level * 100 / 7);
|
||||
+ xosd_display(osd_ptr, 1, XOSD_percentage, thinkpad_state.brightness_level * 100 / 15);
|
||||
}
|
||||
}
|
||||
#endif /* HAVE_LIBXOSD */ /* }}} */
|
||||
@@ -1031,7 +1031,7 @@
|
||||
thinkpad_state->hibernate_toggle = (thinkpad_state->hibernate_toggle & ~0x01) | (( buffer[0x58] & 0x01) );
|
||||
thinkpad_state->display_state = (( buffer[0x59] & 0x03) );
|
||||
thinkpad_state->expand_toggle = (thinkpad_state->expand_toggle & ~0x01) | (( buffer[0x59] & 0x10) >> 4);
|
||||
- thinkpad_state->brightness_level = (( buffer[0x5E] & 0x07) );
|
||||
+ thinkpad_state->brightness_level = (( buffer[0x5E] & 0x0F) );
|
||||
thinkpad_state->brightness_toggle = (thinkpad_state->brightness_toggle & ~0x01) | (( buffer[0x5E] & 0x20) >> 5);
|
||||
thinkpad_state->volume_level = (( buffer[0x60] & 0x0f) );
|
||||
thinkpad_state->volume_toggle = (thinkpad_state->volume_toggle & ~0x01) | (( buffer[0x60] & 0x80) >> 7);
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpb/tpb-0.6.4-r1.ebuild,v 1.1 2012/12/15 17:08:48 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit linux-info eutils
|
||||
|
||||
DESCRIPTION="IBM ThinkPad buttons utility"
|
||||
HOMEPAGE="http://savannah.nongnu.org/projects/tpb/"
|
||||
SRC_URI="http://savannah.nongnu.org/download/tpb/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 -ppc ~x86"
|
||||
IUSE="nls xosd"
|
||||
|
||||
RDEPEND="x11-libs/libXt
|
||||
x11-libs/libXext
|
||||
xosd? ( >=x11-libs/xosd-2.2.0 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
CONFIG_CHECK="~NVRAM"
|
||||
ERROR_NVRAM="${P} requires /dev/nvram support (CONFIG_NVRAM)"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-configure-fix.diff
|
||||
epatch "${FILESDIR}"/${P}-nvram.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable xosd)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc doc/{callback_example.sh,nvram.txt,tpbrc}
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/klavaro/klavaro-1.9.3.ebuild,v 1.2 2012/02/13 23:13:15 tetromino Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Another free touch typing tutor program"
|
||||
HOMEPAGE="http://klavaro.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-misc/curl
|
||||
>=x11-libs/gtk+-2.16.6:2
|
||||
x11-libs/gtkdatabox"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
|| ( dev-util/gtk-builder-convert <=x11-libs/gtk+-2.24.10:2 )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README TODO )
|
@ -1,8 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST obex-data-server-0.4.4.tar.gz 196213 SHA256 aa567d986c74a4c8b4abb1cc454c099f67ab01b049b4c69aa6e703c7f18b594d SHA512 fee31cab53f92630dc569a7826cb7b8a57b396bedef7236ffa796129f5c51b15b47979a0bae674a5a3f9aea1a19efd6e298cf4550c4d270decaed78f90ceb1a5 WHIRLPOOL c89766a368b766c905d6d37062592cfebb6497a0c5f06e5a3f50a89abce359c8d7f6428b5eec78e67b917541de1fcb1c7df34209081f97aa572ad1000c68d56e
|
||||
DIST obex-data-server-0.4.5.tar.gz 192084 SHA256 e741277bc12742f555f2250022ac4cf9a8e6638427e14c3ba3d7f59179aec763 SHA512 086d0fd099174421df1a91262f34259125bb2bc14e0a12c4ea046b83a8668e7fab00aa296bde14eb364235694a45143f6fc8aff150fed5bd18c63d9e7e0e4838 WHIRLPOOL 414805e5c14c90cfee4a45690d9f0a1365eb7a1b2d26a36ed60b0bbbbc1340008dd2c6356e29cb558aa7dbaa545047b3da06e33a20cedaf1f47a1a941dee3423
|
||||
DIST obex-data-server-0.4.6.tar.gz 199188 SHA256 b399465ddbd6d0217abedd9411d9d74a820effa0a6a142adc448268d3920094f SHA512 5f924377fa45fec22a15d74fa45bf6ae98f56a9f8c98142cce6123e4ca6dcca042a636469b491f4103e230e270ad1af18dc38274b661795cac4beb4f7b798d5b WHIRLPOOL 85ef3de72124c25b5b486e2fefdf453ddc318e5f8520ada7c772d7e7a6939b954a6a66cf962ed3aa257d5212ab047f556aced5cbfa94a1a360e897a6da6fa90a
|
||||
EBUILD obex-data-server-0.4.4.ebuild 1173 SHA256 39c24ba8559dfe077199a25f84fefcedc669b66aec0aa216de974196f1bb02ca SHA512 b63946ddf13081fd4d3cd1163e7d90f70beb650f41165042b01982419cbc6a71fb52194667cb5d246cfd921c477f7b461b131e57c77e83208dabeced46bead24 WHIRLPOOL c74751ffd318cfe519ea3ec89f52775b50c56a1873a6d26fdbfd61352f7d9c1bb1faf5fa33df63ac632750bc18801df117cf5a1c7b6251c472511377ebad880a
|
||||
EBUILD obex-data-server-0.4.5.ebuild 1196 SHA256 5783df324d539f3c86beb58a7af325625757628d1b1ee4c471b13c5ea90ec119 SHA512 652b04a6839430753d2cc5627555ae3394528f0f4da30ea56901e86307b9dd81ebeb866744cd530db273e39721f155b61926b4bc3d1cfa6f6d797e8e2411f702 WHIRLPOOL 1dc9955f893936b6e3131626359ef6204bf0f12c2ac177928abbe218d8d630aa492ce862168e42daed15ad8b5037262d8417b6e9e8e001c2a9da694a26f1bf20
|
||||
EBUILD obex-data-server-0.4.6.ebuild 1049 SHA256 9b7204e7dfbb5b32ed5e72774be6bc127608aaccaacf687e7069f7275dddafe6 SHA512 b129f5a0758049a284b027c182ace640809acdedfa0446abdbcd5db4975dc28a1890d3cd5d9e6d4e27c20451fcc1e895359872120e76786538f80d63214ffe56 WHIRLPOOL 528b2ffd5bad990c3b744b5b3362797afa6049ee17bd210708650a71ccbd5e9300ad9c267720019c9b96d9dddfc894c10b41257ad0297e5213bd180141a0317d
|
||||
MISC ChangeLog 5638 SHA256 5fada168502a70f18ac666f30d9f17b167cc3fd1f2c6b9618440df144fb6c117 SHA512 91b8dc9ed9ccb5244645d6a53b44853ed3731a3fc3ed1bc376f5e0079605e4be4da55e89dcabb0620a88478d77e83ec53b54d2a70d62996ae9650526432fddf0 WHIRLPOOL caaed7d42b148034d323444d609c412a6cfd4661d43267df3e4afebd48920a145f8281723b98b2be5a3f5adb095a973abf04c16878e00f973e17ce1e8e2f478d
|
||||
EBUILD obex-data-server-0.4.6.ebuild 1091 SHA256 7bc60349ce96e325eafedd804fabc3c33e6883b0477a64c6b2ae6a7dcaba9943 SHA512 4c06ae2c8d3bda6e6917cbaa1cc017f162e05f9ebf1ea15ef7189827d4e688e0c46d24da1eb507ec741321b12a8c452ced8243986381af78fd157224d15c48a2 WHIRLPOOL 5614cd91359419dd79100274c5aae814baa47312200227377f96bcfc65b1b8460287e44a03b633be6707ea9804f61ca67b7f9d4f52557b6d026dd5615edfebe3
|
||||
MISC ChangeLog 5779 SHA256 9305e9567fdad8cd5ab73525f9c3331336cdfc36cfbd1bae914a82feae03f073 SHA512 d402440b131a2cb3d68d365d038fe8a8a71863d9aa7957f3775a0bc8993103b06b72747c32cdd4976f912bd99de5065934177c10b0f8798bb7e0ef711c8e1610 WHIRLPOOL 629d99020808be755eaf5c4b732e8ea1312d6881365a79dcd5bc02d817d4e91fb8a56f32809f0ebb360720613c6c5693967107a8a255d6a6f13ec2a732550ff2
|
||||
MISC metadata.xml 669 SHA256 2dc6cd3699f6ddf7138f5e22c6a3c987babeec9bb91d2e7ea1b12cfb9d6fe68c SHA512 ecc0e8e8d1eb3e7fd0a610082c1e182bde79f6abd2ed102ae0de99c703c6b01c62d5c24cccba62b82525e09b47b3ae806165c4a43fa063c223349ed6416f50b9 WHIRLPOOL 70a81072e29b404ab3ec3bfb0739554f75fe53fcacd4cd4c58a4c9451f4480ad6a0d7a9846f27af82f7b0d9f0706182feee258d2d3021529ad3c9c68c6ea7308
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlDMr/MACgkQCaWpQKGI+9RftACfTl/izOfvqZJdjfnjevf9jSRo
|
||||
rGUAmwf1g+u+ynchSHjhDBBQZBjcrc0j
|
||||
=gvxH
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,7 +1,8 @@
|
||||
AUX homebank-4.3-implicit-pointer.patch 406 SHA256 8970a5aaa0aa33e18834624ed68c8f7194f6816253568b64f200024e332ea91c SHA512 f4c8256d89bd07c4baf09a5845a2add03d84f6183fb7b5023ead3e6e1e1bec4e37f0b8c389c0609fdb7abde2aab83a65a7660f7a7a0d238ee1694670db1b92c8 WHIRLPOOL 35fbe5c276e1c9006b235e38d6b374633e103cfbd71a791ed0a3722c7989d05aece12981fded03fcf1c771c3f445af0c6f651099f6fd179faaa5d8501754303b
|
||||
AUX homebank-4.4-fix_tests.patch 425 SHA256 433ac7c0490a087369ab7b6f83b602f029e124a9caae72a8bc57fcfc53d89ff1 SHA512 9f4d0059f67941e442a9fb01f43fa942bb69d01cebd825bd148945d1dcb845366e4e08837553882069797a6e524d76aa8638ee7cbeec32087f6d1e434658db48 WHIRLPOOL 93892a18178ce7bd7ef55f029c732a42a937af30996045bab6442ec8b295273a6546623bf7a94cc1a54dc0a729629be3fb8f6eea85a1e8ddcfef4d1a3c9bc91f
|
||||
DIST homebank-4.3.tar.gz 2849525 SHA256 c63a918d9749d81237f5cf67d0c375f207b0c83257c12398943f5a2e98df8be4 SHA512 68f1b8caa3c0c02da930ebc5fa7847893effe29359a1639f95a2fafe2fd284468033b43c0fce440d9c1b3fea0f654926c3c3d4e01b148ba0e8993f5991a8089a WHIRLPOOL 70bbf03846f3fb61fa8cac4b78e3d75bc905b8d734ed8de0a44414b03b9bceb75470d606410b5abfd97f64cad06789067b8eac7d450fa8203d2c6a6569854635
|
||||
DIST homebank-4.4.tar.gz 2951876 SHA256 13b89373575e3ac229d2683aa7296778ad7cdae1a7a019c9124a1d5b23dce7d2 SHA512 c6c149d80756188d2fcfb7cb29741ca2d77e7a88bdef6f3e3c6e494c87a75195f9bbe24597236860c2be6796a5fadbce3b87b8db0e8ab5fd1f96f9ed830c7a52 WHIRLPOOL 27cb79cbd4c3fb1fb32733ad1daddd2086c9b7d01276f05c15904d46d900d170fe3531013a7b94f90460c055e65df078418e863ea3c48af1018d6fc5ece9a10b
|
||||
EBUILD homebank-4.3.ebuild 1458 SHA256 bbbdafbe21d1754f7aeeea297d7d04cb6f5ab7e39dbbb01136438269914da229 SHA512 d0c47ab6ff8974adbbbe8d0d1c446729b5ad47889c68f271802b8de2c231e57edc66079b80d0fcbaccfa0b9f2898a38620e3ecd9c0e673981dd529cf7e3ebfab WHIRLPOOL 7a0b3dbeac8a6e3a6e0f49d64c3871cf06925c755ab8c318225a7b99a878c78641e00068334cfaa97462daf69ea9cbbe9806389e8ea941cfacd9c666758c351d
|
||||
EBUILD homebank-4.4.ebuild 947 SHA256 2498b4d1be75958ceba94e174733426bebd88918f764f5ef851d211c667e8f89 SHA512 eca24397af571bb3a990ae29f26c6f6fa781ba5b0f75d853c55aa00094f3c6d76a83f6935d5e11c203dc275fe61bdb1d987089a8fdca847aa53bacc4f91ceec4 WHIRLPOOL 69a03771a30b3e547c48b7c603203544314955721022b7cba744a17979771b70543d77ec95b96e6467f274979fabf5da2d48e307c1cb9ab6c1a1e621b04722dd
|
||||
MISC ChangeLog 3777 SHA256 402fe7773f66ae2bca94a834651a62053d3eb53ab90fd74ce28c6d817bf82236 SHA512 0199f762383281535eb21e4e28382580a7340bbacbf285d5f200840381fff0fd1d48b21820a84813e8af71a4f58b98ee357b90125dc2881750b2345fa65f2753 WHIRLPOOL 7cf58a2c3abbaa940f2288ac76689b61b4e2e01eca818cbc9c858f60cab8699e0065c6a87ddcda09a109ee1ea839b1cfadee020c0d6c2977e2ce15539e427ba4
|
||||
EBUILD homebank-4.4.ebuild 1017 SHA256 fec1f4fa51f75a66647a26568d0ee5c13306b71a1ee23c743778e714e95aec25 SHA512 b7a0f7eee4fa472ee5ca82bcdc4289ffdb68292971ac209751f29dad9f2ea31c7a2e366971563086faf4c2a535616860a297744d0a6e54e5eaa4ef00a8f840eb WHIRLPOOL 92c77c9c3dc7899313d6f41f06024b5fa8d7aa0bbcb81e0de4e9fc21c12479cce856ed3b061d0aca083d8b0a60c339d193077dc01ae4c6ee237ef424e659d0a5
|
||||
MISC ChangeLog 3908 SHA256 a5a30bf18bf4cbb1dfdde43e9c2d4b3365f223d6c1139808401b2de9d3c166ee SHA512 2f44d3e9eac05e01055e90b1413b935e6819b696ab416d2b4896978654e629c6554febd7153decc902a602807affbc11e3e3f80ebc9350f4d1b6fa29dedc13d3 WHIRLPOOL 720b8f5761a0c71a5030fb6e34a1417323dd11b912832e72610531ee3c4784e2f1f85807131ebfa646646a0bb5b92a5db99265f57679e67a74b677a82312e482
|
||||
MISC metadata.xml 232 SHA256 18d82999ae63f6a95f78867cc239598fd2eb8011c837dcbe85830d022e7e6aea SHA512 7f9c9b67138a1ba31721ed3109989340b3373d6732b9c26769600ffc10c3810cb7ad3bf32f5a9065b543877e432950517e72d095370aa3179712aefbebb03175 WHIRLPOOL 0c633ba84a00eaa0119ea39672a3b841c2c5a667781aa82a56494e23e7ecd4965ac75e152a2f93477e7b272c4b8c025821e07a02683e67cf33e6fbffd138579b
|
||||
|
@ -0,0 +1,20 @@
|
||||
diff --git a/po/POTFILES.in b/po/POTFILES.in
|
||||
index 7a1dc7f..4ea6ca3 100644
|
||||
--- a/po/POTFILES.in
|
||||
+++ b/po/POTFILES.in
|
||||
@@ -3,6 +3,7 @@
|
||||
data/homebank.desktop.in.in
|
||||
|
||||
# Main application
|
||||
+src/da_encoding.c
|
||||
src/def_archive.c
|
||||
src/def_budget.c
|
||||
src/def_filter.c
|
||||
@@ -13,6 +14,7 @@ src/dsp_account.c
|
||||
src/dsp_wallet.c
|
||||
src/homebank.c
|
||||
src/hb_category.c
|
||||
+src/hb_transaction.c
|
||||
src/import.c
|
||||
src/list_account.c
|
||||
src/list_operation.c
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/diffmask/diffmask-9999.ebuild,v 1.1 2012/12/15 12:34:36 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="A utility to maintain package.unmask entries up-to-date with masks"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/diffmask/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=sys-apps/portage-2.1.8.3"
|
||||
#if LIVE
|
||||
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/flaggie/flaggie-9999.ebuild,v 1.1 2012/12/15 12:34:06 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
EGIT_HAS_SUBMODULES=1
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="A smart CLI mangler for package.* files"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/flaggie/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~mips ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=sys-apps/portage-2.1.8.3"
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp contrib/bash-completion/${PN}.bash-completion ${PN}
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Please denote that flaggie creates backups of your package.* files"
|
||||
ewarn "before performing each change through appending a single '~'."
|
||||
ewarn "If you'd like to keep your own backup of them, please use another"
|
||||
ewarn "naming scheme (or even better some VCS)."
|
||||
elog
|
||||
elog "bash-completion support requires:"
|
||||
elog " app-shells/gentoo-bashcomp"
|
||||
has_version app-shells/gentoo-bashcomp && \
|
||||
elog "(installed already)"
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoopm/gentoopm-9999.ebuild,v 1.1 2012/12/15 12:34:02 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/${PN}.git
|
||||
http://git.overlays.gentoo.org/gitroot/proj/${PN}.git
|
||||
http://bitbucket.org/mgorny/${PN}.git"
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="A common interface to Gentoo package managers"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/gentoopm/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="|| (
|
||||
sys-apps/pkgcore
|
||||
>=sys-apps/portage-2.1.10.3
|
||||
>=sys-apps/paludis-0.64.2[python-bindings] )"
|
||||
DEPEND="doc? ( dev-python/epydoc )"
|
||||
PDEPEND="app-admin/eselect-package-manager"
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
python_export_best
|
||||
"${PYTHON}" setup.py doc || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" setup.py test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/* )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/install-mask/install-mask-9999.ebuild,v 1.1 2012/12/15 12:38:06 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="Handle INSTALL_MASK setting in make.conf"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/install-mask/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-portage/flaggie[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]"
|
||||
#if LIVE
|
||||
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/pms-test-suite/pms-test-suite-9999.ebuild,v 1.1 2012/12/15 12:40:07 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND='2:2.6'
|
||||
# Python ABIs are not supported by pkgcore
|
||||
#SUPPORT_PYTHON_ABIS=1
|
||||
# Python3 is not supported by dbus & gobject
|
||||
RESTRICT_PYTHON_ABIS='2.4 2.5 3.*'
|
||||
DISTUTILS_SRC_TEST=setup.py
|
||||
|
||||
inherit base distutils
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/${PN}.git
|
||||
http://git.overlays.gentoo.org/gitroot/proj/${PN}.git
|
||||
http://bitbucket.org/mgorny/${PN}.git"
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="A test suite for Package Manager PMS compliance"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/qa/pms/pms-test-suite.xml"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND=">=app-portage/gentoopm-0.1.5
|
||||
dev-python/dbus-python
|
||||
dev-python/pygobject:2"
|
||||
DEPEND="doc? ( dev-python/epydoc )
|
||||
test? ( >=sys-apps/portage-2.1.10.3
|
||||
sys-apps/pkgcore
|
||||
>=sys-apps/paludis-0.64.2[python-bindings] )"
|
||||
|
||||
PYTHON_MODNAME=pmstestsuite
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use doc; then
|
||||
"$(PYTHON)" setup.py "${_DISTUTILS_GLOBAL_OPTIONS[@]}" doc || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/*
|
||||
fi
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-2.1.3.ebuild,v 1.1 2012/12/15 01:58:48 mpagano Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*:2.7"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
|
||||
HOMEPAGE="http://www.mpagano.com/blog/?page_id=3"
|
||||
SRC_URI="http://www.mpagano.com/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=app-portage/gentoolkit-0.3.0.7
|
||||
>=sys-apps/portage-2.1.11.31"
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} || die "dobin failed"
|
||||
doman *.[0-9]
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/repo-commit/repo-commit-9999.ebuild,v 1.1 2012/12/15 12:38:30 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#if LIVE
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
EGIT_REPO_URI="http://bitbucket.org/gentoo/${PN}.git"
|
||||
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="A repository commit helper"
|
||||
HOMEPAGE="https://bitbucket.org/gentoo/repo-commit/"
|
||||
SRC_URI="mirror://bitbucket/gentoo/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
>=sys-apps/portage-2.2.0_alpha86
|
||||
( >=sys-apps/portage-2.1.10.30
|
||||
<sys-apps/portage-2.2.0_alpha )
|
||||
app-portage/gentoolkit-dev
|
||||
)
|
||||
sys-apps/portage"
|
||||
#if LIVE
|
||||
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
@ -1,6 +1,19 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST smart-live-rebuild-1.2.5.tar.bz2 15912 SHA256 83bd827bdc19865abfb1c7c31ed1cea29c66c3d4e60bbd00926e80b8fc9b3511 SHA512 5f6f1a875656c8c48af1296c1e2ee52c55079332d74797ffb96408d065d3fa5b0877aa485d0c9e864540f0cc209bb5f84b4b7fd66deea717b74db061738a483d WHIRLPOOL 2f24f4b18568a405931eff6e5d7cc81c2819b8024ac1644f24bc5ac4cc98ec0b3380759f6478f35a24a3efccce4a1d9556de26d3e6f1e8ed6147c22791b9a58f
|
||||
DIST smart-live-rebuild-1.3.tar.bz2 16020 SHA256 7eb2a181f8a4191906a6848df512cbd5b8a5692dc7831995f3aadfb35d517499 SHA512 14bbc3ba44706a698c4287e841531081e5c7f95147f052d08b8060b700fe48d8cdab8b9d7486e7f52c8f23be496eadcbcafb5c407ef4937181a2a6a96ef86ed7 WHIRLPOOL d796e81f9b9a71e6c663a9bbff5b87c97eb50f27d24333568646ab7aa82054930cd3aeb022574408d03ca5f447870ad2003edede4fa006ec5eb8842f406aa326
|
||||
EBUILD smart-live-rebuild-1.2.5.ebuild 917 SHA256 db1842f270627290d740ae4e5db0f2af41fd1c222527901d56672d5963f9a911 SHA512 06e7d70bc1ccc833830103f6d01f7d1f05bc3180477279cb0068f8c613b72303836d53e8f45f586abe6ece51e12e3005234ed3509c3bfa3098d3a0415c22a3d9 WHIRLPOOL 0ee2317e09eb7d224291bd9af21e177f11492b2408f82f7ef34ff9bb46697545de22d3389475ce029830df231ce68599c52367a58948952c04773682de59e538
|
||||
EBUILD smart-live-rebuild-1.3.ebuild 911 SHA256 0a7ea9a608771a85d1deb79657f052a1f170d4d3be2c5f5696f112e7178ecfc8 SHA512 9db171ac2a9acccdc17d593af329631a484ef8014f04bedb782fda9a495014b52f1d9b6320af2411ccc6bf40a45055d00f7731b35c304b97f74234024d800fd1 WHIRLPOOL 2c79fa0744942e49e289735bfb986a384420145adabf4e62e73848ee8cdd9a3eeec57c4187768e17f1262ff2c3aedb022ef993abe6f4035b0a217e069835ef7f
|
||||
MISC ChangeLog 9285 SHA256 6808c0bab052a6ce65b3597504ffac5614edeb33b4be13ad54d2e2067656283a SHA512 8563ffa39f5abadc407a2a26840e523c024655f39011f995009c4e3e3c3a57fff3bb62fd63f1eac1878f6a72da13021e2034582380d4caf788d3de00b5b25bc2 WHIRLPOOL 727f6969ad7ffb85609844f5763f3816fda66e5f410aa70faa7c27d8ee15575416f6e6d31a1b34934dc25db89816a7c511f4c646aa9ce424fcf90612dec306c0
|
||||
EBUILD smart-live-rebuild-9999.ebuild 1023 SHA256 002e3f7538d3821388098e4e3b69b8275e5e1768783da0878d74599276a24723 SHA512 133f2bfb14cb3b75fc655e1622105be703c92f8809af90ae046bd4884403abf220a9b14856a9302fd1871ade93d22eb44bb75cd0361915b30982b651ac1575fe WHIRLPOOL 7de7bd2f45d0dc9baec63f9df8629b61923abe93b0aff95917f406441a7d19993b07fb1ff6fe00726a9b352536ea45b4511b50baa10c3802519979974f783dc1
|
||||
MISC ChangeLog 9438 SHA256 3f052d0f7c7945ed6a2a549679a34dc33e06a72fafa9ebe1693d7a89e27c4e76 SHA512 40c4b907084cb324bb0d3c34b9289e8c5768ac8144b641a9f74cc5ea2dd12d67624044cd0b4d712b6dcda867f766895f44154c16a6a41335f2856f477bd00595 WHIRLPOOL c86482e4a7703a826f1cab7fdc178a42ab8c170f69f0cecb39ee06625ddcda4ffc9c4c24cd8da62b5bf51c294e7d10b1e4e973afe35962d4c6498154e621249e
|
||||
MISC metadata.xml 693 SHA256 8d2540ddd7620e93c3294b0f9d7ac6ba803703fe3a798c1e4661a777b8f98b4f SHA512 e17cb53461e4b8c6a4047da84d75a9575aeb7daa64104cb7b8a141fa45b96e2c3e41f5e450d7da806aa86b216d3a2c61822533ea86f0d8ae5ecd02e197b33e3f WHIRLPOOL 5e47cefe39dd706ff0fa722b45f99b42cf86a5b76fbca12ad949ef40ed31957066ee8ba58ffc5c71cfbd8abd0a14b821531b93226021f1282487b1451cbd0da0
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iJwEAQEIAAYFAlDMb1QACgkQfXuS5UK5QB1cYQP/c5yvHV9YDmmE2HQrhKmxPbaE
|
||||
ye4ydoQieYCaeHanwHiZCujd/AFvYm9hQi+n7082LWokAibwXtXSHllrIaEcr5nX
|
||||
0Wkzp9/Dtw5acQ/gz6XBBUqoXBvFMbovflLmzS3wMeCUuGMkCkhnuhhuppyx0D/C
|
||||
uQ0dN9mbg02yf1G0Zns=
|
||||
=JAxQ
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/smart-live-rebuild/smart-live-rebuild-9999.ebuild,v 1.1 2012/12/15 12:38:24 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="Check live packages for updates and emerge them as necessary"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/smart-live-rebuild/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-portage/gentoopm-0.2.1[${PYTHON_USEDEP}]"
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" setup.py test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
insinto /etc/portage
|
||||
newins smart-live-rebuild.conf{.example,}
|
||||
insinto /usr/share/portage/config/sets
|
||||
newins sets.conf.example ${PN}.conf
|
||||
}
|
@ -0,0 +1,218 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.2_p39-r1.ebuild,v 1.1 2012/12/15 01:55:49 vapier Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline vanilla"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-6.2 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<sys-apps/portage-2.1.6.7_p1
|
||||
!<sys-apps/paludis-0.26.0_alpha5"
|
||||
# we only need yacc when the .y files get patched (bash42-005)
|
||||
DEPEND+=" virtual/yacc"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
if use bashlogger ; then
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
cd "${S}"
|
||||
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
|
||||
# Avoid regenerating docs after patches #407985
|
||||
sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
|
||||
touch -r . doc/*
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.2-execute-job-control.patch #383237
|
||||
epatch "${FILESDIR}"/${PN}-4.2-parallel-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.2-no-readline.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.2-speed-up-read-N.patch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC \
|
||||
$(use bashlogger && echo -DSYSLOG_HISTORY)
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf="${myconf} --disable-nls"
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=6.2
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
use plugins && append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
|
||||
econf \
|
||||
--with-installed-readline=. \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
${myconf}
|
||||
emake || die
|
||||
|
||||
if use plugins ; then
|
||||
emake -C examples/loadables all others || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
|
||||
dodir /bin
|
||||
mv "${D}"/usr/bin/bash "${D}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/{bashrc,bash_logout}
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
local sed_args=(
|
||||
-e "s:#${USERLAND}#@::"
|
||||
-e '/#@/d'
|
||||
)
|
||||
if ! use readline ; then
|
||||
sed_args+=( #432338
|
||||
-e '/^shopt -s histappend/s:^:#:'
|
||||
-e 's:use_color=true:use_color=false:'
|
||||
)
|
||||
fi
|
||||
sed -i \
|
||||
"${sed_args[@]}" \
|
||||
"${D}"/etc/skel/.bashrc \
|
||||
"${D}"/etc/bash/bashrc || die
|
||||
|
||||
if use plugins ; then
|
||||
exeinto /usr/$(get_libdir)/bash
|
||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g') || die
|
||||
insinto /usr/include/bash-plugins
|
||||
doins *.h builtins/*.h examples/loadables/*.h include/*.h \
|
||||
lib/{glob/glob.h,tilde/tilde.h}
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
for d in examples/{functions,misc,scripts,scripts.noah,scripts.v2} ; do
|
||||
exeinto /usr/share/doc/${PF}/${d}
|
||||
insinto /usr/share/doc/${PF}/${d}
|
||||
for f in ${d}/* ; do
|
||||
if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then
|
||||
doexe ${f}
|
||||
else
|
||||
doins ${f}
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
doman doc/*.1
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${ROOT}/etc/bashrc ]] && [[ ! -d ${ROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${ROOT}"/etc/bash
|
||||
mv -f "${ROOT}"/etc/bashrc "${ROOT}"/etc/bash/
|
||||
fi
|
||||
|
||||
if [[ -L ${ROOT}/bin/sh ]]; then
|
||||
# rewrite the symlink to ensure that its mtime changes. having /bin/sh
|
||||
# missing even temporarily causes a fatal error with paludis.
|
||||
local target=$(readlink "${ROOT}"/bin/sh)
|
||||
local tmp=$(emktemp "${ROOT}"/bin)
|
||||
ln -sf "${target}" "${tmp}"
|
||||
mv -f "${tmp}" "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# If /bin/sh does not exist, provide it
|
||||
if [[ ! -e ${ROOT}/bin/sh ]]; then
|
||||
ln -sf bash "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
@ -0,0 +1,112 @@
|
||||
http://lists.gnu.org/archive/html/bug-bash/2012-11/msg00034.html
|
||||
|
||||
From 530d4988afd68ea9d2cf1b0267d4dc821d0d204f Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Mon, 19 Nov 2012 17:58:51 -0500
|
||||
Subject: [PATCH] bash: speed up `read -N`
|
||||
|
||||
Rather than using 1 byte reads, use the existing cache read logic.
|
||||
This could be sped up more, but this change is not as invasive and
|
||||
should (hopefully) be fairly safe.
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
builtins/read.def | 21 ++++++++++++++++-----
|
||||
externs.h | 1 +
|
||||
lib/sh/zread.c | 15 +++++++++++++--
|
||||
3 files changed, 30 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/builtins/read.def b/builtins/read.def
|
||||
index e32dec7..81a1b3f 100644
|
||||
--- a/builtins/read.def
|
||||
+++ b/builtins/read.def
|
||||
@@ -457,7 +457,10 @@ read_builtin (list)
|
||||
interrupt_immediately++;
|
||||
terminate_immediately++;
|
||||
|
||||
- unbuffered_read = (nchars > 0) || (delim != '\n') || input_is_pipe;
|
||||
+ if ((nchars > 0) && !input_is_tty && ignore_delim)
|
||||
+ unbuffered_read = 2;
|
||||
+ else if ((nchars > 0) || (delim != '\n') || input_is_pipe)
|
||||
+ unbuffered_read = 1;
|
||||
|
||||
if (prompt && edit == 0)
|
||||
{
|
||||
@@ -505,10 +508,18 @@ read_builtin (list)
|
||||
print_ps2 = 0;
|
||||
}
|
||||
|
||||
- if (unbuffered_read)
|
||||
- retval = zread (fd, &c, 1);
|
||||
- else
|
||||
- retval = zreadc (fd, &c);
|
||||
+ switch (unbuffered_read)
|
||||
+ {
|
||||
+ case 2:
|
||||
+ retval = zreadcn (fd, &c, nchars - nr);
|
||||
+ break;
|
||||
+ case 1:
|
||||
+ retval = zread (fd, &c, 1);
|
||||
+ break;
|
||||
+ default:
|
||||
+ retval = zreadc (fd, &c);
|
||||
+ break;
|
||||
+ }
|
||||
|
||||
if (retval <= 0)
|
||||
{
|
||||
diff --git a/externs.h b/externs.h
|
||||
index 09244fa..a5ad645 100644
|
||||
--- a/externs.h
|
||||
+++ b/externs.h
|
||||
@@ -479,6 +479,7 @@ extern ssize_t zread __P((int, char *, size_t));
|
||||
extern ssize_t zreadretry __P((int, char *, size_t));
|
||||
extern ssize_t zreadintr __P((int, char *, size_t));
|
||||
extern ssize_t zreadc __P((int, char *));
|
||||
+extern ssize_t zreadcn __P((int, char *, int));
|
||||
extern ssize_t zreadcintr __P((int, char *));
|
||||
extern void zreset __P((void));
|
||||
extern void zsyncfd __P((int));
|
||||
diff --git a/lib/sh/zread.c b/lib/sh/zread.c
|
||||
index 5db21a9..af7d02b 100644
|
||||
--- a/lib/sh/zread.c
|
||||
+++ b/lib/sh/zread.c
|
||||
@@ -101,15 +101,18 @@ static char lbuf[128];
|
||||
static size_t lind, lused;
|
||||
|
||||
ssize_t
|
||||
-zreadc (fd, cp)
|
||||
+zreadcn (fd, cp, len)
|
||||
int fd;
|
||||
char *cp;
|
||||
+ int len;
|
||||
{
|
||||
ssize_t nr;
|
||||
|
||||
if (lind == lused || lused == 0)
|
||||
{
|
||||
- nr = zread (fd, lbuf, sizeof (lbuf));
|
||||
+ if (len > sizeof (lbuf))
|
||||
+ len = sizeof (lbuf);
|
||||
+ nr = zread (fd, lbuf, len);
|
||||
lind = 0;
|
||||
if (nr <= 0)
|
||||
{
|
||||
@@ -123,6 +126,14 @@ zreadc (fd, cp)
|
||||
return 1;
|
||||
}
|
||||
|
||||
+ssize_t
|
||||
+zreadc (fd, cp)
|
||||
+ int fd;
|
||||
+ char *cp;
|
||||
+{
|
||||
+ return zreadcn (fd, cp, sizeof (lbuf));
|
||||
+}
|
||||
+
|
||||
/* Don't mix calls to zreadc and zreadcintr in the same function, since they
|
||||
use the same local buffer. */
|
||||
ssize_t
|
||||
--
|
||||
1.7.12.4
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pe-format/pe-format-2.9999.ebuild,v 1.1 2012/12/15 12:55:53 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#if LIVE
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}2.git"
|
||||
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
inherit autotools-utils fdo-mime systemd
|
||||
|
||||
DESCRIPTION="Intelligent PE executable wrapper for binfmt_misc"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/pe-format2/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}2/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<sys-apps/openrc-0.9.4"
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
|
||||
DEPEND="sys-devel/systemd-sdk"
|
||||
#endif
|
||||
|
||||
src_configure() {
|
||||
systemd_to_myeconfargs
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
keepdir /var/lib
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Calling pe-format2-setup to update handler setup"
|
||||
pe-format2-setup
|
||||
eend ${?}
|
||||
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,328 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.52.0-r5.ebuild,v 1.1 2012/12/15 14:45:27 mgorny Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
|
||||
|
||||
inherit eutils flag-o-matic multilib multiprocessing python-r1 toolchain-funcs versionator
|
||||
|
||||
MY_P=${PN}_$(replace_all_version_separators _)
|
||||
|
||||
DESCRIPTION="Boost Libraries for C++"
|
||||
HOMEPAGE="http://www.boost.org/"
|
||||
SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT=0
|
||||
MAJOR_V="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="debug doc icu +nls mpi python static-libs +threads tools"
|
||||
|
||||
RDEPEND="icu? ( >=dev-libs/icu-3.6:= )
|
||||
!icu? ( virtual/libiconv )
|
||||
mpi? ( || ( sys-cluster/openmpi[cxx] sys-cluster/mpich2[cxx,threads] ) )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
sys-libs/zlib
|
||||
!app-admin/eselect-boost"
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-util/boost-build-${MAJOR_V}*"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
create_user-config.jam() {
|
||||
local compiler compiler_version compiler_executable
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
compiler="darwin"
|
||||
compiler_version="$(gcc-fullversion)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
else
|
||||
compiler="gcc"
|
||||
compiler_version="$(gcc-version)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
fi
|
||||
local mpi_configuration python_configuration
|
||||
|
||||
if use mpi; then
|
||||
mpi_configuration="using mpi ;"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_configuration="using python : : ${PYTHON} ;"
|
||||
fi
|
||||
|
||||
cat > user-config.jam << __EOF__
|
||||
using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
|
||||
${mpi_configuration}
|
||||
${python_configuration}
|
||||
__EOF__
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-1.48.0-mpi_python3.patch" \
|
||||
"${FILESDIR}/${PN}-1.51.0-respect_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.51.0-support_dots_in_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-no_strict_aliasing_python2.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-python_linking.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch" \
|
||||
"${FILESDIR}/remove-toolset-1.48.0.patch" \
|
||||
"${FILESDIR}/${PN}-1.52.0-tuple.patch"
|
||||
|
||||
# Avoid a patch for now
|
||||
for file in libs/context/src/asm/*.S; do
|
||||
cat - >> $file <<EOF
|
||||
|
||||
#if defined(__linux__) && defined(__ELF__)
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
#endif
|
||||
EOF
|
||||
done
|
||||
}
|
||||
|
||||
ejam() {
|
||||
echo b2 "$@"
|
||||
b2 "$@"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
OPTIONS="$(usex debug gentoodebug gentoorelease) -j$(makeopts_jobs) -q -d+2 --user-config=${S}/user-config.jam"
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
# We need to add the prefix, and in two cases this exceeds, so prepare
|
||||
# for the largest possible space allocation.
|
||||
append-ldflags -Wl,-headerpad_max_install_names
|
||||
fi
|
||||
|
||||
# bug 298489
|
||||
if use ppc || use ppc64; then
|
||||
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
|
||||
fi
|
||||
|
||||
# Do _not_ use C++11 yet, make sure to force GNU C++ 98 standard.
|
||||
append-cxxflags -std=gnu++98
|
||||
|
||||
use icu && OPTIONS+=" -sICU_PATH=/usr"
|
||||
use icu || OPTIONS+=" --disable-icu boost.locale.icu=off"
|
||||
use mpi || OPTIONS+=" --without-mpi"
|
||||
use python || OPTIONS+=" --without-python"
|
||||
use nls || OPTIONS+=" --without-locale"
|
||||
|
||||
OPTIONS+=" pch=off --boost-build=/usr/share/boost-build --prefix=\"${D}usr\" --layout=system threading=$(usex threads multi single) link=$(usex static-libs shared,static shared) --without-context"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export BOOST_ROOT="${S}"
|
||||
PYTHON_DIRS=""
|
||||
MPI_PYTHON_MODULE=""
|
||||
|
||||
building() {
|
||||
create_user-config.jam
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
$(use python && echo --python-buildid=${EPYTHON#python}) \
|
||||
|| die "Building of Boost libraries failed"
|
||||
|
||||
if use python; then
|
||||
if [[ -z "${PYTHON_DIRS}" ]]; then
|
||||
PYTHON_DIRS="$(find bin.v2/libs -name python | sort)"
|
||||
else
|
||||
if [[ "${PYTHON_DIRS}" != "$(find bin.v2/libs -name python | sort)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
mv ${dir} ${dir}-${EPYTHON} \
|
||||
|| die "Renaming of '${dir}' to '${dir}-${EPYTHON}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
if [[ -z "${MPI_PYTHON_MODULE}" ]]; then
|
||||
MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)"
|
||||
if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then
|
||||
die "Multiple mpi.so files found"
|
||||
fi
|
||||
else
|
||||
if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
mv stage/lib/mpi.so stage/lib/mpi.so-${EPYTHON} \
|
||||
|| die "Renaming of 'stage/lib/mpi.so' to 'stage/lib/mpi.so-${EPYTHON}' failed"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
if use python; then
|
||||
python_foreach_impl building
|
||||
else
|
||||
building
|
||||
fi
|
||||
|
||||
if use tools; then
|
||||
pushd tools > /dev/null || die
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
|| die "Building of Boost tools failed"
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
installation() {
|
||||
create_user-config.jam
|
||||
|
||||
if use python; then
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
cp -pr ${dir}-${EPYTHON} ${dir} \
|
||||
|| die "Copying of '${dir}-${EPYTHON}' to '${dir}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} "${MPI_PYTHON_MODULE}" \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to '${MPI_PYTHON_MODULE}' failed"
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} stage/lib/mpi.so \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to 'stage/lib/mpi.so' failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
--includedir="${D}usr/include" \
|
||||
--libdir="${D}usr/$(get_libdir)" \
|
||||
$(use python && echo --python-buildid=${EPYTHON#python}) \
|
||||
install || die "Installation of Boost libraries failed"
|
||||
|
||||
if use python; then
|
||||
rm -r ${PYTHON_DIRS} || die
|
||||
|
||||
# Move mpi.so Python module to Python site-packages directory.
|
||||
# https://svn.boost.org/trac/boost/ticket/2838
|
||||
if use mpi; then
|
||||
local moddir=$(python_get_sitedir)/boost
|
||||
dodir "${moddir}"
|
||||
mv "${D}usr/$(get_libdir)/mpi.so" "${D}${moddir}" || die
|
||||
cat << EOF > "${D}${moddir}/__init__.py" || die
|
||||
import sys
|
||||
if sys.platform.startswith('linux'):
|
||||
import DLFCN
|
||||
flags = sys.getdlopenflags()
|
||||
sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL)
|
||||
from . import mpi
|
||||
sys.setdlopenflags(flags)
|
||||
del DLFCN, flags
|
||||
else:
|
||||
from . import mpi
|
||||
del sys
|
||||
EOF
|
||||
fi
|
||||
|
||||
python_optimize
|
||||
fi
|
||||
}
|
||||
if use python; then
|
||||
python_foreach_impl installation
|
||||
else
|
||||
installation
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
rm -r "${D}"/usr/include/boost/python* || die
|
||||
fi
|
||||
|
||||
if ! use nls; then
|
||||
rm -r "${D}"/usr/include/boost/locale || die
|
||||
fi
|
||||
|
||||
rm -r "${D}"/usr/include/boost/context || die
|
||||
|
||||
if use doc; then
|
||||
find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
|
||||
dohtml \
|
||||
-A pdf,txt,cpp,hpp \
|
||||
*.{htm,html,png,css} \
|
||||
-r doc
|
||||
dohtml -A pdf,txt -r tools
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r libs
|
||||
doins -r more
|
||||
|
||||
# To avoid broken links
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins LICENSE_1_0.txt
|
||||
|
||||
dosym /usr/include/boost /usr/share/doc/${PF}/html/boost
|
||||
fi
|
||||
|
||||
pushd "${D}usr/$(get_libdir)" > /dev/null || die
|
||||
|
||||
local ext=$(get_libname)
|
||||
if use threads; then
|
||||
local f
|
||||
for f in *${ext}; do
|
||||
dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}}
|
||||
done
|
||||
fi
|
||||
|
||||
popd > /dev/null || die
|
||||
|
||||
if use tools; then
|
||||
dobin dist/bin/*
|
||||
|
||||
insinto /usr/share
|
||||
doins -r dist/share/boostbook
|
||||
fi
|
||||
|
||||
# boost's build system truely sucks for not having a destdir. Because for
|
||||
# this reason we are forced to build with a prefix that includes the
|
||||
# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
|
||||
# DESTROOT instread of the actual EPREFIX. There is no way out of here
|
||||
# but to do it the dirty way of manually setting the right install_names.
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
einfo "Working around completely broken build-system(tm)"
|
||||
local d
|
||||
for d in "${ED}"usr/lib/*.dylib; do
|
||||
if [[ -f ${d} ]]; then
|
||||
# fix the "soname"
|
||||
ebegin " correcting install_name of ${d#${ED}}"
|
||||
install_name_tool -id "/${d#${D}}" "${d}"
|
||||
eend $?
|
||||
# fix references to other libs
|
||||
refs=$(otool -XL "${d}" | \
|
||||
sed -e '1d' -e 's/^\t//' | \
|
||||
grep "^libboost_" | \
|
||||
cut -f1 -d' ')
|
||||
local r
|
||||
for r in ${refs}; do
|
||||
ebegin " correcting reference to ${r}"
|
||||
install_name_tool -change \
|
||||
"${r}" \
|
||||
"${EPREFIX}/usr/lib/${r}" \
|
||||
"${d}"
|
||||
eend $?
|
||||
done
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Yai for having symlinks that are nigh-impossible to remove without
|
||||
# resorting to dirty hacks like these. Removes lingering symlinks
|
||||
# from the slotted versions.
|
||||
local symlink
|
||||
for symlink in "${EROOT}usr/include/boost" "${EROOT}usr/share/boostbook"; do
|
||||
[[ -L ${symlink} ]] && rm -f "${symlink}"
|
||||
done
|
||||
}
|
||||
|
||||
# the tests will never fail because these are not intended as sanity
|
||||
# tests at all. They are more a way for upstream to check their own code
|
||||
# on new compilers. Since they would either be completely unreliable
|
||||
# (failing for no good reason) or completely useless (never failing)
|
||||
# there is no point in having them in the ebuild to begin with.
|
||||
src_test() { :; }
|
@ -1,6 +1,8 @@
|
||||
DIST Botan-1.10.1.tbz 2195784 SHA256 205a3c011391d01ca3e4f127a2ffbf993a4f59788ffa45a6df06ef4ff382a89e SHA512 6e1fecf6cb9103428c444a13b89eb21983c054f1327fcc48ff89876749644c1e635e09d8af595e8ff31ab9c657a11cf4953e9c262a6ee42bce3f68370f0636fa WHIRLPOOL 39e881806a4ee24ed75c6ac1cad8cd7ded962026138641da70ea672a45982fe9d8c6d3b41302c5b5b96567809377bcbcf3801aea8e6792f9d5e8705f6b6c3533
|
||||
DIST Botan-1.10.3.tbz 2215991 SHA256 e1db6af2deb230699b076cde893ad949f0580d4fd7b030fcd791ae982d184734 SHA512 e14a961dca2ece04b20a574ad1eb4467f1d94ac1c1fb3b66db704d750aa9953dd78e5700065b896eea63effeffdeb6c529cc8de6eea30c3acef851cd7ddb872b WHIRLPOOL 2b400ec5f6bbaf235a88a057a5dbde05987894a6f8cbf3a8fc0447192d42ce13d4fe9a06060ef09d5eaafe5357ee726345b1e753654136f1612a7c7912688fd5
|
||||
DIST Botan-1.8.11.tbz 2808114 SHA256 c3b60a2c3dfcbe7b21626e8459e5134d3cbabe45b6d94f454860b99798739ba4 SHA512 03577a01e464841e7c985ce6323c4eeaf8d5fc968786d058139e8f965d81900ceb17c7e3f54c948b9dbb602717fec0eff153e1f140c4016aef97c7adb317e5d1 WHIRLPOOL a7f1283ca50d52ccff025a74c10cd7b973a196f873b8386e0efc73af84d0e765a127448f999be9e76e90e772dc20950bf0ae9972fad99840b0045caea41ee811
|
||||
EBUILD botan-1.10.1.ebuild 2464 SHA256 f349b245dd1646a1d5bb16746a038fb2a95ea1cad33dc8eba9dbf217fbd3050b SHA512 89c65fca3de7ef3e3588e1aa99a3e489b58e3656aed6a99469216e42b8df6066c439ad36fad26949fbb31442661f60f4c821c698a91bdda1da66f266702661a7 WHIRLPOOL 6a4d01719b85b9cb6e97873ce2bbb224764febf25515e86f58f68b0c8f7523ba305fa985788f3705c7343ac37ca2a7fdf597bae722f738cca8c4bb897c740dfa
|
||||
EBUILD botan-1.10.3.ebuild 2461 SHA256 017cc01d3cef1e0191cfb89f28c563ec466aae15f09bc9533ec6617873a66d8f SHA512 3512187ddd493ed18567728525d49c081d85d3c2d2fac09a40ee557732437ba91eb24f34f8d800671f21b9ac43f8c3bc72fd962ee4ed1784c2609039ad9ad86e WHIRLPOOL e97fc1c01a678f611f108d2a789dbc63b2b610a79ec0c4f0cae0ec3e0b02795c5342a7620df613a1091337fe714fcbe9f845d2a70c22ba3065d3f11883750b8e
|
||||
EBUILD botan-1.8.11.ebuild 2461 SHA256 a1e4111c47aa003a7688116652ec43d6a66e863c346b6bd0f744a3f8fd514188 SHA512 7d3dc940f2d0602da995849a7a82d81dead91c7967b089df03ba76092e5f0422af41ff84d48c77da81c57f1b289b8c6c7a9670f7037ecdb4dcfeab504e132549 WHIRLPOOL 440c7e4a9f74cbf5f60a9e1704398feab0423e0f4afa6d23bbcdfe3b0888638ca17331607e8b6e61bce6d94a6c25d8f995a39301c73c36f7948cfe76043c8c62
|
||||
MISC ChangeLog 10820 SHA256 0b64ccf4153af95ec74bee559c432e4abc77bea35f8b64aa66847abdc50f90e1 SHA512 1b59965693bbe42899c305c933da1b46a42785bb99c5b818585dc11491552570db165a381b86190a17ead43a2ece5780c1262bf0387bf3a553f8716aab8d74b1 WHIRLPOOL 0b86d3de6ad0cfe89280c9d2ce2327256ab5c027b5b496d226b4c5935db61be8466fbfffd13684661631954660ac9f12ed9aa01ba8b3a868db5a5380d8e9d1f9
|
||||
MISC ChangeLog 10934 SHA256 e10b4923c93d80d42a9e391af1c513188314002f009317b1293904d4a953d4ec SHA512 628a5e74280c1f38bdca0f0939a6857deb71849bcc7879d79bdf4d5bfcd722fc3efe66489c7cc4c349483dcac0e696f48754c79c0256ad7b3b476a3031b051f3 WHIRLPOOL c0065973976b1d7a1b703984e75b6c20ddfe42f57a8c9e5b0a719516ebc4d4a97c6a861115612c1b38f55a1e67bc3f2040efd92bb9f185ec0d2e0cfb3046d631
|
||||
MISC metadata.xml 319 SHA256 c0597f70f00af70ca6f77bf906babe3059717b8c1e91a74c61904008e0c14054 SHA512 1601e3dc9d051c441d1ee786c05cc2d9d39991e57e8f2ab47949b055ee784dd78d78cd601a37d1aa0c40c990c3623dd1e5fa643532225dbdb33e98f6ae9ce6ca WHIRLPOOL 1fe2fdfb936337bab626316df3a834d911f622f891840ecc4d35b016d5201e3b0c2c245e9fd243664eb214b0047b12f14808ba7a790c36bb12bc0674eecaa45e
|
||||
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/botan-1.10.3.ebuild,v 1.1 2012/12/15 01:03:30 alonbl Exp $
|
||||
|
||||
EAPI="3"
|
||||
#PYTHON_BDEPEND="2"
|
||||
|
||||
inherit eutils multilib python toolchain-funcs
|
||||
|
||||
MY_PN="Botan"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="A C++ crypto library"
|
||||
HOMEPAGE="http://botan.randombit.net/"
|
||||
SRC_URI="http://files.randombit.net/botan/${MY_P}.tbz"
|
||||
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos"
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
IUSE="bzip2 gmp ssl threads zlib"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
|
||||
zlib? ( >=sys-libs/zlib-1.2.3 )
|
||||
gmp? ( >=dev-libs/gmp-4.2.2 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.8g )"
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-lang/python-2*"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Install documentation in /usr/share/doc/${PF}.
|
||||
sed -e "/^DOCDIR *=/s/Botan-\$(VERSION)/${PF}/" -i src/build-data/makefile/unix_shr.in || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local disable_modules="proc_walk,unix_procs,cpu_counter"
|
||||
|
||||
if ! use threads; then
|
||||
disable_modules="${disable_modules},pthreads"
|
||||
fi
|
||||
|
||||
# Enable v9 instructions for sparc64
|
||||
if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then
|
||||
CHOSTARCH="sparc32-v9"
|
||||
else
|
||||
CHOSTARCH="${CHOST%%-*}"
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
elog "Disabling modules: ${disable_modules}"
|
||||
|
||||
local myos=
|
||||
case ${CHOST} in
|
||||
*-darwin*) myos=darwin ;;
|
||||
*) myos=linux ;;
|
||||
esac
|
||||
|
||||
# foobared buildsystem, --prefix translates into DESTDIR, see also make
|
||||
# install in src_install, we need the correct live-system prefix here on
|
||||
# Darwin for a shared lib with correct install_name
|
||||
./configure.py \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir=$(get_libdir) \
|
||||
--docdir=share/doc \
|
||||
--cc=gcc \
|
||||
--os=${myos} \
|
||||
--cpu=${CHOSTARCH} \
|
||||
--with-endian="$(tc-endian)" \
|
||||
--with-tr1=system \
|
||||
$(use_with bzip2) \
|
||||
$(use_with gmp gnump) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with zlib) \
|
||||
--disable-modules=${disable_modules} \
|
||||
|| die "configure.py failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CXX="$(tc-getCXX)" AR="$(tc-getAR) crs" LIB_OPT="${CXXFLAGS}" MACH_OPT="" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
chmod -R ugo+rX "${S}"
|
||||
emake CXX="$(tc-getCXX)" CHECK_OPT="${CXXFLAGS}" check || die "emake check failed"
|
||||
LD_LIBRARY_PATH="${S}" ./check --validate || die "Validation tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}usr" install || die "emake install failed"
|
||||
}
|
@ -1,4 +1,17 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST libdivsufsort-2.0.1.tar.bz2 263931 SHA256 55c02c86ea1763f581e0f50440008c554b8da2272129adee4ac84cb1362018bc SHA512 cfdcaeabcc5d785533a2532b5fccd72dec36dd8dd9925ef8752b75086da6ee2a93f6a907a881091253ae3155eff29337ce127d3daa42e3867212a3399052f6ef WHIRLPOOL ce88988baf91ad17d64c7b90fbbc1c3f277a84d09a7dc81cb99f567a15e48a0e19efdef90b0e7aae5fb1d8ddd2572b7fd9f7965f88a8f1ce1c46b0a139c023a6
|
||||
EBUILD libdivsufsort-2.0.1.ebuild 629 SHA256 22d7bb7a846a1a4339b62a60aca8e51eeac9beab1095b9d001760e6f284b88f3 SHA512 b3f07c6fb2b7923ad34432a2264a323b6c14ab4a6d60741ca1da588e0f63ce3a4302ce08b14623c7b224f7bfecba3742f7e55993a086d7a20637aae8084444f1 WHIRLPOOL ce76e1a91d5b5767a31afb0b4bf31588f47be3a6d92ccb2a86f5895146f5d0700676a25d0e36c6060622ef81781f6312c90af21df07f8269c864ccdf0cd3d86a
|
||||
MISC ChangeLog 412 SHA256 dbf5ff92dd22d5d7e764f7217109e854079b78861324c3cf22cc4c2f166759f2 SHA512 2ab8a7b2f27a34a1ec29a4e545a1f6e9c3d9ac2fe6aa60f9394b2f042d280a8fe64d2d7140fde824ea864d0ea2d56438c5a253d9a5495c3ae18625d0fa4a569e WHIRLPOOL fee47704c494a7a96a018d50a59578f9cde10434778778bbd3bc5f6a24bf44c7ed621a0ad6374d91ba602f94c874edb726e1240d6a28c60cac64d4fd135351f4
|
||||
EBUILD libdivsufsort-9999.ebuild 763 SHA256 53e6c618895851408f9da2ec31a28349d8ddd8704511a7339f7d84abd9d4bd01 SHA512 5578eb0ea85cc4d61a3bf83b2b5b0ae9be00929c12b2ff5d76a7aa19871dbf66bc96574ca8c0c9e024fb1b291833febdd0c741662ca8abd8133b312b1861e9c5 WHIRLPOOL e0ae49b4df548d14b67436847a4436f8e3c0cb5ed7e02dc4ca3ae723b2a9abf53af1f1a5aa59928545e5ec09f7732064036310b3bad9009d33e43f10bd7c9721
|
||||
MISC ChangeLog 551 SHA256 c1b309094ccb1bd3fd77508a96550d56555c377e35f637a6069a30c2759a67a5 SHA512 9315f2ff2d13b7ac88e5c8b4163a6b237fc00b9b9da118e1625f969b226d24ba37c08b064b049ee6e148987cc697b1c22c19f56167108a46ac8840a2dc5bfbfc WHIRLPOOL 3011236fa22bc6a0dbe7a5ae35b278e21315e4e01c3af33aa63010a599f9c7c647ce6c394735589bd813513881430f9ebaa6d0ac58598ca65d708455188a7945
|
||||
MISC metadata.xml 233 SHA256 fd88d74157f79eb4a06067443b7138cfb56fe1c66bfa5dfe72bda038ea5a9dda SHA512 6676f74cc1b612ba4f95101b64570f257e4b37cfd803a987e3afd9e12ef9b1480918c5d6e4fa955b8447eba9e319c94aac11abe247187870406986b476b154e8 WHIRLPOOL 3c1f192d1fb5e213e407a70a7be417170b651f3049b32ddf1f6b1c1983dedbcb498fa92eb96a41463c0ff0754044930150f0e5940708a6584923e12b86200349
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iJwEAQEIAAYFAlDMb00ACgkQfXuS5UK5QB0BOAP9EsFTy4ARgxZgD/70ydADqGLk
|
||||
XlplTfs8TEyUBGRV9ZnlaNTNQaAo9VOOZKEsY1ewG/vI94DNaVKel4l0MvRXXUgP
|
||||
5fHvuJAZ06Jlx8yX7a037nPBWEGYU5/4SXhKGoL7oYsmxpIrfEgtzrWnv3/paL6s
|
||||
cXI4XnerW/wnDuLATxY=
|
||||
=UIJ7
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdivsufsort/libdivsufsort-9999.ebuild,v 1.1 2012/12/15 12:38:19 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit cmake-utils multilib
|
||||
|
||||
#if LIVE
|
||||
ESVN_REPO_URI="http://libdivsufsort.googlecode.com/svn/trunk/"
|
||||
inherit subversion
|
||||
#endif
|
||||
|
||||
DESCRIPTION="Suffix-sorting library (for BWT)"
|
||||
HOMEPAGE="http://code.google.com/p/libdivsufsort/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
||||
|
||||
src_prepare() {
|
||||
# will appreciate saner approach, if there is any
|
||||
sed -i -e "s:\(DESTINATION \)lib:\1$(get_libdir):" \
|
||||
*/CMakeLists.txt || die
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
From 3f35444ca2ae842a546010180e2b16cdd0169b6c Mon Sep 17 00:00:00 2001
|
||||
From: Sean McGovern <gseanmcg@gmail.com>
|
||||
Date: Tue, 30 Oct 2012 19:23:27 -0400
|
||||
Subject: [PATCH] Probe for archiver tool
|
||||
|
||||
Gentoo bug#438160.
|
||||
---
|
||||
config.make.in | 2 +-
|
||||
configure.ac | 1 +
|
||||
2 files changed, 2 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/config.make.in b/config.make.in
|
||||
index 58ee19c..f42421f 100644
|
||||
--- a/config.make.in
|
||||
+++ b/config.make.in
|
||||
@@ -46,7 +46,7 @@ LIBHOGWEED_FORLINK = @LIBHOGWEED_FORLINK@
|
||||
LIBHOGWEED_LIBS = @LIBHOGWEED_LIBS@
|
||||
LIBHOGWEED_LINK = @LIBHOGWEED_LINK@
|
||||
|
||||
-AR = ar
|
||||
+AR = @AR@
|
||||
ARFLAGS = cru
|
||||
AUTOCONF = autoconf
|
||||
AUTOHEADER = autoheader
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index dea9bd4..737febb 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -104,6 +104,7 @@ AC_PROG_RANLIB
|
||||
AC_CHECK_TOOL(NM, nm, strings)
|
||||
# Used only for the GNU-stack configure test.
|
||||
AC_CHECK_TOOL(OBJDUMP, objdump, false)
|
||||
+AC_CHECK_TOOL(AR, ar, false)
|
||||
|
||||
if test "x$ac_cv_prog_cc_stdc" = xno ; then
|
||||
AC_ERROR([the C compiler doesn't handle ANSI-C]) #'
|
||||
--
|
||||
1.7.8.6
|
||||
|
@ -0,0 +1,108 @@
|
||||
From c4a57cf2b0ebf3b99309f40cfa1c5107ae038d84 Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Fri, 14 Dec 2012 23:31:10 +0200
|
||||
Subject: [PATCH] build: add --enable-static option
|
||||
|
||||
Gentoo bug#405525, support not installing static libraries.
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
Makefile.in | 16 ++++++++++------
|
||||
configure.ac | 12 ++++++++++++
|
||||
2 files changed, 22 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index be0de3c..d4a2a7d 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -21,7 +21,11 @@ include config.make
|
||||
PRE_CPPFLAGS = -I.
|
||||
# FIXME: Add configuration of LIBEXT?
|
||||
LIBTARGETS = libnettle.a @IF_HOGWEED@ libhogweed.a
|
||||
-SHLIBTARGETS = $(LIBNETTLE_FORLINK) @IF_HOGWEED@ $(LIBHOGWEED_FORLINK)
|
||||
+@IF_STATIC@INSTALL_LIBTARGETS = install-static
|
||||
+@IF_STATIC@UNINSTALL_LIBTARGETS = uninstall-static
|
||||
+@IF_SHARED@SHLIBTARGETS = $(LIBNETTLE_FORLINK) @IF_HOGWEED@ $(LIBHOGWEED_FORLINK)
|
||||
+@IF_SHARED@INSTALL_SHLIBTARGETS = install-shared-nettle @IF_HOGWEED@ install-shared-hogweed
|
||||
+@IF_SHARED@UNINSTALL_SHLIBTARGETS = uninstall-shared
|
||||
|
||||
getopt_SOURCES = getopt.c getopt1.c
|
||||
getopt_TARGETS = $(getopt_SOURCES:.c=.$(OBJEXT))
|
||||
@@ -32,7 +36,7 @@ internal_TARGETS = $(internal_SOURCES:.c=.$(OBJEXT))
|
||||
TARGETS = aesdata$(EXEEXT) desdata$(EXEEXT) twofishdata$(EXEEXT) \
|
||||
shadata$(EXEEXT) gcmdata$(EXEEXT) \
|
||||
$(getopt_TARGETS) $(internal_TARGETS) \
|
||||
- $(LIBTARGETS) @IF_SHARED@ $(SHLIBTARGETS)
|
||||
+ $(LIBTARGETS) $(SHLIBTARGETS)
|
||||
IMPLICIT_TARGETS = @IF_DLL@ $(LIBNETTLE_FILE) $(LIBHOGWEED_FILE)
|
||||
|
||||
DOCTARGETS = nettle.info nettle.html nettle.pdf
|
||||
@@ -302,8 +306,8 @@ hogweed.pc: hogweed.pc.in config.status
|
||||
./config.status $@
|
||||
|
||||
# Installation
|
||||
-install-here: install-info install-headers install-static install-pkgconfig \
|
||||
- @IF_SHARED@ install-shared-nettle @IF_HOGWEED@ install-shared-hogweed
|
||||
+install-here: install-info install-headers install-pkgconfig \
|
||||
+ $(INSTALL_LIBTARGETS) $(INSTALL_SHLIBTARGETS)
|
||||
|
||||
install-static: $(LIBTARGETS)
|
||||
$(MKDIR_P) $(DESTDIR)$(libdir)
|
||||
@@ -369,8 +373,8 @@ install-pkgconfig: $(PKGCONFIG_FILES)
|
||||
done
|
||||
|
||||
# Uninstall
|
||||
-uninstall-here: uninstall-info uninstall-headers uninstall-static \
|
||||
- uninstall-pkgconfig @IF_SHARED@ uninstall-shared
|
||||
+uninstall-here: uninstall-info uninstall-headers uninstall-pkgconfig \
|
||||
+ $(UNINSTALL_LIBTARGETS) $(UNINSTALL_SHLIBTARGETS)
|
||||
|
||||
uninstall-static:
|
||||
for f in $(LIBTARGETS) ; do \
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 6bf2b8b..994ee75 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -43,6 +43,10 @@ AC_ARG_ENABLE(assembler,
|
||||
AC_HELP_STRING([--disable-assembler],[Disable assembler code]),,
|
||||
[enable_assembler=yes])
|
||||
|
||||
+AC_ARG_ENABLE(static,
|
||||
+ AC_HELP_STRING([--disable-static], [Do not build any static library]),,
|
||||
+ [enable_static=yes])
|
||||
+
|
||||
AC_ARG_ENABLE(shared,
|
||||
AC_HELP_STRING([--disable-shared], [Do not build any shared library]),,
|
||||
[enable_shared=yes])
|
||||
@@ -566,6 +570,12 @@ else
|
||||
IF_HOGWEED='#'
|
||||
fi
|
||||
|
||||
+if test "x$enable_static" = xyes ; then
|
||||
+ IF_STATIC=''
|
||||
+else
|
||||
+ IF_STATIC='#'
|
||||
+fi
|
||||
+
|
||||
if test "x$enable_shared" = xyes ; then
|
||||
IF_SHARED=''
|
||||
else
|
||||
@@ -573,6 +583,7 @@ else
|
||||
fi
|
||||
|
||||
AC_SUBST(IF_HOGWEED)
|
||||
+AC_SUBST(IF_STATIC)
|
||||
AC_SUBST(IF_SHARED)
|
||||
AC_SUBST(IF_DLL)
|
||||
|
||||
@@ -654,6 +665,7 @@ AC_MSG_NOTICE([summary of build options:
|
||||
Install prefix: ${prefix}
|
||||
Library directory: ${libdir}
|
||||
Compiler: ${CC}
|
||||
+ Static libraries: ${enable_static}
|
||||
Shared libraries: ${enable_shared}
|
||||
Public key crypto: ${enable_public_key}
|
||||
])
|
||||
--
|
||||
1.7.8.6
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/nettle-2.5-r1.ebuild,v 1.2 2012/12/14 22:35:13 alonbl Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Low-level cryptographic library"
|
||||
HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/"
|
||||
SRC_URI="http://www.lysator.liu.se/~nisse/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( LGPL-3 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="static-libs +gmp"
|
||||
|
||||
DEPEND="gmp? ( dev-libs/gmp )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "/CFLAGS=/s: -ggdb3::" -i configure.ac || die
|
||||
epatch "${FILESDIR}"/${PN}-2.5-missing-libm-link.patch
|
||||
sed -i -e 's/solaris\*)/sunldsolaris*)/' configure.ac || die
|
||||
epatch "${FILESDIR}/${P}-static-libs.patch"
|
||||
epatch "${FILESDIR}/${P}-build-ar.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --disable-openssl bug #427526
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable gmp public-key) \
|
||||
--disable-openssl
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue