Commit graph

1585 commits

Author SHA1 Message Date
Juan RP
acd07f61e3 Modify the INSTALL/REMOVE scripts to use predef vars and unneeded chroot calls.
--HG--
extra : convert_revision : dfd737c502bea327054ecff5bc1fa152db6e2009
2009-04-08 03:24:57 +02:00
Juan RP
201be83c73 shadow: enable group shadowed passwords at install and remove chroot calls.
--HG--
extra : convert_revision : 85eebfb288da88754b9d03e5a2a30cef3e29e12e
2009-04-08 03:24:02 +02:00
Juan RP
22f6b0eac7 triggers: there's no need to call chroot anymore.
--HG--
extra : convert_revision : cea0ba9863c0934d8d876801989947e03588d835
2009-04-08 03:23:09 +02:00
Juan RP
2ff413127b shadow: disable creating mailbox files and use /var/mail instead.
--HG--
extra : convert_revision : abd5e24ab085b0efbaf0c52f5afede8add835d48
2009-04-08 03:22:28 +02:00
Juan RP
e0ece941e0 Remove CWD as first argument to INSTALL/REMOVE scripts, it's unneeded.
--HG--
extra : convert_revision : ce8d9cbdb0a83748304ba25e53950385a9442b3f
2009-04-08 03:21:31 +02:00
Juan RP
32e81e7555 For INSTALL/REMOVE scripts use xbps_file_chdir_exec().
This will chroot() to rootdir and removes many chroot() commands
from those scripts.

--HG--
extra : convert_revision : 4845df1949996da1bcd2776fcc50c3d0a00b451b
2009-04-08 03:20:13 +02:00
Juan RP
fe27e6dc44 xf86-video-openchrome: needs libXvMC.
--HG--
extra : convert_revision : 7152068768d77297f508af2396f7f147735e0034
2009-04-08 01:45:29 +02:00
Juan RP
01020bf198 xorg-server: add some missing deps.
--HG--
extra : convert_revision : 9f649f87268409753956b401836776b547c41cae
2009-04-08 01:21:57 +02:00
Juan RP
3e9e342f74 Make xbps_file_chdir_exec() change root directory if /bin/sh exists.
If /bin/sh is not there, fall back to chdir(destdir) as before.

--HG--
extra : convert_revision : 7506a8db97346dbf45292e4c46b9d8ecc384162a
2009-04-07 22:54:34 +02:00
Juan RP
581e908793 xbps-src: fix 'build-pkg all' with pkgs with $revision set.
--HG--
extra : convert_revision : 866ef758ef96722676e575acebee1fe3be8a9df1
2009-04-07 20:13:55 +02:00
Juan RP
89841df22e chroot.sh: run prepare_chroot() in xbps_chroot_handler().
--HG--
extra : convert_revision : 83037adeb3c89aace0986ccf23ba87f624333346
2009-04-07 16:08:52 +02:00
Juan RP
06e6244f40 lib/install.c: return rv not 0 in xbps_install_binary_pkg_fini().
--HG--
extra : convert_revision : bd6a815ab8a17add0200a8693221c5def18642a1
2009-04-07 15:50:29 +02:00
Juan RP
bb3240e4ac Do not reuse requiredby objects while updating pkgs.
--HG--
extra : convert_revision : 1bc0a25601b6ff1c4cd83de4dcd775ffdee1e9a1
2009-04-06 17:00:52 +02:00
Juan RP
4b3adf1db3 xbps-pkgdb: check rval correctly for xbps_remove_pkg_from_file().
--HG--
extra : convert_revision : ae3f35ef7d01c84c5249554cbb08c5bbc63f17c8
2009-04-06 16:58:13 +02:00
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