postgresql-12: update to 12.21
[oi-userland.git] / tools / licenses / license.HPND.filter
blob24967db31c81c5e50ec6b9e1d7739cb99145fb19
1 #! /usr/bin/sh
4 # This file and its contents are supplied under the terms of the
5 # Common Development and Distribution License ("CDDL"), version 1.0.
6 # You may only use this file in accordance with the terms of version
7 # 1.0 of the CDDL.
9 # A full copy of the text of the CDDL should have accompanied this
10 # source. A copy of the CDDL is also available via the Internet at
11 # http://www.illumos.org/license/CDDL.
15 # Copyright 2023 Marcel Telka
18 sed -n \
19 -e 's/\(the above copyright notice\) .* \(in all copies\)/\1 REPLACEABLE \2/I' \
20 -e 's/\(all copies\), and \(that both\)/\1 \2/I' \
21 -e 's/\(that both\) \(that \)\{0,1\}\(the \)\{0,1\}\(copyright notice\)/\1 \4/I' \
22 -e 's/\(appear in supporting documentation\).*/\1/I' \
23 -e '/^Permission to use, copy, modify and distribute this software/Ip'