1 |
robbat2 14/12/29 00:12:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: linux-misc-apps-3.18.ebuild |
5 |
Log: |
6 |
Bump. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.8 sys-apps/linux-misc-apps/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/linux-misc-apps/ChangeLog?rev=1.8&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/linux-misc-apps/ChangeLog?rev=1.8&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/linux-misc-apps/ChangeLog?r1=1.7&r2=1.8 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/linux-misc-apps/ChangeLog,v |
20 |
retrieving revision 1.7 |
21 |
retrieving revision 1.8 |
22 |
diff -u -r1.7 -r1.8 |
23 |
--- ChangeLog 18 Feb 2014 07:59:11 -0000 1.7 |
24 |
+++ ChangeLog 29 Dec 2014 00:12:01 -0000 1.8 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sys-apps/linux-misc-apps |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/linux-misc-apps/ChangeLog,v 1.7 2014/02/18 07:59:11 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/linux-misc-apps/ChangeLog,v 1.8 2014/12/29 00:12:01 robbat2 Exp $ |
30 |
+ |
31 |
+*linux-misc-apps-3.18 (29 Dec 2014) |
32 |
+ |
33 |
+ 29 Dec 2014; Robin H. Johnson <robbat2@g.o> +files/freefall.confd, |
34 |
+ +files/freefall.initd, +linux-misc-apps-3.18.ebuild: |
35 |
+ Bump. |
36 |
|
37 |
18 Feb 2014; Samuli Suominen <ssuominen@g.o> |
38 |
linux-misc-apps-3.6-r2.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-apps/linux-misc-apps/linux-misc-apps-3.18.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/linux-misc-apps/linux-misc-apps-3.18.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/linux-misc-apps/linux-misc-apps-3.18.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: linux-misc-apps-3.18.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/linux-misc-apps/linux-misc-apps-3.18.ebuild,v 1.1 2014/12/29 00:12:01 robbat2 Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit versionator eutils toolchain-funcs linux-info autotools flag-o-matic |
56 |
|
57 |
DESCRIPTION="Misc tools bundled with kernel sources" |
58 |
HOMEPAGE="http://kernel.org/" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~ppc ~x86" |
63 |
IUSE="static-libs tcpd" |
64 |
|
65 |
MY_PV="${PV/_/-}" |
66 |
MY_PV="${MY_PV/-pre/-git}" |
67 |
|
68 |
LINUX_V=$(get_version_component_range 1-2) |
69 |
|
70 |
if [ ${PV/_rc} != ${PV} ]; then |
71 |
LINUX_VER=$(get_version_component_range 1-2).$(($(get_version_component_range 3)-1)) |
72 |
PATCH_VERSION=$(get_version_component_range 1-3) |
73 |
LINUX_PATCH=patch-${PV//_/-}.xz |
74 |
SRC_URI="mirror://kernel/linux/kernel/v3.x/testing/${LINUX_PATCH} |
75 |
mirror://kernel/linux/kernel/v3.x/testing/v${PATCH_VERSION}/${LINUX_PATCH}" |
76 |
elif [ $(get_version_component_count) == 4 ]; then |
77 |
# stable-release series |
78 |
LINUX_VER=$(get_version_component_range 1-3) |
79 |
LINUX_PATCH=patch-${PV}.xz |
80 |
SRC_URI="mirror://kernel/linux/kernel/v3.x/${LINUX_PATCH}" |
81 |
else |
82 |
LINUX_VER=${PV} |
83 |
fi |
84 |
|
85 |
LINUX_SOURCES=linux-${LINUX_VER}.tar.xz |
86 |
SRC_URI="${SRC_URI} mirror://kernel/linux/kernel/v3.x/${LINUX_SOURCES}" |
87 |
|
88 |
# pmtools also provides turbostat |
89 |
# usbip available in seperate package now |
90 |
RDEPEND="sys-apps/hwids |
91 |
>=dev-libs/glib-2.6 |
92 |
tcpd? ( sys-apps/tcp-wrappers ) |
93 |
!sys-power/pmtools" |
94 |
DEPEND="${RDEPEND} |
95 |
virtual/pkgconfig" |
96 |
|
97 |
S="${WORKDIR}/linux-${LINUX_VER}" |
98 |
|
99 |
# All of these are integrated with the kernel build system, |
100 |
# No make install, and ideally build with with the root Makefile |
101 |
TARGETS_SIMPLE=( |
102 |
Documentation/accounting/getdelays.c |
103 |
tools/cgroup/cgroup_event_listener.c |
104 |
Documentation/laptops/dslm.c |
105 |
Documentation/laptops/freefall.c |
106 |
Documentation/networking/timestamping/timestamping.c |
107 |
Documentation/watchdog/src/watchdog-simple.c |
108 |
tools/lguest/lguest.c |
109 |
tools/vm/slabinfo.c |
110 |
usr/gen_init_cpio.c |
111 |
) |
112 |
# tools/vm/page-types.c - broken, header path issue |
113 |
# tools/hv/hv_kvp_daemon.c - broken in 3.7 by missing linux/hyperv.h userspace |
114 |
# Documentation/networking/ifenslave.c - obsolete |
115 |
# Documentation/ptp/testptp.c - pending linux-headers-3.0 |
116 |
|
117 |
# These have a broken make install, no DESTDIR |
118 |
TARGET_MAKE_SIMPLE=( |
119 |
tools/firewire:nosy-dump |
120 |
tools/power/x86/turbostat:../../../../turbostat |
121 |
tools/power/x86/x86_energy_perf_policy:x86_energy_perf_policy |
122 |
Documentation/misc-devices/mei:mei-amt-version |
123 |
) |
124 |
# tools/perf - covered by dev-utils/perf |
125 |
# tools/usb - testcases only |
126 |
# tools/virtio - testcaes only |
127 |
|
128 |
#for _pattern in {Documentation,scripts,tools,usr,include,lib,"arch/*/include",Makefile,Kbuild,Kconfig}; do |
129 |
src_unpack() { |
130 |
unpack ${LINUX_SOURCES} |
131 |
|
132 |
MY_A= |
133 |
for _AFILE in ${A}; do |
134 |
[[ ${_AFILE} == ${LINUX_SOURCES} ]] && continue |
135 |
[[ ${_AFILE} == ${LINUX_PATCH} ]] && continue |
136 |
MY_A="${MY_A} ${_AFILE}" |
137 |
done |
138 |
[[ -n ${MY_A} ]] && unpack ${MY_A} |
139 |
} |
140 |
|
141 |
src_prepare() { |
142 |
if [[ -n ${LINUX_PATCH} ]]; then |
143 |
epatch "${DISTDIR}"/${LINUX_PATCH} |
144 |
fi |
145 |
|
146 |
sed -i \ |
147 |
-e '/^nosy-dump.*LDFLAGS/d' \ |
148 |
-e '/^nosy-dump.*CFLAGS/d' \ |
149 |
-e '/^nosy-dump.*CPPFLAGS/s,CPPFLAGS =,CPPFLAGS +=,g' \ |
150 |
"${S}"/tools/firewire/Makefile |
151 |
} |
152 |
|
153 |
kernel_asm_arch() { |
154 |
a="${1:${ARCH}}" |
155 |
case ${a} in |
156 |
# Merged arches |
157 |
x86|amd64) echo x86 ;; |
158 |
ppc*) echo powerpc ;; |
159 |
# Non-merged |
160 |
alpha|arm|ia64|m68k|mips|sh|sparc*) echo ${1} ;; |
161 |
*) die "TODO: Update the code for your asm-ARCH symlink" ;; |
162 |
esac |
163 |
} |
164 |
|
165 |
src_configure() { |
166 |
: |
167 |
} |
168 |
|
169 |
src_compile() { |
170 |
local karch=$(kernel_asm_arch "${ARCH}") |
171 |
# This is the minimal amount needed to start building host binaries. |
172 |
#emake allmodconfig ARCH=${karch} |
173 |
#emake prepare modules_prepare ARCH=${karch} |
174 |
#touch Module.symvers |
175 |
|
176 |
# Now we can start building |
177 |
for s in ${TARGETS_SIMPLE[@]} ; do |
178 |
dir=$(dirname $s) src=$(basename $s) bin=${src%.c} |
179 |
einfo "Building $s => $bin" |
180 |
emake -f /dev/null M=${dir} ARCH=${karch} ${s%.c} |
181 |
done |
182 |
|
183 |
for t in ${TARGET_MAKE_SIMPLE[@]} ; do |
184 |
dir=${t/:*} target=${t/*:} |
185 |
einfo "Building $dir => $target" |
186 |
emake -C $dir ARCH=${karch} $target |
187 |
done |
188 |
} |
189 |
|
190 |
src_install() { |
191 |
into /usr |
192 |
for s in ${TARGETS_SIMPLE[@]} ; do |
193 |
dir=$(dirname $s) src=$(basename $s) bin=${src%.c} |
194 |
einfo "Installing $s => $bin" |
195 |
dosbin ${dir}/${bin} |
196 |
done |
197 |
|
198 |
for t in ${TARGET_MAKE_SIMPLE[@]} ; do |
199 |
dir=${t/:*} target=${t/*:} |
200 |
einfo "Installing $dir => $target" |
201 |
dosbin ${dir}/${target} |
202 |
done |
203 |
|
204 |
newconfd "${FILESDIR}"/freefall.confd freefall |
205 |
newinitd "${FILESDIR}"/freefall.initd freefall |
206 |
prune_libtool_files |
207 |
} |
208 |
|
209 |
pkg_postinst() { |
210 |
echo |
211 |
elog "The cpupower utility is maintained separately at sys-power/cpupower" |
212 |
elog "The usbip utility is maintained separately at net-misc/usbip" |
213 |
} |