infra-openafs-deb/make-orig.sh
Clark Boylan 3c978d8bca Revert "Revert "Update Jammy to 1.8.9""
This reverts commit 3134cbe95917482388ba2cd11e7544e9ae7abca8.

We inadverdently merged jammy into master and we don't want to pollute
master with any specific branch content. Revert it out.

Change-Id: I9c8453b294bad96daed4d2ba590a6f36bc142773
2023-06-05 13:02:57 -07:00

25 lines
1017 B
Bash
Executable File

#!/bin/bash
# Build stamp Thu 12 May 2022 09:38:41 AEST
# NOTE(ianw) : If you are (re)building a version that is already
# in Ubuntu, you have to use the ubuntu orig file that is already
# present in the primary archive (if you try to recreate it, gzip
# timestamps etc will be wrong). If you are building a version
# that isn't in Ubuntu, then we can build directly from upstream
# sources. If bumping the vesion here, look in the script below
# to switch between downloading or creating.
VERSION=1.8.9
echo "${VERSION}" > version
wget https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/openafs/${VERSION}-1/openafs_${VERSION}.orig.tar.xz
# wget https://www.openafs.org/dl/openafs/${VERSION}/openafs-${VERSION}-src.tar.bz2
# wget https://www.openafs.org/dl/openafs/${VERSION}/openafs-${VERSION}-doc.tar.bz2
# tar xf openafs-${VERSION}-src.tar.bz2
# tar xf openafs-${VERSION}-doc.tar.bz2
# mv openafs-${VERSION} openafs_${VERSION}.orig
# tar cfJ openafs_${VERSION}.orig.tar.xz openafs_${VERSION}.orig