parent
f1b9502d81
commit
5134360aed
@ -1,2 +1,3 @@
|
||||
DIST hashcat-0.39.7z 716387 SHA256 9d86cb175030de5b5872077028456f944c18e94749fc79cb63fb2f74106bed4e SHA512 bc7058bc13cfab52d9e3ec842180bfcf3bc17628d74c79806ae0f741169960dbac97c57339ff06ada1bc898dcd1adbf3a7efd8bfbc8a83ed614d50d3d4b97e17 WHIRLPOOL dae6f8421ddf617baa17122e20a4840d67fb913b8b3fe5caf635606e37c6d3e33dc37044ad90df641fd97853d579cbaa3cf7fd6cf6f67e61efe3f7f4acedd95b
|
||||
DIST hashcat-0.40.7z 785935 SHA256 3b587185a3957f7f3e5dfe58a340d0b65bd1ee9d71a6ae5d97009b5bc21150ae SHA512 0c68877111cc3633eea332a992ee4d897fdf7875821668faaf2149d91ce15d0c973d8db83ae407051f530a97a8835338b7acda1c9577e762cef7e6e51c519751 WHIRLPOOL 9f0fed3e1e7b06338ba1a73b19fd54fe53fc9a75aad05d4909d3a2a80de941d6910d30215bb52ae6b6c52f9c3c71a07c523655512b7d7dc5aa5b8076c2131919
|
||||
DIST hashcat-0.41.7z 1013298 SHA256 b0f2f086d30b43bad8d5925e5d7b1758c10afe7a38d963281931dda1a109b8e3 SHA512 414cf3b90699b361050c61280df51f891393831aba2640b3af3e01902562ad720e6e598a04e4e55fa1d81bd05c48f9fc14938ad03eebc96ea6cc5d69b1ada416 WHIRLPOOL 76d3e9126b86477fbb1a194960b917983e8252e90d9481088ff602433ef7bf195c830bac01e68545951dbb7b6a21c834f5d242a98e9598f0ae3a2567f24270b4
|
||||
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/hashcat-bin-0.41.ebuild,v 1.1 2012/09/26 02:53:50 zerochaos Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_P="hashcat-${PV}"
|
||||
|
||||
inherit eutils pax-utils
|
||||
DESCRIPTION="An multi-threaded multihash cracker"
|
||||
HOMEPAGE="http://hashcat.net/hashcat/"
|
||||
|
||||
SRC_URI="http://hashcat.net/files/${MY_P}.7z"
|
||||
|
||||
#license applies to this version per http://hashcat.net/forum/thread-1348.html
|
||||
LICENSE="hashcat"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~amd64-linux ~x64-macos ~x86 ~x86-linux"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/p7zip"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="opt/${PN}/hashcat-cli*.bin
|
||||
opt/${PN}/hashcat-cli64.app"
|
||||
|
||||
src_install() {
|
||||
dodoc docs/*
|
||||
rm -r *.exe docs || die
|
||||
use x86 || { rm hashcat-cli32.bin || die; }
|
||||
use amd64 || { rm hashcat-cli64.bin || die; }
|
||||
use x64-macos || { rm hashcat-cli64.app || die; }
|
||||
|
||||
#I assume this is needed but I didn't check
|
||||
pax-mark m hashcat-cli*.bin
|
||||
|
||||
insinto /opt/${PN}
|
||||
doins -r "${S}"/*
|
||||
|
||||
dodir /opt/bin
|
||||
if [ -f "${ED}"/opt/${PN}/hashcat-cli32.bin ]
|
||||
then
|
||||
fperms +x /opt/${PN}/hashcat-cli32.bin
|
||||
cat <<-EOF > "${ED}"/opt/bin/hashcat-cli32.bin
|
||||
#! /bin/sh
|
||||
cd "${EPREFIX}"/opt/${PN}
|
||||
echo "Warning: hashcat-cli32.bin is running from ${EPREFIX}/opt/${PN} so be careful of relative paths."
|
||||
exec ./hashcat-cli32.bin \$@
|
||||
EOF
|
||||
fperms +x /opt/bin/hashcat-cli32.bin
|
||||
fi
|
||||
if [ -f "${ED}"/opt/${PN}/hashcat-cli64.bin ]
|
||||
then
|
||||
fperms +x /opt/${PN}/hashcat-cli64.bin
|
||||
cat <<-EOF > "${ED}"/opt/bin/hashcat-cli64.bin
|
||||
#! /bin/sh
|
||||
cd "${EPREFIX}"/opt/${PN}
|
||||
echo "Warning: hashcat-cli64.bin is running from ${EPREFIX}/opt/${PN} so be careful of relative paths."
|
||||
exec ./hashcat-cli64.bin \$@
|
||||
EOF
|
||||
fperms +x /opt/bin/hashcat-cli64.bin
|
||||
fi
|
||||
if [ -f "${ED}"/opt/${PN}/hashcat-cli64.app ]
|
||||
then
|
||||
fperms +x /opt/${PN}/hashcat-cli64.app
|
||||
cat <<-EOF > "${ED}"/opt/bin/hashcat-cli64.app
|
||||
#! /bin/sh
|
||||
cd "${EPREFIX}"/opt/${PN}
|
||||
echo "Warning: hashcat-cli64.app is running from ${EPREFIX}/opt/${PN} so be careful of relative paths."
|
||||
exec ./hashcat-cli64.app \$@
|
||||
EOF
|
||||
fperms +x /opt/bin/hashcat-cli64.app
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST mpg123-el-1.55.tar.bz2 33925 SHA256 c388bf8e93b772c90126b905224c43cfc2e709be503e3508b684f05750d19499 SHA512 49737d9eab292599f446d87ace8155be0227fc2f18910e3d184d238f323b40218630a91cef2438dd0e5453a289f32f4fe9cff3f884a7e20cc63dd4668cb48c7f WHIRLPOOL 5b067cdc810c843f693cfd1445e9ddaf57dc19cf0ad7440e23482af5146da3aa008cdafb4828a2191153551d81e3e885d924b119b107c2d50c712d2930c65d0b
|
||||
DIST mpg123-el-1.58.tar.bz2 34097 SHA256 efdd491329ba56096ad971bd5c2e2ceeea296fe8e26340d2370ae63bcdc33606 SHA512 53a67eb219acbeefeb8360a9d43279d2bb3efa48fa5df3787f2b7fad4f6b49402f319925bac3fc17ee1cad0dcbe38494c8162d4eb5e08261b2e505b40a66a987 WHIRLPOOL 83c8d660fd18d3faefff106c62127c0487c47824f9b53f157c27b127cd1dd624dad445217b99e5e3183ab02bf13fef3abdd077451ec8ce934c188fc356522181
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/mpg123-el/mpg123-el-1.58.ebuild,v 1.1 2012/09/25 21:18:36 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit elisp toolchain-funcs
|
||||
|
||||
DESCRIPTION="Emacs front-end to mpg123 audio player and OggVorbis audio player"
|
||||
HOMEPAGE="http://www.gentei.org/~yuuji/software/mpg123el/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="mpg123-el"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="vorbis"
|
||||
|
||||
RDEPEND="media-sound/mpg123
|
||||
media-sound/alsa-utils
|
||||
vorbis? ( media-sound/vorbis-tools )"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s/\(mainloop:\)/\1 ;/" tagput.c || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o tagput tagput.c || die
|
||||
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o id3put id3put.c || die
|
||||
elisp-compile *.el || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin tagput id3put
|
||||
elisp-install ${PN} *.el *.elc || die
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
|
||||
}
|
@ -1,2 +1,4 @@
|
||||
DIST realpath_1.16.tar.gz 17420 SHA256 b42b4c17a29d1cca933f42c463771d4162f35a731e801dae1312b65fc4d702d8 SHA512 5c82547d53a920636bd9f7e6e6da54c0271d7de239924aa55654ef12ffc1aabb06ea5fa8f518d8a27244c73827c9f5e03c30b0adf0137363ed8e851996c0eb37 WHIRLPOOL 8fba6d6e02a14fb2b0b2d59aab0bb1f8c92437f53bf6c5cae9c5c5e1ada263b516e0e76891c508b4808d6dabfca43dccb4398a20ca45d71159cf6d986b4f932c
|
||||
DIST realpath_1.16_i386.deb 16114 SHA256 596a20716bf0cc1fc036b0df0ff793c27dde24522fcd10edb04e47c3bc892a97 SHA512 c1f3ed8bd4635b0b18c50a8d22e0b11e9513b33f32d2c59d9cab813830544faace775f20164c8611fe4b011b771d30c925a558151ab8d01da91e8e44225e0c17 WHIRLPOOL f6294289ee92fa20ea84558b7a1700defd473d066f53b4c7d51ebc767e84ad3331cbd699090c5647982282f41c6491554cd3358cb913b8262f717151bcf958eb
|
||||
DIST realpath_1.17.tar.gz 17800 SHA256 214962d9c6e5a0a446d9cf3368bd1ab6cf2c209fbce1fe52e852763e70da984b SHA512 d4f8105e9256b140918dfa400eaac07bec9c29bced7284ab2a3a96282b13b59dca32ab0af38836dfe89dd4e3bf8b038ef4cf61a96d19951f46ac13264ceeec96 WHIRLPOOL a0b96eb70e5aa27fd76d1f4635de950c1adcac8ce3b2a9414fcd54df5df2b01818f3641b3fc049650a05373ffb45dad2a918bfe949fb057592338d9320b9f0a5
|
||||
DIST realpath_1.17_i386.deb 16372 SHA256 07f47353d2552aec26c679c32b2335302cd1fe54e5c1a290ec4b708fd1b0d104 SHA512 15704a27f3f140c4d69411bfd9c319e3205e7b70cccefdc5bec94ad10d6b6c6ad948c2fa51cf2ed69c8884928ba6dcb83a865185f3b010dc6eb343c2125c2118 WHIRLPOOL abf52c219d3b4f8a186bec4549d9e50f933924ea4676298b12c8da3373e3eb82dac301729153cb8ea427d5321ce4500c2872d55c9c83602abaf04392a1a8bbe1
|
||||
|
@ -0,0 +1,43 @@
|
||||
--- a/common.mk
|
||||
+++ b/common.mk
|
||||
@@ -33,16 +33,9 @@
|
||||
applicationsdir := $(prefix)/share/applications
|
||||
|
||||
PERL := /usr/bin/perl
|
||||
-CC := gcc
|
||||
-CFLAGS += $(CPPFLAGS) -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Werror -g -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"'
|
||||
-LIBS :=
|
||||
-
|
||||
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
- CFLAGS += -O0
|
||||
-else
|
||||
- CFLAGS += -O2
|
||||
-endif
|
||||
-
|
||||
+CC ?= gcc
|
||||
+CFLAGS += $(CPPFLAGS) -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"'
|
||||
+LIBS +=
|
||||
|
||||
# determine our version number
|
||||
ifndef VERSION
|
||||
@@ -58,9 +51,6 @@
|
||||
unexport CDPATH ENV
|
||||
|
||||
ifdef DESTDIR
|
||||
- ifneq ($(DESTDIR),$(abspath $(DESTDIR)))
|
||||
- $(error DESTDIR "$(DESTDIR)" is not an absolute path)
|
||||
- endif
|
||||
override ddirshort := DESTDIR
|
||||
export ddirshort
|
||||
endif
|
||||
@@ -108,7 +99,9 @@
|
||||
esac; fi;
|
||||
endef
|
||||
else
|
||||
- msg := :
|
||||
+ define msg
|
||||
+ :
|
||||
+ endef
|
||||
endif
|
||||
|
||||
msgprefix := *$(subst * ,*,$(wordlist 1,$(MAKELEVEL),* * * * * * * * * * * * * * * * * *))
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/realpath/realpath-1.17.ebuild,v 1.1 2012/09/26 01:45:23 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils toolchain-funcs flag-o-matic multilib prefix
|
||||
|
||||
DESCRIPTION="Return the canonicalized absolute pathname"
|
||||
HOMEPAGE="http://packages.debian.org/unstable/utils/realpath"
|
||||
SRC_URI="
|
||||
mirror://debian/pool/main/r/${PN}/${PN}_${PV}.tar.gz
|
||||
nls? ( mirror://debian/pool/main/r/${PN}/${PN}_${PV}_i386.deb )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="!sys-freebsd/freebsd-bin
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
x86-interix? ( dev-libs/gnulib )
|
||||
elibc_mintlib? ( virtual/libiconv )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${PN}_${PV}.tar.gz
|
||||
|
||||
if use nls; then
|
||||
# Unpack the .deb file, in order to get the preprocessed man page
|
||||
# translations. This way we avoid a dependency on app-text/po4a.
|
||||
mkdir deb
|
||||
cd deb
|
||||
unpack ${PN}_${PV}_i386.deb
|
||||
unpack ./data.tar.gz
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use nls || epatch "${FILESDIR}"/${P}-nonls.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.17-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.14-no-po4a.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.15-prefix.patch
|
||||
eprefixify common.mk
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
use nls && use !elibc_glibc && append-libs -lintl
|
||||
[[ ${CHOST} == *-mint* ]] && append-libs "-liconv"
|
||||
if [[ ${CHOST} == *-irix* || ${CHOST} == *-interix[35]* ]] ; then
|
||||
append-flags -I"${EPREFIX}"/usr/$(get_libdir)/gnulib/include
|
||||
append-ldflags -L"${EPREFIX}"/usr/$(get_libdir)/gnulib/$(get_libdir)
|
||||
append-libs -lgnu
|
||||
fi
|
||||
|
||||
local subdir
|
||||
for subdir in src man $(usex nls po ''); do
|
||||
emake MAKE_VERBOSE=yes VERSION="${PV}" -C ${subdir}
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake VERSION="${PV}" SUBDIRS="src man $(usex nls po '')" \
|
||||
DESTDIR="${D}" install
|
||||
newdoc debian/changelog ChangeLog.debian
|
||||
|
||||
if use nls; then
|
||||
local dir
|
||||
for dir in "${WORKDIR}"/deb/usr/share/man/*; do
|
||||
[ -f "${dir}"/man1/realpath.1 ] || continue
|
||||
newman "${dir}"/man1/realpath.1 realpath.${dir##*/}.1
|
||||
done
|
||||
fi
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
From: Ben Kohler
|
||||
Date: 2012-08-13 19:59:01 UTC
|
||||
Bug: https://bugs.gentoo.org/show_bug.cgi?id=431278
|
||||
|
||||
remove distutils fallback which silently fails resulting
|
||||
in a broken installation
|
||||
|
||||
this patch enforces a real failure in case of broken setuptools
|
||||
|
||||
--- Babel-0.9.6/setup.py
|
||||
+++ Babel-0.9.6/setup.py
|
||||
@@ -16,10 +16,7 @@
|
||||
import doctest
|
||||
from glob import glob
|
||||
import os
|
||||
-try:
|
||||
- from setuptools import setup
|
||||
-except ImportError:
|
||||
- from distutils.core import setup
|
||||
+from setuptools import setup
|
||||
import sys
|
||||
|
||||
sys.path.append(os.path.join('doc', 'common'))
|
@ -0,0 +1,4 @@
|
||||
This program is Copyright (C) 1986-2002 by Jonathan Payne. JOVE is
|
||||
provided by Jonathan and Jovehacks without charge and without
|
||||
warranty. You may copy, modify, and/or distribute JOVE, provided that
|
||||
this notice is included in all the source files and documentation.
|
@ -0,0 +1,4 @@
|
||||
This program is distributed as a free software. You can
|
||||
use/copy/modify/redistribute this software freely but with NO warranty
|
||||
to anything as a result of using this software. Adopting code from
|
||||
this program is also free. But I would not do contract act.
|
@ -0,0 +1,15 @@
|
||||
This program is free software and comes with absolutely NO
|
||||
WARRANTY. The author is not responsible for any possible
|
||||
defects caused by this software. You can freely modify this
|
||||
program for your convenience. But if you want to publish
|
||||
modified program, please tell me before announcement. Take it
|
||||
easy to write me comments and bug-reports.
|
||||
yuuji@gentei.org
|
||||
|
||||
このプログラムはフリーソフトウェアとして配布します。このプログラ
|
||||
ムの利用によって生じたいかなる結果に対しても作者は責任を負いませ
|
||||
ん。コメントやバグレポートはおおいに歓迎しますので御気軽に御連絡
|
||||
ください。またプログラムに対する個人的な修正は自由にして頂いて構
|
||||
いませんが、それを公開したい場合は私まで御連絡ください。連絡は以
|
||||
下のアドレスまでお願いします(2011/1現在)。
|
||||
yuuji@gentei.org
|
@ -1 +1 @@
|
||||
Tue, 25 Sep 2012 20:36:58 +0000
|
||||
Wed, 26 Sep 2012 05:36:58 +0000
|
||||
|
@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201209-11">
|
||||
<title>Opera: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in Opera, the worst of
|
||||
which may allow remote execution of arbitrary code.
|
||||
</synopsis>
|
||||
<product type="ebuild">opera</product>
|
||||
<announced>September 25, 2012</announced>
|
||||
<revised>September 25, 2012: 1</revised>
|
||||
<bug>429478</bug>
|
||||
<bug>434584</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="www-client/opera" auto="yes" arch="*">
|
||||
<unaffected range="ge">12.01.1532</unaffected>
|
||||
<vulnerable range="lt">12.01.1532</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>Opera is a fast web browser that is available free of charge.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in Opera. Please review
|
||||
the CVE identifiers and Opera Release Notes referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A remote attacker could entice a user to open a specially crafted web
|
||||
page using Opera, possibly resulting in execution of arbitrary code with
|
||||
the privileges of the process or a Denial of Service condition.
|
||||
Furthermore, a remote attacker may be able to trick a user into
|
||||
downloading and executing files, conduct Cross-Site Scripting (XSS)
|
||||
attacks, spoof the address bar, or have other unspecified impact.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All Opera users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=www-client/opera-12.01.1532"
|
||||
</code>
|
||||
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4010">CVE-2012-4010</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4142">CVE-2012-4142</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4143">CVE-2012-4143</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4144">CVE-2012-4144</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4145">CVE-2012-4145</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4146">CVE-2012-4146</uri>
|
||||
<uri link="http://www.opera.com/docs/changelogs/unix/1201/">Opera 12.01 for
|
||||
UNIX changelog
|
||||
</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Fri, 03 Aug 2012 11:42:44 +0000">ackle</metadata>
|
||||
<metadata tag="submitter" timestamp="Tue, 25 Sep 2012 21:25:23 +0000">ackle</metadata>
|
||||
</glsa>
|
@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201209-12">
|
||||
<title>Libtasn1: Denial of Service</title>
|
||||
<synopsis>A vulnerability in Libtasn1 might cause a Denial of Service
|
||||
condition.
|
||||
</synopsis>
|
||||
<product type="ebuild">libtasn1</product>
|
||||
<announced>September 25, 2012</announced>
|
||||
<revised>September 25, 2012: 1</revised>
|
||||
<bug>409031</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="dev-libs/libtasn1" auto="yes" arch="*">
|
||||
<unaffected range="ge">2.12</unaffected>
|
||||
<vulnerable range="lt">2.12</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>Libtasn1 is a library used to parse ASN.1 (Abstract Syntax Notation One)
|
||||
objects, and perform DER (Distinguished Encoding Rules) decoding.
|
||||
</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Libtasn1 does not properly handle length fields when performing DER
|
||||
decoding.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A remote attacker could entice a user to open a specially crafted
|
||||
DER-encoded object in an application linked against Libtasn1, possibly
|
||||
resulting in Denial of Service.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All Libtasn1 users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=dev-libs/libtasn1-2.12"
|
||||
</code>
|
||||
|
||||
<p>Packages which depend on this library may need to be recompiled. Tools
|
||||
such as revdep-rebuild may assist in identifying some of these packages.
|
||||
</p>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-1569">CVE-2012-1569</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Tue, 14 Aug 2012 16:07:38 +0000">
|
||||
keytoaster
|
||||
</metadata>
|
||||
<metadata tag="submitter" timestamp="Tue, 25 Sep 2012 21:25:29 +0000">ackle</metadata>
|
||||
</glsa>
|
@ -1 +1 @@
|
||||
Tue, 25 Sep 2012 20:36:58 +0000
|
||||
Wed, 26 Sep 2012 05:36:58 +0000
|
||||
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=install
|
||||
DEPEND=app-arch/p7zip
|
||||
DESCRIPTION=An multi-threaded multihash cracker
|
||||
EAPI=4
|
||||
HOMEPAGE=http://hashcat.net/hashcat/
|
||||
KEYWORDS=-* ~amd64 ~amd64-linux ~x64-macos ~x86 ~x86-linux
|
||||
LICENSE=hashcat
|
||||
RESTRICT=strip
|
||||
SLOT=0
|
||||
SRC_URI=http://hashcat.net/files/hashcat-0.41.7z
|
||||
_eclasses_=eutils 6e25eb368f2a449bd6f5f8b55eadba30 multilib c2b85b5c63a44798c1e442147ac14c5c pax-utils 0ace932c4045349c7fc1af0fe7091acf toolchain-funcs 53a27e9e8acf42332c82a7838d84773f user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=7bc5d9d6cd8af05be9de1c98c1c7849a
|
@ -1,12 +1,13 @@
|
||||
DEFINED_PHASES=compile install unpack
|
||||
DEFINED_PHASES=compile install prepare
|
||||
DEPEND=sys-libs/ncurses
|
||||
DESCRIPTION=Jonathan's Own Version of Emacs - a light emacs-like editor without LISP bindings
|
||||
EAPI=4
|
||||
HOMEPAGE=ftp://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/
|
||||
IUSE=doc
|
||||
KEYWORDS=amd64 ppc x86
|
||||
LICENSE=as-is
|
||||
LICENSE=JOVE
|
||||
RDEPEND=sys-libs/ncurses
|
||||
SLOT=0
|
||||
SRC_URI=ftp://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/jove4.16.0.73.tgz
|
||||
_eclasses_=eutils 6e25eb368f2a449bd6f5f8b55eadba30 multilib c2b85b5c63a44798c1e442147ac14c5c toolchain-funcs 53a27e9e8acf42332c82a7838d84773f user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=60c55ce1c8e8b22d592c2619afc7c01b
|
||||
_md5_=a26b153698c6cf32cabe82fb3df5bf03
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm prepare setup unpack
|
||||
DEPEND=>=virtual/emacs-21
|
||||
DESCRIPTION=Emacs front-end to mpg123 audio player and OggVorbis audio player
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.gentei.org/~yuuji/software/mpg123el/
|
||||
IUSE=vorbis
|
||||
KEYWORDS=~amd64 ~ppc ~x86
|
||||
LICENSE=mpg123-el
|
||||
RDEPEND=media-sound/mpg123 media-sound/alsa-utils vorbis? ( media-sound/vorbis-tools ) >=virtual/emacs-21
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gentoo/mpg123-el-1.58.tar.bz2
|
||||
_eclasses_=elisp c1d790125c94e2bfd77f359988970980 elisp-common cdb887d0e278ea6e82ea2a5d4792c52a eutils 6e25eb368f2a449bd6f5f8b55eadba30 multilib c2b85b5c63a44798c1e442147ac14c5c toolchain-funcs 53a27e9e8acf42332c82a7838d84773f user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=889a24dd20c33bc4d931607a5aaeeab7
|
@ -1,12 +1,13 @@
|
||||
DEFINED_PHASES=compile install postinst postrm setup unpack
|
||||
DEFINED_PHASES=compile configure install postinst postrm prepare setup unpack
|
||||
DEPEND=>=virtual/emacs-21
|
||||
DESCRIPTION=Yet Another TeX mode for Emacs
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.yatex.org/
|
||||
IUSE=linguas_ja
|
||||
KEYWORDS=~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86
|
||||
LICENSE=as-is
|
||||
LICENSE=YaTeX
|
||||
RDEPEND=>=virtual/emacs-21
|
||||
SLOT=0
|
||||
SRC_URI=http://www.yatex.org/yatex1.76.tar.gz
|
||||
_eclasses_=elisp c1d790125c94e2bfd77f359988970980 elisp-common cdb887d0e278ea6e82ea2a5d4792c52a eutils 6e25eb368f2a449bd6f5f8b55eadba30 multilib c2b85b5c63a44798c1e442147ac14c5c toolchain-funcs 53a27e9e8acf42332c82a7838d84773f user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=2cac88f12272d6f7ec285329dfb23247
|
||||
_md5_=96e42013067a7aee775c20065d6bc4d5
|
||||
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=compile install postinst unpack
|
||||
DEPEND=>=app-i18n/scim-1.2 || ( >=app-i18n/anthy-7500 >=app-i18n/anthy-ss-7500 ) nls? ( virtual/libintl ) gtk? ( >=x11-libs/gtk+-2.8:2 ) nls? ( sys-devel/gettext ) virtual/pkgconfig
|
||||
DEFINED_PHASES=compile configure install postinst prepare
|
||||
DEPEND=>=app-i18n/scim-1.2[-gtk3] || ( >=app-i18n/anthy-7500 >=app-i18n/anthy-ss-7500 ) nls? ( virtual/libintl ) gtk? ( >=x11-libs/gtk+-2.8:2 ) nls? ( sys-devel/gettext ) virtual/pkgconfig
|
||||
DESCRIPTION=Japanese input method Anthy IMEngine for SCIM
|
||||
EAPI=1
|
||||
EAPI=2
|
||||
HOMEPAGE=http://scim-imengine.sourceforge.jp/index.cgi?cmd=view;name=SCIMAnthy
|
||||
IUSE=gtk nls
|
||||
KEYWORDS=~amd64 ~ppc ~x86 ~x86-fbsd
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=app-i18n/scim-1.2 || ( >=app-i18n/anthy-7500 >=app-i18n/anthy-ss-7500 ) nls? ( virtual/libintl ) gtk? ( >=x11-libs/gtk+-2.8:2 ) gtk? ( app-dicts/kasumi )
|
||||
RDEPEND=>=app-i18n/scim-1.2[-gtk3] || ( >=app-i18n/anthy-7500 >=app-i18n/anthy-ss-7500 ) nls? ( virtual/libintl ) gtk? ( >=x11-libs/gtk+-2.8:2 ) gtk? ( app-dicts/kasumi )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge.jp/scim-imengine/29660/scim-anthy-1.3.1.tar.gz
|
||||
_eclasses_=libtool 2b273eea1976cfaed3449345d94331ac multilib c2b85b5c63a44798c1e442147ac14c5c toolchain-funcs 53a27e9e8acf42332c82a7838d84773f
|
||||
_md5_=f3c7b76167296932841e2c6464813625
|
||||
_md5_=7331b158fe6269cd6134ccb7e225c253
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile install prepare unpack
|
||||
DEPEND=!sys-freebsd/freebsd-bin nls? ( virtual/libintl ) nls? ( sys-devel/gettext ) x86-interix? ( dev-libs/gnulib ) elibc_mintlib? ( virtual/libiconv )
|
||||
DESCRIPTION=Return the canonicalized absolute pathname
|
||||
EAPI=4
|
||||
HOMEPAGE=http://packages.debian.org/unstable/utils/realpath
|
||||
IUSE=nls
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=!sys-freebsd/freebsd-bin nls? ( virtual/libintl )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://debian/pool/main/r/realpath/realpath_1.17.tar.gz nls? ( mirror://debian/pool/main/r/realpath/realpath_1.17_i386.deb )
|
||||
_eclasses_=eutils 6e25eb368f2a449bd6f5f8b55eadba30 flag-o-matic 2c938a1fe61ea9899a2b97ea1e065f5f multilib c2b85b5c63a44798c1e442147ac14c5c prefix 21058c21ca48453d771df15500873ede toolchain-funcs 53a27e9e8acf42332c82a7838d84773f user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=74a123f2eea0103f7f073a62eb0329ae
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=>=dev-util/geany-1.22 dev-libs/libxml2:2 dev-libs/glib:2 debugger? ( x11-libs/vte:0 ) devhelp? ( dev-util/devhelp gnome-base/gconf:2 net-libs/webkit-gtk:2 x11-libs/gtk+:2 x11-libs/libwnck:1 ) enchant? ( app-text/enchant ) gpg? ( app-crypt/gpgme ) gtkspell? ( app-text/gtkspell:2 ) lua? ( dev-lang/lua ) multiterm? ( x11-libs/gtk+:2 x11-libs/vte:0 ) soup? ( net-libs/libsoup ) webkit? ( net-libs/webkit-gtk:2 x11-libs/gtk+:2 x11-libs/gdk-pixbuf:2 ) nls? ( sys-devel/gettext ) virtual/pkgconfig
|
||||
DEPEND=>=dev-util/geany-1.22 dev-libs/libxml2:2 dev-libs/glib:2 debugger? ( x11-libs/vte:0 ) devhelp? ( dev-util/devhelp gnome-base/gconf:2 net-libs/webkit-gtk:2 x11-libs/gtk+:2 x11-libs/libwnck:1 ) enchant? ( app-text/enchant ) gpg? ( app-crypt/gpgme ) gtkspell? ( app-text/gtkspell:2 ) lua? ( dev-lang/lua ) soup? ( net-libs/libsoup ) webkit? ( net-libs/webkit-gtk:2 x11-libs/gtk+:2 x11-libs/gdk-pixbuf:2 ) nls? ( sys-devel/gettext ) virtual/pkgconfig
|
||||
DESCRIPTION=A collection of different plugins for Geany
|
||||
EAPI=4
|
||||
HOMEPAGE=http://plugins.geany.org/geany-plugins
|
||||
IUSE=debugger devhelp enchant gpg gtkspell lua multiterm nls soup webkit
|
||||
IUSE=debugger devhelp enchant gpg gtkspell lua nls soup webkit
|
||||
KEYWORDS=amd64 ~ppc x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-util/geany-1.22 dev-libs/libxml2:2 dev-libs/glib:2 debugger? ( x11-libs/vte:0 ) devhelp? ( dev-util/devhelp gnome-base/gconf:2 net-libs/webkit-gtk:2 x11-libs/gtk+:2 x11-libs/libwnck:1 ) enchant? ( app-text/enchant ) gpg? ( app-crypt/gpgme ) gtkspell? ( app-text/gtkspell:2 ) lua? ( dev-lang/lua ) multiterm? ( x11-libs/gtk+:2 x11-libs/vte:0 ) soup? ( net-libs/libsoup ) webkit? ( net-libs/webkit-gtk:2 x11-libs/gtk+:2 x11-libs/gdk-pixbuf:2 )
|
||||
RDEPEND=>=dev-util/geany-1.22 dev-libs/libxml2:2 dev-libs/glib:2 debugger? ( x11-libs/vte:0 ) devhelp? ( dev-util/devhelp gnome-base/gconf:2 net-libs/webkit-gtk:2 x11-libs/gtk+:2 x11-libs/libwnck:1 ) enchant? ( app-text/enchant ) gpg? ( app-crypt/gpgme ) gtkspell? ( app-text/gtkspell:2 ) lua? ( dev-lang/lua ) soup? ( net-libs/libsoup ) webkit? ( net-libs/webkit-gtk:2 x11-libs/gtk+:2 x11-libs/gdk-pixbuf:2 )
|
||||
SLOT=0
|
||||
SRC_URI=http://plugins.geany.org/geany-plugins/geany-plugins-1.22.tar.gz
|
||||
_eclasses_=autotools f4bee52a728da1f76470f4b8d246c50f autotools-utils cfb1126efe81254030227216aa71f32c eutils 6e25eb368f2a449bd6f5f8b55eadba30 libtool 2b273eea1976cfaed3449345d94331ac multilib c2b85b5c63a44798c1e442147ac14c5c multiprocessing a2130e6fc4aa4c6a24b265ca0cbcc2b6 toolchain-funcs 53a27e9e8acf42332c82a7838d84773f user d0a4d0735a6c0183d707ca919bd72f28 versionator 6601b4c5b3f019a993db59a50e1854e4
|
||||
_md5_=bb9ee259f1c28d5cca3471af5cc11818
|
||||
_md5_=3b1c208d12f37460895940822764a344
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup test unpack
|
||||
DEPEND=>=kde-base/kdepimlibs-4.4:4[aqua=] dev-lang/swig >=net-libs/libkolabxml-0.7.0 php? ( dev-lang/php ) python? ( dev-lang/python ) >=sys-apps/sed-4 >=dev-util/cmake-2.8.4 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) dev-util/automoc virtual/pkgconfig !aqua? ( >=x11-libs/libXtst-1.1.0 x11-proto/xf86vidmodeproto ) dev-lang/perl >=x11-libs/qt-core-4.7.4:4[qt3support,ssl] >=x11-libs/qt-dbus-4.7.4:4 >=x11-libs/qt-gui-4.7.4:4[accessibility,dbus] >=x11-libs/qt-qt3support-4.7.4:4[accessibility] >=x11-libs/qt-script-4.7.4:4 >=x11-libs/qt-sql-4.7.4:4[qt3support] >=x11-libs/qt-svg-4.7.4:4 >=x11-libs/qt-test-4.7.4:4 >=x11-libs/qt-webkit-4.7.4:4 !aqua? ( x11-libs/libXext x11-libs/libXt x11-libs/libXxf86vm x11-libs/libXcomposite x11-libs/libxkbfile ) >=kde-base/kdelibs-4.4:4[aqua=]
|
||||
DESCRIPTION=Advanced Kolab Object Handling Library
|
||||
EAPI=4
|
||||
HOMEPAGE=kolab.org
|
||||
IUSE=php python test aqua
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=LGPL-2+ LGPL-2.1+ LGPL-3+
|
||||
RDEPEND=>=kde-base/kdepimlibs-4.4:4[aqua=] dev-lang/swig >=net-libs/libkolabxml-0.7.0 php? ( dev-lang/php ) python? ( dev-lang/python ) >=kde-base/oxygen-icons-4.4:4[aqua=] dev-lang/perl >=x11-libs/qt-core-4.7.4:4[qt3support,ssl] >=x11-libs/qt-dbus-4.7.4:4 >=x11-libs/qt-gui-4.7.4:4[accessibility,dbus] >=x11-libs/qt-qt3support-4.7.4:4[accessibility] >=x11-libs/qt-script-4.7.4:4 >=x11-libs/qt-sql-4.7.4:4[qt3support] >=x11-libs/qt-svg-4.7.4:4 >=x11-libs/qt-test-4.7.4:4 >=x11-libs/qt-webkit-4.7.4:4 !aqua? ( x11-libs/libXext x11-libs/libXt x11-libs/libXxf86vm x11-libs/libXcomposite x11-libs/libxkbfile ) >=kde-base/kdelibs-4.4:4[aqua=]
|
||||
RESTRICT=test
|
||||
SLOT=4
|
||||
SRC_URI=http://mirror.kolabsys.com/pub/releases/libkolab-0.3.2.tar.gz
|
||||
_eclasses_=base d40e074a6349af3ea5e937210630bdc1 cmake-utils 34090adebdb0654ba34383887dc85cd2 eutils 6e25eb368f2a449bd6f5f8b55eadba30 fdo-mime 0acfe1a88fd8751a1d5dc671168219fa flag-o-matic 2c938a1fe61ea9899a2b97ea1e065f5f gnome2-utils e0a2e141b421d38788b23422dfbe4f82 kde4-base 6e4e3fc3a36f43b71c84ad615e804a83 kde4-functions df82ee2da839042995eb204cf576da49 multilib c2b85b5c63a44798c1e442147ac14c5c toolchain-funcs 53a27e9e8acf42332c82a7838d84773f user d0a4d0735a6c0183d707ca919bd72f28 versionator 6601b4c5b3f019a993db59a50e1854e4 virtualx 0c41ff55e46b959d9457dde69e7a09d9
|
||||
_md5_=2a8fb2f7451d8deee8f6678d8c8d81bb
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare test unpack
|
||||
DEPEND=dev-cpp/xsd || ( >=dev-libs/boost-1.42.0 ( <dev-libs/boost-1.42.0 dev-libs/ossp-uuid ) ) dev-libs/xerces-c csharp? ( >=dev-lang/swig-2.0.7 dev-lang/mono ) java? ( >=dev-lang/swig-2.0.7 virtual/jre ) php? ( >=dev-lang/swig-2.0.7 dev-lang/php ) python? ( >=dev-lang/swig-2.0.7 dev-lang/python ) test? ( x11-libs/qt-test:4 ) >=dev-util/cmake-2.8.4 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
|
||||
DESCRIPTION=Kolab XML format schema definitions library
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.kolab.org
|
||||
IUSE=csharp java python php test
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=Apache-2.0 as-is LGPL-3+ public-domain
|
||||
RDEPEND=dev-cpp/xsd || ( >=dev-libs/boost-1.42.0 ( <dev-libs/boost-1.42.0 dev-libs/ossp-uuid ) ) dev-libs/xerces-c
|
||||
SLOT=4
|
||||
SRC_URI=http://mirror.kolabsys.com/pub/releases/libkolabxml-0.8.1.tar.gz
|
||||
_eclasses_=base d40e074a6349af3ea5e937210630bdc1 cmake-utils 34090adebdb0654ba34383887dc85cd2 eutils 6e25eb368f2a449bd6f5f8b55eadba30 flag-o-matic 2c938a1fe61ea9899a2b97ea1e065f5f multilib c2b85b5c63a44798c1e442147ac14c5c toolchain-funcs 53a27e9e8acf42332c82a7838d84773f user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=e610568d9e04aab2d845cb0722e70cb1
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare setup test
|
||||
DEPEND=>=sys-apps/dbus-1.4.10 >=sys-apps/kmod-5 >=sys-apps/util-linux-2.20 ~sys-fs/udev-190 sys-libs/libcap acl? ( sys-apps/acl ) audit? ( >=sys-process/audit-2 ) cryptsetup? ( >=sys-fs/cryptsetup-1.4.2 ) gcrypt? ( >=dev-libs/libgcrypt-1.4.5 ) lzma? ( app-arch/xz-utils ) pam? ( virtual/pam ) qrcode? ( media-gfx/qrencode ) selinux? ( sys-libs/libselinux ) tcpd? ( sys-apps/tcp-wrappers ) app-arch/xz-utils app-text/docbook-xsl-stylesheets dev-libs/libxslt dev-util/gperf dev-util/intltool sys-fs/quota >=sys-kernel/linux-headers-2.6.39
|
||||
DESCRIPTION=System and service manager for Linux
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.freedesktop.org/wiki/Software/systemd
|
||||
IUSE=acl audit cryptsetup gcrypt lzma pam qrcode selinux tcpd
|
||||
KEYWORDS=~amd64 ~arm ~x86
|
||||
LICENSE=GPL-2 LGPL-2.1 MIT
|
||||
RDEPEND=>=sys-apps/dbus-1.4.10 >=sys-apps/kmod-5 >=sys-apps/util-linux-2.20 ~sys-fs/udev-190 sys-libs/libcap acl? ( sys-apps/acl ) audit? ( >=sys-process/audit-2 ) cryptsetup? ( >=sys-fs/cryptsetup-1.4.2 ) gcrypt? ( >=dev-libs/libgcrypt-1.4.5 ) lzma? ( app-arch/xz-utils ) pam? ( virtual/pam ) qrcode? ( media-gfx/qrencode ) selinux? ( sys-libs/libselinux ) tcpd? ( sys-apps/tcp-wrappers ) sys-apps/hwids || ( >=sys-apps/util-linux-2.22 <sys-apps/sysvinit-2.88-r4 ) !<sys-libs/glibc-2.10 !~sys-fs/udev-187
|
||||
SLOT=0
|
||||
SRC_URI=http://www.freedesktop.org/software/systemd/systemd-190.tar.xz
|
||||
_eclasses_=autotools f4bee52a728da1f76470f4b8d246c50f autotools-utils cfb1126efe81254030227216aa71f32c bash-completion-r1 3480f8385cb9e31797e7b659e366e2d2 eutils 6e25eb368f2a449bd6f5f8b55eadba30 flag-o-matic 2c938a1fe61ea9899a2b97ea1e065f5f libtool 2b273eea1976cfaed3449345d94331ac linux-info 0b7adf68a2edb4e5a32b07bb6e68121c multilib c2b85b5c63a44798c1e442147ac14c5c multiprocessing a2130e6fc4aa4c6a24b265ca0cbcc2b6 pam 5c1a9ef4892062f9ec25c8ef7c1f1e52 systemd 552c9779ef210ba1c98f24b1e562addd toolchain-funcs 53a27e9e8acf42332c82a7838d84773f user d0a4d0735a6c0183d707ca919bd72f28 versionator 6601b4c5b3f019a993db59a50e1854e4
|
||||
_md5_=e0e92e79b61ccee5a7d1f9766b9bb7eb
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare setup
|
||||
DEPEND=acl? ( sys-apps/acl ) gudev? ( dev-libs/glib:2 ) introspection? ( >=dev-libs/gobject-introspection-1.31.1 ) selinux? ( sys-libs/libselinux ) >=sys-apps/kmod-5 >=sys-apps/util-linux-2.20 !<sys-libs/glibc-2.11 dev-util/gperf >=dev-util/intltool-0.40.0 virtual/pkgconfig virtual/os-headers !<sys-kernel/linux-headers-2.6.39 doc? ( dev-util/gtk-doc ) || ( >=sys-devel/automake-1.11.1:1.11 >=sys-devel/automake-1.12:1.12 ) >=sys-devel/autoconf-2.68 sys-devel/libtool
|
||||
DESCRIPTION=Linux dynamic and persistent device naming support (aka userspace devfs)
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.freedesktop.org/wiki/Software/systemd
|
||||
IUSE=acl doc gudev hwdb introspection keymap +openrc selinux static-libs
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
LICENSE=LGPL-2.1 MIT GPL-2
|
||||
RDEPEND=acl? ( sys-apps/acl ) gudev? ( dev-libs/glib:2 ) introspection? ( >=dev-libs/gobject-introspection-1.31.1 ) selinux? ( sys-libs/libselinux ) >=sys-apps/kmod-5 >=sys-apps/util-linux-2.20 !<sys-libs/glibc-2.11 hwdb? ( sys-apps/hwids ) openrc? ( >=sys-fs/udev-init-scripts-16 !<sys-apps/openrc-0.9.9 ) !sys-apps/coldplug !=sys-apps/systemd-188 !<sys-fs/lvm2-2.02.45 !sys-fs/device-mapper !<sys-fs/udev-init-scripts-16 !<sys-kernel/dracut-017-r1 !<sys-kernel/genkernel-3.4.25
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=http://www.freedesktop.org/software/systemd/systemd-192.tar.xz http://dev.gentoo.org/~williamh/dist/udev-192-patches-1.tar.bz2
|
||||
_eclasses_=autotools f4bee52a728da1f76470f4b8d246c50f eutils 6e25eb368f2a449bd6f5f8b55eadba30 libtool 2b273eea1976cfaed3449345d94331ac linux-info 0b7adf68a2edb4e5a32b07bb6e68121c multilib c2b85b5c63a44798c1e442147ac14c5c multiprocessing a2130e6fc4aa4c6a24b265ca0cbcc2b6 toolchain-funcs 53a27e9e8acf42332c82a7838d84773f user d0a4d0735a6c0183d707ca919bd72f28 versionator 6601b4c5b3f019a993db59a50e1854e4
|
||||
_md5_=d7b03241590674c7ada92f86fa811acf
|
@ -1 +1 @@
|
||||
Tue, 25 Sep 2012 20:37:00 +0000
|
||||
Wed, 26 Sep 2012 05:37:00 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue Sep 25 20:36:58 UTC 2012
|
||||
Wed Sep 26 05:36:58 UTC 2012
|
||||
|
@ -1 +1 @@
|
||||
Tue, 25 Sep 2012 21:00:01 +0000
|
||||
Wed, 26 Sep 2012 06:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1348605301 Tue Sep 25 20:35:01 2012 UTC
|
||||
1348637701 Wed Sep 26 05:35:01 2012 UTC
|
||||
|
@ -1 +1,2 @@
|
||||
DIST libkolab-0.2.0.tar.gz 98597 SHA256 ffbd3b350d8e9b8f596362259088dbd5b6ac2bcf16881be1cb287ba6c675b255 SHA512 52c070de331a505818cb89d1f5045fae00da45f36f65bafb47732ef3bb91919ce1eef9e7096d9d876844227f788590d23fa6c3c7d12a8d57188ba6143bbb06d9 WHIRLPOOL 508cf6d23862fb402ee9077a9c46f1fc36d7b6e6587db8a7155dc3b42a40037250bb6f5e3d02a2dd04a83263481d1bd4e3d3b214387423c5866a38fdba116042
|
||||
DIST libkolab-0.3.2.tar.gz 149649 SHA256 6e96fa0a1b103c74779818cbc7da2073a5d75e33f3ec19c4368bedea393d2d7b SHA512 18a8b2df97683d5b03430f91e9296459f94ad10ae1ba0c244b10a715481355f0a0a66d9d87288782885f10c3a637306486aa443b9bcaa27d9b620aec490f6244 WHIRLPOOL 5285a1426de086cc5e1957c91899f8b7d04417084692f382532813dd7ae757312ba1860dab351e377787e6c5878a6843bd8b1a9e678f688cab7ca3da2231eebf
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-libs/libkolab/libkolab-0.3.2.ebuild,v 1.1 2012/09/26 04:04:40 creffett Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Advanced Kolab Object Handling Library"
|
||||
HOMEPAGE="kolab.org"
|
||||
SRC_URI="http://mirror.kolabsys.com/pub/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2+ LGPL-2.1+ LGPL-3+"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="php python test"
|
||||
|
||||
#Tests fail as of 0.3.2
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep kdepimlibs)
|
||||
dev-lang/swig
|
||||
>=net-libs/libkolabxml-0.7.0
|
||||
php? ( dev-lang/php )
|
||||
python? ( dev-lang/python )
|
||||
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_with test BUILD_TESTS)
|
||||
$(cmake-utils_use python PYTHON_BINDINGS)
|
||||
$(cmake-utils_use php PHP_BINDINGS)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libkolabxml-0.6.0.tar.gz 106501 SHA256 7f2e6d8a189adbf735a3031b8673257f09460a9c4d3073fe09ee42b2f3f5680e SHA512 0a64d0668c8ed59cae20069b9c947d9b069ae13c01cc7a855f284c5480c902591c3d8cee5eff0d973eb8570474c6796bbae815bb97415187bba0a441ef2f5568 WHIRLPOOL 0af13ba5c984e6a77167a90bd2f1329d8001e8ffaebc91934996d2c86931851125ac35eafa5a400b4cc955912a23bebeaaf80c5e484f595e0b6f7ae3c2c2072a
|
||||
DIST libkolabxml-0.8.0.tar.gz 112735 SHA256 a901dc8c76051913495523d9e7701ff81ac4c984cdda0563008f11b4575834ae SHA512 57e0c64197fb89802412ade7d74738b63145565e9a70184d4779d0a365699bbf377c0c07b17271c9942775a2b570c0f1f8ca8805323ed6e959e666174deace41 WHIRLPOOL 102776f1e1d7fc2cadad6d23d0be7b90b06766ee14f8d664b00c1316fcbe90b4460d4e9b415a3278d818870e520ff629023b4435bb23763013d2481f70e32d36
|
||||
DIST libkolabxml-0.8.1.tar.gz 113707 SHA256 03ed6cdc89ec92c36427f6e30b020285b6e5256ce56f2486c8355f51b5b75180 SHA512 379e7fcf5082907abb84a7ae359c549dbdd98bf2c7c93a73142659fb55753eb6f78cc4e6bca1708aa7f0d768a0ffad172e24c297c9c5abaa4257815a959ea0e5 WHIRLPOOL 0267f2b00c9b9aed3e5efa2260d5a8d3e57d606e0ace5d715af418f98672af309ed6295e8e86b9b65433bcb2733e2b82ce67ff73d867356f089941c855a89b3a
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-libs/libkolabxml/libkolabxml-0.8.1.ebuild,v 1.1 2012/09/26 03:57:36 creffett Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Kolab XML format schema definitions library"
|
||||
HOMEPAGE="http://www.kolab.org"
|
||||
SRC_URI="http://mirror.kolabsys.com/pub/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 as-is LGPL-3+ public-domain"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="csharp java python php test"
|
||||
|
||||
RDEPEND="
|
||||
dev-cpp/xsd
|
||||
|| ( >=dev-libs/boost-1.42.0 ( <dev-libs/boost-1.42.0 dev-libs/ossp-uuid ) )
|
||||
dev-libs/xerces-c
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
csharp? ( >=dev-lang/swig-2.0.7 dev-lang/mono )
|
||||
java? ( >=dev-lang/swig-2.0.7 virtual/jre )
|
||||
php? ( >=dev-lang/swig-2.0.7 dev-lang/php )
|
||||
python? ( >=dev-lang/swig-2.0.7 dev-lang/python )
|
||||
test? ( x11-libs/qt-test:4 )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use csharp CSHARP_BINDINGS)
|
||||
$(cmake-utils_use java JAVA_BINDINGS)
|
||||
$(cmake-utils_use python PYTHON_BINDINGS)
|
||||
$(cmake-utils_use php PHP_BINDINGS)
|
||||
$(cmake-utils_use_build test TESTS)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST pciutils-3.1.10.tar.gz 345149 SHA256 7ca8201f806cbad31cb86bcbb2c2c99853cc05618b360eb58bde31a0f8d1f2a3 SHA512 2227ba3bbd1d5a02986b167010305286a9ad4d2781175291dd95a8f68a06f5508228e519bb34fdf92225cbd1334843d393ff1137bfc992403fd61896607353d5 WHIRLPOOL 7a4390b0da0c1b1df396076e05d7829fc3726199d2482abe61e59fa0e2e75c2de8f6019de57ea55aadf7001674a38d6666444e913e38af7ce76e8b1233645a27
|
||||
DIST pciutils-3.1.4.tar.gz 305747 SHA256 676b941ddaf912387092c6925597b14cef4f35f495bdbb229c1e5947151a1b20
|
||||
DIST pciutils-3.1.7.tar.gz 320603 SHA256 0f39818eabd793bb48d5b98ca52141d8247306a85876482c0075d0c95aeccea2
|
||||
DIST pciutils-3.1.8.tar.gz 376199 SHA256 15a7de19f23f95eeda2487bedc6b4c11eddea9c30bba35573775b4d46b7a46ca
|
||||
DIST pciutils-3.1.7.tar.gz 320603 SHA256 0f39818eabd793bb48d5b98ca52141d8247306a85876482c0075d0c95aeccea2 SHA512 af4e81ffab76ae258954d9a4f1dd91f63d1d604216383f412a78adc7ceb7f2038d64e9f6250c113fd3cb3d98f1de7bdd05dc81e87d2d98e28265a34e12a23567 WHIRLPOOL a574c993c6102291c86ddccfb72f51546446087ea0f75ffb6e19f5ab62830f0bfba785ecc76b9832682b4dae3544bbe8378e997021fa4f6b48e6434c152052fd
|
||||
DIST pciutils-3.1.8.tar.gz 376199 SHA256 15a7de19f23f95eeda2487bedc6b4c11eddea9c30bba35573775b4d46b7a46ca SHA512 ec81bad10d84fc7a906e78323a896d4014c014e7678b190775f56b4c88768a5423af5825e06c90e544b3f693f4a611310c82e6b9b5a44943f2a7b004f4640142 WHIRLPOOL b5b65fdab56c39af64d50cfe0378afb69e80ecb6fc697420297d1757ebc6793712330a0ce2997a807dbdd2d2b642e2010de0f733a7f889d68339fdeb8860c70e
|
||||
DIST pciutils-3.1.9.tar.gz 340215 SHA256 8ae7d320c50f02b015f5e2bb17a9f815cf201dae81b6bbd46b8a45552d00a178 SHA512 9e15ae5743bfbdaeb73d02c237d2632ee31f36be3efa5c26688473d2720157ca728384d98a06738eacab0d9a160641a22d53422d0a5d507d9779e0517e18bffb WHIRLPOOL b04f19d82065d166f0fcf47a69682fbeea94ee77f3fc771ede125f7d8c2e51cbf9a2d05ad0682814ee4bc6655567bff52a6e5a9b9ff9a6a5afdf2ee862213244
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha131.ebuild,v 1.2 2012/09/21 22:49:15 zmedico Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha133.ebuild,v 1.1 2012/09/26 04:31:38 zmedico Exp $
|
||||
|
||||
# Require EAPI 2 since we now require at least python-2.6 (for python 3
|
||||
# syntax support) which also requires EAPI 2.
|
@ -1,3 +1,2 @@
|
||||
DIST systemd-189.tar.xz 1371872 SHA256 fec0efd82c9f1bdff6cb9d9811c00830ed890dbe915e79c90ae306cdbd8c4529 SHA512 a275dc93ad68a95f6695cd4d5472d15c3a3a0439944ce54b5dc6bd14500755d769e708510877e5681b4906ef2b8eb0d67c3d77a161db717e6e9a43888c3b50af WHIRLPOOL cd3377da687f12e0a07cbf6fe74b362bbd4118905a7b2e3488170b9b0ca88238a0379df9b18e9cd506e6544311ae83cd26f493568d85b457a1a2469e06083713
|
||||
DIST systemd-190.tar.xz 1404812 SHA256 2fb2f894b8cd4aa87420517b55d938837111aa47b4a09ea8306f90be1f7277dc SHA512 e2ecca0c47a26a7a38368cea0fc7f835086fb2f73154185c6b5627cf72c75dfcfcbe3ccfb77fed5f2ce3da781be0d32d7b561f1d00a521bc3af42bb9d572159c WHIRLPOOL 710f08f10f8861bde548575604258abd3bae8b08822f99180e21089c61f3dff4e55bd61e9c1b8e2d24dc2955c20735d8b89b574ec9e0f69656b9ad2260653b5d
|
||||
DIST systemd-191.tar.xz 1401640 SHA256 2fa0a2b4a1eb855f4e1d7f4f1a1883cd43d68dc3534d130a1095293d1bfa1d64 SHA512 9d0636df307d37f95a77368a7392d40e15a16354c838c9415af700fbd86f0da6474f5750fe2d93018984169107943be2cb87bff4b5f432afba6956ee1bd4a2bd WHIRLPOOL eea13b258cb8762a7c650333974011c6319cf3c1664363fc027c64d67199f83f597729b22a130b0c0058a6b31eafcb363baa2c66f864b3a8dc3a0175de043c26
|
||||
|
@ -0,0 +1,162 @@
|
||||
From 963ddb917de3140308ee62fb642b2307a577a39e Mon Sep 17 00:00:00 2001
|
||||
From: Lennart Poettering <lennart@poettering.net>
|
||||
Date: Mon, 24 Sep 2012 23:22:19 +0200
|
||||
Subject: [PATCH] log: fix repeated invocation of vsnprintf()/vaprintf() in
|
||||
log_struct()
|
||||
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=55213
|
||||
---
|
||||
src/nspawn/nspawn.c | 6 ++++++
|
||||
src/shared/log.c | 22 ++++++++++++++++++++--
|
||||
src/shared/macro.h | 43 +++++++++++++++++++++++++++++++++++++++++++
|
||||
src/test/test-log.c | 7 +++++++
|
||||
4 files changed, 76 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
|
||||
index 959df4e..5cac32c 100644
|
||||
--- a/src/nspawn/nspawn.c
|
||||
+++ b/src/nspawn/nspawn.c
|
||||
@@ -1307,6 +1307,12 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
if (arg_user) {
|
||||
|
||||
+ /* Note that this resolves user names
|
||||
+ * inside the container, and hence
|
||||
+ * accesses the NSS modules from the
|
||||
+ * container and not the host. This is
|
||||
+ * a bit weird... */
|
||||
+
|
||||
if (get_user_creds((const char**)&arg_user, &uid, &gid, &home, NULL) < 0) {
|
||||
log_error("get_user_creds() failed: %m");
|
||||
goto child_fail;
|
||||
diff --git a/src/shared/log.c b/src/shared/log.c
|
||||
index b618458..6357868 100644
|
||||
--- a/src/shared/log.c
|
||||
+++ b/src/shared/log.c
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include <stddef.h>
|
||||
+#include <printf.h>
|
||||
|
||||
#include "log.h"
|
||||
#include "util.h"
|
||||
@@ -705,11 +706,23 @@ int log_struct_internal(
|
||||
va_start(ap, format);
|
||||
while (format && n + 1 < ELEMENTSOF(iovec)) {
|
||||
char *buf;
|
||||
+ va_list aq;
|
||||
|
||||
- if (vasprintf(&buf, format, ap) < 0) {
|
||||
+ /* We need to copy the va_list structure,
|
||||
+ * since vasprintf() leaves it afterwards at
|
||||
+ * an undefined location */
|
||||
+
|
||||
+ va_copy(aq, ap);
|
||||
+ if (vasprintf(&buf, format, aq) < 0) {
|
||||
+ va_end(aq);
|
||||
r = -ENOMEM;
|
||||
goto finish;
|
||||
}
|
||||
+ va_end(aq);
|
||||
+
|
||||
+ /* Now, jump enough ahead, so that we point to
|
||||
+ * the next format string */
|
||||
+ VA_FORMAT_ADVANCE(format, ap);
|
||||
|
||||
IOVEC_SET_STRING(iovec[n++], buf);
|
||||
|
||||
@@ -742,8 +755,11 @@ int log_struct_internal(
|
||||
|
||||
va_start(ap, format);
|
||||
while (format) {
|
||||
+ va_list aq;
|
||||
|
||||
- vsnprintf(buf, sizeof(buf), format, ap);
|
||||
+ va_copy(aq, ap);
|
||||
+ vsnprintf(buf, sizeof(buf), format, aq);
|
||||
+ va_end(aq);
|
||||
char_array_0(buf);
|
||||
|
||||
if (startswith(buf, "MESSAGE=")) {
|
||||
@@ -751,6 +767,8 @@ int log_struct_internal(
|
||||
break;
|
||||
}
|
||||
|
||||
+ VA_FORMAT_ADVANCE(format, ap);
|
||||
+
|
||||
format = va_arg(ap, char *);
|
||||
}
|
||||
va_end(ap);
|
||||
diff --git a/src/shared/macro.h b/src/shared/macro.h
|
||||
index c7ce7c8..0dd210a 100644
|
||||
--- a/src/shared/macro.h
|
||||
+++ b/src/shared/macro.h
|
||||
@@ -193,4 +193,47 @@ static inline size_t IOVEC_INCREMENT(struct iovec *i, unsigned n, size_t k) {
|
||||
#define _cleanup_closedir_ __attribute__((cleanup(closedirp)))
|
||||
#define _cleanup_umask_ __attribute__((cleanup(umaskp)))
|
||||
|
||||
+#define VA_FORMAT_ADVANCE(format, ap) do { \
|
||||
+ int _argtypes[64]; \
|
||||
+ size_t _i, _k; \
|
||||
+ _k = parse_printf_format((format), ELEMENTSOF(_argtypes), _argtypes); \
|
||||
+ for (_i = 0; _i < _k; _i++) { \
|
||||
+ if (_argtypes[_i] & PA_FLAG_PTR) { \
|
||||
+ (void) va_arg(ap, void*); \
|
||||
+ continue; \
|
||||
+ } \
|
||||
+ \
|
||||
+ switch (_argtypes[_i]) { \
|
||||
+ case PA_INT: \
|
||||
+ case PA_INT|PA_FLAG_SHORT: \
|
||||
+ case PA_CHAR: \
|
||||
+ (void) va_arg(ap, int); \
|
||||
+ break; \
|
||||
+ case PA_INT|PA_FLAG_LONG: \
|
||||
+ (void) va_arg(ap, long int); \
|
||||
+ break; \
|
||||
+ case PA_INT|PA_FLAG_LONG_LONG: \
|
||||
+ (void) va_arg(ap, long long int); \
|
||||
+ break; \
|
||||
+ case PA_WCHAR: \
|
||||
+ (void) va_arg(ap, wchar_t); \
|
||||
+ break; \
|
||||
+ case PA_WSTRING: \
|
||||
+ case PA_STRING: \
|
||||
+ case PA_POINTER: \
|
||||
+ (void) va_arg(ap, void*); \
|
||||
+ break; \
|
||||
+ case PA_FLOAT: \
|
||||
+ case PA_DOUBLE: \
|
||||
+ (void) va_arg(ap, double); \
|
||||
+ break; \
|
||||
+ case PA_DOUBLE|PA_FLAG_LONG_DOUBLE: \
|
||||
+ (void) va_arg(ap, long double); \
|
||||
+ break; \
|
||||
+ default: \
|
||||
+ assert_not_reached("Unknown format string argument."); \
|
||||
+ } \
|
||||
+ } \
|
||||
+} while(false)
|
||||
+
|
||||
#include "log.h"
|
||||
diff --git a/src/test/test-log.c b/src/test/test-log.c
|
||||
index cc924fa..8dc3d53 100644
|
||||
--- a/src/test/test-log.c
|
||||
+++ b/src/test/test-log.c
|
||||
@@ -42,5 +42,12 @@ int main(int argc, char* argv[]) {
|
||||
"SERVICE=foobar",
|
||||
NULL);
|
||||
|
||||
+ log_struct(LOG_INFO,
|
||||
+ "MESSAGE=Foobar PID=%lu", (unsigned long) getpid(),
|
||||
+ "FORMAT_STR_TEST=1=%i A=%c 2=%hi 3=%li 4=%lli 1=%p foo=%s 2.5=%g 3.5=%g 4.5=%Lg",
|
||||
+ (int) 1, 'A', (short) 2, (long int) 3, (long long int) 4, (void*) 1, "foo", (float) 2.5f, (double) 3.5, (long double) 4.5,
|
||||
+ "SUFFIX=GOT IT",
|
||||
+ NULL);
|
||||
+
|
||||
return 0;
|
||||
}
|
||||
--
|
||||
1.7.12
|
||||
|
@ -1,192 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-190.ebuild,v 1.1 2012/09/22 16:15:33 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools-utils bash-completion-r1 linux-info pam systemd user
|
||||
|
||||
DESCRIPTION="System and service manager for Linux"
|
||||
HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd"
|
||||
SRC_URI="http://www.freedesktop.org/software/systemd/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="acl audit cryptsetup gcrypt lzma pam qrcode selinux tcpd"
|
||||
|
||||
MINKV="2.6.39"
|
||||
|
||||
COMMON_DEPEND=">=sys-apps/dbus-1.4.10
|
||||
>=sys-apps/kmod-5
|
||||
>=sys-apps/util-linux-2.20
|
||||
~sys-fs/udev-190
|
||||
sys-libs/libcap
|
||||
acl? ( sys-apps/acl )
|
||||
audit? ( >=sys-process/audit-2 )
|
||||
cryptsetup? ( >=sys-fs/cryptsetup-1.4.2 )
|
||||
gcrypt? ( >=dev-libs/libgcrypt-1.4.5 )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
pam? ( virtual/pam )
|
||||
qrcode? ( media-gfx/qrencode )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
tcpd? ( sys-apps/tcp-wrappers )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-apps/hwids
|
||||
|| (
|
||||
>=sys-apps/util-linux-2.22
|
||||
<sys-apps/sysvinit-2.88-r4
|
||||
)
|
||||
!<sys-libs/glibc-2.10
|
||||
!~sys-fs/udev-187"
|
||||
|
||||
# sys-fs/quota is necessary to store correct paths in unit files
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/xz-utils
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
dev-util/gperf
|
||||
dev-util/intltool
|
||||
sys-fs/quota
|
||||
>=sys-kernel/linux-headers-${MINKV}"
|
||||
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup lock # used by var-lock.mount
|
||||
enewgroup tty 5 # used by mount-setup for /dev/pts
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# systemd-analyze is for python2.7 only nowadays.
|
||||
sed -i -e '1s/python/&2.7/' src/analyze/systemd-analyze
|
||||
|
||||
# link against external udev.
|
||||
sed -i -e 's:libudev\.la:-ludev:' Makefile.am
|
||||
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/0001-Disable-udev-targets-for-udev-190.patch
|
||||
)
|
||||
|
||||
autotools-utils_src_prepare
|
||||
|
||||
# XXX: support it within eclass
|
||||
eautomake
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--localstatedir=/var
|
||||
--with-distro=gentoo
|
||||
# install everything to /usr
|
||||
--with-rootprefix=/usr
|
||||
--with-rootlibdir=/usr/$(get_libdir)
|
||||
# but pam modules have to lie in /lib*
|
||||
--with-pamlibdir=/$(get_libdir)/security
|
||||
# this avoids dep on pciutils & usbutils
|
||||
--with-pci-ids-path=/usr/share/misc/pci.ids
|
||||
--with-usb-ids-path=/usr/share/misc/usb.ids
|
||||
# make sure we get /bin:/sbin in $PATH
|
||||
--enable-split-usr
|
||||
# udev parts
|
||||
--disable-introspection
|
||||
--disable-gtk-doc
|
||||
--disable-gudev
|
||||
$(use_enable acl)
|
||||
$(use_enable audit)
|
||||
$(use_enable cryptsetup libcryptsetup)
|
||||
$(use_enable gcrypt)
|
||||
$(use_enable lzma xz)
|
||||
$(use_enable pam)
|
||||
$(use_enable qrcode qrencode)
|
||||
$(use_enable selinux)
|
||||
$(use_enable tcpd tcpwrap)
|
||||
|
||||
# Disable Python for now.
|
||||
PYTHON=:
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install \
|
||||
bashcompletiondir=/tmp
|
||||
|
||||
# compat for init= use
|
||||
dosym ../usr/lib/systemd/systemd /bin/systemd
|
||||
dosym ../lib/systemd/systemd /usr/bin/systemd
|
||||
# rsyslog.service depends on it...
|
||||
dosym ../usr/bin/systemctl /bin/systemctl
|
||||
|
||||
# move files as necessary
|
||||
newbashcomp "${D}"/tmp/systemd-bash-completion.sh ${PN}
|
||||
rm -r "${D}"/tmp || die
|
||||
|
||||
# we just keep sysvinit tools, so no need for the mans
|
||||
rm "${D}"/usr/share/man/man8/{halt,poweroff,reboot,runlevel,shutdown,telinit}.8 \
|
||||
|| die
|
||||
rm "${D}"/usr/share/man/man1/init.1 || die
|
||||
|
||||
# Create /run/lock as required by new baselay/OpenRC compat.
|
||||
systemd_dotmpfilesd "${FILESDIR}"/gentoo-run.conf
|
||||
|
||||
# Add mount-rules for /var/lock and /var/run, bug #433607
|
||||
systemd_dounit "${FILESDIR}"/var-{lock,run}.mount
|
||||
systemd_enable_service sysinit.target var-lock.mount
|
||||
systemd_enable_service sysinit.target var-run.mount
|
||||
|
||||
# Check whether we won't break user's system.
|
||||
[[ -x "${D}"/bin/systemd ]] || die '/bin/systemd symlink broken, aborting.'
|
||||
[[ -x "${D}"/usr/bin/systemd ]] || die '/usr/bin/systemd symlink broken, aborting.'
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS ~DEVTMPFS
|
||||
~FANOTIFY ~HOTPLUG ~INOTIFY_USER ~IPV6 ~NET ~PROC_FS ~SIGNALFD
|
||||
~SYSFS ~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2"
|
||||
kernel_is -ge ${MINKV//./ } || ewarn "Kernel version at least ${MINKV} required"
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
optfeature() {
|
||||
local i desc=${1} text
|
||||
shift
|
||||
|
||||
text=" [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}"
|
||||
shift
|
||||
|
||||
for i; do
|
||||
elog "${text}"
|
||||
text="& [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}"
|
||||
done
|
||||
elog "${text} (${desc})"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
mkdir -p "${ROOT}"/run || ewarn "Unable to mkdir /run, this could mean trouble."
|
||||
if [[ ! -L "${ROOT}"/etc/mtab ]]; then
|
||||
ewarn "Upstream suggests that the /etc/mtab file should be a symlink to /proc/mounts."
|
||||
ewarn "It is known to cause users being unable to unmount user mounts. If you don't"
|
||||
ewarn "require that specific feature, please call:"
|
||||
ewarn " $ ln -sf '${ROOT}proc/self/mounts' '${ROOT}etc/mtab'"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
elog "To get additional features, a number of optional runtime dependencies may"
|
||||
elog "be installed:"
|
||||
optfeature 'for systemd-analyze' \
|
||||
'dev-lang/python:2.7' 'dev-python/dbus-python'
|
||||
optfeature 'for systemd-analyze plotting ability' \
|
||||
'dev-python/pycairo[svg]'
|
||||
optfeature 'for GTK+ systemadm UI and gnome-ask-password-agent' \
|
||||
'sys-apps/systemd-ui'
|
||||
elog
|
||||
|
||||
ewarn "Please note this is a work-in-progress and many packages in Gentoo"
|
||||
ewarn "do not supply systemd unit files yet. You are testing it on your own"
|
||||
ewarn "responsibility. Please remember than you can pass:"
|
||||
ewarn " init=/sbin/init"
|
||||
ewarn "to your kernel to boot using sysvinit / OpenRC."
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
DIST autoconf-2.13.tar.gz 443844 RMD160 0d1fa0992280ed71c0d72487a5a4c246d1c1b18a SHA1 e4826c8bd85325067818f19b2b2ad2b625da66fc SHA256 f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
|
||||
DIST autoconf-2.59.tar.bz2 925073 RMD160 792c45aade68e2ed19a0e4c6ebc0e20cb8298e1a SHA1 d366a07b2d99c95b7f24395aa8a8e023d8b93b69 SHA256 f0cde70a8f135098a6a3e85869f2e1cc3f141beea766fa3d6636e086cd8b90a7
|
||||
DIST autoconf-2.61.tar.gz 1396855 RMD160 ec5f512aec24b3cc5a9968e96d261558e45471b5 SHA1 69f37c509a4757d747b6f4c091d209ab3984d62f SHA256 9d14f2ed0d1b6f8180498a66517f511c7c49c870d6873219a3ff4b8b3082a68b
|
||||
DIST autoconf-2.62.tar.gz 1518427 RMD160 316220038dd0fc131fd93e1fbfe422f7c67b4164 SHA1 74b2fcffb32b16d248103f42111284331d7bab75 SHA256 83aa747e6443def0ebd1882509c53f5a2133f502ddefa21b3de141c433914bdd
|
||||
DIST autoconf-2.63.tar.gz 1562665 RMD160 4254fd31f9bcaf8932e2c10cf33f52b9f7f7eb19 SHA1 d42eebd3d342925116c3cb942e9320d5803fcb1a SHA256 b05a6cee81657dd2db86194a6232b895b8b2606a30a399c3a566d9259366744b
|
||||
DIST autoconf-2.64.tar.bz2 1313833 RMD160 cf498949b3cc0a6bc465a50114c98750871bcf49 SHA1 dfbcdbd7dd74a52130dda324e9d94ee0b8551466 SHA256 872f4cadf12e7e7c8a2414e047fdff26b517c7f1a977d72433c124d0d3acaa85
|
||||
DIST autoconf-2.65.tar.bz2 1332522 RMD160 250b0f46ae6f81fe47f30ae61335a2291d736197 SHA1 9126ffb8d7d59f38f305ef53e208531d4b75bb87 SHA256 db11944057f3faf229ff5d6ce3fcd819f565455c152b72cec17ebc1cbb80136b
|
||||
DIST autoconf-2.67.tar.bz2 1369605 RMD160 2aa37e58f3629827f7c19350ad035a452711984f SHA1 0aa3dff106c6373e26dab75a516a696c900317a6 SHA256 00ded92074999d26a7137d15bd1d51b8a8ae233a6cd165a38f34ccf7b1a78aef
|
||||
DIST autoconf-2.68.tar.bz2 1381988 RMD160 8990457b60d27509a7dc9be595a5002a854af30f SHA1 b534c293b22048c022b1ff3a372b9c03f26170b4 SHA256 c491fb273fd6d4ca925e26ceed3d177920233c76d542b150ff35e571454332c8
|
||||
DIST autoconf-2.69.tar.xz 1214744 RMD160 666aa45a58e856968c651e2a3b44be38de9c14e4 SHA1 e891c3193029775e83e0534ac0ee0c4c711f6d23 SHA256 64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
|
||||
DIST autoconf-2.13.tar.gz 443844 SHA256 f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e SHA512 602584f4c77b7a554aaa068eda5409b68eb0b3229e9c224bffb91c83c4314d25de15bd560a323626ff78f6df339c79e1ef8938c54b78ecadf4dc75c5241290ad WHIRLPOOL 918e5e4679f0a2ae84299f190904be05f2c69e8cddf97c6b1a6e82ba20768f4c97ac451b0b6159800bad6635633f9d772a403be8c724ea782bf7725d2905f180
|
||||
DIST autoconf-2.59.tar.bz2 925073 SHA256 f0cde70a8f135098a6a3e85869f2e1cc3f141beea766fa3d6636e086cd8b90a7
|
||||
DIST autoconf-2.61.tar.gz 1396855 SHA256 9d14f2ed0d1b6f8180498a66517f511c7c49c870d6873219a3ff4b8b3082a68b
|
||||
DIST autoconf-2.62.tar.gz 1518427 SHA256 83aa747e6443def0ebd1882509c53f5a2133f502ddefa21b3de141c433914bdd
|
||||
DIST autoconf-2.63.tar.gz 1562665 SHA256 b05a6cee81657dd2db86194a6232b895b8b2606a30a399c3a566d9259366744b
|
||||
DIST autoconf-2.64.tar.bz2 1313833 SHA256 872f4cadf12e7e7c8a2414e047fdff26b517c7f1a977d72433c124d0d3acaa85 SHA512 ae226d517e875a4e58006c3879c305a9a72316040a9e7908331cd84764d28de399ff082fe9c0cb18485c028ae7b91f8458318ec4960fbfb2e58b1270dc3daf18 WHIRLPOOL 2b02c78bfe86af7b4f46ee31d1462a843cc6baa374e9fa69f92b8fe8bc7ff15c66126d233ca89dd217c46a7a818f2f9040f10c5d24f3f5716542451784a67118
|
||||
DIST autoconf-2.65.tar.bz2 1332522 SHA256 db11944057f3faf229ff5d6ce3fcd819f565455c152b72cec17ebc1cbb80136b SHA512 1d96a5ba8c63d54a59e2739c9f4df16c14e8cd72f27c8565f4f1c8dbe4fdc8ab98a0a75929d4f1039fb225666d7ebbb9030f185978ff72de99d421edf70fe045 WHIRLPOOL bdb9017390ef1a00b0bef6303421fef27c4443512703f04fe4ff33807796e4065d41813486a8d6ca72a90aef579ebf69aed3f54325ffc1bfb1816efc8aaa2671
|
||||
DIST autoconf-2.67.tar.bz2 1369605 SHA256 00ded92074999d26a7137d15bd1d51b8a8ae233a6cd165a38f34ccf7b1a78aef SHA512 366f39e23a49a4f76ce901278286f00473d838dc3730b29dd29707276362aa5566fe1890856a221fa1c494c1304756a82924ec1b6ee0bce0e80ddd657386dd5a WHIRLPOOL 2fae4ade453f2e3b77766d03d36bcf3c727aa08d40b7fafe939aa03040f6965f92ca1d39888957d55744cd84db3c910967471f862149847f0008f851133beb30
|
||||
DIST autoconf-2.68.tar.bz2 1381988 SHA256 c491fb273fd6d4ca925e26ceed3d177920233c76d542b150ff35e571454332c8 SHA512 77f42d7a3825a398531ab52bf05936720788167f7d04f884a2acb7745edb60a706799451ff983f1048bc929cd38972ab29530a5e4ed6f686ff1700e0281a7e84 WHIRLPOOL 9edc133292a40e024f9f18e40942717342b540056f2fe4b361c4a514ec908d8e04210e714cf6cdb5752673f6fb5cc4ba6e9d624b96f9ef12b4b9e9838e1498a6
|
||||
DIST autoconf-2.69.tar.xz 1214744 SHA256 64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684 SHA512 995d3e5a8eb1eb37e2b7fae53c6ec7a9b4df997286b7d643344818f94636756b1bf5ff5ea9155e755cb9461149a853dfbf2886fc6bd7132e5afa9c168e306e9b WHIRLPOOL 9d806d685b9951acb15ab837b08437a6632f0907f105057e84ba3e0d99539371c32153333f459f04fb537cbb96a80e4418937e937381aec677b319ad667f7918
|
||||
|
@ -0,0 +1,417 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-192.ebuild,v 1.1 2012/09/26 00:13:06 williamh Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KV_min=2.6.39
|
||||
|
||||
inherit autotools eutils linux-info
|
||||
|
||||
if [[ ${PV} = 9999* ]]
|
||||
then
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/systemd/systemd"
|
||||
inherit git-2
|
||||
else
|
||||
patchset=1
|
||||
SRC_URI="http://www.freedesktop.org/software/systemd/systemd-${PV}.tar.xz"
|
||||
if [[ -n "${patchset}" ]]
|
||||
then
|
||||
SRC_URI="${SRC_URI}
|
||||
http://dev.gentoo.org/~williamh/dist/${P}-patches-${patchset}.tar.bz2"
|
||||
fi
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
|
||||
HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd"
|
||||
|
||||
LICENSE="LGPL-2.1 MIT GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="acl doc gudev hwdb introspection keymap +openrc selinux static-libs"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="acl? ( sys-apps/acl )
|
||||
gudev? ( dev-libs/glib:2 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
>=sys-apps/kmod-5
|
||||
>=sys-apps/util-linux-2.20
|
||||
!<sys-libs/glibc-2.11"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/gperf
|
||||
>=dev-util/intltool-0.40.0
|
||||
virtual/pkgconfig
|
||||
virtual/os-headers
|
||||
!<sys-kernel/linux-headers-${KV_min}
|
||||
doc? ( dev-util/gtk-doc )"
|
||||
|
||||
if [[ ${PV} = 9999* ]]
|
||||
then
|
||||
DEPEND="${DEPEND}
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt"
|
||||
fi
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
hwdb? ( sys-apps/hwids )
|
||||
openrc? ( >=sys-fs/udev-init-scripts-16
|
||||
!<sys-apps/openrc-0.9.9 )
|
||||
!sys-apps/coldplug
|
||||
!=sys-apps/systemd-188
|
||||
!<sys-fs/lvm2-2.02.45
|
||||
!sys-fs/device-mapper
|
||||
!<sys-fs/udev-init-scripts-16
|
||||
!<sys-kernel/dracut-017-r1
|
||||
!<sys-kernel/genkernel-3.4.25"
|
||||
|
||||
S="${WORKDIR}/systemd-${PV}"
|
||||
|
||||
udev_check_KV()
|
||||
{
|
||||
if kernel_is lt ${KV_min//./ }
|
||||
then
|
||||
return 1
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
check_default_rules()
|
||||
{
|
||||
# Make sure there are no sudden changes to upstream rules file
|
||||
# (more for my own needs than anything else ...)
|
||||
local udev_rules_md5=18843fc4a8dd1d8074b98a583454cb9e
|
||||
MD5=$(md5sum < "${S}/rules/50-udev-default.rules")
|
||||
MD5=${MD5/ -/}
|
||||
if [[ ${MD5} != ${udev_rules_md5} ]]
|
||||
then
|
||||
eerror "50-udev-default.rules has been updated, please validate!"
|
||||
eerror "md5sum: ${MD5}"
|
||||
die "50-udev-default.rules has been updated, please validate!"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup()
|
||||
{
|
||||
# required kernel options
|
||||
CONFIG_CHECK="~DEVTMPFS"
|
||||
ERROR_DEVTMPFS="DEVTMPFS is not set in this kernel. Udev will not run."
|
||||
|
||||
linux-info_pkg_setup
|
||||
|
||||
if ! udev_check_KV
|
||||
then
|
||||
eerror "Your kernel version (${KV_FULL}) is too old to run ${P}"
|
||||
eerror "It must be at least ${KV_min}!"
|
||||
fi
|
||||
|
||||
KV_FULL_SRC=${KV_FULL}
|
||||
get_running_version
|
||||
if ! udev_check_KV
|
||||
then
|
||||
eerror
|
||||
eerror "Your running kernel version (${KV_FULL}) is too old"
|
||||
eerror "for this version of udev."
|
||||
eerror "You must upgrade your kernel or downgrade udev."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare()
|
||||
{
|
||||
# backport some patches
|
||||
if [[ -n "${patchset}" ]]
|
||||
then
|
||||
EPATCH_SUFFIX=patch EPATCH_FORCE=yes epatch
|
||||
fi
|
||||
|
||||
# change rules back to group uucp instead of dialout for now
|
||||
sed -e 's/GROUP="dialout"/GROUP="uucp"/' \
|
||||
-i rules/*.rules \
|
||||
|| die "failed to change group dialout to uucp"
|
||||
|
||||
if [[ ! -e configure ]]
|
||||
then
|
||||
if use doc
|
||||
then
|
||||
gtkdocize --docdir docs || die "gtkdocize failed"
|
||||
else
|
||||
echo 'EXTRA_DIST =' > docs/gtk-doc.make
|
||||
fi
|
||||
eautoreconf
|
||||
else
|
||||
check_default_rules
|
||||
elibtoolize
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure()
|
||||
{
|
||||
local econf_args
|
||||
|
||||
econf_args=(
|
||||
ac_cv_search_cap_init=
|
||||
ac_cv_header_sys_capability_h=yes
|
||||
DBUS_CFLAGS=' '
|
||||
DBUS_LIBS=' '
|
||||
--docdir=/usr/share/doc/${PF}
|
||||
--libdir=/usr/$(get_libdir)
|
||||
--with-distro=gentoo
|
||||
--with-firmware-path=/usr/lib/firmware/updates:/usr/lib/firmware:/lib/firmware/updates:/lib/firmware
|
||||
--with-html-dir=/usr/share/doc/${PF}/html
|
||||
--with-pci-ids-path=/usr/share/misc/pci.ids
|
||||
--with-rootlibdir=/usr/$(get_libdir)
|
||||
--with-rootprefix=/usr
|
||||
--with-usb-ids-path=/usr/share/misc/usb.ids
|
||||
--disable-audit
|
||||
--disable-coredump
|
||||
--disable-hostnamed
|
||||
--disable-ima
|
||||
--disable-libcryptsetup
|
||||
--disable-localed
|
||||
--disable-logind
|
||||
--disable-nls
|
||||
--disable-pam
|
||||
--disable-quotacheck
|
||||
--disable-readahead
|
||||
--enable-split-usr
|
||||
--disable-tcpwrap
|
||||
--disable-timedated
|
||||
--disable-xz
|
||||
$(use_enable acl)
|
||||
$(use_enable doc gtk-doc)
|
||||
$(use_enable gudev)
|
||||
$(use_enable introspection)
|
||||
$(use_enable keymap)
|
||||
$(use_enable selinux)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
econf "${econf_args[@]}"
|
||||
}
|
||||
|
||||
src_compile()
|
||||
{
|
||||
echo 'BUILT_SOURCES: $(BUILT_SOURCES)' > "${T}"/Makefile.extra
|
||||
emake -f Makefile -f "${T}"/Makefile.extra BUILT_SOURCES
|
||||
local targets=(
|
||||
systemd-udevd
|
||||
udevadm
|
||||
libudev.la
|
||||
ata_id
|
||||
cdrom_id
|
||||
collect
|
||||
scsi_id
|
||||
v4l_id
|
||||
accelerometer
|
||||
mtd_probe
|
||||
man/udev.7
|
||||
man/udevadm.8
|
||||
man/systemd-udevd.8
|
||||
man/systemd-udevd.service.8
|
||||
)
|
||||
use keymap && targets+=( keymap )
|
||||
use gudev && targets+=( libgudev-1.0.la )
|
||||
|
||||
emake "${targets[@]}"
|
||||
if use doc
|
||||
then
|
||||
emake -C docs/libudev
|
||||
use gudev && emake -C docs/gudev
|
||||
fi
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
local lib_LTLIBRARIES=libudev.la \
|
||||
pkgconfiglib_DATA=src/libudev/libudev.pc
|
||||
|
||||
local targets=(
|
||||
install-libLTLIBRARIES
|
||||
install-includeHEADERS
|
||||
install-libgudev_includeHEADERS
|
||||
install-binPROGRAMS
|
||||
install-rootlibexecPROGRAMS
|
||||
install-udevlibexecPROGRAMS
|
||||
install-dist_systemunitDATA
|
||||
install-dist_udevconfDATA
|
||||
install-dist_udevhomeSCRIPTS
|
||||
install-dist_udevkeymapDATA
|
||||
install-dist_udevkeymapforcerelDATA
|
||||
install-dist_udevrulesDATA
|
||||
install-girDATA
|
||||
install-man7
|
||||
install-man8
|
||||
install-nodist_systemunitDATA
|
||||
install-pkgconfiglibDATA
|
||||
install-sharepkgconfigDATA
|
||||
install-typelibsDATA
|
||||
install-dist_docDATA
|
||||
udev-confdirs
|
||||
systemd-install-hook
|
||||
)
|
||||
|
||||
if use gudev
|
||||
then
|
||||
lib_LTLIBRARIES+=" libgudev-1.0.la"
|
||||
pkgconfiglib_DATA+=" src/gudev/gudev-1.0.pc"
|
||||
fi
|
||||
|
||||
# add final values of variables:
|
||||
targets+=(
|
||||
rootlibexec_PROGRAMS=systemd-udevd
|
||||
bin_PROGRAMS=udevadm
|
||||
lib_LTLIBRARIES="${lib_LTLIBRARIES}"
|
||||
MANPAGES="man/udev.7 man/udevadm.8 man/systemd-udevd.service.8"
|
||||
MANPAGES_ALIAS="man/systemd-udevd.8"
|
||||
dist_systemunit_DATA="units/systemd-udevd-control.socket \
|
||||
units/systemd-udevd-kernel.socket"
|
||||
nodist_systemunit_DATA="units/systemd-udevd.service \
|
||||
units/systemd-udev-trigger.service \
|
||||
units/systemd-udev-settle.service"
|
||||
pkgconfiglib_DATA="${pkgconfiglib_DATA}"
|
||||
)
|
||||
emake DESTDIR="${D}" "${targets[@]}"
|
||||
if use doc
|
||||
then
|
||||
emake -C docs/libudev DESTDIR="${D}" install
|
||||
use gudev && emake -C docs/gudev DESTDIR="${D}" install
|
||||
fi
|
||||
dodoc TODO
|
||||
|
||||
prune_libtool_files --all
|
||||
rm -f "${D}"/usr/lib/udev/rules.d/99-systemd.rules
|
||||
rm -rf "${D}"/usr/share/doc/${PF}/LICENSE.*
|
||||
|
||||
# install gentoo-specific rules
|
||||
insinto /usr/lib/udev/rules.d
|
||||
doins "${FILESDIR}"/40-gentoo.rules
|
||||
|
||||
# install udevadm symlink
|
||||
dosym ../usr/bin/udevadm /sbin/udevadm
|
||||
}
|
||||
|
||||
pkg_preinst()
|
||||
{
|
||||
local htmldir
|
||||
for htmldir in gudev libudev; do
|
||||
if [[ -d ${ROOT}usr/share/gtk-doc/html/${htmldir} ]]
|
||||
then
|
||||
rm -rf "${ROOT}"usr/share/gtk-doc/html/${htmldir}
|
||||
fi
|
||||
if [[ -d ${D}/usr/share/doc/${PF}/html/${htmldir} ]]
|
||||
then
|
||||
dosym ../../doc/${PF}/html/${htmldir} \
|
||||
/usr/share/gtk-doc/html/${htmldir}
|
||||
fi
|
||||
done
|
||||
preserve_old_lib /$(get_libdir)/libudev.so.0
|
||||
}
|
||||
|
||||
# This function determines if a directory is a mount point.
|
||||
# It was lifted from dracut.
|
||||
ismounted()
|
||||
{
|
||||
while read a m a; do
|
||||
[[ $m = $1 ]] && return 0
|
||||
done < "${ROOT}"/proc/mounts
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_postinst()
|
||||
{
|
||||
mkdir -p "${ROOT}"/run
|
||||
|
||||
# "losetup -f" is confused if there is an empty /dev/loop/, Bug #338766
|
||||
# So try to remove it here (will only work if empty).
|
||||
rmdir "${ROOT}"/dev/loop 2>/dev/null
|
||||
if [[ -d ${ROOT}/dev/loop ]]
|
||||
then
|
||||
ewarn "Please make sure your remove /dev/loop,"
|
||||
ewarn "else losetup may be confused when looking for unused devices."
|
||||
fi
|
||||
|
||||
# people want reminders, I'll give them reminders. Odds are they will
|
||||
# just ignore them anyway...
|
||||
|
||||
# 64-device-mapper.rules now gets installed by sys-fs/device-mapper
|
||||
# remove it if user don't has sys-fs/device-mapper installed, 27 Jun 2007
|
||||
if [[ -f ${ROOT}/etc/udev/rules.d/64-device-mapper.rules ]] &&
|
||||
! has_version sys-fs/device-mapper
|
||||
then
|
||||
rm -f "${ROOT}"/etc/udev/rules.d/64-device-mapper.rules
|
||||
einfo "Removed unneeded file 64-device-mapper.rules"
|
||||
fi
|
||||
|
||||
ewarn
|
||||
ewarn "If you build an initramfs including udev, please make sure the"
|
||||
ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
|
||||
ewarn "use it,as it replaces the old udevinfo and udevtrigger helpers."
|
||||
|
||||
ewarn
|
||||
ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
|
||||
ewarn "Instead, /etc/fstab should be used. This matches other mount points."
|
||||
|
||||
ewarn
|
||||
ewarn "Rules for /dev/hd* devices have been removed."
|
||||
ewarn "Please migrate to libata."
|
||||
|
||||
ewarn
|
||||
ewarn "action_modeswitch has been removed by upstream."
|
||||
ewarn "Please use sys-apps/usb_modeswitch."
|
||||
|
||||
if ismounted /usr
|
||||
then
|
||||
ewarn
|
||||
ewarn "Your system has /usr on a separate partition. This means"
|
||||
ewarn "you will need to use an initramfs to pre-mount /usr before"
|
||||
ewarn "udev runs."
|
||||
ewarn "This must be set up before your next reboot, or you may"
|
||||
ewarn "experience failures which are very difficult to troubleshoot."
|
||||
ewarn "For a more detailed explanation, see the following URL:"
|
||||
ewarn "http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken"
|
||||
ewarn
|
||||
ewarn "For more information on setting up an initramfs, see the"
|
||||
ewarn "following URL:"
|
||||
ewarn "http://www.gentoo.org/doc/en/initramfs-guide.xml"
|
||||
fi
|
||||
|
||||
if use acl; then
|
||||
ewarn
|
||||
ewarn "The udev-acl functionality has been moved."
|
||||
ewarn "If you are not using systemd, this is handled by consolekit."
|
||||
ewarn "Otherwise, you need to make sure that systemd is emerged with"
|
||||
ewarn "the acl use flag active."
|
||||
fi
|
||||
|
||||
if [[ -d ${ROOT}lib/udev ]]
|
||||
then
|
||||
ewarn
|
||||
ewarn "This version of udev moves the files which were installed in"
|
||||
ewarn "/lib/udev to /usr/lib/udev. We include a backward compatibility"
|
||||
ewarn "patch for gentoo to allow the rules in /lib/udev/rules.d to be"
|
||||
ewarn "read; however, bugs should be filed against packages which are"
|
||||
ewarn "installing things in /lib/udev so they can be fixed."
|
||||
fi
|
||||
|
||||
ewarn
|
||||
ewarn "You need to restart udev as soon as possible to make the upgrade go"
|
||||
ewarn "into affect."
|
||||
ewarn "The method you use to do this depends on your init system."
|
||||
|
||||
ewarn
|
||||
ewarn "Upstream has removed the persistent-net and persistent-cd rules"
|
||||
ewarn "generator. If you need persistent names for these devices,"
|
||||
ewarn "place udev rules for them in ${ROOT}etc/udev/rules.d."
|
||||
ewarn "Be aware that you cannot directly swap device names, so persistent"
|
||||
ewarn "rules for network devices should be like the ones at the following"
|
||||
ewarn "URL:"
|
||||
ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#C1"
|
||||
|
||||
preserve_old_lib_notify /$(get_libdir)/libudev.so.0
|
||||
|
||||
elog
|
||||
elog "For more information on udev on Gentoo, writing udev rules, and"
|
||||
elog " fixing known issues visit:"
|
||||
elog " http://www.gentoo.org/doc/en/udev-guide.xml"
|
||||
}
|
Loading…
Reference in new issue