1 |
gregkh 13/10/31 20:47:50 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: docker-0.6.5.ebuild |
5 |
Log: |
6 |
version bump to 0.6.5 |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key ) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 app-emulation/docker/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/docker/ChangeLog?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/docker/ChangeLog?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/docker/ChangeLog?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/docker/ChangeLog,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- ChangeLog 5 Oct 2013 17:41:13 -0000 1.2 |
24 |
+++ ChangeLog 31 Oct 2013 20:47:50 -0000 1.3 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-emulation/docker |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/ChangeLog,v 1.2 2013/10/05 17:41:13 gregkh Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/ChangeLog,v 1.3 2013/10/31 20:47:50 gregkh Exp $ |
30 |
+ |
31 |
+*docker-0.6.5 (31 Oct 2013) |
32 |
+ |
33 |
+ 31 Oct 2013; Greg Kroah-Hartman <gregkh@g.o> +docker-0.6.5.ebuild: |
34 |
+ version bump to 0.6.5 |
35 |
|
36 |
*docker-0.6.3-r1 (05 Oct 2013) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 app-emulation/docker/docker-0.6.5.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/docker/docker-0.6.5.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/docker/docker-0.6.5.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: docker-0.6.5.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/docker-0.6.5.ebuild,v 1.1 2013/10/31 20:47:50 gregkh Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
DESCRIPTION="Docker complements LXC with a high-level API which operates at the process level." |
55 |
HOMEPAGE="http://www.docker.io/" |
56 |
SRC_URI="" |
57 |
|
58 |
EGIT_REPO_URI="git://github.com/dotcloud/docker.git" |
59 |
if [[ ${PV} == *9999 ]]; then |
60 |
KEYWORDS="" |
61 |
else |
62 |
EGIT_COMMIT="v${PV}" |
63 |
KEYWORDS="~amd64" |
64 |
fi |
65 |
|
66 |
inherit bash-completion-r1 git-2 linux-info systemd user |
67 |
|
68 |
LICENSE="Apache-2.0" |
69 |
SLOT="0" |
70 |
IUSE="doc vim-syntax" |
71 |
|
72 |
CDEPEND=" |
73 |
>=dev-db/sqlite-3.7.9:3 |
74 |
" |
75 |
DEPEND=" |
76 |
${CDEPEND} |
77 |
>=dev-lang/go-1.1.2 |
78 |
dev-vcs/git |
79 |
dev-vcs/mercurial |
80 |
doc? ( |
81 |
dev-python/sphinx |
82 |
dev-python/sphinxcontrib-httpdomain |
83 |
) |
84 |
" |
85 |
RDEPEND=" |
86 |
${CDEPEND} |
87 |
!app-emulation/lxc-docker-bin |
88 |
>=app-arch/tar-1.26 |
89 |
>=sys-apps/iproute2-3.5 |
90 |
>=net-firewall/iptables-1.4 |
91 |
>=app-emulation/lxc-0.8 |
92 |
>=dev-vcs/git-1.7 |
93 |
>=app-arch/xz-utils-4.9 |
94 |
|| ( |
95 |
sys-fs/aufs3 |
96 |
sys-kernel/aufs-sources |
97 |
) |
98 |
" |
99 |
|
100 |
RESTRICT="strip" |
101 |
|
102 |
CONFIG_CHECK=" |
103 |
~AUFS_FS |
104 |
~BRIDGE |
105 |
~MEMCG_SWAP |
106 |
~NETFILTER_XT_MATCH_ADDRTYPE |
107 |
~NF_NAT |
108 |
~NF_NAT_NEEDED |
109 |
" |
110 |
|
111 |
# TODO AUFS will be replaced with device-mapper (requires sys-fs/lvm2[thin]) in 0.7 |
112 |
ERROR_AUFS_FS="AUFS_FS is required to be set if and only if aufs-sources are used" |
113 |
|
114 |
ERROR_MEMCG_SWAP="MEMCG_SWAP is required if you wish to limit swap usage of containers" |
115 |
|
116 |
pkg_setup() { |
117 |
check_extra_config |
118 |
} |
119 |
|
120 |
src_unpack() { |
121 |
git-2_src_unpack |
122 |
} |
123 |
|
124 |
src_compile() { |
125 |
export GOPATH="${WORKDIR}/gopath" |
126 |
mkdir -p "$GOPATH" || die |
127 |
|
128 |
# make sure docker itself is in our shiny new GOPATH |
129 |
mkdir -p "${GOPATH}/src/github.com/dotcloud" || die |
130 |
ln -sf "$(pwd -P)" "${GOPATH}/src/github.com/dotcloud/docker" || die |
131 |
|
132 |
# we need our vendored deps, too |
133 |
export GOPATH="$GOPATH:$(pwd -P)/vendor" |
134 |
|
135 |
# time to build! |
136 |
./hack/make.sh dynbinary || die |
137 |
|
138 |
if use doc; then |
139 |
emake -C docs docs || die |
140 |
fi |
141 |
} |
142 |
|
143 |
src_install() { |
144 |
VERSION=$(cat VERSION) |
145 |
newbin bundles/$VERSION/dynbinary/docker-$VERSION docker |
146 |
exeinto /usr/libexec/docker |
147 |
newexe bundles/$VERSION/dynbinary/dockerinit-$VERSION dockerinit |
148 |
|
149 |
newinitd contrib/init/openrc/docker.initd docker |
150 |
newconfd contrib/init/openrc/docker.confd docker |
151 |
|
152 |
systemd_dounit contrib/init/systemd/docker.service |
153 |
|
154 |
dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md NOTICE README.md |
155 |
if use doc; then |
156 |
dohtml -r docs/_build/html/* |
157 |
fi |
158 |
|
159 |
dobashcomp contrib/completion/bash/* |
160 |
|
161 |
insinto /usr/share/zsh/site-functions |
162 |
doins contrib/completion/zsh/* |
163 |
|
164 |
if use vim-syntax; then |
165 |
insinto /usr/share/vim/vimfiles |
166 |
doins -r contrib/vim-syntax/ftdetect |
167 |
doins -r contrib/vim-syntax/syntax |
168 |
fi |
169 |
|
170 |
insinto /usr/share/${P}/contrib |
171 |
doins contrib/README |
172 |
cp -R "${S}/contrib"/* "${D}/usr/share/${P}/contrib/" |
173 |
} |
174 |
|
175 |
pkg_postinst() { |
176 |
elog "" |
177 |
elog "To use docker, the docker daemon must be running as root. To automatically" |
178 |
elog "start the docker daemon at boot, add docker to the default runlevel:" |
179 |
elog " rc-update add docker default" |
180 |
elog "Similarly for systemd:" |
181 |
elog " systemctl enable docker.service" |
182 |
elog "" |
183 |
|
184 |
# create docker group if the code checking for it in /etc/group exists |
185 |
enewgroup docker |
186 |
|
187 |
elog "To use docker as a non-root user, add yourself to the docker group." |
188 |
elog "" |
189 |
|
190 |
ewarn "" |
191 |
ewarn "If you want your containers to have access to the public internet or even" |
192 |
ewarn "the existing private network, IP Forwarding must be enabled:" |
193 |
ewarn " sysctl -w net.ipv4.ip_forward=1" |
194 |
ewarn "or more permanently:" |
195 |
ewarn " echo net.ipv4.ip_forward = 1 > /etc/sysctl.d/${PN}.conf" |
196 |
ewarn "Please be mindful of the security implications of enabling IP Forwarding." |
197 |
ewarn "" |
198 |
} |