Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle unpacking when running as root: | Joseph Hunkeler | 2020-06-23 | 1 | -0/+2 |
| | | | | * Check available tar programs and pick one to use | ||||
* | Move SPM_GLOBAL.repo_target string usage out of mirror_clone | Joseph Hunkeler | 2020-06-22 | 1 | -1/+1 |
| | | | | * Assign targets from inside spm.c instead of external manifest/mirror functions | ||||
* | Implement package data emitter | Joseph Hunkeler | 2020-06-08 | 1 | -1/+4 |
| | |||||
* | Remove glob.h reference | Joseph Hunkeler | 2020-06-07 | 1 | -1/+0 |
| | |||||
* | Remove find.{c,h} | Joseph Hunkeler | 2020-06-05 | 3 | -10/+0 |
| | |||||
* | Move find.c functions into fs.c | Joseph Hunkeler | 2020-06-05 | 3 | -5/+2 |
| | |||||
* | Bsdtar (#42) | Joseph Hunkeler | 2020-06-04 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | * Add docker build image * Use bsdtar * Disable ORIGIN * tar is bsdtar * Use absolute rpath * Replace matched path with destroot+libpath * No RPATH recieves a likely default path * Use RPATH not RUNPATH * Add bsdtar to circleci deps * Replace tar references | ||||
* | Refactor fstree (#39) | Joseph Hunkeler | 2020-06-03 | 1 | -4/+9 |
| | | | | | | | | | | | | | | | * 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 | ||||
* | Errors set return value and jump to end of function | Joseph Hunkeler | 2020-05-26 | 1 | -2/+1 |
| | |||||
* | Add strlist_append_file() | Joseph Hunkeler | 2020-05-25 | 1 | -0/+2 |
| | | | | * Add reader_strlist_append_file() as default reader function | ||||
* | Error handler: | Joseph Hunkeler | 2020-05-25 | 1 | -0/+2 |
| | | | | | * Add spm_die() * Add SPM_ERR_FETCH to handle non-package download failures | ||||
* | Move file_readlines function out of mirrors.c | Joseph Hunkeler | 2020-05-25 | 2 | -3/+1 |
| | |||||
* | Use the correct type to support large return by version_from() | Joseph Hunkeler | 2020-05-24 | 1 | -1/+1 |
| | |||||
* | Add version type and functions: | Joseph Hunkeler | 2020-05-24 | 1 | -8/+14 |
| | | | | | | * struct Version * version_{init,read,free} * version_from() now wraps new functions to return a uint64_t | ||||
* | Add string functions: | Joseph Hunkeler | 2020-05-24 | 1 | -0/+2 |
| | | | | | * isdigit_s() * tolower_s() | ||||
* | Rewrite version_from() to be input agnostic | Joseph Hunkeler | 2020-05-21 | 1 | -1/+7 |
| | |||||
* | Add strlist_remove() | Joseph Hunkeler | 2020-05-21 | 1 | -0/+1 |
| | |||||
* | Add missing error_handler.h | Joseph Hunkeler | 2020-05-07 | 1 | -0/+1 |
| | |||||
* | Remove unused md5 header | Joseph Hunkeler | 2020-05-07 | 2 | -2/+0 |
| | |||||
* | Add generic OS_SUPPORTED define | Joseph Hunkeler | 2020-05-01 | 1 | -6/+14 |
| | |||||
* | Use OS_DARWIN, not OS_APPLE | Joseph Hunkeler | 2020-05-01 | 1 | -1/+1 |
| | |||||
* | Add install_name_tool and Darwin specific branches | Joseph Hunkeler | 2020-05-01 | 1 | -0/+1 |
| | |||||
* | Add SPM_ERR_NOT_IMPLEMENTED error type | Joseph Hunkeler | 2020-05-01 | 1 | -0/+1 |
| | |||||
* | refactor shlib_deps_objdump to become a generic objdump-er | Joseph Hunkeler | 2020-04-29 | 1 | -0/+2 |
| | |||||
* | define MAXFLOAT if it is not already | Joseph Hunkeler | 2020-04-28 | 1 | -8/+0 |
| | |||||
* | Handle missing MAXFLOAT | Joseph Hunkeler | 2020-04-28 | 1 | -0/+4 |
| | |||||
* | Improved strlist: | Joseph Hunkeler | 2020-04-28 | 1 | -0/+3 |
| | | | | | | | * Use strto*() functions instead of ato*() * Add _cmp and _copy functions * Removed compare functions * Replaced qsort call with strsort | ||||
* | Consolidate platform detection preprocessor checks | Joseph Hunkeler | 2020-04-24 | 1 | -3/+19 |
| | |||||
* | Add SPM_ERR_PARSE error type | Joseph Hunkeler | 2020-04-24 | 1 | -0/+1 |
| | |||||
* | Add macos specific code | Joseph Hunkeler | 2020-04-24 | 1 | -4/+4 |
| | |||||
* | Properly declare SPM_ERR_STRING global | Joseph Hunkeler | 2020-04-19 | 1 | -13/+1 |
| | |||||
* | Better reporting when a package does not exist | Joseph Hunkeler | 2020-04-19 | 2 | -2/+7 |
| | | | | | | | | * 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 | 2 | -0/+3 |
| | | | | * Die on bad root directory | ||||
* | Add error handler | Joseph Hunkeler | 2020-04-19 | 2 | -0/+35 |
| | |||||
* | spm_mkdtemp requires a base directory: | Joseph Hunkeler | 2020-04-18 | 1 | -1/+1 |
| | | | | * test_spm_mkdtemp revealed a difference in how variables are stored (Linux vs. MacOS) | ||||
* | Merge pull request #22 from jhunkeler/use-compat | Joseph Hunkeler | 2020-04-14 | 3 | -0/+16 |
|\ | | | | | Include protoypes for compat implementations | ||||
| * | Include protoypes for compat implementations | Joseph Hunkeler | 2020-04-11 | 3 | -0/+16 |
| | | |||||
* | | Add functions: | Joseph Hunkeler | 2020-04-14 | 2 | -4/+15 |
|/ | | | | | | | | | | | touch() fslist() * Add type: struct FSList * Consolidate platform specific includes | ||||
* | Test replace_text (#13) | Joseph Hunkeler | 2020-04-06 | 1 | -1/+1 |
| | | | | | | | * Add test boilerplate * Add replace_text test * Redo replace_text | ||||
* | Fix shell command benchmarking | Joseph Hunkeler | 2020-03-30 | 1 | -1/+0 |
| | |||||
* | Add strcmp_array() function | Joseph Hunkeler | 2020-03-28 | 1 | -0/+1 |
| | |||||
* | Add .circleci/config.yml | Joseph Hunkeler | 2020-03-25 | 3 | -8/+7 |
| | |||||
* | Fix bugs uncovered by tests | Joseph Hunkeler | 2020-03-24 | 1 | -1/+6 |
| | |||||
* | doxygen: add missing @file to each header | Joseph Hunkeler | 2020-03-18 | 22 | -0/+66 |
| | |||||
* | Shared library search improvement | Joseph Hunkeler | 2020-03-18 | 1 | -2/+8 |
| | | | | | * Define platform dependent SPM_SHLIB_EXTENSION * rpath_libraries_available() uses SPM_SHLIB_EXTENSION | ||||
* | Fix up reading dependencies from packages | Joseph Hunkeler | 2020-03-17 | 1 | -0/+1 |
| | | | | * Add resolve_free() | ||||
* | Rename PACKAGE_MIN_DELIM and move it to package.h | Joseph Hunkeler | 2020-03-14 | 1 | -0/+1 |
| | |||||
* | Use system utilities to check rpath | Joseph Hunkeler | 2020-03-12 | 1 | -2/+2 |
| | |||||
* | Refactor RPATH creation: | Joseph Hunkeler | 2020-03-07 | 1 | -3/+4 |
| | | | | | | | | * 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 | ||||
* | Add missing headers | Joseph Hunkeler | 2020-03-03 | 1 | -1/+5 |
| |