summaryrefslogtreecommitdiff
path: root/waterfox/waterfox-FreeBSD-patches-snapshot.sh
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2018-10-03 16:36:52 -0400
committerB Stack <bgstack15@gmail.com>2018-10-03 16:36:52 -0400
commit9115099c40b267629f4b2da63d9ef9aa4c6fe76c (patch)
treeb782ac21935a1c84a8ade9656073f1f7c35609df /waterfox/waterfox-FreeBSD-patches-snapshot.sh
parentuse same freebsd_rev as before (diff)
downloadstackrpms-9115099c40b267629f4b2da63d9ef9aa4c6fe76c.tar.gz
stackrpms-9115099c40b267629f4b2da63d9ef9aa4c6fe76c.tar.bz2
stackrpms-9115099c40b267629f4b2da63d9ef9aa4c6fe76c.zip
re-exclude a few freebsd patches before the higher rev number
Diffstat (limited to 'waterfox/waterfox-FreeBSD-patches-snapshot.sh')
-rwxr-xr-xwaterfox/waterfox-FreeBSD-patches-snapshot.sh33
1 files changed, 0 insertions, 33 deletions
diff --git a/waterfox/waterfox-FreeBSD-patches-snapshot.sh b/waterfox/waterfox-FreeBSD-patches-snapshot.sh
deleted file mode 100755
index b94f850..0000000
--- a/waterfox/waterfox-FreeBSD-patches-snapshot.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/bash
-
-set -e
-
-module=$(basename "$0" -snapshot.sh)
-snaproot="https://svn.freebsd.org/ports/head/www/waterfox/files"
-
-tmp=$(mktemp -d)
-
-trap cleanup EXIT
-cleanup() {
- set +e
- ([ -z "${tmp}" ] || [ ! -d "${tmp}" ]) || rm -rf "${tmp}"
-}
-
-unset CDPATH
-unset SNAP_COOPTS
-pwd=$(pwd)
-snap=${snap:-$(date +%Y%m%d)}
-
-[ "${snap}" = "$(date +%Y%m%d)" ] || SNAP_COOPTS="-r {$snap}"
-if [ -n "${rev}" ] ; then
- SNAP_COOPTS="-r ${rev}"
- snap="${rev}"
-fi
-
-pushd "${tmp}"
- svn co ${SNAP_COOPTS} ${snaproot} ${module}
- rev=$(svnversion "${module}")
- rev="${rev//[!0-9]/}"
- mv "${module}" "${module}-r${rev}"
- tar -Jcf "${pwd}/${module}-r${rev}.tar.xz" --exclude=.svn "${module}-r${rev}"
-popd >/dev/null
bgstack15