aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Replace atoi usageJoseph Hunkeler2020-06-243-26/+4
|
* Handle unpacking when running as root:Joseph Hunkeler2020-06-232-3/+54
| | | | * Check available tar programs and pick one to use
* Errors from tar are not always "errors"Joseph Hunkeler2020-06-221-2/+4
|
* Report errors from bsdtarJoseph Hunkeler2020-06-221-0/+4
|
* Move SPM_GLOBAL.repo_target string usage out of mirror_cloneJoseph Hunkeler2020-06-223-29/+59
| | | | * Assign targets from inside spm.c instead of external manifest/mirror functions
* Do not auto-complete manifest endpointJoseph Hunkeler2020-06-081-6/+0
|
* Implement package data emitterJoseph Hunkeler2020-06-081-5/+184
|
* Merge pull request #43 from jhunkeler/dead-codeJoseph Hunkeler2020-06-074-239/+71
|\ | | | | Dead code
| * Remove unused rpath detection/creationJoseph Hunkeler2020-06-071-86/+0
| |
| * Remove find.{c,h}Joseph Hunkeler2020-06-052-6/+0
| |
| * Move find.c functions into fs.cJoseph Hunkeler2020-06-052-147/+71
| |
* | Finalize flagsJoseph Hunkeler2020-06-071-5/+18
| |
* | Improve mkmanifest interface:Joseph Hunkeler2020-06-071-24/+82
| | | | | | | | | | | | * Accept -p|--platform argument * Fall back to SPMGLOBAL if no platform is defined * Accept multiple manifest paths, and targets
* | Remove invalid escape characterJoseph Hunkeler2020-06-071-5/+3
| |
* | Use bsdtar instead of tar (#44)Joseph Hunkeler2020-06-051-2/+2
|/
* Bsdtar (#42)Joseph Hunkeler2020-06-044-14/+46
| | | | | | | | | | | | | | | | | | | | | * 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
* Use correct struct member (#41)Joseph Hunkeler2020-06-031-1/+1
|
* Refactor fstree (#39)Joseph Hunkeler2020-06-035-97/+133
| | | | | | | | | | | | | | | * 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
* file_readlines now accepts STDIN (filename = "-")Joseph Hunkeler2020-05-261-7/+22
|
* Errors set return value and jump to end of functionJoseph Hunkeler2020-05-261-31/+35
|
* NevermindJoseph Hunkeler2020-05-261-0/+1
|
* Make a copy of the pathJoseph Hunkeler2020-05-261-2/+9
|
* Add strlist_append_file()Joseph Hunkeler2020-05-251-10/+94
| | | | * Add reader_strlist_append_file() as default reader function
* readlines() return NULL array instead of array with a blank string.Joseph Hunkeler2020-05-251-1/+0
|
* Error handler:Joseph Hunkeler2020-05-251-0/+5
| | | | | * Add spm_die() * Add SPM_ERR_FETCH to handle non-package download failures
* Implement -F|--from-file argumentJoseph Hunkeler2020-05-251-6/+10
|
* Move file_readlines function out of mirrors.cJoseph Hunkeler2020-05-252-81/+83
|
* Use the correct type to support large return by version_from()Joseph Hunkeler2020-05-241-7/+7
|
* Fix leakJoseph Hunkeler2020-05-241-0/+1
|
* Add version type and functions:Joseph Hunkeler2020-05-241-304/+103
| | | | | | * 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/+27
| | | | | * isdigit_s() * tolower_s()
* Handle DarwinJoseph Hunkeler2020-05-211-12/+40
|
* Rewrite version_from() to be input agnosticJoseph Hunkeler2020-05-211-7/+137
|
* Add strlist_remove()Joseph Hunkeler2020-05-211-0/+22
|
* Use pkg-configJoseph Hunkeler2020-05-071-1/+4
|
* Adjust compilation flags for DarwinJoseph Hunkeler2020-05-061-2/+7
|
* Add TODO itemJoseph Hunkeler2020-05-061-0/+1
|
* Add install_name_tool and Darwin specific branchesJoseph Hunkeler2020-05-011-3/+22
|
* Add SPM_ERR_NOT_IMPLEMENTED error typeJoseph Hunkeler2020-05-011-0/+1
|
* Fix typoJoseph Hunkeler2020-04-291-1/+1
|
* Add install_name_toolJoseph Hunkeler2020-04-291-57/+38
| | | | * Begin refactoring to support macos more easily
* refactor shlib_deps_objdump to become a generic objdump-erJoseph Hunkeler2020-04-291-4/+87
|
* Fix formatter bugJoseph Hunkeler2020-04-281-1/+1
|
* Remove TODOJoseph Hunkeler2020-04-281-1/+0
|
* Improved strlist:Joseph Hunkeler2020-04-281-59/+54
| | | | | | | * 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-245-7/+8
|
* Add macos specific codeJoseph Hunkeler2020-04-241-11/+73
|
* Handle NULL reasonJoseph Hunkeler2020-04-211-3/+9
|
* Empty manifests are OK hereJoseph Hunkeler2020-04-201-5/+0
|
* hmmJoseph Hunkeler2020-04-191-2/+2
|