Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion net/radsecproxy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=radsecproxy
PKG_VERSION:=1.11.2
PKG_RELEASE:=2
PKG_RELEASE:=3

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/radsecproxy/radsecproxy/releases/download/$(PKG_VERSION)/
Expand Down
31 changes: 22 additions & 9 deletions net/radsecproxy/files/radsecproxy.init
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ append_params() {
}
IFS="$LIST_SEP"
for value in $value; do
[ -n "$value" ] && echo " $param '$value'" >> "$CONFFILE"
[ -n "$value" ] && {
case "$value" in
*"'"*) echo " $param \"$value\"" >> "$CONFFILE" ;;
*) echo " $param '$value'" >> "$CONFFILE" ;;
esac
}
done
unset IFS
done
Expand Down Expand Up @@ -50,9 +55,10 @@ radsecproxy_options() {
append_params "$cfg" \
Include PidFile LogLevel LogDestination FTicksReporting FTicksMAC FTicksKey \
FTicksSyslogFacility ListenUDP ListenTCP ListenTLS ListenDTLS SourceUDP \
SourceTCP SourceTLS SourceDTLS TTLAttribute AddTTL
SourceTCP SourceTLS SourceDTLS TTLAttribute AddTTL FTicksPrefix LogMAC \
LogKey
append_bools "$cfg" \
LoopPrevention IPv4Only IPv6Only
LoopPrevention IPv4Only IPv6Only SNI VerifyEAP LogThreadId LogFullUsername
}

tls_block() {
Expand All @@ -62,7 +68,8 @@ tls_block() {
echo "tls '$name' {" >> "$CONFFILE"
append_params "$cfg" \
Include CACertificateFile CACertificatePath certificateFile certificateKeyFile \
certificateKeyPassword cacheExpiry policyOID
certificateKeyPassword cacheExpiry policyOID CipherList CipherSuites \
TLSVersion DTLSVersion
append_bools "$cfg" \
CRLCheck
echo "}" >> "$CONFFILE"
Expand All @@ -75,7 +82,10 @@ rewrite_block() {
echo "rewrite '$name' {" >> "$CONFFILE"
append_params "$cfg" \
Include addAttribute addVendorAttribute removeAttribute removeVendorAttribute \
modifyAttribute
modifyAttribute modifyVendorAttribute supplementAttribute supplementVendorAttribute \
whitelistAttribute whitelistVendorAttribute
append_bools "$cfg" \
whitelistMode
echo "}" >> "$CONFFILE"
}

Expand All @@ -87,9 +97,10 @@ client_block() {
append_params "$cfg" \
Include host type secret tls matchCertificateAttribute duplicateInterval \
AddTTL fticksVISCOUNTRY fticksVISINST rewrite rewriteIn rewriteOut \
rewriteAttribute
rewriteAttribute serverName PSKkey PSKidentity

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds new UCI-driven directives to the installed /etc/init.d/radsecproxy script, which is a functional change to package contents. PKG_RELEASE in the Makefile should be incremented (2 → 3) so existing installs receive the rebuilt package on opkg upgrade. See net/radsecproxy/Makefile#L12. The bot's release-audit note applies here — this is not a cosmetic edit, so the "do not increment for minor changes" exception does not apply.


Generated by Claude Code

append_bools "$cfg" \
IPv4Only IPv6Only certificateNameCheck
IPv4Only IPv6Only certificateNameCheck requireMessageAuthenticator \
requireMessageAuthenticatorProxy
echo "}" >> "$CONFFILE"
}

Expand All @@ -101,9 +112,11 @@ server_block() {
append_params "$cfg" \
Include host port type secret tls matchCertificateAttribute \
AddTTL rewrite rewriteIn rewriteOut retryCount dynamicLookupCommand \
retryInterval
retryInterval serverName SNIservername PSKkey PSKidentity DTLSForceMTU \
source
append_bools "$cfg" \
IPv4Only IPv6Only certificateNameCheck statusServer LoopPrevention
IPv4Only IPv6Only certificateNameCheck statusServer LoopPrevention SNI \
requireMessageAuthenticator blockingStartup
echo "}" >> "$CONFFILE"
}

Expand Down