├── .github └── workflows │ └── docker-publish.yml ├── Dockerfile ├── README.md ├── configs ├── busybox └── crossdev.conf ├── initramfs ├── etc │ ├── init.d │ │ └── rcS │ ├── inittab │ ├── issue │ └── passwd └── init ├── licence ├── deprecated │ ├── GPL-1.0 │ ├── ISC │ ├── Linux-OpenIB │ └── X11 ├── dual │ ├── Apache-2.0 │ ├── CDDL-1.0 │ └── MPL-1.1 ├── exceptions │ ├── GCC-exception-2.0 │ └── Linux-syscall-note └── preferred │ ├── BSD-2-Clause │ ├── BSD-3-Clause │ ├── BSD-3-Clause-Clear │ ├── GPL-2.0 │ ├── LGPL-2.0 │ ├── LGPL-2.1 │ └── MIT ├── patches └── musl │ └── r5900-ll-sc.patch └── scripts ├── install-crossdev ├── install-frno7-repo ├── install-initramfs ├── install-packages └── main /.github/workflows/docker-publish.yml: -------------------------------------------------------------------------------- 1 | # source: https://github.com/actions/starter-workflows/blob/970a7b52557fbdf7dc31c20e64499c21f45deff2/ci/docker-publish.yml 2 | name: Gentoo Docker mipsr5900el 3 | 4 | # This workflow uses actions that are not certified by GitHub. 5 | # They are provided by a third-party and are governed by 6 | # separate terms of service, privacy policy, and support 7 | # documentation. 8 | 9 | on: 10 | push: 11 | branches: [main] 12 | # Publish semver tags as releases. 13 | tags: ["v*.*.*"] 14 | pull_request: 15 | branches: [main] 16 | workflow_dispatch: 17 | branches: [main] 18 | 19 | env: 20 | # Use docker.io for Docker Hub if empty 21 | REGISTRY: ghcr.io 22 | # github.repository as / 23 | IMAGE_NAME: ${{ github.repository }} 24 | 25 | jobs: 26 | build: 27 | runs-on: ubuntu-latest 28 | permissions: 29 | contents: read 30 | packages: write 31 | # This is used to complete the identity challenge 32 | # with sigstore/fulcio when running outside of PRs. 33 | id-token: write 34 | 35 | steps: 36 | - name: Checkout repository 37 | uses: actions/checkout@v3 38 | 39 | # # Install the cosign tool except on PR 40 | # # https://github.com/sigstore/cosign-installer 41 | # - name: Install cosign 42 | # if: github.event_name != 'pull_request' 43 | # uses: sigstore/cosign-installer@d6a3abf1bdea83574e28d40543793018b6035605 44 | # with: 45 | # cosign-release: "v1.7.1" 46 | 47 | # Workaround: https://github.com/docker/build-push-action/issues/461 48 | - name: Setup Docker buildx 49 | uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf 50 | 51 | # Login against a Docker registry except on PR 52 | # https://github.com/docker/login-action 53 | - name: Log into registry ${{ env.REGISTRY }} 54 | if: github.event_name != 'pull_request' 55 | uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c 56 | with: 57 | registry: ${{ env.REGISTRY }} 58 | username: ${{ github.actor }} 59 | password: ${{ secrets.GITHUB_TOKEN }} 60 | 61 | # Extract metadata (tags, labels) for Docker 62 | # https://github.com/docker/metadata-action 63 | - name: Extract Docker metadata 64 | id: meta 65 | uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 66 | with: 67 | images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} 68 | 69 | # Build and push Docker image with Buildx (don't push on PR) 70 | # https://github.com/docker/build-push-action 71 | - name: Build and push Docker image 72 | id: build-and-push 73 | uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc 74 | with: 75 | context: . 76 | push: ${{ github.event_name != 'pull_request' }} 77 | tags: ${{ steps.meta.outputs.tags }} 78 | labels: | 79 | ${{ steps.meta.outputs.labels }} 80 | org.opencontainers.authors=tobias-docker@23.gs, AKuHAK 81 | 82 | # # Sign the resulting Docker image digest except on PRs. 83 | # # This will only write to the public Rekor transparency log when the Docker 84 | # # repository is public to avoid leaking data. If you would like to publish 85 | # # transparency data even for private images, pass --force to cosign below. 86 | # # https://github.com/sigstore/cosign 87 | # - name: Sign the published Docker image 88 | # if: ${{ github.event_name != 'pull_request' }} 89 | # env: 90 | # COSIGN_EXPERIMENTAL: "true" 91 | # # This step uses the identity token to provision an ephemeral certificate 92 | # # against the sigstore community Fulcio instance. 93 | # run: cosign sign ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }} 94 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | # Copyright (C) 2020 Tobias Gruetzmacher 3 | # Copyright (C) 2022 Fredrik Noring 4 | 5 | FROM gentoo/portage:latest as portage 6 | FROM gentoo/stage3:latest as gentoo 7 | 8 | COPY --from=portage /var/db/repos/gentoo /var/db/repos/gentoo 9 | 10 | WORKDIR /srv 11 | 12 | COPY configs configs 13 | COPY initramfs initramfs 14 | COPY patches patches 15 | COPY scripts scripts 16 | 17 | RUN scripts/main 18 | 19 | WORKDIR / 20 | 21 | CMD ["/bin/bash"] 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![compilation workflow](https://github.com/frno7/gentoo-mipsr5900el/actions/workflows/docker-publish.yml/badge.svg) 2 | 3 | # Gentoo tooling for the PlayStation 2 Linux kernel 4 | 5 | Scripts to install `mipsr5900el` target cross-compilers, with both 6 | [GNU libc](https://en.wikipedia.org/wiki/Glibc) and 7 | [Musl](https://en.wikipedia.org/wiki/Musl), 8 | [QEMU/R5900](https://github.com/frno7/qemu), and essential tools and 9 | programs for a [Linux/R5900](https://github.com/frno7/linux) kernel 10 | [initramfs](https://en.wikipedia.org/wiki/Initial_ramdisk). 11 | 12 | QEMU/R5900 is statically linked, to be easy to install with 13 | [`binfmt_misc`](https://en.wikipedia.org/wiki/Binfmt_misc). Enable it in 14 | Gentoo with `rc-update add qemu-mipsr5900el-binfmt`. Programs intended for 15 | initramfs, such as Busybox and Dropbear, are also statically linked. 16 | 17 | A Docker image is built as a package at Github. 18 | -------------------------------------------------------------------------------- /configs/busybox: -------------------------------------------------------------------------------- 1 | # 2 | # Automatically generated make config: don't edit 3 | # Busybox version: 1.36.0.git 4 | # Wed May 4 08:54:43 2022 5 | # 6 | CONFIG_HAVE_DOT_CONFIG=y 7 | 8 | # 9 | # Settings 10 | # 11 | # CONFIG_DESKTOP is not set 12 | # CONFIG_EXTRA_COMPAT is not set 13 | # CONFIG_FEDORA_COMPAT is not set 14 | # CONFIG_INCLUDE_SUSv2 is not set 15 | CONFIG_LONG_OPTS=y 16 | CONFIG_SHOW_USAGE=y 17 | CONFIG_FEATURE_VERBOSE_USAGE=y 18 | CONFIG_FEATURE_COMPRESS_USAGE=y 19 | CONFIG_LFS=y 20 | # CONFIG_PAM is not set 21 | CONFIG_FEATURE_DEVPTS=y 22 | # CONFIG_FEATURE_UTMP is not set 23 | # CONFIG_FEATURE_WTMP is not set 24 | CONFIG_FEATURE_PIDFILE=y 25 | CONFIG_PID_FILE_PATH="/run" 26 | CONFIG_BUSYBOX=y 27 | CONFIG_FEATURE_SHOW_SCRIPT=y 28 | CONFIG_FEATURE_INSTALLER=y 29 | # CONFIG_INSTALL_NO_USR is not set 30 | CONFIG_FEATURE_SUID=y 31 | # CONFIG_FEATURE_SUID_CONFIG is not set 32 | # CONFIG_FEATURE_SUID_CONFIG_QUIET is not set 33 | # CONFIG_FEATURE_PREFER_APPLETS is not set 34 | CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" 35 | # CONFIG_SELINUX is not set 36 | # CONFIG_FEATURE_CLEAN_UP is not set 37 | CONFIG_FEATURE_SYSLOG_INFO=y 38 | CONFIG_FEATURE_SYSLOG=y 39 | 40 | # 41 | # Build Options 42 | # 43 | CONFIG_STATIC=y 44 | # CONFIG_PIE is not set 45 | # CONFIG_NOMMU is not set 46 | # CONFIG_BUILD_LIBBUSYBOX is not set 47 | # CONFIG_FEATURE_LIBBUSYBOX_STATIC is not set 48 | # CONFIG_FEATURE_INDIVIDUAL is not set 49 | # CONFIG_FEATURE_SHARED_BUSYBOX is not set 50 | CONFIG_CROSS_COMPILER_PREFIX="" 51 | CONFIG_SYSROOT="" 52 | CONFIG_EXTRA_CFLAGS="" 53 | CONFIG_EXTRA_LDFLAGS="" 54 | CONFIG_EXTRA_LDLIBS="" 55 | # CONFIG_USE_PORTABLE_CODE is not set 56 | CONFIG_STACK_OPTIMIZATION_386=y 57 | CONFIG_STATIC_LIBGCC=y 58 | 59 | # 60 | # Installation Options ("make install" behavior) 61 | # 62 | # CONFIG_INSTALL_APPLET_SYMLINKS is not set 63 | # CONFIG_INSTALL_APPLET_HARDLINKS is not set 64 | # CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS is not set 65 | CONFIG_INSTALL_APPLET_DONT=y 66 | # CONFIG_INSTALL_SH_APPLET_SYMLINK is not set 67 | # CONFIG_INSTALL_SH_APPLET_HARDLINK is not set 68 | # CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER is not set 69 | CONFIG_PREFIX="./_install" 70 | 71 | # 72 | # Debugging Options 73 | # 74 | # CONFIG_DEBUG is not set 75 | # CONFIG_DEBUG_PESSIMIZE is not set 76 | # CONFIG_DEBUG_SANITIZE is not set 77 | # CONFIG_UNIT_TEST is not set 78 | # CONFIG_WERROR is not set 79 | # CONFIG_WARN_SIMPLE_MSG is not set 80 | CONFIG_NO_DEBUG_LIB=y 81 | # CONFIG_DMALLOC is not set 82 | # CONFIG_EFENCE is not set 83 | 84 | # 85 | # Library Tuning 86 | # 87 | # CONFIG_FEATURE_USE_BSS_TAIL is not set 88 | CONFIG_FLOAT_DURATION=y 89 | CONFIG_FEATURE_RTMINMAX=y 90 | CONFIG_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS=y 91 | CONFIG_FEATURE_BUFFERS_USE_MALLOC=y 92 | # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set 93 | # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set 94 | CONFIG_PASSWORD_MINLEN=6 95 | CONFIG_MD5_SMALL=1 96 | CONFIG_SHA1_SMALL=3 97 | CONFIG_SHA1_HWACCEL=y 98 | CONFIG_SHA256_HWACCEL=y 99 | CONFIG_SHA3_SMALL=1 100 | CONFIG_FEATURE_NON_POSIX_CP=y 101 | CONFIG_FEATURE_VERBOSE_CP_MESSAGE=y 102 | CONFIG_FEATURE_USE_SENDFILE=y 103 | CONFIG_FEATURE_COPYBUF_KB=4 104 | CONFIG_MONOTONIC_SYSCALL=y 105 | CONFIG_IOCTL_HEX2STR_ERROR=y 106 | CONFIG_FEATURE_EDITING=y 107 | CONFIG_FEATURE_EDITING_MAX_LEN=1024 108 | CONFIG_FEATURE_EDITING_VI=y 109 | CONFIG_FEATURE_EDITING_HISTORY=255 110 | CONFIG_FEATURE_EDITING_SAVEHISTORY=y 111 | CONFIG_FEATURE_EDITING_SAVE_ON_EXIT=y 112 | CONFIG_FEATURE_REVERSE_SEARCH=y 113 | CONFIG_FEATURE_TAB_COMPLETION=y 114 | CONFIG_FEATURE_USERNAME_COMPLETION=y 115 | CONFIG_FEATURE_EDITING_FANCY_PROMPT=y 116 | CONFIG_FEATURE_EDITING_WINCH=y 117 | CONFIG_FEATURE_EDITING_ASK_TERMINAL=y 118 | # CONFIG_LOCALE_SUPPORT is not set 119 | CONFIG_UNICODE_SUPPORT=y 120 | # CONFIG_UNICODE_USING_LOCALE is not set 121 | # CONFIG_FEATURE_CHECK_UNICODE_IN_ENV is not set 122 | CONFIG_SUBST_WCHAR=63 123 | CONFIG_LAST_SUPPORTED_WCHAR=767 124 | CONFIG_UNICODE_COMBINING_WCHARS=y 125 | CONFIG_UNICODE_WIDE_WCHARS=y 126 | # CONFIG_UNICODE_BIDI_SUPPORT is not set 127 | # CONFIG_UNICODE_NEUTRAL_TABLE is not set 128 | CONFIG_UNICODE_PRESERVE_BROKEN=y 129 | 130 | # 131 | # Applets 132 | # 133 | 134 | # 135 | # Archival Utilities 136 | # 137 | CONFIG_FEATURE_SEAMLESS_XZ=y 138 | # CONFIG_FEATURE_SEAMLESS_LZMA is not set 139 | # CONFIG_FEATURE_SEAMLESS_BZ2 is not set 140 | CONFIG_FEATURE_SEAMLESS_GZ=y 141 | # CONFIG_FEATURE_SEAMLESS_Z is not set 142 | # CONFIG_AR is not set 143 | # CONFIG_FEATURE_AR_LONG_FILENAMES is not set 144 | # CONFIG_FEATURE_AR_CREATE is not set 145 | # CONFIG_UNCOMPRESS is not set 146 | # CONFIG_GUNZIP is not set 147 | # CONFIG_ZCAT is not set 148 | # CONFIG_FEATURE_GUNZIP_LONG_OPTIONS is not set 149 | # CONFIG_BUNZIP2 is not set 150 | # CONFIG_BZCAT is not set 151 | # CONFIG_UNLZMA is not set 152 | # CONFIG_LZCAT is not set 153 | # CONFIG_LZMA is not set 154 | # CONFIG_UNXZ is not set 155 | # CONFIG_XZCAT is not set 156 | CONFIG_XZ=y 157 | # CONFIG_BZIP2 is not set 158 | CONFIG_BZIP2_SMALL=0 159 | # CONFIG_FEATURE_BZIP2_DECOMPRESS is not set 160 | # CONFIG_CPIO is not set 161 | # CONFIG_FEATURE_CPIO_O is not set 162 | # CONFIG_FEATURE_CPIO_P is not set 163 | # CONFIG_FEATURE_CPIO_IGNORE_DEVNO is not set 164 | # CONFIG_FEATURE_CPIO_RENUMBER_INODES is not set 165 | # CONFIG_DPKG is not set 166 | # CONFIG_DPKG_DEB is not set 167 | CONFIG_GZIP=y 168 | CONFIG_FEATURE_GZIP_LONG_OPTIONS=y 169 | CONFIG_GZIP_FAST=0 170 | CONFIG_FEATURE_GZIP_LEVELS=y 171 | CONFIG_FEATURE_GZIP_DECOMPRESS=y 172 | # CONFIG_LZOP is not set 173 | # CONFIG_UNLZOP is not set 174 | # CONFIG_LZOPCAT is not set 175 | # CONFIG_LZOP_COMPR_HIGH is not set 176 | # CONFIG_RPM is not set 177 | # CONFIG_RPM2CPIO is not set 178 | CONFIG_TAR=y 179 | CONFIG_FEATURE_TAR_LONG_OPTIONS=y 180 | CONFIG_FEATURE_TAR_CREATE=y 181 | CONFIG_FEATURE_TAR_AUTODETECT=y 182 | CONFIG_FEATURE_TAR_FROM=y 183 | CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY=y 184 | CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY=y 185 | CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y 186 | CONFIG_FEATURE_TAR_TO_COMMAND=y 187 | CONFIG_FEATURE_TAR_UNAME_GNAME=y 188 | CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y 189 | # CONFIG_FEATURE_TAR_SELINUX is not set 190 | CONFIG_UNZIP=y 191 | CONFIG_FEATURE_UNZIP_CDF=y 192 | # CONFIG_FEATURE_UNZIP_BZIP2 is not set 193 | # CONFIG_FEATURE_UNZIP_LZMA is not set 194 | # CONFIG_FEATURE_UNZIP_XZ is not set 195 | # CONFIG_FEATURE_LZMA_FAST is not set 196 | 197 | # 198 | # Coreutils 199 | # 200 | CONFIG_FEATURE_VERBOSE=y 201 | 202 | # 203 | # Common options for date and touch 204 | # 205 | # CONFIG_FEATURE_TIMEZONE is not set 206 | 207 | # 208 | # Common options for cp and mv 209 | # 210 | CONFIG_FEATURE_PRESERVE_HARDLINKS=y 211 | 212 | # 213 | # Common options for df, du, ls 214 | # 215 | CONFIG_FEATURE_HUMAN_READABLE=y 216 | CONFIG_BASENAME=y 217 | CONFIG_CAT=y 218 | CONFIG_FEATURE_CATN=y 219 | CONFIG_FEATURE_CATV=y 220 | CONFIG_CHGRP=y 221 | CONFIG_CHMOD=y 222 | CONFIG_CHOWN=y 223 | CONFIG_FEATURE_CHOWN_LONG_OPTIONS=y 224 | CONFIG_CHROOT=y 225 | CONFIG_CKSUM=y 226 | CONFIG_CRC32=y 227 | CONFIG_COMM=y 228 | CONFIG_CP=y 229 | CONFIG_FEATURE_CP_LONG_OPTIONS=y 230 | CONFIG_FEATURE_CP_REFLINK=y 231 | CONFIG_CUT=y 232 | CONFIG_FEATURE_CUT_REGEX=y 233 | CONFIG_DATE=y 234 | CONFIG_FEATURE_DATE_ISOFMT=y 235 | CONFIG_FEATURE_DATE_NANO=y 236 | CONFIG_FEATURE_DATE_COMPAT=y 237 | CONFIG_DD=y 238 | CONFIG_FEATURE_DD_SIGNAL_HANDLING=y 239 | CONFIG_FEATURE_DD_THIRD_STATUS_LINE=y 240 | CONFIG_FEATURE_DD_IBS_OBS=y 241 | CONFIG_FEATURE_DD_STATUS=y 242 | CONFIG_DF=y 243 | CONFIG_FEATURE_DF_FANCY=y 244 | CONFIG_FEATURE_SKIP_ROOTFS=y 245 | CONFIG_DIRNAME=y 246 | # CONFIG_DOS2UNIX is not set 247 | # CONFIG_UNIX2DOS is not set 248 | CONFIG_DU=y 249 | CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y 250 | CONFIG_ECHO=y 251 | CONFIG_FEATURE_FANCY_ECHO=y 252 | CONFIG_ENV=y 253 | CONFIG_EXPAND=y 254 | CONFIG_UNEXPAND=y 255 | CONFIG_EXPR=y 256 | CONFIG_EXPR_MATH_SUPPORT_64=y 257 | # CONFIG_FACTOR is not set 258 | CONFIG_FALSE=y 259 | # CONFIG_FOLD is not set 260 | CONFIG_HEAD=y 261 | CONFIG_FEATURE_FANCY_HEAD=y 262 | # CONFIG_HOSTID is not set 263 | CONFIG_ID=y 264 | CONFIG_GROUPS=y 265 | CONFIG_INSTALL=y 266 | CONFIG_FEATURE_INSTALL_LONG_OPTIONS=y 267 | CONFIG_LINK=y 268 | CONFIG_LN=y 269 | # CONFIG_LOGNAME is not set 270 | CONFIG_LS=y 271 | CONFIG_FEATURE_LS_FILETYPES=y 272 | CONFIG_FEATURE_LS_FOLLOWLINKS=y 273 | CONFIG_FEATURE_LS_RECURSIVE=y 274 | CONFIG_FEATURE_LS_WIDTH=y 275 | CONFIG_FEATURE_LS_SORTFILES=y 276 | CONFIG_FEATURE_LS_TIMESTAMPS=y 277 | CONFIG_FEATURE_LS_USERNAME=y 278 | CONFIG_FEATURE_LS_COLOR=y 279 | CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y 280 | CONFIG_MD5SUM=y 281 | CONFIG_SHA1SUM=y 282 | CONFIG_SHA256SUM=y 283 | CONFIG_SHA512SUM=y 284 | CONFIG_SHA3SUM=y 285 | 286 | # 287 | # Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum 288 | # 289 | CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y 290 | CONFIG_MKDIR=y 291 | CONFIG_MKFIFO=y 292 | CONFIG_MKNOD=y 293 | CONFIG_MKTEMP=y 294 | CONFIG_MV=y 295 | CONFIG_NICE=y 296 | CONFIG_NL=y 297 | CONFIG_NOHUP=y 298 | # CONFIG_NPROC is not set 299 | CONFIG_OD=y 300 | CONFIG_PASTE=y 301 | CONFIG_PRINTENV=y 302 | CONFIG_PRINTF=y 303 | CONFIG_PWD=y 304 | CONFIG_READLINK=y 305 | CONFIG_FEATURE_READLINK_FOLLOW=y 306 | CONFIG_REALPATH=y 307 | CONFIG_RM=y 308 | CONFIG_RMDIR=y 309 | CONFIG_SEQ=y 310 | CONFIG_SHRED=y 311 | CONFIG_SHUF=y 312 | CONFIG_SLEEP=y 313 | CONFIG_FEATURE_FANCY_SLEEP=y 314 | CONFIG_SORT=y 315 | CONFIG_FEATURE_SORT_BIG=y 316 | CONFIG_FEATURE_SORT_OPTIMIZE_MEMORY=y 317 | CONFIG_SPLIT=y 318 | CONFIG_FEATURE_SPLIT_FANCY=y 319 | CONFIG_STAT=y 320 | CONFIG_FEATURE_STAT_FORMAT=y 321 | CONFIG_FEATURE_STAT_FILESYSTEM=y 322 | CONFIG_STTY=y 323 | CONFIG_SUM=y 324 | CONFIG_SYNC=y 325 | CONFIG_FEATURE_SYNC_FANCY=y 326 | CONFIG_FSYNC=y 327 | CONFIG_TAC=y 328 | CONFIG_TAIL=y 329 | CONFIG_FEATURE_FANCY_TAIL=y 330 | CONFIG_TEE=y 331 | CONFIG_FEATURE_TEE_USE_BLOCK_IO=y 332 | CONFIG_TEST=y 333 | # CONFIG_TEST1 is not set 334 | # CONFIG_TEST2 is not set 335 | CONFIG_FEATURE_TEST_64=y 336 | CONFIG_TIMEOUT=y 337 | CONFIG_TOUCH=y 338 | CONFIG_FEATURE_TOUCH_SUSV3=y 339 | CONFIG_TR=y 340 | CONFIG_FEATURE_TR_CLASSES=y 341 | CONFIG_FEATURE_TR_EQUIV=y 342 | CONFIG_TRUE=y 343 | CONFIG_TRUNCATE=y 344 | CONFIG_TSORT=y 345 | CONFIG_TTY=y 346 | CONFIG_UNAME=y 347 | CONFIG_UNAME_OSNAME="GNU/Linux" 348 | # CONFIG_BB_ARCH is not set 349 | CONFIG_UNIQ=y 350 | CONFIG_UNLINK=y 351 | CONFIG_USLEEP=y 352 | # CONFIG_UUDECODE is not set 353 | # CONFIG_BASE32 is not set 354 | # CONFIG_BASE64 is not set 355 | # CONFIG_UUENCODE is not set 356 | CONFIG_WC=y 357 | CONFIG_FEATURE_WC_LARGE=y 358 | # CONFIG_WHO is not set 359 | # CONFIG_W is not set 360 | # CONFIG_USERS is not set 361 | CONFIG_WHOAMI=y 362 | # CONFIG_YES is not set 363 | 364 | # 365 | # Console Utilities 366 | # 367 | CONFIG_CHVT=y 368 | CONFIG_CLEAR=y 369 | CONFIG_DEALLOCVT=y 370 | CONFIG_DUMPKMAP=y 371 | CONFIG_FGCONSOLE=y 372 | CONFIG_KBD_MODE=y 373 | CONFIG_LOADFONT=y 374 | CONFIG_SETFONT=y 375 | CONFIG_FEATURE_SETFONT_TEXTUAL_MAP=y 376 | CONFIG_DEFAULT_SETFONT_DIR="" 377 | 378 | # 379 | # Common options for loadfont and setfont 380 | # 381 | CONFIG_FEATURE_LOADFONT_PSF2=y 382 | CONFIG_FEATURE_LOADFONT_RAW=y 383 | CONFIG_LOADKMAP=y 384 | CONFIG_OPENVT=y 385 | CONFIG_RESET=y 386 | CONFIG_RESIZE=y 387 | CONFIG_FEATURE_RESIZE_PRINT=y 388 | CONFIG_SETCONSOLE=y 389 | CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS=y 390 | CONFIG_SETKEYCODES=y 391 | CONFIG_SETLOGCONS=y 392 | CONFIG_SHOWKEY=y 393 | 394 | # 395 | # Debian Utilities 396 | # 397 | CONFIG_PIPE_PROGRESS=y 398 | # CONFIG_RUN_PARTS is not set 399 | # CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS is not set 400 | # CONFIG_FEATURE_RUN_PARTS_FANCY is not set 401 | CONFIG_START_STOP_DAEMON=y 402 | CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS=y 403 | CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y 404 | CONFIG_WHICH=y 405 | 406 | # 407 | # klibc-utils 408 | # 409 | # CONFIG_MINIPS is not set 410 | # CONFIG_NUKE is not set 411 | CONFIG_RESUME=y 412 | CONFIG_RUN_INIT=y 413 | 414 | # 415 | # Editors 416 | # 417 | CONFIG_AWK=y 418 | CONFIG_FEATURE_AWK_LIBM=y 419 | CONFIG_FEATURE_AWK_GNU_EXTENSIONS=y 420 | CONFIG_CMP=y 421 | CONFIG_DIFF=y 422 | CONFIG_FEATURE_DIFF_LONG_OPTIONS=y 423 | CONFIG_FEATURE_DIFF_DIR=y 424 | CONFIG_ED=y 425 | CONFIG_PATCH=y 426 | CONFIG_SED=y 427 | CONFIG_VI=y 428 | CONFIG_FEATURE_VI_MAX_LEN=4096 429 | CONFIG_FEATURE_VI_8BIT=y 430 | CONFIG_FEATURE_VI_COLON=y 431 | CONFIG_FEATURE_VI_COLON_EXPAND=y 432 | CONFIG_FEATURE_VI_YANKMARK=y 433 | CONFIG_FEATURE_VI_SEARCH=y 434 | # CONFIG_FEATURE_VI_REGEX_SEARCH is not set 435 | CONFIG_FEATURE_VI_USE_SIGNALS=y 436 | CONFIG_FEATURE_VI_DOT_CMD=y 437 | CONFIG_FEATURE_VI_READONLY=y 438 | CONFIG_FEATURE_VI_SETOPTS=y 439 | CONFIG_FEATURE_VI_SET=y 440 | CONFIG_FEATURE_VI_WIN_RESIZE=y 441 | CONFIG_FEATURE_VI_ASK_TERMINAL=y 442 | CONFIG_FEATURE_VI_UNDO=y 443 | CONFIG_FEATURE_VI_UNDO_QUEUE=y 444 | CONFIG_FEATURE_VI_UNDO_QUEUE_MAX=256 445 | CONFIG_FEATURE_VI_VERBOSE_STATUS=y 446 | CONFIG_FEATURE_ALLOW_EXEC=y 447 | 448 | # 449 | # Finding Utilities 450 | # 451 | CONFIG_FIND=y 452 | CONFIG_FEATURE_FIND_PRINT0=y 453 | CONFIG_FEATURE_FIND_MTIME=y 454 | CONFIG_FEATURE_FIND_ATIME=y 455 | CONFIG_FEATURE_FIND_CTIME=y 456 | CONFIG_FEATURE_FIND_MMIN=y 457 | CONFIG_FEATURE_FIND_AMIN=y 458 | CONFIG_FEATURE_FIND_CMIN=y 459 | CONFIG_FEATURE_FIND_PERM=y 460 | CONFIG_FEATURE_FIND_TYPE=y 461 | CONFIG_FEATURE_FIND_EXECUTABLE=y 462 | CONFIG_FEATURE_FIND_XDEV=y 463 | CONFIG_FEATURE_FIND_MAXDEPTH=y 464 | CONFIG_FEATURE_FIND_NEWER=y 465 | CONFIG_FEATURE_FIND_INUM=y 466 | CONFIG_FEATURE_FIND_SAMEFILE=y 467 | CONFIG_FEATURE_FIND_EXEC=y 468 | CONFIG_FEATURE_FIND_EXEC_PLUS=y 469 | CONFIG_FEATURE_FIND_USER=y 470 | CONFIG_FEATURE_FIND_GROUP=y 471 | CONFIG_FEATURE_FIND_NOT=y 472 | CONFIG_FEATURE_FIND_DEPTH=y 473 | CONFIG_FEATURE_FIND_PAREN=y 474 | CONFIG_FEATURE_FIND_SIZE=y 475 | CONFIG_FEATURE_FIND_PRUNE=y 476 | CONFIG_FEATURE_FIND_QUIT=y 477 | CONFIG_FEATURE_FIND_DELETE=y 478 | CONFIG_FEATURE_FIND_EMPTY=y 479 | CONFIG_FEATURE_FIND_PATH=y 480 | CONFIG_FEATURE_FIND_REGEX=y 481 | # CONFIG_FEATURE_FIND_CONTEXT is not set 482 | CONFIG_FEATURE_FIND_LINKS=y 483 | CONFIG_GREP=y 484 | # CONFIG_EGREP is not set 485 | # CONFIG_FGREP is not set 486 | CONFIG_FEATURE_GREP_CONTEXT=y 487 | CONFIG_XARGS=y 488 | CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION=y 489 | CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y 490 | CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y 491 | CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y 492 | CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR=y 493 | CONFIG_FEATURE_XARGS_SUPPORT_PARALLEL=y 494 | CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE=y 495 | 496 | # 497 | # Init Utilities 498 | # 499 | # CONFIG_BOOTCHARTD is not set 500 | # CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set 501 | # CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set 502 | CONFIG_HALT=y 503 | CONFIG_POWEROFF=y 504 | CONFIG_REBOOT=y 505 | CONFIG_FEATURE_WAIT_FOR_INIT=y 506 | # CONFIG_FEATURE_CALL_TELINIT is not set 507 | CONFIG_TELINIT_PATH="" 508 | CONFIG_INIT=y 509 | # CONFIG_LINUXRC is not set 510 | CONFIG_FEATURE_USE_INITTAB=y 511 | CONFIG_FEATURE_KILL_REMOVED=y 512 | CONFIG_FEATURE_KILL_DELAY=0 513 | CONFIG_FEATURE_INIT_SCTTY=y 514 | CONFIG_FEATURE_INIT_SYSLOG=y 515 | CONFIG_FEATURE_INIT_QUIET=y 516 | CONFIG_FEATURE_INIT_COREDUMPS=y 517 | CONFIG_INIT_TERMINAL_TYPE="linux" 518 | CONFIG_FEATURE_INIT_MODIFY_CMDLINE=y 519 | 520 | # 521 | # Login/Password Management Utilities 522 | # 523 | CONFIG_FEATURE_SHADOWPASSWDS=y 524 | CONFIG_USE_BB_PWD_GRP=y 525 | CONFIG_USE_BB_SHADOW=y 526 | CONFIG_USE_BB_CRYPT=y 527 | CONFIG_USE_BB_CRYPT_SHA=y 528 | # CONFIG_ADD_SHELL is not set 529 | # CONFIG_REMOVE_SHELL is not set 530 | CONFIG_ADDGROUP=y 531 | CONFIG_FEATURE_ADDUSER_TO_GROUP=y 532 | CONFIG_ADDUSER=y 533 | CONFIG_FEATURE_CHECK_NAMES=y 534 | CONFIG_LAST_ID=60000 535 | CONFIG_FIRST_SYSTEM_ID=100 536 | CONFIG_LAST_SYSTEM_ID=999 537 | CONFIG_CHPASSWD=y 538 | CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="des" 539 | CONFIG_CRYPTPW=y 540 | CONFIG_MKPASSWD=y 541 | CONFIG_DELUSER=y 542 | CONFIG_DELGROUP=y 543 | CONFIG_FEATURE_DEL_USER_FROM_GROUP=y 544 | CONFIG_GETTY=y 545 | CONFIG_LOGIN=y 546 | CONFIG_LOGIN_SESSION_AS_CHILD=y 547 | CONFIG_LOGIN_SCRIPTS=y 548 | CONFIG_FEATURE_NOLOGIN=y 549 | CONFIG_FEATURE_SECURETTY=y 550 | CONFIG_PASSWD=y 551 | CONFIG_FEATURE_PASSWD_WEAK_CHECK=y 552 | CONFIG_SU=y 553 | CONFIG_FEATURE_SU_SYSLOG=y 554 | CONFIG_FEATURE_SU_CHECKS_SHELLS=y 555 | CONFIG_FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTY=y 556 | # CONFIG_SULOGIN is not set 557 | # CONFIG_VLOCK is not set 558 | 559 | # 560 | # Linux Ext2 FS Progs 561 | # 562 | CONFIG_CHATTR=y 563 | CONFIG_FSCK=y 564 | CONFIG_LSATTR=y 565 | CONFIG_TUNE2FS=y 566 | 567 | # 568 | # Linux Module Utilities 569 | # 570 | CONFIG_MODPROBE_SMALL=y 571 | CONFIG_DEPMOD=y 572 | CONFIG_INSMOD=y 573 | CONFIG_LSMOD=y 574 | # CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set 575 | CONFIG_MODINFO=y 576 | CONFIG_MODPROBE=y 577 | # CONFIG_FEATURE_MODPROBE_BLACKLIST is not set 578 | CONFIG_RMMOD=y 579 | 580 | # 581 | # Options common to multiple modutils 582 | # 583 | CONFIG_FEATURE_CMDLINE_MODULE_OPTIONS=y 584 | CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED=y 585 | # CONFIG_FEATURE_2_4_MODULES is not set 586 | # CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set 587 | # CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set 588 | # CONFIG_FEATURE_INSMOD_LOADINKMEM is not set 589 | # CONFIG_FEATURE_INSMOD_LOAD_MAP is not set 590 | # CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set 591 | # CONFIG_FEATURE_CHECK_TAINTED_MODULE is not set 592 | # CONFIG_FEATURE_INSMOD_TRY_MMAP is not set 593 | # CONFIG_FEATURE_MODUTILS_ALIAS is not set 594 | # CONFIG_FEATURE_MODUTILS_SYMBOLS is not set 595 | CONFIG_DEFAULT_MODULES_DIR="/lib/modules" 596 | CONFIG_DEFAULT_DEPMOD_FILE="modules.dep" 597 | 598 | # 599 | # Linux System Utilities 600 | # 601 | # CONFIG_ACPID is not set 602 | # CONFIG_FEATURE_ACPID_COMPAT is not set 603 | CONFIG_BLKDISCARD=y 604 | CONFIG_BLKID=y 605 | CONFIG_FEATURE_BLKID_TYPE=y 606 | CONFIG_BLOCKDEV=y 607 | # CONFIG_CAL is not set 608 | CONFIG_CHRT=y 609 | CONFIG_DMESG=y 610 | CONFIG_FEATURE_DMESG_PRETTY=y 611 | CONFIG_EJECT=y 612 | CONFIG_FEATURE_EJECT_SCSI=y 613 | CONFIG_FALLOCATE=y 614 | CONFIG_FATATTR=y 615 | CONFIG_FBSET=y 616 | CONFIG_FEATURE_FBSET_FANCY=y 617 | CONFIG_FEATURE_FBSET_READMODE=y 618 | # CONFIG_FDFORMAT is not set 619 | CONFIG_FDISK=y 620 | # CONFIG_FDISK_SUPPORT_LARGE_DISKS is not set 621 | CONFIG_FEATURE_FDISK_WRITABLE=y 622 | # CONFIG_FEATURE_AIX_LABEL is not set 623 | # CONFIG_FEATURE_SGI_LABEL is not set 624 | # CONFIG_FEATURE_SUN_LABEL is not set 625 | CONFIG_FEATURE_OSF_LABEL=y 626 | CONFIG_FEATURE_GPT_LABEL=y 627 | CONFIG_FEATURE_FDISK_ADVANCED=y 628 | CONFIG_FINDFS=y 629 | CONFIG_FLOCK=y 630 | CONFIG_FDFLUSH=y 631 | CONFIG_FREERAMDISK=y 632 | # CONFIG_FSCK_MINIX is not set 633 | CONFIG_FSFREEZE=y 634 | CONFIG_FSTRIM=y 635 | CONFIG_GETOPT=y 636 | CONFIG_FEATURE_GETOPT_LONG=y 637 | CONFIG_HEXDUMP=y 638 | # CONFIG_HD is not set 639 | CONFIG_XXD=y 640 | CONFIG_HWCLOCK=y 641 | CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS=y 642 | CONFIG_IONICE=y 643 | # CONFIG_IPCRM is not set 644 | # CONFIG_IPCS is not set 645 | # CONFIG_LAST is not set 646 | # CONFIG_FEATURE_LAST_FANCY is not set 647 | # CONFIG_LOSETUP is not set 648 | # CONFIG_LSPCI is not set 649 | CONFIG_LSUSB=y 650 | # CONFIG_MDEV is not set 651 | # CONFIG_FEATURE_MDEV_CONF is not set 652 | # CONFIG_FEATURE_MDEV_RENAME is not set 653 | # CONFIG_FEATURE_MDEV_RENAME_REGEXP is not set 654 | # CONFIG_FEATURE_MDEV_EXEC is not set 655 | # CONFIG_FEATURE_MDEV_LOAD_FIRMWARE is not set 656 | # CONFIG_FEATURE_MDEV_DAEMON is not set 657 | CONFIG_MESG=y 658 | CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP=y 659 | CONFIG_MKE2FS=y 660 | # CONFIG_MKFS_EXT2 is not set 661 | # CONFIG_MKFS_MINIX is not set 662 | # CONFIG_FEATURE_MINIX2 is not set 663 | # CONFIG_MKFS_REISER is not set 664 | CONFIG_MKDOSFS=y 665 | CONFIG_MKFS_VFAT=y 666 | CONFIG_MKSWAP=y 667 | CONFIG_FEATURE_MKSWAP_UUID=y 668 | CONFIG_MORE=y 669 | CONFIG_MOUNT=y 670 | CONFIG_FEATURE_MOUNT_FAKE=y 671 | CONFIG_FEATURE_MOUNT_VERBOSE=y 672 | CONFIG_FEATURE_MOUNT_HELPERS=y 673 | CONFIG_FEATURE_MOUNT_LABEL=y 674 | # CONFIG_FEATURE_MOUNT_NFS is not set 675 | # CONFIG_FEATURE_MOUNT_CIFS is not set 676 | CONFIG_FEATURE_MOUNT_FLAGS=y 677 | CONFIG_FEATURE_MOUNT_FSTAB=y 678 | CONFIG_FEATURE_MOUNT_OTHERTAB=y 679 | CONFIG_MOUNTPOINT=y 680 | CONFIG_NOLOGIN=y 681 | CONFIG_NOLOGIN_DEPENDENCIES=y 682 | CONFIG_NSENTER=y 683 | CONFIG_PIVOT_ROOT=y 684 | CONFIG_RDATE=y 685 | # CONFIG_RDEV is not set 686 | # CONFIG_READPROFILE is not set 687 | CONFIG_RENICE=y 688 | CONFIG_REV=y 689 | CONFIG_RTCWAKE=y 690 | # CONFIG_SCRIPT is not set 691 | # CONFIG_SCRIPTREPLAY is not set 692 | # CONFIG_SETARCH is not set 693 | # CONFIG_LINUX32 is not set 694 | # CONFIG_LINUX64 is not set 695 | # CONFIG_SETPRIV is not set 696 | # CONFIG_FEATURE_SETPRIV_DUMP is not set 697 | # CONFIG_FEATURE_SETPRIV_CAPABILITIES is not set 698 | # CONFIG_FEATURE_SETPRIV_CAPABILITY_NAMES is not set 699 | CONFIG_SETSID=y 700 | CONFIG_SWAPON=y 701 | CONFIG_FEATURE_SWAPON_DISCARD=y 702 | CONFIG_FEATURE_SWAPON_PRI=y 703 | CONFIG_SWAPOFF=y 704 | CONFIG_FEATURE_SWAPONOFF_LABEL=y 705 | CONFIG_SWITCH_ROOT=y 706 | # CONFIG_TASKSET is not set 707 | # CONFIG_FEATURE_TASKSET_FANCY is not set 708 | # CONFIG_FEATURE_TASKSET_CPULIST is not set 709 | # CONFIG_UEVENT is not set 710 | CONFIG_UMOUNT=y 711 | CONFIG_FEATURE_UMOUNT_ALL=y 712 | CONFIG_UNSHARE=y 713 | # CONFIG_WALL is not set 714 | 715 | # 716 | # Common options for mount/umount 717 | # 718 | CONFIG_FEATURE_MOUNT_LOOP=y 719 | CONFIG_FEATURE_MOUNT_LOOP_CREATE=y 720 | CONFIG_FEATURE_MTAB_SUPPORT=y 721 | CONFIG_VOLUMEID=y 722 | 723 | # 724 | # Filesystem/Volume identification 725 | # 726 | CONFIG_FEATURE_VOLUMEID_BCACHE=y 727 | CONFIG_FEATURE_VOLUMEID_BTRFS=y 728 | CONFIG_FEATURE_VOLUMEID_CRAMFS=y 729 | CONFIG_FEATURE_VOLUMEID_EROFS=y 730 | CONFIG_FEATURE_VOLUMEID_EXFAT=y 731 | CONFIG_FEATURE_VOLUMEID_EXT=y 732 | CONFIG_FEATURE_VOLUMEID_F2FS=y 733 | CONFIG_FEATURE_VOLUMEID_FAT=y 734 | CONFIG_FEATURE_VOLUMEID_HFS=y 735 | CONFIG_FEATURE_VOLUMEID_ISO9660=y 736 | CONFIG_FEATURE_VOLUMEID_JFS=y 737 | CONFIG_FEATURE_VOLUMEID_LFS=y 738 | CONFIG_FEATURE_VOLUMEID_LINUXRAID=y 739 | CONFIG_FEATURE_VOLUMEID_LINUXSWAP=y 740 | CONFIG_FEATURE_VOLUMEID_LUKS=y 741 | CONFIG_FEATURE_VOLUMEID_MINIX=y 742 | CONFIG_FEATURE_VOLUMEID_NILFS=y 743 | CONFIG_FEATURE_VOLUMEID_NTFS=y 744 | CONFIG_FEATURE_VOLUMEID_OCFS2=y 745 | # CONFIG_FEATURE_VOLUMEID_REISERFS is not set 746 | CONFIG_FEATURE_VOLUMEID_ROMFS=y 747 | CONFIG_FEATURE_VOLUMEID_SQUASHFS=y 748 | CONFIG_FEATURE_VOLUMEID_SYSV=y 749 | CONFIG_FEATURE_VOLUMEID_UBIFS=y 750 | CONFIG_FEATURE_VOLUMEID_UDF=y 751 | CONFIG_FEATURE_VOLUMEID_XFS=y 752 | 753 | # 754 | # Miscellaneous Utilities 755 | # 756 | CONFIG_ADJTIMEX=y 757 | # CONFIG_ASCII is not set 758 | # CONFIG_BBCONFIG is not set 759 | # CONFIG_FEATURE_COMPRESS_BBCONFIG is not set 760 | CONFIG_BC=y 761 | CONFIG_DC=y 762 | CONFIG_FEATURE_DC_BIG=y 763 | # CONFIG_FEATURE_DC_LIBM is not set 764 | CONFIG_FEATURE_BC_INTERACTIVE=y 765 | CONFIG_FEATURE_BC_LONG_OPTIONS=y 766 | # CONFIG_BEEP is not set 767 | CONFIG_FEATURE_BEEP_FREQ=0 768 | CONFIG_FEATURE_BEEP_LENGTH_MS=0 769 | # CONFIG_CHAT is not set 770 | # CONFIG_FEATURE_CHAT_NOFAIL is not set 771 | # CONFIG_FEATURE_CHAT_TTY_HIFI is not set 772 | # CONFIG_FEATURE_CHAT_IMPLICIT_CR is not set 773 | # CONFIG_FEATURE_CHAT_SWALLOW_OPTS is not set 774 | # CONFIG_FEATURE_CHAT_SEND_ESCAPES is not set 775 | # CONFIG_FEATURE_CHAT_VAR_ABORT_LEN is not set 776 | # CONFIG_FEATURE_CHAT_CLR_ABORT is not set 777 | CONFIG_CONSPY=y 778 | CONFIG_CROND=y 779 | CONFIG_FEATURE_CROND_D=y 780 | CONFIG_FEATURE_CROND_CALL_SENDMAIL=y 781 | CONFIG_FEATURE_CROND_SPECIAL_TIMES=y 782 | CONFIG_FEATURE_CROND_DIR="/var/spool/cron" 783 | # CONFIG_CRONTAB is not set 784 | # CONFIG_DEVFSD is not set 785 | # CONFIG_DEVFSD_MODLOAD is not set 786 | # CONFIG_DEVFSD_FG_NP is not set 787 | # CONFIG_DEVFSD_VERBOSE is not set 788 | # CONFIG_FEATURE_DEVFS is not set 789 | CONFIG_DEVMEM=y 790 | # CONFIG_FBSPLASH is not set 791 | # CONFIG_FLASH_ERASEALL is not set 792 | # CONFIG_FLASH_LOCK is not set 793 | # CONFIG_FLASH_UNLOCK is not set 794 | # CONFIG_FLASHCP is not set 795 | CONFIG_HDPARM=y 796 | CONFIG_FEATURE_HDPARM_GET_IDENTITY=y 797 | CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF=y 798 | CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF=y 799 | CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET=y 800 | CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF=y 801 | CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA=y 802 | CONFIG_HEXEDIT=y 803 | # CONFIG_I2CGET is not set 804 | # CONFIG_I2CSET is not set 805 | # CONFIG_I2CDUMP is not set 806 | # CONFIG_I2CDETECT is not set 807 | # CONFIG_I2CTRANSFER is not set 808 | # CONFIG_INOTIFYD is not set 809 | CONFIG_LESS=y 810 | CONFIG_FEATURE_LESS_MAXLINES=9999999 811 | CONFIG_FEATURE_LESS_BRACKETS=y 812 | CONFIG_FEATURE_LESS_FLAGS=y 813 | CONFIG_FEATURE_LESS_TRUNCATE=y 814 | CONFIG_FEATURE_LESS_MARKS=y 815 | CONFIG_FEATURE_LESS_REGEXP=y 816 | CONFIG_FEATURE_LESS_WINCH=y 817 | CONFIG_FEATURE_LESS_ASK_TERMINAL=y 818 | CONFIG_FEATURE_LESS_DASHCMD=y 819 | CONFIG_FEATURE_LESS_LINENUMS=y 820 | CONFIG_FEATURE_LESS_RAW=y 821 | CONFIG_FEATURE_LESS_ENV=y 822 | CONFIG_LSSCSI=y 823 | CONFIG_MAKEDEVS=y 824 | # CONFIG_FEATURE_MAKEDEVS_LEAF is not set 825 | CONFIG_FEATURE_MAKEDEVS_TABLE=y 826 | # CONFIG_MAN is not set 827 | CONFIG_MICROCOM=y 828 | # CONFIG_MIM is not set 829 | # CONFIG_MT is not set 830 | # CONFIG_NANDWRITE is not set 831 | # CONFIG_NANDDUMP is not set 832 | CONFIG_PARTPROBE=y 833 | # CONFIG_RAIDAUTORUN is not set 834 | CONFIG_READAHEAD=y 835 | # CONFIG_RFKILL is not set 836 | # CONFIG_RUNLEVEL is not set 837 | # CONFIG_RX is not set 838 | CONFIG_SEEDRNG=y 839 | CONFIG_SETFATTR=y 840 | CONFIG_SETSERIAL=y 841 | CONFIG_STRINGS=y 842 | CONFIG_TIME=y 843 | CONFIG_TS=y 844 | CONFIG_TTYSIZE=y 845 | # CONFIG_UBIATTACH is not set 846 | # CONFIG_UBIDETACH is not set 847 | # CONFIG_UBIMKVOL is not set 848 | # CONFIG_UBIRMVOL is not set 849 | # CONFIG_UBIRSVOL is not set 850 | # CONFIG_UBIUPDATEVOL is not set 851 | # CONFIG_UBIRENAME is not set 852 | CONFIG_VOLNAME=y 853 | CONFIG_WATCHDOG=y 854 | CONFIG_FEATURE_WATCHDOG_OPEN_TWICE=y 855 | 856 | # 857 | # Networking Utilities 858 | # 859 | CONFIG_FEATURE_IPV6=y 860 | # CONFIG_FEATURE_UNIX_LOCAL is not set 861 | # CONFIG_FEATURE_PREFER_IPV4_ADDRESS is not set 862 | CONFIG_VERBOSE_RESOLUTION_ERRORS=y 863 | CONFIG_FEATURE_ETC_NETWORKS=y 864 | CONFIG_FEATURE_ETC_SERVICES=y 865 | # CONFIG_FEATURE_HWIB is not set 866 | CONFIG_FEATURE_TLS_SHA1=y 867 | CONFIG_ARP=y 868 | CONFIG_ARPING=y 869 | CONFIG_BRCTL=y 870 | CONFIG_FEATURE_BRCTL_FANCY=y 871 | CONFIG_FEATURE_BRCTL_SHOW=y 872 | # CONFIG_DNSD is not set 873 | CONFIG_ETHER_WAKE=y 874 | # CONFIG_FTPD is not set 875 | # CONFIG_FEATURE_FTPD_WRITE is not set 876 | # CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST is not set 877 | # CONFIG_FEATURE_FTPD_AUTHENTICATION is not set 878 | # CONFIG_FTPGET is not set 879 | # CONFIG_FTPPUT is not set 880 | # CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set 881 | CONFIG_HOSTNAME=y 882 | # CONFIG_DNSDOMAINNAME is not set 883 | # CONFIG_HTTPD is not set 884 | CONFIG_FEATURE_HTTPD_PORT_DEFAULT=0 885 | # CONFIG_FEATURE_HTTPD_RANGES is not set 886 | # CONFIG_FEATURE_HTTPD_SETUID is not set 887 | # CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set 888 | # CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set 889 | # CONFIG_FEATURE_HTTPD_CGI is not set 890 | # CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set 891 | # CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set 892 | # CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set 893 | # CONFIG_FEATURE_HTTPD_ERROR_PAGES is not set 894 | # CONFIG_FEATURE_HTTPD_PROXY is not set 895 | # CONFIG_FEATURE_HTTPD_GZIP is not set 896 | # CONFIG_FEATURE_HTTPD_ETAG is not set 897 | # CONFIG_FEATURE_HTTPD_LAST_MODIFIED is not set 898 | # CONFIG_FEATURE_HTTPD_DATE is not set 899 | # CONFIG_FEATURE_HTTPD_ACL_IP is not set 900 | # CONFIG_IFCONFIG is not set 901 | # CONFIG_FEATURE_IFCONFIG_STATUS is not set 902 | # CONFIG_FEATURE_IFCONFIG_SLIP is not set 903 | # CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set 904 | # CONFIG_FEATURE_IFCONFIG_HW is not set 905 | # CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set 906 | # CONFIG_IFENSLAVE is not set 907 | CONFIG_IFPLUGD=y 908 | # CONFIG_IFUP is not set 909 | # CONFIG_IFDOWN is not set 910 | CONFIG_IFUPDOWN_IFSTATE_PATH="" 911 | # CONFIG_FEATURE_IFUPDOWN_IP is not set 912 | # CONFIG_FEATURE_IFUPDOWN_IPV4 is not set 913 | # CONFIG_FEATURE_IFUPDOWN_IPV6 is not set 914 | # CONFIG_FEATURE_IFUPDOWN_MAPPING is not set 915 | # CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP is not set 916 | # CONFIG_INETD is not set 917 | # CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set 918 | # CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set 919 | # CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME is not set 920 | # CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set 921 | # CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set 922 | # CONFIG_FEATURE_INETD_RPC is not set 923 | CONFIG_IP=y 924 | # CONFIG_IPADDR is not set 925 | # CONFIG_IPLINK is not set 926 | # CONFIG_IPROUTE is not set 927 | # CONFIG_IPTUNNEL is not set 928 | # CONFIG_IPRULE is not set 929 | # CONFIG_IPNEIGH is not set 930 | CONFIG_FEATURE_IP_ADDRESS=y 931 | CONFIG_FEATURE_IP_LINK=y 932 | CONFIG_FEATURE_IP_ROUTE=y 933 | CONFIG_FEATURE_IP_ROUTE_DIR="/etc/iproute2" 934 | CONFIG_FEATURE_IP_TUNNEL=y 935 | CONFIG_FEATURE_IP_RULE=y 936 | CONFIG_FEATURE_IP_NEIGH=y 937 | CONFIG_FEATURE_IP_RARE_PROTOCOLS=y 938 | # CONFIG_IPCALC is not set 939 | # CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set 940 | # CONFIG_FEATURE_IPCALC_FANCY is not set 941 | # CONFIG_FAKEIDENTD is not set 942 | CONFIG_NAMEIF=y 943 | CONFIG_FEATURE_NAMEIF_EXTENDED=y 944 | # CONFIG_NBDCLIENT is not set 945 | # CONFIG_NC is not set 946 | CONFIG_NETCAT=y 947 | CONFIG_NC_SERVER=y 948 | CONFIG_NC_EXTRA=y 949 | CONFIG_NC_110_COMPAT=y 950 | CONFIG_NETSTAT=y 951 | CONFIG_FEATURE_NETSTAT_WIDE=y 952 | CONFIG_FEATURE_NETSTAT_PRG=y 953 | CONFIG_NSLOOKUP=y 954 | CONFIG_FEATURE_NSLOOKUP_BIG=y 955 | CONFIG_FEATURE_NSLOOKUP_LONG_OPTIONS=y 956 | CONFIG_NTPD=y 957 | CONFIG_FEATURE_NTPD_SERVER=y 958 | CONFIG_FEATURE_NTPD_CONF=y 959 | CONFIG_FEATURE_NTP_AUTH=y 960 | CONFIG_PING=y 961 | # CONFIG_PING6 is not set 962 | CONFIG_FEATURE_FANCY_PING=y 963 | # CONFIG_PSCAN is not set 964 | # CONFIG_ROUTE is not set 965 | # CONFIG_SLATTACH is not set 966 | CONFIG_SSL_CLIENT=y 967 | # CONFIG_TC is not set 968 | # CONFIG_FEATURE_TC_INGRESS is not set 969 | # CONFIG_TCPSVD is not set 970 | # CONFIG_UDPSVD is not set 971 | CONFIG_TELNET=y 972 | CONFIG_FEATURE_TELNET_TTYPE=y 973 | CONFIG_FEATURE_TELNET_AUTOLOGIN=y 974 | CONFIG_FEATURE_TELNET_WIDTH=y 975 | # CONFIG_TELNETD is not set 976 | # CONFIG_FEATURE_TELNETD_STANDALONE is not set 977 | CONFIG_FEATURE_TELNETD_PORT_DEFAULT=0 978 | # CONFIG_FEATURE_TELNETD_INETD_WAIT is not set 979 | CONFIG_TFTP=y 980 | CONFIG_FEATURE_TFTP_PROGRESS_BAR=y 981 | CONFIG_FEATURE_TFTP_HPA_COMPAT=y 982 | CONFIG_TFTPD=y 983 | CONFIG_FEATURE_TFTP_GET=y 984 | CONFIG_FEATURE_TFTP_PUT=y 985 | CONFIG_FEATURE_TFTP_BLOCKSIZE=y 986 | # CONFIG_TFTP_DEBUG is not set 987 | CONFIG_TLS=y 988 | CONFIG_TRACEROUTE=y 989 | CONFIG_TRACEROUTE6=y 990 | CONFIG_FEATURE_TRACEROUTE_VERBOSE=y 991 | CONFIG_FEATURE_TRACEROUTE_USE_ICMP=y 992 | CONFIG_TUNCTL=y 993 | CONFIG_FEATURE_TUNCTL_UG=y 994 | # CONFIG_VCONFIG is not set 995 | # CONFIG_WGET is not set 996 | # CONFIG_FEATURE_WGET_LONG_OPTIONS is not set 997 | # CONFIG_FEATURE_WGET_STATUSBAR is not set 998 | # CONFIG_FEATURE_WGET_FTP is not set 999 | # CONFIG_FEATURE_WGET_AUTHENTICATION is not set 1000 | # CONFIG_FEATURE_WGET_TIMEOUT is not set 1001 | # CONFIG_FEATURE_WGET_HTTPS is not set 1002 | # CONFIG_FEATURE_WGET_OPENSSL is not set 1003 | # CONFIG_WHOIS is not set 1004 | CONFIG_ZCIP=y 1005 | CONFIG_UDHCPD=y 1006 | CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC=y 1007 | CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY=y 1008 | CONFIG_DHCPD_LEASES_FILE="/var/lib/misc/udhcpd.leases" 1009 | CONFIG_DUMPLEASES=y 1010 | CONFIG_DHCPRELAY=y 1011 | CONFIG_UDHCPC=y 1012 | CONFIG_FEATURE_UDHCPC_ARPING=y 1013 | CONFIG_FEATURE_UDHCPC_SANITIZEOPT=y 1014 | CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script" 1015 | CONFIG_UDHCPC6=y 1016 | CONFIG_FEATURE_UDHCPC6_RFC3646=y 1017 | CONFIG_FEATURE_UDHCPC6_RFC4704=y 1018 | CONFIG_FEATURE_UDHCPC6_RFC4833=y 1019 | CONFIG_FEATURE_UDHCPC6_RFC5970=y 1020 | 1021 | # 1022 | # Common options for DHCP applets 1023 | # 1024 | CONFIG_UDHCPC_DEFAULT_INTERFACE="eth0" 1025 | CONFIG_FEATURE_UDHCP_PORT=y 1026 | CONFIG_UDHCP_DEBUG=2 1027 | CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 1028 | CONFIG_FEATURE_UDHCP_RFC3397=y 1029 | CONFIG_FEATURE_UDHCP_8021Q=y 1030 | CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="" 1031 | 1032 | # 1033 | # Print Utilities 1034 | # 1035 | # CONFIG_LPD is not set 1036 | # CONFIG_LPR is not set 1037 | # CONFIG_LPQ is not set 1038 | 1039 | # 1040 | # Mail Utilities 1041 | # 1042 | CONFIG_FEATURE_MIME_CHARSET="" 1043 | # CONFIG_MAKEMIME is not set 1044 | # CONFIG_POPMAILDIR is not set 1045 | # CONFIG_FEATURE_POPMAILDIR_DELIVERY is not set 1046 | # CONFIG_REFORMIME is not set 1047 | # CONFIG_FEATURE_REFORMIME_COMPAT is not set 1048 | # CONFIG_SENDMAIL is not set 1049 | 1050 | # 1051 | # Process Utilities 1052 | # 1053 | CONFIG_FEATURE_FAST_TOP=y 1054 | CONFIG_FEATURE_SHOW_THREADS=y 1055 | CONFIG_FREE=y 1056 | CONFIG_FUSER=y 1057 | CONFIG_IOSTAT=y 1058 | CONFIG_KILL=y 1059 | CONFIG_KILLALL=y 1060 | CONFIG_KILLALL5=y 1061 | CONFIG_LSOF=y 1062 | CONFIG_MPSTAT=y 1063 | CONFIG_NMETER=y 1064 | CONFIG_PGREP=y 1065 | CONFIG_PKILL=y 1066 | CONFIG_PIDOF=y 1067 | CONFIG_FEATURE_PIDOF_SINGLE=y 1068 | CONFIG_FEATURE_PIDOF_OMIT=y 1069 | CONFIG_PMAP=y 1070 | # CONFIG_POWERTOP is not set 1071 | # CONFIG_FEATURE_POWERTOP_INTERACTIVE is not set 1072 | CONFIG_PS=y 1073 | CONFIG_FEATURE_PS_WIDE=y 1074 | CONFIG_FEATURE_PS_LONG=y 1075 | # CONFIG_FEATURE_PS_TIME is not set 1076 | # CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS is not set 1077 | # CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS is not set 1078 | CONFIG_PSTREE=y 1079 | CONFIG_PWDX=y 1080 | # CONFIG_SMEMCAP is not set 1081 | CONFIG_BB_SYSCTL=y 1082 | CONFIG_TOP=y 1083 | CONFIG_FEATURE_TOP_INTERACTIVE=y 1084 | CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y 1085 | CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y 1086 | CONFIG_FEATURE_TOP_SMP_CPU=y 1087 | CONFIG_FEATURE_TOP_DECIMALS=y 1088 | CONFIG_FEATURE_TOP_SMP_PROCESS=y 1089 | CONFIG_FEATURE_TOPMEM=y 1090 | CONFIG_UPTIME=y 1091 | # CONFIG_FEATURE_UPTIME_UTMP_SUPPORT is not set 1092 | CONFIG_WATCH=y 1093 | 1094 | # 1095 | # Runit Utilities 1096 | # 1097 | CONFIG_CHPST=y 1098 | CONFIG_SETUIDGID=y 1099 | CONFIG_ENVUIDGID=y 1100 | CONFIG_ENVDIR=y 1101 | CONFIG_SOFTLIMIT=y 1102 | # CONFIG_RUNSV is not set 1103 | # CONFIG_RUNSVDIR is not set 1104 | # CONFIG_FEATURE_RUNSVDIR_LOG is not set 1105 | # CONFIG_SV is not set 1106 | CONFIG_SV_DEFAULT_SERVICE_DIR="/var/service" 1107 | CONFIG_SVC=y 1108 | CONFIG_SVOK=y 1109 | # CONFIG_SVLOGD is not set 1110 | # CONFIG_CHCON is not set 1111 | # CONFIG_GETENFORCE is not set 1112 | # CONFIG_GETSEBOOL is not set 1113 | # CONFIG_LOAD_POLICY is not set 1114 | # CONFIG_MATCHPATHCON is not set 1115 | # CONFIG_RUNCON is not set 1116 | # CONFIG_SELINUXENABLED is not set 1117 | # CONFIG_SESTATUS is not set 1118 | # CONFIG_SETENFORCE is not set 1119 | # CONFIG_SETFILES is not set 1120 | # CONFIG_FEATURE_SETFILES_CHECK_OPTION is not set 1121 | # CONFIG_RESTORECON is not set 1122 | # CONFIG_SETSEBOOL is not set 1123 | 1124 | # 1125 | # Shells 1126 | # 1127 | CONFIG_SH_IS_ASH=y 1128 | # CONFIG_SH_IS_HUSH is not set 1129 | # CONFIG_SH_IS_NONE is not set 1130 | # CONFIG_BASH_IS_ASH is not set 1131 | # CONFIG_BASH_IS_HUSH is not set 1132 | CONFIG_BASH_IS_NONE=y 1133 | CONFIG_SHELL_ASH=y 1134 | CONFIG_ASH=y 1135 | CONFIG_ASH_OPTIMIZE_FOR_SIZE=y 1136 | CONFIG_ASH_INTERNAL_GLOB=y 1137 | CONFIG_ASH_BASH_COMPAT=y 1138 | # CONFIG_ASH_BASH_SOURCE_CURDIR is not set 1139 | CONFIG_ASH_BASH_NOT_FOUND_HOOK=y 1140 | CONFIG_ASH_JOB_CONTROL=y 1141 | CONFIG_ASH_ALIAS=y 1142 | CONFIG_ASH_RANDOM_SUPPORT=y 1143 | CONFIG_ASH_EXPAND_PRMT=y 1144 | CONFIG_ASH_IDLE_TIMEOUT=y 1145 | # CONFIG_ASH_MAIL is not set 1146 | CONFIG_ASH_ECHO=y 1147 | CONFIG_ASH_PRINTF=y 1148 | CONFIG_ASH_TEST=y 1149 | CONFIG_ASH_HELP=y 1150 | CONFIG_ASH_GETOPTS=y 1151 | CONFIG_ASH_CMDCMD=y 1152 | CONFIG_CTTYHACK=y 1153 | # CONFIG_HUSH is not set 1154 | CONFIG_SHELL_HUSH=y 1155 | CONFIG_HUSH_BASH_COMPAT=y 1156 | CONFIG_HUSH_BRACE_EXPANSION=y 1157 | CONFIG_HUSH_BASH_SOURCE_CURDIR=y 1158 | CONFIG_HUSH_LINENO_VAR=y 1159 | CONFIG_HUSH_INTERACTIVE=y 1160 | CONFIG_HUSH_SAVEHISTORY=y 1161 | CONFIG_HUSH_JOB=y 1162 | CONFIG_HUSH_TICK=y 1163 | CONFIG_HUSH_IF=y 1164 | CONFIG_HUSH_LOOPS=y 1165 | CONFIG_HUSH_CASE=y 1166 | CONFIG_HUSH_FUNCTIONS=y 1167 | CONFIG_HUSH_LOCAL=y 1168 | CONFIG_HUSH_RANDOM_SUPPORT=y 1169 | CONFIG_HUSH_MODE_X=y 1170 | CONFIG_HUSH_ECHO=y 1171 | CONFIG_HUSH_PRINTF=y 1172 | CONFIG_HUSH_TEST=y 1173 | CONFIG_HUSH_HELP=y 1174 | CONFIG_HUSH_EXPORT=y 1175 | CONFIG_HUSH_EXPORT_N=y 1176 | CONFIG_HUSH_READONLY=y 1177 | CONFIG_HUSH_KILL=y 1178 | CONFIG_HUSH_WAIT=y 1179 | CONFIG_HUSH_COMMAND=y 1180 | CONFIG_HUSH_TRAP=y 1181 | CONFIG_HUSH_TYPE=y 1182 | CONFIG_HUSH_TIMES=y 1183 | CONFIG_HUSH_READ=y 1184 | CONFIG_HUSH_SET=y 1185 | CONFIG_HUSH_UNSET=y 1186 | CONFIG_HUSH_ULIMIT=y 1187 | CONFIG_HUSH_UMASK=y 1188 | CONFIG_HUSH_GETOPTS=y 1189 | CONFIG_HUSH_MEMLEAK=y 1190 | 1191 | # 1192 | # Options common to all shells 1193 | # 1194 | CONFIG_FEATURE_SH_MATH=y 1195 | CONFIG_FEATURE_SH_MATH_64=y 1196 | CONFIG_FEATURE_SH_MATH_BASE=y 1197 | CONFIG_FEATURE_SH_EXTRA_QUIET=y 1198 | # CONFIG_FEATURE_SH_STANDALONE is not set 1199 | CONFIG_FEATURE_SH_NOFORK=y 1200 | CONFIG_FEATURE_SH_READ_FRAC=y 1201 | CONFIG_FEATURE_SH_HISTFILESIZE=y 1202 | CONFIG_FEATURE_SH_EMBEDDED_SCRIPTS=y 1203 | 1204 | # 1205 | # System Logging Utilities 1206 | # 1207 | CONFIG_KLOGD=y 1208 | 1209 | # 1210 | # klogd should not be used together with syslog to kernel printk buffer 1211 | # 1212 | CONFIG_FEATURE_KLOGD_KLOGCTL=y 1213 | CONFIG_LOGGER=y 1214 | CONFIG_LOGREAD=y 1215 | CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING=y 1216 | CONFIG_SYSLOGD=y 1217 | CONFIG_FEATURE_ROTATE_LOGFILE=y 1218 | CONFIG_FEATURE_REMOTE_LOG=y 1219 | CONFIG_FEATURE_SYSLOGD_DUP=y 1220 | CONFIG_FEATURE_SYSLOGD_CFG=y 1221 | # CONFIG_FEATURE_SYSLOGD_PRECISE_TIMESTAMPS is not set 1222 | CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=256 1223 | CONFIG_FEATURE_IPC_SYSLOG=y 1224 | CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16 1225 | CONFIG_FEATURE_KMSG_SYSLOG=y 1226 | -------------------------------------------------------------------------------- /configs/crossdev.conf: -------------------------------------------------------------------------------- 1 | [crossdev] 2 | location = /var/db/repos/crossdev 3 | priority = 10 4 | masters = gentoo 5 | auto-sync = no 6 | -------------------------------------------------------------------------------- /initramfs/etc/init.d/rcS: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | PATH=/usr/sbin:/usr/bin:/sbin:/bin 4 | export PATH 5 | 6 | mount -t sysfs none /sys 7 | mount -t tmpfs none /var 8 | mount -t tmpfs none /tmp 9 | mount -t proc none /proc 10 | mkdir /dev/pts 11 | mount -t devpts none /dev/pts 12 | mount -t debugfs none /sys/kernel/debug 13 | 14 | depmod 15 | 16 | modprobe ps2fb mode_option=1920x1080p@60 17 | 18 | modprobe sif 19 | modprobe iop-memory 20 | modprobe iop-module 21 | modprobe iop-irq 22 | 23 | modprobe sd_mod 24 | modprobe ohci-ps2 25 | modprobe ums-usbat 26 | modprobe usbhid 27 | modprobe hid-generic 28 | 29 | # Blinking block cursor for more visibility. 30 | echo -e "\e[?6c" 31 | 32 | grep machine 4 | # 5 | # 6 | # Note, BusyBox init doesn't support runlevels. The runlevels field is 7 | # completely ignored by BusyBox init. If you want runlevels, use sysvinit. 8 | # 9 | # 10 | # Format for each entry: ::: 11 | # 12 | # : WARNING: This field has a non-traditional meaning for BusyBox init! 13 | # 14 | # The id field is used by BusyBox init to specify the controlling tty for 15 | # the specified process to run on. The contents of this field are 16 | # appended to "/dev/" and used as-is. There is no need for this field to 17 | # be unique, although if it isn't you may have strange results. If this 18 | # field is left blank, then the init's stdin/out will be used. 19 | # 20 | # : The runlevels field is completely ignored. 21 | # 22 | # : Valid actions include: sysinit, respawn, askfirst, wait, once, 23 | # restart, ctrlaltdel, and shutdown. 24 | # 25 | # Note: askfirst acts just like respawn, but before running the specified 26 | # process it displays the line "Please press Enter to activate this 27 | # console." and then waits for the user to press enter before starting 28 | # the specified process. 29 | # 30 | # Note: unrecognized actions (like initdefault) will cause init to emit 31 | # an error message, and then go along with its business. 32 | # 33 | # : Specifies the process to be executed and it's command line. 34 | # 35 | # Note: BusyBox init works just fine without an inittab. If no inittab is 36 | # found, it has the following default behavior: 37 | # ::sysinit:/etc/init.d/rcS 38 | # ::askfirst:/bin/sh 39 | # ::ctrlaltdel:/sbin/reboot 40 | # ::shutdown:/sbin/swapoff -a 41 | # ::shutdown:/bin/umount -a -r 42 | # ::restart:/sbin/init 43 | # tty2::askfirst:/bin/sh 44 | # tty3::askfirst:/bin/sh 45 | # tty4::askfirst:/bin/sh 46 | # 47 | # Boot-time system configuration/initialization script. 48 | # This is run first except when booting in single-user mode. 49 | # 50 | ::sysinit:/etc/init.d/rcS 51 | 52 | # /bin/sh invocations on selected ttys 53 | # 54 | # Note below that we prefix the shell commands with a "-" to indicate to the 55 | # shell that it is supposed to be a login shell. Normally this is handled by 56 | # login, but since we are bypassing login in this case, BusyBox lets you do 57 | # this yourself... 58 | # 59 | # Start an "respawn" shell on the console (whatever that may be) 60 | ::respawn:-/bin/sh 61 | # Start an "respawn" shell on /dev/tty2-4 62 | tty2::respawn:-/bin/sh 63 | tty3::respawn:-/bin/sh 64 | tty4::respawn:-/bin/sh 65 | 66 | # /sbin/getty invocations for selected ttys 67 | tty4::respawn:/sbin/getty 38400 tty4 68 | tty5::respawn:/sbin/getty 38400 tty5 69 | 70 | # Example of how to put a getty on a serial line (for a terminal) 71 | ::respawn:/sbin/getty -L ttyS0 38400 vt100 72 | #::respawn:/sbin/getty -L ttyS1 9600 vt100 73 | # 74 | # Example how to put a getty on a modem line. 75 | #::respawn:/sbin/getty 57600 ttyS2 76 | 77 | # Stuff to do when restarting the init process 78 | ::restart:/sbin/init 79 | 80 | # Stuff to do before rebooting 81 | ::ctrlaltdel:/sbin/reboot 82 | ::shutdown:/bin/umount -a -r 83 | ::shutdown:/sbin/swapoff -a 84 | -------------------------------------------------------------------------------- /initramfs/etc/issue: -------------------------------------------------------------------------------- 1 | Login with root and no password. 2 | -------------------------------------------------------------------------------- /initramfs/etc/passwd: -------------------------------------------------------------------------------- 1 | root::0:0:root:/root:/bin/sh 2 | -------------------------------------------------------------------------------- /initramfs/init: -------------------------------------------------------------------------------- 1 | #!/bin/busybox sh 2 | 3 | /bin/busybox --install -s 4 | ln -s /bin/busybox /sbin/init 5 | 6 | /bin/mount -t devtmpfs devtmpfs /dev 7 | 8 | exec 0/dev/console 10 | exec 2>/dev/console 11 | 12 | exec /sbin/init $* 13 | -------------------------------------------------------------------------------- /licence/deprecated/GPL-1.0: -------------------------------------------------------------------------------- 1 | Valid-License-Identifier: GPL-1.0+ 2 | SPDX-URL: https://spdx.org/licenses/GPL-1.0.html 3 | Usage-Guide: 4 | The GNU General Public License (GPL) version 1 should not be used in new 5 | code. For existing kernel code the 'or any later version' option is 6 | required to be compatible with the general license of the project: GPLv2. 7 | To use the license in source code, put the following SPDX tag/value pair 8 | into a comment according to the placement guidelines in the licensing 9 | rules documentation: 10 | SPDX-License-Identifier: GPL-1.0+ 11 | License-Text: 12 | 13 | GNU GENERAL PUBLIC LICENSE 14 | Version 1, February 1989 15 | 16 | Copyright (C) 1989 Free Software Foundation, Inc. 17 | 675 Mass Ave, Cambridge, MA 02139, USA 18 | Everyone is permitted to copy and distribute verbatim copies 19 | of this license document, but changing it is not allowed. 20 | 21 | Preamble 22 | 23 | The license agreements of most software companies try to keep users 24 | at the mercy of those companies. By contrast, our General Public 25 | License is intended to guarantee your freedom to share and change free 26 | software--to make sure the software is free for all its users. The 27 | General Public License applies to the Free Software Foundation's 28 | software and to any other program whose authors commit to using it. 29 | You can use it for your programs, too. 30 | 31 | When we speak of free software, we are referring to freedom, not 32 | price. Specifically, the General Public License is designed to make 33 | sure that you have the freedom to give away or sell copies of free 34 | software, that you receive source code or can get it if you want it, 35 | that you can change the software or use pieces of it in new free 36 | programs; and that you know you can do these things. 37 | 38 | To protect your rights, we need to make restrictions that forbid 39 | anyone to deny you these rights or to ask you to surrender the rights. 40 | These restrictions translate to certain responsibilities for you if you 41 | distribute copies of the software, or if you modify it. 42 | 43 | For example, if you distribute copies of a such a program, whether 44 | gratis or for a fee, you must give the recipients all the rights that 45 | you have. You must make sure that they, too, receive or can get the 46 | source code. And you must tell them their rights. 47 | 48 | We protect your rights with two steps: (1) copyright the software, and 49 | (2) offer you this license which gives you legal permission to copy, 50 | distribute and/or modify the software. 51 | 52 | Also, for each author's protection and ours, we want to make certain 53 | that everyone understands that there is no warranty for this free 54 | software. If the software is modified by someone else and passed on, we 55 | want its recipients to know that what they have is not the original, so 56 | that any problems introduced by others will not reflect on the original 57 | authors' reputations. 58 | 59 | The precise terms and conditions for copying, distribution and 60 | modification follow. 61 | 62 | GNU GENERAL PUBLIC LICENSE 63 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 64 | 65 | 0. This License Agreement applies to any program or other work which 66 | contains a notice placed by the copyright holder saying it may be 67 | distributed under the terms of this General Public License. The 68 | "Program", below, refers to any such program or work, and a "work based 69 | on the Program" means either the Program or any work containing the 70 | Program or a portion of it, either verbatim or with modifications. Each 71 | licensee is addressed as "you". 72 | 73 | 1. You may copy and distribute verbatim copies of the Program's source 74 | code as you receive it, in any medium, provided that you conspicuously and 75 | appropriately publish on each copy an appropriate copyright notice and 76 | disclaimer of warranty; keep intact all the notices that refer to this 77 | General Public License and to the absence of any warranty; and give any 78 | other recipients of the Program a copy of this General Public License 79 | along with the Program. You may charge a fee for the physical act of 80 | transferring a copy. 81 | 82 | 2. You may modify your copy or copies of the Program or any portion of 83 | it, and copy and distribute such modifications under the terms of Paragraph 84 | 1 above, provided that you also do the following: 85 | 86 | a) cause the modified files to carry prominent notices stating that 87 | you changed the files and the date of any change; and 88 | 89 | b) cause the whole of any work that you distribute or publish, that 90 | in whole or in part contains the Program or any part thereof, either 91 | with or without modifications, to be licensed at no charge to all 92 | third parties under the terms of this General Public License (except 93 | that you may choose to grant warranty protection to some or all 94 | third parties, at your option). 95 | 96 | c) If the modified program normally reads commands interactively when 97 | run, you must cause it, when started running for such interactive use 98 | in the simplest and most usual way, to print or display an 99 | announcement including an appropriate copyright notice and a notice 100 | that there is no warranty (or else, saying that you provide a 101 | warranty) and that users may redistribute the program under these 102 | conditions, and telling the user how to view a copy of this General 103 | Public License. 104 | 105 | d) You may charge a fee for the physical act of transferring a 106 | copy, and you may at your option offer warranty protection in 107 | exchange for a fee. 108 | 109 | Mere aggregation of another independent work with the Program (or its 110 | derivative) on a volume of a storage or distribution medium does not bring 111 | the other work under the scope of these terms. 112 | 113 | 3. You may copy and distribute the Program (or a portion or derivative of 114 | it, under Paragraph 2) in object code or executable form under the terms of 115 | Paragraphs 1 and 2 above provided that you also do one of the following: 116 | 117 | a) accompany it with the complete corresponding machine-readable 118 | source code, which must be distributed under the terms of 119 | Paragraphs 1 and 2 above; or, 120 | 121 | b) accompany it with a written offer, valid for at least three 122 | years, to give any third party free (except for a nominal charge 123 | for the cost of distribution) a complete machine-readable copy of the 124 | corresponding source code, to be distributed under the terms of 125 | Paragraphs 1 and 2 above; or, 126 | 127 | c) accompany it with the information you received as to where the 128 | corresponding source code may be obtained. (This alternative is 129 | allowed only for noncommercial distribution and only if you 130 | received the program in object code or executable form alone.) 131 | 132 | Source code for a work means the preferred form of the work for making 133 | modifications to it. For an executable file, complete source code means 134 | all the source code for all modules it contains; but, as a special 135 | exception, it need not include source code for modules which are standard 136 | libraries that accompany the operating system on which the executable 137 | file runs, or for standard header files or definitions files that 138 | accompany that operating system. 139 | 140 | 4. You may not copy, modify, sublicense, distribute or transfer the 141 | Program except as expressly provided under this General Public License. 142 | Any attempt otherwise to copy, modify, sublicense, distribute or transfer 143 | the Program is void, and will automatically terminate your rights to use 144 | the Program under this License. However, parties who have received 145 | copies, or rights to use copies, from you under this General Public 146 | License will not have their licenses terminated so long as such parties 147 | remain in full compliance. 148 | 149 | 5. By copying, distributing or modifying the Program (or any work based 150 | on the Program) you indicate your acceptance of this license to do so, 151 | and all its terms and conditions. 152 | 153 | 6. Each time you redistribute the Program (or any work based on the 154 | Program), the recipient automatically receives a license from the original 155 | licensor to copy, distribute or modify the Program subject to these 156 | terms and conditions. You may not impose any further restrictions on the 157 | recipients' exercise of the rights granted herein. 158 | 159 | 7. The Free Software Foundation may publish revised and/or new versions 160 | of the General Public License from time to time. Such new versions will 161 | be similar in spirit to the present version, but may differ in detail to 162 | address new problems or concerns. 163 | 164 | Each version is given a distinguishing version number. If the Program 165 | specifies a version number of the license which applies to it and "any 166 | later version", you have the option of following the terms and conditions 167 | either of that version or of any later version published by the Free 168 | Software Foundation. If the Program does not specify a version number of 169 | the license, you may choose any version ever published by the Free Software 170 | Foundation. 171 | 172 | 8. If you wish to incorporate parts of the Program into other free 173 | programs whose distribution conditions are different, write to the author 174 | to ask for permission. For software which is copyrighted by the Free 175 | Software Foundation, write to the Free Software Foundation; we sometimes 176 | make exceptions for this. Our decision will be guided by the two goals 177 | of preserving the free status of all derivatives of our free software and 178 | of promoting the sharing and reuse of software generally. 179 | 180 | NO WARRANTY 181 | 182 | 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 183 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 184 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 185 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 186 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 187 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 188 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 189 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 190 | REPAIR OR CORRECTION. 191 | 192 | 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 193 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 194 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 195 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 196 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 197 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 198 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 199 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 200 | POSSIBILITY OF SUCH DAMAGES. 201 | 202 | END OF TERMS AND CONDITIONS 203 | 204 | Appendix: How to Apply These Terms to Your New Programs 205 | 206 | If you develop a new program, and you want it to be of the greatest 207 | possible use to humanity, the best way to achieve this is to make it 208 | free software which everyone can redistribute and change under these 209 | terms. 210 | 211 | To do so, attach the following notices to the program. It is safest to 212 | attach them to the start of each source file to most effectively convey 213 | the exclusion of warranty; and each file should have at least the 214 | "copyright" line and a pointer to where the full notice is found. 215 | 216 | 217 | Copyright (C) 19yy 218 | 219 | This program is free software; you can redistribute it and/or modify 220 | it under the terms of the GNU General Public License as published by 221 | the Free Software Foundation; either version 1, or (at your option) 222 | any later version. 223 | 224 | This program is distributed in the hope that it will be useful, 225 | but WITHOUT ANY WARRANTY; without even the implied warranty of 226 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 227 | GNU General Public License for more details. 228 | 229 | You should have received a copy of the GNU General Public License 230 | along with this program; if not, write to the Free Software 231 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 232 | 233 | Also add information on how to contact you by electronic and paper mail. 234 | 235 | If the program is interactive, make it output a short notice like this 236 | when it starts in an interactive mode: 237 | 238 | Gnomovision version 69, Copyright (C) 19xx name of author 239 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 240 | This is free software, and you are welcome to redistribute it 241 | under certain conditions; type `show c' for details. 242 | 243 | The hypothetical commands `show w' and `show c' should show the 244 | appropriate parts of the General Public License. Of course, the 245 | commands you use may be called something other than `show w' and `show 246 | c'; they could even be mouse-clicks or menu items--whatever suits your 247 | program. 248 | 249 | You should also get your employer (if you work as a programmer) or your 250 | school, if any, to sign a "copyright disclaimer" for the program, if 251 | necessary. Here a sample; alter the names: 252 | 253 | Yoyodyne, Inc., hereby disclaims all copyright interest in the 254 | program `Gnomovision' (a program to direct compilers to make passes 255 | at assemblers) written by James Hacker. 256 | 257 | , 1 April 1989 258 | Ty Coon, President of Vice 259 | 260 | That's all there is to it! 261 | -------------------------------------------------------------------------------- /licence/deprecated/ISC: -------------------------------------------------------------------------------- 1 | Valid-License-Identifier: ISC 2 | SPDX-URL: https://spdx.org/licenses/ISC.html 3 | Usage-Guide: 4 | To use the ISC License put the following SPDX tag/value pair into a 5 | comment according to the placement guidelines in the licensing rules 6 | documentation: 7 | SPDX-License-Identifier: ISC 8 | License-Text: 9 | 10 | ISC License 11 | 12 | Copyright (c) 13 | 14 | Permission to use, copy, modify, and/or distribute this software for any 15 | purpose with or without fee is hereby granted, provided that the above 16 | copyright notice and this permission notice appear in all copies. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 19 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 20 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 21 | SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 22 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 23 | OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 24 | CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 25 | -------------------------------------------------------------------------------- /licence/deprecated/Linux-OpenIB: -------------------------------------------------------------------------------- 1 | Valid-License-Identifier: Linux-OpenIB 2 | SPDX-URL: https://spdx.org/licenses/Linux-OpenIB.html 3 | Usage-Guide: 4 | To use the Linux Kernel Variant of OpenIB.org license put the following 5 | SPDX tag/value pair into a comment according to the placement guidelines 6 | in the licensing rules documentation: 7 | SPDX-License-Identifier: Linux-OpenIB 8 | License-Text: 9 | 10 | Redistribution and use in source and binary forms, with or without 11 | modification, are permitted provided that the following conditions are met: 12 | 13 | - Redistributions of source code must retain the above copyright 14 | notice, this list of conditions and the following disclaimer. 15 | 16 | - Redistributions in binary form must reproduce the above copyright 17 | notice, this list of conditions and the following disclaimer in the 18 | documentation and/or other materials provided with the distribution. 19 | 20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 26 | DEALINGS IN THE SOFTWARE. 27 | -------------------------------------------------------------------------------- /licence/deprecated/X11: -------------------------------------------------------------------------------- 1 | Valid-License-Identifier: X11 2 | SPDX-URL: https://spdx.org/licenses/X11.html 3 | Usage-Guide: 4 | To use the X11 put the following SPDX tag/value pair into a comment 5 | according to the placement guidelines in the licensing rules 6 | documentation: 7 | SPDX-License-Identifier: X11 8 | License-Text: 9 | 10 | 11 | X11 License 12 | 13 | Copyright (C) 1996 X Consortium 14 | 15 | Permission is hereby granted, free of charge, to any person obtaining a 16 | copy of this software and associated documentation files (the "Software"), 17 | to deal in the Software without restriction, including without limitation 18 | the rights to use, copy, modify, merge, publish, distribute, sublicense, 19 | and/or sell copies of the Software, and to permit persons to whom the 20 | Software is furnished to do so, subject to the following conditions: 21 | 22 | The above copyright notice and this permission notice shall be included in 23 | all copies or substantial portions of the Software. 24 | 25 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 26 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 27 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 28 | X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 29 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 30 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 31 | 32 | Except as contained in this notice, the name of the X Consortium shall not 33 | be used in advertising or otherwise to promote the sale, use or other 34 | dealings in this Software without prior written authorization from the X 35 | Consortium. 36 | 37 | X Window System is a trademark of X Consortium, Inc. 38 | -------------------------------------------------------------------------------- /licence/dual/Apache-2.0: -------------------------------------------------------------------------------- 1 | Valid-License-Identifier: Apache-2.0 2 | SPDX-URL: https://spdx.org/licenses/Apache-2.0.html 3 | Usage-Guide: 4 | Do NOT use. The Apache-2.0 is not GPL2 compatible. It may only be used 5 | for dual-licensed files where the other license is GPL2 compatible. 6 | If you end up using this it MUST be used together with a GPL2 compatible 7 | license using "OR". 8 | To use the Apache License version 2.0 put the following SPDX tag/value 9 | pair into a comment according to the placement guidelines in the 10 | licensing rules documentation: 11 | SPDX-License-Identifier: Apache-2.0 12 | License-Text: 13 | 14 | Apache License 15 | 16 | Version 2.0, January 2004 17 | 18 | http://www.apache.org/licenses/ 19 | 20 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 21 | 22 | 1. Definitions. 23 | 24 | "License" shall mean the terms and conditions for use, reproduction, and 25 | distribution as defined by Sections 1 through 9 of this document. 26 | 27 | "Licensor" shall mean the copyright owner or entity authorized by the 28 | copyright owner that is granting the License. 29 | 30 | "Legal Entity" shall mean the union of the acting entity and all other 31 | entities that control, are controlled by, or are under common control with 32 | that entity. For the purposes of this definition, "control" means (i) the 33 | power, direct or indirect, to cause the direction or management of such 34 | entity, whether by contract or otherwise, or (ii) ownership of fifty 35 | percent (50%) or more of the outstanding shares, or (iii) beneficial 36 | ownership of such entity. 37 | 38 | "You" (or "Your") shall mean an individual or Legal Entity exercising 39 | permissions granted by this License. 40 | 41 | "Source" form shall mean the preferred form for making modifications, 42 | including but not limited to software source code, documentation source, 43 | and configuration files. 44 | 45 | "Object" form shall mean any form resulting from mechanical transformation 46 | or translation of a Source form, including but not limited to compiled 47 | object code, generated documentation, and conversions to other media types. 48 | 49 | "Work" shall mean the work of authorship, whether in Source or Object form, 50 | made available under the License, as indicated by a copyright notice that 51 | is included in or attached to the work (an example is provided in the 52 | Appendix below). 53 | 54 | "Derivative Works" shall mean any work, whether in Source or Object form, 55 | that is based on (or derived from) the Work and for which the editorial 56 | revisions, annotations, elaborations, or other modifications represent, as 57 | a whole, an original work of authorship. For the purposes of this License, 58 | Derivative Works shall not include works that remain separable from, or 59 | merely link (or bind by name) to the interfaces of, the Work and Derivative 60 | Works thereof. 61 | 62 | "Contribution" shall mean any work of authorship, including the original 63 | version of the Work and any modifications or additions to that Work or 64 | Derivative Works thereof, that is intentionally submitted to Licensor for 65 | inclusion in the Work by the copyright owner or by an individual or Legal 66 | Entity authorized to submit on behalf of the copyright owner. For the 67 | purposes of this definition, "submitted" means any form of electronic, 68 | verbal, or written communication sent to the Licensor or its 69 | representatives, including but not limited to communication on electronic 70 | mailing lists, source code control systems, and issue tracking systems that 71 | are managed by, or on behalf of, the Licensor for the purpose of discussing 72 | and improving the Work, but excluding communication that is conspicuously 73 | marked or otherwise designated in writing by the copyright owner as "Not a 74 | Contribution." 75 | 76 | "Contributor" shall mean Licensor and any individual or Legal Entity on 77 | behalf of whom a Contribution has been received by Licensor and 78 | subsequently incorporated within the Work. 79 | 80 | 2. Grant of Copyright License. Subject to the terms and conditions of this 81 | License, each Contributor hereby grants to You a perpetual, worldwide, 82 | non-exclusive, no-charge, royalty-free, irrevocable copyright license to 83 | reproduce, prepare Derivative Works of, publicly display, publicly 84 | perform, sublicense, and distribute the Work and such Derivative Works 85 | in Source or Object form. 86 | 87 | 3. Grant of Patent License. Subject to the terms and conditions of this 88 | License, each Contributor hereby grants to You a perpetual, worldwide, 89 | non-exclusive, no-charge, royalty-free, irrevocable (except as stated in 90 | this section) patent license to make, have made, use, offer to sell, 91 | sell, import, and otherwise transfer the Work, where such license 92 | applies only to those patent claims licensable by such Contributor that 93 | are necessarily infringed by their Contribution(s) alone or by 94 | combination of their Contribution(s) with the Work to which such 95 | Contribution(s) was submitted. If You institute patent litigation 96 | against any entity (including a cross-claim or counterclaim in a 97 | lawsuit) alleging that the Work or a Contribution incorporated within 98 | the Work constitutes direct or contributory patent infringement, then 99 | any patent licenses granted to You under this License for that Work 100 | shall terminate as of the date such litigation is filed. 101 | 102 | 4. Redistribution. You may reproduce and distribute copies of the Work or 103 | Derivative Works thereof in any medium, with or without modifications, 104 | and in Source or Object form, provided that You meet the following 105 | conditions: 106 | 107 | a. You must give any other recipients of the Work or Derivative Works a 108 | copy of this License; and 109 | 110 | b. You must cause any modified files to carry prominent notices stating 111 | that You changed the files; and 112 | 113 | c. You must retain, in the Source form of any Derivative Works that You 114 | distribute, all copyright, patent, trademark, and attribution notices 115 | from the Source form of the Work, excluding those notices that do not 116 | pertain to any part of the Derivative Works; and 117 | 118 | d. If the Work includes a "NOTICE" text file as part of its 119 | distribution, then any Derivative Works that You distribute must 120 | include a readable copy of the attribution notices contained within 121 | such NOTICE file, excluding those notices that do not pertain to any 122 | part of the Derivative Works, in at least one of the following 123 | places: within a NOTICE text file distributed as part of the 124 | Derivative Works; within the Source form or documentation, if 125 | provided along with the Derivative Works; or, within a display 126 | generated by the Derivative Works, if and wherever such third-party 127 | notices normally appear. The contents of the NOTICE file are for 128 | informational purposes only and do not modify the License. You may 129 | add Your own attribution notices within Derivative Works that You 130 | distribute, alongside or as an addendum to the NOTICE text from the 131 | Work, provided that such additional attribution notices cannot be 132 | construed as modifying the License. 133 | 134 | You may add Your own copyright statement to Your modifications and may 135 | provide additional or different license terms and conditions for use, 136 | reproduction, or distribution of Your modifications, or for any such 137 | Derivative Works as a whole, provided Your use, reproduction, and 138 | distribution of the Work otherwise complies with the conditions stated 139 | in this License. 140 | 141 | 5. Submission of Contributions. Unless You explicitly state otherwise, any 142 | Contribution intentionally submitted for inclusion in the Work by You to 143 | the Licensor shall be under the terms and conditions of this License, 144 | without any additional terms or conditions. Notwithstanding the above, 145 | nothing herein shall supersede or modify the terms of any separate 146 | license agreement you may have executed with Licensor regarding such 147 | Contributions. 148 | 149 | 6. Trademarks. This License does not grant permission to use the trade 150 | names, trademarks, service marks, or product names of the Licensor, 151 | except as required for reasonable and customary use in describing the 152 | origin of the Work and reproducing the content of the NOTICE file. 153 | 154 | 7. Disclaimer of Warranty. Unless required by applicable law or agreed to 155 | in writing, Licensor provides the Work (and each Contributor provides 156 | its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 157 | OF ANY KIND, either express or implied, including, without limitation, 158 | any warranties or conditions of TITLE, NON-INFRINGEMENT, 159 | MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely 160 | responsible for determining the appropriateness of using or 161 | redistributing the Work and assume any risks associated with Your 162 | exercise of permissions under this License. 163 | 164 | 8. Limitation of Liability. In no event and under no legal theory, whether 165 | in tort (including negligence), contract, or otherwise, unless required 166 | by applicable law (such as deliberate and grossly negligent acts) or 167 | agreed to in writing, shall any Contributor be liable to You for 168 | damages, including any direct, indirect, special, incidental, or 169 | consequential damages of any character arising as a result of this 170 | License or out of the use or inability to use the Work (including but 171 | not limited to damages for loss of goodwill, work stoppage, computer 172 | failure or malfunction, or any and all other commercial damages or 173 | losses), even if such Contributor has been advised of the possibility of 174 | such damages. 175 | 176 | 9. Accepting Warranty or Additional Liability. While redistributing the 177 | Work or Derivative Works thereof, You may choose to offer, and charge a 178 | fee for, acceptance of support, warranty, indemnity, or other liability 179 | obligations and/or rights consistent with this License. However, in 180 | accepting such obligations, You may act only on Your own behalf and on 181 | Your sole responsibility, not on behalf of any other Contributor, and 182 | only if You agree to indemnify, defend, and hold each Contributor 183 | harmless for any liability incurred by, or claims asserted against, such 184 | Contributor by reason of your accepting any such warranty or additional 185 | liability. 186 | 187 | END OF TERMS AND CONDITIONS 188 | -------------------------------------------------------------------------------- /licence/dual/CDDL-1.0: -------------------------------------------------------------------------------- 1 | Valid-License-Identifier: CDDL-1.0 2 | SPDX-URL: https://spdx.org/licenses/CDDL-1.0.html 3 | Usage-Guide: 4 | Do NOT use. The CDDL-1.0 is not GPL2 compatible. It may only be used for 5 | dual-licensed files where the other license is GPL2 compatible. 6 | If you end up using this it MUST be used together with a GPL2 compatible 7 | license using "OR". 8 | To use the Common Development and Distribution License 1.0 put the 9 | following SPDX tag/value pair into a comment according to the placement 10 | guidelines in the licensing rules documentation: 11 | SPDX-License-Identifier: ($GPL-COMPATIBLE-ID OR CDDL-1.0) 12 | 13 | License-Text: 14 | 15 | COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) 16 | Version 1.0 17 | 18 | 1. Definitions. 19 | 20 | 1.1. "Contributor" means each individual or entity that creates or 21 | contributes to the creation of Modifications. 22 | 23 | 1.2. "Contributor Version" means the combination of the Original 24 | Software, prior Modifications used by a Contributor (if any), 25 | and the Modifications made by that particular Contributor. 26 | 27 | 1.3. "Covered Software" means (a) the Original Software, or (b) 28 | Modifications, or (c) the combination of files containing 29 | Original Software with files containing Modifications, in each 30 | case including portions thereof. 31 | 32 | 1.4. "Executable" means the Covered Software in any form other than 33 | Source Code. 34 | 35 | 1.5. "Initial Developer" means the individual or entity that first 36 | makes Original Software available under this License. 37 | 38 | 1.6. "Larger Work" means a work which combines Covered Software or 39 | portions thereof with code not governed by the terms of this 40 | License. 41 | 42 | 1.7. "License" means this document. 43 | 44 | 1.8. "Licensable" means having the right to grant, to the maximum 45 | extent possible, whether at the time of the initial grant or 46 | subsequently acquired, any and all of the rights conveyed herein. 47 | 48 | 1.9. "Modifications" means the Source Code and Executable form of 49 | any of the following: 50 | 51 | A. Any file that results from an addition to, deletion from or 52 | modification of the contents of a file containing Original 53 | Software or previous Modifications; 54 | 55 | B. Any new file that contains any part of the Original Software 56 | or previous Modification; or 57 | 58 | C. Any new file that is contributed or otherwise made available 59 | under the terms of this License. 60 | 61 | 1.10. "Original Software" means the Source Code and Executable form 62 | of computer software code that is originally released under 63 | this License. 64 | 65 | 1.11. "Patent Claims" means any patent claim(s), now owned or 66 | hereafter acquired, including without limitation, method, 67 | process, and apparatus claims, in any patent Licensable by 68 | grantor. 69 | 70 | 1.12. "Source Code" means (a) the common form of computer software 71 | code in which modifications are made and (b) associated 72 | documentation included in or with such code. 73 | 74 | 1.13. "You" (or "Your") means an individual or a legal entity 75 | exercising rights under, and complying with all of the terms 76 | of, this License. For legal entities, "You" includes any 77 | entity which controls, is controlled by, or is under common 78 | control with You. For purposes of this definition, "control" 79 | means (a) the power, direct or indirect, to cause the 80 | direction or management of such entity, whether by contract 81 | or otherwise, or (b) ownership of more than fifty percent 82 | (50%) of the outstanding shares or beneficial ownership of 83 | such entity. 84 | 85 | 2. License Grants. 86 | 2.1. The Initial Developer Grant. 87 | 88 | Conditioned upon Your compliance with Section 3.1 below and subject 89 | to third party intellectual property claims, the Initial Developer 90 | hereby grants You a world-wide, royalty-free, non-exclusive 91 | license: 92 | 93 | (a) under intellectual property rights (other than patent or 94 | trademark) Licensable by Initial Developer, to use, 95 | reproduce, modify, display, perform, sublicense and 96 | distribute the Original Software (or portions thereof), 97 | with or without Modifications, and/or as part of a Larger 98 | Work; and 99 | 100 | (b) under Patent Claims infringed by the making, using or 101 | selling of Original Software, to make, have made, use, 102 | practice, sell, and offer for sale, and/or otherwise 103 | dispose of the Original Software (or portions thereof). 104 | 105 | (c) The licenses granted in Sections 2.1(a) and (b) are 106 | effective on the date Initial Developer first distributes 107 | or otherwise makes the Original Software available to a 108 | third party under the terms of this License. 109 | 110 | (d) Notwithstanding Section 2.1(b) above, no patent license is 111 | granted: (1) for code that You delete from the Original 112 | Software, or (2) for infringements caused by: (i) the 113 | modification of the Original Software, or (ii) the 114 | combination of the Original Software with other software or 115 | devices. 116 | 117 | 2.2. Contributor Grant. 118 | 119 | Conditioned upon Your compliance with Section 3.1 below and subject 120 | to third party intellectual property claims, each Contributor 121 | hereby grants You a world-wide, royalty-free, non-exclusive 122 | license: 123 | 124 | (a) under intellectual property rights (other than patent or 125 | trademark) Licensable by Contributor to use, reproduce, 126 | modify, display, perform, sublicense and distribute the 127 | Modifications created by such Contributor (or portions 128 | thereof), either on an unmodified basis, with other 129 | Modifications, as Covered Software and/or as part of a 130 | Larger Work; and 131 | 132 | (b) under Patent Claims infringed by the making, using, or 133 | selling of Modifications made by that Contributor either 134 | alone and/or in combination with its Contributor Version 135 | (or portions of such combination), to make, use, sell, 136 | offer for sale, have made, and/or otherwise dispose of: (1) 137 | Modifications made by that Contributor (or portions 138 | thereof); and (2) the combination of Modifications made by 139 | that Contributor with its Contributor Version (or portions 140 | of such combination). 141 | 142 | (c) The licenses granted in Sections 2.2(a) and 2.2(b) are 143 | effective on the date Contributor first distributes or 144 | otherwise makes the Modifications available to a third 145 | party. 146 | 147 | (d) Notwithstanding Section 2.2(b) above, no patent license is 148 | granted: (1) for any code that Contributor has deleted from 149 | the Contributor Version; (2) for infringements caused by: 150 | (i) third party modifications of Contributor Version, or 151 | (ii) the combination of Modifications made by that 152 | Contributor with other software (except as part of the 153 | Contributor Version) or other devices; or (3) under Patent 154 | Claims infringed by Covered Software in the absence of 155 | Modifications made by that Contributor. 156 | 157 | 3. Distribution Obligations. 158 | 3.1. Availability of Source Code. 159 | 160 | Any Covered Software that You distribute or otherwise make 161 | available in Executable form must also be made available in Source 162 | Code form and that Source Code form must be distributed only under 163 | the terms of this License. You must include a copy of this License 164 | with every copy of the Source Code form of the Covered Software You 165 | distribute or otherwise make available. You must inform recipients 166 | of any such Covered Software in Executable form as to how they can 167 | obtain such Covered Software in Source Code form in a reasonable 168 | manner on or through a medium customarily used for software 169 | exchange. 170 | 171 | 3.2. Modifications. 172 | 173 | The Modifications that You create or to which You contribute are 174 | governed by the terms of this License. You represent that You 175 | believe Your Modifications are Your original creation(s) and/or You 176 | have sufficient rights to grant the rights conveyed by this 177 | License. 178 | 179 | 3.3. Required Notices. 180 | 181 | You must include a notice in each of Your Modifications that 182 | identifies You as the Contributor of the Modification. You may not 183 | remove or alter any copyright, patent or trademark notices 184 | contained within the Covered Software, or any notices of licensing 185 | or any descriptive text giving attribution to any Contributor or 186 | the Initial Developer. 187 | 188 | 3.4. Application of Additional Terms. 189 | 190 | You may not offer or impose any terms on any Covered Software in 191 | Source Code form that alters or restricts the applicable version of 192 | this License or the recipients' rights hereunder. You may choose to 193 | offer, and to charge a fee for, warranty, support, indemnity or 194 | liability obligations to one or more recipients of Covered 195 | Software. However, you may do so only on Your own behalf, and not 196 | on behalf of the Initial Developer or any Contributor. You must 197 | make it absolutely clear that any such warranty, support, indemnity 198 | or liability obligation is offered by You alone, and You hereby 199 | agree to indemnify the Initial Developer and every Contributor for 200 | any liability incurred by the Initial Developer or such Contributor 201 | as a result of warranty, support, indemnity or liability terms You 202 | offer. 203 | 204 | 3.5. Distribution of Executable Versions. 205 | 206 | You may distribute the Executable form of the Covered Software 207 | under the terms of this License or under the terms of a license of 208 | Your choice, which may contain terms different from this License, 209 | provided that You are in compliance with the terms of this License 210 | and that the license for the Executable form does not attempt to 211 | limit or alter the recipient's rights in the Source Code form from 212 | the rights set forth in this License. If You distribute the Covered 213 | Software in Executable form under a different license, You must 214 | make it absolutely clear that any terms which differ from this 215 | License are offered by You alone, not by the Initial Developer or 216 | Contributor. You hereby agree to indemnify the Initial Developer 217 | and every Contributor for any liability incurred by the Initial 218 | Developer or such Contributor as a result of any such terms You 219 | offer. 220 | 221 | 3.6. Larger Works. 222 | 223 | You may create a Larger Work by combining Covered Software with 224 | other code not governed by the terms of this License and distribute 225 | the Larger Work as a single product. In such a case, You must make 226 | sure the requirements of this License are fulfilled for the Covered 227 | Software. 228 | 229 | 4. Versions of the License. 230 | 4.1. New Versions. 231 | 232 | Sun Microsystems, Inc. is the initial license steward and may 233 | publish revised and/or new versions of this License from time to 234 | time. Each version will be given a distinguishing version 235 | number. Except as provided in Section 4.3, no one other than the 236 | license steward has the right to modify this License. 237 | 238 | 4.2. Effect of New Versions. 239 | 240 | You may always continue to use, distribute or otherwise make the 241 | Covered Software available under the terms of the version of the 242 | License under which You originally received the Covered 243 | Software. If the Initial Developer includes a notice in the 244 | Original Software prohibiting it from being distributed or 245 | otherwise made available under any subsequent version of the 246 | License, You must distribute and make the Covered Software 247 | available under the terms of the version of the License under which 248 | You originally received the Covered Software. Otherwise, You may 249 | also choose to use, distribute or otherwise make the Covered 250 | Software available under the terms of any subsequent version of the 251 | License published by the license steward. 252 | 253 | 4.3. Modified Versions. 254 | 255 | When You are an Initial Developer and You want to create a new 256 | license for Your Original Software, You may create and use a 257 | modified version of this License if You: (a) rename the license and 258 | remove any references to the name of the license steward (except to 259 | note that the license differs from this License); and (b) otherwise 260 | make it clear that the license contains terms which differ from 261 | this License. 262 | 263 | 5. DISCLAIMER OF WARRANTY. 264 | 265 | COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, 266 | WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, 267 | WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF 268 | DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR 269 | NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF 270 | THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE 271 | DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER 272 | CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR 273 | CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART 274 | OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER 275 | EXCEPT UNDER THIS DISCLAIMER. 276 | 277 | 6. TERMINATION. 278 | 279 | 6.1. This License and the rights granted hereunder will terminate 280 | automatically if You fail to comply with terms herein and fail to 281 | cure such breach within 30 days of becoming aware of the 282 | breach. Provisions which, by their nature, must remain in effect 283 | beyond the termination of this License shall survive. 284 | 285 | 6.2. If You assert a patent infringement claim (excluding 286 | declaratory judgment actions) against Initial Developer or a 287 | Contributor (the Initial Developer or Contributor against whom You 288 | assert such claim is referred to as "Participant") alleging that 289 | the Participant Software (meaning the Contributor Version where the 290 | Participant is a Contributor or the Original Software where the 291 | Participant is the Initial Developer) directly or indirectly 292 | infringes any patent, then any and all rights granted directly or 293 | indirectly to You by such Participant, the Initial Developer (if 294 | the Initial Developer is not the Participant) and all Contributors 295 | under Sections 2.1 and/or 2.2 of this License shall, upon 60 days 296 | notice from Participant terminate prospectively and automatically 297 | at the expiration of such 60 day notice period, unless if within 298 | such 60 day period You withdraw Your claim with respect to the 299 | Participant Software against such Participant either unilaterally 300 | or pursuant to a written agreement with Participant. 301 | 302 | 6.3. In the event of termination under Sections 6.1 or 6.2 above, 303 | all end user licenses that have been validly granted by You or any 304 | distributor hereunder prior to termination (excluding licenses 305 | granted to You by any distributor) shall survive termination. 306 | 307 | 7. LIMITATION OF LIABILITY. 308 | 309 | UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT 310 | (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL 311 | DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED 312 | SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY 313 | PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES 314 | OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST 315 | PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR 316 | MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF 317 | SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH 318 | DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR 319 | DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE 320 | EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO 321 | NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL 322 | DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. 323 | 324 | 8. U.S. GOVERNMENT END USERS. 325 | 326 | The Covered Software is a "commercial item," as that term is defined in 327 | 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer 328 | software" (as that term is defined at 48 C.F.R. $ 252.227-7014(a)(1)) 329 | and "commercial computer software documentation" as such terms are used 330 | in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 331 | 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all 332 | U.S. Government End Users acquire Covered Software with only those 333 | rights set forth herein. This U.S. Government Rights clause is in lieu 334 | of, and supersedes, any other FAR, DFAR, or other clause or provision 335 | that addresses Government rights in computer software under this 336 | License. 337 | 338 | 9. MISCELLANEOUS. 339 | 340 | This License represents the complete agreement concerning subject 341 | matter hereof. If any provision of this License is held to be 342 | unenforceable, such provision shall be reformed only to the extent 343 | necessary to make it enforceable. This License shall be governed by the 344 | law of the jurisdiction specified in a notice contained within the 345 | Original Software (except to the extent applicable law, if any, 346 | provides otherwise), excluding such jurisdiction's conflict-of-law 347 | provisions. Any litigation relating to this License shall be subject to 348 | the jurisdiction of the courts located in the jurisdiction and venue 349 | specified in a notice contained within the Original Software, with the 350 | losing party responsible for costs, including, without limitation, 351 | court costs and reasonable attorneys' fees and expenses. The 352 | application of the United Nations Convention on Contracts for the 353 | International Sale of Goods is expressly excluded. Any law or 354 | regulation which provides that the language of a contract shall be 355 | construed against the drafter shall not apply to this License. You 356 | agree that You alone are responsible for compliance with the United 357 | States export administration regulations (and the export control laws 358 | and regulation of any other countries) when You use, distribute or 359 | otherwise make available any Covered Software. 360 | 361 | 10. RESPONSIBILITY FOR CLAIMS. 362 | 363 | As between Initial Developer and the Contributors, each party is 364 | responsible for claims and damages arising, directly or indirectly, out 365 | of its utilization of rights under this License and You agree to work 366 | with Initial Developer and Contributors to distribute such 367 | responsibility on an equitable basis. Nothing herein is intended or 368 | shall be deemed to constitute any admission of liability. 369 | -------------------------------------------------------------------------------- /licence/dual/MPL-1.1: -------------------------------------------------------------------------------- 1 | Valid-License-Identifier: MPL-1.1 2 | SPDX-URL: https://spdx.org/licenses/MPL-1.1.html 3 | Usage-Guide: 4 | Do NOT use. The MPL-1.1 is not GPL2 compatible. It may only be used for 5 | dual-licensed files where the other license is GPL2 compatible. 6 | If you end up using this it MUST be used together with a GPL2 compatible 7 | license using "OR". 8 | To use the Mozilla Public License version 1.1 put the following SPDX 9 | tag/value pair into a comment according to the placement guidelines in 10 | the licensing rules documentation: 11 | SPDX-License-Identifier: MPL-1.1 12 | License-Text: 13 | 14 | MOZILLA PUBLIC LICENSE 15 | Version 1.1 16 | 17 | --------------- 18 | 19 | 1. Definitions. 20 | 21 | 1.0.1. "Commercial Use" means distribution or otherwise making the 22 | Covered Code available to a third party. 23 | 24 | 1.1. "Contributor" means each entity that creates or contributes to 25 | the creation of Modifications. 26 | 27 | 1.2. "Contributor Version" means the combination of the Original 28 | Code, prior Modifications used by a Contributor, and the Modifications 29 | made by that particular Contributor. 30 | 31 | 1.3. "Covered Code" means the Original Code or Modifications or the 32 | combination of the Original Code and Modifications, in each case 33 | including portions thereof. 34 | 35 | 1.4. "Electronic Distribution Mechanism" means a mechanism generally 36 | accepted in the software development community for the electronic 37 | transfer of data. 38 | 39 | 1.5. "Executable" means Covered Code in any form other than Source 40 | Code. 41 | 42 | 1.6. "Initial Developer" means the individual or entity identified 43 | as the Initial Developer in the Source Code notice required by Exhibit 44 | A. 45 | 46 | 1.7. "Larger Work" means a work which combines Covered Code or 47 | portions thereof with code not governed by the terms of this License. 48 | 49 | 1.8. "License" means this document. 50 | 51 | 1.8.1. "Licensable" means having the right to grant, to the maximum 52 | extent possible, whether at the time of the initial grant or 53 | subsequently acquired, any and all of the rights conveyed herein. 54 | 55 | 1.9. "Modifications" means any addition to or deletion from the 56 | substance or structure of either the Original Code or any previous 57 | Modifications. When Covered Code is released as a series of files, a 58 | Modification is: 59 | A. Any addition to or deletion from the contents of a file 60 | containing Original Code or previous Modifications. 61 | 62 | B. Any new file that contains any part of the Original Code or 63 | previous Modifications. 64 | 65 | 1.10. "Original Code" means Source Code of computer software code 66 | which is described in the Source Code notice required by Exhibit A as 67 | Original Code, and which, at the time of its release under this 68 | License is not already Covered Code governed by this License. 69 | 70 | 1.10.1. "Patent Claims" means any patent claim(s), now owned or 71 | hereafter acquired, including without limitation, method, process, 72 | and apparatus claims, in any patent Licensable by grantor. 73 | 74 | 1.11. "Source Code" means the preferred form of the Covered Code for 75 | making modifications to it, including all modules it contains, plus 76 | any associated interface definition files, scripts used to control 77 | compilation and installation of an Executable, or source code 78 | differential comparisons against either the Original Code or another 79 | well known, available Covered Code of the Contributor's choice. The 80 | Source Code can be in a compressed or archival form, provided the 81 | appropriate decompression or de-archiving software is widely available 82 | for no charge. 83 | 84 | 1.12. "You" (or "Your") means an individual or a legal entity 85 | exercising rights under, and complying with all of the terms of, this 86 | License or a future version of this License issued under Section 6.1. 87 | For legal entities, "You" includes any entity which controls, is 88 | controlled by, or is under common control with You. For purposes of 89 | this definition, "control" means (a) the power, direct or indirect, 90 | to cause the direction or management of such entity, whether by 91 | contract or otherwise, or (b) ownership of more than fifty percent 92 | (50%) of the outstanding shares or beneficial ownership of such 93 | entity. 94 | 95 | 2. Source Code License. 96 | 97 | 2.1. The Initial Developer Grant. 98 | The Initial Developer hereby grants You a world-wide, royalty-free, 99 | non-exclusive license, subject to third party intellectual property 100 | claims: 101 | (a) under intellectual property rights (other than patent or 102 | trademark) Licensable by Initial Developer to use, reproduce, 103 | modify, display, perform, sublicense and distribute the Original 104 | Code (or portions thereof) with or without Modifications, and/or 105 | as part of a Larger Work; and 106 | 107 | (b) under Patents Claims infringed by the making, using or 108 | selling of Original Code, to make, have made, use, practice, 109 | sell, and offer for sale, and/or otherwise dispose of the 110 | Original Code (or portions thereof). 111 | 112 | (c) the licenses granted in this Section 2.1(a) and (b) are 113 | effective on the date Initial Developer first distributes 114 | Original Code under the terms of this License. 115 | 116 | (d) Notwithstanding Section 2.1(b) above, no patent license is 117 | granted: 1) for code that You delete from the Original Code; 2) 118 | separate from the Original Code; or 3) for infringements caused 119 | by: i) the modification of the Original Code or ii) the 120 | combination of the Original Code with other software or devices. 121 | 122 | 2.2. Contributor Grant. 123 | Subject to third party intellectual property claims, each Contributor 124 | hereby grants You a world-wide, royalty-free, non-exclusive license 125 | 126 | (a) under intellectual property rights (other than patent or 127 | trademark) Licensable by Contributor, to use, reproduce, modify, 128 | display, perform, sublicense and distribute the Modifications 129 | created by such Contributor (or portions thereof) either on an 130 | unmodified basis, with other Modifications, as Covered Code 131 | and/or as part of a Larger Work; and 132 | 133 | (b) under Patent Claims infringed by the making, using, or 134 | selling of Modifications made by that Contributor either alone 135 | and/or in combination with its Contributor Version (or portions 136 | of such combination), to make, use, sell, offer for sale, have 137 | made, and/or otherwise dispose of: 1) Modifications made by that 138 | Contributor (or portions thereof); and 2) the combination of 139 | Modifications made by that Contributor with its Contributor 140 | Version (or portions of such combination). 141 | 142 | (c) the licenses granted in Sections 2.2(a) and 2.2(b) are 143 | effective on the date Contributor first makes Commercial Use of 144 | the Covered Code. 145 | 146 | (d) Notwithstanding Section 2.2(b) above, no patent license is 147 | granted: 1) for any code that Contributor has deleted from the 148 | Contributor Version; 2) separate from the Contributor Version; 149 | 3) for infringements caused by: i) third party modifications of 150 | Contributor Version or ii) the combination of Modifications made 151 | by that Contributor with other software (except as part of the 152 | Contributor Version) or other devices; or 4) under Patent Claims 153 | infringed by Covered Code in the absence of Modifications made by 154 | that Contributor. 155 | 156 | 3. Distribution Obligations. 157 | 158 | 3.1. Application of License. 159 | The Modifications which You create or to which You contribute are 160 | governed by the terms of this License, including without limitation 161 | Section 2.2. The Source Code version of Covered Code may be 162 | distributed only under the terms of this License or a future version 163 | of this License released under Section 6.1, and You must include a 164 | copy of this License with every copy of the Source Code You 165 | distribute. You may not offer or impose any terms on any Source Code 166 | version that alters or restricts the applicable version of this 167 | License or the recipients' rights hereunder. However, You may include 168 | an additional document offering the additional rights described in 169 | Section 3.5. 170 | 171 | 3.2. Availability of Source Code. 172 | Any Modification which You create or to which You contribute must be 173 | made available in Source Code form under the terms of this License 174 | either on the same media as an Executable version or via an accepted 175 | Electronic Distribution Mechanism to anyone to whom you made an 176 | Executable version available; and if made available via Electronic 177 | Distribution Mechanism, must remain available for at least twelve (12) 178 | months after the date it initially became available, or at least six 179 | (6) months after a subsequent version of that particular Modification 180 | has been made available to such recipients. You are responsible for 181 | ensuring that the Source Code version remains available even if the 182 | Electronic Distribution Mechanism is maintained by a third party. 183 | 184 | 3.3. Description of Modifications. 185 | You must cause all Covered Code to which You contribute to contain a 186 | file documenting the changes You made to create that Covered Code and 187 | the date of any change. You must include a prominent statement that 188 | the Modification is derived, directly or indirectly, from Original 189 | Code provided by the Initial Developer and including the name of the 190 | Initial Developer in (a) the Source Code, and (b) in any notice in an 191 | Executable version or related documentation in which You describe the 192 | origin or ownership of the Covered Code. 193 | 194 | 3.4. Intellectual Property Matters 195 | (a) Third Party Claims. 196 | If Contributor has knowledge that a license under a third party's 197 | intellectual property rights is required to exercise the rights 198 | granted by such Contributor under Sections 2.1 or 2.2, 199 | Contributor must include a text file with the Source Code 200 | distribution titled "LEGAL" which describes the claim and the 201 | party making the claim in sufficient detail that a recipient will 202 | know whom to contact. If Contributor obtains such knowledge after 203 | the Modification is made available as described in Section 3.2, 204 | Contributor shall promptly modify the LEGAL file in all copies 205 | Contributor makes available thereafter and shall take other steps 206 | (such as notifying appropriate mailing lists or newsgroups) 207 | reasonably calculated to inform those who received the Covered 208 | Code that new knowledge has been obtained. 209 | 210 | (b) Contributor APIs. 211 | If Contributor's Modifications include an application programming 212 | interface and Contributor has knowledge of patent licenses which 213 | are reasonably necessary to implement that API, Contributor must 214 | also include this information in the LEGAL file. 215 | 216 | (c) Representations. 217 | Contributor represents that, except as disclosed pursuant to 218 | Section 3.4(a) above, Contributor believes that Contributor's 219 | Modifications are Contributor's original creation(s) and/or 220 | Contributor has sufficient rights to grant the rights conveyed by 221 | this License. 222 | 223 | 3.5. Required Notices. 224 | You must duplicate the notice in Exhibit A in each file of the Source 225 | Code. If it is not possible to put such notice in a particular Source 226 | Code file due to its structure, then You must include such notice in a 227 | location (such as a relevant directory) where a user would be likely 228 | to look for such a notice. If You created one or more Modification(s) 229 | You may add your name as a Contributor to the notice described in 230 | Exhibit A. You must also duplicate this License in any documentation 231 | for the Source Code where You describe recipients' rights or ownership 232 | rights relating to Covered Code. You may choose to offer, and to 233 | charge a fee for, warranty, support, indemnity or liability 234 | obligations to one or more recipients of Covered Code. However, You 235 | may do so only on Your own behalf, and not on behalf of the Initial 236 | Developer or any Contributor. You must make it absolutely clear than 237 | any such warranty, support, indemnity or liability obligation is 238 | offered by You alone, and You hereby agree to indemnify the Initial 239 | Developer and every Contributor for any liability incurred by the 240 | Initial Developer or such Contributor as a result of warranty, 241 | support, indemnity or liability terms You offer. 242 | 243 | 3.6. Distribution of Executable Versions. 244 | You may distribute Covered Code in Executable form only if the 245 | requirements of Section 3.1-3.5 have been met for that Covered Code, 246 | and if You include a notice stating that the Source Code version of 247 | the Covered Code is available under the terms of this License, 248 | including a description of how and where You have fulfilled the 249 | obligations of Section 3.2. The notice must be conspicuously included 250 | in any notice in an Executable version, related documentation or 251 | collateral in which You describe recipients' rights relating to the 252 | Covered Code. You may distribute the Executable version of Covered 253 | Code or ownership rights under a license of Your choice, which may 254 | contain terms different from this License, provided that You are in 255 | compliance with the terms of this License and that the license for the 256 | Executable version does not attempt to limit or alter the recipient's 257 | rights in the Source Code version from the rights set forth in this 258 | License. If You distribute the Executable version under a different 259 | license You must make it absolutely clear that any terms which differ 260 | from this License are offered by You alone, not by the Initial 261 | Developer or any Contributor. You hereby agree to indemnify the 262 | Initial Developer and every Contributor for any liability incurred by 263 | the Initial Developer or such Contributor as a result of any such 264 | terms You offer. 265 | 266 | 3.7. Larger Works. 267 | You may create a Larger Work by combining Covered Code with other code 268 | not governed by the terms of this License and distribute the Larger 269 | Work as a single product. In such a case, You must make sure the 270 | requirements of this License are fulfilled for the Covered Code. 271 | 272 | 4. Inability to Comply Due to Statute or Regulation. 273 | 274 | If it is impossible for You to comply with any of the terms of this 275 | License with respect to some or all of the Covered Code due to 276 | statute, judicial order, or regulation then You must: (a) comply with 277 | the terms of this License to the maximum extent possible; and (b) 278 | describe the limitations and the code they affect. Such description 279 | must be included in the LEGAL file described in Section 3.4 and must 280 | be included with all distributions of the Source Code. Except to the 281 | extent prohibited by statute or regulation, such description must be 282 | sufficiently detailed for a recipient of ordinary skill to be able to 283 | understand it. 284 | 285 | 5. Application of this License. 286 | 287 | This License applies to code to which the Initial Developer has 288 | attached the notice in Exhibit A and to related Covered Code. 289 | 290 | 6. Versions of the License. 291 | 292 | 6.1. New Versions. 293 | Netscape Communications Corporation ("Netscape") may publish revised 294 | and/or new versions of the License from time to time. Each version 295 | will be given a distinguishing version number. 296 | 297 | 6.2. Effect of New Versions. 298 | Once Covered Code has been published under a particular version of the 299 | License, You may always continue to use it under the terms of that 300 | version. You may also choose to use such Covered Code under the terms 301 | of any subsequent version of the License published by Netscape. No one 302 | other than Netscape has the right to modify the terms applicable to 303 | Covered Code created under this License. 304 | 305 | 6.3. Derivative Works. 306 | If You create or use a modified version of this License (which you may 307 | only do in order to apply it to code which is not already Covered Code 308 | governed by this License), You must (a) rename Your license so that 309 | the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", 310 | "MPL", "NPL" or any confusingly similar phrase do not appear in your 311 | license (except to note that your license differs from this License) 312 | and (b) otherwise make it clear that Your version of the license 313 | contains terms which differ from the Mozilla Public License and 314 | Netscape Public License. (Filling in the name of the Initial 315 | Developer, Original Code or Contributor in the notice described in 316 | Exhibit A shall not of themselves be deemed to be modifications of 317 | this License.) 318 | 319 | 7. DISCLAIMER OF WARRANTY. 320 | 321 | COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, 322 | WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, 323 | WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF 324 | DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. 325 | THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE 326 | IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, 327 | YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE 328 | COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER 329 | OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF 330 | ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. 331 | 332 | 8. TERMINATION. 333 | 334 | 8.1. This License and the rights granted hereunder will terminate 335 | automatically if You fail to comply with terms herein and fail to cure 336 | such breach within 30 days of becoming aware of the breach. All 337 | sublicenses to the Covered Code which are properly granted shall 338 | survive any termination of this License. Provisions which, by their 339 | nature, must remain in effect beyond the termination of this License 340 | shall survive. 341 | 342 | 8.2. If You initiate litigation by asserting a patent infringement 343 | claim (excluding declatory judgment actions) against Initial Developer 344 | or a Contributor (the Initial Developer or Contributor against whom 345 | You file such action is referred to as "Participant") alleging that: 346 | 347 | (a) such Participant's Contributor Version directly or indirectly 348 | infringes any patent, then any and all rights granted by such 349 | Participant to You under Sections 2.1 and/or 2.2 of this License 350 | shall, upon 60 days notice from Participant terminate prospectively, 351 | unless if within 60 days after receipt of notice You either: (i) 352 | agree in writing to pay Participant a mutually agreeable reasonable 353 | royalty for Your past and future use of Modifications made by such 354 | Participant, or (ii) withdraw Your litigation claim with respect to 355 | the Contributor Version against such Participant. If within 60 days 356 | of notice, a reasonable royalty and payment arrangement are not 357 | mutually agreed upon in writing by the parties or the litigation claim 358 | is not withdrawn, the rights granted by Participant to You under 359 | Sections 2.1 and/or 2.2 automatically terminate at the expiration of 360 | the 60 day notice period specified above. 361 | 362 | (b) any software, hardware, or device, other than such Participant's 363 | Contributor Version, directly or indirectly infringes any patent, then 364 | any rights granted to You by such Participant under Sections 2.1(b) 365 | and 2.2(b) are revoked effective as of the date You first made, used, 366 | sold, distributed, or had made, Modifications made by that 367 | Participant. 368 | 369 | 8.3. If You assert a patent infringement claim against Participant 370 | alleging that such Participant's Contributor Version directly or 371 | indirectly infringes any patent where such claim is resolved (such as 372 | by license or settlement) prior to the initiation of patent 373 | infringement litigation, then the reasonable value of the licenses 374 | granted by such Participant under Sections 2.1 or 2.2 shall be taken 375 | into account in determining the amount or value of any payment or 376 | license. 377 | 378 | 8.4. In the event of termination under Sections 8.1 or 8.2 above, 379 | all end user license agreements (excluding distributors and resellers) 380 | which have been validly granted by You or any distributor hereunder 381 | prior to termination shall survive termination. 382 | 383 | 9. LIMITATION OF LIABILITY. 384 | 385 | UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT 386 | (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL 387 | DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, 388 | OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR 389 | ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY 390 | CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, 391 | WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER 392 | COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN 393 | INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF 394 | LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY 395 | RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW 396 | PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE 397 | EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO 398 | THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. 399 | 400 | 10. U.S. GOVERNMENT END USERS. 401 | 402 | The Covered Code is a "commercial item," as that term is defined in 403 | 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer 404 | software" and "commercial computer software documentation," as such 405 | terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 406 | C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), 407 | all U.S. Government End Users acquire Covered Code with only those 408 | rights set forth herein. 409 | 410 | 11. MISCELLANEOUS. 411 | 412 | This License represents the complete agreement concerning subject 413 | matter hereof. If any provision of this License is held to be 414 | unenforceable, such provision shall be reformed only to the extent 415 | necessary to make it enforceable. This License shall be governed by 416 | California law provisions (except to the extent applicable law, if 417 | any, provides otherwise), excluding its conflict-of-law provisions. 418 | With respect to disputes in which at least one party is a citizen of, 419 | or an entity chartered or registered to do business in the United 420 | States of America, any litigation relating to this License shall be 421 | subject to the jurisdiction of the Federal Courts of the Northern 422 | District of California, with venue lying in Santa Clara County, 423 | California, with the losing party responsible for costs, including 424 | without limitation, court costs and reasonable attorneys' fees and 425 | expenses. The application of the United Nations Convention on 426 | Contracts for the International Sale of Goods is expressly excluded. 427 | Any law or regulation which provides that the language of a contract 428 | shall be construed against the drafter shall not apply to this 429 | License. 430 | 431 | 12. RESPONSIBILITY FOR CLAIMS. 432 | 433 | As between Initial Developer and the Contributors, each party is 434 | responsible for claims and damages arising, directly or indirectly, 435 | out of its utilization of rights under this License and You agree to 436 | work with Initial Developer and Contributors to distribute such 437 | responsibility on an equitable basis. Nothing herein is intended or 438 | shall be deemed to constitute any admission of liability. 439 | 440 | 13. MULTIPLE-LICENSED CODE. 441 | 442 | Initial Developer may designate portions of the Covered Code as 443 | "Multiple-Licensed". "Multiple-Licensed" means that the Initial 444 | Developer permits you to utilize portions of the Covered Code under 445 | Your choice of the MPL or the alternative licenses, if any, specified 446 | by the Initial Developer in the file described in Exhibit A. 447 | 448 | EXHIBIT A -Mozilla Public License. 449 | 450 | ``The contents of this file are subject to the Mozilla Public License 451 | Version 1.1 (the "License"); you may not use this file except in 452 | compliance with the License. You may obtain a copy of the License at 453 | https://www.mozilla.org/MPL/ 454 | 455 | Software distributed under the License is distributed on an "AS IS" 456 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 457 | License for the specific language governing rights and limitations 458 | under the License. 459 | 460 | The Original Code is ______________________________________. 461 | 462 | The Initial Developer of the Original Code is ________________________. 463 | Portions created by ______________________ are Copyright (C) ______ 464 | _______________________. All Rights Reserved. 465 | 466 | Contributor(s): ______________________________________. 467 | 468 | Alternatively, the contents of this file may be used under the terms 469 | of the _____ license (the "[___] License"), in which case the 470 | provisions of [______] License are applicable instead of those 471 | above. If you wish to allow use of your version of this file only 472 | under the terms of the [____] License and not to allow others to use 473 | your version of this file under the MPL, indicate your decision by 474 | deleting the provisions above and replace them with the notice and 475 | other provisions required by the [___] License. If you do not delete 476 | the provisions above, a recipient may use your version of this file 477 | under either the MPL or the [___] License." 478 | 479 | [NOTE: The text of this Exhibit A may differ slightly from the text of 480 | the notices in the Source Code files of the Original Code. You should 481 | use the text of this Exhibit A rather than the text found in the 482 | Original Code Source Code for Your Modifications.] 483 | -------------------------------------------------------------------------------- /licence/exceptions/GCC-exception-2.0: -------------------------------------------------------------------------------- 1 | SPDX-Exception-Identifier: GCC-exception-2.0 2 | SPDX-URL: https://spdx.org/licenses/GCC-exception-2.0.html 3 | SPDX-Licenses: GPL-2.0, GPL-2.0+, GPL-2.0-only, GPL-2.0-or-later 4 | Usage-Guide: 5 | This exception is used together with one of the above SPDX-Licenses to 6 | allow linking the compiled version of code to non GPL compliant code. 7 | To use this exception add it with the keyword WITH to one of the 8 | identifiers in the SPDX-Licenses tag: 9 | SPDX-License-Identifier: WITH GCC-exception-2.0 10 | License-Text: 11 | 12 | In addition to the permissions in the GNU Library General Public License, 13 | the Free Software Foundation gives you unlimited permission to link the 14 | compiled version of this file into combinations with other programs, and to 15 | distribute those programs without any restriction coming from the use of 16 | this file. (The General Public License restrictions do apply in other 17 | respects; for example, they cover modification of the file, and 18 | distribution when not linked into another program.) 19 | -------------------------------------------------------------------------------- /licence/exceptions/Linux-syscall-note: -------------------------------------------------------------------------------- 1 | SPDX-Exception-Identifier: Linux-syscall-note 2 | SPDX-URL: https://spdx.org/licenses/Linux-syscall-note.html 3 | SPDX-Licenses: GPL-2.0, GPL-2.0+, GPL-1.0+, LGPL-2.0, LGPL-2.0+, LGPL-2.1, LGPL-2.1+, GPL-2.0-only, GPL-2.0-or-later 4 | Usage-Guide: 5 | This exception is used together with one of the above SPDX-Licenses 6 | to mark user space API (uapi) header files so they can be included 7 | into non GPL compliant user space application code. 8 | To use this exception add it with the keyword WITH to one of the 9 | identifiers in the SPDX-Licenses tag: 10 | SPDX-License-Identifier: WITH Linux-syscall-note 11 | License-Text: 12 | 13 | NOTE! This copyright does *not* cover user programs that use kernel 14 | services by normal system calls - this is merely considered normal use 15 | of the kernel, and does *not* fall under the heading of "derived work". 16 | Also note that the GPL below is copyrighted by the Free Software 17 | Foundation, but the instance of code that it refers to (the Linux 18 | kernel) is copyrighted by me and others who actually wrote it. 19 | 20 | Also note that the only valid version of the GPL as far as the kernel 21 | is concerned is _this_ particular version of the license (ie v2, not 22 | v2.2 or v3.x or whatever), unless explicitly otherwise stated. 23 | 24 | Linus Torvalds 25 | 26 | -------------------------------------------------------------------------------- /licence/preferred/BSD-2-Clause: -------------------------------------------------------------------------------- 1 | Valid-License-Identifier: BSD-2-Clause 2 | SPDX-URL: https://spdx.org/licenses/BSD-2-Clause.html 3 | Usage-Guide: 4 | To use the BSD 2-clause "Simplified" License put the following SPDX 5 | tag/value pair into a comment according to the placement guidelines in 6 | the licensing rules documentation: 7 | SPDX-License-Identifier: BSD-2-Clause 8 | License-Text: 9 | 10 | Copyright (c) . All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | 1. Redistributions of source code must retain the above copyright notice, 16 | this list of conditions and the following disclaimer. 17 | 18 | 2. Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 26 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 27 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 28 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 29 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 30 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 31 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 32 | POSSIBILITY OF SUCH DAMAGE. 33 | -------------------------------------------------------------------------------- /licence/preferred/BSD-3-Clause: -------------------------------------------------------------------------------- 1 | Valid-License-Identifier: BSD-3-Clause 2 | SPDX-URL: https://spdx.org/licenses/BSD-3-Clause.html 3 | Usage-Guide: 4 | To use the BSD 3-clause "New" or "Revised" License put the following SPDX 5 | tag/value pair into a comment according to the placement guidelines in 6 | the licensing rules documentation: 7 | SPDX-License-Identifier: BSD-3-Clause 8 | License-Text: 9 | 10 | Copyright (c) . All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | 1. Redistributions of source code must retain the above copyright notice, 16 | this list of conditions and the following disclaimer. 17 | 18 | 2. Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | 3. Neither the name of the copyright holder nor the names of its 23 | contributors may be used to endorse or promote products derived from this 24 | software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 27 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 28 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 29 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 30 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 31 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 32 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 33 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 34 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 35 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 36 | POSSIBILITY OF SUCH DAMAGE. 37 | -------------------------------------------------------------------------------- /licence/preferred/BSD-3-Clause-Clear: -------------------------------------------------------------------------------- 1 | Valid-License-Identifier: BSD-3-Clause-Clear 2 | SPDX-URL: https://spdx.org/licenses/BSD-3-Clause-Clear.html 3 | Usage-Guide: 4 | To use the BSD 3-clause "Clear" License put the following SPDX 5 | tag/value pair into a comment according to the placement guidelines in 6 | the licensing rules documentation: 7 | SPDX-License-Identifier: BSD-3-Clause-Clear 8 | License-Text: 9 | 10 | The Clear BSD License 11 | 12 | Copyright (c) [xxxx]-[xxxx] [Owner Organization] 13 | All rights reserved. 14 | 15 | Redistribution and use in source and binary forms, with or without 16 | modification, are permitted (subject to the limitations in the disclaimer 17 | below) provided that the following conditions are met: 18 | 19 | * Redistributions of source code must retain the above copyright notice, 20 | this list of conditions and the following disclaimer. 21 | 22 | * Redistributions in binary form must reproduce the above copyright 23 | notice, this list of conditions and the following disclaimer in the 24 | documentation and/or other materials provided with the distribution. 25 | 26 | * Neither the name of [Owner Organization] nor the names of its 27 | contributors may be used to endorse or promote products derived from 28 | this software without specific prior written permission. 29 | 30 | NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY 31 | THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 32 | CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT 33 | NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 34 | PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER 35 | OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 36 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 37 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 38 | OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 39 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 40 | OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 41 | ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 42 | -------------------------------------------------------------------------------- /licence/preferred/GPL-2.0: -------------------------------------------------------------------------------- 1 | Valid-License-Identifier: GPL-2.0 2 | Valid-License-Identifier: GPL-2.0-only 3 | Valid-License-Identifier: GPL-2.0+ 4 | Valid-License-Identifier: GPL-2.0-or-later 5 | SPDX-URL: https://spdx.org/licenses/GPL-2.0.html 6 | Usage-Guide: 7 | To use this license in source code, put one of the following SPDX 8 | tag/value pairs into a comment according to the placement 9 | guidelines in the licensing rules documentation. 10 | For 'GNU General Public License (GPL) version 2 only' use: 11 | SPDX-License-Identifier: GPL-2.0 12 | or 13 | SPDX-License-Identifier: GPL-2.0-only 14 | For 'GNU General Public License (GPL) version 2 or any later version' use: 15 | SPDX-License-Identifier: GPL-2.0+ 16 | or 17 | SPDX-License-Identifier: GPL-2.0-or-later 18 | License-Text: 19 | 20 | GNU GENERAL PUBLIC LICENSE 21 | Version 2, June 1991 22 | 23 | Copyright (C) 1989, 1991 Free Software Foundation, Inc. 24 | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 | Everyone is permitted to copy and distribute verbatim copies 26 | of this license document, but changing it is not allowed. 27 | 28 | Preamble 29 | 30 | The licenses for most software are designed to take away your 31 | freedom to share and change it. By contrast, the GNU General Public 32 | License is intended to guarantee your freedom to share and change free 33 | software--to make sure the software is free for all its users. This 34 | General Public License applies to most of the Free Software 35 | Foundation's software and to any other program whose authors commit to 36 | using it. (Some other Free Software Foundation software is covered by 37 | the GNU Library General Public License instead.) You can apply it to 38 | your programs, too. 39 | 40 | When we speak of free software, we are referring to freedom, not 41 | price. Our General Public Licenses are designed to make sure that you 42 | have the freedom to distribute copies of free software (and charge for 43 | this service if you wish), that you receive source code or can get it 44 | if you want it, that you can change the software or use pieces of it 45 | in new free programs; and that you know you can do these things. 46 | 47 | To protect your rights, we need to make restrictions that forbid 48 | anyone to deny you these rights or to ask you to surrender the rights. 49 | These restrictions translate to certain responsibilities for you if you 50 | distribute copies of the software, or if you modify it. 51 | 52 | For example, if you distribute copies of such a program, whether 53 | gratis or for a fee, you must give the recipients all the rights that 54 | you have. You must make sure that they, too, receive or can get the 55 | source code. And you must show them these terms so they know their 56 | rights. 57 | 58 | We protect your rights with two steps: (1) copyright the software, and 59 | (2) offer you this license which gives you legal permission to copy, 60 | distribute and/or modify the software. 61 | 62 | Also, for each author's protection and ours, we want to make certain 63 | that everyone understands that there is no warranty for this free 64 | software. If the software is modified by someone else and passed on, we 65 | want its recipients to know that what they have is not the original, so 66 | that any problems introduced by others will not reflect on the original 67 | authors' reputations. 68 | 69 | Finally, any free program is threatened constantly by software 70 | patents. We wish to avoid the danger that redistributors of a free 71 | program will individually obtain patent licenses, in effect making the 72 | program proprietary. To prevent this, we have made it clear that any 73 | patent must be licensed for everyone's free use or not licensed at all. 74 | 75 | The precise terms and conditions for copying, distribution and 76 | modification follow. 77 | 78 | GNU GENERAL PUBLIC LICENSE 79 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 80 | 81 | 0. This License applies to any program or other work which contains 82 | a notice placed by the copyright holder saying it may be distributed 83 | under the terms of this General Public License. The "Program", below, 84 | refers to any such program or work, and a "work based on the Program" 85 | means either the Program or any derivative work under copyright law: 86 | that is to say, a work containing the Program or a portion of it, 87 | either verbatim or with modifications and/or translated into another 88 | language. (Hereinafter, translation is included without limitation in 89 | the term "modification".) Each licensee is addressed as "you". 90 | 91 | Activities other than copying, distribution and modification are not 92 | covered by this License; they are outside its scope. The act of 93 | running the Program is not restricted, and the output from the Program 94 | is covered only if its contents constitute a work based on the 95 | Program (independent of having been made by running the Program). 96 | Whether that is true depends on what the Program does. 97 | 98 | 1. You may copy and distribute verbatim copies of the Program's 99 | source code as you receive it, in any medium, provided that you 100 | conspicuously and appropriately publish on each copy an appropriate 101 | copyright notice and disclaimer of warranty; keep intact all the 102 | notices that refer to this License and to the absence of any warranty; 103 | and give any other recipients of the Program a copy of this License 104 | along with the Program. 105 | 106 | You may charge a fee for the physical act of transferring a copy, and 107 | you may at your option offer warranty protection in exchange for a fee. 108 | 109 | 2. You may modify your copy or copies of the Program or any portion 110 | of it, thus forming a work based on the Program, and copy and 111 | distribute such modifications or work under the terms of Section 1 112 | above, provided that you also meet all of these conditions: 113 | 114 | a) You must cause the modified files to carry prominent notices 115 | stating that you changed the files and the date of any change. 116 | 117 | b) You must cause any work that you distribute or publish, that in 118 | whole or in part contains or is derived from the Program or any 119 | part thereof, to be licensed as a whole at no charge to all third 120 | parties under the terms of this License. 121 | 122 | c) If the modified program normally reads commands interactively 123 | when run, you must cause it, when started running for such 124 | interactive use in the most ordinary way, to print or display an 125 | announcement including an appropriate copyright notice and a 126 | notice that there is no warranty (or else, saying that you provide 127 | a warranty) and that users may redistribute the program under 128 | these conditions, and telling the user how to view a copy of this 129 | License. (Exception: if the Program itself is interactive but 130 | does not normally print such an announcement, your work based on 131 | the Program is not required to print an announcement.) 132 | 133 | These requirements apply to the modified work as a whole. If 134 | identifiable sections of that work are not derived from the Program, 135 | and can be reasonably considered independent and separate works in 136 | themselves, then this License, and its terms, do not apply to those 137 | sections when you distribute them as separate works. But when you 138 | distribute the same sections as part of a whole which is a work based 139 | on the Program, the distribution of the whole must be on the terms of 140 | this License, whose permissions for other licensees extend to the 141 | entire whole, and thus to each and every part regardless of who wrote it. 142 | 143 | Thus, it is not the intent of this section to claim rights or contest 144 | your rights to work written entirely by you; rather, the intent is to 145 | exercise the right to control the distribution of derivative or 146 | collective works based on the Program. 147 | 148 | In addition, mere aggregation of another work not based on the Program 149 | with the Program (or with a work based on the Program) on a volume of 150 | a storage or distribution medium does not bring the other work under 151 | the scope of this License. 152 | 153 | 3. You may copy and distribute the Program (or a work based on it, 154 | under Section 2) in object code or executable form under the terms of 155 | Sections 1 and 2 above provided that you also do one of the following: 156 | 157 | a) Accompany it with the complete corresponding machine-readable 158 | source code, which must be distributed under the terms of Sections 159 | 1 and 2 above on a medium customarily used for software interchange; or, 160 | 161 | b) Accompany it with a written offer, valid for at least three 162 | years, to give any third party, for a charge no more than your 163 | cost of physically performing source distribution, a complete 164 | machine-readable copy of the corresponding source code, to be 165 | distributed under the terms of Sections 1 and 2 above on a medium 166 | customarily used for software interchange; or, 167 | 168 | c) Accompany it with the information you received as to the offer 169 | to distribute corresponding source code. (This alternative is 170 | allowed only for noncommercial distribution and only if you 171 | received the program in object code or executable form with such 172 | an offer, in accord with Subsection b above.) 173 | 174 | The source code for a work means the preferred form of the work for 175 | making modifications to it. For an executable work, complete source 176 | code means all the source code for all modules it contains, plus any 177 | associated interface definition files, plus the scripts used to 178 | control compilation and installation of the executable. However, as a 179 | special exception, the source code distributed need not include 180 | anything that is normally distributed (in either source or binary 181 | form) with the major components (compiler, kernel, and so on) of the 182 | operating system on which the executable runs, unless that component 183 | itself accompanies the executable. 184 | 185 | If distribution of executable or object code is made by offering 186 | access to copy from a designated place, then offering equivalent 187 | access to copy the source code from the same place counts as 188 | distribution of the source code, even though third parties are not 189 | compelled to copy the source along with the object code. 190 | 191 | 4. You may not copy, modify, sublicense, or distribute the Program 192 | except as expressly provided under this License. Any attempt 193 | otherwise to copy, modify, sublicense or distribute the Program is 194 | void, and will automatically terminate your rights under this License. 195 | However, parties who have received copies, or rights, from you under 196 | this License will not have their licenses terminated so long as such 197 | parties remain in full compliance. 198 | 199 | 5. You are not required to accept this License, since you have not 200 | signed it. However, nothing else grants you permission to modify or 201 | distribute the Program or its derivative works. These actions are 202 | prohibited by law if you do not accept this License. Therefore, by 203 | modifying or distributing the Program (or any work based on the 204 | Program), you indicate your acceptance of this License to do so, and 205 | all its terms and conditions for copying, distributing or modifying 206 | the Program or works based on it. 207 | 208 | 6. Each time you redistribute the Program (or any work based on the 209 | Program), the recipient automatically receives a license from the 210 | original licensor to copy, distribute or modify the Program subject to 211 | these terms and conditions. You may not impose any further 212 | restrictions on the recipients' exercise of the rights granted herein. 213 | You are not responsible for enforcing compliance by third parties to 214 | this License. 215 | 216 | 7. If, as a consequence of a court judgment or allegation of patent 217 | infringement or for any other reason (not limited to patent issues), 218 | conditions are imposed on you (whether by court order, agreement or 219 | otherwise) that contradict the conditions of this License, they do not 220 | excuse you from the conditions of this License. If you cannot 221 | distribute so as to satisfy simultaneously your obligations under this 222 | License and any other pertinent obligations, then as a consequence you 223 | may not distribute the Program at all. For example, if a patent 224 | license would not permit royalty-free redistribution of the Program by 225 | all those who receive copies directly or indirectly through you, then 226 | the only way you could satisfy both it and this License would be to 227 | refrain entirely from distribution of the Program. 228 | 229 | If any portion of this section is held invalid or unenforceable under 230 | any particular circumstance, the balance of the section is intended to 231 | apply and the section as a whole is intended to apply in other 232 | circumstances. 233 | 234 | It is not the purpose of this section to induce you to infringe any 235 | patents or other property right claims or to contest validity of any 236 | such claims; this section has the sole purpose of protecting the 237 | integrity of the free software distribution system, which is 238 | implemented by public license practices. Many people have made 239 | generous contributions to the wide range of software distributed 240 | through that system in reliance on consistent application of that 241 | system; it is up to the author/donor to decide if he or she is willing 242 | to distribute software through any other system and a licensee cannot 243 | impose that choice. 244 | 245 | This section is intended to make thoroughly clear what is believed to 246 | be a consequence of the rest of this License. 247 | 248 | 8. If the distribution and/or use of the Program is restricted in 249 | certain countries either by patents or by copyrighted interfaces, the 250 | original copyright holder who places the Program under this License 251 | may add an explicit geographical distribution limitation excluding 252 | those countries, so that distribution is permitted only in or among 253 | countries not thus excluded. In such case, this License incorporates 254 | the limitation as if written in the body of this License. 255 | 256 | 9. The Free Software Foundation may publish revised and/or new versions 257 | of the General Public License from time to time. Such new versions will 258 | be similar in spirit to the present version, but may differ in detail to 259 | address new problems or concerns. 260 | 261 | Each version is given a distinguishing version number. If the Program 262 | specifies a version number of this License which applies to it and "any 263 | later version", you have the option of following the terms and conditions 264 | either of that version or of any later version published by the Free 265 | Software Foundation. If the Program does not specify a version number of 266 | this License, you may choose any version ever published by the Free Software 267 | Foundation. 268 | 269 | 10. If you wish to incorporate parts of the Program into other free 270 | programs whose distribution conditions are different, write to the author 271 | to ask for permission. For software which is copyrighted by the Free 272 | Software Foundation, write to the Free Software Foundation; we sometimes 273 | make exceptions for this. Our decision will be guided by the two goals 274 | of preserving the free status of all derivatives of our free software and 275 | of promoting the sharing and reuse of software generally. 276 | 277 | NO WARRANTY 278 | 279 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 280 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 281 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 282 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 283 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 284 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 285 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 286 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 287 | REPAIR OR CORRECTION. 288 | 289 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 290 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 291 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 292 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 293 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 294 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 295 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 296 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 297 | POSSIBILITY OF SUCH DAMAGES. 298 | 299 | END OF TERMS AND CONDITIONS 300 | 301 | How to Apply These Terms to Your New Programs 302 | 303 | If you develop a new program, and you want it to be of the greatest 304 | possible use to the public, the best way to achieve this is to make it 305 | free software which everyone can redistribute and change under these terms. 306 | 307 | To do so, attach the following notices to the program. It is safest 308 | to attach them to the start of each source file to most effectively 309 | convey the exclusion of warranty; and each file should have at least 310 | the "copyright" line and a pointer to where the full notice is found. 311 | 312 | 313 | Copyright (C) 314 | 315 | This program is free software; you can redistribute it and/or modify 316 | it under the terms of the GNU General Public License as published by 317 | the Free Software Foundation; either version 2 of the License, or 318 | (at your option) any later version. 319 | 320 | This program is distributed in the hope that it will be useful, 321 | but WITHOUT ANY WARRANTY; without even the implied warranty of 322 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 323 | GNU General Public License for more details. 324 | 325 | You should have received a copy of the GNU General Public License 326 | along with this program; if not, write to the Free Software 327 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 328 | 329 | 330 | Also add information on how to contact you by electronic and paper mail. 331 | 332 | If the program is interactive, make it output a short notice like this 333 | when it starts in an interactive mode: 334 | 335 | Gnomovision version 69, Copyright (C) year name of author 336 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 337 | This is free software, and you are welcome to redistribute it 338 | under certain conditions; type `show c' for details. 339 | 340 | The hypothetical commands `show w' and `show c' should show the appropriate 341 | parts of the General Public License. Of course, the commands you use may 342 | be called something other than `show w' and `show c'; they could even be 343 | mouse-clicks or menu items--whatever suits your program. 344 | 345 | You should also get your employer (if you work as a programmer) or your 346 | school, if any, to sign a "copyright disclaimer" for the program, if 347 | necessary. Here is a sample; alter the names: 348 | 349 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 350 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 351 | 352 | , 1 April 1989 353 | Ty Coon, President of Vice 354 | 355 | This General Public License does not permit incorporating your program into 356 | proprietary programs. If your program is a subroutine library, you may 357 | consider it more useful to permit linking proprietary applications with the 358 | library. If this is what you want to do, use the GNU Library General 359 | Public License instead of this License. 360 | -------------------------------------------------------------------------------- /licence/preferred/LGPL-2.0: -------------------------------------------------------------------------------- 1 | Valid-License-Identifier: LGPL-2.0 2 | Valid-License-Identifier: LGPL-2.0+ 3 | SPDX-URL: https://spdx.org/licenses/LGPL-2.0.html 4 | Usage-Guide: 5 | To use this license in source code, put one of the following SPDX 6 | tag/value pairs into a comment according to the placement 7 | guidelines in the licensing rules documentation. 8 | For 'GNU Library General Public License (LGPL) version 2.0 only' use: 9 | SPDX-License-Identifier: LGPL-2.0 10 | For 'GNU Library General Public License (LGPL) version 2.0 or any later 11 | version' use: 12 | SPDX-License-Identifier: LGPL-2.0+ 13 | License-Text: 14 | 15 | GNU LIBRARY GENERAL PUBLIC LICENSE 16 | Version 2, June 1991 17 | 18 | Copyright (C) 1991 Free Software Foundation, Inc. 19 | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 20 | 21 | Everyone is permitted to copy and distribute verbatim copies of this 22 | license document, but changing it is not allowed. 23 | 24 | [This is the first released version of the library GPL. It is numbered 2 25 | because it goes with version 2 of the ordinary GPL.] 26 | 27 | Preamble 28 | 29 | The licenses for most software are designed to take away your freedom to 30 | share and change it. By contrast, the GNU General Public Licenses are 31 | intended to guarantee your freedom to share and change free software--to 32 | make sure the software is free for all its users. 33 | 34 | This license, the Library General Public License, applies to some specially 35 | designated Free Software Foundation software, and to any other libraries 36 | whose authors decide to use it. You can use it for your libraries, too. 37 | 38 | When we speak of free software, we are referring to freedom, not price. Our 39 | General Public Licenses are designed to make sure that you have the freedom 40 | to distribute copies of free software (and charge for this service if you 41 | wish), that you receive source code or can get it if you want it, that you 42 | can change the software or use pieces of it in new free programs; and that 43 | you know you can do these things. 44 | 45 | To protect your rights, we need to make restrictions that forbid anyone to 46 | deny you these rights or to ask you to surrender the rights. These 47 | restrictions translate to certain responsibilities for you if you 48 | distribute copies of the library, or if you modify it. 49 | 50 | For example, if you distribute copies of the library, whether gratis or for 51 | a fee, you must give the recipients all the rights that we gave you. You 52 | must make sure that they, too, receive or can get the source code. If you 53 | link a program with the library, you must provide complete object files to 54 | the recipients so that they can relink them with the library, after making 55 | changes to the library and recompiling it. And you must show them these 56 | terms so they know their rights. 57 | 58 | Our method of protecting your rights has two steps: (1) copyright the 59 | library, and (2) offer you this license which gives you legal permission to 60 | copy, distribute and/or modify the library. 61 | 62 | Also, for each distributor's protection, we want to make certain that 63 | everyone understands that there is no warranty for this free library. If 64 | the library is modified by someone else and passed on, we want its 65 | recipients to know that what they have is not the original version, so that 66 | any problems introduced by others will not reflect on the original authors' 67 | reputations. 68 | 69 | Finally, any free program is threatened constantly by software patents. We 70 | wish to avoid the danger that companies distributing free software will 71 | individually obtain patent licenses, thus in effect transforming the 72 | program into proprietary software. To prevent this, we have made it clear 73 | that any patent must be licensed for everyone's free use or not licensed at 74 | all. 75 | 76 | Most GNU software, including some libraries, is covered by the ordinary GNU 77 | General Public License, which was designed for utility programs. This 78 | license, the GNU Library General Public License, applies to certain 79 | designated libraries. This license is quite different from the ordinary 80 | one; be sure to read it in full, and don't assume that anything in it is 81 | the same as in the ordinary license. 82 | 83 | The reason we have a separate public license for some libraries is that 84 | they blur the distinction we usually make between modifying or adding to a 85 | program and simply using it. Linking a program with a library, without 86 | changing the library, is in some sense simply using the library, and is 87 | analogous to running a utility program or application program. However, in 88 | a textual and legal sense, the linked executable is a combined work, a 89 | derivative of the original library, and the ordinary General Public License 90 | treats it as such. 91 | 92 | Because of this blurred distinction, using the ordinary General Public 93 | License for libraries did not effectively promote software sharing, because 94 | most developers did not use the libraries. We concluded that weaker 95 | conditions might promote sharing better. 96 | 97 | However, unrestricted linking of non-free programs would deprive the users 98 | of those programs of all benefit from the free status of the libraries 99 | themselves. This Library General Public License is intended to permit 100 | developers of non-free programs to use free libraries, while preserving 101 | your freedom as a user of such programs to change the free libraries that 102 | are incorporated in them. (We have not seen how to achieve this as regards 103 | changes in header files, but we have achieved it as regards changes in the 104 | actual functions of the Library.) The hope is that this will lead to faster 105 | development of free libraries. 106 | 107 | The precise terms and conditions for copying, distribution and modification 108 | follow. Pay close attention to the difference between a "work based on the 109 | library" and a "work that uses the library". The former contains code 110 | derived from the library, while the latter only works together with the 111 | library. 112 | 113 | Note that it is possible for a library to be covered by the ordinary 114 | General Public License rather than by this special one. 115 | 116 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 117 | 118 | 0. This License Agreement applies to any software library which contains a 119 | notice placed by the copyright holder or other authorized party saying 120 | it may be distributed under the terms of this Library General Public 121 | License (also called "this License"). Each licensee is addressed as 122 | "you". 123 | 124 | A "library" means a collection of software functions and/or data 125 | prepared so as to be conveniently linked with application programs 126 | (which use some of those functions and data) to form executables. 127 | 128 | The "Library", below, refers to any such software library or work which 129 | has been distributed under these terms. A "work based on the Library" 130 | means either the Library or any derivative work under copyright law: 131 | that is to say, a work containing the Library or a portion of it, either 132 | verbatim or with modifications and/or translated straightforwardly into 133 | another language. (Hereinafter, translation is included without 134 | limitation in the term "modification".) 135 | 136 | "Source code" for a work means the preferred form of the work for making 137 | modifications to it. For a library, complete source code means all the 138 | source code for all modules it contains, plus any associated interface 139 | definition files, plus the scripts used to control compilation and 140 | installation of the library. 141 | 142 | Activities other than copying, distribution and modification are not 143 | covered by this License; they are outside its scope. The act of running 144 | a program using the Library is not restricted, and output from such a 145 | program is covered only if its contents constitute a work based on the 146 | Library (independent of the use of the Library in a tool for writing 147 | it). Whether that is true depends on what the Library does and what the 148 | program that uses the Library does. 149 | 150 | 1. You may copy and distribute verbatim copies of the Library's complete 151 | source code as you receive it, in any medium, provided that you 152 | conspicuously and appropriately publish on each copy an appropriate 153 | copyright notice and disclaimer of warranty; keep intact all the notices 154 | that refer to this License and to the absence of any warranty; and 155 | distribute a copy of this License along with the Library. 156 | 157 | You may charge a fee for the physical act of transferring a copy, and 158 | you may at your option offer warranty protection in exchange for a fee. 159 | 160 | 2. You may modify your copy or copies of the Library or any portion of it, 161 | thus forming a work based on the Library, and copy and distribute such 162 | modifications or work under the terms of Section 1 above, provided that 163 | you also meet all of these conditions: 164 | 165 | a) The modified work must itself be a software library. 166 | 167 | b) You must cause the files modified to carry prominent notices stating 168 | that you changed the files and the date of any change. 169 | 170 | c) You must cause the whole of the work to be licensed at no charge to 171 | all third parties under the terms of this License. 172 | 173 | d) If a facility in the modified Library refers to a function or a table 174 | of data to be supplied by an application program that uses the 175 | facility, other than as an argument passed when the facility is 176 | invoked, then you must make a good faith effort to ensure that, in 177 | the event an application does not supply such function or table, the 178 | facility still operates, and performs whatever part of its purpose 179 | remains meaningful. 180 | 181 | (For example, a function in a library to compute square roots has a 182 | purpose that is entirely well-defined independent of the 183 | application. Therefore, Subsection 2d requires that any 184 | application-supplied function or table used by this function must be 185 | optional: if the application does not supply it, the square root 186 | function must still compute square roots.) 187 | 188 | These requirements apply to the modified work as a whole. If 189 | identifiable sections of that work are not derived from the Library, and 190 | can be reasonably considered independent and separate works in 191 | themselves, then this License, and its terms, do not apply to those 192 | sections when you distribute them as separate works. But when you 193 | distribute the same sections as part of a whole which is a work based on 194 | the Library, the distribution of the whole must be on the terms of this 195 | License, whose permissions for other licensees extend to the entire 196 | whole, and thus to each and every part regardless of who wrote it. 197 | 198 | Thus, it is not the intent of this section to claim rights or contest 199 | your rights to work written entirely by you; rather, the intent is to 200 | exercise the right to control the distribution of derivative or 201 | collective works based on the Library. 202 | 203 | In addition, mere aggregation of another work not based on the Library 204 | with the Library (or with a work based on the Library) on a volume of a 205 | storage or distribution medium does not bring the other work under the 206 | scope of this License. 207 | 208 | 3. You may opt to apply the terms of the ordinary GNU General Public 209 | License instead of this License to a given copy of the Library. To do 210 | this, you must alter all the notices that refer to this License, so that 211 | they refer to the ordinary GNU General Public License, version 2, 212 | instead of to this License. (If a newer version than version 2 of the 213 | ordinary GNU General Public License has appeared, then you can specify 214 | that version instead if you wish.) Do not make any other change in these 215 | notices. 216 | 217 | Once this change is made in a given copy, it is irreversible for that 218 | copy, so the ordinary GNU General Public License applies to all 219 | subsequent copies and derivative works made from that copy. 220 | 221 | This option is useful when you wish to copy part of the code of the 222 | Library into a program that is not a library. 223 | 224 | 4. You may copy and distribute the Library (or a portion or derivative of 225 | it, under Section 2) in object code or executable form under the terms 226 | of Sections 1 and 2 above provided that you accompany it with the 227 | complete corresponding machine-readable source code, which must be 228 | distributed under the terms of Sections 1 and 2 above on a medium 229 | customarily used for software interchange. 230 | 231 | If distribution of object code is made by offering access to copy from a 232 | designated place, then offering equivalent access to copy the source 233 | code from the same place satisfies the requirement to distribute the 234 | source code, even though third parties are not compelled to copy the 235 | source along with the object code. 236 | 237 | 5. A program that contains no derivative of any portion of the Library, but 238 | is designed to work with the Library by being compiled or linked with 239 | it, is called a "work that uses the Library". Such a work, in isolation, 240 | is not a derivative work of the Library, and therefore falls outside the 241 | scope of this License. 242 | 243 | However, linking a "work that uses the Library" with the Library creates 244 | an executable that is a derivative of the Library (because it contains 245 | portions of the Library), rather than a "work that uses the 246 | library". The executable is therefore covered by this License. Section 6 247 | states terms for distribution of such executables. 248 | 249 | When a "work that uses the Library" uses material from a header file 250 | that is part of the Library, the object code for the work may be a 251 | derivative work of the Library even though the source code is 252 | not. Whether this is true is especially significant if the work can be 253 | linked without the Library, or if the work is itself a library. The 254 | threshold for this to be true is not precisely defined by law. 255 | 256 | If such an object file uses only numerical parameters, data structure 257 | layouts and accessors, and small macros and small inline functions (ten 258 | lines or less in length), then the use of the object file is 259 | unrestricted, regardless of whether it is legally a derivative 260 | work. (Executables containing this object code plus portions of the 261 | Library will still fall under Section 6.) 262 | 263 | Otherwise, if the work is a derivative of the Library, you may 264 | distribute the object code for the work under the terms of Section 265 | 6. Any executables containing that work also fall under Section 6, 266 | whether or not they are linked directly with the Library itself. 267 | 268 | 6. As an exception to the Sections above, you may also compile or link a 269 | "work that uses the Library" with the Library to produce a work 270 | containing portions of the Library, and distribute that work under terms 271 | of your choice, provided that the terms permit modification of the work 272 | for the customer's own use and reverse engineering for debugging such 273 | modifications. 274 | 275 | You must give prominent notice with each copy of the work that the 276 | Library is used in it and that the Library and its use are covered by 277 | this License. You must supply a copy of this License. If the work during 278 | execution displays copyright notices, you must include the copyright 279 | notice for the Library among them, as well as a reference directing the 280 | user to the copy of this License. Also, you must do one of these things: 281 | 282 | a) Accompany the work with the complete corresponding machine-readable 283 | source code for the Library including whatever changes were used in 284 | the work (which must be distributed under Sections 1 and 2 above); 285 | and, if the work is an executable linked with the Library, with the 286 | complete machine-readable "work that uses the Library", as object 287 | code and/or source code, so that the user can modify the Library and 288 | then relink to produce a modified executable containing the modified 289 | Library. (It is understood that the user who changes the contents of 290 | definitions files in the Library will not necessarily be able to 291 | recompile the application to use the modified definitions.) 292 | 293 | b) Accompany the work with a written offer, valid for at least three 294 | years, to give the same user the materials specified in Subsection 295 | 6a, above, for a charge no more than the cost of performing this 296 | distribution. 297 | 298 | c) If distribution of the work is made by offering access to copy from a 299 | designated place, offer equivalent access to copy the above specified 300 | materials from the same place. 301 | 302 | d) Verify that the user has already received a copy of these materials 303 | or that you have already sent this user a copy. 304 | 305 | For an executable, the required form of the "work that uses the Library" 306 | must include any data and utility programs needed for reproducing the 307 | executable from it. However, as a special exception, the source code 308 | distributed need not include anything that is normally distributed (in 309 | either source or binary form) with the major components (compiler, 310 | kernel, and so on) of the operating system on which the executable runs, 311 | unless that component itself accompanies the executable. 312 | 313 | It may happen that this requirement contradicts the license restrictions 314 | of other proprietary libraries that do not normally accompany the 315 | operating system. Such a contradiction means you cannot use both them 316 | and the Library together in an executable that you distribute. 317 | 318 | 7. You may place library facilities that are a work based on the Library 319 | side-by-side in a single library together with other library facilities 320 | not covered by this License, and distribute such a combined library, 321 | provided that the separate distribution of the work based on the Library 322 | and of the other library facilities is otherwise permitted, and provided 323 | that you do these two things: 324 | 325 | a) Accompany the combined library with a copy of the same work based on 326 | the Library, uncombined with any other library facilities. This must 327 | be distributed under the terms of the Sections above. 328 | 329 | b) Give prominent notice with the combined library of the fact that part 330 | of it is a work based on the Library, and explaining where to find 331 | the accompanying uncombined form of the same work. 332 | 333 | 8. You may not copy, modify, sublicense, link with, or distribute the 334 | Library except as expressly provided under this License. Any attempt 335 | otherwise to copy, modify, sublicense, link with, or distribute the 336 | Library is void, and will automatically terminate your rights under this 337 | License. However, parties who have received copies, or rights, from you 338 | under this License will not have their licenses terminated so long as 339 | such parties remain in full compliance. 340 | 341 | 9. You are not required to accept this License, since you have not signed 342 | it. However, nothing else grants you permission to modify or distribute 343 | the Library or its derivative works. These actions are prohibited by law 344 | if you do not accept this License. Therefore, by modifying or 345 | distributing the Library (or any work based on the Library), you 346 | indicate your acceptance of this License to do so, and all its terms and 347 | conditions for copying, distributing or modifying the Library or works 348 | based on it. 349 | 350 | 10. Each time you redistribute the Library (or any work based on the 351 | Library), the recipient automatically receives a license from the 352 | original licensor to copy, distribute, link with or modify the Library 353 | subject to these terms and conditions. You may not impose any further 354 | restrictions on the recipients' exercise of the rights granted 355 | herein. You are not responsible for enforcing compliance by third 356 | parties to this License. 357 | 358 | 11. If, as a consequence of a court judgment or allegation of patent 359 | infringement or for any other reason (not limited to patent issues), 360 | conditions are imposed on you (whether by court order, agreement or 361 | otherwise) that contradict the conditions of this License, they do not 362 | excuse you from the conditions of this License. If you cannot 363 | distribute so as to satisfy simultaneously your obligations under this 364 | License and any other pertinent obligations, then as a consequence you 365 | may not distribute the Library at all. For example, if a patent license 366 | would not permit royalty-free redistribution of the Library by all 367 | those who receive copies directly or indirectly through you, then the 368 | only way you could satisfy both it and this License would be to refrain 369 | entirely from distribution of the Library. 370 | 371 | If any portion of this section is held invalid or unenforceable under 372 | any particular circumstance, the balance of the section is intended to 373 | apply, and the section as a whole is intended to apply in other 374 | circumstances. 375 | 376 | It is not the purpose of this section to induce you to infringe any 377 | patents or other property right claims or to contest validity of any 378 | such claims; this section has the sole purpose of protecting the 379 | integrity of the free software distribution system which is implemented 380 | by public license practices. Many people have made generous 381 | contributions to the wide range of software distributed through that 382 | system in reliance on consistent application of that system; it is up 383 | to the author/donor to decide if he or she is willing to distribute 384 | software through any other system and a licensee cannot impose that 385 | choice. 386 | 387 | This section is intended to make thoroughly clear what is believed to 388 | be a consequence of the rest of this License. 389 | 390 | 12. If the distribution and/or use of the Library is restricted in certain 391 | countries either by patents or by copyrighted interfaces, the original 392 | copyright holder who places the Library under this License may add an 393 | explicit geographical distribution limitation excluding those 394 | countries, so that distribution is permitted only in or among countries 395 | not thus excluded. In such case, this License incorporates the 396 | limitation as if written in the body of this License. 397 | 398 | 13. The Free Software Foundation may publish revised and/or new versions of 399 | the Library General Public License from time to time. Such new versions 400 | will be similar in spirit to the present version, but may differ in 401 | detail to address new problems or concerns. 402 | 403 | Each version is given a distinguishing version number. If the Library 404 | specifies a version number of this License which applies to it and "any 405 | later version", you have the option of following the terms and 406 | conditions either of that version or of any later version published by 407 | the Free Software Foundation. If the Library does not specify a license 408 | version number, you may choose any version ever published by the Free 409 | Software Foundation. 410 | 411 | 14. If you wish to incorporate parts of the Library into other free 412 | programs whose distribution conditions are incompatible with these, 413 | write to the author to ask for permission. For software which is 414 | copyrighted by the Free Software Foundation, write to the Free Software 415 | Foundation; we sometimes make exceptions for this. Our decision will be 416 | guided by the two goals of preserving the free status of all 417 | derivatives of our free software and of promoting the sharing and reuse 418 | of software generally. 419 | 420 | NO WARRANTY 421 | 422 | 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 423 | FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 424 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 425 | PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER 426 | EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 427 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE 428 | ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH 429 | YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL 430 | NECESSARY SERVICING, REPAIR OR CORRECTION. 431 | 432 | 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 433 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 434 | REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR 435 | DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL 436 | DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY 437 | (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED 438 | INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF 439 | THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR 440 | OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 441 | 442 | END OF TERMS AND CONDITIONS 443 | 444 | How to Apply These Terms to Your New Libraries 445 | 446 | If you develop a new library, and you want it to be of the greatest 447 | possible use to the public, we recommend making it free software that 448 | everyone can redistribute and change. You can do so by permitting 449 | redistribution under these terms (or, alternatively, under the terms of the 450 | ordinary General Public License). 451 | 452 | To apply these terms, attach the following notices to the library. It is 453 | safest to attach them to the start of each source file to most effectively 454 | convey the exclusion of warranty; and each file should have at least the 455 | "copyright" line and a pointer to where the full notice is found. 456 | 457 | one line to give the library's name and an idea of what it does. 458 | Copyright (C) year name of author 459 | 460 | This library is free software; you can redistribute it and/or modify it 461 | under the terms of the GNU Library General Public License as published by 462 | the Free Software Foundation; either version 2 of the License, or (at your 463 | option) any later version. 464 | 465 | This library is distributed in the hope that it will be useful, but WITHOUT 466 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 467 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 468 | License for more details. 469 | 470 | You should have received a copy of the GNU Library General Public License 471 | along with this library; if not, write to the Free Software Foundation, 472 | Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. 473 | 474 | Also add information on how to contact you by electronic and paper mail. 475 | 476 | You should also get your employer (if you work as a programmer) or your 477 | school, if any, to sign a "copyright disclaimer" for the library, if 478 | necessary. Here is a sample; alter the names: 479 | 480 | Yoyodyne, Inc., hereby disclaims all copyright interest in 481 | the library `Frob' (a library for tweaking knobs) written 482 | by James Random Hacker. 483 | 484 | signature of Ty Coon, 1 April 1990 485 | Ty Coon, President of Vice 486 | 487 | That's all there is to it! 488 | -------------------------------------------------------------------------------- /licence/preferred/LGPL-2.1: -------------------------------------------------------------------------------- 1 | Valid-License-Identifier: LGPL-2.1 2 | Valid-License-Identifier: LGPL-2.1+ 3 | SPDX-URL: https://spdx.org/licenses/LGPL-2.1.html 4 | Usage-Guide: 5 | To use this license in source code, put one of the following SPDX 6 | tag/value pairs into a comment according to the placement 7 | guidelines in the licensing rules documentation. 8 | For 'GNU Lesser General Public License (LGPL) version 2.1 only' use: 9 | SPDX-License-Identifier: LGPL-2.1 10 | For 'GNU Lesser General Public License (LGPL) version 2.1 or any later 11 | version' use: 12 | SPDX-License-Identifier: LGPL-2.1+ 13 | License-Text: 14 | 15 | GNU LESSER GENERAL PUBLIC LICENSE 16 | Version 2.1, February 1999 17 | 18 | Copyright (C) 1991, 1999 Free Software Foundation, Inc. 19 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | 21 | Everyone is permitted to copy and distribute verbatim copies of this 22 | license document, but changing it is not allowed. 23 | 24 | [This is the first released version of the Lesser GPL. It also counts as 25 | the successor of the GNU Library Public License, version 2, hence the 26 | version number 2.1.] 27 | 28 | Preamble 29 | 30 | The licenses for most software are designed to take away your freedom to 31 | share and change it. By contrast, the GNU General Public Licenses are 32 | intended to guarantee your freedom to share and change free software--to 33 | make sure the software is free for all its users. 34 | 35 | This license, the Lesser General Public License, applies to some specially 36 | designated software packages--typically libraries--of the Free Software 37 | Foundation and other authors who decide to use it. You can use it too, but 38 | we suggest you first think carefully about whether this license or the 39 | ordinary General Public License is the better strategy to use in any 40 | particular case, based on the explanations below. 41 | 42 | When we speak of free software, we are referring to freedom of use, not 43 | price. Our General Public Licenses are designed to make sure that you have 44 | the freedom to distribute copies of free software (and charge for this 45 | service if you wish); that you receive source code or can get it if you 46 | want it; that you can change the software and use pieces of it in new free 47 | programs; and that you are informed that you can do these things. 48 | 49 | To protect your rights, we need to make restrictions that forbid 50 | distributors to deny you these rights or to ask you to surrender these 51 | rights. These restrictions translate to certain responsibilities for you if 52 | you distribute copies of the library or if you modify it. 53 | 54 | For example, if you distribute copies of the library, whether gratis or for 55 | a fee, you must give the recipients all the rights that we gave you. You 56 | must make sure that they, too, receive or can get the source code. If you 57 | link other code with the library, you must provide complete object files to 58 | the recipients, so that they can relink them with the library after making 59 | changes to the library and recompiling it. And you must show them these 60 | terms so they know their rights. 61 | 62 | We protect your rights with a two-step method: (1) we copyright the 63 | library, and (2) we offer you this license, which gives you legal 64 | permission to copy, distribute and/or modify the library. 65 | 66 | To protect each distributor, we want to make it very clear that there is no 67 | warranty for the free library. Also, if the library is modified by someone 68 | else and passed on, the recipients should know that what they have is not 69 | the original version, so that the original author's reputation will not be 70 | affected by problems that might be introduced by others. 71 | 72 | Finally, software patents pose a constant threat to the existence of any 73 | free program. We wish to make sure that a company cannot effectively 74 | restrict the users of a free program by obtaining a restrictive license 75 | from a patent holder. Therefore, we insist that any patent license obtained 76 | for a version of the library must be consistent with the full freedom of 77 | use specified in this license. 78 | 79 | Most GNU software, including some libraries, is covered by the ordinary GNU 80 | General Public License. This license, the GNU Lesser General Public 81 | License, applies to certain designated libraries, and is quite different 82 | from the ordinary General Public License. We use this license for certain 83 | libraries in order to permit linking those libraries into non-free 84 | programs. 85 | 86 | When a program is linked with a library, whether statically or using a 87 | shared library, the combination of the two is legally speaking a combined 88 | work, a derivative of the original library. The ordinary General Public 89 | License therefore permits such linking only if the entire combination fits 90 | its criteria of freedom. The Lesser General Public License permits more lax 91 | criteria for linking other code with the library. 92 | 93 | We call this license the "Lesser" General Public License because it does 94 | Less to protect the user's freedom than the ordinary General Public 95 | License. It also provides other free software developers Less of an 96 | advantage over competing non-free programs. These disadvantages are the 97 | reason we use the ordinary General Public License for many 98 | libraries. However, the Lesser license provides advantages in certain 99 | special circumstances. 100 | 101 | For example, on rare occasions, there may be a special need to encourage 102 | the widest possible use of a certain library, so that it becomes a de-facto 103 | standard. To achieve this, non-free programs must be allowed to use the 104 | library. A more frequent case is that a free library does the same job as 105 | widely used non-free libraries. In this case, there is little to gain by 106 | limiting the free library to free software only, so we use the Lesser 107 | General Public License. 108 | 109 | In other cases, permission to use a particular library in non-free programs 110 | enables a greater number of people to use a large body of free 111 | software. For example, permission to use the GNU C Library in non-free 112 | programs enables many more people to use the whole GNU operating system, as 113 | well as its variant, the GNU/Linux operating system. 114 | 115 | Although the Lesser General Public License is Less protective of the users' 116 | freedom, it does ensure that the user of a program that is linked with the 117 | Library has the freedom and the wherewithal to run that program using a 118 | modified version of the Library. 119 | 120 | The precise terms and conditions for copying, distribution and modification 121 | follow. Pay close attention to the difference between a "work based on the 122 | library" and a "work that uses the library". The former contains code 123 | derived from the library, whereas the latter must be combined with the 124 | library in order to run. 125 | 126 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 127 | 128 | 0. This License Agreement applies to any software library or other program 129 | which contains a notice placed by the copyright holder or other 130 | authorized party saying it may be distributed under the terms of this 131 | Lesser General Public License (also called "this License"). Each 132 | licensee is addressed as "you". 133 | 134 | A "library" means a collection of software functions and/or data 135 | prepared so as to be conveniently linked with application programs 136 | (which use some of those functions and data) to form executables. 137 | 138 | The "Library", below, refers to any such software library or work which 139 | has been distributed under these terms. A "work based on the Library" 140 | means either the Library or any derivative work under copyright law: 141 | that is to say, a work containing the Library or a portion of it, either 142 | verbatim or with modifications and/or translated straightforwardly into 143 | another language. (Hereinafter, translation is included without 144 | limitation in the term "modification".) 145 | 146 | "Source code" for a work means the preferred form of the work for making 147 | modifications to it. For a library, complete source code means all the 148 | source code for all modules it contains, plus any associated interface 149 | definition files, plus the scripts used to control compilation and 150 | installation of the library. 151 | 152 | Activities other than copying, distribution and modification are not 153 | covered by this License; they are outside its scope. The act of running 154 | a program using the Library is not restricted, and output from such a 155 | program is covered only if its contents constitute a work based on the 156 | Library (independent of the use of the Library in a tool for writing 157 | it). Whether that is true depends on what the Library does and what the 158 | program that uses the Library does. 159 | 160 | 1. You may copy and distribute verbatim copies of the Library's complete 161 | source code as you receive it, in any medium, provided that you 162 | conspicuously and appropriately publish on each copy an appropriate 163 | copyright notice and disclaimer of warranty; keep intact all the notices 164 | that refer to this License and to the absence of any warranty; and 165 | distribute a copy of this License along with the Library. 166 | 167 | You may charge a fee for the physical act of transferring a copy, and 168 | you may at your option offer warranty protection in exchange for a fee. 169 | 170 | 2. You may modify your copy or copies of the Library or any portion of it, 171 | thus forming a work based on the Library, and copy and distribute such 172 | modifications or work under the terms of Section 1 above, provided that 173 | you also meet all of these conditions: 174 | 175 | a) The modified work must itself be a software library. 176 | 177 | b) You must cause the files modified to carry prominent notices stating 178 | that you changed the files and the date of any change. 179 | 180 | c) You must cause the whole of the work to be licensed at no charge to 181 | all third parties under the terms of this License. 182 | 183 | d) If a facility in the modified Library refers to a function or a table 184 | of data to be supplied by an application program that uses the 185 | facility, other than as an argument passed when the facility is 186 | invoked, then you must make a good faith effort to ensure that, in 187 | the event an application does not supply such function or table, the 188 | facility still operates, and performs whatever part of its purpose 189 | remains meaningful. 190 | 191 | (For example, a function in a library to compute square roots has a 192 | purpose that is entirely well-defined independent of the 193 | application. Therefore, Subsection 2d requires that any 194 | application-supplied function or table used by this function must be 195 | optional: if the application does not supply it, the square root 196 | function must still compute square roots.) 197 | 198 | These requirements apply to the modified work as a whole. If 199 | identifiable sections of that work are not derived from the Library, and 200 | can be reasonably considered independent and separate works in 201 | themselves, then this License, and its terms, do not apply to those 202 | sections when you distribute them as separate works. But when you 203 | distribute the same sections as part of a whole which is a work based on 204 | the Library, the distribution of the whole must be on the terms of this 205 | License, whose permissions for other licensees extend to the entire 206 | whole, and thus to each and every part regardless of who wrote it. 207 | 208 | Thus, it is not the intent of this section to claim rights or contest 209 | your rights to work written entirely by you; rather, the intent is to 210 | exercise the right to control the distribution of derivative or 211 | collective works based on the Library. 212 | 213 | In addition, mere aggregation of another work not based on the Library 214 | with the Library (or with a work based on the Library) on a volume of a 215 | storage or distribution medium does not bring the other work under the 216 | scope of this License. 217 | 218 | 3. You may opt to apply the terms of the ordinary GNU General Public 219 | License instead of this License to a given copy of the Library. To do 220 | this, you must alter all the notices that refer to this License, so that 221 | they refer to the ordinary GNU General Public License, version 2, 222 | instead of to this License. (If a newer version than version 2 of the 223 | ordinary GNU General Public License has appeared, then you can specify 224 | that version instead if you wish.) Do not make any other change in these 225 | notices. 226 | 227 | Once this change is made in a given copy, it is irreversible for that 228 | copy, so the ordinary GNU General Public License applies to all 229 | subsequent copies and derivative works made from that copy. 230 | 231 | This option is useful when you wish to copy part of the code of the 232 | Library into a program that is not a library. 233 | 234 | 4. You may copy and distribute the Library (or a portion or derivative of 235 | it, under Section 2) in object code or executable form under the terms 236 | of Sections 1 and 2 above provided that you accompany it with the 237 | complete corresponding machine-readable source code, which must be 238 | distributed under the terms of Sections 1 and 2 above on a medium 239 | customarily used for software interchange. 240 | 241 | If distribution of object code is made by offering access to copy from a 242 | designated place, then offering equivalent access to copy the source 243 | code from the same place satisfies the requirement to distribute the 244 | source code, even though third parties are not compelled to copy the 245 | source along with the object code. 246 | 247 | 5. A program that contains no derivative of any portion of the Library, but 248 | is designed to work with the Library by being compiled or linked with 249 | it, is called a "work that uses the Library". Such a work, in isolation, 250 | is not a derivative work of the Library, and therefore falls outside the 251 | scope of this License. 252 | 253 | However, linking a "work that uses the Library" with the Library creates 254 | an executable that is a derivative of the Library (because it contains 255 | portions of the Library), rather than a "work that uses the 256 | library". The executable is therefore covered by this License. Section 6 257 | states terms for distribution of such executables. 258 | 259 | When a "work that uses the Library" uses material from a header file 260 | that is part of the Library, the object code for the work may be a 261 | derivative work of the Library even though the source code is 262 | not. Whether this is true is especially significant if the work can be 263 | linked without the Library, or if the work is itself a library. The 264 | threshold for this to be true is not precisely defined by law. 265 | 266 | If such an object file uses only numerical parameters, data structure 267 | layouts and accessors, and small macros and small inline functions (ten 268 | lines or less in length), then the use of the object file is 269 | unrestricted, regardless of whether it is legally a derivative 270 | work. (Executables containing this object code plus portions of the 271 | Library will still fall under Section 6.) 272 | 273 | Otherwise, if the work is a derivative of the Library, you may 274 | distribute the object code for the work under the terms of Section 275 | 6. Any executables containing that work also fall under Section 6, 276 | whether or not they are linked directly with the Library itself. 277 | 278 | 6. As an exception to the Sections above, you may also combine or link a 279 | "work that uses the Library" with the Library to produce a work 280 | containing portions of the Library, and distribute that work under terms 281 | of your choice, provided that the terms permit modification of the work 282 | for the customer's own use and reverse engineering for debugging such 283 | modifications. 284 | 285 | You must give prominent notice with each copy of the work that the 286 | Library is used in it and that the Library and its use are covered by 287 | this License. You must supply a copy of this License. If the work during 288 | execution displays copyright notices, you must include the copyright 289 | notice for the Library among them, as well as a reference directing the 290 | user to the copy of this License. Also, you must do one of these things: 291 | 292 | a) Accompany the work with the complete corresponding machine-readable 293 | source code for the Library including whatever changes were used in 294 | the work (which must be distributed under Sections 1 and 2 above); 295 | and, if the work is an executable linked with the Library, with the 296 | complete machine-readable "work that uses the Library", as object 297 | code and/or source code, so that the user can modify the Library and 298 | then relink to produce a modified executable containing the modified 299 | Library. (It is understood that the user who changes the contents of 300 | definitions files in the Library will not necessarily be able to 301 | recompile the application to use the modified definitions.) 302 | 303 | b) Use a suitable shared library mechanism for linking with the 304 | Library. A suitable mechanism is one that (1) uses at run time a copy 305 | of the library already present on the user's computer system, rather 306 | than copying library functions into the executable, and (2) will 307 | operate properly with a modified version of the library, if the user 308 | installs one, as long as the modified version is interface-compatible 309 | with the version that the work was made with. 310 | 311 | c) Accompany the work with a written offer, valid for at least three 312 | years, to give the same user the materials specified in Subsection 313 | 6a, above, for a charge no more than the cost of performing this 314 | distribution. 315 | 316 | d) If distribution of the work is made by offering access to copy from a 317 | designated place, offer equivalent access to copy the above specified 318 | materials from the same place. 319 | 320 | e) Verify that the user has already received a copy of these materials 321 | or that you have already sent this user a copy. 322 | 323 | For an executable, the required form of the "work that uses the Library" 324 | must include any data and utility programs needed for reproducing the 325 | executable from it. However, as a special exception, the materials to be 326 | distributed need not include anything that is normally distributed (in 327 | either source or binary form) with the major components (compiler, 328 | kernel, and so on) of the operating system on which the executable runs, 329 | unless that component itself accompanies the executable. 330 | 331 | It may happen that this requirement contradicts the license restrictions 332 | of other proprietary libraries that do not normally accompany the 333 | operating system. Such a contradiction means you cannot use both them 334 | and the Library together in an executable that you distribute. 335 | 336 | 7. You may place library facilities that are a work based on the Library 337 | side-by-side in a single library together with other library facilities 338 | not covered by this License, and distribute such a combined library, 339 | provided that the separate distribution of the work based on the Library 340 | and of the other library facilities is otherwise permitted, and provided 341 | that you do these two things: 342 | 343 | a) Accompany the combined library with a copy of the same work based on 344 | the Library, uncombined with any other library facilities. This must 345 | be distributed under the terms of the Sections above. 346 | 347 | b) Give prominent notice with the combined library of the fact that part 348 | of it is a work based on the Library, and explaining where to find 349 | the accompanying uncombined form of the same work. 350 | 351 | 8. You may not copy, modify, sublicense, link with, or distribute the 352 | Library except as expressly provided under this License. Any attempt 353 | otherwise to copy, modify, sublicense, link with, or distribute the 354 | Library is void, and will automatically terminate your rights under this 355 | License. However, parties who have received copies, or rights, from you 356 | under this License will not have their licenses terminated so long as 357 | such parties remain in full compliance. 358 | 359 | 9. You are not required to accept this License, since you have not signed 360 | it. However, nothing else grants you permission to modify or distribute 361 | the Library or its derivative works. These actions are prohibited by law 362 | if you do not accept this License. Therefore, by modifying or 363 | distributing the Library (or any work based on the Library), you 364 | indicate your acceptance of this License to do so, and all its terms and 365 | conditions for copying, distributing or modifying the Library or works 366 | based on it. 367 | 368 | 10. Each time you redistribute the Library (or any work based on the 369 | Library), the recipient automatically receives a license from the 370 | original licensor to copy, distribute, link with or modify the Library 371 | subject to these terms and conditions. You may not impose any further 372 | restrictions on the recipients' exercise of the rights granted 373 | herein. You are not responsible for enforcing compliance by third 374 | parties with this License. 375 | 376 | 11. If, as a consequence of a court judgment or allegation of patent 377 | infringement or for any other reason (not limited to patent issues), 378 | conditions are imposed on you (whether by court order, agreement or 379 | otherwise) that contradict the conditions of this License, they do not 380 | excuse you from the conditions of this License. If you cannot 381 | distribute so as to satisfy simultaneously your obligations under this 382 | License and any other pertinent obligations, then as a consequence you 383 | may not distribute the Library at all. For example, if a patent license 384 | would not permit royalty-free redistribution of the Library by all 385 | those who receive copies directly or indirectly through you, then the 386 | only way you could satisfy both it and this License would be to refrain 387 | entirely from distribution of the Library. 388 | 389 | If any portion of this section is held invalid or unenforceable under 390 | any particular circumstance, the balance of the section is intended to 391 | apply, and the section as a whole is intended to apply in other 392 | circumstances. 393 | 394 | It is not the purpose of this section to induce you to infringe any 395 | patents or other property right claims or to contest validity of any 396 | such claims; this section has the sole purpose of protecting the 397 | integrity of the free software distribution system which is implemented 398 | by public license practices. Many people have made generous 399 | contributions to the wide range of software distributed through that 400 | system in reliance on consistent application of that system; it is up 401 | to the author/donor to decide if he or she is willing to distribute 402 | software through any other system and a licensee cannot impose that 403 | choice. 404 | 405 | This section is intended to make thoroughly clear what is believed to 406 | be a consequence of the rest of this License. 407 | 408 | 12. If the distribution and/or use of the Library is restricted in certain 409 | countries either by patents or by copyrighted interfaces, the original 410 | copyright holder who places the Library under this License may add an 411 | explicit geographical distribution limitation excluding those 412 | countries, so that distribution is permitted only in or among countries 413 | not thus excluded. In such case, this License incorporates the 414 | limitation as if written in the body of this License. 415 | 416 | 13. The Free Software Foundation may publish revised and/or new versions of 417 | the Lesser General Public License from time to time. Such new versions 418 | will be similar in spirit to the present version, but may differ in 419 | detail to address new problems or concerns. 420 | 421 | Each version is given a distinguishing version number. If the Library 422 | specifies a version number of this License which applies to it and "any 423 | later version", you have the option of following the terms and 424 | conditions either of that version or of any later version published by 425 | the Free Software Foundation. If the Library does not specify a license 426 | version number, you may choose any version ever published by the Free 427 | Software Foundation. 428 | 429 | 14. If you wish to incorporate parts of the Library into other free 430 | programs whose distribution conditions are incompatible with these, 431 | write to the author to ask for permission. For software which is 432 | copyrighted by the Free Software Foundation, write to the Free Software 433 | Foundation; we sometimes make exceptions for this. Our decision will be 434 | guided by the two goals of preserving the free status of all 435 | derivatives of our free software and of promoting the sharing and reuse 436 | of software generally. 437 | 438 | NO WARRANTY 439 | 440 | 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 441 | FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 442 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 443 | PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER 444 | EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 445 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE 446 | ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH 447 | YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL 448 | NECESSARY SERVICING, REPAIR OR CORRECTION. 449 | 450 | 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 451 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 452 | REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR 453 | DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL 454 | DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY 455 | (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED 456 | INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF 457 | THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR 458 | OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 459 | 460 | END OF TERMS AND CONDITIONS 461 | 462 | How to Apply These Terms to Your New Libraries 463 | 464 | If you develop a new library, and you want it to be of the greatest 465 | possible use to the public, we recommend making it free software that 466 | everyone can redistribute and change. You can do so by permitting 467 | redistribution under these terms (or, alternatively, under the terms of the 468 | ordinary General Public License). 469 | 470 | To apply these terms, attach the following notices to the library. It is 471 | safest to attach them to the start of each source file to most effectively 472 | convey the exclusion of warranty; and each file should have at least the 473 | "copyright" line and a pointer to where the full notice is found. 474 | 475 | one line to give the library's name and an idea of what it does. 476 | Copyright (C) year name of author 477 | 478 | This library is free software; you can redistribute it and/or modify it 479 | under the terms of the GNU Lesser General Public License as published by 480 | the Free Software Foundation; either version 2.1 of the License, or (at 481 | your option) any later version. 482 | 483 | This library is distributed in the hope that it will be useful, but WITHOUT 484 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 485 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License 486 | for more details. 487 | 488 | You should have received a copy of the GNU Lesser General Public License 489 | along with this library; if not, write to the Free Software Foundation, 490 | Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add 491 | information on how to contact you by electronic and paper mail. 492 | 493 | You should also get your employer (if you work as a programmer) or your 494 | school, if any, to sign a "copyright disclaimer" for the library, if 495 | necessary. Here is a sample; alter the names: 496 | 497 | Yoyodyne, Inc., hereby disclaims all copyright interest in 498 | the library `Frob' (a library for tweaking knobs) written 499 | by James Random Hacker. 500 | 501 | signature of Ty Coon, 1 April 1990 502 | Ty Coon, President of Vice 503 | That's all there is to it! 504 | -------------------------------------------------------------------------------- /licence/preferred/MIT: -------------------------------------------------------------------------------- 1 | Valid-License-Identifier: MIT 2 | SPDX-URL: https://spdx.org/licenses/MIT.html 3 | Usage-Guide: 4 | To use the MIT License put the following SPDX tag/value pair into a 5 | comment according to the placement guidelines in the licensing rules 6 | documentation: 7 | SPDX-License-Identifier: MIT 8 | License-Text: 9 | 10 | MIT License 11 | 12 | Copyright (c) 13 | 14 | Permission is hereby granted, free of charge, to any person obtaining a 15 | copy of this software and associated documentation files (the "Software"), 16 | to deal in the Software without restriction, including without limitation 17 | the rights to use, copy, modify, merge, publish, distribute, sublicense, 18 | and/or sell copies of the Software, and to permit persons to whom the 19 | Software is furnished to do so, subject to the following conditions: 20 | 21 | The above copyright notice and this permission notice shall be included in 22 | all copies or substantial portions of the Software. 23 | 24 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 29 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 30 | DEALINGS IN THE SOFTWARE. 31 | -------------------------------------------------------------------------------- /patches/musl/r5900-ll-sc.patch: -------------------------------------------------------------------------------- 1 | commit 5d3dfe718530cd1fd2e68885350b1abc2b04331d (HEAD -> master) 2 | Author: Fredrik Noring 3 | Date: Thu Dec 24 14:08:30 2020 +0100 4 | 5 | MIPS: Use `.set mips2' to emulate LL/SC for the R5900 too 6 | 7 | GAS treats the R5900 as MIPS III, with some modifications. The MIPS III 8 | designation means that the GNU C Library will try to assemble the LL and 9 | SC instructions, even though they are not implemented in the R5900. GAS 10 | will therefore produce the following errors: 11 | 12 | Error: opcode not supported on this processor: r5900 (mips3) `ll $3,0($5)' 13 | Error: opcode not supported on this processor: r5900 (mips3) `sc $3,0($5)' 14 | 15 | The MIPS II ISA override as used here enables the kernel to trap and 16 | emulate the LL and SC instructions, as required. 17 | 18 | diff --git a/arch/mips/atomic_arch.h b/arch/mips/atomic_arch.h 19 | index 1248d177..ef21cb23 100644 20 | --- a/arch/mips/atomic_arch.h 21 | +++ b/arch/mips/atomic_arch.h 22 | @@ -8,7 +8,8 @@ 23 | static inline int a_ll(volatile int *p) 24 | { 25 | int v; 26 | -#if __mips < 2 27 | + /* The R5900 reports itself as MIPS III but it does not have LL/SC. */ 28 | +#if __mips < 2 || defined(_MIPS_ARCH_R5900) 29 | __asm__ __volatile__ ( 30 | ".set push ; .set mips2\n\t" 31 | "ll %0, %1" 32 | @@ -26,7 +27,8 @@ static inline int a_ll(volatile int *p) 33 | static inline int a_sc(volatile int *p, int v) 34 | { 35 | int r; 36 | -#if __mips < 2 37 | + /* The R5900 reports itself as MIPS III but it does not have LL/SC. */ 38 | +#if __mips < 2 || defined(_MIPS_ARCH_R5900) 39 | __asm__ __volatile__ ( 40 | ".set push ; .set mips2\n\t" 41 | "sc %0, %1" 42 | -------------------------------------------------------------------------------- /scripts/install-crossdev: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | mkdir -p /var/db/repos/crossdev/{profiles,metadata} 4 | echo crossdev >/var/db/repos/crossdev/profiles/repo_name 5 | echo 'masters = gentoo' >/var/db/repos/crossdev/metadata/layout.conf 6 | chown -R portage:portage /var/db/repos/crossdev 7 | 8 | mkdir /etc/portage/repos.conf 9 | cp configs/crossdev.conf /etc/portage/repos.conf/ 10 | 11 | emerge -j4 -v sys-devel/bc sys-devel/crossdev dev-vcs/git app-portage/gentoolkit 12 | 13 | mkdir -p /etc/portage/patches/cross-mipsr5900el-unknown-linux-musl/musl 14 | cp patches/musl/r5900-ll-sc.patch /etc/portage/patches/cross-mipsr5900el-unknown-linux-musl/musl/ 15 | 16 | crossdev --stage4 --target mipsr5900el-unknown-linux-gnu 17 | crossdev --stage4 --target mipsr5900el-unknown-linux-musl 18 | 19 | eclean distfiles 20 | -------------------------------------------------------------------------------- /scripts/install-frno7-repo: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | emerge -j4 -v app-eselect/eselect-repository 4 | eselect repository add frno7 git https://github.com/frno7/gentoo.overlay 5 | emaint sync -r frno7 6 | 7 | mkdir /usr/mipsr5900el-unknown-linux-{gnu,musl}/etc/portage/repos.conf 8 | ln -s /etc/portage/repos.conf/eselect-repo.conf /usr/mipsr5900el-unknown-linux-gnu/etc/portage/repos.conf/eselect-repo.conf 9 | ln -s /etc/portage/repos.conf/eselect-repo.conf /usr/mipsr5900el-unknown-linux-musl/etc/portage/repos.conf/eselect-repo.conf 10 | -------------------------------------------------------------------------------- /scripts/install-initramfs: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | mkdir -p initramfs/{lib/firmware/ps2,bin,dev,etc,mnt,proc,root,sbin,sys,tmp,usr,usr/bin,usr/sbin,var} 4 | 5 | cp /usr/mipsr5900el-unknown-linux-musl/bin/busybox initramfs/bin/ 6 | 7 | cp /usr/mipsr5900el-unknown-linux-musl/usr/bin/fbset initramfs/usr/bin/ 8 | 9 | cp /usr/mipsr5900el-unknown-linux-musl/usr/bin/dropbearmulti initramfs/usr/bin/ 10 | (cd initramfs/usr/bin && 11 | ln -s dropbearmulti dropbear && 12 | ln -s dropbearmulti scp && 13 | ln -s dropbearmulti ssh) 14 | -------------------------------------------------------------------------------- /scripts/install-packages: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # app-emulation/qemu-mipsr5900el (rc-update add qemu-mipsr5900el-binfmt) 4 | USE="static-user static-libs" emerge -j4 -v app-emulation/qemu-mipsr5900el 5 | 6 | # sys-apps/busybox 7 | mkdir -p /usr/mipsr5900el-unknown-linux-musl/etc/portage/savedconfig/sys-apps 8 | cp configs/busybox /usr/mipsr5900el-unknown-linux-musl/etc/portage/savedconfig/sys-apps/ 9 | USE="-make-symlinks prefix-guest static savedconfig math ipv6 syslog" \ 10 | emerge-mipsr5900el-unknown-linux-musl -v sys-apps/busybox 11 | 12 | # sys-apps/fbset 13 | ACCEPT_KEYWORDS="*" USE="static" emerge-mipsr5900el-unknown-linux-musl -v sys-apps/fbset 14 | 15 | # net-misc/dropbear 16 | ACCEPT_KEYWORDS="*" USE="-minimal multicall static static-libs" \ 17 | emerge-mipsr5900el-unknown-linux-musl -v net-misc/dropbear 18 | -------------------------------------------------------------------------------- /scripts/main: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -euxo pipefail 4 | 5 | . scripts/install-crossdev 6 | . scripts/install-frno7-repo 7 | . scripts/install-packages 8 | . scripts/install-initramfs 9 | 10 | eclean distfiles 11 | --------------------------------------------------------------------------------