summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAge
* makepkg: Add note with some required programs for executionDan McGee2007-07-15
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add --asdeps option to pacmanDan McGee2007-07-15
| | | | | | | | | | This replaces the former -D operation that was undocumented and rather hacky. It can be used with add, upgrade, or sync transactions and will affect all packages installed. Should close FS #7193. Also tell makepkg to use this new flag. Signed-off-by: Dan McGee <dan@archlinux.org>
* Switch repo-add, repo-remove, and pacman-optimize to bsdtarDan McGee2007-07-15
| | | | | | Relatively straightforward fixes (s/tar/bsdtar/g, add hyphens to options). Signed-off-by: Dan McGee <dan@archlinux.org>
* Fix previous makepkg patch, and some pacman output.Andrew Fyfe2007-07-12
| | | | | | | | | | makepkg: We still need the source files in $srcdir because PKGBUILDS need access to noextract() files and other file not handled by by extract_source(). (eg config files) query.c: Fix some output formating. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* FS#7271 - [patch] option for avoiding caching netfilesAndrew Fyfe2007-07-10
| | | | | | | | Change the behaviour of makepkg so no longer stores a copy of the source tarball in $srcdir, instead it downloads all sources to $SRCDEST then extracts them to $srcdir. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* makepkg: when running as root, cut out some warningsDan McGee2007-07-10
| | | | | | | When running as root, we don't care if fakeroot is installed, and the user certainly isn't "unprivileged". Cut out these warnings. Signed-off-by: Dan McGee <dan@archlinux.org>
* Cleanup of pacman_deptest()Andrew Fyfe2007-07-10
| | | | | | | | Clean up some left over code from http://projects.archlinux.org/git/gitweb.cgi?p=pacman.git;a=commitdiff;h=7653bb93997f52848b54ab80868cd6da52808a75 Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* scripts/makepkg.sh.in: Add CHOST to the list of variables exported.Andrew Fyfe2007-07-10
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* Change the exit code for pacman_deptest().Andrew Fyfe2007-07-09
| | | | | | | | Changed the exit code for missing deps from 1 to 127 because 1 is used for other errors. makepkg breaks if pacman exits with 1 for any reason other than a missing dep. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* Make paragraph text in scripts single stringsDan McGee2007-07-06
| | | | | | | | It is much easier for translators to deal with paragraphs as strings rather than by lines. Take all usage and version information and convert it to this format. Signed-off-by: Dan McGee <dan@archlinux.org>
* Move scripts from *.in to *.sh.in so gettext can determine typeDan McGee2007-07-06
| | | | | | | If we move the scripts from *.in to *.sh.in and *.py.in, gettext can pull the required strings to translate a whole lot easier. Do this. Signed-off-by: Dan McGee <dan@archlinux.org>
* scripts/makepkg.in: Don't include .PKGINFO etc in .FILELISTAndrew Fyfe2007-06-28
| | | | | | | And move .PKGINFO and .FILELIST to be the first to files included in the package. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* Remove lockfile configuration from frontend, make it job of libalpmDan McGee2007-06-27
| | | | | | | | | | | | I previously introduced some patches to make just about every path in pacman/libalpm configurable; doing this with the lockfile seemed a bit too far and we really should just place the lockfile where it belongs- with the DB that needs locking. More details in this thread: http://archlinux.org/pipermail/pacman-dev/2007-June/008499.html Signed-off-by: Dan McGee <dan@archlinux.org>
* scripts/makepkg.in: Use bsdtar to find packages for xdelta.Andrew Fyfe2007-06-27
| | | | | | | | When looking for old packages to create a delta from used bsdtar to read the packages .PKGINFO to check it's name and arch instead of depending on the filename of th package. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* scripts/makepkg.in: Fix creation of .FILELISTChantry Xavier2007-06-27
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* FS7485: Replace tar/cpio/unzip with bsdtar for extracting/creating packages.Baptiste Daroussin2007-06-27
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* FS7338: Fix conflicts typo totally this time.Chantry Xavier2007-06-17
| | | | | | | | | | | The last typo fix for conflicts wasn't complete, it only fixed one occurence of the conflicts variable, instead of the two : http://www.archlinux.org/pipermail/pacman-dev/2007-May/008222.html This caused all conflicts statement to be ignored, so all databases will need to be rebuilt with a fixed repo-add. Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
* scripts/makepkg.in: Forgot the fakeroot switch when changing to GNU getopt.Andrew Fyfe2007-06-13
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* scripts/makepkg.in: Added fakeroot version to .PKGINFO header.Andrew Fyfe2007-06-12
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* scripts/makepkg.in: Switch to GNU getopt.Andrew Fyfe2007-06-12
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* FS7355: Add --ignorearch option to makepkgAndreas Hauser2007-06-11
| | | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* makepkg: Make it possible to create an empty packageRoman Kyrylych2007-06-09
| | | | | Signed-off-by: Roman Kyrylych <roman@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
* Autotool clean up.Andrew Fyfe2007-06-04
| | | | | | | | | * Add vim modeline to Makefile.am and configure.ac * Fix white space in Makefile.am and configure.ac * Add contrib/wget-xdelta.sh to EXTRA_DIST in Makefile.am Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* scripts/makepkg.in: Add gettext translation for WARNING and ERROR.Andrew Fyfe2007-06-04
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* scripts/makepkg.in: Fix version comparision in create_xdelta().Andrew Fyfe2007-06-04
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* scripts/abs.in: Rearrange/Cleanup.Andrew Fyfe2007-06-04
| | | | | | | | | | | * Rearrange the script. * Add gettext support. * Clean up usage message. * Add PACKAGE_BUGREPORT to substitution in scripts/Makefile.am Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* Fix pacman-optimize autoconf pathsDan McGee2007-06-04
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add gettext/i18n to most of the currently-used scriptsGiovanni Scafora2007-06-04
| | | | | Signed-off-by: Giovanni Scafora <linuxmania@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* makeworld: var rename from version -> myverDan McGee2007-06-04
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* scripts/makepkg.in: More clean up.Andrew Fyfe2007-06-03
| | | | | | | | | * Add ChangeLog to source package. * Quote references to $BUILDSCRIPT. * Check $srcdir isn't empty when running --noextract. * Check $pkgdir isn't empty when running --repackage. Signed-off-by: Dan McGee <dan@archlinux.org>
* scripts/makepkg.in: Improve error handling and clean up on exit.Andrew Fyfe2007-06-03
| | | | | | | | | | | | | | * makepkg now runs with errexit (exit on syntax error) enabled for the whole script. * Removed unneeded setting of errexit around build(). * Added bash traps to catch TERM HUP INT signals. * Added trap to catch unhandled/unknown errors. * Added trap to call clean_up() when the script exits. * Moved call to remove_deps() into clean_up(). * Moved -c/--clean code into clean_up(). Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* Clean up output messages for translation.Andrew Fyfe2007-06-03
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* scripts/makepkg.in: Rewrite check_{options,buildenv} to tidy them up.Andrew Fyfe2007-06-03
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* scripts/makepkg.in: Clean up.Andrew Fyfe2007-06-03
| | | | | | | | | * Move create_xdelta() outside of fakeroot run. * Clean up dep check functions. * Clean up extract_sources(). Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* Rename functions in makepkg for consistencyDan McGee2007-06-02
| | | | | | | Add a hyphen to any function name that needs it so we are consistent across the board. Signed-off-by: Dan McGee <dan@archlinux.org>
* makepkg: fix create_xdelta() and add warningAsh Milsted2007-06-02
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* scripts/makepkg.in: Some more clean ups.Andrew Fyfe2007-06-02
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* makepkg: code cleanupDan McGee2007-06-02
| | | | | | | * Collapse some if statements (Andrew Fyfe) * Add some E_ exit designations Signed-off-by: Dan McGee <dan@archlinux.org>
* scripts/makepkg.in: Move the remaining stages into functions.Andrew Fyfe2007-06-02
| | | | | | | | | | * Move download code to download_sources() * Move checksum generation code to generate_checksums() * Move checksum check code to check_checksums() * Move extract source code to extract_sources() Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* scripts/makepkg.in: All calls to eval_gettext have been remove, gettext.sh ↵Andrew Fyfe2007-06-02
| | | | | | is no longer needed. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* Drop --usesudo option and add some checks related to ASROOTDan McGee2007-06-01
| | | | | | | | Drop the --usesudo option and use it by default if running as a non-root user. Check the usage of the --asroot option and do not allow it to be used as a normal user. A few other small fixes, including a typo in $confdir. Signed-off-by: Dan McGee <dan@archlinux.org>
* scripts/makepkg.in: Clean up gen/check checksum code.Andrew Fyfe2007-06-01
| | | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* scripts/makepkg.in: Various clean ups.Andrew Fyfe2007-06-01
| | | | | | | | | * etc/makepkg.conf.in: Add description for xdelta. * doc/makepkg.conf.5: Add description for xdelta. * scripts/makepkg.in: Various clean ups. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* Cleaned up dependencies check functions in makepkgAndrew Fyfe2007-06-01
| | | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* FS7319: Add option to disable the inclusion of abs script.Andrew Fyfe2007-05-31
| | | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* Add autotool substitution for SRCEXT.Andrew Fyfe2007-05-31
| | | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* Clean up variable usage in create_xdelta() and add a check for the xdelta ↵Dale Ogilvie2007-05-30
| | | | | | program. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* Add support for creating xdeltas in makepkg.Dale Ogilvie2007-05-30
| | | | | | | | Add xdelta option to makepkg.conf Added xfer script to contrib. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* makepkg: do not retrieve sources if NOEXTRACT or REPKG setDag Odenhall2007-05-31
| | | | | | Signed-off-by: Dag Odenhall <dag.odenhall@gmail.com> Signed-off-by: Andrew Fyfe <Andrew Fyfe andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* makepkg: switch applicable $startdir/dir refs to new variable namesDan McGee2007-05-31
| | | | | | | After introducing $pkgdir and $srcdir, we can switch some lookups to these new variables. Signed-off-by: Dan McGee <dan@archlinux.org>