844 Commits

Author SHA1 Message Date
Satadru Pramanik
52f98685ee Fix ESSENTIAL_PACKAGES algorithm, and update zstd packages to 1.5.2, fix armv7l musl_zstd package (#6705) 2022-02-03 23:45:52 -06:00
Satadru Pramanik
95b3d99847 add rsync files to essential files (#6704) 2022-02-03 20:45:24 -06:00
Satadru Pramanik
3daee683b3 crew: use zstd (#6703)
* Initial .zst support

* initial zstd changes

* reverse tar version condition

* Change extension to .tar.zst

* Add verbosity, use nice for zstd

* add tar to core

* Add tar to buildessential

* Add tar to bootstrap packages

* Add musl tar with zstd support

* add error for old tar on system

* Add zst support to gl.sh, add update of rust in zst package format

* Add check for zstd before decompressing .zst files

* change new tar dependency to i686 only

* add more musl fixes

* add musl paths to tar cmd

* Add musl_zstd update with libc

* add musl path to install path

* add zst to strip_dir

* Add spaces to gl.sh

* remove extraneous no_zstd
2022-02-03 19:03:52 -06:00
Satadru Pramanik
e492f28081 patchelf option during package creation, revamp of boolean symbol processing (#6661)
* initial commit of using patchelf during package creation

* requested changes

* simplify symbols

* suggested change

* switch sh to bash + suggested changes

* WIP changes to elf detection and property detection

* make boolean symbols dynamic in package.rb

* remove some debug code

* report file being patched when libraries are not found

* Add rubocop cleanups

* crew rubocop adjustments

* remove debug code

* bump version

* add is_musl? musl.rb loading

* suggested changes

* requested change
2022-02-03 08:12:58 -06:00
Ed Reel
cea13eff9f Add reload_constants command (#6686) 2022-01-29 16:31:15 -05:00
supechicken
bd02980d15 crew: Replace binutils/ar with a new library (#6642)
* Create deb_utils.rb

* Update crew

* Update core.rb

* Update const.rb

* Update deb_utils.rb

* Wrap as a module

Co-authored-by: Ed Reel <edreel@gmail.com>
2022-01-22 02:50:18 -06:00
supechicken
8132c60dbc install.sh: Add rsync as a core package (#6621)
* Update crew

* Update crew

* Bump version

* Update crew

* Update crew

* Update crew

* Update crew

* Update crew

* Update install.sh

* Update install.sh

* Update install.sh

* Update crew

* Update install.sh

* Update crew

* Update install.sh

* Update crew
2022-01-21 11:20:28 -05:00
Satadru Pramanik
add30dd4a6 Add git_fetchtags, simplify (.nil? or .empty?) to .to_s.empty? (#6640)
* Add git_fetchtags, simplify (.nil? or .empty?) to .to_s.empty?

* bump version

* remove duplicate check of @pkg.git_branch.to_s.empty?
2022-01-21 10:34:28 +08:00
Satadru Pramanik
d81744d909 Suggested musl.rb changes from @supechicken (#6638) 2022-01-20 15:39:13 -06:00
Satadru Pramanik
1c7204fa89 New musl toolchain w/ static git, curl, lzip (and gcc11 rebuilds to fix brokenness on i686) (#6431)
* Musl revamp

* Cleanup Musl Packages

* fixup musl_libnghttp2

* fixup musl_libucontext
2022-01-20 11:48:59 -06:00
supechicken
5328831085 package.rb: Don't involve a shell when the command is passed in multi parameters (#6636)
* Update package.rb

* Update const.rb

* Update package.rb

* Update package.rb

* Update package.rb

* Update package.rb

* Update package.rb

* Update package.rb

* Update package.rb

* Update package.rb

* Update package.rb
2022-01-20 11:03:04 -05:00
Satadru Pramanik
f8fb32ca4f change logic for setting booleans from env variables (#6635) 2022-01-19 21:00:41 -06:00
Satadru Pramanik
22aea2a1f3 make env variables used by crew mostly booleans (#6634) 2022-01-19 15:24:02 -06:00
Satadru Pramanik
7656bf1642 crew: show env hash expanded when showing Kernel.system errors (#6577) 2022-01-10 22:27:44 +08:00
Satadru Pramanik
0509fc9a6d crew: add CREW_DISABLE_ENV_OPTION option (#6576)
* crew: add CREW_NO_ADD_ENV_TO_MAKE option

* Change env variable

* make suggested changes
2022-01-10 08:09:47 -06:00
Satadru Pramanik
2a03fa9dae Crew: make update of device.json atomic and resilient to running out of disk space. (#6569) 2022-01-06 21:48:09 -06:00
Satadru Pramanik
0309f0111d crew downloader: set terminal dimensions fallback using integers, fix lto cmake variable (#6566)
* set terminal default size with integers

* bump version

* Update const.rb
2022-01-06 18:50:19 -06:00
Satadru Pramanik
146c6e39c6 crew: rescue downloads in non-interactive terminals (#6565) 2022-01-06 17:33:40 -06:00
Satadru Pramanik
016cfdd99e Crew: use faster ruby resolv-replace resolver (#6559)
* Crew: use faster ruby resolv-replace resolver

* Suggested changes
2022-01-06 15:29:35 -06:00
Cassandra Watergate
c48385288a Fix git_hashtags with a / character (#6562)
* fix git_hashtags with / character

* bump version
2022-01-07 00:01:33 +08:00
Satadru Pramanik
58417c28de Fix '-j#' regex addition by excluding lines w/ cmake (#6555)
* Fix '-j#' regex addition by excluding lines w/ cmake

* bump version
2022-01-05 09:32:08 -06:00
supechicken
cd79481e89 package.rb: Use a function to create function placeholders (#6544)
* Update package.rb

* Update package_helpers.rb

* Update package.rb

* Update package_helpers.rb

* Update package_helpers.rb

* Update package.rb

* Update const.rb

* Update package.rb
2022-01-04 23:42:15 -05:00
Satadru Pramanik
9f734e8dd4 crew: Breakout .la renames as optional (#6551)
* crew: Make renaming .la files optional during builds

* add CREW_LA_RENAME_ENABLED to const.rb
2022-01-04 12:18:58 -06:00
Ed Reel
d7603d1389 Add postbuild function to crew (#6549) 2022-01-02 09:19:06 -05:00
Satadru Pramanik
d9a41ab108 Escape some bash special characters being passed to bash via system. (#6543) 2021-12-30 10:30:14 -06:00
supechicken
0b29bab4a2 downloader.rb: add file:// protocol support, fallback to curl when the protocol is not http(s):///file:// (#6520)
* Update downloader.rb

* Update const.rb
2021-12-30 02:01:21 -06:00
Satadru Pramanik
ce35b43ae5 Fix build errors (#6540) 2021-12-29 22:22:04 -06:00
supechicken
72c2d791b9 package.rb: Accept environment variables and options in system function (#6538)
* system (#4)

* Update const.rb

* Update package.rb

* Update package.rb

* Bump version

Co-authored-by: Cassandra Watergate <55339220+saltedcoffii@users.noreply.github.com>
2021-12-29 12:31:01 -06:00
Ed Reel
94bfb9a996 Revert #6495 (#6537) 2021-12-29 07:14:45 -05:00
Cassandra Watergate
0c5264a193 Upgrade some gnu packages (#6524)
* add fno_lto options to const.rb

* libsigsev => 2.13

* bison => 3.8.2

* texinfo => 6.8

* mailutils => 3.13

* gnuchess => 6.2.9

* notice and yellow

* mailutils: tcp-wrappers configuration

* sed => 4.8-1 (use LTO)

* add binaries

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2021-12-28 15:46:15 -05:00
supechicken
57ce765d2b package.rb: Accept environment variables and options in system function (#6495)
* system (#4)

* Update const.rb

* Update package.rb

Co-authored-by: Cassandra Watergate <55339220+saltedcoffii@users.noreply.github.com>
2021-12-26 16:43:43 -05:00
supechicken
8fc7b84aac Add a downloader based on the net/http library (#6491)
* Use net http (#3)

* Add user agent header

* Update crew

* Update downloader.rb

* Update const.rb

* Fix const.rb crash.

Co-authored-by: Satadru Pramanik <satadru@umich.edu>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2021-12-23 21:53:50 -06:00
Satadru Pramanik
db1a337e64 Add fallback during install if rsync is not working (#6514) 2021-12-21 13:00:04 -06:00
Satadru Pramanik
a59fdbcab2 crew: use rsync for install locally in lieu of tar (#6490)
* crew: use rsync for install locally in lieu of tar

* file path logic required chomping
2021-12-21 11:51:28 -06:00
Satadru Pramanik
23ec8fc3b4 Keep crew from breaking when a package file for an installed package disappears. (#6471) 2021-12-09 16:20:34 -06:00
Satadru Pramanik
70a3d128d0 bump version 2021-12-08 17:47:05 -05:00
Satadru Pramanik
ba200fb7eb Add CREW_MUSL_PREFIX const (#6430)
* Add CREW_MUSL_PREFIX const

* add dest prefix
2021-12-03 21:42:15 -06:00
supechicken
02d4b1b9df crew: Add autoremove command (#6273)
* Update package.rb
* Update README.md
* Bump minor version

Co-authored-by: Cassandra Watergate <55339220+saltedcoffii@users.noreply.github.com>
2021-11-29 18:06:52 -06:00
Satadru Pramanik
b932de1642 crew: fix typo (missing ?) (#6380) 2021-11-09 21:39:10 +08:00
Satadru Pramanik
af5036e68f Crew cache git granularity (#6379)
* Adjust git cachefile name to reflect branch commit if specified

* bump version
2021-11-08 13:41:47 -06:00
Satadru Pramanik
970e87726b crew: Adjust logic for branch/tag source_url, don't cache .git folders (#6375)
* crew: Simplify logic for branch/tag source_url, don't cache .git folders

* bump version
2021-11-07 22:56:29 -06:00
Satadru Pramanik
4c343ef324 const.rb: readd Db_lto=false to CREW_MESON_FNO_LTO_OPTIONS (#6363) 2021-11-05 17:12:04 -05:00
supechicken
b0e421733e const.rb: Use chomp to delete newlines instead of backslashs (#6361)
* Update const.rb and use chomp to delete newlines instead of backslashes
2021-11-05 15:28:09 -05:00
Satadru Pramanik
442d4f971c crew add verbose error with missing package dependencies (#6353)
* crew add verbose error with missing package dependencies

* bump version

* suggested changes
2021-11-01 13:40:29 -05:00
Satadru Pramanik
b2baa2b4a2 Appropriately print no package error when crew is passed a non-existing package (#6332)
* move no package error in crew

* bump version
2021-10-24 17:23:35 -05:00
Satadru Pramanik
f76626ed92 Switch upx to just use lzma to speed up builds (#6313) 2021-10-18 10:38:34 -05:00
Ed Reel
1d75a6e4d2 Fix LIBC_VERSION constant (#6308)
* Fix LIBC_VERSION constant

* Bump version

* Simplify regex
2021-10-18 08:37:45 -04:00
supechicken
a37fc5bccf Fix crew upgrade (#6305)
* Update crew

* Update const.rb
2021-10-15 22:49:36 -05:00
Cassandra Watergate
ae6f07d7cc Remove newlines from some lib/const.rb variables (#6301)
* remove newlines from some lib/const.rb variables

* bump crew version

* Remove chomp, add //
2021-10-14 20:38:24 -05:00
supechicken
c5a29441be Update const.rb (#6299) 2021-10-14 14:09:36 -04:00