Commit Graph

19 Commits

Author SHA1 Message Date
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
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
Aaron Griffin ff76c8c552 * makepkg.conf.in: Added /usr/share/gtk-doc back into default DOC_DIRS 2007-03-15 00:07:27 +00:00
Dan McGee 28aca444a2 * Updated Italian translation
Giovanni Scafora <linuxmania@gmail.com>
* Changed default SRCDEST in makepkg.conf. Two reasons:
  1) consistency with PKGDEST in /home/packages
  2) building packages as root is NOT recommended, so no reason to ever
     encourage this use by caching source in a dir with root permissions
  Yes, we may all do this differently and build our packages in other
  directories. But that is why they are variables and can be set anyway.
2007-03-08 06:55:22 +00:00
Dan McGee a50105bede * Remove sha1 checksums for now from the INTEGRITY_CHECK array. 2007-03-06 06:42:09 +00:00
Aaron Griffin 473fee2f11 From Phil Dillon-Thiselton <dibblethewrecker@gmail.com>:
* Wording error in makepkg.conf
2007-02-13 19:02:35 +00:00
Aaron Griffin a7e610c37d Changed "MARCHFLAG" to "ARCHSWITCH" as the name was confusing (it's not a FLAG
and not always MARCH).  Also changes makepkg.conf.in to not have commented -mcpu
lines (due to the above), but to have a comment about the differences in -march
and -mcpu
2007-02-13 01:25:26 +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 2f23b69af8 oops, ENVIRONMENT -> BUILDENV in comments 2007-02-04 18:31:39 +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 c2157cf138 No longer necessary to explicitly specify SRCDEST, leave it up to user to
decide.
2007-02-03 05:23:27 +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 1c67053b7d Added default SRCDST setting to pacman's source cache 2006-12-21 17:44:55 +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)

* Jürgen Hötzel <juergen@hoetzel.info>
   user-specific makepkg.conf (~/.makepkg.conf)
2006-12-21 17:42:58 +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 b8b9596b13 Minor makepkg changes - mainly from Daniel McGee 2006-11-16 22:43:58 +00:00
Aaron Griffin 3d6242ed74 * makepkg.conf.in variable changes (missed the checkin)
* Better error reporting when unpacking an archive fails
* Fixed -Sc and -Scc cache dir opening/reading
2006-11-16 17:24:41 +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 ceef991cbd Whoops forgot some .in files 2006-10-15 22:07:10 +00:00