Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move SPM_GLOBAL.repo_target string usage out of mirror_clone | Joseph Hunkeler | 2020-06-22 | 1 | -2/+8 |
| | | | | * Assign targets from inside spm.c instead of external manifest/mirror functions | ||||
* | Streamline list and search feature | Joseph Hunkeler | 2020-06-08 | 1 | -58/+14 |
| | |||||
* | Refactor fstree (#39) | Joseph Hunkeler | 2020-06-03 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | * Refactor fstree, fstree_free, FSTree type * Add FSRec structure * Refactor fstree usage * Decrease starting size of FSTree structure * Check if ManifestPackage is NULL, not if the requirements array if NULL * Use num_requirements instead of '!= NULL' * Add fstree test | ||||
* | Less than zero is an error. Greater than zero means no-data | Joseph Hunkeler | 2020-05-26 | 1 | -1/+1 |
| | |||||
* | Make program_name global | Joseph Hunkeler | 2020-05-26 | 1 | -35/+25 |
| | |||||
* | Implement -F|--from-file argument | Joseph Hunkeler | 2020-05-25 | 1 | -0/+42 |
| | |||||
* | Leave a commented reference to my scratch executable. Tired of rewriting it ↵ | Joseph Hunkeler | 2020-05-24 | 1 | -0/+8 |
| | | | | constantly. | ||||
* | Add newline | Joseph Hunkeler | 2020-05-21 | 1 | -0/+1 |
| | |||||
* | Use pkg-config | Joseph Hunkeler | 2020-05-07 | 1 | -1/+4 |
| | |||||
* | Better reporting when a package does not exist | Joseph Hunkeler | 2020-04-19 | 1 | -0/+1 |
| | | | | | | | | * Add additional errors * Fix user_input function missing an error return value * spmbuild sources a temporary file instead of output from a sub-shell * Fix indentation problem * A reason can be attached to spmerrno using spmerrno_cause() | ||||
* | Implement error handling | Joseph Hunkeler | 2020-04-19 | 1 | -1/+11 |
| | | | | * Die on bad root directory | ||||
* | Update README.md and usage | Joseph Hunkeler | 2020-04-10 | 1 | -1/+1 |
| | |||||
* | Enable remove mode | Joseph Hunkeler | 2020-04-01 | 1 | -0/+1 |
| | |||||
* | Refactor project: build/install libspm[_static.a].so to make unit testing ↵ | Joseph Hunkeler | 2020-03-18 | 27 | -7090/+2 |
| | | | | possible | ||||
* | Shared library search improvement | Joseph Hunkeler | 2020-03-18 | 1 | -2/+1 |
| | | | | | * Define platform dependent SPM_SHLIB_EXTENSION * rpath_libraries_available() uses SPM_SHLIB_EXTENSION | ||||
* | Increased verbosity shows shell execution | Joseph Hunkeler | 2020-03-18 | 1 | -1/+8 |
| | |||||
* | Move package check to the end (again) | Joseph Hunkeler | 2020-03-18 | 1 | -5/+6 |
| | |||||
* | Assign default RPATHs when auto-generated string is empty | Joseph Hunkeler | 2020-03-18 | 1 | -0/+15 |
| | | | | * Increased verbosity shows shell execution | ||||
* | Multiple -v|--verbose arguments increase verbosity | Joseph Hunkeler | 2020-03-18 | 1 | -3/+3 |
| | |||||
* | Missing packages are failures | Joseph Hunkeler | 2020-03-17 | 1 | -11/+7 |
| | | | | * Remove accidental req_i++ (resulted in duplicate array records) | ||||
* | 'if' statement formatting | Joseph Hunkeler | 2020-03-17 | 1 | -2/+2 |
| | | | | * Added a bugged call to resolve_free() (unused) | ||||
* | spm_install_show_package() increased whitespace from 10 to 20 | Joseph Hunkeler | 2020-03-17 | 1 | -14/+1 |
| | | | | * Do not inject requirements after resolving dependencies. The original package and its requirements are already in there. | ||||
* | Fix leak | Joseph Hunkeler | 2020-03-17 | 1 | -0/+2 |
| | |||||
* | strlist_set() accepts NULL value | Joseph Hunkeler | 2020-03-17 | 1 | -6/+11 |
| | |||||
* | Fix endswith() not working correctly | Joseph Hunkeler | 2020-03-17 | 1 | -3/+16 |
| | |||||
* | Cleanup: | Joseph Hunkeler | 2020-03-17 | 1 | -12/+68 |
| | | | | | | * Add get_name() and get_operator() helper functions * Always select the last manifest to return a match * Free strspec | ||||
* | Fix up reading dependencies from packages | Joseph Hunkeler | 2020-03-17 | 1 | -4/+21 |
| | | | | * Add resolve_free() | ||||
* | Allow names with hyphens | Joseph Hunkeler | 2020-03-14 | 1 | -4/+7 |
| | |||||
* | Rename PACKAGE_MIN_DELIM and move it to package.h | Joseph Hunkeler | 2020-03-14 | 1 | -2/+1 |
| | |||||
* | Add error checking and fix processing small patterns in replace_text() | Joseph Hunkeler | 2020-03-13 | 1 | -3/+11 |
| | |||||
* | 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 | 1 | -1/+1 |
| | |||||
* | Relocate files as we go, for now. | Joseph Hunkeler | 2020-03-11 | 1 | -3/+4 |
| | |||||
* | 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 | 4 | -102/+104 |
| | | | | | | | | * 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 |
| | |||||
* | Oh the multilib is killing me | Joseph Hunkeler | 2020-03-04 | 3 | -4/+24 |
| | |||||
* | 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. | ||||
* | Stop execution when SHELL is undefined | Joseph Hunkeler | 2020-03-03 | 1 | -0/+6 |
| | |||||
* | 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 |
| |