summaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAge
* contrib: update .gitignoreAllan McRae2013-06-18
| | | | Signed-off-by: Allan McRae <allan@archlinux.org>
* pacscripts: Update for pacman changesKarol Blazewicz2013-06-18
| | | | | | | | Changes to pacman mean that -Sp can be called without root permissions and '-d' needs passed twice to completely ignore dependencies. Signed-off-by: Karol Błażewicz <karol.blazewicz at gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* pacscripts: don't read the whole package from cacheKarol Blazewicz2013-06-18
| | | | | | | | | | '-q' means "Exit as soon as each specified pattern or filename has been matched." There is no reason to keep reading the whole package from the cache when the install script has already been printed to stdout. Signed-off-by: Karol Błażewicz <karol.blazewicz at gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* checkupdates: Consistency in environmental variable nameAllan McRae2013-06-18
| | | | | | | Use CHECKUPDATES_DB rather than CHECKUPDATE_DB for consistency with the script name. Signed-off-by: Allan McRae <allan@archlinux.org>
* contrib/checkupdates: fix typoAllan McRae2013-06-16
| | | | Signed-off-by: Allan McRae <allan@archlinux.org>
* contrib: Remove harcoded /etc/pacman.confWilliam Giokas2013-05-18
| | | | | Signed-off-by: William Giokas <1007380@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* Revert "paccache: avoid subshell in calling runcmd"Dave Reisner2013-05-18
| | | | | | | | | | | | | | su is terribad. In addition to reverting, this also removes support for privilege escalation via su. If you want to use paccache as root and fail to comprehend how much better sudo is than su, then run paccache directly via su. Fixes FS#35173. This reverts commit 597286eb258f841dfc00f65474138fc6192f0092. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
* paccache: avoid subshell in calling runcmdDave Reisner2013-04-12
| | | | | | | | | Avoids problems with one of the worst CLI tools ever created, su. Fixes FS#34656. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
* contrib/checkupdates: do not logAllan McRae2013-04-09
| | | | | | Avoid the log file filling up with "[PACMAN] synchronizing package lists". Signed-off-by: Allan McRae <allan@archlinux.org>
* contrib: Use sysconfdir instead of /etcWilliam Giokas2013-04-09
| | | | | | | Don't force people to see /etc. Signed-off-by: William Giokas <1007380@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* zsh completion: make sure -Ss worksDaniel Wallace2013-04-06
| | | | | | | | if you put a type in pacman -Ss <regex> it doesn't work because it never passes through they pointer ->sync_search to set $state. All of the other iterations like this have a case, add one for -S*s* Signed-off-by: Allan McRae <allan@archlinux.org>
* contrib: adding checkupdatesKyle Keen2013-03-26
| | | | | | | Signed-off-by: Kyle Keen <keenerd@gmail.com> [Allan: update contrib/README] Signed-off-by: Allan McRae <allan@archlinux.org>
* contrib: Update bash_completionAllan McRae2013-03-26
| | | | | | | Check all options are included in bash-completion. Alphabetize the pacman_key options for easier maintenance. Signed-off-by: Allan McRae <allan@archlinux.org>
* zsh_completion: remove sigfiles from package files completionDaniel Wallace2013-03-26
| | | | | | | use setopt extendedglob to remove sigfiles from package completion Signed-off-by: Daniel Wallace <danielwallace@gtmanfred.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* zsh completion: make $tmp localDaniel Wallace2013-03-26
| | | | | | | | | | | | The tmp variable is conflicting with the $tmp variable in ${^fpath}/_main_complete(N) and which is used to complete all the functions, and causing an error: command not found: for whatever was in $tmp (which in this case is the last value in $words[@]) making it local fixes this. Signed-off-by: Daniel Wallace <danielwallace@gtmanfred.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* zsh completion: Add new makepkg optsWilliam Giokas2013-03-14
| | | | | Signed-off-by: William Giokas <1007380@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* fix distribution of contrib filesAllan McRae2013-03-10
| | | | Signed-off-by: Allan McRae <allan@archlinux.org>
* zsh completion: add support for all longopts commandsDaniel Wallace2013-03-10
| | | | | | | | add all the longopts for the operations and allow for them to be completed just like shortopts Signed-off-by: Daniel Wallace <danielwallace@gtmanfred.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* zsh completion: include flags that can be doubledDaniel Wallace2013-03-10
| | | | | | | | include the flags that could be doubled up like -Sii -Syy -Suu -Qii etc also include the long opts of all the commands Signed-off-by: Daniel Wallace <danielwallace@gtmanfred.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* zsh completion: fix doubling up of specific variablesDaniel Wallace2013-03-10
| | | | | | | | | | -i -y -u -d -s etc, so that they do not disappear In the future I hope there is an easy way to limit it to just 2, right now the *- makes it so that it can be added as many times as you want. Signed-off-by: Daniel Wallace <danielwallace@gtmanfred.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* zsh completion: add --color to completionDaniel Wallace2013-03-10
| | | | | Signed-off-by: Daniel Wallace <danielwallace@gtmanfred.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* zsh completion: make sure all indentions are tabsDaniel Wallace2013-03-10
| | | | | Signed-off-by: Daniel Wallace <danielwallace@gtmanfred.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* zsh completion: use consistent case statement styleDaniel Wallace2013-03-10
| | | | | Signed-off-by: Daniel Wallace <danielwallace@gtmanfred.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* zsh completion: fix stacked completionDaniel Wallace2013-03-10
| | | | | | | | | Before this, if you do pacman -Sy<tab> it completes to -y. Now, with -S and the other operations in the actual option _arguments, it won't remove the operations. Signed-off-by: Daniel Wallace <danielwallace@gtmanfred.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* zsh completion: add deptest and databaseDaniel Wallace2013-03-10
| | | | | Signed-off-by: Daniel Wallace <danielwallace@gtmanfred.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* make paclog-pkglist understand 'downgraded'Simon Gomizelj2013-03-10
| | | | | Signed-off-by: Simon Gomizelj <simongmzlj@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* bash_completion: update for colorAllan McRae2013-03-10
| | | | Signed-off-by: Allan McRae <allan@archlinux.org>
* contrib: Add color to paccacheWilliam Giokas2013-03-08
| | | | | Signed-off-by: William Giokas <1007380@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* contrib: Add color to bacmanWilliam Giokas2013-03-08
| | | | | Signed-off-by: William Giokas <1007380@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* contrib: Make pacdiff colors the same as makepkgWilliam Giokas2013-03-08
| | | | | | | Added an `ask` message function that emulates pacman's appearance. Signed-off-by: William Giokas <1007380@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* paccache: use xargs to execute mv/rm commandsDave Reisner2013-02-24
| | | | | | | | | | This removes the restriction on the length of the command line, as xargs will work around by running multiple instances of the command for us. As seen: https://bbs.archlinux.org/viewtopic.php?pid=1232959 Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
* add missing utilities to contrib/READMEAndrew Gregory2013-02-07
| | | | | Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* unset executable bit on updpkgsums.sh.inAndrew Gregory2013-02-07
| | | | | | | No other contrib script is executable. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* paclog-pkglist: parse entries with caller infoAndrew Gregory2013-01-28
| | | | | Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* Fix printing of pathsWilliam Giokas2013-01-28
| | | | | | | | | | | | | | Originally printed a leading \ before all path names as the `' would be removed during the make. Using '' should be just as good as using `'. paccache.sh.in: die "cachedir \`%s' does not exist or is not a directory" "$cachedir" paccache die "cachedir \%s does not exist or is not a directory" "$cachedir" Signed-off-by: William Giokas <1007380@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* paccache: pass the --file option to pacsortDave Reisner2013-01-28
| | | | | | | Resolves FS#33455. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
* pacdiff: update copyright noticeFlorian Pritz2013-01-03
| | | | | Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Allan McRae <allan@archlinux.org>
* pacdiff: Add option to overwrite, clarify remove optionFlorian Pritz2013-01-03
| | | | | Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Allan McRae <allan@archlinux.org>
* pacdiff: check cmp's exit code rather than outputFlorian Pritz2013-01-03
| | | | | Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Allan McRae <allan@archlinux.org>
* pacdiff: be more verbose if we rename or removeFlorian Pritz2013-01-03
| | | | | | | Doesn't hurt and reassures the user that we did the right thing. Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Allan McRae <allan@archlinux.org>
* pacdiff: color filename and mention what we foundFlorian Pritz2013-01-03
| | | | | Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Allan McRae <allan@archlinux.org>
* Update copyright year for 2013Allan McRae2013-01-03
| | | | Signed-off-by: Allan McRae <allan@archlinux.org>
* PKGBUILD.vim: improve 'options' highlighting, add extra keywordsJason St. John2012-08-07
| | | | | | | | | | | | | This fixes the current syntax highlighting behavior in the 'options' array, which does *not* flag illegal options (e.g. typos, unsupported options). The shDoubleQuote and shSingleQuote options were the culprits. Now, if you enter `'!imptydurs'`, the typoed option will be flagged red. I also added syntax highlighting for the new options listed in `man 5 makepkg.conf`, which I believe were introduced around pacman 4.0.0. Signed-off-by: Jason St. John <jstjohn@purdue.edu> Signed-off-by: Dan McGee <dan@archlinux.org>
* Merge branch 'maint'Dan McGee2012-08-01
|\
| * contrib/bacman: fix package architecture in filenameAllan McRae2012-08-01
| | | | | | | | | | | | | | | | | | | | Give the generated package the correct architecture in its filename rather than assuming the system architecture. Also add updated copyright notice. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
* | contrib/updpkgsums: Fix error messageAllan McRae2012-08-01
| | | | | | | | | | Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
* | asdeps flag passed from makepkg to pacmanDaniel Wallace2012-08-01
| | | | | | | | | | | | | | | | | | add the asdeps flag for makepkg so that it does pacman -U --asdeps [Allan: clean-up whitespace] Signed-off-by: Daniel Wallace <daniel.wallace12@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* | paccache: adopt size_to_humanDave Reisner2012-06-25
| | | | | | | | Signed-off-by: Dave Reisner <dreisner@archlinux.org>
* | zsh-completion: Allow use of names in pacman-keyDaniel Wallace2012-06-25
| | | | | | | | | | | | | | | | | | With pacman-key now having the ability to use names in --list-keys etc, we can remove the comments that temporarily blocked this in the zsh completion file. Signed-off-by: Daniel Wallace <daniel.wallace@gatech.edu> Signed-off-by: Allan McRae <allan@archlinux.org>
* | Added syntax highlighting for the sha256sums, sha384sums, and sha512sums ↵Jason St. John2012-06-25
| | | | | | | | | | | | | | | | arrays Fixed FS#29213 Signed-off-by: Jason St. John <jstjohn .. purdue . edu> Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>