Andrew Fyfe
9c9e18ef32
Tidy up usage of makepkg.conf
...
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-01 21:52:28 -04:00
Giovanni Scafora
f044e23a60
Gettext support in makepkg
...
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-03-31 20:30:35 -04:00
Dan McGee
583b4b10a3
Move makepkg -> makepkg.in in anticaption of gettextized version
...
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-31 20:30:35 -04:00
Aaron Griffin
970d2e942e
repo-add leaves .PKGINFO in the current directory
...
* Misuse of 'tar xf', which should be 'tar tf'
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-03-29 21:30:40 -05:00
Aaron Griffin
9a9f1e00da
From: Andrew Fyfe <andrew@neptune-one.net>
...
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-29 21:26:58 -05:00
Dan McGee
462ad153e7
Add execute permissions to abs and rankmirrors
...
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-28 18:41:29 -04:00
Dan McGee
8cacc46f8b
Move .cvsignore -> .gitignore
...
* 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-27 21:06:31 -04:00
Dan McGee
58fe79eef6
* Fix bug where 'makepkg -L' doesn't stop on build failure.
...
Andrew Fyfe <andrew@neptune-one.net>
* Add testing to etc/pacman.d/.cvsignore
* Fix scriptlet001.py test to work during 'make check'.
2007-03-25 17:37:42 +00:00
Dan McGee
a07b490344
Andrew Fyfe <andrew@neptune-one.net>
...
* Fix FS #6688- builddeps not working in makepkg.
2007-03-24 17:11:18 +00:00
Dan McGee
8ded2051d2
* TODO.dan updates.
...
Alessio 'mOLOk' Bolognino <themolok.ml@gmail.com>
* Make makeworld compatable with makepkg lacking -w option.
2007-03-20 19:16:17 +00:00
Dan McGee
0fa7d47a4d
* makepkg: a few more changes to get dependencies working correctly. If a
...
user does not install all required dependencies, makepkg will now bail.
2007-03-20 02:13:44 +00:00
Dan McGee
b882f463df
* makepkg: Fix behavior of -Ssr: deps were not being correctly removed before.
2007-03-20 01:34:16 +00:00
Dan McGee
62d0a00511
* makepkg: fix installation of dependencies with version comparitors.
2007-03-19 22:48:54 +00:00
Dan McGee
bd7b7e5f0c
* Added quoting on several makepkg paths that were lacking it.
2007-03-18 23:09:50 +00:00
Dan McGee
4bfd0cb6cc
* Missing a 'msg' in makepkg- pointed out by wain on Flyspray. Thanks!
2007-03-14 23:25:03 +00:00
Aaron Griffin
2020e0ec73
* Sebastian Sareyko
...
Fix repo-add filename addition (use basename)
2007-03-13 15:01:15 +00:00
Dan McGee
ba1806f5ac
* Removed ${CFLAGS} from Makefile.am(s) as it was causing all CFLAGS to be
...
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-12 03:02:57 +00:00
Dan McGee
68876e4eb0
* Another slight update, getting rid of -rf flags and clarifying a message.
2007-03-09 05:11:47 +00:00
Dan McGee
0a1ca73183
* Added confirmation step to makepkg -C operation to ensure user is deleting
...
exactly what they think they are.
2007-03-09 04:35:04 +00:00
Dan McGee
4770ac784e
* rankmirrors updates from Scott Horowitz <stonecrest@gmail.com>.
...
Formatted output is now the default. Added a TODO for later as well.
2007-03-05 02:32:14 +00:00
Dan McGee
02d46e33d1
* file utility was updated to version 4.20, removing code that was there to
...
catch a bug in 4.19.
2007-03-03 18:38:57 +00:00
Dan McGee
bdac910589
* Implemented Douglas' suggestion from the ML- print all integrity checks
...
together while using makepkg -g.
2007-02-28 05:08:25 +00:00
Dan McGee
01bb564e70
* TODO updates.
...
* Makefile.am updates for Aaron's move of re-pacman to contrib.
2007-02-26 15:10:53 +00:00
Aaron Griffin
f9a40e5d6f
* Added a small note to HACKING
...
* Moved re-pacman to contrib/ as it's probably not as useful as the other stuff
in scripts/
2007-02-26 09:19:33 +00:00
Aaron Griffin
4dd6c92228
* pacman hidden arguments: removed -Y and -D. -T is the only hidden arg now, to
...
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-26 08:43:02 +00:00
Aaron Griffin
8626e5dd47
else if --> elif (thanks to yankees26 for finding this)
2007-02-24 02:11:52 +00:00
Aaron Griffin
0aae368a79
Syntax error
2007-02-24 01:45:36 +00:00
Dan McGee
c94bfbaba3
Implementing feature request: < http://bugs.archlinux.org/task/4706 >
...
* 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 19:51:24 +00:00
Aaron Griffin
89046c32a3
* Prepend all lists with _ for consistency
...
* Fixed IFS. It seems there's no easy way to get a newline IFS without setting
it like so:
IFS="
" #ewww gross
2007-02-23 01:29:14 +00:00
Dan McGee
332c127109
Big commit here, I'll try to cover all the bases.
...
* 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 21:34:51 +00:00
Dan McGee
3cda6f4f6b
* Rewrote pactest with an OptionParser so we can have helpful help text, and
...
bumped the version to 0.4. Still a work in progress.
* Changed some linewraps in rankmirrors to keep everything under 80 chars.
2007-02-22 08:06:54 +00:00
Dan McGee
3595201f5f
* A lot of Makefile.am updates to try to get 'make dist' and 'make distcheck'
...
to work as expected.
2007-02-22 04:36:02 +00:00
Aaron Griffin
7e9fdfd44e
While trying to change the number of missing deps output by makepkg, I noticed
...
some needless complication in a few of these functions (checkdeps required
stderr output due to the way it was called/used) so that's all cleaned up now.
Also, makepkg no longer outputs a single dep when they are missing, it lists all
at once, including makedeps
2007-02-14 05:52:49 +00:00
Jürgen Hötzel
ac965ed401
* unset LC_ALL, LANG after sourcing /etc/profile.d/*
2007-02-13 20:47:34 +00:00
Aaron Griffin
2977764aa5
* Added long options (missing in patch)
...
* converted "sudosync" to "usesudo" to match makepkg
* Removed nostrip, as it was removed from makepkg as well
2007-02-12 09:37:02 +00:00
Aaron Griffin
e6efbc109f
Added changes from Daniel YC Lin via bug #3266
...
- support for the 'BCemno' makepkg options
2007-02-12 09:28:36 +00:00
Aaron Griffin
f319dc080d
Rewrote updatesync in terms of repo-add and repo-remove
2007-02-12 06:07:11 +00:00
Aaron Griffin
8a716abfb0
better error message
2007-02-12 05:49:45 +00:00
Aaron Griffin
17f2f438f7
Updated gensync to use repo-add
2007-02-12 05:38:03 +00:00
Dan McGee
67294287e3
* Unified description of arch variable. Recommend using single quotes in
...
the array, e.g. arch=('i686').
* Updated my TODO.
* Changed the email address in rankmirrors script.
2007-02-12 01:08:35 +00:00
Dan McGee
b6d991cf7b
* Implemented FS #5641 as suggested in Aaron's comment- '-S' option now means
...
'--usesudo', and all install/dep/remove operations now honor it.
* Fixed my stupid typo. depricated -> deprecated :)
2007-02-11 21:47:37 +00:00
Dan McGee
e9b00c4679
Forgot to update the Makefile with the new script, adding it.
2007-02-11 21:03:00 +00:00
Dan McGee
3a6da9dad7
Adding repo-remove script, allows for a package to be removed from a repo.
...
More or less a reverse 'repo-add'.
2007-02-11 20:40:19 +00:00
Aaron Griffin
0ae434d9e1
* Fix #2982 - use -Rs to remove deps
...
* "pacman3" seems to have snuck in there somehow, fixed that
2007-02-09 19:16:15 +00:00
Dan McGee
a7df172bee
* Nice overhaul of manpages. It is at least a start.
...
* Alphabetized options in pacman usage.
2007-02-08 05:24:17 +00:00
Dan McGee
4de804d157
* Makepkg updates, and small bugfix on man page compression.
...
* Change libtool default to makepkg2 behavior.
* Other small changes.
2007-02-06 22:36:13 +00:00
Dan McGee
b03a2388a3
I should test code before I check it in. Also a fix for the annoying wget output in PKGBUILD bug.
2007-02-06 21:20:20 +00:00
Dan McGee
26e7d16d0e
* Added some backwards compatability stuff to makepkg, along with helpful
...
warnings so people aren't caught off guard in the future.
* Added a temp fix for a bug in file 4.19 where bziped tarballs were
returning type "application/empty".
2007-02-06 06:54:13 +00:00
Dan McGee
b1cc72ebb3
* Updated makepkg to use a new form of options. These two arrays now replace
...
most of the former options in makepkg.conf, and are described in detail
there:
BUILDENV=(fakeroot !distcc color !ccache)
OPTIONS=(strip !docs !libtool emptydirs)
Note that PKGBUILD specified options will always have final say. They will
now be specified as they are above, except using lowercase 'options' array.
* makepkg was fixed so options actually work as expected.
2007-02-04 18:28:21 +00:00
Dan McGee
b6483b3cb4
Fix problem with PKGDEST variable not being used correctly.
2007-02-03 05:21:55 +00:00
Aaron Griffin
16e01cfe73
It appears I misunderstood what this bash-ism did
2007-02-01 02:34:03 +00:00
Dan McGee
fafeb32c9d
This removes the warning about skipping dependency checking when the user is
...
either generating the md5sums, repackaging, or just downloading and extracting.
The patch is below.
~ Jamie / yankees26
Signed-off-by: James Rosten <seinfeld90@gmail.com>
2007-02-01 02:12:49 +00:00
Aaron Griffin
4b977d1f2e
install scriptlet is _always_ .INSTALL
2007-02-01 02:02:45 +00:00
Aaron Griffin
010f35f299
Move filelist creation ABOVE the other metafiles to keep them out of the list
2007-02-01 01:59:26 +00:00
Dan McGee
55f406fd67
removal of unnecessary '\' in integrity check generation
2007-02-01 01:18:22 +00:00
Dan McGee
2ea88b9ff6
* Updated repo-add script to remove same package, different version when
...
adding a package to a database. Also added commenting. :)
2007-01-31 00:38:13 +00:00
Aaron Griffin
481524cb69
This is a silly script now that a fancy aurbuild is out in the wild (on the AUR,
...
surprisingly enough, heh)
2007-01-30 06:31:18 +00:00
Dan McGee
0bc06918e4
* Remove -fno-strict-aliasing as it is now unnecessary to compile.
...
* Fix up add.c a bit better than it was in regards to FS #3492 .
* Optimized the sqrt call in dependency cycle checking to a single call.
* Removal of an outdated comment.
2007-01-30 05:41:13 +00:00
Aaron Griffin
e22336673a
Dan McGee <dpmcgee@gmail.com>
...
* Lots of code cleanup, and type fixes
* Make 'makeworld' a bit more in-line with the other stuff
* Make -Si and -Qi operations appear the same
2007-01-26 02:13:16 +00:00
Aaron Griffin
1def746ad5
James Rosten <seinfeld90 at gmail.com>
...
* Use PKGDEST and SRCDEST from the environment (if defined) when calling makepkg
2007-01-26 01:26:08 +00:00
Aaron Griffin
0e0738617b
James Rosten <seinfeld90@gmail.com>
...
* noextract PKGBUILD option to NOT extract source files
- implemented with existing in_array function
2007-01-23 16:02:37 +00:00
Aaron Griffin
2a8b835dda
Lowercase "changelog" in output message
2007-01-22 19:26:23 +00:00
Aaron Griffin
10b8585c21
Rename Changelog -> ChangeLog (the standard way of casing a ChangeLog)
2007-01-22 17:53:56 +00:00
Aaron Griffin
0635e03869
Changelog support for makepkg - this has been in pacman itself for some time,
...
but I don't know why I never crammed the changes for makepkg in.
* Adds a "Changelog" file next to a PKGBUILD as part of the package
(viewed with pacman -Qc)
2007-01-22 09:57:20 +00:00
Aaron Griffin
7ed7977e63
makepkg file-type detection changes from James Rosten <seinfeld90@gmail.com>
...
and Johannes Weiner <hannes@saeurebad.de>
This should fix FS#6246
2007-01-22 08:45:12 +00:00
Aaron Griffin
aea6626fde
Dan McGee <dpmcgee@gmail.com>
...
* 'unset' fixes
* typo in "dependecy"
* indent fixes
2007-01-17 05:29:54 +00:00
Aaron Griffin
31e0561865
Roman Kyrylych <Roman.Kyrylych@gmail.com>
...
* dependency removal fixes and refactoring
2007-01-17 04:54:55 +00:00
Aaron Griffin
2e352141d7
James Rosten <seinfeld90@gmail.com>
...
* rankmirrors addition of single url testing
2007-01-17 03:48:02 +00:00
Aaron Griffin
c7139c4b78
* James Rosten <seinfeld90@gmail.com>
...
Cleanup and fixes from last patch
Fix some tar error conditions
* Dan McGee <dpmcgee@gmail.com>
USECOLOR from rc.conf
2007-01-11 17:22:21 +00:00
Aaron Griffin
64e2eba268
* James Rosten <seinfeld90@gmail.com>
...
FS#5009 fixes - use tar on the pacman DB so as to handle cases where the
base directory cannot be 'mv'ed and other such edge cases.
2007-01-03 05:45:18 +00:00
Aaron Griffin
776a45ce7c
* James Rosten <seinfeld90@gmail.com>
...
Makepkg dep removal on failure FS#5923
2007-01-02 16:34:50 +00:00
Aaron Griffin
5e2d757c34
* Removed autoconf TODO fixed in last commit
...
* Dan McGee <dpmcgee@gmail.com>
pacman-optimize checking fixes
2006-12-28 18:19:25 +00:00
Aaron Griffin
7f8ee3d1b1
Fixes from Dan McGee <dpmcgee@gmail.com> and myself
...
* quoting and $() changes
* remove a boatload of duplications (previous patching)
* added user-based config file ~/.abs.conf (for fun)
* fixed CONNMODE usage
2006-12-21 23:10:20 +00:00
Aaron Griffin
3e3f30a212
Jrgen Htzel <juergen@hoetzel.info>
...
* fix in_array variables and usage
* correct the final compression - 'filelist' was unused
2006-12-21 20:50:24 +00:00
Aaron Griffin
f104023999
* Dan McGee <dpmcgee@gmail.com>
...
Formating / comment changes
Fix dep check conditional
2006-12-21 20:03:41 +00:00
Aaron Griffin
7dacc70b77
Errors with last merge (manual patching)
...
Misc fixes from Dan McGee <dpmcgee@gmail.com>
2006-12-21 19:11:22 +00:00
Aaron Griffin
42a6acf739
* Dan McGee <dpmcgee@gmail.com>
...
DOC_DIRS variable for documentation removal
repackage option
structure cleanup
some option removal (--keepdocs, --nostrip)
output fixes (msg and msg2)
* Jrgen Htzel <juergen@hoetzel.info>
user-specific makepkg.conf (~/.makepkg.conf)
2006-12-21 17:42:58 +00:00
Aaron Griffin
74e347f09b
* modeline fixes / reformatting
...
* formatting / indentation fixes
* makepkg:
Dan McGee <dpmcgee@gmail.com> - integrity check fix
Jürgen Hötzel <juergen@hoetzel.info> - EUID usage and "x$foo" check revamp
2006-12-21 01:53:40 +00:00
Aaron Griffin
ef8fd03c33
Makefile adjustments for installation rules:
...
added all the newer scripts/
added pacman.d and abs sysconf subdirs
Minor makepkg revert for previous change to 'errexit' shell option
2006-12-19 07:39:44 +00:00
Aaron Griffin
ff23064fa2
FS #3289 fix from Dan McGee <dpmcgee@gmail.com>
2006-12-18 17:45:16 +00:00
Aaron Griffin
b308f06a3a
* Dan McGee's makepkg updates http://www.archlinux.org/pipermail/pacman-dev/2006-December/000792.html
...
* configure fixes (CFLAGS)
* no-strict-aliasing hacks until full C99 compliance
* --with-config-file configure option
2006-12-14 05:23:08 +00:00
Aaron Griffin
f45b3356f8
Copy/pasta errors from mail client. Fixed.
2006-12-08 22:39:53 +00:00
Aaron Griffin
0543325ba1
rankmirrors script from Dan McGee <dpmcgee@gmail.com>
...
Original Idea copyright (c) 2006 R.G. <chesercat>
Modified 2006 by Dan McGee <dpmcgee@gmail.com>
2006-12-08 22:07:34 +00:00
Aaron Griffin
5a48e4f1b6
Check status of final tar/compress package creation for final status (FS#3382)
2006-12-05 07:43:42 +00:00
Aaron Griffin
6ec8dfc2f3
Added 'abs' and configs to CVS
...
* Added testing-usability to abs
2006-12-05 07:30:15 +00:00
Aaron Griffin
873bfe1d82
* usize -> isize conversion
2006-11-22 09:04:48 +00:00
Aaron Griffin
aa1c0ba9f8
* repo-add script - to add entries to a db file directly from package data (no PKGBUILD)
...
* libalpm api changes - move from a _getinfo(p, WHAT_WE_WANT) scheme to a
typesafe _get_what_we_want(p) scheme [not 100% complete yet]
* some const correctness changes
* removal of PM_* types in alpm.h in favor of the pm*_t types used throughout
libalpm
2006-11-20 09:10:23 +00:00
Aaron Griffin
b8b9596b13
Minor makepkg changes - mainly from Daniel McGee
2006-11-16 22:43:58 +00:00
Aaron Griffin
95358f7c5b
* integrity check looping - support multiple algorithms at once
2006-11-15 17:18:31 +00:00
Aaron Griffin
00ce9ea739
* Initial changes to gensync - makepkg changes were not checked in from another
...
machine - still pending
* Addition of _alpm_pkg_makefilename to simplify the with/without -ARCH prefix
scheme we're going with for the interim
2006-11-15 07:50:37 +00:00
Aaron Griffin
4470e5ce01
* Numerous mini valgrind fixes.
...
* Addition of hacky architecture check in the _splitname function
* Removal of libfetch from the archlinux proper - it has been renamed to
libdownload and can be found at http://phraktured.net/libdownload
* Merge of _some_ of the Frugalware makepkg change - this may still be
incomplete
* Removal of libftp from cvs proper
* PKGBUILD manpage now says 'PKGBUILD' instead of FrugalBuild (he he)
2006-11-14 07:58:42 +00:00
Aaron Griffin
7e835366f1
*** empty log message ***
2006-11-13 17:48:13 +00:00
Aaron Griffin
7fc4b8d2d5
Added re-pacman
2006-10-23 06:09:10 +00:00
Aaron Griffin
51b8f9acc7
Added copyright holder
2006-10-19 15:15:20 +00:00
Aurelien Foret
3d3a29a808
added .cvsignore files
2006-03-27 17:17:35 +00:00
Aurelien Foret
5542a50127
keep gensync and updatesync in sync
2006-03-07 22:01:36 +00:00
Aurelien Foret
78cbe41e19
fixed pkgdesc usage
2006-03-07 21:54:22 +00:00
Aurelien Foret
a6a997ca22
partial support for version comparators (patch from VMiklos <vmiklos@frugalware.org>)
2006-02-17 21:07:50 +00:00
Aurelien Foret
041e51f68d
sync with pacman 2.9.8
2006-02-16 22:57:25 +00:00
Aurelien Foret
1fadb8d250
*** empty log message ***
2006-02-16 21:56:19 +00:00