aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* build: fix includedir in pkgconfig fileHEADmasterRasmus Thomsen2020-04-011-2/+2
| | | | | | We want to include via <apk/$headerfile> and not via <$headerfile>, so we want to add an include statement for the dir the apk folder which contains the headers is contained in.
* build: enable building of development packageRasmus Thomsen2020-03-161-39/+67
| | | | | | | | | - always create .so and .a with the apk libary code - create .pc file - install headers and above mentioned files Maintainers edit: merged commits, cleaned up sed script logic, and few other minor fixes.
* rename all iostream source to io_*.cTimo Teräs2020-02-141-3/+4
|
* rename all applets sources to app_*.cTimo Teräs2020-02-141-3/+7
|
* lua: fix build and update to lua5.3Timo Teräs2019-12-301-1/+1
| | | | Fixes #8360
* list: new appletWilliam Pitcock2018-01-281-1/+1
| | | | | | | | | | The list applet provides a convenient way of inspecting both the available and installed package databases by listing their contents. In some ways, it is similar to `apk search` but is considered to be a superset of `apk search` functionality. A few `apk list` criterion are not yet ready though, such as `apk list --depends` which searches by runtime dependency (replacing `apk info --rdepends`).
* build and use bundled libfetch nativelyTimo Teräs2017-10-051-4/+7
|
* manifest: new applet which dumps checksums in sha1sum format for a packageWilliam Pitcock2017-05-201-1/+1
|
* fix cross-compiling to pick right libfetch.aTimo Teräs2016-07-061-1/+1
|
* build: allow override compiler/linker flags for external libsNatanael Copa2016-06-131-9/+11
| | | | | | Make it possible to individually override openssl, zlib and libfetch cflags and linker flags. This makes it possible to build apk-tools without having pkg-config installed.
* add simple stats appletTimo Teräs2015-06-121-1/+1
|
* url: use libfetch to retrieve http/https/ftp filesTimo Teräs2014-10-081-1/+2
|
* finally fix building PIE binariesTimo Teräs2014-05-121-2/+2
| | | | | | | | the dynamic applet registration never worked with PIE, and as a temporary hack -nopie was added to default link flags in 2008. this commit reworks the applet registration mechanism to something that is compatible with PIE, and removes the hack. finally!
* build: lua module build fixesNatanael Copa2013-06-261-2/+5
| | | | | | | | - do not link with -llua. We should not link apk or lua module with it. - default to lua 5.2 - allow override the lua version with LUA_VERSION - allow override the lua pkg-config package with LUA_PC - only add the pkg-config lua --cflags to the lua module
* policy: new appletTimo Teräs2013-06-181-1/+1
| | | | | to show different versions of package and the repositories from which it is available from.
* solver: rewrite as deductive solver -- core featuresTimo Teräs2013-06-131-1/+1
| | | | | Implementing basic dependency handling, install_if and awareness of pinning.
* build: openssl seems to require -ldl for now, so add thatTimo Teräs2012-03-281-0/+1
|
* lua: fix bindings, and build by defaultTimo Teräs2012-02-281-0/+1
|
* test: rewrite the testing framework to use the real appletsTimo Teräs2012-02-231-3/+6
| | | | also merge the expected output to the *.test files.
* build: fix make install of shared lib and lua moduleNatanael Copa2011-09-161-2/+2
|
* build: support building lua module without shared libapkNatanael Copa2011-09-141-3/+4
| | | | Use the build option SHARED_LIBAPK for building shared.
* solver: add per-name specific flags, and fix the fix appletTimo Teräs2011-09-131-1/+1
|
* applets: start using solver codeTimo Teräs2011-09-091-2/+2
| | | | | | | | | still todo: - 'fix' is missing - 'del -R' does not work - 'upgrade' does not do self-upgrade first ... and a lot of testing.
* solver: move topology sorting to solver codeTimo Teräs2011-08-051-1/+1
| | | | | this allows quite some optimizations to running time and memory requirements.
* Makefile: make it possible to override pkg-config via PKG_CONFIGNatanael Copa2011-07-271-3/+4
|
* solver: new package selection logic (which is not yet used)Timo Teräs2011-07-261-3/+10
| | | | | | | | | | | | | * basic code for a backtracking, forward checking dependency satisfier * works better when there are tricky dependencies to solve (when can't just upgrade everything to most preferred versions) * the new code always evaluates all of 'world' constraints (old code just does incremental updates based on heuristics) * is probably somewhat slower than old code (probably unnoticeable difference in most cases) * makes easier to write support for provides and repository pinning * test applet and a bunch of test cases added which uses the new code * from the old feature set install_if is not yet implemented
* dot: applet to generate the dot attributed graph language filesTimo Teräs2011-07-241-1/+1
| | | | | | | | | | | | This applet can be used to generate data for graphviz tools. Useful to visualize package dependencies, and possible errors in the repository. Usage examples: apk dot gnome-desktop | tred | dot -Tpng gnome-desktop.png -- to generate simplified dependency chart of gnome-desktop apk dot --errors | dot -Tpng index-errors.png -- to generate chart visualizing dependency errors in index
* static build: do not use openssl enginesTimo Teräs2010-06-301-1/+2
| | | | | We want minimal static build. And this now also breaks with our openssl since it tries to automatically dlopen some of the engine modules.
* Makefile: do not require lua pkgconfig unless you intend build lua moduleNatanael Copa2010-06-161-5/+6
|
* Makefile: Don't build or install the libapk and lua module by defaultNatanael Copa2010-06-141-10/+29
| | | | | | | | | | | | | | | | | | | | Make the libapk and lua module optional at buildtime and off by default. This is because enabling libapk requires that mkinitfs also copies the libapk.so or the initramfs will not work. To build libapk: make LIBAPK=yes To build lua module (will enable LIBAPK=yes): make LUAAPK To link apk to libapk (will enable LIBAPK=yes): make SHARED_LIBAPK=yes All the above applies to make install target as well.
* build: fix CFLAGS, and use pkg-config for luaTimo Teräs2010-06-111-5/+4
|
* lua: initial lua moduleNatanael Copa2010-06-111-2/+10
|
* First steps for libapkNatanael Copa2010-06-111-7/+17
|
* all: rework how arrays workTimo Teräs2010-06-051-1/+1
| | | | | | | | | | Instead of having a null pointer, use a dummy array which just says the array is empty. This helps in multiple places of the code which would otherwise need explicitly need to check first if the array exists. This has been cause of multiple seg.faults in the past as the array check is easily omitted. This also removes (or fixes) all existing checks accordingly.
* fix: new applet to reinstall and fix packageTimo Teras2009-08-041-1/+1
| | | | | also makes it possibly to upgrade package without adding it to top-level deps. fixes #69.
* apk: use *at instead of chdir+normal file syscallTimo Teras2009-07-311-0/+1
| | | | | | | | this way we never change cwd, and relative filenames are always parsed consistently. this also helps filename construction in many places. this patch also changes '--root' to override location of all configuration to be in the new root. previously it depended on the file which one was used.
* build: make install depend on main targetsTimo Teras2009-07-291-1/+1
| | | | | apparently the double colon rule dependencies affect only the specific rule-set.
* verify: new applet (ref #46)Timo Teras2009-07-171-1/+1
| | | | an utility to check package signature and integrity.
* build: link zlib dynamically, use --as-neededTimo Teras2009-07-081-3/+5
| | | | | | use pkgconfig of zlib instead of hard requiring it. and link in the pkg-config libs with --as-needed as not all of the openssl libs are really required.
* csum: use openssl insteadTimo Teras2009-07-081-3/+9
| | | | | instead of having static md5 implemenation, use the openssl library for digest functions.
* cache: new applet (ref #49)Timo Teras2009-06-291-1/+1
| | | | Administrative tool to download or delete files to/from the cache.
* upgrade: new appletTimo Teras2009-06-251-1/+1
| | | | | Currently just goes through all world dependencies and updates them where possible (ref #51).
* Makefile: add -nopie to LDFLAGSNatanael Copa2009-04-211-0/+1
|
* db: cache index files, 'update' appletTimo Teras2009-04-161-2/+2
| | | | | | Cache non-local index files always locally. Introduce 'update' applet to force refresh of cached index files. Fixes #19.
* build: rewrite make system to something slightly similar to kbuildTimo Teras2009-04-161-45/+12
| | | | | | Tracks now probler header file dependencies and command line parameters used to build files. E.g. changing CFLAGS rebuild all C-files. And changing version rebuild now the files where it's used.
* fetch: new applet to download .apk filesTimo Teras2009-04-151-0/+1
| | | | Fixes #24.
* Created search appletCameron Banta2009-03-071-0/+1
|
* Makefile: added 'make static' target to build apk.staticNatanael Copa2009-01-161-0/+3
|
* audit: new command to check changed filesTimo Teras2009-01-141-0/+1
| | | | | | | Currently only implement --backup to get list of (config) files in protected directories to backup. This also fixes a database corruption bug in database.c.
* add: --initdb to replace create appletTimo Teras2009-01-131-1/+0
|