534f7f0306
vars.mk: _BSD_SOURCE does not need to be defined.
Juan RP
2009-10-22 14:48:33 +02:00
96c501b5cc
xbps-bin: while updating a package that needs a new dependent package the automatic-install object wasn't set correctly, fix this.
Juan RP
2009-10-22 14:32:21 +02:00
d2dc018fcc
.bzrignore: add static bins.
Juan RP
2009-10-22 11:30:09 +02:00
03c7b26874
Fix typo in previous.
Juan RP
2009-10-21 18:27:18 +02:00
f99a154d7f
Improved unpacking package files, fixing bugs in configuration file handling.
Juan RP
2009-10-21 18:16:17 +02:00
7bfb24dad6
doc/BINPKG_INFO: mention that binary packages might be compressed in any format supported by libarchive, not just bzip2.
Juan RP
2009-10-20 14:25:51 +02:00
e9ef83517e
vars.mk: build bins with -fstack-protector-all and -Wstack-protector.
Juan RP
2009-10-20 09:45:37 +02:00
bc3eeeec58
xbps-pkgdb: always set rootdir as an empty string, otherwise if -r is not specified it will fail to get the regpkgdb plist file.
Juan RP
2009-10-19 23:49:47 +02:00
fc659323a9
prog.mk: add uninstall target.
Juan RP
2009-10-18 17:39:32 +02:00
c72f3a1a3c
Remove xbps-src and its associated code. This is required for the upcoming 0.3 version.
Juan RP
2009-10-18 11:15:39 +02:00
fdc561dfb2
xbps-{bin,repo,pkgdb}: added -V flag that prints the current XBPS release version as defined in xbps_api.h.
Juan RP
2009-10-18 10:42:04 +02:00
866e758dd2
xbps_api.h: aded XBPS_RELVER definition that returns the current version of xbps (utils and libraries).
Juan RP
2009-10-18 10:23:52 +02:00
af58fd7c8e
shutils: reorganize stuff for $build_style, add "python-module" style.
Juan RP
2009-10-18 09:18:43 +02:00
ba1c8971a5
Fix "autoupdate" target when no new packages are available.
Juan RP
2009-10-17 06:18:20 +02:00
22c40a2f91
Don't propagate $replaces value to subpkgs, use its own if defined.
Juan RP
2009-10-17 05:12:54 +02:00
3ddf276437
Fixed bug #453422: "xbps shouldn't depend on LZMA utils"
Juan RP
2009-10-17 05:01:01 +02:00
058b882037
Fix previous, so that only tries to replace packages if they are installed! heh
Juan RP
2009-10-17 04:59:59 +02:00
cacb34147a
Added support to replace packages with another one. Package metadata uses an array of strings that lists the packages that should be removed before new package can be installed.
Juan RP
2009-10-17 04:26:43 +02:00
4ef0fbcada
Multiple changes to xbps-src and shutils:
Juan RP
2009-10-17 02:58:36 +02:00
f7689695d1
xbps-bin/install.c: use only a function for install/update/autoupdate.
Juan RP
2009-10-16 17:37:32 +02:00
cb1f10d415
xbps-bin: don't initialize repolist data unless we want to update. xbps_find_new_pkg: always initialize repolist data.
Juan RP
2009-10-16 17:04:35 +02:00
becfac0c08
vars.mk: add DEBUG option.
Juan RP
2009-10-16 16:14:19 +02:00
651a4e6254
xbps-bin/xbps_install_pkg(): only sort pkg deps in update mode.
Juan RP
2009-10-16 15:55:13 +02:00
a60fde85a5
xbps_find_new_packages(): do not treat missing packages in repo, or packages with less than or equal version installed as errors.
Juan RP
2009-10-16 15:46:54 +02:00
e1f2a8b7bd
xbps-bin: multiple fixes to update packages.
Juan RP
2009-10-16 15:31:57 +02:00
d771383442
xbps_requiredby_pkg_add: ignore existing entries.
Juan RP
2009-10-16 13:36:56 +02:00
865b06be5d
Build xbps-{bin,cmpver,digest,pkgdb,repo} as static, and install them as foo.static.
Juan RP
2009-10-16 00:22:34 +02:00
6798be2f58
Makefile: remove $(SHAREDIR) in uninstall target.
Juan RP
2009-10-16 00:21:15 +02:00
cf04a48a1d
Remove support for "keep_dirs", it won't be used.
Juan RP
2009-10-15 16:29:37 +02:00
c069ff4d49
shutils/install_funcs.sh: always remove unwanted perl installed files, even in packages that use do_install(). Wrap a long line.
Juan RP
2009-10-15 16:25:11 +02:00
1febd85f42
xbps-pkgdb, shutils: use red/bold, red/yellow and bold for msg_error, msg_warn and msg_normal respectively.
Juan RP
2009-10-15 16:17:31 +02:00
a344468556
shutils: remove support for $configure_shell.
Juan RP
2009-10-15 16:16:09 +02:00
d75b195143
shutils/builddep_func.sh: use msg_* funcs.
Juan RP
2009-10-15 16:06:10 +02:00
e056e23be1
shutils: improve how the patches are applied.
Juan RP
2009-10-15 16:02:24 +02:00
9296d25811
shutils: return proper error in {do,pre,post}_* stage funcs and use msg_error.
Juan RP
2009-10-13 00:07:13 +02:00
cf7b3caebe
shutils: cross-compilation.sh is in XBPS_SHUTILSDIR not XBPS_HELPERSDIR.
Juan RP
2009-10-12 22:35:07 +02:00
c6d3868b8b
shutils: remove tmpl_func.sh, moved to the xbps-templates repo. xbps-src: added XBPS_COMMONVARSDIR that sources all .sh files in setup_tmpl(), this replaces tmpl_funcs.sh.
Juan RP
2009-10-12 22:30:56 +02:00
8918861000
shutils: added "nofetch" variable to be used in build templates.
Juan RP
2009-10-12 12:23:21 +02:00
06d451e557
Remove 'automatic' flag while installing via xbps-src, it's not very useful and won't be implemented.
Juan RP
2009-10-10 17:53:36 +02:00
dd2baebdec
Fix bug #447944: xbps build failure (gcc 4.4.1)
Juan RP
2009-10-10 16:13:37 +02:00
c0959e503f
shutils/install_funcs.sh: fix inverted test for $libtool_no_delete_archives.
Juan RP
2009-10-10 10:17:19 +02:00
53de9e531b
lib/unpack.c: fix a NULL pointer deref when checking configuration files exists or not while unpacking.
Juan RP
2009-10-10 08:44:37 +02:00
5a26facf51
shutils/chroot.sh: only rebuild ldso cache once at creation time.
Juan RP
2009-10-08 20:52:50 +02:00
3d8fb79e94
xbps-bin: add support to check integrity of all installed packages, through "xbps-bin check all".
Juan RP
2009-10-06 00:42:37 +02:00
06f70e182c
xbps-bin: rename the 'files' target to 'show-files' for consistency.
Juan RP
2009-10-06 00:06:59 +02:00
042084b306
xbps-bin: do not mark package as broken if the any task in the check target failed, just print the info.
Juan RP
2009-10-06 00:01:11 +02:00
c0c9a8dfc0
shutils/make-binpkg.sh: reset revision while building binpkgs, so that the archive is created with the correct version.
Juan RP
2009-10-05 23:12:38 +02:00
1afb358221
Fix bug #443436: endless loop if indirect dep missing in repo.
Juan RP
2009-10-05 21:57:48 +02:00
f02dd4ccb4
xbps-bin/install.c: improve some printfs.
Juan RP
2009-10-05 21:04:30 +02:00
550e33d7b2
xbps-src.conf: change XBPS_MASTERDIR to $XBPS_DISTRIBUTIONDIR/masterdir.
Juan RP
2009-10-05 16:37:06 +02:00
1c076967d4
Pass the ${UPDATE} argument to the triggers, to support restarting services while upgrading packages.
Juan RP
2009-10-02 17:24:19 +02:00
ca2dd0f873
While upgrading a package, print informative line about old package being removed.
Juan RP
2009-10-02 17:23:14 +02:00
53cb406513
Pass another argument to the REMOVE script to make the script aware of package being upgraded or removed. Will be used later to restart services while upgrading packages.
Juan RP
2009-10-02 13:38:33 +02:00
e668ba5193Fix#438201 "Upgrading essential pkgs results in duplicated reqby entries"
Juan RP
2009-10-01 07:35:42 +02:00
c56e2931db
Fix bug #439457 "Unpacking a package ignores correct perms"
Juan RP
2009-09-30 18:29:21 +02:00
3df22522b9
xbps_configure_pkg: pass correct version to the post install script.
Juan RP
2009-08-27 07:31:50 +02:00
10bd54adb4
Check if pkg INSTALL/REMOVE metadata scripts are executable rather than readable, to ensure scripts can be executed.
Juan RP
2009-08-25 06:05:59 +02:00
fd5afa2efb
xbps_file_chdir_exec: check if /bin/sh is executable rather than readable.
Juan RP
2009-08-25 06:04:29 +02:00
10531d7d45
Fix xbps_configure_pkg() reporting old version when upgrading packages.
Juan RP
2009-08-25 06:03:02 +02:00
14c9886cfc
When finding package orphans, only report those with "installed" state.
Juan RP
2009-08-22 07:41:23 +02:00
59b1942617
Fix memleaks in xbps_show_pkg_deps() and xbps_show_pkg_reverse_deps().
Juan RP
2009-08-22 07:22:56 +02:00
6d84cde6f1
xbps-bin: add two new targets 'show-deps' and 'show-revdeps" to print dependencies and reverse dependencies of a package, respectively.
Juan RP
2009-08-22 01:12:19 +02:00
f6ac35e110
vars.mk: change default PREFIX to /usr/local and conditionalize SHAREDIR based on its value.
Juan RP
2009-08-21 12:47:59 +02:00
8d4cc875ea
xbps-src: when stowning a package, do not copy metadata files.
Juan RP
2009-08-21 11:55:41 +02:00
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.
Juan RP
2009-08-21 11:31:26 +02:00
4aac305105
Add some PHONYs to the install target in Makefiles.
Juan RP
2009-08-21 11:17:58 +02:00
5b927b4759
Ignore some created files.
Juan RP
2009-08-21 11:15:05 +02:00
e5c879fd14
Update documentation to match with reality.
Juan RP
2009-08-21 08:02:05 +02:00
ef2e2612be
etc/Makefile: remove modified config file in the clean target.
Juan RP
2009-08-20 04:06:02 +02:00
62b514f6e1
lib/unpack.c: fix the logic of an inverted conditional.
Juan RP
2009-08-18 23:59:19 +02:00
d7ff3ea85a
xbps_configure_pkg: chdir(rootdir) before checking for INSTALL script!
Juan RP
2009-08-18 23:39:47 +02:00
5a2348e502
xbps_unpack_binary_pkg: switch back to fsync(), to be safe.
Juan RP
2009-08-18 22:50:29 +02:00
c9d19c2da9
Fix installation of packages in the chroot due to previous changes.
Juan RP
2009-08-18 19:58:25 +02:00
9680251382
Add shell utils required by xbps-src.
Juan RP
2009-08-18 17:37:42 +02:00
deedf07d4e
xbps-repo: fix swapped args in xbps_repo_addpkg_index().
Juan RP
2009-08-18 16:05:04 +02:00
876529370d
Fix DESTDIR + ETCDIR interaction.
Juan RP
2009-08-18 16:04:34 +02:00
ca9d72d460
Implement blueprint 'xbps-repo-list-via-cmdline'.
Juan RP
2009-08-18 14:12:44 +02:00
5c07b001bc
Use DESTDIR to install xbps, if defined.
Juan RP
2009-08-18 01:11:48 +02:00
8621a2437b
Rename xbps.conf to xbps-src.conf, because it's only used by xbps-src.
Juan RP
2009-08-18 01:06:04 +02:00
e7e1a16784
Makefile: remove all libxbps files in uninstall target.
Juan RP
2009-08-18 00:46:58 +02:00
3f3b6d00dd
Initial import of xbps with code as August '09.
juan
2009-08-17 19:07:20 +02:00