This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 1999-2011 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
# $Header: http://svn.ignition-project.com/hamsterrific-overlay/trunk/dev-db/geocouch/geocouch-1.2.1.ebuild | |
EAPI="2" | |
inherit eutils git-2 | |
DESCRIPTION="GeoCouch is a plugin for CouchDB that provides spatial support" | |
HOMEPAGE="https://github.com/couchbase/geocouch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#run with crontab | |
#0 8 * * * /etc/named.d/update-olsrv6.sh | |
export MAILTO="" | |
SERVER="127.0.0.1" | |
ZONENAME=".pberg.freifunk.net." | |
#ZONENET_1="2001:470:5038" | |
#ZONENET_1="2001:bf7:760" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export MAILTO="" | |
#OLSR Router IPv6 Adresse | |
ROUTER="2001:470:6c:393::2" | |
#DNS Master Servername or IPv6 Adresse | |
SERVER="127.0.0.1" | |
#DNS Zonenenname for AAAA entry's | |
ZONENAME="pberg.freifunk.net." | |
ZONENAME1="pberg.freifunk.net" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
. /lib/functions.sh | |
. /usr/share/libubox/jshn.sh | |
update_hna6() { | |
local cfg="$1" | |
local address="$2" | |
local mask="$3" | |
config_get interface $cfg interface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rt_sigprocmask(SIG_SETMASK, ~[HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0 | |
select(15, [3 9 11 13], [14], [], {0, 0}) = 0 (Timeout) | |
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0 | |
clock_gettime(CLOCK_MONOTONIC, {1775, 17053534}) = 0 | |
rt_sigprocmask(SIG_BLOCK, NULL, ~[KILL STOP RTMIN RT_1], 8) = 0 | |
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 | |
ioctl(14, USBDEVFS_DISCARDURB, 0x9f568f8) = 0 | |
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 | |
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0 | |
clock_gettime(CLOCK_MONOTONIC, {1775, 18762334}) = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
hostname=$1 | |
device=$2 | |
file=$HOME/.dynv6.addr6 | |
[ -e $file ] && old=`cat $file` | |
if [ -z "$hostname" -o -z "$token" ]; then | |
echo "Usage: token=<your-authentication-token> [netmask=64] $0 your-name.dynv6.net [device]" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Define User Variables | |
:global ddnspass "TOKEN" | |
:global ddnshost "HOSTNAME.dynv6.net" | |
#:global ddnspool "pool0" | |
#:global ddnsinterface "bridge" | |
#:global ddnsinterface "6to4-henet" | |
#:global ddnsinterface "pppoe-out1" | |
#:global ddnsinterface "ether1" | |
# Define Global Variables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function send_ip6neigh(mqtt,dev) | |
local neigh_table = nil | |
local neightbl = require "neightbl" | |
local neigh = nil | |
local qos = 1 | |
local retain = false | |
neigh_table=neightbl.get(dev) | |
for ip,mac in pairs(neigh_table) do | |
if mac then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#sudo apt install python2 python3 subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc zip imagemagick | |
upd_out="luci2-ffwizard" | |
upd_path=$(pwd) | |
upd_targets="ath79 ar71xx x86 brcm2708" | |
upd_subtargets="generic 64 bcm2708 legacy mikrotik" | |
slots="snapshots 19.07.7" | |
gcc_vers="gcc-8.4.0_musl gcc-8.4.0_musl_eabi gcc-7.5.0_musl gcc-7.5.0_musl_eabi" | |
for slot in $slots;do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#sudo apt install subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc zip imagemagick | |
umask 022 | |
upd_out="ubnt-nano-m" | |
upd_target="ar71xx" | |
upd_subtarget="generic" | |
upd_profile="ubnt-nano-m" | |
upd_profilel=$(echo "$upd_profile" | tr '[:upper:]' '[:lower:]') | |
#slot="snapshots" |
OlderNewer