summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Various documentation updatesDan McGee2010-12-29
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* doc/PKGBUILD: document that functions run in -e modeDan McGee2010-12-13
| | | | | | | Caught this noted on the forums, but it is definitely worth a note in the manpage as well. Signed-off-by: Dan McGee <dan@archlinux.org>
* Fix manpage wrap not at 80 charactersDan McGee2010-12-13
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Update news and bump versionsDan McGee2010-12-12
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* be_files: write EPOCH instead of FORCEXavier Chantry2010-12-12
| | | | | | | | | | | | This patch is only meant for 3.4.x. It prepares the place for the future epoch-aware release. All force packages that get reinstalled or upgraded will get an EPOCH entry in the local database, and thus the new pacman with epoch won't reinstall them by mistake on the first -Su. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Fix possible null pointer deref in check_archDan McGee2010-12-10
| | | | | | | | | | | If we have a corrupted database, a package can come through without an arch, causing the code to blow up when making strcmp() calls. It might even be possible with perfectly valid database entries lacking an 'arch =' line. This behavior was seen as at least one of the problems in FS#21668. Ensure pkgarch is not null before doing anything further. Signed-off-by: Dan McGee <dan@archlinux.org>
* Small update to Russian translationSergey Tereschenko2010-11-08
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add initial 3.4.2 NEWS draftDan McGee2010-10-28
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Update Swedish translationTobias Eriksson2010-10-28
| | | | | | | | 442 translated strings, no fuzzies, no untranslated. modified: po/sv.po Signed-off-by: Dan McGee <dan@archlinux.org>
* PKGBUILD.vim: add special licenses BSD MIT ZLIB PythonXavier Chantry2010-10-28
| | | | | Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Small updates to Spanish translationRicardo Pérez2010-10-28
| | | | | | Also addresses FS#21373. Signed-off-by: Dan McGee <dan@archlinux.org>
* alpm/sync: very small memleak fixXavier Chantry2010-10-18
| | | | | Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* libalpm/remove: fix funny progress bar problem with empty packagesXavier Chantry2010-10-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ pacman -Rd kde-meta Remove (15): kde-meta-kdewebdev-4.5-1 [0.00 MB] kde-meta-kdeutils-4.5-1 [0.00 MB] kde-meta-kdetoys-4.5-1 [0.00 MB] kde-meta-kdesdk-4.5-1 [0.00 MB] kde-meta-kdeplasma-addons-4.5-1 [0.00 MB] kde-meta-kdepim-4.5-1 [0.00 MB] kde-meta-kdenetwork-4.5-1 [0.00 MB] kde-meta-kdemultimedia-4.5-1 [0.00 MB] kde-meta-kdegraphics-4.5-1 [0.00 MB] kde-meta-kdegames-4.5-1 [0.00 MB] kde-meta-kdeedu-4.5-1 [0.00 MB] kde-meta-kdebase-4.5-1 [0.00 MB] kde-meta-kdeartwork-4.5-1 [0.00 MB] kde-meta-kdeadmin-4.5-1 [0.00 MB] kde-meta-kdeaccessibility-4.5-1 [0.00 MB] Total Removed Size: 0.06 MB Do you want to remove these packages? [Y/n] ( 1/15) removing kde-meta-kdewebdev [------------------------] 100% $ it stopped here.. On one side, libalpm did not initialize the progress bar at 0 percent. So with meta-packages that have 0 files, there was only one progress bar call with percent == 100. On the other side, pacman callback kept track of the last percent that it received. When there are only meta-packages, we always received only 100, so pacman believed the progress bar needed not update. Thus only the first package was actually displayed. A proper fix for the callback would be to keep track of last package name to make sure the recorded prev percent applies. But since we now specify that both Add and Remove should at least send percent=0 at beginning and percent=100 at the end, there is no need for that. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Read 'force' entry from packagesDan McGee2010-10-11
| | | | | | | | We weren't reading this in from our packages, thus causing us not to write it out to our local database. Adding this now will help ease the upgrade path for epoch later and not require reinstallation of all force packages. Signed-off-by: Dan McGee <dan@archlinux.org>
* Check for python-2.7Allan McRae2010-10-05
| | | | | | | | | Add python-2.7 to the list of checked versions of python and add a check for a python2 binary before resorting to the unversioned python binary. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
* Make testsuite python-2.7 compatibleRémy Oudompheng2010-10-05
| | | | | | | | | os.walk(".") adds a prefix of "./" to filenames in python-2.7 which causes libalpm not to like archives generated in the testsuite resulting in widespread failure. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
* bacman: unify package creation with makepkgAllan McRae2010-09-15
| | | | | | | | | | | | | Currently bacman always compresses with gzip now matter what PKGEXT is set to. Rework the entire package creation process to be similar to that in makepkg. This also make the explicit assumption that PKGEXT is defined in makepkg.conf. Thanks to Nelson Chan <khcha.n.el@gmail.com> for the original patch to fix the incorrect package compression. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
* Update Portuguese translationGaspar Santos2010-09-15
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* PKGBUILD-example.txt: Remove superfluous "|| return 1".Lukas Fleischer2010-09-15
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Update Kazakh translationBaurzhan Muftakhidinov2010-09-15
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Minor translation file updates after `make distcheck`Dan McGee2010-09-03
| | | | | | | It touched up these a bit after it ran, so might as well check the changes in so we don't have to deal with them again later. Signed-off-by: Dan McGee <dan@archlinux.org>
* Retroactive additions to 3.4.1 changesDan McGee2010-09-03
| | | | | | Forgot to mention things involving the translation changes we had. Signed-off-by: Dan McGee <dan@archlinux.org>
* libalpm Swedish translation updateTobias Eriksson2010-09-03
| | | | | Signed-off by: Tobias Eriksson <tobier@tobier.se> Signed-off-by: Dan McGee <dan@archlinux.org>
* German translation updatesMatthias Gorissen2010-09-02
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Small fixes to Kazakh translationBaurzhan Muftakhidinov2010-09-01
|
* 3.4.1 version bumpDan McGee2010-09-01
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add new European Portuguese translationGaspar Santos2010-09-01
| | | | | | | | | | | This is being checked in as 'pt' rather than 'pt_PT' as that is what Transifex seems to want, and it is also the dominant choice of packages already installed on my system when doing a count of the files located in the /usr/share/locale translation directories. Thanks for the new translation! Signed-off-by: Dan McGee <dan@archlinux.org>
* Add dir missing from autoclean.shDan McGee2010-09-01
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* pactest: add shell to fake root environmentJonathan Conder2010-08-27
| | | | | | | Adds a shell to the fake root set up for pactests, which was not needed previously due to a bug (debian #582847) in fakechroot. Signed-off-by: Jonathan Conder <j@skurvy.no-ip.org>
* Update Chinese translation甘露(Gan Lu)2010-08-25
| | | | | | Submitted through Transifex on 2010-07-02. Signed-off-by: Dan McGee <dan@archlinux.org>
* PKGBUILD.5: document illegal variable contentsAndres P2010-08-23
| | | | | Signed-off-by: Andres P <aepd87@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* Update translation files for 3.4.1 freezeDan McGee2010-08-23
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Update NEWS for 3.4.1 releaseDan McGee2010-08-23
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add Slovak translationJozef Riha2010-08-23
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* repo-add: create relative DB symlinksDan McGee2010-08-18
| | | | | | | | | | As noted in FS#20498, if an absolute path is used for specifying the database when invoking repo-add, the symlink generated will point to the absolute path instead of being relative to the directory. Fix this for the two linking cases, but leave the copy untouched so that will still work. Signed-off-by: Dan McGee <dan@archlinux.org>
* makepkg: add file to the list of needed utilitiesAllan McRae2010-08-18
| | | | | Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
* Updates for Polish translationsMateusz Herych2010-08-18
| | | | | Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
* makepkg: check tput support before usingAllan McRae2010-08-18
| | | | | | | | Prevent makepkg aborting whe colors are enabled and the terminal does not support setting colors by tput. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
* Small fix to Kazakh translationBaurzhan Muftakhidinov2010-07-27
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* bash_completion: negate expression inside bracketsDave Reisner2010-07-27
| | | | | | | Avoids letting the shell evaluate ! as something else (e.g. an alias). Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Fix compile error in certain casesDan McGee2010-07-27
| | | | | | | | | | | | | I'm not sure why it doesn't happen everywhere, but we need <sys/stat.h> for umask and mkdir in this file. I hit this today: cc1: warnings being treated as errors util.c: In function ‘makepath’: util.c:128:2: error: implicit declaration of function ‘umask’ util.c:141:5: error: implicit declaration of function ‘mkdir’ make[2]: *** [util.o] Error 1 Signed-off-by: Dan McGee <dan@archlinux.org>
* Mark sync_pkg and sync_target as static functionsDan McGee2010-07-27
| | | | | | | We no longer use these anywhere outside of sync.c, so do the rename and add static to their definition to meet our coding standards. Signed-off-by: Dan McGee <dan@archlinux.org>
* Maintain a list of seen packages when installing a groupDan McGee2010-07-27
| | | | | | | | | | | | | | As reported in FS#20221, we don't always do the right thing when installing a group and using the --needed option. This was due to the code pulling packages based on what was already in the transaction's add list, but completely ignoring the fact that we may have already seen and skipped this same package in an earlier repository. Add a list to the private _alpm_sync_pkg() function that allows us to have this extra information so we don't mistakenly downgrade a package when using --needed. Signed-off-by: Dan McGee <dan@archlinux.org>
* Add two pactests for group and --needed interactionDan McGee2010-07-27
| | | | | | | | The first step for resolving FS#20221. sync023 is the case from the bug report; sync022 is already working fine but we have no tests at all that test the --needed option in any form. Signed-off-by: Dan McGee <dan@archlinux.org>
* Always treat PKGLIST as an array.Dave Reisner2010-07-27
| | | | | | | | | Fixes repackaging issues when multiple package names are passed to the --pkg option. Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
* docs: Add a 'website' targetDan McGee2010-07-02
| | | | | | | | This will allow me to be not quite as lazy in getting website changes out to the Arch Linux server by making it trivial to get everything packaged up and working correctly. Signed-off-by: Dan McGee <dan@archlinux.org>
* Fix some incorrect asciidoc syntaxDan McGee2010-07-02
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* makepkg: fix sudo/su calling of pacmanAllan McRae2010-07-01
| | | | | | | | | | | | | | | | | | | This fixes two issues: 1) using "sudo -l" results in excess password asking under certian configurations. Revert to the pre 3.4 behaviour of always using sudo if it is installed. 2) Properly escape the command so that that versioned dependencies, such as "foo>4", do not get treated as output redirection when using su. This also unifies the generation of the pacman line and its privilege escalation. Based on patches supplied by Andres P <aepd87@gmail.com> with minor adjustments for suitability for the maint branch. Original-work-by: Andres P <aepd87@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* Update Chinese translation to fix gettext positional params甘露(Gan Lu)2010-07-01
| | | | | | | Because the shell gettext doesn't allow for positional gettext substitution, be more careful about where we use it. Signed-off-by: Dan McGee <dan@archlinux.org>
* makepkg: try standard paths for coreutils duAllan McRae2010-06-30
| | | | | | | | | Attempt to find "du" from coreutils in the standard paths and if not revert to the version in the users PATH. Using the full path prevents issues such as FS#19932, where a different and incompatible version of du is put earlier in the users path. Signed-off-by: Allan McRae <allan@archlinux.org>