Skip to content

Commit

Permalink
no more english language pack
Browse files Browse the repository at this point in the history
  • Loading branch information
andibraeu committed Jul 26, 2023
1 parent 2e4b934 commit 0a898f7
Show file tree
Hide file tree
Showing 10 changed files with 351 additions and 11 deletions.
61 changes: 61 additions & 0 deletions assemble/packagelists/22.03/weimarnetz.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
-kmod-ppp
-ppp
-ppp-mod-pppoe
-wpad-mini
wpad-mesh-wolfssl
-wpad-basic-wolfssl
-firewall
-firewall4
-wpad-basic
kmod-ipt-nat
kmod-ipt-conntrack
iptables-mod-ipopt
dnsmasq
rpcd-mod-iwinfo
rpcd
iw
tc

# GUI-basics
uhttpd
uhttpd-mod-ubus
luci-mod-admin-full
luci-mod-freifunk
freifunk-common-olsr
luci-app-olsr
luci-app-olsr-services
luci-theme-freifunk-generic
libiwinfo-lua
# GUI addon
luci-i18n-base-de
luci-i18n-base-en
luci-i18n-olsr-de
luci-i18n-olsr-en
luci-i18n-freifunk-de
luci-i18n-freifunk-en

# OLSR
olsrd
olsrd-mod-arprefresh
olsrd-mod-jsoninfo
olsrd-mod-txtinfo
olsrd-mod-nameservice
olsrd-mod-watchdog
olsrd-mod-dyn-gw

# VPN
weimarnetz-fastd-config
fastd
kmod-l2tp-eth
resolveip

# Weimarnetz
weimarnetz-ffwizard
luci-app-weimarnetz
weimarnetz-owm-exporter
weimarnetz-button-config

# extra
tcpdump-mini
iperf
kmod-sched-cake
60 changes: 60 additions & 0 deletions assemble/packagelists/22.03/weimarnetz_4MB.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#!/bin/bash

# This is a custom postinst script that gets run by a (patched)
# ImageBuilder Makefile in the target root after installing OpenWrt
# packages, just before building the SquashFS image.

echo "Deleting OLSR i18n files..."
rm -vf usr/lib/lua/luci/i18n/olsr.*

# see https://github.com/freifunk-berlin/firmware/pull/341 &
# https://github.com/freifunk-berlin/firmware/issues/262
cat > lib/upgrade/freiunk-berlin_no-opkg-info-on-4mb-workaround.sh <<'KEEPLIST'
# check for opkg-conffiles that have changed
# this is a workaround for removing opkg from the image and having something
# similar to "opkg list-changed-conffiles"
add_opkg_fix_conffiles()
{
local filelist="$1"
# find the separator line (### opkg conffiles ###) and check all files listed there
# it's just the list of conffiles extracted from opkg-/status during image-creation
content_separator_line=`sed -n '/^### opkg conffiles ###/=' /lib/upgrade/freiunk-berlin_no-opkg-info-on-4mb-workaround.sh`
let content_separator_line++
# iterate over all lines after "separator line"
tail -n +$content_separator_line /lib/upgrade/freiunk-berlin_no-opkg-info-on-4mb-workaround.sh | \
while read filename; do
file_has_changed ${filename} && echo ${filename} >> $filelist
done
}
file_has_changed() {
if cmp -s "$@" "/rom/$@"; then
return 1
else
# modified
return 0
fi
}
sysupgrade_init_conffiles="$sysupgrade_init_conffiles add_opkg_fix_conffiles"
# to exit before going down to the filelist
return 0
### opkg conffiles ###
KEEPLIST

# this is run during firmware-image creation
# add all conffiles known to opkg
echo "adding opkg-conffiles to sysupgrade-hook"
for file in `cat usr/lib/opkg/info/*.conffiles`; do
grep ${file} usr/lib/opkg/status | awk '{ print $1 }' >>lib/upgrade/freiunk-berlin_no-opkg-info-on-4mb-workaround.sh
done

echo "deleting opkg status-files ..."
rm -rf usr/lib/opkg
rm -rf etc/opkg*
# as this will be included into image for some reason, even it's
# not listed for inclusion
49 changes: 49 additions & 0 deletions assemble/packagelists/22.03/weimarnetz_4MB.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
-kmod-ppp
-ppp
-ppp-mod-pppoe
-wpad-mini
-wpad
-firewall
-opkg
-wpad-basic
-stubby
hostapd-mini
#kmod-sched-cake
kmod-ipt-nat
kmod-ipt-conntrack
hostapd-mini
iptables-mod-ipopt
dnsmasq
rpcd-mod-iwinfo
rpcd
iw
#tc
-odhcpd-ipv6only
-odhcp6c
-kmod-usb-core
-kmod-usb-ehci
-kmod-usb-ledtrig-usbport
-kmod-usb2

# GUI-basics
uhttpd
uhttpd-mod-ubus

# OLSR
olsrd
olsrd-mod-arprefresh
olsrd-mod-jsoninfo
olsrd-mod-txtinfo
olsrd-mod-nameservice
olsrd-mod-watchdog
olsrd-mod-dyn-gw

# VPN
fastd
resolveip
freifunk-common-olsr

