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

132 Commits

Author SHA1 Message Date
Dan McGee
3acbf56bba Clean up architecture handling in configure.ac
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-08-20 00:38:37 -04:00
Dan McGee
dc5e6d5d87 Update mtune/mcpu/march comments in makepkg.conf
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-07-30 23:11:32 -04:00
Dan McGee
466d289e6a Remove unnecessary entries from .gitignore files
.gitignore works recursively, so we don't need Makefile and Makefile.in
in all of the subdirectory .gitignore files.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-07-16 16:49:28 -04:00
Chantry Xavier
fa2164a59e Use only one mirror list for all repos
Fully implement what this commit allows:
ebad199614

Dan: update .gitignore as well.

Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-07-16 16:42:09 -04:00
Dan McGee
7daa6708d2 Remove lockfile configuration from frontend, make it job of libalpm
I previously introduced some patches to make just about every path in
pacman/libalpm configurable; doing this with the lockfile seemed a bit too
far and we really should just place the lockfile where it belongs- with the
DB that needs locking.

More details in this thread:
http://archlinux.org/pipermail/pacman-dev/2007-June/008499.html

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-06-27 23:34:38 -04:00
Dan McGee
d821d75e25 Add archlinux.de mirror
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-06-27 09:55:20 -04:00
Dan McGee
f401e52398 Mirror update and NEWS updates
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-06-26 11:41:31 -04:00
Dan McGee
564d779c2c mirrorlist: Add Brazilian mirror
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-06-09 12:21:11 -04:00
Andrew Fyfe
e0afe6e94a Autotool clean up.
* Add vim modeline to Makefile.am and configure.ac
	* Fix white space in Makefile.am and configure.ac
	* Add contrib/wget-xdelta.sh to EXTRA_DIST in Makefile.am

Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-06-04 22:24:29 -04:00
Dan McGee
a094deacf4 Start moving hardcoded paths out of libalpm
Move the defaults for RootDir, CacheDir, DBPath, and LockFile into
pacman.conf, just as LogFile was done before. Add a section to
alpm_parse_config to look for a LockFile directive.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-06-04 17:00:30 -04:00
Andrew Fyfe
7f153b729f scripts/makepkg.in: Various clean ups.
* 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-06-01 11:49:17 -04:00
Andrew Fyfe
6d649473fa FS7319: Add option to disable the inclusion of abs script.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-31 18:44:00 -04:00
Andrew Fyfe
e422b71a48 Add autotool substitution for SRCEXT.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-31 14:30:41 -04:00
Andrew Fyfe
139d3c5e99 Autotool fixes/cleanup.
* 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-31 17:24:24 +01:00
Dale Ogilvie
a8c552d477 Add support for creating xdeltas in makepkg.
Add xdelta option to makepkg.conf

Added xfer script to contrib.

Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-30 23:58:22 -05:00
Dan McGee
ca05e942f2 Use @sysconfdir@ in etc/ configuration files
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-30 23:33:39 -04:00
Dan McGee
a6129bb789 Finish making autoconf changes
Fix up everything in the etc/ directory so it is built at make-time and
not configure-time. This reduces configure generated files to just the
makefiles, which is the correct way to do things. This also allows a switch
from @@REPO@@ to the more sane @REPO@ in mirrorlist.in, and kills the
two-part generation of the mirror files.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-30 11:46:37 -04:00
Dan McGee
f3836ff8e8 Set paths in pacman-optimize to use configure-time paths
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-29 17:46:20 -04:00
Andrew Fyfe
2760828e9d Add -mtune=generic to C{,XX}FLAGS in makepkg.conf
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-28 23:52:02 +01:00
Dan McGee
aedff1c117 makepkg: fakeroot-related changes and other misc output
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-27 17:01:49 -04:00
Dan McGee
14c768365c Fix inconsistency in options in default makepkg.conf
Also add a quick note on how the options are described and used.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-14 00:51:32 -04:00
Aaron Griffin
c523d78358 New archlinuxppc.org mirror added to mirrorlist
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-22 21:51:13 -05:00
Dan McGee
8bd0f3921f Forward port 3.0.2 branch fixes
Fix #6905- makepkg dependency checking error
Fix #6915- add SUU mirror to mirrorlist.in

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-16 21:51:18 -04:00
Dan McGee
cbabfa8cff Added easynews mirror to mirrorlist.in
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-04 23:19:14 -04:00
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
Aaron Griffin
76f816b9f7 Backport changes from 3.0.1
* Align makepkg -g checksums (Tom Killian <tom@archlinux.org>)
* Use additional case-sensitive string compare to defeat locale issues (tr_TR)
* Added Russian mirror
* Fix a -R failure when trying to remove the same target twice
* Bump configure.ac version to 3.0.1

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-04 00:30:14 -05: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
Dan McGee
8cacc46f8b Move .cvsignore -> .gitignore
* Move all .cvsignore files to .gitignore for switch in VCS. In addition,
  delete ones that were unnecessary because they only contained Makefile
  and Makefile.am.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-27 21:06:31 -04:00
