Commit Graph

1405 Commits (6117de6eae69eeba6b401a231c7f60f71af152b7)

Author SHA1 Message Date
Timo Teras 3755e1cde3 apk: per applet options 2009-01-13 14:09:45 +02:00
Timo Teras 0a7910c144 state: install packages in dependency order (not reverse) 2009-01-13 11:16:27 +02:00
Timo Teras ca364e34e2 pkg: use generic blob functions to parse dependencies 2009-01-13 09:32:04 +02:00
Timo Teras d16b424385 apk: honour --root command line switch
Was broken by earlier ROOT environment commit.
2009-01-13 09:31:27 +02:00
Natanael Copa b8940df6b9 apk: support for ROOT environment variable 2009-01-12 21:03:20 +00:00
Natanael Copa 09385545d9 db, package: new dependency format, second try
dependencies are separated with single space rather than ', '.
makes db file slightly easier to parse from a shell script which
might be handy.
2009-01-11 14:03:55 +00:00
Natanael Copa 9423906606 Makefile: build the info applet 2009-01-09 12:04:27 +00:00
Natanael Copa 1f21521684 info: new applet
so far it only lists installed packages
2009-01-09 11:02:16 +00:00
Natanael Copa 3867b4c71f Revert "db: change format for dependencies"
This reverts commit b852d670a9.
2009-01-09 11:00:20 +00:00
Natanael Copa f54b7bc320 db: report error when create db in non-existing dir 2009-01-09 10:19:23 +00:00
Natanael Copa b852d670a9 db: change format for dependencies
Each dep is separated with a single space. I.E:

D:dep1 dep2 dep3
2009-01-08 13:55:51 +00:00
Natanael Copa 0c6adc2765 Makefile: turn off PIE 2009-01-08 13:54:50 +00:00
Natanael Copa 08748b5c3f db: allow comments and empty lines in repositories file 2009-01-08 09:12:39 +00:00
Natanael Copa 174dd41113 src/database.c: get repository file from environment variable APK_REPOS
Defaults to /etc/apk/repositories, absolute path and not relative
the install root.
2009-01-08 07:16:53 +00:00
Natanael Copa d704e93f8d src/package.c: fix compiler warning on 64 bit hosts 2009-01-08 07:16:53 +00:00
Timo Teras 052fbe3f86 various: make fancy progress bar and update todo 2009-01-07 21:45:11 +02:00
Timo Teras c7ffc96a16 db: rmdir() directories only on package purge 2009-01-06 21:23:26 +02:00
Timo Teras 0655699133 db: remove forgotten debug print 2009-01-06 21:23:26 +02:00
Timo Teras 0314104d93 db, pkg: fix rest of memory leaks 2009-01-06 21:23:26 +02:00
Timo Teras 5e2aca2678 io: fix some memory leaks 2009-01-06 21:23:26 +02:00
Timo Teras 6b2b9d303e db: restructure in-memory organization 2009-01-06 21:23:26 +02:00
Timo Teras 354b6e4631 log: eliminate fortified build warning 2009-01-06 21:23:26 +02:00
Timo Teras 64b630b5fb archive: minor clean ups 2009-01-06 21:23:26 +02:00
Timo Teras a3769b2238 io: check inner stream existance before creating gunzip stream 2009-01-06 21:23:26 +02:00
Timo Teras fb911432cb apk_array: clear newly allocated memory 2009-01-06 21:23:26 +02:00
Natanael Copa c8919ac3b5 Allow distromakers override CFLAGS and LDFLAGS 2008-12-01 07:03:11 +00:00
Timo Teras dc2ffc30e8 io: apk_ostream stuff 2008-11-28 16:28:54 +02:00
Timo Teras 4bafa681fe io: prepartions for url handling 2008-11-28 15:03:27 +02:00
Timo Teras 5ea81ca564 add: add support to install packages not in a repository 2008-11-28 13:34:40 +02:00
Timo Teras 545a915faf db: rework 'files' to 'installed'
Make the db of installed packages more similar to index file and
reuse the code. Also rename the database file.
2008-11-28 13:15:06 +02:00
Timo Teras a96572fba8 db: compressed index file 2008-11-27 21:06:45 +02:00
Timo Teras f0609951b9 hash, db: use apk_blob_t and list_* 2008-11-27 20:25:01 +02:00
Timo Teras 1a7f3e3678 various: use apk_istream api 2008-11-27 16:59:04 +02:00
Timo Teras 8e23a2ba4e db: checksum installed files, protect config files
Checksum of installed is computed on the fly when extracting them
and it'll be saved to fdb. When installing config files those are
diverted with suffix .apk-new if earlier version of same file with
local changes exist.
2008-11-14 14:26:59 +02:00
Timo Teras 86676ac8c4 build: remove pthreads references 2008-11-12 11:57:53 +02:00
Timo Teras ffa03a21d8 db: remember empty .apks 2008-11-11 09:00:10 +02:00
Timo Teras 791cf6f05b pkg: speed up indexing of version 2 .apks 2008-11-07 19:18:53 +02:00
Timo Teras 0bf7a1a2cc io: implement mmap(2) for reading pkgs 2008-11-07 19:06:58 +02:00
Timo Teras aef0f036f0 use zlib internally to decompress 2008-11-07 17:11:08 +02:00
Timo Teras 6967c28b96 db: fix installation of apk v1 packages 2008-11-07 13:22:16 +02:00
Timo Teras 36f73847ee pkg: support for new scripts 2008-11-07 13:05:55 +02:00
Timo Teras 1c342b3eba todo: updated 2008-11-07 09:53:44 +02:00
Timo Teras 014d39488b db: do not install .PKGINFO files 2008-11-07 09:51:53 +02:00
Timo Teras 57154db85d db: parse new style .PKGINFO 2008-11-06 16:58:58 +02:00
Timo Teras b380d4f8e0 build: fix SUBDIRS and remove -nopie 2008-11-06 16:58:11 +02:00
Timo Teras e4add7611c Delete obsolete scripts.
They are replaced by abuild now.
2008-11-04 11:05:55 +02:00
Natanael Copa a4cbe620e8 release 2.0_pre1 2008-10-26 13:22:16 -07:00
Natanael Copa e065caf662 ignore .o files and apk 2008-10-26 13:21:46 -07:00
Natanael Copa cb25f35ed4 give more helpful error messages 2008-10-26 11:35:34 +00:00
Timo Teras 219a1b2ee8 Overwriting of bb files, apk_create (from old apk-tools), chdir changes,
other stuff.
2008-04-22 08:16:26 +00:00