Commit Graph

104 Commits

Author SHA1 Message Date
Alexey Pavlov
54cf89d791 pacman: Fix PKG_CONFOG_PATH for mingw targets. Skip stripping thin
archives. Rebuild
2018-05-31 11:40:51 +03:00
Alexey Pavlov
6559e82461 pacman: Remove _FORTIFY_SOURCE define from makepkg CPPFLAGS as it
conflict with cygwin sources now
2018-02-12 13:07:03 +03:00
Eduard Braun
deae945a8b pacman: change default answer of all queries to yes
This allows to use pacman completely unattended using the
--noconfirm switch which automatically accepts the default answer.

Fixes #1141
2018-02-12 05:51:21 +01:00
Christoph Reiter
17fdb25ca1 pacman/libalpm: ignore file conflicts for foo.exe -> foo renames
In case a file "foo.exe" gets renamed to "foo" the msys2 .exe
interpolation makes pacman think an untracker file is replaced.
In case foo and foo.exe are the same file and foo.exe existed
in the old package version we can be sure it's handled by the
old package and ignore the conflict.
2017-09-27 15:34:34 +02:00
Johannes Schindelin
ecef524cca pacman: Force makepkg to produce .tar files without extended attributes
Extended attributes are not necessary for pacman to work. Extended
attributes may not even be supported by the file system to which we
extract the files.

And worst of all: pacman cannot handle extended attributes, but simply
stops extracting files when it encounters an extended attribute.

This is particularly nasty when creating packages on a system configured
to cache, say, file integrity information about .exe files in extended
attributes, as the created packages will fail to install any .exe files.

The fix is very easy: simply pass the -no-xattrs option to bsdtar.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2017-06-29 12:07:37 +02:00
Alexey Pavlov
5a0d2a9c31 pacman : Fix nullbyte warning 2017-02-15 13:22:24 +03:00
Alexey Pavlov
46945ff878 pacman: Switch to satble release. 2016-07-15 09:53:31 +03:00
Ray Donnelly
97491f0618 pacman: Add a means to ensure sha1 consistency ..
.. in the face of using `git am` to apply patches.

We set `GIT_COMMITTER_NAME` and `GIT_COMMITTER_EMAIL` to fixed
values and provide a `gitam_mkpkg` function that passes
`--committer-date-is-author-date`

The means we can generate packages with the same, correct sha1
without needing to mess about with `git reset` (and thus getting
the old sha1 before our patches were applied).

Also, removed the `-j1` from make since it doesn't seem to be
needed anymore. Perhaps upstream fixed a race condition?
2016-06-02 16:43:23 +01:00
Alexey Pavlov
4540b609ed pacman: Fix output of "pacman --version" 2016-04-01 09:44:31 +03:00
Alexey Pavlov
26ff9ad6e7 pacman: Update to 5.0.1.6403.520736d 2016-03-30 11:17:26 +03:00
Ray Donnelly
2438a9ad65 pacman: Add missing -lintl -liconv to libalpm.pc
A bit hacky but it's because of how old and messy gettext.m4 is
2016-03-12 17:59:48 +00:00
Alexey Pavlov
3ca5aea2d1 pacman: Update to 5.0.1.6388.dcb2397 2016-02-29 14:45:13 +03:00
Viktor Szakats
ab64a4ef6c switch to sha256 checksums
* upgrade some broken packages
* correct some broken urls/checksums
* use secure urls where possible
* use stable url for ncurses
* some whitespace fixes