Dan McGee
58fe79eef6 * Fix bug where 'makepkg -L' doesn't stop on build failure.
Andrew Fyfe <andrew@neptune-one.net>
* Add testing to etc/pacman.d/.cvsignore
* Fix scriptlet001.py test to work during 'make check'.
2007-03-25 17:37:42 +00:00
Aaron Griffin
f8d0601b8d * Added a mirror list for [testing] (it appears most mirrors mirror testing)
* Commented ftp.archlinux.org in the official mirror list
* ran a make dist, which updated some translation files
2007-03-24 04:18:17 +00:00
Dan McGee
d38b273f91 * Removed three dead mirrors (Dale Blount <dale@archlinux.org>). 2007-03-23 17:48:05 +00:00
Dan McGee
bf1885b1e0 * Adding new Turkish mirror as posted on the forums.
* Updated Italian translation
  Giovanni Scafora <linuxmania@gmail.com>
2007-03-19 01:28:31 +00: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
Dan McGee
714a414e72 * Removed a mirrorlist that codemac says is quite outdated. 2007-03-05 04:38:57 +00:00
Aaron Griffin
a7d7c96357 * handle changes: callbacks should check handle first, as there's a few
occasions where some alpm stuff could be used without initializing the
  library (vercmp is one).  TODO make these functions (handle accessors)
  better by returning "library not initialized" instead of failing.
