rebuild geeqie
[oi-userland.git] / tools / licenses / license.MIT.filter
blob503644556090547b2a4b3a5a86720066e6fa0843
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 2022 Marcel Telka
18 sed -E -n \
19 -e 's/``/"/g' -e 's/'\'\''/"/g' \
20 -e 's/(obtaining a copy of).*(\(the "Software"\))/\1 REPLACEABLE \2/I' \
21 -e 's/(this permission notice).*(shall be included)/\1 \2/I' \
22 -e 's/(IN NO EVENT SHALL).*(BE LIABLE)/\1 REPLACEABLE \2/I' \
23 -e '/^Permission is hereby granted/I,/^THE SOFTWARE/Ip' \
24 -e '/^THE SOFTWARE/Iq'