Skip to content
Permalink
Browse files

export: add SPDX identifiers

  • Loading branch information...
PeterPawn committed Jun 18, 2019
1 parent 17256c8 commit a7b13d054502bff7eeb160f9096d06587491e064
Showing with 10 additions and 0 deletions.
  1. +1 −0 export/checksum
  2. +1 −0 export/compose
  3. +1 −0 export/crc32
  4. +1 −0 export/crc32.c
  5. +1 −0 export/decompose
  6. +1 −0 export/download_change_upload
  7. +1 −0 export/fritzbox
  8. +1 −0 export/hexdump
  9. +1 −0 export/multipart_form
  10. +1 −0 export/testvalue
@@ -1,4 +1,5 @@
#! /bin/true
# SPDX-License-Identifier: GPL-2.0-or-later
crc32()
{
cksum=$(./crc32_filter <$1)
@@ -1,4 +1,5 @@
#! /bin/true
# SPDX-License-Identifier: GPL-2.0-or-later
fldr="$1"
cat $fldr/header >$fldr/output
cat $fldr/filelist |
@@ -1,4 +1,5 @@
#! /bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
#
# compute CRC32 check sum for a file with shell commands only
# replace AVM's "testvalue" with another binary/wrapper, if
@@ -1,4 +1,5 @@
/* simple implementation of CRC32 checksum as short C program */
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <stdio.h>
#include <inttypes.h>
int main()
@@ -1,4 +1,5 @@
#! /bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
td=$(mktemp -d)
hdr=1
cat - >$td/input
@@ -1,4 +1,5 @@
#! /bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
cleanup()
{
cleanup_file()
@@ -1,4 +1,5 @@
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
#
# exit code meanings
#
@@ -1,4 +1,5 @@
#! /bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
#
# hexdump a file like: hexdump -e '40/1 "%02X" "\n"' only with shell commands
# replace AVM's "testvalue" below with an own implementation, if this script
@@ -1,4 +1,5 @@
#! /bin/true
# SPDX-License-Identifier: GPL-2.0-or-later
errmsg() { printf "%s\n" "$*" 1>&2; }
check_form()
{
@@ -1,4 +1,5 @@
#! /bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
#
# replace AVM's "testvalue" binary (which reads 1-, 2- or 4-byte values from a
# given file and writes the decimal result to stdout) with a version based on

0 comments on commit a7b13d0

Please sign in to comment.
You can’t perform that action at this time.