Commit Graph

2421 Commits

Author SHA1 Message Date
Juan RP 625a77883c Make xbps_remove_pkg_from_* return int rather than bool.
--HG--
extra : convert_revision : 9f413873669b552a4d7a6e25e667fe5ff43f6a78
2009-04-06 16:39:14 +02:00
Juan RP 147a8af559 lib/sortdeps.c: wrap long line.
--HG--
extra : convert_revision : 8484a1a0eed376e1cd4e9af9917d42dab91d5ef1
2009-04-06 14:44:35 +02:00
Juan RP ebf400f728 lib/depends.c: simplify store_dependency().
--HG--
extra : convert_revision : 83d806e199b0cc593a82a7f0d575994ea04277fd
2009-04-06 11:40:55 +02:00
Juan RP 3fca3406eb TODO: xbps-bin: implement shell style match patterns with fnmatch.
--HG--
extra : convert_revision : 39d27e30f4af3bb93c63c3eb0091040321bb8527
2009-04-05 15:19:15 +02:00
Juan RP c49d324961 Use a single header (xbps_api.h) for defs and protos.
--HG--
extra : convert_revision : 45979550279f24dbb76e7fff8d0f7b9e76f59bce
2009-04-05 15:06:09 +02:00
Juan RP 986a54a56f xbps_removed_binary_pkg(): chdir after checking if pkg is installed not before.
--HG--
extra : convert_revision : c06555f92939f37740b1677d842619eeb1f5d5ac
2009-04-05 14:48:24 +02:00
Juan RP 4f8d329867 xbps_remove_binary_pkg_meta(): fix a memleak if opendir(2) fails.
--HG--
extra : convert_revision : e5a107219e809abf4a8f5fac8e066016b1d46455
2009-04-05 12:47:02 +02:00
Juan RP 500cfe4b4f Simplify previous.
--HG--
extra : convert_revision : c93b6612845c64f9b9b929150014a76d6584ec1c
2009-04-05 12:46:15 +02:00
Juan RP d5d280a93c git: update to 1.6.2.2.
--HG--
extra : convert_revision : 08e80a9ca534f12b8e1c83624ef734f95baae965
2009-04-05 12:42:18 +02:00
Juan RP 161f97ce97 Fix chdir() when rootdir it's an empty string.
--HG--
extra : convert_revision : bb7847fc538401d8c585bcb75114956f879077d3
2009-04-05 12:41:40 +02:00
Juan RP 4bf5c5f750 Introduce xbps_xasprintf() and use it where required.
--HG--
extra : convert_revision : 324a92a4824476059e0993d00c2b925c732a79f8
2009-04-04 19:32:39 +02:00
Juan RP f5dd58df5d Simplify xbps_{un,}register_repository().
--HG--
extra : convert_revision : 95ac1ddedbc96fe3bf2a9dfe282c20385c8740ff
2009-04-04 18:05:18 +02:00
Juan RP ba56172222 Add a func to remove a string obj from an array.
--HG--
extra : convert_revision : 2de9ea16361286a17e93e9fb65a93bd28e7688db
2009-04-04 18:04:37 +02:00
Juan RP 44926cd53c Performance improvements while installing deps of a binpkg.
--HG--
extra : convert_revision : 2ad3b29cfd22489f76739287176f40dd9535dfee
2009-04-04 05:24:58 +02:00
Juan RP 57de10314a irssi: update to 0.8.13.
--HG--
extra : convert_revision : e4ef3fd7b9f2dfde84900370700b00247e29c1ed
2009-04-03 21:19:46 +02:00
Juan RP 9a7d1983fd kernel*: update to 2.6.29.1.
--HG--
extra : convert_revision : 1e292dcc23fd127a052dcbe7d90ee42a6dbda79a
2009-04-03 21:11:27 +02:00
Juan RP a083feb8ff Fix 'xbps-src -u fetch' if distfiles already exist.
--HG--
extra : convert_revision : 4e85b3f14dc4c8f887d79cc1d3ab2d7813ced637
2009-04-03 20:30:33 +02:00
Juan RP dfeb2f4143 Define XBPS_PKGINDEX_VERSION constant and use it.
--HG--
extra : convert_revision : e5c982e083d1a03b57feb71799619e7cbbae4239
2009-04-03 19:55:57 +02:00
Juan RP a6657b74ca TODO: another item for 'xbps-bin -C files pkg'.
--HG--
extra : convert_revision : 6f6074c915e9d6a54e904b8d7542837d39c79be2
2009-04-03 19:48:50 +02:00
Juan RP 7a81766b82 xbps-repo: performance fix for the genindex target.
--HG--
extra : convert_revision : 727664eccf8901a5bd39dedd28e3624076025075
2009-04-03 19:45:08 +02:00
Juan RP 2b1044dd8c xbps-bin: cosmetics changes for *remove targets.
--HG--
extra : convert_revision : c5659a2f268a40a0d909bbdbdbd6a725386d9863
2009-04-03 18:16:26 +02:00
Juan RP 856f1554bc Add some printfs when finding/sorting required deps.
--HG--
extra : convert_revision : f113844179d22f00390c218486cd34fdd23be6a4
2009-04-03 18:08:16 +02:00
Juan RP b329b3be39 xbps-bin: fix "-C files" as mentioned in TODO.
--HG--
extra : convert_revision : 21dc44831330411f079044c47b5bc6f53c599126
2009-04-03 17:15:38 +02:00
Juan RP 5abc453952 TODO: some more new items.
--HG--
extra : convert_revision : c1bb9a091c80d0a84ca229d21cdf085eb5f94219
2009-04-03 17:09:08 +02:00
Juan RP b75a66a26a BINPKG_INFO: sync with reality.
--HG--
extra : convert_revision : 2cdbac32858408695a6bb40539fc5a01a6ca4f17
2009-04-03 17:02:38 +02:00
Juan RP 0a1c94ad11 TODO: remove xbps-src item that won't be implemented.
--HG--
extra : convert_revision : 3d8f47398b3f84477fe722dd0d0020e4e440338f
2009-04-03 16:57:43 +02:00
Juan RP 8a5d47430e Long life to the xbps-repo genindex C implementation!
--HG--
extra : convert_revision : af0ca601ae79ba1b38fbf0815e6365f558ca22d8
2009-04-03 16:03:31 +02:00
Juan RP 72d99c13c0 xbps-base-pkg: bump to 0.4, to reflect 'xbps-repo genindex' code.
--HG--
extra : convert_revision : 541ecd72fd52fb1e9049d87f88f0ab34b11dfe42
2009-04-03 15:57:13 +02:00
Juan RP 13df7f994c xbps-src: remove genindex code. A better version in C was implemented.
--HG--
extra : convert_revision : 07d5d4bbe27d66760ebc0d602290781d0f257c82
2009-04-03 15:50:57 +02:00
Juan RP 03bc2cad21 TODO: remove items that have been fixed related to repo index.
--HG--
extra : convert_revision : 2b06e9083e0c8b7b0fc63cd6d259eb43f53f13ea
2009-04-03 15:47:21 +02:00
Juan RP 1d718ef09a xbps-repo: new genindex implementation in C.
This version is 12x faster than current implementation in shell script.
To generate an index for 434 packages, current implementation took
5min and 56 seconds. New implementation only took 29 seconds!

