summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2018-01-17 05:08:01 +0000
committerKyle Evans <kevans@FreeBSD.org>2018-01-17 05:08:01 +0000
commitfd06f809dbeccaf4318b587dbec69a56636e054b (patch)
treeda8e802a53648f138b2f2be8091e1ffb0913d57f /scripts
parent2f36e4ecd0f0c04781c752e5382906a43feaf4e3 (diff)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/kup-dtc31
-rwxr-xr-xscripts/setlocalversion22
2 files changed, 0 insertions, 53 deletions
diff --git a/scripts/kup-dtc b/scripts/kup-dtc
deleted file mode 100755
index e18abbb8c966..000000000000
--- a/scripts/kup-dtc
+++ /dev/null
@@ -1,31 +0,0 @@
-#! /bin/sh
-
-REMOTE_GIT=/pub/scm/utils/dtc/dtc.git
-REMOTE_PATH=/pub/software/utils/dtc
-
-set -e
-
-kup_one () {
- VERSION="$1"
-
- TAG="v$VERSION"
-
- PREFIX="dtc-$VERSION/"
- TAR="dtc-$VERSION.tar"
- SIG="$TAR.sign"
-
- git archive --format=tar --prefix="$PREFIX" -o "$TAR" "$TAG"
- gpg --detach-sign --armor -o "$SIG" "$TAR"
-
- ls -l "$TAR"*
-
- # Verify the signature as a sanity check
- gpg --verify "$SIG" "$TAR"
-
- kup put --tar --prefix="$PREFIX" "$REMOTE_GIT" "$TAG" "$SIG" "$REMOTE_PATH/$TAR.gz"
-}
-
-for version; do
- kup_one $version
-done
-
diff --git a/scripts/setlocalversion b/scripts/setlocalversion
deleted file mode 100755
index 82e4993f0a73..000000000000
--- a/scripts/setlocalversion
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-# Print additional version information for non-release trees.
-
-usage() {
- echo "Usage: $0 [srctree]" >&2
- exit 1
-}
-
-cd "${1:-.}" || usage
-
-# Check for git and a git repo.
-if head=`git rev-parse --verify HEAD 2>/dev/null`; then
- # Do we have an untagged version?
- if git name-rev --tags HEAD | grep -E '^HEAD[[:space:]]+(.*~[0-9]*|undefined)$' > /dev/null; then
- printf '%s%s' -g `echo "$head" | cut -c1-8`
- fi
-
- # Are there uncommitted changes?
- if git diff-index HEAD | read dummy; then
- printf '%s' -dirty
- fi
-fi