Dale Ogilvie
cad44221c8
Clean up variable usage in create_xdelta() and add a check for the xdelta program.
...
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-30 23:58:22 -05:00
Dale Ogilvie
a8c552d477
Add support for creating xdeltas in makepkg.
...
Add xdelta option to makepkg.conf
Added xfer script to contrib.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-30 23:58:22 -05:00
Dag Odenhall
2ef1c8416f
makepkg: do not retrieve sources if NOEXTRACT or REPKG set
...
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-31 00:07:12 -04:00
Dan McGee
90a307bfa3
makepkg: switch applicable $startdir/dir refs to new variable names
...
After introducing $pkgdir and $srcdir, we can switch some lookups to
these new variables.
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-31 00:02:32 -04:00
Dag Odenhall
92a14eab59
Check if pkgdir exists in create_package
...
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-30 23:52:22 -04:00
Dag Odenhall
6b776c82e7
makepkg: fix double occurance of word in asroot warning
...
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-30 23:42:23 -04:00
Dan McGee
b3535db2aa
makepkg: add srcdir and pkgdir variables
...
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-30 14:32:04 -04:00
Dan McGee
f4d6efeee0
makepkg: add source package creation option
...
Add a new --source flag that allows creation of a source-only package.
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-30 14:27:13 -04:00
Dan McGee
b6387b954f
scripts: do autoconf path replacement right
...
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-30 11:04:49 -04:00
Andrew Fyfe
5c41d0eb4c
Substitute config directory in scripts.
...
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-29 17:49:24 -04:00
Dan McGee
f3836ff8e8
Set paths in pacman-optimize to use configure-time paths
...
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-29 17:46:20 -04:00
Dan McGee
103c7243a2
Get --help and --version options working on all scripts
...
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-29 16:53:15 -04:00
Andrew Fyfe
124693af37
Switch to printf for output messages.
...
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-28 20:27:18 +01:00
Dan McGee
7e98eac309
Add autotool-generated scripts to .gitignore
...
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-27 17:23:40 -04:00
Andrew Fyfe
26c32b017e
Remove extra_dist from scripts/Makefile.am
...
This is automaticly done by autoconf.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27 17:16:28 -04:00
Andrew Fyfe
94aa9aff13
Fixed typo in scripts/repo-remove.in
...
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27 17:16:28 -04:00
Andrew Fyfe
71026af678
chmod -x scripts/*.in
...
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27 17:16:28 -04:00
Andrew Fyfe
e9e19b7cc6
autotool scripts/updatesync
...
- 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-27 17:16:28 -04:00
Andrew Fyfe
48946b624b
autotool scripts/repo-remove
...
- 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-27 17:16:27 -04:00
Andrew Fyfe
49eddd3feb
Added copyright header to scripts/abs.in
...
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27 17:16:27 -04:00
Andrew Fyfe
f6b0869ee5
autotool scripts/repo-add
...
- 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-27 17:16:27 -04:00
Andrew Fyfe
a73e9a24af
move parameter count check after check for help and version.
...
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27 17:16:27 -04:00
Andrew Fyfe
95720106bb
autotool scripts/pacman-optimize
...
- 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-27 17:16:27 -04:00
Andrew Fyfe
ab53ee1e7c
autotool scripts/makeworld
...
- 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-27 17:16:27 -04:00
Andrew Fyfe
a2d018a954
autotool scripts/gensync
...
- 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-27 17:16:27 -04:00
Andrew Fyfe
2b6bc5bcda
autotool scripts/abs
...
- 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-27 17:16:27 -04:00
Andrew Fyfe
c3876845b2
fix existing autotools in scripts/*
...
- Remove scripts/makepkg on 'make distclean'
- scripts/makepkg.in: set myver on ./configure
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27 17:16:27 -04:00
Dan McGee
aedff1c117
makepkg: fakeroot-related changes and other misc output
...
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-27 17:01:49 -04:00
Andrew Fyfe
bc6ce2a190
Removed fakeroot hacks.
...
Removed fakeroot hacks from
* handledeps()
* removedeps()
* installpackage()
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27 16:10:24 -04:00
Andrew Fyfe
9ff52db3db
Reduced the number of commands run inside fakeroot to the bare minimum.
...
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-27 16:06:50 -04:00
Dan McGee
c88037203b
makepkg: ensure DISTCC_HOSTS variable is exported when required
...
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-16 13:18:19 -04:00
Dan McGee
53f2dcaa3a
makepkg: a few small changes
...
* 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-14 11:55:19 -04:00
Andrew Fyfe
93b6e35bcb
Cleaned up and simplified run_build().
...
Restore LC_ALL and LANG after running build().
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14 11:05:58 -04:00
Andrew Fyfe
eda7e5fcdf
Moved commands to setup build environment and run build() into run_build().
...
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14 11:05:58 -04:00
Andrew Fyfe
9b85864e37
Cleaned up and simplified tidy_install().
...
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-14 11:05:58 -04:00
Andrew Fyfe
e2f42947e3
Moved commands to tidy up package install into tidy_install().
...
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-14 11:05:58 -04:00
Andrew Fyfe
7fb1dc3f20
Cleaned up and simplified create_package().
...
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14 11:05:58 -04:00
Andrew Fyfe
5b4a4af94d
Moved commands to create package file into create_package().
...
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14 11:05:58 -04:00
Dan McGee
01bc7d7749
repo-add: fix conflicts instead of conflict bug
...
makepkg generates PKGINFO files with "conflict = ", repo-add was
incorrectly looking for "conflicts = ".
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-06 18:55:26 -04:00
Dan McGee
96f35d219c
Allow repo-add to work with symlinks (fixes FS #7054 )
...
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-06 18:50:41 -04:00
Marcus Habernehl
339caa61ef
repo-add: Fix bug where desc info was omitted if package in a group
...
This fixes FS #7005 .
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-25 11:05:53 -04:00
Scott Horowitz
d1c3bd62de
rankmirrors: download first 50KB of DB to get more reliable numbers
...
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-23 00:30:45 -04:00
Alexander Baldeck
a34dc1d4ef
Bug fix for FS#6944
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-17 23:52:59 -05:00
Dan McGee
7f183d29ac
makepkg: unset LC_MESSAGES during builds
...
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-16 23:58:07 -04:00
Andrew Fyfe
721ceee1e2
makepkg: remove grep calls from stripping binaries
...
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-16 22:12:15 -04:00
Dan McGee
8bd0f3921f
Forward port 3.0.2 branch fixes
...
Fix #6905- makepkg dependency checking error
Fix #6915- add SUU mirror to mirrorlist.in
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-16 21:51:18 -04:00
Dan McGee
dde2f3eefa
Fix FS #6872- CFLAGS are not used
...
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-11 12:44:42 -04:00
Roman Kyrylych
4dc5dfc72a
makepkg: spelling fix
...
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-05 11:36:38 -04:00
Dan McGee
df290b499a
Enable support for other download protocols in makepkg
...
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-04 22:58:47 -04:00
Aaron Griffin
76f816b9f7
Backport changes from 3.0.1
...
* 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-04 00:30:14 -05:00
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
Aurelien Foret
de000682e6
db_write cleanup: only write non-empty fields
2006-02-11 07:17:44 +00:00
Aurelien Foret
7fbbab6435
synchro with pacman 2.9.8
2006-02-07 18:29:32 +00:00
Aurelien Foret
8d2ad843bb
copyright update
2006-02-07 18:26:29 +00:00
Judd Vinet
25a9e070e8
makeworld sudo support
2006-01-28 02:25:22 +00:00
Judd Vinet
f6d97da70d
use sudo for -i if available (fw)
2006-01-28 02:24:25 +00:00
Judd Vinet
fe25662d38
little fix for erroneous output
2006-01-26 23:48:28 +00:00
Aurelien Foret
6d436b9603
reordered group entry position in db_write (to be in line with alpm/db_write)
2006-01-26 20:49:18 +00:00
Judd Vinet
d0fb27cef4
added new options field to PKGBUILDs for package-by-package overrides
2006-01-22 02:16:41 +00:00
Judd Vinet
3992e7eac8
Added .tbz2 extension to makepkg
2005-12-30 19:14:56 +00:00
Judd Vinet
50be438d4a
added frugalware patch for DistCC support
2005-12-14 02:40:01 +00:00
Judd Vinet
74d389b7af
Applied unset_lcall_lang.diff -- unset LANG/LC_ALL before building packages
2005-12-09 18:49:34 +00:00
Judd Vinet
7f240a9221
don't die on missing package files, just warn ( #3535 )
2005-11-28 19:47:51 +00:00
Judd Vinet
cce9d780c9
added pacman-optimize to Makefile.am
2005-10-25 01:42:57 +00:00
Judd Vinet
597c4b3d98
added patch from VMiklos - fixes ownership problems when building in a chroot w/ fakeroot
2005-10-25 01:30:54 +00:00
Judd Vinet
6851ce24ab
copied up-to-date scripts from pacman 2.9.7
2005-10-20 20:46:35 +00:00
Judd Vinet
a1526a3e7d
added first part of the autoconf stuff - patch from Christian Hamar <krics@linuxforum.hu>
2005-10-17 18:52:43 +00:00
Aurelien Foret
0d6a2edaa8
Moved the REPLACES and FORCE package fields from DESC to DEPENDS db entry
2005-10-08 20:43:25 +00:00
Aurelien Foret
65bfbb0bf3
changed license package field to a list
2005-08-20 06:03:49 +00:00
Judd Vinet
467b83aed4
made makepkg echo the version-release number as well ( #2375 )
2005-03-15 19:05:39 +00:00
Judd Vinet
d04baabafa
Initial revision
2005-03-15 01:51:43 +00:00