summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2007-06-01scripts/makepkg.in: Clean up gen/check checksum code.Andrew Fyfe
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
2007-06-01scripts/makepkg.in: Various clean ups.Andrew Fyfe
* 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>
2007-06-01Cleaned up dependencies check functions in makepkgAndrew Fyfe
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-31FS7319: Add option to disable the inclusion of abs script.Andrew Fyfe
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-31Add autotool substitution for SRCEXT.Andrew Fyfe
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-30Clean up variable usage in create_xdelta() and add a check for the xdelta ↵Dale Ogilvie
program. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-30Add support for creating xdeltas in makepkg.Dale Ogilvie
Add xdelta option to makepkg.conf Added xfer script to contrib. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-31makepkg: do not retrieve sources if NOEXTRACT or REPKG setDag Odenhall
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>
2007-05-31makepkg: switch applicable $startdir/dir refs to new variable namesDan McGee
After introducing $pkgdir and $srcdir, we can switch some lookups to these new variables. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-30Check if pkgdir exists in create_packageDag Odenhall
Signed-off-by: Dag Odenhall <dag.odenhall@gmail.com> Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-30makepkg: fix double occurance of word in asroot warningDag Odenhall
Signed-off-by: Dag Odenhall <dag.odenhall@gmail.com> Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-30makepkg: add srcdir and pkgdir variablesDan McGee
We already have $startdir, so this introduces two more shorthand variables for the most commonly accessed directories. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-30makepkg: add source package creation optionDan McGee
Add a new --source flag that allows creation of a source-only package. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-30scripts: do autoconf path replacement rightDan McGee
This should finally get the path replacement in our scripts right. This is the way the autoconf package itself does it and should not need much further tweaking. Threw in a few trailing whitespace corrections from the scripts as well. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-29Substitute config directory in scripts.Andrew Fyfe
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-29Set paths in pacman-optimize to use configure-time pathsDan McGee
By setting up a few more AC_SUBST macros in configure.ac, we can fill in paths in the scripts on the fly instead of having them in multiple places. Other small fixes: * Fix an oops on my last commit where I had some lines stil commented. * Fix makepkg bug where the generated package name using PKGEXT had two periods (..). Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-29Get --help and --version options working on all scriptsDan McGee
Added the autoconf option std-options to the scripts/ directory, which checks to ensure all programs have both --help and --version options. A few things needed cleaning up to get this working. To test these types of options, use the 'make distcheck' target. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-28Switch to printf for output messages.Andrew Fyfe
Using printf we can avoid haveing to use eval_gettext and the ugly escape sequances required to use it. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27Add autotool-generated scripts to .gitignoreDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-27Remove extra_dist from scripts/Makefile.amAndrew Fyfe
This is automaticly done by autoconf. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27Fixed typo in scripts/repo-remove.inAndrew Fyfe
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27chmod -x scripts/*.inAndrew Fyfe
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27autotool scripts/updatesyncAndrew Fyfe
- move scripts/updatesync -> scripts/updatesync.in - add -V --version options to scripts/updatesync.in - add autotool commands to generate scripts/updatesync Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27autotool scripts/repo-removeAndrew Fyfe
- move scripts/repo-remove -> scripts/repo-remove.in - add -V --version options to scripts/repo-remove.in - add autotool commands to generate scripts/repo-remove Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27Added copyright header to scripts/abs.inAndrew Fyfe
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27autotool scripts/repo-addAndrew Fyfe
- move scripts/repo-add -> scripts/repo-add.in - add -V --version options to scripts/repo-add.in - add autotool commands to generate scripts/repo-add Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27move parameter count check after check for help and version.Andrew Fyfe
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27autotool scripts/pacman-optimizeAndrew Fyfe
- move scripts/pacman-optimize -> scripts/pacman-optimize.in - add -V --version options to scripts/pacman-optimize.in - add autotool commands to generate scripts/pacman-optimize Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27autotool scripts/makeworldAndrew Fyfe
- move scripts/makeworld to scripts/makeworld.in - add -V --version options to scripts/makeworld.in - add autotool commands to generate scripts/makeworld Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27autotool scripts/gensyncAndrew Fyfe
- move scripts/gensync -> scripts/gensync.in - add -V --version options to scripts/gensync.in - add autotool commands to generate scripts/gensync Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27autotool scripts/absAndrew Fyfe
- move scripts/abs -> scripts/abs.in - add -V --version options to scripts/abs.in - add autotool commands to generate scripts/abs Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27fix existing autotools in scripts/*Andrew Fyfe
- Remove scripts/makepkg on 'make distclean' - scripts/makepkg.in: set myver on ./configure Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27makepkg: fakeroot-related changes and other misc outputDan McGee
A few changes to undo my stupid mistake earlier wrt fakeroot checking, and unify the output and usage of 'makepkg.conf'. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-27Removed fakeroot hacks.Andrew Fyfe
Removed fakeroot hacks from * handledeps() * removedeps() * installpackage() Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27Reduced the number of commands run inside fakeroot to the bare minimum.Andrew Fyfe
Only the following functions now run inside fakeroot * run_build() * tidy_install() * create_package() Added check for inproper use of '-F' option. Added warning if makepkg is run as root. Added a new '--asroot' flag that must be passed if you wish to run makepkg as the root user. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-16makepkg: ensure DISTCC_HOSTS variable is exported when requiredDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-14makepkg: a few small changesDan McGee
* change "Tidying Install" message to msg instead of msg2 * Fix quoting issues in usage output * Remove LANG and friends unsetting- this should be done in the offending package builds * Check for defined $BUILDSCRIPT, since it was moved to makepkg.conf Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-14Cleaned up and simplified run_build().Andrew Fyfe
Restore LC_ALL and LANG after running build(). Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14Moved commands to setup build environment and run build() into run_build().Andrew Fyfe
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14Cleaned up and simplified tidy_install().Andrew Fyfe
Added 'LC_ALL= LANG=' to find commands for stripping symbols from binaries/libraries. This stops the greps failing if LC_ALL or LANG != en_US|C|POSIX. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14Moved commands to tidy up package install into tidy_install().Andrew Fyfe
The following sets of commands were moved into tidy_install() * Remove info/doc files. * Move usr/share/man to usr/man * Compress man pages. * Strip debug symbols from binaries/libraries. * Remove libtool *.la files. * Remove empty directories. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14Cleaned up and simplified create_package().Andrew Fyfe
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14Moved commands to create package file into create_package().Andrew Fyfe
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-06repo-add: fix conflicts instead of conflict bugDan McGee
makepkg generates PKGINFO files with "conflict = ", repo-add was incorrectly looking for "conflicts = ". Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-06Allow repo-add to work with symlinks (fixes FS #7054)Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-25repo-add: Fix bug where desc info was omitted if package in a groupMarcus Habernehl
This fixes FS #7005. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-23rankmirrors: download first 50KB of DB to get more reliable numbersScott Horowitz
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-17Bug fix for FS#6944Alexander Baldeck
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-16makepkg: unset LC_MESSAGES during buildsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-16makepkg: remove grep calls from stripping binariesAndrew Fyfe
Remove grep calls from stripping binaries and libraries, which will not work with localized strings. Clean up the find usage as well. Signed-off-by: Dan McGee <dan@archlinux.org>