-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
184 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,12 +112,12 @@ done | |
: ${INSTALL_PROGRAM_STRIP:=${INSTALL} -m 755 -s} | ||
: ${INSTALL_MAN:=${INSTALL} -m 444} | ||
: ${INSTALL_LIB:=${INSTALL} -m 755 -c} | ||
PKGNAME='iaito' ; VERSION='5.8.4' ; VERSION_MAJOR=5; VERSION_MINOR=8; VERSION_PATCH=4; VERSION_NUMBER=50804; CONTACT_MAIL="[email protected]" ; CONTACT_NAME="pancake" ; CONTACT="pancake <[email protected]>" ; | ||
PKGNAME='iaito' ; VERSION='5.8.6' ; VERSION_MAJOR=5; VERSION_MINOR=8; VERSION_PATCH=6; VERSION_NUMBER=50806; CONTACT_MAIL="[email protected]" ; CONTACT_NAME="pancake" ; CONTACT="pancake <[email protected]>" ; | ||
} | ||
|
||
show_usage() { | ||
cat <<EOF2 | ||
'configure' configures iaito-5.8.4 to adapt to many kinds of systems. | ||
'configure' configures iaito-5.8.6 to adapt to many kinds of systems. | ||
Usage: ./configure [OPTION]... [VAR=VALUE]... | ||
|
@@ -189,10 +189,10 @@ ocho() { | |
|
||
show_version() { | ||
if [ "$QUIET" = 1 ]; then | ||
echo "5.8.4" | ||
echo "5.8.6" | ||
exit 0 | ||
fi | ||
echo "iaito-5.8.4 configuration script done with acr v2.1.1. | ||
echo "iaito-5.8.6 configuration script done with acr v2.1.1. | ||
The 'Free Software Foundation' message is only for autodetection. | ||
Originally written by pancake <nopcode.org>." | ||
exit 0 | ||
|
@@ -221,7 +221,7 @@ case $flag in | |
show_version ; ;; | ||
-r|--r|--report) | ||
echo "PKGNAME: iaito" | ||
echo "VERSION: 5.8.4" | ||
echo "VERSION: 5.8.6" | ||
echo "AUTHOR: pancake" | ||
echo "EMAIL: [email protected]" | ||
echo "LANGS: c++" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
PKGNAME iaito | ||
VERSION 5.8.4 | ||
VERSION 5.8.6 | ||
CONTACT pancake ; [email protected] | ||
|
||
LANG_CXX! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
#!/usr/bin/env python3 | ||
import os | ||
import re | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import sys | ||
import re | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import os | ||
import sys | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
#!/bin/sh | ||
# | ||
# This script parses the commit messages between the last 2 git tags | ||
# if the last commit contains the word "Release", otherwise it shows | ||
# all the changes between the last tag and HEAD. | ||
# | ||
# Commits are grouped in different sections specified in the commit | ||
# message with the middle-dot character '·'. The section names are | ||
# arbitrary and we may be careful to use them properly but having | ||
# in mind that this may change. | ||
# | ||
# Commits without any middle·dot in the message are discarted and | ||
# displayed in the "to review" section. | ||
# | ||
# The tool prints Markdown, no plans to support other formats. | ||
# | ||
# Usage: sys/release-notes.sh 4.5.1 # from HEAD to 4.5.1 | ||
# $ sys/release-notes.sh 4.5.1 -v # same as above but include untagged commits | ||
# $ sys/release-notes.sh 4.5.0 4.5.1 # from 4.5.0 to 4.5.1 | ||
# | ||
# --pancake | ||
|
||
if [ -n "`git log -n 1 | grep Release`" ]; then | ||
VERS=`git tag --sort=committerdate | grep -v conti | tail -n 1` | ||
PREV=`git tag --sort=committerdate | grep -v conti | tail -n 2 | head -n1` | ||
else | ||
VERS=HEAD | ||
PREV=`git tag --sort=committerdate | grep -v conti | tail -n 1` | ||
fi | ||
|
||
[ -n "$1" ] && PREV="$1" | ||
[ -n "$2" ] && VERS="$2" | ||
|
||
git log ${PREV}..${VERS} > .l | ||
# When HEAD contains a tag do this magic | ||
if [ ! -s .l ]; then | ||
VERS=$PREV | ||
PREV=`git tag --sort=committerdate | grep -v conti | tail -n 2 | head -n1` | ||
git log ${PREV}..${VERS} > .l | ||
fi | ||
grep ^Author .l | cut -d : -f 2- | sed -e 's,radare,pancake,' | sort -u > .A | ||
|
||
echo "## Release Notes" | ||
echo | ||
echo "Version: ${VERS}" | ||
echo "Previous: ${PREV}" | ||
printf "Commits: " | ||
grep ^commit .l | wc -l | xargs echo | ||
echo "Contributors: `wc -l .A | awk '{print $1}'`" | ||
echo | ||
echo "## Flatpak Installation (WSL / Linux)" | ||
echo | ||
echo "\`\`\`sh" | ||
echo "sudo flatpak remote-add flathub https://dl.flathub.org/repo/flathub.flatpakrepo" | ||
echo "sudo flatpak install flathub org.radare.iaito" | ||
echo "export QT_QPA_PLATFORM=wayland # only mandatory on windows" | ||
echo "flatpak run org.radare.iaito" | ||
echo "\`\`\`" | ||
echo | ||
echo "## Source Installation" | ||
echo | ||
echo "\`\`\`sh" | ||
echo "curl -sL https://github.com/radareorg/radare2/releases/download/${VERS}/radare2-${VERS}.tar.xz | tar xzv" | ||
echo "radare2-${VERS}/sys/install.sh" | ||
echo "\`\`\`" | ||
echo | ||
echo "## Highlights" | ||
|
||
echo "<details><summary>More details</summary><p>" | ||
echo | ||
echo "## Authors" | ||
echo | ||
cat .A | perl -ne '/([^<]+)(.*)$/;$a=$1;$b=$2;$a=~s/^\s+|\s+$//g;$b=~s/[<>\s]//g;print "[$a](mailto:$b) "' | ||
echo | ||
echo | ||
|
||
cat .x | grep -v '##' | sed -e 's,^ *,,g' | grep -v "^$" | \ | ||
perl -ne 'if (/^\*/) { print "$_"; } else { print "* $_";}' | ||
|
||
# echo "## Changes" | ||
# echo | ||
# cat .l | grep -v ^commit | grep -v ^Author | grep -v ^Date > .x | ||
# cat .x | grep '##' | perl -ne '/##([^ ]*)/; if ($1) {print "$1\n";}' | sort -u > .y | ||
# for a in `cat .y` ; do | ||
# echo "**$a**" | ||
# echo | ||
# cat .x | grep "##$a" | sed -e 's/##.*//g' | perl -ne '{ s/^\s+//; print "* $_"; }' | ||
# echo | ||
# done | ||
# rm -f .x .y .l .A | ||
|
||
echo '</p></details>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.