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

135 Commits

Author SHA1 Message Date
Andrew Fyfe
e2f42947e3 Moved commands to tidy up package install into tidy_install().
The following sets of commands were moved into tidy_install()
	* Remove info/doc files.
	* Move usr/share/man to usr/man
	* Compress man pages.
	* Strip debug symbols from binaries/libraries.
	* Remove libtool *.la files.
	* Remove empty directories.

Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14 11:05:58 -04:00
Andrew Fyfe
7fb1dc3f20 Cleaned up and simplified create_package().
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14 11:05:58 -04:00
Andrew Fyfe
5b4a4af94d Moved commands to create package file into create_package().
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14 11:05:58 -04:00
Dan McGee
01bc7d7749 repo-add: fix conflicts instead of conflict bug
makepkg generates PKGINFO files with "conflict = ", repo-add was
incorrectly looking for "conflicts = ".

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-06 18:55:26 -04:00
Dan McGee
96f35d219c Allow repo-add to work with symlinks (fixes FS #7054)
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-06 18:50:41 -04:00
Marcus Habernehl
339caa61ef repo-add: Fix bug where desc info was omitted if package in a group
This fixes FS #7005.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-25 11:05:53 -04:00
Scott Horowitz
d1c3bd62de rankmirrors: download first 50KB of DB to get more reliable numbers
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-23 00:30:45 -04:00
Alexander Baldeck
a34dc1d4ef Bug fix for FS#6944
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-17 23:52:59 -05:00
Dan McGee
7f183d29ac makepkg: unset LC_MESSAGES during builds
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-16 23:58:07 -04:00
Andrew Fyfe
721ceee1e2 makepkg: remove grep calls from stripping binaries
Remove grep calls from stripping binaries and libraries, which will
not work with localized strings. Clean up the find usage as well.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-16 22:12:15 -04: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
dde2f3eefa Fix FS #6872- CFLAGS are not used
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-11 12:44:42 -04:00
Roman Kyrylych
4dc5dfc72a makepkg: spelling fix
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-05 11:36:38 -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
Giovanni Scafora
f044e23a60 Gettext support in makepkg
Add gettext support to makepkg. Still to do- figure out for sure what
textdomain the translations should go in (perhaps share with pacman?), and
ensure this doesn't break anything.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-31 20:30:35 -04:00
Dan McGee
583b4b10a3 Move makepkg -> makepkg.in in anticaption of gettextized version
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-31 20:30:35 -04:00
Aaron Griffin
970d2e942e repo-add leaves .PKGINFO in the current directory
* Misuse of 'tar xf', which should be 'tar tf'

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-03-29 21:30:40 -05:00
Aaron Griffin
9a9f1e00da From: Andrew Fyfe <andrew@neptune-one.net>
Date: Thu, 29 Mar 2007 11:11:36 +0100
Subject: [PATCH 1/1] Fix bug where makepkg can't extract .tar.Z archives.

For some reason 'tar -xf' doesn't work with .tar.Z, you need to use
'tar -xzf' to extract the archive.

Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-03-29 21:26:58 -05:00
Dan McGee
462ad153e7 Add execute permissions to abs and rankmirrors
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-28 18:41:29 -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
Dan McGee
a07b490344 Andrew Fyfe <andrew@neptune-one.net>
* Fix FS #6688- builddeps not working in makepkg.
2007-03-24 17:11:18 +00:00
Dan McGee
8ded2051d2 * TODO.dan updates.
Alessio 'mOLOk' Bolognino <themolok.ml@gmail.com>
* Make makeworld compatable with makepkg lacking -w option.
2007-03-20 19:16:17 +00:00
Dan McGee
0fa7d47a4d * makepkg: a few more changes to get dependencies working correctly. If a
user does not install all required dependencies, makepkg will now bail.
2007-03-20 02:13:44 +00:00
Dan McGee
b882f463df * makepkg: Fix behavior of -Ssr: deps were not being correctly removed before. 2007-03-20 01:34:16 +00:00
Dan McGee
62d0a00511 * makepkg: fix installation of dependencies with version comparitors. 2007-03-19 22:48:54 +00:00
Dan McGee
bd7b7e5f0c * Added quoting on several makepkg paths that were lacking it. 2007-03-18 23:09:50 +00:00
Dan McGee
4bfd0cb6cc * Missing a 'msg' in makepkg- pointed out by wain on Flyspray. Thanks! 2007-03-14 23:25:03 +00:00
Aaron Griffin
2020e0ec73 * Sebastian Sareyko
Fix repo-add filename addition (use basename)
2007-03-13 15:01:15 +00:00
Dan McGee
ba1806f5ac * Removed ${CFLAGS} from Makefile.am(s) as it was causing all CFLAGS to be
duplicated.
* Updated the util Makefile.am to link with the proper libalpm.la.
* Fixed bitmasking issues in be_files.c and db.h.
* Rankmirrors updates from James Rosten (with some cleaning up of my own).
  KeyboardInterrupts are now handled gracefully.
2007-03-12 03:02:57 +00:00
Dan McGee
68876e4eb0 * Another slight update, getting rid of -rf flags and clarifying a message. 2007-03-09 05:11:47 +00:00
Dan McGee
0a1ca73183 * Added confirmation step to makepkg -C operation to ensure user is deleting
exactly what they think they are.
2007-03-09 04:35:04 +00:00
Dan McGee
4770ac784e * rankmirrors updates from Scott Horowitz <stonecrest@gmail.com>.
Formatted output is now the default. Added a TODO for later as well.
2007-03-05 02:32:14 +00:00
Dan McGee
02d46e33d1 * file utility was updated to version 4.20, removing code that was there to
catch a bug in 4.19.
2007-03-03 18:38:57 +00:00
Dan McGee
bdac910589 * Implemented Douglas' suggestion from the ML- print all integrity checks
together while using makepkg -g.
2007-02-28 05:08:25 +00:00
Dan McGee
01bb564e70 * TODO updates.
* Makefile.am updates for Aaron's move of re-pacman to contrib.
2007-02-26 15:10:53 +00:00
Aaron Griffin
f9a40e5d6f * Added a small note to HACKING
* Moved re-pacman to contrib/ as it's probably not as useful as the other stuff
  in scripts/
2007-02-26 09:19:33 +00:00
Aaron Griffin
4dd6c92228 * pacman hidden arguments: removed -Y and -D. -T is the only hidden arg now, to
be used in place of -Y.  Also, -D was rather silly, as it does mostly what -S
  does.
* Cleaned up pacman_deptest - removed the goofy faketarget stuff (NEEDS testing
  still)
* libalpm function renames
2007-02-26 08:43:02 +00:00
Aaron Griffin
8626e5dd47 else if --> elif (thanks to yankees26 for finding this) 2007-02-24 02:11:52 +00:00
Aaron Griffin
0aae368a79 Syntax error 2007-02-24 01:45:36 +00:00
Dan McGee
c94bfbaba3 Implementing feature request: <http://bugs.archlinux.org/task/4706>
* Added these three possible options (or !options, more likely), to the
  PKGBUILD possibilities:
  - ccache
  - distcc
  - makeflags
* Removed the --noccache and -j flags from makepkg as their functionality is
  better used by adding the above options to a PKGBUILD- keep the functionality
  where it is needed.

Testing would be appreciated, I didn't do much of that yet.
2007-02-23 19:51:24 +00:00
Aaron Griffin
89046c32a3 * Prepend all lists with _ for consistency
* Fixed IFS. It seems there's no easy way to get a newline IFS without setting
  it like so:
  IFS="
" #ewww gross
2007-02-23 01:29:14 +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
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