summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-08-08Be consistent with naming of handle_deps functionAllan McRae1-2/+2
All other "dep" functions (check_deps, resolve_deps, remove_deps) have underscores separating words. Being consistent, convert handledeps to handle_deps. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-08dload.c : change the way to check for mtimesXavier Chantry1-7/+11
libfetch supports checking mtime so we do not need to do it manually. when the databases are already up-to-date, initiating a connection with fetchXGet and closing it right after with fetchIO_close took a very long time (up to 10min!) on some network. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-03TRANSLATORS: update pt_BR responsiblev3.3.0Xavier Chantry1-2/+2
Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-02fix warning when internal download is not usedXavier Chantry1-1/+1
After commit 30c4d53ce5c16cbbb17a88fe1ad14faf53d91999, get_destfile and get_tempfile are only used for internal download, so move these two functions inside the ifdef Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-02Remove unneed order arguements in zn_CN translationAllan McRae1-1/+1
Fixes FS#12812 Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-02minor fixes on russian translationSergey Tereschenko1-4/+4
Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-02Fix perms on files NEWS and TRANSLATORSGerardo Exequiel Pozzi2-0/+0
Recently changed accidentally from 644 to 755. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-01Update Brazilian Portuguese translationArmando M. Baratti2-144/+137
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-01French translation reformatDan McGee2-50/+66
'make distcheck' had issues with this one and reformatted it. In addition, it found a fuzzy message which is now fixed due to an inadvertent msgid edit. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-01Version bump for 3.3.0Dan McGee1-4/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-01Merge commit 'xavier/trans'Dan McGee29-2767/+2106
2009-08-01Add -Suu operation to the NEWS.Xavier Chantry1-0/+2
Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-31update english british translationJeff Bailes2-142/+127
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-30update hungarian translationNagy Gabor3-305/+313
Thanks to Avramucz Peter <muczyjoe@gmail.com> for having translated all the scripts ! Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-30update simplified chinese translationLu Gan2-122/+100
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-30update russian translationSergey Tereschenko2-275/+262
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-30update ukrainian translationRoman Kyrylych (Роман Кирилич)2-149/+134
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29update german translationMatthias Gorissen3-253/+126
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29update Kazakh translationBaurzhan Muftakhidinov2-140/+125
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29update romanian translationVolodia Macovei2-255/+121
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29update polish translationMateusz Herych2-131/+116
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29update turkish translationSamed Beyribey2-223/+214
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29update czech translationVojtech Gondzala2-128/+115
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29update spanish translationJuan Pablo Gonzalez Tognarelli3-271/+127
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29update italian translationGiovanni Scafora3-25/+25
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29po/fr.po : corrections and improvementsCalimeroTeknik1-111/+112
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29Update French translationXavier Chantry2-258/+110
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-28Regenerate pacman PO filesDan McGee16-16/+112
We missed a message. Commit 3a6ed1142 added the message to gettext, this commit adds it to the PO files. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-28Fix an untranslated message in src/callback.cNagy Gabor1-2/+2
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-28Update PO files in prep for 3.3 releaseDan McGee30-3540/+6121
2009-07-28Update POT filesDan McGee2-173/+209
2009-07-28Update copyrights in gettext filesDan McGee2-2/+2
2009-07-28Update README fileNagy Gabor1-3/+53
1. API changes between 3.2 and 3.3 section has been added. 2. Corrections on alpm_option documentation. Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-28Change the e-mail address of Nagy Gabor in AUTHORSNagy Gabor1-1/+1
The old one is invalid now. Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-27Do not allow pkgnames to start with a hyphenCedric Staniewski1-0/+4
Commandline arguments starting with a hyphen are usually recognized as options by unix tools. Therefore, allowing hyphens at the beginning of a package name requires a different handling of pkgnames as suggested by rm's manpage. It would be possible to make the scripts 'hyphen-safe', but hyphen-prefixed packages will cause trouble for pacman users which do not know these tricks. Signed-off-by: Cedric Staniewski <cedric@gmx.ca> [Dan: remove the repo-add check] Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-27Ensure version screen fits in 80 colsDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-27PKGBUILD-split.proto: pkgbase is a string not an arrayAllan McRae1-1/+1
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-26Revert "makepkg: Exit on failure within build() or package() functions"Dan McGee1-5/+3
As reported in FS#15210, we have some problems with split packages and variable overrides because of this patch. For now, in prep for a release, it is best to back it out and see what we can do later. This reverts commit 621aa26e26fcf578221051e896d6440a0095b8a3. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-26Use lstat instead of stat for -QoXavier Chantry1-1/+1
This fixes: FS#15675 - pacman can not determine ownership of dangling symlinks Using lstat seems more correct than stat for the -Qo operation anyway. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-23Add a fetch callback to allow front-end download supportSebastian Nowicki7-118/+156
This allows a frontend to define its own download algorithm so that the libfetch dependency can be omitted without using an external process. The callback will be used when if it is defined, otherwise the old behavior applies. Signed-off-by: Sebastian Nowicki <sebnow@gmail.com> [Dan: minor cleanups] Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-23Introduce -SuuNagy Gabor8-11/+38
If the user switches from unstable repo to a stable one, it is quite hard to sync its system with the new repo (the user will see many "Local is newer than stable" messages, nothing more). That's why I introduced -Suu, which treats a sync package like an upgrade, iff the package version doesn't match with the local one's. I added a new pactest (sync104.py) to test this, and I updated the documentation of -Su. Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> [Dan: slight doc reword] Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-23New feature: files verificationDan McGee6-13/+91
This implements FS#13877. Add a new option "-Qk" which checks if all of the files for a given package (or packages) are really on the system (i.e. not accidentally deleted). This can be combined with filters and other display options. It also respects both the --quiet and --verbose flags to give varying levels of output. Based on the original patch by Charly Coste <changaco@laposte.net>, thanks for your work! Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-22makepkg: add pkgbase to .PKGINFO and database for split packagesAllan McRae2-0/+2
With split packages, the pkgbase variable provides a useful way to find out which packages were build from the same PKGBUILD. Add it to the packages .PKGINFO file and the repo database only when package splitting is used. Original-patch-by: Pierre Schmitz <pierre@archlinux.de> [Allan: restrict to including only with spilt packages and include after pkgname] Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-22Fix a minor memleakNagy Gabor1-0/+1
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-22Update Italian TranslationGiovanni Scafora2-225/+256
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-20Fix one bug with .paccheck leftover fileXavier Chantry1-2/+5
This happens for example if you install a new package, and one of its backup config file is already on the file system. If the local file was different, it was saved to .pacorig which is fine. However if the local file and pkg file were the same, the pkg file (temporarily extracted as .paccheck) was left on the system. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-20Fix 2 minor memleaksXavier Chantry3-1/+3
Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-20Do not create .pacsave with -R, if the file is unchangedXavier Chantry2-24/+27
This fixes FS#15546 Also fix the interface of unlink_file which was really stupid.. (alpm_list_t used with only one element) Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-20Fix klibc conflict case.Xavier Chantry2-0/+30
A package can now replace symdir->dir by dir without fileconflicts. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-20Fix fileconflict004Xavier Chantry5-29/+103
When one package wants to replace a directory by a file, we check that all files in that directory were owned by that package. Additionally pacman can be more verbose when the extraction of the symlink (or file) fails. The patch to add.c looks more complex than it is, I just moved and reindented code to handle cases 10 and 11 together. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>