Commit Graph

88 Commits

Author SHA1 Message Date
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