Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/etc/makepkg.conf.in
AgeCommit message (Collapse)Author
2009-01-03makepkg: Introduce purge optionAllan McRae
The purge option, combined with the PURGE_TARGETS variable, allows makepkg to automatically remove commonly confliting or removed files (e.g. /usr/share/info/dir, *.pod). Original work: Tim Yang Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-01-03makepkg: provide MAN_DIRS configuration variableAllan McRae
Provides a MAN_DIRS variable in makepkg.conf which can be used to specify folders to look for manual (man and info) pages to be compressed. Useful for packages that install to /opt. Also clarifies that "zipman" means "zip manuals" and covers both man and info pages. Original work by: Tiago Pierezan Camargo <tcamargo at gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2008-08-25makepkg.conf : some info / docs adjustementsXavier Chantry
After commit 7865fb9af487, info pages are now treated like man pages. This means even with !docs, info pages will still be included. And including info pages was the main reason the docs option was enabled by default recently. So this is now longer needed, and we can revert back to !docs by default for disabling gigantic html pages and other docs. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2008-08-23Remove DB_COMPRESSION and DB_CHECKSUMS from makepkg.confXavier Chantry
DB_COMPRESSION was only used in repo-add and DB_CHECKSUMS was not used anywhere. This also removes the dependency on makepkg.conf in repo-add, so repo-add no longer needs to source makepkg.conf And instead of DB_COMPRESSION, it seems better to just check the extension of the repository file. It does not make sense to have a tar.gz file with a tar.bz2 extension or whatever. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2008-08-23Treat info pages like man pagesAllan McRae
As far a package building is concerned, info pages need to be treated in the same fashion as man pages in that they both can be compressed. This separates them from other forms of documentation and so it makes sense to make that distinction within makepkg. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2008-07-20Make strip paths configurableAllan McRae
This patch introduces a new STRIP_DIRS makepkg.conf option to change makepkg's search path when stripping binaries. Original work by: Thomas Bächler <thomas@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2008-06-19makepkg.conf: make keeping docs the defaultDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2008-05-13Remove --builddeps from makepkgDan McGee
This really should be in an external script, as it is not makepkg's job to rebuild your system. Signed-off-by: Dan McGee <dan@archlinux.org>
2008-03-16Add zipman makepkg option.Chantry Xavier
All other steps in tidy_install function were already controlled by an option in makepkg.conf, so this patch adds an option for the man page compression step too. This will allow to keep man pages uncompressed, which is required for some special meta man page, like the zshall one (see FS#4580). Ref: http://www.archlinux.org/pipermail/pacman-dev/2008-March/011472.html Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
2008-03-10makepkg: Support for resuming source downloadsRoman Kyrylych
Download to *.part and remove the suffix if successful, thus md5sums will be checked only for complete files, and next time makepkg will resume downloading of partial file instead of complaining about invalid md5sums. Old DLAGENTS format is still supported. Late fix: Do not try to download %u first The output of grep was not suppressed, thus the output of get_downloadcmd was wrong because of extra line at the beginning that contained an unsubstituted (with %o and %u) entry from DLAGENTS. Signed-off-by: Roman Kyrylych <roman@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2008-02-17Remove reference to gnome in DOC_DIRSDan McGee
Arch no longer installs Gnome here, and we should be stripping any doc dirs in /opt anyway, so generalize it. Fixes FS#9597. Signed-off-by: Dan McGee <dan@archlinux.org>
2008-01-05Remove mentions of ABS from makepkgDan McGee
Kill off some of the $ABSROOT stuff that was still hanging around in there. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-08-20Clean up architecture handling in configure.acDan McGee
Remove the need for two variables for the architecture-specific switches (things like "-march=i686") by combining it into one variable. Also allow configure to proceed with only a warning if we don't have presets for the detected architecture- it is kind of stupid to restrict ourselves like we had been. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-07-30Update mtune/mcpu/march comments in makepkg.confDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-06-01scripts/makepkg.in: Various clean ups.Andrew Fyfe
* etc/makepkg.conf.in: Add description for xdelta. * doc/makepkg.conf.5: Add description for xdelta. * scripts/makepkg.in: Various clean ups. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-31Add autotool substitution for SRCEXT.Andrew Fyfe
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-31Autotool fixes/cleanup.Andrew Fyfe
* configure.ac: Add AC_SUBST() for ROOTDIR, PKGEXT, DBEXT so they get exported to Makefiles. * {makepkg,pacman}.conf.in: Remove extra / from paths. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-30Add support for creating xdeltas in makepkg.Dale Ogilvie
Add xdelta option to makepkg.conf Added xfer script to contrib. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-30Use @sysconfdir@ in etc/ configuration filesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-29Set paths in pacman-optimize to use configure-time pathsDan McGee
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-28Add -mtune=generic to C{,XX}FLAGS in makepkg.confAndrew Fyfe
GCC-4.2.0 requires -mtune=generic to produce binaries optimized for generic i686/x86_64. By default it tries to optimize a for the host system building the package. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27makepkg: fakeroot-related changes and other misc outputDan McGee
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-14Fix inconsistency in options in default makepkg.confDan McGee
Also add a quick note on how the options are described and used. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-04Enable support for other download protocols in makepkgDan McGee
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-01Tidy up usage of makepkg.confAndrew Fyfe
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-03-15* makepkg.conf.in: Added /usr/share/gtk-doc back into default DOC_DIRSAaron Griffin
2007-03-08* Updated Italian translationDan McGee
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-06* Remove sha1 checksums for now from the INTEGRITY_CHECK array.Dan McGee
2007-02-13From Phil Dillon-Thiselton <dibblethewrecker@gmail.com>:Aaron Griffin
* Wording error in makepkg.conf
2007-02-13Changed "MARCHFLAG" to "ARCHSWITCH" as the name was confusing (it's not a FLAGAaron Griffin
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-06* Makepkg updates, and small bugfix on man page compression.Dan McGee
* Change libtool default to makepkg2 behavior. * Other small changes.
2007-02-04oops, ENVIRONMENT -> BUILDENV in commentsDan McGee
2007-02-04* Updated makepkg to use a new form of options. These two arrays now replaceDan McGee
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-03No longer necessary to explicitly specify SRCDEST, leave it up to user toDan McGee
decide.
2006-12-21Errors with last merge (manual patching)Aaron Griffin
Misc fixes from Dan McGee <dpmcgee@gmail.com>
2006-12-21Added default SRCDST setting to pacman's source cacheAaron Griffin
2006-12-21* Dan McGee <dpmcgee@gmail.com>Aaron Griffin
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-14* Dan McGee's makepkg updates ↵Aaron Griffin
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-11-16Minor makepkg changes - mainly from Daniel McGeeAaron Griffin
2006-11-16* makepkg.conf.in variable changes (missed the checkin)Aaron Griffin
* Better error reporting when unpacking an archive fails * Fixed -Sc and -Scc cache dir opening/reading
2006-11-14* Numerous mini valgrind fixes.Aaron Griffin
* 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-10-15Whoops forgot some .in filesAaron Griffin