Commit Graph

1203 Commits

Author SHA1 Message Date
Dan McGee dde2f3eefa Fix FS #6872- CFLAGS are not used
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-11 12:44:42 -04:00
Dan McGee 1c2358532f Add pactest for pre_ and post_remove scriptlet events firing
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-07 16:27:32 -04:00
Roman Kyrylych 37eafc3d31 Really run scriptlet on pre_remove and post_remove
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-05 12:40:18 -04:00
Roman Kyrylych 4dc5dfc72a makepkg: spelling fix
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-05 11:36:38 -04:00
Dan McGee b65a81b8af Add replaces output to -Qi operation
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-04 23:19:14 -04:00
Dan McGee cbabfa8cff Added easynews mirror to mirrorlist.in
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-04 23:19:14 -04:00
Dan McGee df290b499a Enable support for other download protocols in makepkg
This patch fixes FS #4404 as well as adding support for future protocols by
generalizing the concept of a download agent and allowing a downloader to
be specified for each protocol.

Original work done by Andrew Fyfe <andrew@neptune-one.net>.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-04 22:58:47 -04:00
Aaron Griffin 4db7948d1a Testing git emails
Added a random line to my TODO list to see if I can get commit diffs.

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-04 19:32:57 -05:00
Aaron Griffin 15a1b06d36 pactest: remove001.py
* Test for duplicate remove targets (should succeed)

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-04 19:24:02 -05:00
Aaron Griffin 76f816b9f7 Backport changes from 3.0.1
* Align makepkg -g checksums (Tom Killian <tom@archlinux.org>)
* Use additional case-sensitive string compare to defeat locale issues (tr_TR)
* Added Russian mirror
* Fix a -R failure when trying to remove the same target twice
* Bump configure.ac version to 3.0.1

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-04 00:30:14 -05:00
Andrew Fyfe 9c9e18ef32 Tidy up usage of makepkg.conf
Moved the following variables into /etc/makepkg.conf
	* BUILDSCRIPT
	* PKGEXT
	* DB_COMPRESSION
	* DB_CHECKSUMS

Cleaned up sourcing of /etc/makepkg.conf in scripts and source
~/.makepkg.conf if it exists.

Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-01 21:52:28 -04:00
VMiklos ea3a182dbf New pactest: Sysupgrade with a sync package forcing a downgrade
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-01 21:52:28 -04:00
VMiklos 32924c9bdb Move the 100% progress bar call before remove scriptlet for output reasons
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-01 21:52:28 -04:00
Dan McGee d32ef4329c Remove some debug print statements that were left in on accident
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-01 21:52:28 -04:00
Giovanni Scafora dea03d715b Updated Italian Translation
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-01 13:07:40 -04:00
Giovanni Scafora f044e23a60 Gettext support in makepkg
Add gettext support to makepkg. Still to do- figure out for sure what
textdomain the translations should go in (perhaps share with pacman?), and
ensure this doesn't break anything.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-31 20:30:35 -04:00
Dan McGee 583b4b10a3 Move makepkg -> makepkg.in in anticaption of gettextized version
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-31 20:30:35 -04:00
Dan McGee 8fd16d0dcb Clean up pacman.c, add localize function
* Add a localize function to do what was done before in main wrt i18n
  initialization.
* Added Doxygen comments to all functions in pacman.c.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-31 20:30:35 -04:00
Dan McGee b8602adee9 Remove --disable-fakeroot option from configure.ac
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-31 20:28:41 -04:00
Dan McGee c3ad8bd75f Make all paths and file locations configurable
Several important paths, file locations, and extensions were #define-d in the
source code instead of being configurable. This moves all of these to
the configure script where they can be picked upon running ./configure. We
may later want to make some of these even more visible and move them to
pacman.conf.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-30 15:55:58 -04:00
Dan McGee e9ee9045ff Remove unnecessary $ENV_CFLAGS from configure.ac
CFLAGS are used at build time, not configure time. We don't need to get the
CFLAGS from the environment during configure.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-30 15:55:58 -04:00
Nagy Gabor 5bc43df6f3 Updated Hungarian Translation.
Signed-off-by: Nagy Gabor <ngaba@petra.hos.u-szeged.hu>
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-30 15:47:11 -04:00
Владимир Байраковский f72db27c5c Russian translation update.
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-30 14:07:26 -04:00
Aaron Griffin 1d35c4dcc6 Report an error on setmntent failure
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-03-29 22:44:10 -05:00
Aaron Griffin 970d2e942e repo-add leaves .PKGINFO in the current directory
* Misuse of 'tar xf', which should be 'tar tf'

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-03-29 21:30:40 -05:00
Aaron Griffin 9a9f1e00da From: Andrew Fyfe <andrew@neptune-one.net>
Date: Thu, 29 Mar 2007 11:11:36 +0100
Subject: [PATCH 1/1] Fix bug where makepkg can't extract .tar.Z archives.

