aboutsummaryrefslogtreecommitdiff
path: root/include/spm.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused md5 headerJoseph Hunkeler2020-05-071-1/+0
|
* Add generic OS_SUPPORTED defineJoseph Hunkeler2020-05-011-6/+14
|
* Consolidate platform detection preprocessor checksJoseph Hunkeler2020-04-241-3/+19
|
* Better reporting when a package does not existJoseph Hunkeler2020-04-191-2/+2
| | | | | | | | * 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()
* Add error handlerJoseph Hunkeler2020-04-191-0/+1
|
* Merge pull request #22 from jhunkeler/use-compatJoseph Hunkeler2020-04-141-0/+1
|\ | | | | Include protoypes for compat implementations
| * Include protoypes for compat implementationsJoseph Hunkeler2020-04-111-0/+1
| |
* | Add functions:Joseph Hunkeler2020-04-141-3/+4
|/ | | | | | | | | | | touch() fslist() * Add type: struct FSList * Consolidate platform specific includes
* Add .circleci/config.ymlJoseph Hunkeler2020-03-251-1/+0
|
* Improvements:Joseph Hunkeler2020-02-281-0/+1
| | | | | | | | * 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
* Multiple things:Joseph Hunkeler2020-02-261-0/+1
| | | | | | | | * 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
* Use user_input.h headerJoseph Hunkeler2020-02-251-0/+1
|
* Remove reference to deps.hJoseph Hunkeler2020-02-241-1/+0
|
* Use package.h and resolve.hJoseph Hunkeler2020-02-241-1/+2
|
* Metadata:Joseph Hunkeler2020-02-201-1/+2
| | | | | | | * Add .SPM_FILELIST * Add .SPM_DESCRIPTOR * Add generators for both to spmbuild Add new metadata to runtime and arrays
* Allow compilation on OSX. Not much else I assumeJoseph Hunkeler2020-02-181-0/+5
|
* Begin refactoring to support multiple manifests:Joseph Hunkeler2020-02-131-0/+4
| | | | | * Add more commands useful for building packages * Fix mkmanifest_interface not looking for the correct number of arguments
* Refactor project structure:Joseph Hunkeler2020-02-111-282/+18
| | | | | * Move prototypes and definitions to respective header files * Renamed strings.h to str.h to avoid collision with standard library header
* Add relocate_auto()Joseph Hunkeler2020-02-101-0/+1
| | | | * Move relocation code out of install()
* Include shlib.hJoseph Hunkeler2020-02-071-0/+1
|
* Add normalize_spaceJoseph Hunkeler2020-02-051-0/+1
|
* Update prototype changesJoseph Hunkeler2020-02-041-5/+6
|
* Fix more memory leaks:Joseph Hunkeler2020-01-281-0/+2
| | | | | Add ability to free ManifestPackage structure Fix bug: manifest_search pointer got free()ed accidentally.
* Bug fixes:Joseph Hunkeler2020-01-271-2/+5
| | | | | | * Fix buffer overflow issue with SHA256 buffer * Add missing origin to manifest * Fix missing manifest download
* Fix some buffer overflows, add a few moreJoseph Hunkeler2020-01-271-3/+13
|
* Begin hooking up version spec function(s) to installationJoseph Hunkeler2020-01-241-0/+5
|
* fstree() now accepts filter modes ↵Joseph Hunkeler2020-01-231-2/+6
| | | | SPM_FSTREE_FLT_{NONE,CONTAINS,ENDSWITH,STARTSWITH}
* Change fstree signatureJoseph Hunkeler2020-01-221-5/+7
| | | | | Change strstr_array return type to char* Re-add and reorder a few prototypes in spm.h
* Groundhog day 2Joseph Hunkeler2020-01-221-1/+1
|
* groundhog dayJoseph Hunkeler2020-01-211-9/+26
|
* Add runtime environment manipulation routinesJoseph Hunkeler2020-01-141-3/+42
|
* Update README.mdJoseph Hunkeler2019-12-311-0/+5
| | | | * Add environment.c
* FixesJoseph Hunkeler2019-12-301-0/+1
| | | | | | | * Verbosity++ * If no requirements are present do not to report we are installing some * Redirect all shell output to stderr (need a better way) * implemented file_is_binexec() to avoid running patchelf on generic data files
* Fix inane compiler warningsJoseph Hunkeler2019-12-301-5/+3
| | | | | | * fix rpath_set * add rpath_autoset * add internal command "rpath_set"
* Minor fixes:Joseph Hunkeler2019-12-291-2/+3
| | | | | | * size_t in place of int * Moved some variables closer to their execution scope * Add some error checks
* Fixes:Joseph Hunkeler2019-12-281-0/+3
| | | | | | | * doxygen config * doxygen @file directives * corrected stupid strip() implemention * corrected strip usage by config parser. wrong pointer.
* Started work on build helper functionsJoseph Hunkeler2019-12-281-0/+27
|
* Listing packages and printing bannersJoseph Hunkeler2019-12-261-0/+2
|
* Version matching and package searchingJoseph Hunkeler2019-12-261-7/+17
|
* Add version_spec.cJoseph Hunkeler2019-12-241-0/+8
|
* Implement basic package manifestJoseph Hunkeler2019-12-211-1/+12
|
* Add new prototypes and structuresJoseph Hunkeler2019-12-201-0/+21
|
* Clean up a little bit.Joseph Hunkeler2019-12-191-0/+1
|
* Refactor project structureJoseph Hunkeler2019-12-181-0/+181