* Removed NoUpgrade lines from pacman.conf - we need to test this!
* Re-corrected the lib targets for src/util/*
* make dist seems to have updated the po files
2007-03-04 06:28:48 +00:00
Dan McGee
b8c8b2ec55 * Updated all the supfiles for consistancy, and added a commented out line
to set the umask that some people may find helpful with an 'abs' group (but
  it isn't enabled by default).
2007-02-27 15:53:14 +00:00
Dan McGee
d55e5c104e * added contrib/.cvsignore, and slight change to supfile.testing 2007-02-23 07:45:15 +00:00
Dan McGee
332c127109 Big commit here, I'll try to cover all the bases.
* Updated all of the language files, as the POT file was updated. NOTE FOR
  TRANSLATORS, try to base your next contribution off of these, notice how
  some msgids and messages have been wrapped to the next line- it makes it
  easier to read anyway.
* More Makefile.am/configure.ac updates. 'make dist' and 'make distclean' now
  work properly, with only one caveat- the automatic testing in distclean
  doesn't do so hot as it is compiled with a default configure, which includes
  the fakeroot-proof code (which does not cooperate with pactest).
* Added a Makefile.am for the pactest directory.
2007-02-22 21:34:51 +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
Aaron Griffin
4d494a39e7 Fix some x86_64 configuration handling 2007-02-13 00:57:08 +00:00
Jürgen Hötzel
7518e04c2e * gen-mirrorlist.sh not needed anymore 2007-02-09 22:09:28 +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
Jürgen Hötzel
fc4fe6d689 * fixed clean target: no error if repository files do not exist 2007-02-01 21:46:08 +00:00
Dan McGee
8c0a8ddc5b Added mirror in Finland to mirrorlist 2007-02-01 04:12:58 +00:00
Jürgen Hötzel
13f9fc4d19 * Fix building outside $(srcdir).
* Removed ./gen-mirrorlist.sh invocation from configure script:
  Mirror-files are generated by make, not configure.
2007-01-29 22:18:31 +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
a5ad2b3f93 * Fix FS #3107- Use ISO date style
* Fix FS #5409- document that pacman.conf repo ordering is important

Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2007-01-26 01:33:03 +00:00
Aaron Griffin
42f8b8b2d3 cvsignore cleanup and additions 2007-01-17 03:40:08 +00:00
Aaron Griffin
23f0f778ef Removed archlinux.de mirror by request 2006-12-28 17:13:12 +00:00
Aaron Griffin
2546a35cd5 Configuration changes:
* Added libdownload check in configure.ac
* Added generation for mirrorlists in pacman.d
    NOTE: autoconf sucks for things like this, so gen-mirrorlist is required

Dan McGee <dpmcgee@gmail.com>:
    * mirrorlist.in file

Roman Kyrylych <roman.kyrylych@gmail.com>:
    * ukrainian mirror

Jürgen Hötzel <juergen@hoetzel.info>:
    * conditional build for pacman.static
2006-12-28 16:54:35 +00:00
Aaron Griffin
42a0dddc95 * FS#5990 fix (trailing slash)
* Added !testing to default SUPFILES
2006-12-22 00:48:16 +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
2689fba656 Restored NoUpgrade options - see http://www.archlinux.org/pipermail/pacman-dev/2006-December/000838.html for details 2006-12-21 17:51:50 +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)

* Jrgen Htzel <juergen@hoetzel.info>
   user-specific makepkg.conf (~/.makepkg.conf)
2006-12-21 17:42:58 +00:00
Aaron Griffin
b1fbcd3ab5 *** empty log message *** 2006-12-19 08:16:47 +00:00
Aaron Griffin
78a1a0ac10 More abs build fixes 2006-12-19 07:58:29 +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
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
954901801f Merged some proposed changes from "Dan McGee" <dpmcgee@gmail.com>
* Removal of confusing sortmirrors comment
* Removal of NoUpgrade defaults (handled by packages)
* Move of unstable below community, to illustrate preference.
2006-12-08 20:06:13 +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
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
a8e44ff00a Removed antesis mirror, as it no longer works 2006-11-03 19:55:37 +00:00
Aaron Griffin
ca2544dbc2 Whoops, this file got left out 2006-10-21 00:26:00 +00:00
Aaron Griffin
ac30eb2c1e Applied Frugalware patch from Christian Hamar alias krix <krics@linuxforum.hu>
for file-conflict progress bar
Also did some CVS cleanup, removing some of the autogenerated files that
shouldn't have been there
2006-10-15 23:54:43 +00:00
Aaron Griffin
42aae4aa7b Applied changes from frugalware:
http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=commitdiff;h=20061009002226-e2957-93b82621b6b060312559ea0539699f659bd9cb97.gz
2006-10-15 23:31:21 +00:00
Aaron Griffin
9a82fe2398 *** empty log message *** 2006-10-15 22:08:57 +00:00
Aaron Griffin
ceef991cbd Whoops forgot some .in files 2006-10-15 22:07:10 +00:00
Aaron Griffin
db769f667d Added alpm function docs along
pacman.c : Removed link to frugalware wiki
sync.c : do not display Uncompressed size if 0 (archlinux has no USIZE)
2006-10-15 21:06:08 +00:00
Aurelien Foret
bb121aa161 pacman 2.9.8 synchro 2006-02-07 18:19:57 +00:00
Judd Vinet
59c82a0a94 cleaned up format a bit, added global KEEPDOCS and NOSTRIP flags 2006-01-22 02:17:39 +00:00
Judd Vinet
50be438d4a added frugalware patch for DistCC support 2005-12-14 02:40:01 +00:00
Judd Vinet
7fac942da1 added --no-check-certificate 2005-10-28 17:47:00 +00:00
Judd Vinet
d04baabafa Initial revision 2005-03-15 01:51:43 +00:00