Gentoo Archives: gentoo-commits

From: "Jauhien Piatlicki (jauhien)" <jauhien@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-block/zram-init: zram-init-3.0.ebuild ChangeLog zram-init-2.7-r1.ebuild
Date: Mon, 29 Sep 2014 21:48:25
Message-Id: 20140929214820.E75805D2@oystercatcher.gentoo.org
1 jauhien 14/09/29 21:48:20
2
3 Modified: ChangeLog
4 Added: zram-init-3.0.ebuild
5 Removed: zram-init-2.7-r1.ebuild
6 Log:
7 version bump
8
9 (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 0xB2EFA1D4)
10
11 Revision Changes Path
12 1.2 sys-block/zram-init/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/zram-init/ChangeLog?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/zram-init/ChangeLog?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/zram-init/ChangeLog?r1=1.1&r2=1.2
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-block/zram-init/ChangeLog,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- ChangeLog 10 May 2014 22:45:39 -0000 1.1
25 +++ ChangeLog 29 Sep 2014 21:48:20 -0000 1.2
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sys-block/zram-init
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-block/zram-init/ChangeLog,v 1.1 2014/05/10 22:45:39 jauhien Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-block/zram-init/ChangeLog,v 1.2 2014/09/29 21:48:20 jauhien Exp $
31 +
32 +*zram-init-3.0 (29 Sep 2014)
33 +
34 + 29 Sep 2014; Jauhien Piatlicki <jauhien@g.o> +zram-init-3.0.ebuild,
35 + -zram-init-2.7-r1.ebuild:
36 + version bump
37
38 *zram-init-2.7-r1 (10 May 2014)
39
40
41
42
43 1.1 sys-block/zram-init/zram-init-3.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/zram-init/zram-init-3.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/zram-init/zram-init-3.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: zram-init-3.0.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-block/zram-init/zram-init-3.0.ebuild,v 1.1 2014/09/29 21:48:20 jauhien Exp $
53
54 EAPI=5
55 inherit eutils readme.gentoo systemd
56
57 DESCRIPTION="Scripts to support compressed swap devices or ramdisks with zram"
58 HOMEPAGE="https://github.com/vaeth/zram-init/"
59 SRC_URI="https://github.com/vaeth/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64
65 DISABLE_AUTOFORMATTING="true"
66 DOC_CONTENTS="To use zram, activate it in your kernel and add it to default runlevel:
67 rc-config add zram default
68 If you use systemd enable zram_swap, tmp, and/or var_tmp with systemctl.
69 You might need to modify /etc/modprobe.d/zram.conf"
70
71 src_prepare() {
72 use prefix || sed -i \
73 -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \
74 -- sbin/* || die
75 epatch_user
76 }
77
78 src_install() {
79 dosbin sbin/*
80 doinitd openrc/init.d/*
81 doconfd openrc/conf.d/*
82 systemd_dounit systemd/system/*
83 insinto /etc/modprobe.d
84 doins modprobe.d/*
85 insinto /usr/share/zsh/site-functions
86 doins zsh/*
87 readme.gentoo_create_doc
88 }