aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Handle unpacking when running as root:Joseph Hunkeler2020-06-231-0/+2
| | | | * Check available tar programs and pick one to use
* Move SPM_GLOBAL.repo_target string usage out of mirror_cloneJoseph Hunkeler2020-06-221-1/+1
| | | | * Assign targets from inside spm.c instead of external manifest/mirror functions
* Implement package data emitterJoseph Hunkeler2020-06-081-1/+4
|
* Remove glob.h referenceJoseph Hunkeler2020-06-071-1/+0
|
* Remove find.{c,h}Joseph Hunkeler2020-06-053-10/+0
|
* Move find.c functions into fs.cJoseph Hunkeler2020-06-053-5/+2
|
* Bsdtar (#42)Joseph Hunkeler2020-06-041-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 Hunkeler2020-06-031-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 functionJoseph Hunkeler2020-05-261-2/+1
|
* Add strlist_append_file()Joseph Hunkeler2020-05-251-0/+2
| | | | * Add reader_strlist_append_file() as default reader function
* Error handler:Joseph Hunkeler2020-05-251-0/+2
| | | | | * Add spm_die() * Add SPM_ERR_FETCH to handle non-package download failures
* Move file_readlines function out of mirrors.cJoseph Hunkeler2020-05-252-3/+1
|
* Use the correct type to support large return by version_from()Joseph Hunkeler2020-05-241-1/+1
|
* Add version type and functions:Joseph Hunkeler2020-05-241-8/+14
| | | | | | * struct Version * version_{init,read,free} * version_from() now wraps new functions to return a uint64_t
* Add string functions:Joseph Hunkeler2020-05-241-0/+2
| | | | | * isdigit_s() * tolower_s()
* Rewrite version_from() to be input agnosticJoseph Hunkeler2020-05-211-1/+7
|
* Add strlist_remove()Joseph Hunkeler2020-05-211-0/+1
|
* Add missing error_handler.hJoseph Hunkeler2020-05-071-0/+1
|
* Remove unused md5 headerJoseph Hunkeler2020-05-072-2/+0
|
* Add generic OS_SUPPORTED defineJoseph Hunkeler2020-05-011-6/+14
|
* Use OS_DARWIN, not OS_APPLEJoseph Hunkeler2020-05-011-1/+1
|
* Add install_name_tool and Darwin specific branchesJoseph Hunkeler2020-05-011-0/+1
|
* Add SPM_ERR_NOT_IMPLEMENTED error typeJoseph Hunkeler2020-05-011-0/+1
|
* refactor shlib_deps_objdump to become a generic objdump-erJoseph Hunkeler2020-04-291-0/+2
|
* define MAXFLOAT if it is not alreadyJoseph Hunkeler2020-04-281-8/+0
|
* Handle missing MAXFLOATJoseph Hunkeler2020-04-281-0/+4
|
* Improved strlist:Joseph Hunkeler2020-04-281-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 checksJoseph Hunkeler2020-04-241-3/+19
|
* Add SPM_ERR_PARSE error typeJoseph Hunkeler2020-04-241-0/+1
|
* Add macos specific codeJoseph Hunkeler2020-04-241-4/+4
|
* Properly declare SPM_ERR_STRING globalJoseph Hunkeler2020-04-191-13/+1
|
* Better reporting when a package does not existJoseph Hunkeler2020-04-192-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 handlingJoseph Hunkeler2020-04-192-0/+3
| | | | * Die on bad root directory
* Add error handlerJoseph Hunkeler2020-04-192-0/+35
|
* spm_mkdtemp requires a base directory:Joseph Hunkeler2020-04-181-1/+1
| | | | * test_spm_mkdtemp revealed a difference in how variables are stored (Linux vs. MacOS)
* Merge pull request #22 from jhunkeler/use-compatJoseph Hunkeler2020-04-143-0/+16
|\ | | | | Include protoypes for compat implementations
| * Include protoypes for compat implementationsJoseph Hunkeler2020-04-113-0/+16
| |
* | Add functions:Joseph Hunkeler2020-04-142-4/+15
|/ | | | | | | | | | | touch() fslist() * Add type: struct FSList * Consolidate platform specific includes
* Test replace_text (#13)Joseph Hunkeler2020-04-061-1/+1
| | | | | | | * Add test boilerplate * Add replace_text test * Redo replace_text
* Fix shell command benchmarkingJoseph Hunkeler2020-03-301-1/+0
|
* Add strcmp_array() functionJoseph Hunkeler2020-03-281-0/+1
|
* Add .circleci/config.ymlJoseph Hunkeler2020-03-253-8/+7
|
* Fix bugs uncovered by testsJoseph Hunkeler2020-03-241-1/+6
|
* doxygen: add missing @file to each headerJoseph Hunkeler2020-03-1822-0/+66
|
* Shared library search improvementJoseph Hunkeler2020-03-181-2/+8
| | | | | * Define platform dependent SPM_SHLIB_EXTENSION * rpath_libraries_available() uses SPM_SHLIB_EXTENSION
* Fix up reading dependencies from packagesJoseph Hunkeler2020-03-171-0/+1
| | | | * Add resolve_free()
* Rename PACKAGE_MIN_DELIM and move it to package.hJoseph Hunkeler2020-03-141-0/+1
|
* Use system utilities to check rpathJoseph Hunkeler2020-03-121-2/+2
|
* Refactor RPATH creation:Joseph Hunkeler2020-03-071-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 headersJoseph Hunkeler2020-03-031-1/+5
|