Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Simplify manifest_package_separator_swap function | Joseph Hunkeler | 2020-03-13 | 1 | -9/+11 | |
| | ||||||
* | Terminate string after moving contents | Joseph Hunkeler | 2020-03-12 | 1 | -0/+1 | |
| | ||||||
* | Throw a warning if a package requirement isn't discoverable | Joseph Hunkeler | 2020-03-12 | 1 | -0/+1 | |
| | ||||||
* | Use system utilities to check rpath | Joseph Hunkeler | 2020-03-12 | 2 | -3/+3 | |
| | ||||||
* | Dereference hardlinks in packages | Joseph Hunkeler | 2020-03-11 | 1 | -1/+1 | |
| | ||||||
* | Relocate files as we go, for now. | Joseph Hunkeler | 2020-03-11 | 1 | -3/+4 | |
| | ||||||
* | Remove random "$" from LD_LIBRARY_PATH | Joseph Hunkeler | 2020-03-10 | 1 | -1/+2 | |
| | | | | * Add LD_RUN_PATH | |||||
* | Improvements | Joseph Hunkeler | 2020-03-10 | 1 | -2/+16 | |
| | | | | | | | * Add SPM_LIB64 and ACLOCAL_PATH to mkruntime_interface * Add more search paths to PKG_CONFIG_PATH * Add existence check to rpath_autoset_interface * Fix rpath_autoset_interface_usage output | |||||
* | Fix stupid off-by-one bug and remove unnecessary code to calculate an offset | Joseph Hunkeler | 2020-03-10 | 1 | -11/+4 | |
| | ||||||
* | Just duplicate argv[0] | Joseph Hunkeler | 2020-03-10 | 1 | -1/+1 | |
| | ||||||
* | Fix interpreting environment variables encapsulated with braces | Joseph Hunkeler | 2020-03-08 | 1 | -7/+15 | |
| | ||||||
* | Refactor RPATH creation: | Joseph Hunkeler | 2020-03-07 | 5 | -105/+108 | |
| | | | | | | | | * Decreased complexity * Most rpath_* functions accept a FSTree structure now * Fewer calls to chdir() overall * Deeply nested libraries are detected * Libraries are no longer confined to lib/ and /lib64 | |||||
* | Bugfix: FSTree.root should always contain an absolute path | Joseph Hunkeler | 2020-03-07 | 1 | -3/+13 | |
| | ||||||
* | Bugfix: Fix potential overrun by strlist_count | Joseph Hunkeler | 2020-03-07 | 1 | -0/+1 | |
| | ||||||
* | Add lib64 to LD_LIBRARY_PATH | Joseph Hunkeler | 2020-03-05 | 1 | -1/+1 | |
| | ||||||
* | Oh the multilib is killing me | Joseph Hunkeler | 2020-03-04 | 4 | -5/+32 | |
| | ||||||
* | spmbuild all SPM calls use --yes | Joseph Hunkeler | 2020-03-04 | 1 | -10/+10 | |
| | ||||||
* | Use the POSIX invocation of the `file` command | Joseph Hunkeler | 2020-03-03 | 1 | -7/+20 | |
| | | | | | * Trap general error string (there's probably more of them) * Report failures and actually fail out. | |||||
* | Use package_target as input to mkmanifest | Joseph Hunkeler | 2020-03-03 | 1 | -1/+1 | |
| | ||||||
* | Ensure the target directory exists | Joseph Hunkeler | 2020-03-03 | 1 | -1/+6 | |
| | ||||||
* | Stop execution when SHELL is undefined | Joseph Hunkeler | 2020-03-03 | 1 | -0/+6 | |
| | ||||||
* | Add missing headers | Joseph Hunkeler | 2020-03-03 | 1 | -1/+5 | |
| | ||||||
* | Update README.md | Joseph Hunkeler | 2020-03-03 | 1 | -23/+21 | |
| | ||||||
* | Add "objdump" to list of requirements | Joseph Hunkeler | 2020-03-03 | 1 | -0/+1 | |
| | | | | * I'll get around to implementing support for `otool` eventually. | |||||
* | Improvements: | Joseph Hunkeler | 2020-03-03 | 1 | -2/+11 | |
| | | | | | * Add a default package location (URL will change some day) * SPM_ROOT environment variable can change the default root from ~/spm_root to whatever you want | |||||
* | Use strdup() instead | Joseph Hunkeler | 2020-03-03 | 1 | -2/+1 | |
| | ||||||
* | Bug fixes: | Joseph Hunkeler | 2020-03-03 | 1 | -6/+9 | |
| | | | | | | | | * Allocate argv array with a character pointer, not just a byte (whoops) * Removed unneeded cast * Allocate enough memory for the output string * free() argv's resources * [l]strip() now strips blanks AND whitespaces from strings | |||||
* | Do not force user to have a mirrorlist configuration | Joseph Hunkeler | 2020-03-03 | 1 | -2/+17 | |
| | ||||||
* | Check for error when opening path_manifest | Joseph Hunkeler | 2020-03-03 | 1 | -1/+5 | |
| | ||||||
* | Add missing LF in usage | Joseph Hunkeler | 2020-03-03 | 1 | -1/+1 | |
| | ||||||
* | Bug fixes: | Joseph Hunkeler | 2020-03-03 | 1 | -7/+20 | |
| | | | | | | | | | | * Use strdup() instead of join() for records_topdir * Check for and die if packages do not exist in manifests, or on local disk * realloc() the length of the payload string (instead of strlen() on an integer... whoops) * Fix num_requirements not producing the correct value * ManifestPackage `origin` does not need repo_target anymore * Copy packages from non-default package storage directories to the main local package store * | |||||
* | Begin consolidating paths (manifests and temp directories) | Joseph Hunkeler | 2020-03-02 | 5 | -41/+40 | |
| | ||||||
* | Refactor startswith() and endswidth() usage | Joseph Hunkeler | 2020-03-02 | 6 | -10/+17 | |
| | ||||||
* | Simplify startswith() and endswidth() calls to avoid looking at API | Joseph Hunkeler | 2020-03-02 | 1 | -7/+7 | |
| | ||||||
* | Trying to iron out a few manifest pathing issues | Joseph Hunkeler | 2020-02-28 | 4 | -60/+132 | |
| | ||||||
* | Improvements: | Joseph Hunkeler | 2020-02-28 | 14 | -93/+284 | |
| | | | | | | | | * Refactored a few function names * Can read package metadata * Can delete packages * Can download! and install packages at the same time * Can prompt the user before proceeding | |||||
* | Fix off-by-one error in config parser | Joseph Hunkeler | 2020-02-28 | 1 | -14/+29 | |
| | ||||||
* | Add join_ex() [simplified join() function] | Joseph Hunkeler | 2020-02-28 | 2 | -0/+60 | |
| | ||||||
* | Multiple things: | Joseph Hunkeler | 2020-02-26 | 15 | -79/+356 | |
| | | | | | | | | * Add strdup_array() * Begin consolidating spm root information into SPM_Hierarchy * Begin consolidating metadata * Begin trimming repeated code (mostly file reading) * Store information about installed packages under [root]/var/db/records | |||||
* | Refactor: | Joseph Hunkeler | 2020-02-25 | 1 | -60/+42 | |
| | | | | | | | * Move installation code out * Refactor spm_* variable names * Add missing arguments to usage * Add --yes (-y) argument to disable interactive prompts | |||||
* | Fix invalid array access on short strings | Joseph Hunkeler | 2020-02-25 | 1 | -3/+9 | |
| | ||||||
* | Break out of scanning loop when a match is discovered | Joseph Hunkeler | 2020-02-25 | 1 | -1/+2 | |
| | ||||||
* | Free ManifestPackage variables | Joseph Hunkeler | 2020-02-25 | 1 | -1/+4 | |
| | ||||||
* | Use user_input.h header | Joseph Hunkeler | 2020-02-25 | 1 | -0/+1 | |
| | ||||||
* | Refactor spm_* directory names: | Joseph Hunkeler | 2020-02-25 | 1 | -20/+23 | |
| | | | | * Add spm_pkgconfigdir | |||||
* | Refactor installation: | Joseph Hunkeler | 2020-02-25 | 2 | -38/+171 | |
| | | | | | | | | * install() accepts a temporary directory as an argument * Add install_package_record() * Add is_installed() * Add do_install() wrapper * Use spm_user_yesno() before installation | |||||
* | Remove unused stub function | Joseph Hunkeler | 2020-02-25 | 1 | -4/+0 | |
| | ||||||
* | Add spm_mkdtemp() function | Joseph Hunkeler | 2020-02-25 | 2 | -1/+19 | |
| | ||||||
* | Implement prompt_user flag | Joseph Hunkeler | 2020-02-25 | 2 | -0/+2 | |
| | ||||||
* | Add user_input.c to cmake | Joseph Hunkeler | 2020-02-25 | 1 | -2/+2 | |
| |