|  | Commit message (Collapse) | Author | Age | 
|---|
| | 
| 
| 
| 
| 
| 
| | - Downloaded files weren't being copied to $srcdir
	- Counter wasn't being incremented for checksum checks
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> | 
| | 
| 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Dan McGee <dan@archlinux.org> | 
| | 
| 
| 
| | Signed-off-by: Dan McGee <dan@archlinux.org> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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> | 
| | 
| 
| 
| 
| 
| | Relatively straightforward fixes (s/tar/bsdtar/g, add hyphens to options).
Signed-off-by: Dan McGee <dan@archlinux.org> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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> | 
| | 
| 
| 
| 
| 
| 
| 
| | 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> | 
| | 
| 
| 
| 
| 
| 
| | 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> | 
| | 
| 
| 
| 
| 
| 
| 
| | 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> | 
| | 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> | 
| | 
| 
| 
| 
| 
| 
| 
| | 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> | 
| | 
| 
| 
| 
| 
| 
| 
| | 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> | 
| | 
| 
| 
| 
| 
| 
| | 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> | 
| | 
| 
| 
| 
| 
| 
| | And move .PKGINFO and .FILELIST to be the first to files included in the
package.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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> | 
| | 
| 
| 
| 
| 
| 
| 
| | 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> | 
| | 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> | 
| | 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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> | 
| | 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> | 
| | 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> | 
| | 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> | 
| | 
| 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Dan McGee <dan@archlinux.org> | 
| | 
| 
| 
| 
| | Signed-off-by: Roman Kyrylych <roman@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | * 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> | 
| | 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> | 
| | 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * 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> | 
| | 
| 
| 
| | Signed-off-by: Dan McGee <dan@archlinux.org> | 
| | 
| 
| 
| 
| | Signed-off-by: Giovanni Scafora <linuxmania@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org> | 
| | 
| 
| 
| | Signed-off-by: Dan McGee <dan@archlinux.org> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | * 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> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * 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> | 
| | 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> | 
| | 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | * 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> | 
| | 
| 
| 
| 
| 
| 
| | 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> | 
| | 
| 
| 
| | Signed-off-by: Dan McGee <dan@archlinux.org> | 
| | 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> | 
| | 
| 
| 
| 
| 
| 
| | * Collapse some if statements (Andrew Fyfe)
* Add some E_ exit designations
Signed-off-by: Dan McGee <dan@archlinux.org> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | * 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> | 
| | 
| 
| 
| 
| 
| | is no longer needed.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> | 
| | 
| 
| 
| 
| 
| 
| 
| | 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> | 
| | 
| 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Dan McGee <dan@archlinux.org> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | * 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> | 
| | 
| 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Dan McGee <dan@archlinux.org> | 
| | 
| 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Dan McGee <dan@archlinux.org> | 
| | 
| 
| 
| 
| | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Dan McGee <dan@archlinux.org> | 
| | 
| 
| 
| 
| 
| | program.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> | 
| | 
| 
| 
| 
| 
| 
| 
| | Add xdelta option to makepkg.conf
Added xfer script to contrib.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> |