Commit Graph

2478 Commits

Author SHA1 Message Date
Juan RP
e668ba5193 Fix #438201 "Upgrading essential pkgs results in duplicated reqby entries"
Always remove reqby entries while upgrading "essential" packages.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091001053542-amaw61ib23hy453n
2009-10-01 07:35:42 +02:00
Juan RP
c56e2931db Fix bug #439457 "Unpacking a package ignores correct perms"
Simplify logic and fix the mistake of pass-by-value vs pass-by-ref.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20090930162921-wfx9ze2v7rjrpmza
2009-09-30 18:29:21 +02:00
Juan RP
3df22522b9 xbps_configure_pkg: pass correct version to the post install script.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090827053150-j6wqvnjuhjs09r5t
2009-08-27 07:31:50 +02:00
Juan RP
10bd54adb4 Check if pkg INSTALL/REMOVE metadata scripts are executable rather than
readable, to ensure scripts can be executed.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20090825040559-nkkzvaf59r10asj7
2009-08-25 06:05:59 +02:00
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