Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nayuos-ebuilds
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
nayuos-ebuilds
Commits
8eeb72cd
Commit
8eeb72cd
authored
Nov 06, 2015
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ebuilds to be put in chromiumos-overlay.
parents
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
430 additions
and
0 deletions
+430
-0
README.md
README.md
+14
-0
chromeos-base/re6stnet-init/files/re6st.conf
chromeos-base/re6stnet-init/files/re6st.conf
+48
-0
chromeos-base/re6stnet-init/files/re6st_shill.conf
chromeos-base/re6stnet-init/files/re6st_shill.conf
+111
-0
chromeos-base/re6stnet-init/re6stnet-init-1.ebuild
chromeos-base/re6stnet-init/re6stnet-init-1.ebuild
+20
-0
dev-python/miniupnpc/files/0001-Link-Python-module-against-the-shared-library.patch
.../0001-Link-Python-module-against-the-shared-library.patch
+24
-0
dev-python/miniupnpc/miniupnpc-1.8.ebuild
dev-python/miniupnpc/miniupnpc-1.8.ebuild
+30
-0
net-libs/miniupnpc/miniupnpc-1.8.ebuild
net-libs/miniupnpc/miniupnpc-1.8.ebuild
+50
-0
net-misc/babeld-re6stnet/README.md
net-misc/babeld-re6stnet/README.md
+3
-0
net-misc/babeld-re6stnet/babeld-re6stnet-1.5.1_p3.ebuild
net-misc/babeld-re6stnet/babeld-re6stnet-1.5.1_p3.ebuild
+35
-0
net-misc/babeld-re6stnet/babeld-re6stnet-1.6.2_p1.ebuild
net-misc/babeld-re6stnet/babeld-re6stnet-1.6.2_p1.ebuild
+2
-0
net-misc/re6stnet/re6stnet-3.9.1.ebuild
net-misc/re6stnet/re6stnet-3.9.1.ebuild
+46
-0
net-misc/re6stnet/re6stnet-3.9.1_p1.ebuild
net-misc/re6stnet/re6stnet-3.9.1_p1.ebuild
+47
-0
No files found.
README.md
0 → 100644
View file @
8eeb72cd
Custom ebuild needed for NayuOS and added to the existing overlays.
# Existing ebuilds original sources
## net-libs/miniupnpc
Source: https://gitweb.gentoo.org/repo/gentoo.git/plain/net-libs/miniupnpc/miniupnpc-1.8.ebuild
## dev-python/miniupnpc
Source: https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-python/miniupnpc/miniupnpc-1.8.ebuild
## net-misc/babeld-re6stnet
Original: http://data.gpo.zugaina.org/eigenlay/net-misc/babeld/babeld-9999.ebuild (modified)
# Home-made ebuilds
## net-misc/re6stnet
chromeos-base/re6stnet-init/files/re6st.conf
0 → 100644
View file @
8eeb72cd
author
"NayuOS team"
description
"Resilient, Scalable, IPv6 Network application"
chdir
/
etc
/
re6stnet
pre
-
start
script
# interface configuration
sysctl
net
.
ipv6
.
conf
.
wlan0
.
accept_ra
=
0
||
sysctl
net
.
ipv6
.
conf
.
mlan0
.
accept_ra
=
0
# firewall configuration
ip6tables
-
P
FORWARD
ACCEPT
ip6tables
-
A
OUTPUT
-
p
udp
--
dport
6696
-
j
ACCEPT
ip6tables
-
A
OUTPUT
-
p
udp
--
dport
326
-
j
ACCEPT
ip6tables
-
A
INPUT
-
p
udp
--
dport
6696
-
j
ACCEPT
ip6tables
-
A
INPUT
-
p
udp
--
dport
326
-
j
ACCEPT
ip6tables
-
A
INPUT
-
p
tcp
--
dport
9684
-
j
ACCEPT
ip6tables
-
A
INPUT
-
p
tcp
--
dport
50005
-
j
ACCEPT
stop
shill
||
echo
shill
already
stopped
stop
shill_respawn
||
echo
shill_respawn
already
stopped
start
re6st_shill
&&
echo
start
re6st_shill
end
script
script
if
[ -
f
re6stnet
.
conf
] ;
then
if
[ ! -
f
/
usr
/
bin
/
re6stnet
] ;
then
# @ is a Python notation
exec
/
usr
/
local
/
bin
/
re6stnet
@
re6stnet
.
conf
else
exec
/
usr
/
bin
/
re6stnet
@
re6stnet
.
conf
fi
fi
end
script
post
-
stop
script
# remove firewall configuration
ip6tables
-
D
OUTPUT
-
p
udp
--
dport
6696
-
j
ACCEPT
ip6tables
-
D
OUTPUT
-
p
udp
--
dport
326
-
j
ACCEPT
ip6tables
-
D
INPUT
-
p
udp
--
dport
6696
-
j
ACCEPT
ip6tables
-
D
INPUT
-
p
udp
--
dport
326
-
j
ACCEPT
ip6tables
-
D
INPUT
-
p
tcp
--
dport
9684
-
j
ACCEPT
ip6tables
-
D
INPUT
-
p
tcp
--
dport
50005
-
j
ACCEPT
stop
re6st_shill
start
shill
end
script
\ No newline at end of file
chromeos-base/re6stnet-init/files/re6st_shill.conf
0 → 100644
View file @
8eeb72cd
#
# Copyright (C) 2012 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
description
"Run the shill network connection manager with specific blacklisted devices for re6st"
author
"chromium-os-dev@chromium.org ; minor modifications for re6st by NayuOS team"
# shill termination may take more than 5s (the default kill timeout) in some
# cases (e.g. it needs to disconnect a cellular modem from the network). A
# longer kill timeout is used to ensure that shill terminates properly in most
# cases. Also, stop shill on "starting pre-shutdown" so its exiting blocks the
# chromeos_shutdown script from running (jobs that "stop on stopping
# boot-services" may still be running in parallel with chromeos_shutdown if
# they do not exit quickly).
start
on
started
network
-
services
and
started
wpasupplicant
stop
on
starting
pre
-
shutdown
kill
timeout
10
respawn
# Default parameters to be overridden by upstart configuration.
env
SHILL_LOG_LEVEL
=
0
env
SHILL_LOG_SCOPES
=
env
SHILL_PASSIVE_MODE
=
env
SHILL_PREPEND_DNS_SERVERS
=
env
SHILL_ACCEPT_HOSTNAME_FROM
=
env
SHILL_MINIMUM_MTU
=
env
BLACKLISTED_DEVICES
=
re6stnet
-
tcp
,
re6stnet10
,
re6stnet9
,
re6stnet8
,
re6stnet7
,
re6stnet6
,
re6stnet5
,
re6stnet4
,
re6stnet3
,
re6stnet2
,
re6stnet1
,
tun0
,
tun1
,
tun2
env
DHCPV6_ENABLED_DEVICES
=
# Hook for mod_for_test_scripts/100setupTestingInterface.
env
SHILL_TEST_DEVICES
=
""
pre
-
start
script
bootstat
shill
-
start
# Create state directory
mkdir
-
p
/
var
/
run
/
shill
# Create storage for the shill global profile.
mkdir
-
p
/
var
/
cache
/
shill
# Use flimflam's default profile if shill doesn't have one.
if
[ ! -
f
/
var
/
cache
/
shill
/
default
.
profile
-
a
\
-
f
/
var
/
cache
/
flimflam
/
default
.
profile
];
then
mv
/
var
/
cache
/
flimflam
/
default
.
profile
/
var
/
cache
/
shill
/
default
.
profile
chmod
a
+
r
/
var
/
cache
/
shill
/
default
.
profile
fi
# Set up dhcpcd's /var/{lib|run} dirs to run as user 'dhcp'.
mkdir
-
m
0755
-
p
/
var
/
lib
/
dhcpcd
mkdir
-
m
0755
-
p
/
var
/
run
/
dhcpcd
chmod
-
R
u
+
rwX
,
g
+
rX
,
o
+
rX
/
var
/
lib
/
dhcpcd
chown
-
R
dhcp
:
dhcp
/
var
/
lib
/
dhcpcd
chown
-
R
dhcp
:
dhcp
/
var
/
run
/
dhcpcd
# This option is no longer supported.
rm
-
f
/
home
/
chronos
/.
disable_shill
end
script
post
-
stop
script
bootstat
shill
-
stop
end
script
script
DAEMONBIN
=
"shill"
ARGS
=
"--log-level=${SHILL_LOG_LEVEL} --log-scopes=${SHILL_LOG_SCOPES}"
if
[ -
n
"${BLACKLISTED_DEVICES}"
] && [ -
n
"${SHILL_TEST_DEVICES}"
];
then
ARGS
=
"${ARGS} --device-black-list=${BLACKLISTED_DEVICES},${SHILL_TEST_DEVICES}"
elif
[ -
n
"${BLACKLISTED_DEVICES}"
];
then
ARGS
=
"${ARGS} --device-black-list=${BLACKLISTED_DEVICES}"
elif
[ -
n
"${SHILL_TEST_DEVICES}"
];
then
ARGS
=
"${ARGS} --device-black-list=${SHILL_TEST_DEVICES}"
fi
if
[ -
n
"${SHILL_PASSIVE_MODE}"
];
then
ARGS
=
"${ARGS} --passive-mode"
fi
if
[ -
n
"${SHILL_PREPEND_DNS_SERVERS}"
];
then
ARGS
=
"${ARGS} --prepend-dns-servers=${SHILL_PREPEND_DNS_SERVERS}"
fi
if
[ -
n
"${SHILL_ACCEPT_HOSTNAME_FROM}"
];
then
ARGS
=
"${ARGS} --accept-hostname-from=${SHILL_ACCEPT_HOSTNAME_FROM}"
fi
if
[ -
n
"${SHILL_MINIMUM_MTU}"
];
then
ARGS
=
"${ARGS} --minimum-mtu=${SHILL_MINIMUM_MTU}"
fi
if
[ -
n
"${DHCPV6_ENABLED_DEVICES}"
];
then
ARGS
=
"${ARGS} --dhcpv6-enabled-devices=${DHCPV6_ENABLED_DEVICES}"
fi
ARGS
=
"${ARGS} ${SHILL_TEST_ARGS}"
# If OOBE has not completed (i.e. EULA not agreed to), do not run
# portal checks.
if
[ ! -
f
/
home
/
chronos
/.
oobe_completed
];
then
ARGS
=
"${ARGS} --portal-list="
fi
exec
${
DAEMONBIN
} ${
ARGS
}
end
script
\ No newline at end of file
chromeos-base/re6stnet-init/re6stnet-init-1.ebuild
0 → 100644
View file @
8eeb72cd
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI
=
4
LICENSE
=
"GPL-2"
SLOT
=
"0"
KEYWORDS
=
"*"
S
=
${
WORKDIR
}
RDEPEND
=
"net-misc/re6stnet"
src_install
()
{
insinto /etc/init
doins
"
${
FILESDIR
}
"
/
*
.conf
dosym /home/chronos/user/.re6stconf /etc/re6stnet
}
\ No newline at end of file
dev-python/miniupnpc/files/0001-Link-Python-module-against-the-shared-library.patch
0 → 100644
View file @
8eeb72cd
From 34da047ae5b945a43430f59efe0efefdd8f1ba55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Wed, 3 Aug 2011 08:28:31 +0200
Subject: [PATCH] Link Python module against the shared library.
---
setup.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/setup.py b/setup.py
index ca31f96..f5aef19 100644
--- a/setup.py
+++ b/setup.py
@@ -10,6 +10,6 @@
from distutils.core import setup, Extension
setup(name="miniupnpc", version="1.5",
ext_modules=[
Extension(name="miniupnpc", sources=["miniupnpcmodule.c"],
- extra_objects=["libminiupnpc.a"])
+ libraries=["miniupnpc"])
])
--
1.7.6
dev-python/miniupnpc/miniupnpc-1.8.ebuild
0 → 100644
View file @
8eeb72cd
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI
=
5
PYTHON_COMPAT
=(
python2_7
)
DISTUTILS_SINGLE_IMPL
=
1
inherit distutils-r1
DESCRIPTION
=
"Python bindings for UPnP client library"
HOMEPAGE
=
"http://miniupnp.free.fr/"
SRC_URI
=
"http://miniupnp.free.fr/files/
${
P
}
.tar.gz"
RESTRICT
=
"mirror"
LICENSE
=
"BSD"
SLOT
=
"0"
KEYWORDS
=
"arm amd64 ppc ppc64 x86"
IUSE
=
""
RDEPEND
=
">=net-libs/miniupnpc-
${
PV
}
"
DEPEND
=
"
${
RDEPEND
}
"
PATCHES
=(
"
${
FILESDIR
}
"
/0001-Link-Python-module-against-the-shared-library.patch
)
# DOCS are installed by net-libs/miniupnpc.
DOCS
=()
net-libs/miniupnpc/miniupnpc-1.8.ebuild
0 → 100644
View file @
8eeb72cd
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI
=
5
inherit eutils multilib toolchain-funcs
DESCRIPTION
=
"UPnP client library and a simple UPnP client"
HOMEPAGE
=
"http://miniupnp.free.fr/"
SRC_URI
=
"http://miniupnp.free.fr/files/
${
P
}
.tar.gz"
LICENSE
=
"BSD"
SLOT
=
"0"
KEYWORDS
=
"amd64 arm hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE
=
"kernel_linux static-libs"
# Tests hang trying to kill server, bug #409349
RESTRICT
=
"test"
RDEPEND
=
""
DEPEND
=
"kernel_linux? ( sys-apps/lsb-release sys-apps/which )"
src_prepare
()
{
epatch_user
if
!
use static-libs
;
then
sed
-i
\
-e
'/FILESTOINSTALL =/s/ $(LIBRARY)//'
\
-e
'/$(INSTALL) -m 644 $(LIBRARY) $(INSTALLDIRLIB)/d'
\
Makefile
||
die
fi
}
# Upstream cmake causes more trouble than it fixes,
# so we'll just stay with the Makefile for now.
src_compile
()
{
tc-export CC AR
emake upnpc-shared
$(
use static-libs
&&
echo
upnpc-static
)
}
src_install
()
{
emake
\
PREFIX
=
"
${
D
}
"
\
INSTALLDIRLIB
=
"
${
D
}
usr/
$(
get_libdir
)
"
\
install
dodoc README Changelog.txt
}
net-misc/babeld-re6stnet/README.md
0 → 100644
View file @
8eeb72cd
# Babeld ebuild
This ebuild will be used for adding re6stnet to NayuOS.
\ No newline at end of file
net-misc/babeld-re6stnet/babeld-re6stnet-1.5.1_p3.ebuild
0 → 100644
View file @
8eeb72cd
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# modification of original file http://data.gpo.zugaina.org/eigenlay/net-misc/babeld/babeld-9999.ebuild
EAPI
=
"4"
# utilities for:
# getting sources and managing the git repo
# cross compiling (use the right C compiler and not the one from the system with tc-getCC)
inherit git-2 toolchain-funcs
DESCRIPTION
=
"A loop-free distance-vector routing protocol"
HOMEPAGE
=
"http://www.pps.univ-paris-diderot.fr/~jch/software/babel/"
LICENSE
=
"MIT"
SLOT
=
"0"
KEYWORDS
=
"*"
IUSE
=
""
# use Nexedi patched version
EGIT_REPO_URI
=
"http://git.erp5.org/repos/babeld.git"
# tag is "v<version>-nxd<nb>"
EGIT_COMMIT
=
v
"
${
PV
/_p/-nxd
}
"
src_compile
()
{
emake
PREFIX
=
"/usr"
CC
=
"
$(
tc-getCC
)
"
babeld
}
src_install
()
{
exeinto /usr/sbin
doexe babeld
}
net-misc/babeld-re6stnet/babeld-re6stnet-1.6.2_p1.ebuild
0 → 120000
View file @
8eeb72cd
babeld-re6stnet-1.5.1_p3.ebuild
\ No newline at end of file
net-misc/re6stnet/re6stnet-3.9.1.ebuild
0 → 100644
View file @
8eeb72cd
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI
=
4
PYTHON_COMPAT
=(
python2_7
)
DISTUTILS_SINGLE_IMPL
=
1
inherit distutils-r1 git-2
DESCRIPTION
=
"Resilient, Scalable, IPv6 Network application."
HOMEPAGE
=
"http://www.erp5.com/NXD-re6st.Two.Page"
EGIT_REPO_URI
=
"http://git.erp5.org/repos/
${
PN
}
.git"
EGIT_BRANCH
=
"legacy"
# token via email -- requires babeld 1.5.1_p3
LICENSE
=
"GPL-2"
SLOT
=
"0"
KEYWORDS
=
"amd64 arm"
IUSE
=
"python"
# Python must be compiled with sqlite support
PYTHON_REQ_USE
=
"sqlite ipv6"
REQUIRED_USE
=
"python? (
${
PYTHON_REQUIRED_USE
}
)"
DEPEND
=
"dev-python/setuptools
>=dev-lang/python-2.7
<dev-lang/python-2.8
dev-python/docutils"
RDEPEND
=
">=dev-lang/python-2.7
<dev-lang/python-2.8
>=dev-libs/openssl-0.13
>=net-misc/openvpn-2.1.3
=net-misc/babeld-re6stnet-1.5.1_p3
sys-apps/iproute2
dev-libs/openssl
dev-python/pyopenssl
dev-python/miniupnpc"
python_compile
()
{
distutils-r1_python_compile
}
python_install
()
{
distutils-r1_python_install
}
net-misc/re6stnet/re6stnet-3.9.1_p1.ebuild
0 → 100644
View file @
8eeb72cd
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI
=
4
PYTHON_COMPAT
=(
python2_7
)
DISTUTILS_SINGLE_IMPL
=
1
inherit distutils-r1 git-2
DESCRIPTION
=
"Resilient, Scalable, IPv6 Network application."
HOMEPAGE
=
"http://www.erp5.com/NXD-re6st.Two.Page"
EGIT_REPO_URI
=
"http://git.erp5.org/repos/
${
PN
}
.git"
EGIT_BRANCH
=
"master"
# token via grandenet -- requires babeld 1.6.2_p1
LICENSE
=
"GPL-2"
SLOT
=
"0"
KEYWORDS
=
"amd64 arm"
IUSE
=
"python"
# Python must be compiled with sqlite support
PYTHON_REQ_USE
=
"sqlite ipv6"
REQUIRED_USE
=
"python? (
${
PYTHON_REQUIRED_USE
}
)"
DEPEND
=
"dev-python/setuptools
>=dev-lang/python-2.7
<dev-lang/python-2.8
dev-python/docutils"
RDEPEND
=
">=dev-lang/python-2.7
<dev-lang/python-2.8
>=dev-libs/openssl-0.13
>=net-misc/openvpn-2.1.3
=net-misc/babeld-re6stnet-1.6.2_p1
sys-apps/iproute2
dev-libs/openssl
dev-python/pyopenssl
dev-python/miniupnpc"
python_compile
()
{
distutils-r1_python_compile
}
python_install
()
{
distutils-r1_python_install
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment