parent
f9dfa85f83
commit
698cd3ce17
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit git-r3 toolchain-funcs
|
||||
|
||||
DESCRIPTION="farbfeld simple image format tools"
|
||||
HOMEPAGE="http://git.2f30.org/farbfeld/about/"
|
||||
EGIT_REPO_URI="git://git.suckless.org/farbfeld"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
RDEPEND="
|
||||
media-libs/libjpeg-turbo
|
||||
media-libs/libpng:*
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed config.mk \
|
||||
-e '/^CC/d' \
|
||||
-e 's|/usr/local|/usr|g' \
|
||||
-e 's|^CFLAGS.*|CFLAGS += -std=c99 -pedantic -Wall -Wextra $(INCS) $(CPPFLAGS)|g' \
|
||||
-e 's|^LDFLAGS.*|LDFLAGS += $(LIBS)|g' \
|
||||
-e 's|{|(|g;s|}|)|g' \
|
||||
-i || die
|
||||
|
||||
sed Makefile \
|
||||
-e 's|{|(|g;s|}|)|g' \
|
||||
-e 's|^ @| |g' \
|
||||
-i || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC)
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>jer@gentoo.org</email>
|
||||
<name>Jeroen Roovers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +1 @@
|
||||
Thu, 17 Dec 2015 11:43:40 +0000
|
||||
Thu, 17 Dec 2015 13:44:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
Thu, 17 Dec 2015 11:43:40 +0000
|
||||
Thu, 17 Dec 2015 13:44:01 +0000
|
||||
|
@ -0,0 +1,10 @@
|
||||
DEFINED_PHASES=compile prepare unpack
|
||||
DEPEND=media-libs/libjpeg-turbo media-libs/libpng:* >=dev-vcs/git-1.8.2.1
|
||||
DESCRIPTION=farbfeld simple image format tools
|
||||
EAPI=5
|
||||
HOMEPAGE=http://git.2f30.org/farbfeld/about/
|
||||
LICENSE=ISC
|
||||
RDEPEND=media-libs/libjpeg-turbo media-libs/libpng:*
|
||||
SLOT=0
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c git-r3 0961ca04f93a7ae0e4c4a0b2b8c3be99 multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=43741f1d34970577aa73d47e48c6b5ce
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile install postinst postrm preinst prepare setup test unpack
|
||||
DEPEND=!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
|
||||
DESCRIPTION=Full sources including the Gentoo patchset for the 4.1 kernel tree and aufs4 support
|
||||
EAPI=5
|
||||
HOMEPAGE=https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/
|
||||
IUSE=deblob experimental module vanilla symlink build
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2 freedist
|
||||
PDEPEND==sys-fs/aufs-util-4*
|
||||
RDEPEND=!build? ( >=sys-libs/ncurses-5.2 sys-devel/make dev-lang/perl sys-devel/bc )
|
||||
RESTRICT=binchecks strip
|
||||
SLOT=4.1.15
|
||||
SRC_URI=mirror://kernel/linux/kernel/v4.x/linux-4.1.tar.xz https://dev.gentoo.org/~jlec/distfiles/aufs-sources-4.1_p20151116.tar.xz !vanilla? ( mirror://gentoo/genpatches-4.1-19.base.tar.xz mirror://gentoo/genpatches-4.1-19.extras.tar.xz experimental? ( mirror://gentoo/genpatches-4.1-19.experimental.tar.xz ) )
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c kernel-2 a4c66611301c7fdf1c78202ab683fb1b multilib 3972ca401cf7dbb430df9995f5d8d580 python-any-r1 0ee3a2b43a7ff470ba57bc6e0ee386b3 python-utils-r1 832cb17726d498a182de6b9ee2adc0dc readme.gentoo cbc4807273837f5fccb5372e385e99eb toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=218663ec7879b98fe8f66bc01d3a91df
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile install postinst postrm preinst prepare setup test unpack
|
||||
DEPEND=!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
|
||||
DESCRIPTION=Full sources including the Gentoo patchset for the 4.2 kernel tree and aufs4 support
|
||||
EAPI=5
|
||||
HOMEPAGE=https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/
|
||||
IUSE=deblob experimental module vanilla symlink build
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2 freedist
|
||||
PDEPEND==sys-fs/aufs-util-4*
|
||||
RDEPEND=!build? ( >=sys-libs/ncurses-5.2 sys-devel/make dev-lang/perl sys-devel/bc )
|
||||
RESTRICT=binchecks strip
|
||||
SLOT=4.2.8
|
||||
SRC_URI=mirror://kernel/linux/kernel/v4.x/linux-4.2.tar.xz https://dev.gentoo.org/~jlec/distfiles/aufs-sources-4.2_p20151116.tar.xz !vanilla? ( mirror://gentoo/genpatches-4.2-11.base.tar.xz mirror://gentoo/genpatches-4.2-11.extras.tar.xz experimental? ( mirror://gentoo/genpatches-4.2-11.experimental.tar.xz ) )
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c kernel-2 a4c66611301c7fdf1c78202ab683fb1b multilib 3972ca401cf7dbb430df9995f5d8d580 python-any-r1 0ee3a2b43a7ff470ba57bc6e0ee386b3 python-utils-r1 832cb17726d498a182de6b9ee2adc0dc readme.gentoo cbc4807273837f5fccb5372e385e99eb toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=7e0f56e5a176b2c3d8642ab7cd76ede6
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile install postinst postrm preinst prepare setup test unpack
|
||||
DEPEND=!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
|
||||
DESCRIPTION=Full sources including the Gentoo patchset for the 4.3 kernel tree and aufs4 support
|
||||
EAPI=5
|
||||
HOMEPAGE=https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/
|
||||
IUSE=deblob experimental module vanilla symlink build
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2 freedist
|
||||
PDEPEND==sys-fs/aufs-util-4*
|
||||
RDEPEND=!build? ( >=sys-libs/ncurses-5.2 sys-devel/make dev-lang/perl sys-devel/bc )
|
||||
RESTRICT=binchecks strip
|
||||
SLOT=4.3.3
|
||||
SRC_URI=mirror://kernel/linux/kernel/v4.x/linux-4.3.tar.xz https://dev.gentoo.org/~jlec/distfiles/aufs-sources-4.3_p20151116.tar.xz !vanilla? ( mirror://gentoo/genpatches-4.3-4.base.tar.xz mirror://gentoo/genpatches-4.3-4.extras.tar.xz experimental? ( mirror://gentoo/genpatches-4.3-4.experimental.tar.xz ) )
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c kernel-2 a4c66611301c7fdf1c78202ab683fb1b multilib 3972ca401cf7dbb430df9995f5d8d580 python-any-r1 0ee3a2b43a7ff470ba57bc6e0ee386b3 python-utils-r1 832cb17726d498a182de6b9ee2adc0dc readme.gentoo cbc4807273837f5fccb5372e385e99eb toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=48f6b159ff51589637fd63895e05b029
|
@ -0,0 +1,11 @@
|
||||
DEFINED_PHASES=compile install postinst prepare unpack
|
||||
DEPEND=media-libs/fontconfig x11-libs/libX11 x11-libs/libXft >=dev-vcs/git-1.8.2.1
|
||||
DESCRIPTION=Simple plaintext presentation tool
|
||||
EAPI=5
|
||||
HOMEPAGE=http://tools.suckless.org/sent/
|
||||
IUSE=savedconfig
|
||||
LICENSE=MIT
|
||||
RDEPEND=media-libs/fontconfig x11-libs/libX11 x11-libs/libXft !savedconfig? ( media-gfx/farbfeld )
|
||||
SLOT=0
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c git-r3 0961ca04f93a7ae0e4c4a0b2b8c3be99 multilib 3972ca401cf7dbb430df9995f5d8d580 portability 3a50b3ec310b86914f98babecc8f89c6 savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=ca9f434dcc26b4c5d33061b7537d9e45
|
@ -1,26 +0,0 @@
|
||||
Title: Language of messages in emerge logs and output
|
||||
Author: Andreas K. Huettel <dilfridge@gentoo.org>
|
||||
Content-Type: text/plain
|
||||
Posted: 2013-08-23
|
||||
Revision: 1
|
||||
News-Item-Format: 1.0
|
||||
|
||||
As of today, messages and logs of emerge do not use the system
|
||||
locale anymore but default to English. The intention behind this
|
||||
is to ease the work of bug wranglers and package maintainers,
|
||||
who may have a hard time reading build logs in foreign
|
||||
languages. This change only affects the language of messages
|
||||
in emerge output, nothing else.
|
||||
|
||||
If you really want to have e.g. localized compiler error messages
|
||||
in your builds, set LC_MESSAGES in your /etc/portage/make.conf.
|
||||
Note that submitting localized build logs to the Gentoo Bugzilla
|
||||
is discouraged. If maintainers are unable to translate the
|
||||
necessary information from the build log, your bug may be closed
|
||||
as NEEDINFO and you may be asked to re-open it submitting an
|
||||
English build log [1] before any further action can be taken.
|
||||
|
||||
For more details with respect to localization, see
|
||||
https://wiki.gentoo.org/wiki/Localization/HOWTO
|
||||
|
||||
[1] LC_MESSAGES=C emerge ...
|
@ -1,17 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
|
||||
iQIcBAABCgAGBQJSFx3VAAoJEJS/30SErRQvf4gP/1KB+HIZBkLpNZ4GisboSx69
|
||||
JSeNhUGlJOpKOcqBWtXsb/E8N/fV/xtiTrABj1hmgKEccHHgdj8UeO5xXaSO/dDe
|
||||
f/ofdJ+OBEvxH60FMTltQ3s2wWKIXBTqJwRpVWw/cmYRZNIWRjjEBWHeUWE09yKj
|
||||
BxIAX4xepGcMQK67N42nq05fJ4egXARASnXT50mgqCXxs6vqfOC0HVMEj2yz1oc1
|
||||
Jmu7dEBOW+7pGlZ1E01eoNvx7Yyd05FPkEaS9J7mzWV/O8Ps0Hg2TL0qg2HOvdAt
|
||||
5mLKkbUwLQ2oLRIaerdJ6JFnkbGSrIPsW8Ne8A6AtjGqIZHBgJJ40GZL8XYBvyFt
|
||||
iMcEWDJLELvvoFazjZ8QqiwZ8iu+CN2uRaR1S5WWrtX5KAhAVOjHVb981+PZKg6J
|
||||
GGek3sB/uQUuU4rOS0s16Pi2YEeCrKlLDnI9gKbx2fZSgM5pZNyf1djr5kWuU/9H
|
||||
94DiPb2NkqIalL/Wp1wBdi/I0BjDn4foj1j/waSjjNLVOq9NAOlcE8PzEhIwbStC
|
||||
sgPBxF5O1BNcUs5OQ9AmYPNdvyF0TDSADG2awl30dcRmCy0Pp0z7YbgKVmhJnWdl
|
||||
rmxTSg491F2c/86fFx6bTHUIB2ooWBd/xO4BTARcBxngulzRhd/8JHcp9gzz/+Zc
|
||||
wJuyi0kRzML/AINSNYLg
|
||||
=KEGf
|
||||
-----END PGP SIGNATURE-----
|
@ -1 +1 @@
|
||||
Thu, 17 Dec 2015 11:43:40 +0000
|
||||
Thu, 17 Dec 2015 13:44:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
Thu Dec 17 11:42:46 UTC 2015
|
||||
Thu Dec 17 13:43:06 UTC 2015
|
||||
|
@ -1 +1 @@
|
||||
Thu, 17 Dec 2015 12:00:01 +0000
|
||||
Thu, 17 Dec 2015 14:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1450352401 Thu 17 Dec 2015 11:40:01 AM UTC
|
||||
1450359901 Thu 17 Dec 2015 01:45:01 PM UTC
|
||||
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
ETYPE="sources"
|
||||
K_WANT_GENPATCHES="base extras experimental"
|
||||
K_GENPATCHES_VER="19"
|
||||
K_DEBLOB_AVAILABLE="0"
|
||||
UNIPATCH_STRICTORDER=1
|
||||
inherit kernel-2 eutils readme.gentoo
|
||||
detect_version
|
||||
detect_arch
|
||||
|
||||
AUFS_VERSION=4.1_p20151116
|
||||
AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
|
||||
# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
|
||||
AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
|
||||
IUSE="deblob experimental module vanilla"
|
||||
|
||||
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs4 support"
|
||||
SRC_URI="
|
||||
${KERNEL_URI}
|
||||
${ARCH_URI}
|
||||
${AUFS_URI}
|
||||
!vanilla? ( ${GENPATCHES_URI} )
|
||||
"
|
||||
|
||||
PDEPEND="=sys-fs/aufs-util-4*"
|
||||
|
||||
README_GENTOO_SUFFIX="-r1"
|
||||
|
||||
src_unpack() {
|
||||
if use vanilla; then
|
||||
unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
|
||||
ewarn "You are using USE=vanilla"
|
||||
ewarn "This will drop all support from the gentoo kernel security team"
|
||||
fi
|
||||
|
||||
UNIPATCH_LIST="
|
||||
"${WORKDIR}"/aufs4-kbuild.patch
|
||||
"${WORKDIR}"/aufs4-base.patch
|
||||
"${WORKDIR}"/aufs4-mmap.patch"
|
||||
|
||||
use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
|
||||
|
||||
unpack ${AUFS_TARBALL}
|
||||
|
||||
einfo "Using aufs4 version: ${AUFS_VERSION}"
|
||||
|
||||
kernel-2_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use module; then
|
||||
sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
|
||||
fi
|
||||
cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
|
||||
cp -rf "${WORKDIR}"/{Documentation,fs} . || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
kernel-2_src_install
|
||||
dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
|
||||
docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kernel-2_pkg_postinst
|
||||
einfo "For more info on this patchset, and how to report problems, see:"
|
||||
einfo "${HOMEPAGE}"
|
||||
has_version sys-fs/aufs-util || \
|
||||
elog "In order to use aufs FS you need to install sys-fs/aufs-util"
|
||||
|
||||
readme.gentoo_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
kernel-2_pkg_postrm
|
||||
}
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
ETYPE="sources"
|
||||
K_WANT_GENPATCHES="base extras experimental"
|
||||
K_GENPATCHES_VER="11"
|
||||
K_DEBLOB_AVAILABLE="0"
|
||||
UNIPATCH_STRICTORDER=1
|
||||
inherit kernel-2 eutils readme.gentoo
|
||||
detect_version
|
||||
detect_arch
|
||||
|
||||
AUFS_VERSION=4.2_p20151116
|
||||
AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
|
||||
# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
|
||||
AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
|
||||
IUSE="deblob experimental module vanilla"
|
||||
|
||||
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs4 support"
|
||||
SRC_URI="
|
||||
${KERNEL_URI}
|
||||
${ARCH_URI}
|
||||
${AUFS_URI}
|
||||
!vanilla? ( ${GENPATCHES_URI} )
|
||||
"
|
||||
|
||||
PDEPEND="=sys-fs/aufs-util-4*"
|
||||
|
||||
README_GENTOO_SUFFIX="-r1"
|
||||
|
||||
src_unpack() {
|
||||
if use vanilla; then
|
||||
unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
|
||||
ewarn "You are using USE=vanilla"
|
||||
ewarn "This will drop all support from the gentoo kernel security team"
|
||||
fi
|
||||
|
||||
UNIPATCH_LIST="
|
||||
"${WORKDIR}"/aufs4-kbuild.patch
|
||||
"${WORKDIR}"/aufs4-base.patch
|
||||
"${WORKDIR}"/aufs4-mmap.patch"
|
||||
|
||||
use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
|
||||
|
||||
unpack ${AUFS_TARBALL}
|
||||
|
||||
einfo "Using aufs4 version: ${AUFS_VERSION}"
|
||||
|
||||
kernel-2_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use module; then
|
||||
sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
|
||||
fi
|
||||
cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
|
||||
cp -rf "${WORKDIR}"/{Documentation,fs} . || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
kernel-2_src_install
|
||||
dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
|
||||
docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kernel-2_pkg_postinst
|
||||
einfo "For more info on this patchset, and how to report problems, see:"
|
||||
einfo "${HOMEPAGE}"
|
||||
has_version sys-fs/aufs-util || \
|
||||
elog "In order to use aufs FS you need to install sys-fs/aufs-util"
|
||||
|
||||
readme.gentoo_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
kernel-2_pkg_postrm
|
||||
}
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
ETYPE="sources"
|
||||
K_WANT_GENPATCHES="base extras experimental"
|
||||
K_GENPATCHES_VER="4"
|
||||
K_DEBLOB_AVAILABLE="0"
|
||||
UNIPATCH_STRICTORDER=1
|
||||
inherit kernel-2 eutils readme.gentoo
|
||||
detect_version
|
||||
detect_arch
|
||||
|
||||
AUFS_VERSION=4.3_p20151116
|
||||
AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
|
||||
# git archive -v --remote=git://git.code.sf.net/p/aufs/aufs4-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
|
||||
AUFS_URI="https://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
|
||||
IUSE="deblob experimental module vanilla"
|
||||
|
||||
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs4 support"
|
||||
SRC_URI="
|
||||
${KERNEL_URI}
|
||||
${ARCH_URI}
|
||||
${AUFS_URI}
|
||||
!vanilla? ( ${GENPATCHES_URI} )
|
||||
"
|
||||
|
||||
PDEPEND="=sys-fs/aufs-util-4*"
|
||||
|
||||
README_GENTOO_SUFFIX="-r1"
|
||||
|
||||
src_unpack() {
|
||||
if use vanilla; then
|
||||
unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
|
||||
ewarn "You are using USE=vanilla"
|
||||
ewarn "This will drop all support from the gentoo kernel security team"
|
||||
fi
|
||||
|
||||
UNIPATCH_LIST="
|
||||
"${WORKDIR}"/aufs4-kbuild.patch
|
||||
"${WORKDIR}"/aufs4-base.patch
|
||||
"${WORKDIR}"/aufs4-mmap.patch"
|
||||
|
||||
use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs4-standalone.patch"
|
||||
|
||||
unpack ${AUFS_TARBALL}
|
||||
|
||||
einfo "Using aufs4 version: ${AUFS_VERSION}"
|
||||
|
||||
kernel-2_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use module; then
|
||||
sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
|
||||
fi
|
||||
cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
|
||||
cp -rf "${WORKDIR}"/{Documentation,fs} . || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
kernel-2_src_install
|
||||
dodoc "${WORKDIR}"/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
|
||||
docompress -x /usr/share/doc/${PF}/{aufs4-loopback,vfs-ino,tmpfs-idr}.patch
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kernel-2_pkg_postinst
|
||||
einfo "For more info on this patchset, and how to report problems, see:"
|
||||
einfo "${HOMEPAGE}"
|
||||
has_version sys-fs/aufs-util || \
|
||||
elog "In order to use aufs FS you need to install sys-fs/aufs-util"
|
||||
|
||||
readme.gentoo_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
kernel-2_pkg_postrm
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit git-r3 savedconfig toolchain-funcs
|
||||
|
||||
DESCRIPTION="Simple plaintext presentation tool"
|
||||
HOMEPAGE="http://tools.suckless.org/sent/"
|
||||
EGIT_REPO_URI="http://git.suckless.org/sent/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
DEPEND="
|
||||
media-libs/fontconfig
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
!savedconfig? ( media-gfx/farbfeld )
|
||||
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's|^ @| |g' \
|
||||
-e 's|@${CC}|$(CC)|g' \
|
||||
-e '/^ echo/d' \
|
||||
Makefile || die
|
||||
|
||||
restore_config config.def.h
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="/usr" install
|
||||
}
|
Loading…
Reference in new issue