Commit Graph

7 Commits

Author SHA1 Message Date
Juan RP
7aebea684b Implemented support for working with remote repositories.
libfetch from NetBSD's pkgsrc has been imported into lib/fetch, but
the objects are embedded into libxbps. Only a public function to fetch
files has been implemented: xbps_fetch_file().

The library now is built with -fvisibility=hidden by default, and
exported symbols are the ones that use the SYMEXPORT macro.

The code works well enough, but will need many more cleanups.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091027004600-0lq9aao67lisbzxv
2009-10-27 01:46:00 +01: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
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
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
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
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