summaryrefslogtreecommitdiffstats
path: root/etc/makepkg.conf.in
AgeCommit message (Collapse)AuthorFilesLines
2010-01-19makepkg: Introduce $SRCPKGDESTNezmer1-0/+2
Introduce $SRCPKGDEST to define a destination dir for source packages instead of saving them in $PKGDEST with binary packages. The simple patch doesn't break old behavior. Signed-off-by: Nezmer <git@nezmer.info> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-08Fix nonsensical replaceDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-05-11makepkg: several small fixesAllan McRae1-1/+1
1) Do not attempt to strip compressed binaries Original-work-by: Marc - A. Dahlhaus <mad@wol.de> 2) Add "\" in "GPL\'ed" so quote mark does not break source code highlighting 3) Add local to docdir paths in makepkg.conf for consistency 4) Use full path to sed in MacOSX in case users have GNU sed earlier in path Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-02-28makepkg : remove xdelta supportXavier Chantry1-3/+2
The pkgdelta script can be used instead. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-01-12makepkg : fix a lot of breakages caused by AllanXavier Chantry1-10/+10
This patch started as a simple typo fix (pugre instead of purge in two places), as well as a fix of a test which was using PURGE_TARGETS instead of $PURGE_TARGETS. It evolved in a slight handling change of the OPTIONS which have a variable affecting their behavior (strip STRIP_DIRS, docs DOC_DIRS, zipman MAN_DIRS and purge PURGE_TARGETS), as well as a clarification in makepkg.conf. Now when a variable is undefined or empty, the corresponding option will have no effect. It looked weird to have a fallback when a option is defined but empty, it seems more natural to not have any fallbacks. Also re-enable docs by default. It seems arbitrary to delete files from packages by default, and it would be more vanilla and distro agnostic to keep them. docs was also the only negated option. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-01-03makepkg: Add support for specifying LDFLAGSAllan McRae1-0/+1
Provide support for specifying LDFLAGS within makepkg.conf but leaves this undefined by default. Fixes FS#12542. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-01-03makepkg: move BUILDSCRIPT from makepkg.confAllan McRae1-2/+1
Commit 4b183bf9 moved makepkg.conf sourcing to after the parsing of options, breaking the -p option and --help output. The solution is to move BUILDSCRIPT out of makepkg.conf. This patch moves the definition BUILDSCRIPT back to makepkg itself and adds configure option to allow easy changing of this value during build time. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-01-03makepkg: Introduce purge optionAllan McRae1-2/+5
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 McRae1-1/+3
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 Chantry1-3/+3
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 Chantry1-2/+0
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 McRae1-1/+1
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 McRae1-0/+2
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 McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2008-05-13Remove --builddeps from makepkgDan McGee1-2/+0
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 Xavier1-2/+3
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 Kyrylych1-5/+5
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 McGee1-1/+1
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 McGee1-0/+2
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 McGee1-2/+2
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 McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-06-01scripts/makepkg.in: Various clean ups.Andrew Fyfe1-1/+2
* 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 Fyfe1-0/+1
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-31Autotool fixes/cleanup.Andrew Fyfe1-1/+1
* 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 Ogilvie1-1/+1
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 McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-29Set paths in pacman-optimize to use configure-time pathsDan McGee1-3/+3
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 Fyfe1-2/+2
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 McGee1-1/+1
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 McGee1-1/+3
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 McGee1-4/+12
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 Fyfe1-0/+12
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 Griffin1-1/+1
2007-03-08* Updated Italian translationDan McGee1-1/+3
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 McGee1-1/+1
2007-02-13From Phil Dillon-Thiselton <dibblethewrecker@gmail.com>:Aaron Griffin1-2/+2
* Wording error in makepkg.conf
2007-02-13Changed "MARCHFLAG" to "ARCHSWITCH" as the name was confusing (it's not a FLAGAaron Griffin1-5/+4
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 McGee1-1/+1
* Change libtool default to makepkg2 behavior. * Other small changes.
2007-02-04oops, ENVIRONMENT -> BUILDENV in commentsDan McGee1-1/+1
2007-02-04* Updated makepkg to use a new form of options. These two arrays now replaceDan McGee1-22/+26
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 McGee1-1/+1
decide.
2006-12-21Errors with last merge (manual patching)Aaron Griffin1-1/+1
Misc fixes from Dan McGee <dpmcgee@gmail.com>
2006-12-21Added default SRCDST setting to pacman's source cacheAaron Griffin1-1/+1
2006-12-21* Dan McGee <dpmcgee@gmail.com>Aaron Griffin1-0/+2
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 Griffin1-17/+4
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 Griffin1-5/+11
2006-11-16* makepkg.conf.in variable changes (missed the checkin)Aaron Griffin1-2/+9
* Better error reporting when unpacking an archive fails * Fixed -Sc and -Scc cache dir opening/reading
2006-11-14* Numerous mini valgrind fixes.Aaron Griffin1-54/+61
* 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 Griffin1-0/+64