summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-18dload.c : various fixesXavier Chantry
- fix one memleak if get_filename failed - cleanup according to Joerg's feedback: "url_for_string: If fetchParseURL returned successful, you should always have a scheme set. The logic for anonftp should only be needed for very broken server -- do you know of any such? download_internal: Specifying 'p' is now a nop -- it is tried by default first with fall-back to active FTP." Signed-off-by: Xavier Chantry <shiningxc@gmail.com> [Dan: remove from pacman.conf and pacman.conf.5] Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-08Merge branch 'maint'Dan McGee
2009-08-08Fix nonsensical replaceDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-08Pass all xsltproc-opts in one argumentDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-08Fix for FS#15810Nagy Gabor
Skip the SyncFirst dialog, if all the -S packages are SyncFirst packages. Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-08dload.c : only call fwrite onceXavier Chantry
I assume the loop was never iterated more than once, because the write location was not updated at each loop iteration (buffer instead of buffer + nwritten), yet we never had reports of corrupted download. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-08Be consistent with naming of handle_deps functionAllan McRae
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 Chantry
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-08Remove builddeps from option parserAllan McRae
Leftover from commit ae5ef3b9 Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-08makepkg: change to pkgdir before creating PKGINFO fileAllan McRae
Commit 01f9ae63 moved that creation of the PKGINFO file to before changing to pkgdir. This causes issues when using the -R option (FS#15851). Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-03repo-add: clarify one messageXavier Chantry
Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-03Add a missing newline.Xavier Chantry
Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-03Use full path to ldconfigMarc - A. Dahlhaus
If /sbin is not in the PATH and sudo is used, ldconfig cannot be found. So use /sbin/ldconfig instead. The code checked for the existence of /sbin/ldconfig anyway.. Signed-off-by: Marc - A. Dahlhaus <mad@wol.de> Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-02TRANSLATORS: update pt_BR responsibleXavier Chantry
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 Chantry
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 McRae
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 Tereschenko
Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-01Fix perms on files NEWS and TRANSLATORSGerardo Exequiel Pozzi
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. Baratti
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-01French translation reformatDan McGee
'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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-01Merge commit 'xavier/trans'Dan McGee
2009-08-01Add -Suu operation to the NEWS.Xavier Chantry
Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-31update english british translationJeff Bailes
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-30update hungarian translationNagy Gabor
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 Gan
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-30update russian translationSergey Tereschenko
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-30update ukrainian translationRoman Kyrylych (Роман Кирилич)
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29update german translationMatthias Gorissen
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29update Kazakh translationBaurzhan Muftakhidinov
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29update romanian translationVolodia Macovei
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29update polish translationMateusz Herych
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29update turkish translationSamed Beyribey
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29update czech translationVojtech Gondzala
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29update spanish translationJuan Pablo Gonzalez Tognarelli
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29update italian translationGiovanni Scafora
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29po/fr.po : corrections and improvementsCalimeroTeknik
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-29Update French translationXavier Chantry
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-07-28Regenerate pacman PO filesDan McGee
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 Gabor
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-27Update PO files in prep for 3.3 releaseDan McGee
2009-07-27Update POT filesDan McGee
2009-07-27Update copyrights in gettext filesDan McGee
2009-07-27Update README fileNagy Gabor
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-27Change the e-mail address of Nagy Gabor in AUTHORSNagy Gabor
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-26Do not allow pkgnames to start with a hyphenCedric Staniewski
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-26Ensure version screen fits in 80 colsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-07-26PKGBUILD-split.proto: pkgbase is a string not an arrayAllan McRae
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 McGee
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-25Use lstat instead of stat for -QoXavier Chantry
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>