Remaining md5sums either didn't download or
didn't pass checksum tests.
2016-02-25 14:45:55 +01:00
Qian Hong
da9d894e25 pacman: Add libsqlite-devel and heimdal-devel as makedepends. 2016-02-05 00:01:05 +08:00
Alexey Pavlov
7e713d927d pacman: Update to 5.0.0.6348.cc5a8f1 2016-02-03 11:23:06 +03:00
Alexey Pavlov
d49222523c pacman: Update to 4.2.1.6317.6ac7836 2015-12-22 12:07:47 +03:00
Alexey Pavlov
34d77bf37e pacman : Update to 4.2.1.6258.f5bbd79 2015-11-05 13:30:12 +03:00
Alexey Pavlov
a7e653db92 pacman : Update to 4.2.1.6254.98e6f9a 2015-11-02 08:38:09 +03:00
Alexey Pavlov
b91a8463fa pacman: Update to 4.2.1.6230.6ff894e 2015-10-19 10:27:36 +03:00
Gerald Combs
d768f51c11 Provide hardening options.
Make it easier to compile with ASLR and DEP.
2015-09-15 13:14:04 -07:00
Alexey Pavlov
24f5d6e36c pacman: Update to 4.2.1.6198.439d376 2015-08-09 21:00:57 +03:00
Alexpux
3dd00eb914 pacman: Fix update-core script. 2015-07-27 09:14:02 +03:00
Alexey Pavlov
6d30d339f0 pacman: Update to latest 2015-07-26 21:55:36 +03:00
Alexey Pavlov
0c2b96176e pacman: Update to git SHA [69955cb] 2015-07-21 06:54:03 +03:00
Alexey Pavlov
3f98d7c59b pacman: Fix using "epoch" feature under Windows. 2015-07-13 11:16:56 +03:00
Alexpux
46aee4e694 pacman: Update to git SHA [5c8d12a] 2015-06-30 19:33:48 +03:00
Alexpux
13dd6a6295 pacman: Update to latest git. 2015-05-21 19:16:11 +03:00
Alexpux
47d9b18ea4 pacman: Update to latest. 2015-05-12 10:31:52 +03:00
Alexpux
03fbc0806e pacman: Update to git SHA [a543ac1] 2015-04-26 13:37:22 +03:00
Alexpux
1023f84ee4 pacman: Fix version generation. 2015-04-22 23:32:39 +03:00
nalla
2470120f4e pacman: https protocol for retrieving the source
These days, Git's "smart" HTTP(s) transport is the preferred way to
synchronize between Git repositories.

Signed-off-by: nalla <nalla@hamal.uberspace.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2015-04-15 20:50:38 +02:00
nalla
0b2c66dc0a pacman: Sanity check the final DB URL
When using the *internal* downloader the returned `final_db_url` is
appended by the postfix `.sig` without checking if the `final_db_url` is
indeed sane.

Possible redirects by the server *could* have altered it and therefore
it should be checked before being processed any further. For example,
Bintray redirects all of its URLs, but it is not a dynamic redirector,
as is visible by the URL: it does not end in `.sig` at all, but rather
is a long hexadecimal string.

The `pacman` ML already contains a patch for this kind of behavior. This
commit will apply that patch before building `pacman` for *MSYS2*.

Signed-off-by: nalla <nalla@hamal.uberspace.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2015-04-15 20:49:41 +02:00
Alexpux
5835806667 pacman: Update to git SHA [9b2114c] 2015-03-25 07:17:14 +03:00
Alexpux
eb1f359447 pacman: Update to latest from git. Add workaround about broken symlinks. 2015-03-14 01:41:52 +03:00
Sebastian Schuberth
65940a1ee9 Consolidate identical pacman.conf.{i686,x86_64} files into one
There is no benefit of keeping them separate, so simplify things a bit.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
2015-03-12 10:21:11 +01:00
Alexpux
1ddb253bca pacman: Update to git SHA [e76619f] 2015-03-02 10:59:04 +03:00
Alexpux
478ad9a799 pacman: Update to git SHA [e0d06d1] 2015-02-20 21:11:39 +03:00
Alexpux
e06d492dda pacman: Update to git SHA [702511f] 2015-02-15 23:27:44 +03:00
James Ross-Gowan
e00ef587b9 pacman: makepkg.conf: Fix MAN_DIRS expansion 2015-02-15 14:35:26 +11:00
David Macek
a8d878f9a7 pacman: makepkg-mingw: Set correct MSYSTEM; Allow user to set MINGW_INSTALLATIONS; Don't print help output twice 2015-02-07 01:50:06 +01:00
Alexpux
11e38e9e11 pacman: Update to git SHA [ec7f957] 2015-01-21 14:59:43 +03:00
Alexpux
57d2698b1e pacman: Fix curl download with cookie 2015-01-19 17:54:22 +03:00
Alexpux
1f7a434151 pacman: Update to git SHA [6aed07f] 2015-01-12 10:47:10 +03:00
Alexpux
ce5f27b4ac pacman: Update to git SHA [0afb3f9]. Use parallel compressing with bsdtar (available from xz-5.2.0) 2014-12-28 02:44:41 +03:00
Alexpux
1ff497a748 pacman: disable some patches 2014-12-25 16:42:40 +03:00
Alexpux
fd0cccac26 pacman: Update to git SHA [bf7cb15] 2014-12-25 16:30:22 +03:00
Alexpux
84bf8a3724 pacman: Update to git SHA [97eb956] 2014-12-23 21:26:48 +03:00
Alexpux
836bc0f9a8 pacman: Update to 4.2.0 git SHA [8e2b4ad] 2014-12-19 14:10:08 +03:00
Alexpux
352c4032eb pacman: Update to git SHA [6889f48] 2014-11-21 07:00:47 +03:00
David Macek
3bc64ec415 pacman: Removed fix for upstream bug that is now fixed 2014-11-19 08:40:44 +01:00