Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 351826 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-9999.ebuild
cjdns-9999.ebuild (text/plain), 2.26 KB, created by
Emery Hemingway
on 2013-06-24 18:41:07 UTC
(
hide
)
Description:
cjdns-9999.ebuild
Filename:
MIME Type:
Creator:
Emery Hemingway
Created:
2013-06-24 18:41:07 UTC
Size:
2.26 KB
patch
obsolete
># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=5 > >inherit eutils cmake-utils git-2 linux-info systemd > >DESCRIPTION="Distributed routing engine and TUN interface" >HOMEPAGE="https://github.com/cjdelisle/cjdns" >EGIT_REPO_URI="git://github.com/cjdelisle/cjdns.git \ > https://github.com/cjdelisle/cjdns.git" >LICENSE="GPL-3" > >SLOT="0" >KEYWORDS="~x86 ~amd64 ~ppc64" >IUSE="static-libs" > >RDEPEND="dev-libs/libevent" >DEPEND="${RDEPEND} > sys-devel/gcc:4.6" > >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() { > local required_version="4.6" > einfo "checking current gcc profile" > if ! version_is_at_least ${required_version} $(gcc-version) ; then > eerror "${P} requires gcc-${required_version} or greater to build." > eerror "Have you gcc-config'ed to the latest version?" > die "current gcc profile is less than ${required_version}" > fi >} > >src_configure() { > if use static-libs ; then > local STATIC=1 > else > local NO_STATIC=1 > fi > cmake-utils_src_configure >} > >src_install() { > systemd_dounit contrib/systemd/cjdns.service > newinitd "$FILESDIR/cjdns.runscript" cjdns > > dodoc README.md > dodoc rfcs/* > > cd "${CMAKE_BUILD_DIR}/admin/angel" || die "could not chdir to admin/angel" > dolib.a libcjdns-*.a > mv cjdroute2 cjdroute > dosbin cjdns 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." >}
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