Commit Graph

68 Commits

Author SHA1 Message Date
pancake
145df15c75
Honor NOSUDO and --prefix in sys/install.sh ##build 2024-05-11 11:28:49 +02:00
pancake
9116caab2c Cleaning up the environment to workaround issues on some systems 2024-03-26 12:44:07 +01:00
pancake
6ef0ce10d8 Honor --prefix in /sys/install.sh ##build 2023-12-13 10:47:17 +01:00
pancake
ffd0573fc8 Add missing capstone-patch rule 2023-12-07 21:40:36 +01:00
Richard Patel
a181d9b36e Don't use /dev/stderr ##port 2023-12-06 10:20:14 +01:00
ApkUnpacker
efb06133a6
Run termux.sh from install.sh on Termux 2023-11-02 09:09:02 +01:00
pancake
7a9224231f Honor MAKE in sys/install.sh 2023-10-31 11:57:03 +01:00
pancake
11208dc356 Fix warning and use different prefix for haiku 2023-10-02 14:52:55 +02:00
pancake
45953493ac Build fixes for Haiku (pre-c11 compilers stuff from cwissland) 2023-10-02 13:50:51 +02:00
pancake
d4e46bf204 Support capstone from r2pm via sys/install.sh 2023-08-01 18:04:20 +02:00
pancake
039b8e6fbe Add support for cs5 and csnext ##build
* The next branch has changed a lot of enums and broke a lot of things
* Let's default to v5, but keep supporting next branch builds
2023-07-31 12:51:29 +02:00
pancake
580ab3ff50 Massage sys/install.sh for Haiku-x86 2023-05-26 12:17:56 +02:00
pancake
62c8b6a28a Clone capstone when using r2 as a submodule 2023-05-16 15:47:28 +02:00
pancake
cf004aff20
Add --with-new-io-cache configure and meson flags ##build
* That's an ABI breaking change optimizing io.cache=1
2023-03-14 15:29:53 +01:00
pancake
25865cb778 Remove build warnings spotted in termux and improve install instructions 2023-01-08 20:06:59 +01:00
pancake
fc63211df4 Fix capstone headsup 2022-11-11 17:44:15 +01:00
pancake
6402745955 Check if CWD contain spaces in sys/install.sh ##build 2022-10-16 21:03:26 +02:00
pancake
9e13e11c4f Ensure shlr/capstone is up-to-date in sys/install.sh 2022-10-10 11:22:42 +02:00
pancake
821d92d500 Fix noisy pkg-config warnings in sys/install.sh 2022-06-08 23:29:14 +02:00
pancake
15df7cc457 Minor cleanup in sys/install.sh 2022-04-22 15:59:24 +02:00
kakamaika
58e795ec28
Fix for --without-pull not working in install.sh ##build 2022-04-21 18:06:59 +02:00
Lazula
3fc98d4e7f
Check for .git extension in upstream remote in install scripts (#19808) 2022-03-11 13:16:53 +01:00
pancake
54b1fcd23c
Add CI job to verify builds with system-wide capstone ##build 2022-01-26 09:49:36 +01:00
Sergi Àlvarez i Capilla
d812a78e2a Use system capstone if available in sys/install.sh ##build 2022-01-24 14:38:58 +01:00
Lazula
b37999ad39
Check for an existing upstream remote in install scripts ##build 2021-12-15 10:12:43 +01:00
pancake
e6f2cd0b2a
Remove trailing spaces (#19460)
$ git grep ' $' | grep -v ^test/ | cut -d : -f 1 | sort -u > /tmp/trailing
$ for a in `cat /tmp/trailing` ; do sed -i -e 's/ *$//' $a ; done
2021-12-02 17:39:59 +01:00
Lazula
43f98d37a2 Use remote URL for git pull in install scripts ##build 2021-11-18 20:12:50 +01:00
pancake
07a4b25adc Dont sync capstone all the time 2021-11-05 10:08:23 +01:00
pancake
5fc8085d23 Run preconfigure from sys/install.sh 2021-08-27 11:00:43 +02:00
pancake
9d53dc96bf Fix sys/install.sh for tcsh on FreeBSD 2021-08-25 14:08:39 +02:00
pancake
9f2bb72017 Fallback to /bin/sh if the $SHELL is fishy ##build 2021-08-23 13:50:18 +02:00
pancake
2434c3ca74
Switch to Capstone5 as default ##asm (#18127)
* Add riscv for capstone5 in the meson
* Report capstone version in the asm plugins
* Many changes in the ppc analysis, seems like it's improved, (emulation quality and xrefs)
* Update all tests and report issues in capstone4 to upstream
* Fix-x86-16 test marked as broken as it needs better fix
2021-04-24 22:04:51 +02:00
soroosh-chabi
6d21fcfe8b
Fix the failure in finding the executing user's ID during install (#18508) ##build
The `UID` variable used previously is a Bash extension that isn't present on all
POSIX shells.
2021-03-29 00:32:44 +02:00
pancake
815c432217 Fix #18397 - Be less strict when running sys/install.sh as root ##build 2021-03-01 11:46:33 +01:00
soroosh-chabi
205962f73c
Fix a credentials downgrade problem in Install.sh ##build
* Fix failure when finding the executing user's ID during install

The `UID` variable used previously is a Bash extension that isn't present on all
POSIX shells.

* Prioritize downgrading credentials during install

The first thing to do is to check and, if necessary, downgrade the credentials
before proceeding any further during install. Also, checking for the presence of
GNU Make is delayed after the arguments to the install script have been parsed.
2021-02-09 23:06:55 +01:00
pancake
dcc17e7f32 Use latest acr to support BSDs pkgconf tool and more cleanups 2020-12-19 15:24:00 +01:00
radare
bed2cb1f40
Fix #9240 - sys/install.sh uses always /usr/local + rpath now ##build 2020-03-20 15:27:20 +01:00
Giovanni
08ae6fc891 Fix #15485 - Improve argument parsing in sys/{install,build} (#15486) ##build 2019-11-20 16:40:02 +01:00
pancake
092173bf90 Improve configure argument handling in sys/install.sh ##build
* Handle --help, --with-capstone5 and --install (no symlinks)
2019-05-14 17:54:11 +02:00
pancake
1b7d5b5f7f Downgrade credentials when building with sudo ##build 2018-10-23 22:22:38 +02:00
pancake
eb4387c4d2 Delete sys/install-su.sh (implemented in install.sh with USE_SU=1) 2018-09-16 00:08:46 +02:00
pancake
ca8eac68c2 Hardcode umask in sys/install.sh to avoid problems in some distros 2018-03-07 00:53:05 +01:00
pancake
ef2965d3f8 Fix #6032 - Honor --without-pull for capstone and www-m 2017-10-20 03:19:55 +02:00
pancake
7e7e23be36 Properly honor NOSUDO 2017-05-15 15:37:05 +02:00
pancake
a059631c55 Honor NOSUDO in sys/install.sh 2017-05-15 15:32:03 +02:00
pancake
9b54c51199 Fix sudo detection 2017-04-18 01:09:30 +02:00
pancake
8f2e4e4f5d Fix #5283 - In case of no sudo, just tell the user to run the command by hand 2016-08-08 11:47:09 +02:00
pancake
be2df13c2d Check for GNU Make in sys/install.sh for FreeBSD 2016-07-04 14:18:07 +02:00
pancake
a83d9c1827 export MAKE in sys/install.sh 2016-05-03 22:29:56 +02:00
pancake
2a132fe464 sys/install.sh uses /usr/local on OSX. Fixes ElCapitan and pkg-config issues 2015-11-06 17:34:44 +01:00