# Weimarnetz
weimarnetz-ffwizard
weimarnetz-basic-website
weimarnetz-owm-exporter
54 changes: 54 additions & 0 deletions assemble/packagelists/22.03/weimarnetz_uml.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
-kmod-ppp
-ppp
-ppp-mod-pppoe
-wpad-mini
-wpad
-firewall
kmod-mac80211-hwsim
# Defaults
hostapd-mini
-kmod-ipt-offload

# Common
# mtr
iperf
dnsmasq
#iwinfo
libiwinfo-lua
rpcd-mod-iwinfo

# GUI-basics
uhttpd
luci-mod-admin-full
luci-mod-freifunk
freifunk-common-olsr
luci-app-olsr
luci-app-olsr-services
luci-app-owm
luci-app-owm-cmd
luci-theme-bootstrap
# GUI addon
#luci-i18n-base-de
#luci-i18n-base-en
#luci-i18n-olsr-de
#luci-i18n-olsr-en

# OLSR
olsrd
olsrd-mod-arprefresh
olsrd-mod-jsoninfo
olsrd-mod-txtinfo
olsrd-mod-nameservice
olsrd-mod-watchdog
olsrd-mod-dyn-gw

# VPN
fastd

# Weimarnetz
weimarnetz-ffwizard
luci-app-weimarnetz
kmod-sched-cake
kmod-ifb
sqm-scripts
iw
62 changes: 62 additions & 0 deletions assemble/packagelists/22.03/weimarnetz_usbtether.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
-kmod-ppp
-ppp
-ppp-mod-pppoe
-wpad-mini
-wpad
-firewall

hostapd-mini
kmod-ipt-nat
dnsmasq
rpcd-mod-iwinfo
rpcd
iw
tc

# GUI-basics
uhttpd
uhttpd-mod-ubus
luci-mod-admin-full
luci-mod-freifunk
freifunk-common-olsr
luci-app-olsr
luci-app-olsr-services
luci-app-owm
luci-app-owm-cmd
luci-theme-bootstrap
libiwinfo-lua
# GUI addon
luci-i18n-base-de
luci-i18n-base-en
luci-i18n-olsr-de
luci-i18n-olsr-en
luci-i18n-freifunk-de
luci-i18n-freifunk-en

# OLSR
olsrd
olsrd-mod-arprefresh
olsrd-mod-jsoninfo
olsrd-mod-txtinfo
olsrd-mod-nameservice
olsrd-mod-watchdog
olsrd-mod-dyn-gw

# VPN
fastd
resolveip

# Weimarnetz
weimarnetz-ffwizard
data-weimar

# extra
# mtr
tcpdump-mini
iperf
kmod-sched-cake

# usb thether
kmod-usb-net
kmod-usb-net-rndis
kmod-usb-net-cdc-ether
65 changes: 65 additions & 0 deletions assemble/packagelists/22.03/weimarnetz_x86.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
-kmod-ppp
-ppp
-ppp-mod-pppoe
-wpad-mini
-wpad
-firewall4
kmod-mac80211-hwsim
# Defaults
hostapd-mini
kmod-ipt-nat
kmod-ipt-conntrack
iptables-mod-ipopt

# Common
# mtr
iperf
dnsmasq
rpcd-mod-iwinfo
rpcd
iw
tc

# GUI-basics
uhttpd
uhttpd-mod-ubus
luci-mod-admin-full
luci-mod-freifunk
freifunk-common-olsr
luci-app-olsr
luci-app-olsr-services
luci-theme-freifunk-generic
libiwinfo-lua
# GUI addon
luci-i18n-base-de
luci-i18n-base-en
luci-i18n-olsr-de
luci-i18n-olsr-en
luci-i18n-freifunk-de
luci-i18n-freifunk-en

# OLSR
olsrd
olsrd-mod-arprefresh
olsrd-mod-jsoninfo
olsrd-mod-txtinfo
olsrd-mod-nameservice
olsrd-mod-watchdog
olsrd-mod-dyn-gw

# VPN
weimarnetz-fastd-config
fastd
kmod-l2tp-eth
resolveip

# Weimarnetz
weimarnetz-ffwizard
luci-app-weimarnetz
weimarnetz-owm-exporter
weimarnetz-button-config
kmod-sched-cake
kmod-ifb
sqm-scripts
iw
openssh-sftp-server
3 changes: 0 additions & 3 deletions assemble/packagelists/weimarnetz.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@ luci-theme-freifunk-generic
libiwinfo-lua
# GUI addon
luci-i18n-base-de
luci-i18n-base-en
luci-i18n-olsr-de
luci-i18n-olsr-en
luci-i18n-freifunk-de
luci-i18n-freifunk-en

# OLSR
olsrd
Expand Down
2 changes: 0 additions & 2 deletions assemble/packagelists/weimarnetz_uml.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ luci-app-owm-cmd
luci-theme-bootstrap
# GUI addon
#luci-i18n-base-de
#luci-i18n-base-en
#luci-i18n-olsr-de
#luci-i18n-olsr-en

# OLSR
olsrd
Expand Down
3 changes: 0 additions & 3 deletions assemble/packagelists/weimarnetz_usbtether.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,8 @@ luci-theme-bootstrap
libiwinfo-lua
# GUI addon
luci-i18n-base-de
luci-i18n-base-en
luci-i18n-olsr-de
luci-i18n-olsr-en
luci-i18n-freifunk-de
luci-i18n-freifunk-en

# OLSR
olsrd
Expand Down
Loading

0 comments on commit 0a898f7

Please sign in to comment.