Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 375298 Details for
Bug 474630
net-p2p/cjdns - Encrypted networking for regular people
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
cjdns-20140303.ebuild
cjdns-20140303.ebuild (text/plain), 2.17 KB, created by
Emery Hemingway
on 2014-04-19 14:52:41 UTC
(
hide
)
Description:
cjdns-20140303.ebuild
Filename:
MIME Type:
Creator:
Emery Hemingway
Created:
2014-04-19 14:52:41 UTC
Size:
2.17 KB
patch
obsolete
># Copyright 1999-2014 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=5 > >PYTHON_COMPAT=( python{2_6,2_7} ) > >inherit eutils git-r3 linux-info systemd python-single-r1 flag-o-matic > >DESCRIPTION="Encrypted networking for regular people" >HOMEPAGE="https://github.com/cjdelisle/cjdns" >EGIT_REPO_URI="git://github.com/cjdelisle/cjdns.git \ > https://github.com/cjdelisle/cjdns.git" >EGIT_COMMIT="f11ce1fd4795b0173ac0ef18c8a6f752aa824adb" >LICENSE="GPL-3" > >SLOT="0" >KEYWORDS="~amd64 ~x86" >ISUE="" > >DEPEND=">=net-libs/nodejs-0.8.15 > dev-lang/python:2.7" > >pkg_setup() { > linux-info_pkg_setup > if ! linux_config_exists; then > eerror "Unable to check your kernel for TUN support" > else > CONFIG_CHECK="~TUN" > ERROR_TUN="Your kernel lacks TUN support." > fi >} > >src_prepare() { > epatch "${FILESDIR}/absolute-unit.patch" >} > >src_compile() { > python_setup > append-flags -Wno-error > ./do || die "./do failed" >} > >src_install() { > systemd_dounit contrib/systemd/cjdns.service > newinitd "${FILESDIR}/cjdns.runscript" cjdns > > dodoc README.md rfcs/* > dosbin cjdroute >} > >pkg_postinst() { > local config_file="cjdroute.conf" > local config_path="${ROOT}etc/${config_file}" > > if [[ ! -e "${config_path}" ]] ; then > ebegin "Generating ${config_file}..." > (umask 077 && cjdroute --genconf > "${T}/${config_file}") || die "cjdroute --genconf failed" > mv "${T}/${config_file}" "${config_path}" > eend ${?} || die "Failed to generate and install ${config_file}" > elog "The keys in ${config_path} have been autogenerated during " > elog "emerge, they are not defaults and do not need to be overwritten." > fi > ewarn "Protect ${config_path}! A lost conf file means you have " > ewarn "lost your password and connections and anyone who connected " > ewarn "to you will no longer be able to connect. A *compromised* " > ewarn "conf file means that other people can impersonate you on " > ewarn "the network." > ewarn > einfo "The cjdns runscript will load the TUN kernel module automatically." > einfo "If you are using systemd and have TUN built as a module, add tun " > einfo "to /etc/modules-load.d/ for automatic loading at boot-time." > einfo "echo tun > /etc/modules-load.d/cjnds.conf" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 474630
:
351826
|
351828
|
351918
|
351920
|
352552
|
352562
|
352564
|
354670
|
354672
|
354674
|
354676
|
354678
|
375298
|
375300
|
422000
|
422002
|
422004
|
456280
|
487542