New implementation also doesn't add duplicate packages, and updates
the package entry for new package versions.

--HG--
extra : convert_revision : 269d38ee18184b585877fd729bf95e07ce57dd50
2009-04-03 15:44:28 +02:00
Juan RP 46f712b4e1 Add a func to remove a pkg from a dictionary.
--HG--
extra : convert_revision : 371d97cf7b6d28555b2b194a83254c29a12c44b4
2009-04-03 15:24:08 +02:00
Juan RP c72bbb0a5b Add func that returns a malloc'ed buffer with the hash string of a file.
--HG--
extra : convert_revision : 66d886c413e0a909ccd678fe1ebdda44ab6fef8a
2009-04-03 12:10:28 +02:00
Juan RP cb21ca090c TODO: working in xbps-repo genindex C code now.
--HG--
extra : convert_revision : b6f91d3c96cc54f502b790b3a9086981aab3f6c7
2009-04-02 18:00:45 +02:00
Juan RP 80450fcc4c xbps-repo: cosmetic changes for the 'show' target.
--HG--
extra : convert_revision : a7bfd979f9f363fb0174599ecd21dd7045c9e266
2009-04-02 16:15:41 +02:00
Juan RP 4c74ea1d91 Added xorg-7.4 meta-pkg (still uncomplete).
--HG--
extra : convert_revision : 11bcb1cbea2db13d54ee0a2f45ac0f3e7e0ed4f4
2009-04-02 10:46:54 +02:00
Juan RP bf01da5dcf There's no need to overwrite files while unpacking.
--HG--
extra : convert_revision : 0af6a384b869b752a47e33e95cacb0c33521ee53
2009-04-02 04:52:29 +02:00
Juan RP db5b069a23 udev: use a patch from Archlinux to fix some perms, bump revision.
--HG--
extra : convert_revision : ac87852e1adb89dbda9bd549f0337a95f2c3508b
2009-04-02 04:38:45 +02:00
Juan RP 28f31ff7d2 udev: add a rules file to fix perms, based off the one from Archlinux.
--HG--
extra : convert_revision : 2b574934b32189095af24f6fdafe136ddec310a6
2009-04-02 04:06:40 +02:00
Juan RP 605e166253 shadow: reorder groups created by the INSTALL script. Bump revision.
--HG--
extra : convert_revision : ed7589001693b4d696d7f041173c0ec08bbd0a53
2009-04-02 04:00:47 +02:00
Juan RP fda979d8c5 xbps-bin: rework error message if pkg is already up to date while updating.
--HG--
extra : convert_revision : cea191aad5a2c4d96764c35c04e2d4af8f82b7d7
2009-04-02 03:38:53 +02:00
Juan RP e9a4eacef8 xbps-base-pkg: bump to 0.3 to reflect "xbps-bin update" support.
--HG--
extra : convert_revision : 2e9c5feaf04629049533048f689b00401325e9f4
2009-04-02 03:21:36 +02:00
Juan RP b57b60b23e xbps-bin: sync usage().
--HG--
extra : convert_revision : f155a0e55274a4dbeea6b3b1dd027f230e507ab9
2009-04-02 03:18:28 +02:00
Juan RP 7e691eaf65 TODO: single pkg upgrades are working, add item for "apt-get dist-upgrade" clone.
--HG--
extra : convert_revision : 54c892fb30a1a606385b29e2b450c6fef3bcd334
2009-04-02 03:13:40 +02:00
Juan RP 797b3dad46 Remove currrent installed pkg first while updating a package.
--HG--
extra : convert_revision : 8d93d1a59f47edf468781c66116bba45a3ecd70b
2009-04-02 03:08:20 +02:00
Juan RP 54b6d87809 Added basic support to update a single package via "xbps-bin update foo".
--HG--
extra : convert_revision : 7214ab270ccb57a327afeed94f6a2efc4738442d
2009-04-02 02:46:36 +02:00
Juan RP 7db36bf9e0 TODO: user files in /etc/skel are there now.
--HG--
extra : convert_revision : 7ab7361422b7d9d53756f0681224d369ac906f59
2009-04-02 02:46:06 +02:00
Juan RP 4347b28383 xbps-src: fix genindex target for directory passed as argument.
--HG--
extra : convert_revision : 80712b3d526353eb81448f31cfa82b7cdb60e304
2009-04-02 02:41:36 +02:00
Juan RP 679900de1d Merge branch 'master' of ssh://xtraeme@repo.or.cz/srv/git/xbps
--HG--
extra : convert_revision : aee4e9bcbf22743fc7b587ad4796c40478cf7f91
2009-04-01 09:33:35 +02:00
Juan RP a8a3f8249e Added acct-6.3.2 template.
--HG--
extra : convert_revision : f1067e998115e4507ff2d7e1e90ac4d1e2f10410
2009-04-01 09:32:59 +02:00