summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAge
* autotool scripts/updatesyncAndrew Fyfe2007-05-27
| | | | | | | | - 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>
* autotool scripts/repo-removeAndrew Fyfe2007-05-27
| | | | | | | | - 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>
* Added copyright header to scripts/abs.inAndrew Fyfe2007-05-27
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* autotool scripts/repo-addAndrew Fyfe2007-05-27
| | | | | | | | - 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>
* move parameter count check after check for help and version.Andrew Fyfe2007-05-27
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* autotool scripts/pacman-optimizeAndrew Fyfe2007-05-27
| | | | | | | | - 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>
* autotool scripts/makeworldAndrew Fyfe2007-05-27
| | | | | | | | - 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>
* autotool scripts/gensyncAndrew Fyfe2007-05-27
| | | | | | | | - 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>
* autotool scripts/absAndrew Fyfe2007-05-27
| | | | | | | | - 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>
* fix existing autotools in scripts/*Andrew Fyfe2007-05-27
| | | | | | | - Remove scripts/makepkg on 'make distclean' - scripts/makepkg.in: set myver on ./configure Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* makepkg: fakeroot-related changes and other misc outputDan McGee2007-05-27
| | | | | | | 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>
* Removed fakeroot hacks.Andrew Fyfe2007-05-27
| | | | | | | | | Removed fakeroot hacks from * handledeps() * removedeps() * installpackage() Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* Reduced the number of commands run inside fakeroot to the bare minimum.Andrew Fyfe2007-05-27
| | | | | | | | | | | | | | | 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>
* makepkg: ensure DISTCC_HOSTS variable is exported when requiredDan McGee2007-05-16
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* makepkg: a few small changesDan McGee2007-05-14
| | | | | | | | | | * 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>
* Cleaned up and simplified run_build().Andrew Fyfe2007-05-14
| | | | | | Restore LC_ALL and LANG after running build(). Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* Moved commands to setup build environment and run build() into run_build().Andrew Fyfe2007-05-14
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* Cleaned up and simplified tidy_install().Andrew Fyfe2007-05-14
| | | | | | | 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>
* Moved commands to tidy up package install into tidy_install().Andrew Fyfe2007-05-14
| | | | | | | | | | | | 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>
* Cleaned up and simplified create_package().Andrew Fyfe2007-05-14
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* Moved commands to create package file into create_package().Andrew Fyfe2007-05-14
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* repo-add: fix conflicts instead of conflict bugDan McGee2007-05-06
| | | | | | | makepkg generates PKGINFO files with "conflict = ", repo-add was incorrectly looking for "conflicts = ". Signed-off-by: Dan McGee <dan@archlinux.org>
* Allow repo-add to work with symlinks (fixes FS #7054)Dan McGee2007-05-06
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* repo-add: Fix bug where desc info was omitted if package in a groupMarcus Habernehl2007-04-25
| | | | | | This fixes FS #7005. Signed-off-by: Dan McGee <dan@archlinux.org>
* rankmirrors: download first 50KB of DB to get more reliable numbersScott Horowitz2007-04-23
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Bug fix for FS#6944Alexander Baldeck2007-04-17
| | | | Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* makepkg: unset LC_MESSAGES during buildsDan McGee2007-04-16
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* makepkg: remove grep calls from stripping binariesAndrew Fyfe2007-04-16
| | | | | | | 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>
* Forward port 3.0.2 branch fixesDan McGee2007-04-16
| | | | | | | Fix #6905- makepkg dependency checking error Fix #6915- add SUU mirror to mirrorlist.in Signed-off-by: Dan McGee <dan@archlinux.org>
* Fix FS #6872- CFLAGS are not usedDan McGee2007-04-11
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* makepkg: spelling fixRoman Kyrylych2007-04-05
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Enable support for other download protocols in makepkgDan McGee2007-04-04
| | | | | | | | | | This patch fixes FS #4404 as well as adding support for future protocols by generalizing the concept of a download agent and allowing a downloader to be specified for each protocol. Original work done by Andrew Fyfe <andrew@neptune-one.net>. Signed-off-by: Dan McGee <dan@archlinux.org>
* Backport changes from 3.0.1Aaron Griffin2007-04-04
| | | | | | | | | | * Align makepkg -g checksums (Tom Killian <tom@archlinux.org>) * Use additional case-sensitive string compare to defeat locale issues (tr_TR) * Added Russian mirror * Fix a -R failure when trying to remove the same target twice * Bump configure.ac version to 3.0.1 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Tidy up usage of makepkg.confAndrew Fyfe2007-04-01
| | | | | | | | | | | | | | Moved the following variables into /etc/makepkg.conf * BUILDSCRIPT * PKGEXT * DB_COMPRESSION * DB_CHECKSUMS Cleaned up sourcing of /etc/makepkg.conf in scripts and source ~/.makepkg.conf if it exists. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* Gettext support in makepkgGiovanni Scafora2007-03-31
| | | | | | | | Add gettext support to makepkg. Still to do- figure out for sure what textdomain the translations should go in (perhaps share with pacman?), and ensure this doesn't break anything. Signed-off-by: Dan McGee <dan@archlinux.org>
* Move makepkg -> makepkg.in in anticaption of gettextized versionDan McGee2007-03-31
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* repo-add leaves .PKGINFO in the current directoryAaron Griffin2007-03-29
| | | | | | * Misuse of 'tar xf', which should be 'tar tf' Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* From: Andrew Fyfe <andrew@neptune-one.net>Aaron Griffin2007-03-29
| | | | | | | | | | | Date: Thu, 29 Mar 2007 11:11:36 +0100 Subject: [PATCH 1/1] Fix bug where makepkg can't extract .tar.Z archives. For some reason 'tar -xf' doesn't work with .tar.Z, you need to use 'tar -xzf' to extract the archive. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Add execute permissions to abs and rankmirrorsDan McGee2007-03-28
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Move .cvsignore -> .gitignoreDan McGee2007-03-27
| | | | | | | | * Move all .cvsignore files to .gitignore for switch in VCS. In addition, delete ones that were unnecessary because they only contained Makefile and Makefile.am. Signed-off-by: Dan McGee <dan@archlinux.org>
* * Fix bug where 'makepkg -L' doesn't stop on build failure.Dan McGee2007-03-25
| | | | | | Andrew Fyfe <andrew@neptune-one.net> * Add testing to etc/pacman.d/.cvsignore * Fix scriptlet001.py test to work during 'make check'.
* Andrew Fyfe <andrew@neptune-one.net>Dan McGee2007-03-24
| | | | * Fix FS #6688- builddeps not working in makepkg.
* * TODO.dan updates.Dan McGee2007-03-20
| | | | | Alessio 'mOLOk' Bolognino <themolok.ml@gmail.com> * Make makeworld compatable with makepkg lacking -w option.
* * makepkg: a few more changes to get dependencies working correctly. If aDan McGee2007-03-20
| | | | user does not install all required dependencies, makepkg will now bail.
* * makepkg: Fix behavior of -Ssr: deps were not being correctly removed before.Dan McGee2007-03-20
|
* * makepkg: fix installation of dependencies with version comparitors.Dan McGee2007-03-19
|
* * Added quoting on several makepkg paths that were lacking it.Dan McGee2007-03-18
|
* * Missing a 'msg' in makepkg- pointed out by wain on Flyspray. Thanks!Dan McGee2007-03-14
|
* * Sebastian SareykoAaron Griffin2007-03-13
| | | | Fix repo-add filename addition (use basename)
* * Removed ${CFLAGS} from Makefile.am(s) as it was causing all CFLAGS to beDan McGee2007-03-12
| | | | | | | | duplicated. * Updated the util Makefile.am to link with the proper libalpm.la. * Fixed bitmasking issues in be_files.c and db.h. * Rankmirrors updates from James Rosten (with some cleaning up of my own). KeyboardInterrupts are now handled gracefully.