From 0294e01c6bf12e3e215736361d0a4d5812d645c7 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 10 Jul 2023 10:10:11 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 7 ++++++- commitid | 1 + make-git-snapshot.sh | 17 +++++++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 commitid create mode 100644 make-git-snapshot.sh diff --git a/.gitignore b/.gitignore index 7ec36ea..19a7a19 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,7 @@ -SOURCES/mtdev-1.1.5.tar.bz2 +mtdev-20100706.tar.bz2 +mtdev-20100803.tar.bz2 +/mtdev-20110105.tar.bz2 +/mtdev-1.1.2.tar.bz2 +/mtdev-1.1.3.tar.bz2 +/mtdev-1.1.4.tar.bz2 /mtdev-1.1.5.tar.bz2 diff --git a/commitid b/commitid new file mode 100644 index 0000000..6d3374f --- /dev/null +++ b/commitid @@ -0,0 +1 @@ +9e3daba37d1d15c99a41a2d838bf683934cc7077 diff --git a/make-git-snapshot.sh b/make-git-snapshot.sh new file mode 100644 index 0000000..8b3a485 --- /dev/null +++ b/make-git-snapshot.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +DIRNAME=mtdev-$( date +%Y%m%d ) + +rm -rf $DIRNAME +git clone http://bitmath.org/git/mtdev.git $DIRNAME +cd $DIRNAME +if [ -z "$1" ]; then + git log | head -1 +else + git checkout $1 +fi +git log | head -1 | awk '{ print $2 }' > ../commitid +git repack -a -d +cd .. +tar jcf $DIRNAME.tar.bz2 $DIRNAME +rm -rf $DIRNAME