1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-10 03:25:01 -05:00
Commit Graph

140 Commits

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