For some reason 'tar -xf' doesn't work with .tar.Z, you need to use
'tar -xzf' to extract the archive.

Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-03-29 21:26:58 -05:00
Dan McGee d6d7435a6c Fix a 0 and '/0' switch
It looks like someone accidentally put a 0 instead of '/0', this fixes it.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-29 00:57:04 -04:00
Dan McGee bbe55b5ce9 Doxygen fixups for libalpm
We haven't done a whole lot with Doxygen so far, so this updates some of the
things that have changed a lot- namely, the now public exposure of alpm_list.
All functions in this file have now been Doxygen commented, and a few other
things in alpm.c were fixed as well. In addition, the Doxygen config file
was updated.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-29 00:40:49 -04:00
Dan McGee 462ad153e7 Add execute permissions to abs and rankmirrors
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-28 18:41:29 -04:00
Dan McGee 3ef1aeb8bd Continue fixing usage instructions.
* Unify the main usage instructions to look a bit more like the rest
  with a usage and options line.
* Fix some of the spacing from the de-gettexting done yesterday.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-28 16:26:37 -04:00
Dan McGee 4a0aac3862 Fix --ignore behavior on sysupgrade
* --ignore was being ignored (haha) on sysupgrade when a package was listed
  as being a force upgrade. This adds a prompt to the user in this case asking
  what to do.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-28 00:35:17 -04:00
Dan McGee 8cacc46f8b Move .cvsignore -> .gitignore
* Move all .cvsignore files to .gitignore for switch in VCS. In addition,
  delete ones that were unnecessary because they only contained Makefile
  and Makefile.am.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-27 21:06:31 -04:00
Dan McGee 5ec3ed4674 Improve pacman.c gettext usage
* Break out a few strings in pacman.c that are used repeatedly to
  reduce unnecessary translations.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-27 20:26:54 -04:00
Dan McGee a2a781f416 * Remove outdated ProxyServer option from pacman.conf.5. 2007-03-27 15:51:18 +00:00
Dan McGee d47b8cdf48 * Fix NEWS typo. Oops.
* Updated Russian translation.
  Владимир Байраковский <4rayven@gmail.com> and Shild <sxp@bk.ru>
* Removed a string from gettext that didn't need it.
2007-03-26 22:47:56 +00:00
Dan McGee 58fe79eef6 * Fix bug where 'makepkg -L' doesn't stop on build failure.
Andrew Fyfe <andrew@neptune-one.net>
* Add testing to etc/pacman.d/.cvsignore
* Fix scriptlet001.py test to work during 'make check'.
2007-03-25 17:37:42 +00:00
Dan McGee a07b490344 Andrew Fyfe <andrew@neptune-one.net>
* Fix FS #6688- builddeps not working in makepkg.
2007-03-24 17:11:18 +00:00
Aaron Griffin f8d0601b8d * Added a mirror list for [testing] (it appears most mirrors mirror testing)
* Commented ftp.archlinux.org in the official mirror list
* ran a make dist, which updated some translation files
2007-03-24 04:18:17 +00:00
Dan McGee d38b273f91 * Removed three dead mirrors (Dale Blount <dale@archlinux.org>). 2007-03-23 17:48:05 +00:00
Dan McGee 5702b943e8 * Updated German translation
Pierre Schmitz <pierre@archlinux.de>
2007-03-23 17:42:14 +00:00
Dan McGee 9cf9606459 Fixed alpm_log call- too many parameters passed. (bardo on #archlinux-pacman) 2007-03-22 18:33:27 +00:00
Dan McGee 19faa24cf3 Clarify some English messages as suggested by Nagy Gabor. I even did the hard
work of fixing these in the translation files, and I removed a few fuzzys
while doing so. If any more patches for translations come, try to do it
against these files.
2007-03-22 18:19:49 +00:00
Dan McGee 4a75cb7e52 * Updated Brazilian Portuguese translation
Douglas Soares de Andrade <dsandrade@gmail.com>
2007-03-22 17:20:39 +00:00
Dan McGee df59a18460 Roman Kyrylych <roman.kyrylych@gmail.com>
* Updates to news file.
2007-03-22 15:18:26 +00:00
Dan McGee b882353d48 Lots of translation updates before we release.
* Ran msgmerge on all po files from new pot files, but did not check in the
  updated pot files as that just causes problems.
* Updated Italian translation
  Giovanni Scafora <linuxmania@gmail.com>
* Updated Russian translation, added libalpm partial translation
  Владимир Байраковский <4rayven@gmail.com>
* Updated Hungarian translation
  Nagy Gabor <ngaba@petra.hos.u-szeged.hu>
* Updated French translation
  solsTiCe d'Hiver <solstice.dhiver@laposte.net>

Thanks again guys!
2007-03-22 14:51:00 +00:00
Aaron Griffin bdfe232b8a Quick pactest changes:
* Minor change to utils.py(grep) to make it cleaner
* Added scriptlet check to verify scriptlet events happen
2007-03-22 08:30:18 +00:00
Aaron Griffin 118671eff4 I was mistaken, newpkg->data IS useful here, as the scriptlet isn't in the FS at
this point
2007-03-22 08:28:09 +00:00
Aaron Griffin d8ec08f578 * Correct install scriptlet usage (reuse of handle->root when not needed)
* Skip running scriptlet when chroot fails - to prevent issues in the host
  filesystem
2007-03-22 08:22:48 +00:00
Aaron Griffin 3aa0c85716 * -Qo now properly resolves paths when finding an owner
NOTE that we do NOT want symlinked *files* resolved, only paths (i.e.
  /usr/lib/perl5/site_perl/*)
2007-03-22 07:32:54 +00:00
Dan McGee d763017233 * Fix conflict checking to ignore symlinks that were in previous version of
package. Regression from 2.9.8.
2007-03-22 06:25:26 +00:00