Commit Graph

774 Commits

Author SHA1 Message Date
Juan RP
fd5afa2efb xbps_file_chdir_exec: check if /bin/sh is executable rather than readable.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090825040429-7fbwxo2fao20w28n
2009-08-25 06:04:29 +02:00
Juan RP
10531d7d45 Fix xbps_configure_pkg() reporting old version when upgrading packages.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090825040302-azurxpyalot07j81
2009-08-25 06:03:02 +02:00
Juan RP
14c9886cfc When finding package orphans, only report those with "installed" state.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090822054123-1bud3ldgin5opbhc
2009-08-22 07:41:23 +02:00
Juan RP
59b1942617 Fix memleaks in xbps_show_pkg_deps() and xbps_show_pkg_reverse_deps().
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090822052256-tnf5s1od4oluhygp
2009-08-22 07:22:56 +02:00
Juan RP
6d84cde6f1 xbps-bin: add two new targets 'show-deps' and 'show-revdeps" to print
dependencies and reverse dependencies of a package, respectively.

'xbps-bin show' no longer prints the deps anymore.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20090821231219-n26o21xcxor46nk1
2009-08-22 01:12:19 +02:00
Juan RP
f6ac35e110 vars.mk: change default PREFIX to /usr/local and conditionalize
SHAREDIR based on its value.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20090821104759-q010qay9i2dtoo3y
2009-08-21 12:47:59 +02:00
Juan RP
8d4cc875ea xbps-src: when stowning a package, do not copy metadata files.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090821095541-833o0srxzybgg0z7
2009-08-21 11:55:41 +02:00
Juan RP
ecfa25833f Improve marginally configuring/purging all packages by looking at its
state in the object dictionary rather than opening and externalizing
the dictionary of every package.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20090821093126-0xw980x0pqtq59q2
2009-08-21 11:31:26 +02:00
Juan RP
4aac305105 Add some PHONYs to the install target in Makefiles.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090821091758-6am9fbkvy9doooef
2009-08-21 11:17:58 +02:00
Juan RP
5b927b4759 Ignore some created files.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090821091505-cnsv480pppob72vm
2009-08-21 11:15:05 +02:00
Juan RP
e5c879fd14 Update documentation to match with reality.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090821060205-m1zc41d0b0zqtsf5
2009-08-21 08:02:05 +02:00
Juan RP
ef2e2612be etc/Makefile: remove modified config file in the clean target.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090820020602-o2ki45yznf659a5q
2009-08-20 04:06:02 +02:00
Juan RP
62b514f6e1 lib/unpack.c: fix the logic of an inverted conditional.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090818215919-xv54d9a2vobsizlr
2009-08-18 23:59:19 +02:00
Juan RP
d7ff3ea85a xbps_configure_pkg: chdir(rootdir) before checking for INSTALL script!
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090818213947-kl9f5gfbcq8vwvvt
2009-08-18 23:39:47 +02:00
Juan RP
5a2348e502 xbps_unpack_binary_pkg: switch back to fsync(), to be safe.
Move the set_pkg_state call just after the fsync call, otherwise
strange things can ocurr sometimes.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20090818205029-b01fqdf5tw4hnzgc
2009-08-18 22:50:29 +02:00
Juan RP
c9d19c2da9 Fix installation of packages in the chroot due to previous
changes.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20090818175825-sazm2dea97y4m0ky
2009-08-18 19:58:25 +02:00
Juan RP
9680251382 Add shell utils required by xbps-src.
These files are moved from the GIT repository.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20090818153742-98s9y92f5m19l3c2
2009-08-18 17:37:42 +02:00
Juan RP
deedf07d4e xbps-repo: fix swapped args in xbps_repo_addpkg_index().
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090818140504-ea3rvio2ipbs501i
2009-08-18 16:05:04 +02:00
Juan RP
876529370d Fix DESTDIR + ETCDIR interaction.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090818140434-3wttn8uvc7on7mry
2009-08-18 16:04:34 +02:00
Juan RP
ca9d72d460 Implement blueprint 'xbps-repo-list-via-cmdline'.
A new target (add-pkgidx) has been added to the xbps-repo command,
that takes two args, local repository dir and path to binpkg.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20090818121244-pfdagkfqeukn1t2r
2009-08-18 14:12:44 +02:00
Juan RP
5c07b001bc Use DESTDIR to install xbps, if defined.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090817231148-0ustwsbs93ywo1nf
2009-08-18 01:11:48 +02:00
Juan RP
8621a2437b Rename xbps.conf to xbps-src.conf, because it's only used by xbps-src.
--HG--
rename : etc/xbps.conf => etc/xbps-src.conf
extra : convert_revision : xtraeme%40gmail.com-20090817230604-gcvdp2q44bq2lqra
2009-08-18 01:06:04 +02:00
Juan RP
e7e1a16784 Makefile: remove all libxbps files in uninstall target.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090817224658-xz0rwrdc6ysf49dt
2009-08-18 00:46:58 +02:00
juan
3f3b6d00dd Initial import of xbps with code as August '09.
--HG--
extra : convert_revision : juan%40xbps-20090817170720-amxxac4a2e8bza1j
2009-08-17 19:07:20 +02:00