From 0a898f7126522af6a9f3f3561fb5565decc181c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Br=C3=A4u?= Date: Wed, 26 Jul 2023 16:24:49 +0200 Subject: [PATCH] no more english language pack --- assemble/packagelists/22.03/weimarnetz.txt | 61 +++++++++++++++++ assemble/packagelists/22.03/weimarnetz_4MB.sh | 60 +++++++++++++++++ .../packagelists/22.03/weimarnetz_4MB.txt | 49 ++++++++++++++ .../packagelists/22.03/weimarnetz_uml.txt | 54 +++++++++++++++ .../22.03/weimarnetz_usbtether.txt | 62 ++++++++++++++++++ .../packagelists/22.03/weimarnetz_x86.txt | 65 +++++++++++++++++++ assemble/packagelists/weimarnetz.txt | 3 - assemble/packagelists/weimarnetz_uml.txt | 2 - .../packagelists/weimarnetz_usbtether.txt | 3 - assemble/packagelists/weimarnetz_x86.txt | 3 - 10 files changed, 351 insertions(+), 11 deletions(-) create mode 100644 assemble/packagelists/22.03/weimarnetz.txt create mode 100644 assemble/packagelists/22.03/weimarnetz_4MB.sh create mode 100644 assemble/packagelists/22.03/weimarnetz_4MB.txt create mode 100644 assemble/packagelists/22.03/weimarnetz_uml.txt create mode 100644 assemble/packagelists/22.03/weimarnetz_usbtether.txt create mode 100644 assemble/packagelists/22.03/weimarnetz_x86.txt diff --git a/assemble/packagelists/22.03/weimarnetz.txt b/assemble/packagelists/22.03/weimarnetz.txt new file mode 100644 index 0000000..dcb8645 --- /dev/null +++ b/assemble/packagelists/22.03/weimarnetz.txt @@ -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 diff --git a/assemble/packagelists/22.03/weimarnetz_4MB.sh b/assemble/packagelists/22.03/weimarnetz_4MB.sh new file mode 100644 index 0000000..ebd8179 --- /dev/null +++ b/assemble/packagelists/22.03/weimarnetz_4MB.sh @@ -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 diff --git a/assemble/packagelists/22.03/weimarnetz_4MB.txt b/assemble/packagelists/22.03/weimarnetz_4MB.txt new file mode 100644 index 0000000..3dbb8b0 --- /dev/null +++ b/assemble/packagelists/22.03/weimarnetz_4MB.txt @@ -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 diff --git a/assemble/packagelists/22.03/weimarnetz_uml.txt b/assemble/packagelists/22.03/weimarnetz_uml.txt new file mode 100644 index 0000000..ec420fe --- /dev/null +++ b/assemble/packagelists/22.03/weimarnetz_uml.txt @@ -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 diff --git a/assemble/packagelists/22.03/weimarnetz_usbtether.txt b/assemble/packagelists/22.03/weimarnetz_usbtether.txt new file mode 100644 index 0000000..2f08954 --- /dev/null +++ b/assemble/packagelists/22.03/weimarnetz_usbtether.txt @@ -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 diff --git a/assemble/packagelists/22.03/weimarnetz_x86.txt b/assemble/packagelists/22.03/weimarnetz_x86.txt new file mode 100644 index 0000000..91b942c --- /dev/null +++ b/assemble/packagelists/22.03/weimarnetz_x86.txt @@ -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 diff --git a/assemble/packagelists/weimarnetz.txt b/assemble/packagelists/weimarnetz.txt index dcb8645..e4b19c4 100644 --- a/assemble/packagelists/weimarnetz.txt +++ b/assemble/packagelists/weimarnetz.txt @@ -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 diff --git a/assemble/packagelists/weimarnetz_uml.txt b/assemble/packagelists/weimarnetz_uml.txt index ec420fe..0cd38f8 100644 --- a/assemble/packagelists/weimarnetz_uml.txt +++ b/assemble/packagelists/weimarnetz_uml.txt @@ -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 diff --git a/assemble/packagelists/weimarnetz_usbtether.txt b/assemble/packagelists/weimarnetz_usbtether.txt index 2f08954..67e57f5 100644 --- a/assemble/packagelists/weimarnetz_usbtether.txt +++ b/assemble/packagelists/weimarnetz_usbtether.txt @@ -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 diff --git a/assemble/packagelists/weimarnetz_x86.txt b/assemble/packagelists/weimarnetz_x86.txt index 91b942c..7aa25cc 100644 --- a/assemble/packagelists/weimarnetz_x86.txt +++ b/assemble/packagelists/weimarnetz_x86.txt @@ -32,11 +32,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