summaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2007-05-14makepkg: a few small changesDan McGee1-13/+10
* 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 Fyfe1-12/+19
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 Fyfe1-64/+68
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14Cleaned up and simplified tidy_install().Andrew Fyfe1-28/+24
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 Fyfe1-61/+64
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 Fyfe1-25/+26
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14Moved commands to create package file into create_package().Andrew Fyfe1-88/+91
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-07repo-add: fix conflicts instead of conflict bugDan McGee1-1/+1
makepkg generates PKGINFO files with "conflict = ", repo-add was incorrectly looking for "conflicts = ". Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-07Allow repo-add to work with symlinks (fixes FS #7054)Dan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-25repo-add: Fix bug where desc info was omitted if package in a groupMarcus Habernehl1-2/+2
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 Horowitz1-2/+18
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-18Bug fix for FS#6944Alexander Baldeck1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-17makepkg: unset LC_MESSAGES during buildsDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-17makepkg: remove grep calls from stripping binariesAndrew Fyfe1-8/+9
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>
2007-04-17Forward port 3.0.2 branch fixesDan McGee1-2/+1
Fix #6905- makepkg dependency checking error Fix #6915- add SUU mirror to mirrorlist.in Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-11Fix FS #6872- CFLAGS are not usedDan McGee1-2/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-05makepkg: spelling fixRoman Kyrylych1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-05Enable support for other download protocols in makepkgDan McGee1-39/+59
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>
2007-04-04Backport changes from 3.0.1Aaron Griffin1-1/+5
* 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>
2007-04-02Tidy up usage of makepkg.confAndrew Fyfe5-26/+72
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>
2007-04-01Gettext support in makepkgGiovanni Scafora2-126/+140
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>
2007-04-01Move makepkg -> makepkg.in in anticaption of gettextized versionDan McGee1-0/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-30repo-add leaves .PKGINFO in the current directoryAaron Griffin1-1/+1
* Misuse of 'tar xf', which should be 'tar tf' Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-03-30From: Andrew Fyfe <andrew@neptune-one.net>Aaron Griffin1-0/+2
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>
2007-03-29Add execute permissions to abs and rankmirrorsDan McGee2-0/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-28Move .cvsignore -> .gitignoreDan McGee1-2/+0
* 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>
2007-03-25* Fix bug where 'makepkg -L' doesn't stop on build failure.v3.0.0Dan McGee1-13/+8
Andrew Fyfe <andrew@neptune-one.net> * Add testing to etc/pacman.d/.cvsignore * Fix scriptlet001.py test to work during 'make check'.
2007-03-24Andrew Fyfe <andrew@neptune-one.net>Dan McGee1-2/+2
* Fix FS #6688- builddeps not working in makepkg.
2007-03-20* TODO.dan updates.Dan McGee1-5/+5
Alessio 'mOLOk' Bolognino <themolok.ml@gmail.com> * Make makeworld compatable with makepkg lacking -w option.
2007-03-20* makepkg: a few more changes to get dependencies working correctly. If aDan McGee1-10/+18
user does not install all required dependencies, makepkg will now bail.
2007-03-20* makepkg: Fix behavior of -Ssr: deps were not being correctly removed before.Dan McGee1-12/+26
2007-03-19* makepkg: fix installation of dependencies with version comparitors.Dan McGee1-3/+8
2007-03-19* Added quoting on several makepkg paths that were lacking it.Dan McGee1-18/+18
2007-03-15* Missing a 'msg' in makepkg- pointed out by wain on Flyspray. Thanks!Dan McGee1-1/+1
2007-03-13* Sebastian SareykoAaron Griffin1-1/+1
Fix repo-add filename addition (use basename)
2007-03-12* Removed ${CFLAGS} from Makefile.am(s) as it was causing all CFLAGS to beDan McGee1-40/+58
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.
2007-03-09* Another slight update, getting rid of -rf flags and clarifying a message.Dan McGee1-2/+3
2007-03-09* Added confirmation step to makepkg -C operation to ensure user is deletingDan McGee1-6/+18
exactly what they think they are.
2007-03-05* rankmirrors updates from Scott Horowitz <stonecrest@gmail.com>.Dan McGee1-17/+26
Formatted output is now the default. Added a TODO for later as well.
2007-03-03* file utility was updated to version 4.20, removing code that was there toDan McGee1-12/+6
catch a bug in 4.19.
2007-02-28* Implemented Douglas' suggestion from the ML- print all integrity checksDan McGee1-3/+7
together while using makepkg -g.
2007-02-26* TODO updates.Dan McGee1-1/+0
* Makefile.am updates for Aaron's move of re-pacman to contrib.
2007-02-26* Added a small note to HACKINGAaron Griffin1-79/+0
* Moved re-pacman to contrib/ as it's probably not as useful as the other stuff in scripts/
2007-02-26* pacman hidden arguments: removed -Y and -D. -T is the only hidden arg now, toAaron Griffin1-5/+5
be used in place of -Y. Also, -D was rather silly, as it does mostly what -S does. * Cleaned up pacman_deptest - removed the goofy faketarget stuff (NEEDS testing still) * libalpm function renames
2007-02-24else if --> elif (thanks to yankees26 for finding this)Aaron Griffin1-1/+1
2007-02-24Syntax errorAaron Griffin1-1/+1
2007-02-23Implementing feature request: <http://bugs.archlinux.org/task/4706>Dan McGee1-15/+19
* Added these three possible options (or !options, more likely), to the PKGBUILD possibilities: - ccache - distcc - makeflags * Removed the --noccache and -j flags from makepkg as their functionality is better used by adding the above options to a PKGBUILD- keep the functionality where it is needed. Testing would be appreciated, I didn't do much of that yet.
2007-02-23* Prepend all lists with _ for consistencyAaron Griffin1-15/+16
* Fixed IFS. It seems there's no easy way to get a newline IFS without setting it like so: IFS=" " #ewww gross
2007-02-22Big commit here, I'll try to cover all the bases.Dan McGee1-1/+5
* Updated all of the language files, as the POT file was updated. NOTE FOR TRANSLATORS, try to base your next contribution off of these, notice how some msgids and messages have been wrapped to the next line- it makes it easier to read anyway. * More Makefile.am/configure.ac updates. 'make dist' and 'make distclean' now work properly, with only one caveat- the automatic testing in distclean doesn't do so hot as it is compiled with a default configure, which includes the fakeroot-proof code (which does not cooperate with pactest). * Added a Makefile.am for the pactest directory.
2007-02-22* Rewrote pactest with an OptionParser so we can have helpful help text, andDan McGee1-10/+14
bumped the version to 0.4. Still a work in progress. * Changed some linewraps in rankmirrors to keep everything under 80 chars.