NEWS 98.5 KB
Newer Older
Judd Vinet's avatar
Judd Vinet committed
1
2
VERSION         DESCRIPTION
-----------------------------------------------------------------------------
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
6.0.1         - Prevent download error pages ending up in package files
                (FS#71083)
              - Give -U downloads a random .part file name if needed
                (FS#71464)
              - Fix downloading signatures with redirecting URLs (FS#71148)
              - Fix double free when importing PGP keys (FS#71107)
              - Ensure signature files are named after original file
                following redirects (FS#71274)
              - Order downloads by size - largest to smallest (FS#70172)
              - Fix reproducibility of man pages (FS#71154)
              - makepkg:
                - Fix stripping debug symbols with binutils 2.37 (FS#71722)
                - Export PYTHONHASHSEED for reproducible python packages
              - pacman-key:
                - Quieten trust db checks.
Eli Schwartz's avatar
Eli Schwartz committed
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
6.0.0         - internal downloader can retrieve files in parallel (FS#20056)
              - an additional progress bar is added to track total download
                progress.  This replaces the previous TotalDownload option.
              - fix download rates becoming negative
              - skip mirror servers with too many errors (FS#29293)
              - package signatures are always retrieved even if signature is
                embedded in repo database or package is in cache (FS#33992)
              - detached package signatures found in CacheDir can be used to
                verify packages if signature is not in the database. Also
                verify packages checksums from repo db when using detached
                signatures.
              - add support for multiple 'Architecture' values
              - -Qkk now validates file checksums in addition to date/size
              - colored upgrade summary now dulls version numbers for contrast
              - libalpm frontends can now supply context to callbacks (FS#12721)
              - support xattr when extracting packages
              - allow setting --noprogressbar in pacman.conf
              - fix output alignment for CJK translated text (FS#59229)
              - fix reading targets from stdin when using --sysroot (FS#68630)
              - fix deleting signatures for existing databases with -Sc
              - check for and forbid duplicate download filenames (FS#67850)
              - -Fx now reports error for invalid regex
              - remove support for the autotools build system
              - meson: properly compile internal symbols as hidden
              - meson: make -uninstalled.pc correct
              - fix build errors on systems like FreeBSD
              - makepkg:
                - add link time optimization support to makepkg
                - add support for sources using the fossil VCS
                - allow specifying alternative authentication commands when
                  running pacman as root (FS#32621)
                - support zstd decompression for sources
                - strip: fix removing file attributes such as xattr
                - switch to CRC as default integrity checksum
                - record $startdir for reproducible builds
                - record name of build orchestration tool for reproducible builds
                - fix signing of source packages
                - add optional argument support to parseopts
                - reduce dependency on file for detecting ELF files
                - remove dependency on GNU sed
                - avoid trailing whitespace in --printsrcinfo output
                - libprovides: don't provide both versioned and unversioned
                  sonames
                - don't double-layer distcc on ccache
                - fix detection of source file names for debug packages with
                  gcc 11
                - strip: silence warnings emitted by readelf while detecting
                  source filenames
                - fix use of spaces in source file renaming (FS#70254)
              - pacman-key:
                - --refresh-keys queries WKD before keyserver
                - be less noisy when populating the keyring (FS#64142)
                - warn about time taken for master key generation
              - repo-add:
                - support the same compression methods as makepkg
              - zsh completion: add pacman-conf support
              - various documentation updates
              - after a decade and a half of promising libalpm.3 documentation
                "once we get around to doing good Doxygen documentation", it
                has happened!
Andrew Gregory's avatar
Andrew Gregory committed
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
5.2.2         - fix pacman test suite under python 3.8
              - only prompt to import new keys once in a transaction
              - fix handling of fully downloaded .part files
              - increase maximum database size (FS#65197)
              - fix segfault in alpm_option_set_assumeinstalled
              - change config parsing warnings to errors to match actual
                behavior
              - fix key extraction for signatures with two-octet sub-packet
                headers
              - fix documentation typos (FS#67000)
              - change master signing key to RSA4096
              - improve error message when building without autoconf-archive
              - pacman-conf:
                - allow querying ILoveCandy individually
                - fix querying NoExtract individually
              - makepkg:
                - fix seccmp-related error while stripping binaries (FS#65100)
                - fix extraction of file:// sources (FS#64648)
                - allow $pkgname in install and changelog file names (FS#64932)
                - sort libprovides for reproducibility
                - strip: don't re-add the same debug source multiple times
                - error on empty refspecs in git sources
                - correctly handle missing download clients
                - fix splitting multi-line error messages across stdout and
                  stderr
                - handle GPGKEY with spaces (FS#66949)
                - do not accept public-only keys for signing
              - repo-add:
                - handle GPGKEY with spaces (FS#66949)
                - do not accept public-only keys for signing
Allan McRae's avatar
Allan McRae committed
108
109
110
111
112
113
114
115
116
117
5.2.1         - fix segfault on importing PGP keys for -U operations
              - fix distribution of meson files
              - fix inode command for darwin/bsd
              - distribute all documentation files
              - update bash/zsh completion for -F changes, remove --force
              - makepkg:
                - fix calculation of package sizes in presence of hardlinks
                - do not warn about PACKAGER format if not set
                - only run --clean when a package is built
              - repo-add:
118
                - fix compression of databases with zstd (FS#64213)
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
5.2.0         - completely remove delta support (CVE-2019-18183)
              - add support to pacman and pacman-key for downloading PGP
                signing keys using the WKD protocol (FS#63171)
              - completely remove the --force option
              - renovate and simplify the UI for -F (FS#47949)
              - hooks: rename type File to Path, for accuracy
              - add the meson build system as an alternative to autotools, and
                distribute it in autotools dist tarballs
              - switch from system() to exec() when using alternative download
                agents for XferCommand; this prevents a potential source of
                shell injection (CVE-2019-18182)
              - ignore .hook suffix when sorting libalpm hooks
              - update the minimum requirement of bash to 4.4
              - scripts: pass on options such as set -x to child processes
              - show group and installed status during -Fs
              - user-visible log when validity check fails due to access
              - port pactest to python3
              - process --needed before group selection when resolving the
                dependencies to prompt for (FS#22870)
              - don't error when a group exists but all packages are ignored
              - bash completion now completes when it should, and doesn't
                complete when it shouldn't (FS#59965)
              - improve error message when gpg support is missing (FS#60880)
              - don't emit confusing errors when a package is simultaneously
                replaced and upgraded (FS#50875, FS#55534)
              - better warning message when skipping duplicate targets
                (FS#49377)
              - libalpm: parse {check, make}depends when reading database
                (FS#60347)
              - add [ignored] to -Qu output for packages in repos that are not
                Usage = Upgrade (FS#59854)
              - prevent 301 redirect loop from hanging libalpm
              - use standard, consistent units in the download progress
                (FS#59201)
              - fix segfault when Usage is specified without a value
              - include timezones in pacman.log
              - bash-completion: use POSIX character classes for portability
              - correctly report a download failiure for 404s
              - fix handling of signals during SIGSEGV
              - fix buffer overread in pacman/callback
              - fix crash when downloading files with a Content-Disposition
                that has no directory component
              - pacman-conf, testpkg are now properly localized
              - when -F returns zero results, set a failing exit code
              - improve wording for the error message when a package cannot be
                removed due to dependencies
              - fix segfaults and other incorrect behavior when using -Qip if
                pacman was compiled without GPGME support
              - makepkg:
                - implement extendable source/signature verification routines
                  within libmakepkg (FS#49076)
                - if pacman is in use, wait until it is available before
                  continuing (FS#28840)
                - add support for lzip, lz4 and zst compressed packages
                  (FS#56676, FS#59081)
                - add new checksum algorithm, b2sum
                - various improvements to PKGBUILD linting
                - when signing packages, report package filename on failure
                - fix pkgver() function not aborting on errors
                - remove checksum algorithm whirlpoolsum as it has not worked
                  for a long time
                - reject PKGBUILDs with both split and non-split package
                  functions
                - send status messages to stderr rather than stdout (FS#17173)
                - ensure debug buildflags are unset when they are supposed to be
                - buildenv and executable detection, definitions for the
                  PKGBUILD schema, and makepkg.conf loading are now part of
                  libmakepkg
                - fix broken check for the fakeroot binary
                - improve the error message for invalid dependency versioning
                - add routine for linting $SOURCE_DATE_EPOCH
                - fix the error code when no PKGBUILD exists
                - use --unneeded when removing build deps to allow runtime-only
                  deps to work well with makepkg -sir (FS#32723)
                - compute package sizes correctly across different filesystems
                - use shared clones for git sources to save space when building
                - fix reporting of invalid archive extensions
                - correctly handle hg sources with updates on a non-default
                  branch
                - install pkg-config file for libmakepkg's library directory
                - propagate error codes when package failed to sign correctly
                - be compatible with file 5.37's application/gzip MIME type
                - forbid non-ASCII pkgname and pkgver (FS#49342)
                - fix exiting on failure without ensuring dependencies are
                  prompted for removal (FS#63000)
                - quiet superfluous warnings for missing debug source files for
                  artificial symbols
                - add routine for linting $PACKAGER to check that it has a
                  valid name and email address, and document the desired format
                  in makepkg.conf(5)
                - add rust support for *FLAGS and debug-prefix-map
                - correctly handle a system file command with seccomp enabled
                  (FS#58626)
                - try to more thoroughly clean up logpipe during unusual exit
                  states such as CTRL-C
                - when installing packages with -sir, be more robust against
                  conflicting makedepends by always uninstalling them first
                - fix exit code when removing deps fails
                - reproducible builds: suppress filesystem-specific archive
                  metadata from built packages as they are not needed
              - pacman-key:
                - just accept one file to verify, and enforce detached sigs
                  (FS#52022)
                - after recent GnuPG updates, ensure the Web of Trust is still
                  used
                - clean keys during import to reduce size consumed by unusable
                  signatures
              - repo-add:
                - add support for zst compressed databases
                - print the name of the database when extracting
                - do not infinitely loop on malformed arguments with embedded
                  globs
                - add option to prevent downgrading (FS#17752)
              - various documentation updates
5.1.3         - Sanitize file name received from Content-Disposition header
                during -U (CVE-2019-9686)
Andrew Gregory's avatar
Andrew Gregory committed
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
5.1.2         - pacman-conf: add missing DisableDownloadTimeout support
              - Include version when checking optdepend install status
                during -Qi (FS#60106)
              - Improve error message for unresolvable urls (FS#48285)
              - Do not raise SIGINT when a downloaded file exceeds the expected
                size
              - Fix previous download interruption status carrying over to new
                downloads
              - Reset known signal handlers before running install scripts or
                hooks (FS#56756)
              - Properly handle signal interrupts while running install scripts
                or hooks (FS#60396)
              - Allow explicitly disabling signature checks when compiled
                without signature support (FS#60880)
              - makepkg: fix linting error on environment variables (FS#60681)
Allan McRae's avatar
Allan McRae committed
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
5.1.1         - Allow full path including root prefix to be passed to
                --overwrite
              - Revert deprecation of --root
              - Document comment syntax restrictions in pacman.conf
              - makepkg:
                - handle pre-existing directories when checking for write
                  permissions
                - reduce restrictions on pkgver in depends listings (FS#58776)
                - permit versioned optdepends
                - remove unintended chmod of $BUILDDIR (FS#58790)
                - fix issue when $startdir was not an absolute path (FS#58865)
                - fix syntax error when $pkgname is empty
                - fix --nocolor being passed to pacman (FS#58820)
                - fix issues with trap handling
                - fix several issues with debug packages (signing, printing of
                  package names, clearing of global package options, source
                  file inclusion)
                - fix --help text for --packagelist
              - pacman-conf: Fix detection of Usage option
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
5.1.0         - Add new --overwrite option and deprecate --force. This accepts a
                glob pattern with far more control than the widely abused force
                option which mostly just causes issues (FS#31549)
              - Add new --sysroot option and deprecate --root. This uses the
                guest configuration instead of the host configuration, which is
                what most people erroneously thought --root would do
              - introduce a 'disable-download-timeout' option
              - remove contrib - this is now maintained in a separate project
              - report the owner of an existing file, if any, when erroring out
                on a file conflict
              - resolve cyclic dependencies when calculating unneeded dependency
                trees (FS#41031)
              - report the needed command to download missing databases for the
                -F and -S actions
              - don't error if -Qo cannot find the file it is querying on disk
                (FS#55856)
              - support new-style OpenPGP format packets lengths
              - support EDDSA from gpgme 1.7.0
              - fix continuously trying to open invalid databases and reporting
                excessively excessive redundant error messages excessively
              - fix the download callback erroneously reporting itself too many
                times with --noprogressbar, or reporting inaccurate times for
                small files (FS#56408, FS#56468)
              - fix erroneous negative speed in download progressbar (FS#43434)
              - parse stdin as newline-separated instead of whitespace-separated
                (FS#52992)
              - when printing urls in the package cache, print the file url
                instead (FS#15868)
              - add color to group selection dialogs and -{F,Q}o
              - the -Q option now respects provides (FS#20650)
              - remove notification of system upgrade when only printing URLs
              - print replacements when using -Sup (FS#35812)
              - fix -Qk and -r checking for the root prefix twice (FS#48563)
              - Do not recognize # as a comment unless it is at the beginning of
                a line. This allows using it as a value in ini files (FS#48702)
              - ignore comments when examining INSTALL files (FS#51916)
              - match multi-byte user input properly (FS#47992)
              - abort transactions if even one database fails to sync (FS#47599)
              - do not resolve uid/gid to names when extracting files with -r
              - --dbonly now properly extracts metadata files (FS#52052)
              - remove support for internal checksumming implementations, and
                require at least one of openssl or nettle to exist
              - consider provides to satisfy optdepends when warning for removal
                or logging new optdepends during a transaction, as was already
                the case for -Qi
              - -Dk now reports if it is successful (FS#50087)
              - consider version for optdepends (FS#44957)
              - remove vim modelines in favor of EditorConfig
              - implement pacman-conf, a new tool to safely parse pacman.conf,
                and use it in internal scripts
              - bash completion now completes -Qn
              - various small documentation updates
              - makepkg:
                - Reproducible build support. makepkg now respects environment
                  SOURCE_DATE_EPOCH when creating package metadata, and unifies
                  source file timestamps to match
                - add more info to .BUILDINFO to aid in reproducing the build
                  environment of a package
                - it is now possible to check the signature of VCS sources
                  (currently only git is supported)
                - use informative exit codes when exiting with errors (FS#54204)
                - lint_pkgbuild has vastly improved linting of pkgname and
                  variables that can contain pkgname/pkgver (FS#57833)
                - implement linting for makepkg.conf
                - fix using libmakepkg in external scripts without extglob
                - fix handling of configurable directories e.g. PKGDEST to align
                  with their documented behavior, and consistently check that
                  they can be used (FS#43537)
                - parseopts, srcinfo, and integrity are now part of libmakepkg
                - consistently use coreutils for checksumming instead of openssl
                  (which may be replaced by nettle in pacman)
                - lint build_references now prints affected filenames (FS#31558)
                - lint_package can now abort on fatal packaging errors
                - lint_package now checks for filenames with newline characters
                - lint_package now checks for root-level /.dotfiles
                - debug packages are now per pkgbase, not per pkgname
                - debug packages now contain source files to allow the debugger
                  to step through code
                - remove optipng and upx support - these can now be plugged into
                  libmakepkg
                - fix emptydirs support with newer findutils (FS#48515)
                - ignore architecture for --printsrcinfo
                - makepkg --printsrcinfo now correctly lists depends_$CARCH
                  instead of merging this into depends
                - fix bug in is_array that broke packages with arch-dependent
                  sources only (FS#48340)
                - move package signing outside of fakeroot which is incompatible
                  with recent gnupg versions (FS#49946)
                - makepkg --clean now cleans up logfiles (FS#51039)
                - when using $PKGDEST, do not symlink build artifacts into
                  current directory
                - --packagelist now lists the built filenames, rather than all
                  possible basenames without extensions
                - fix --geninteg not properly ignoring renamed signature files
                - use localized date strings
                - ensure sane umask is set both before and after installing deps
                - adapt to file(1) changes in order to continue to strip PIE
                  executables
              - repo-add:
                - don't recreate the database when only verifying signature
                  (FS#48085)
                - fix error when repo directory path contains spaces (FS#50285)
              - pacman-key:
                - reject armored signatures
                - don't set a default keyserver, deferring to gpg's sane default
                - disable scdaemon as we don't use it and it breaks --lsign when
                  a smartcard is plugged into the machine
              - vercmp:
                - remove duplicate, undocumented --usage option
                - fail when the wrong number of arguments are used (FS#49093)
Andrew Gregory's avatar
Andrew Gregory committed
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
5.0.2         - fix database file checks with -Qkk and non-standard root
                (FS#48563)
              - improve optdepend detection for status messages (FS#44957)
              - make Y/N prompt multi-byte-character aware (FS#47992)
              - properly detect dependency cycles with --recursive (FS#41031)
              - improve free disk space calculation (FS#37402)
              - extract database files with --dbonly (FS#52052)
              - repo-add:
                - do not alter the database if only verifying signature
                  (FS#48085)
                - fix error for directories containing whitespace (FS#50285)
              - makepkg:
                - fix building packages with only architecture-specific
                  sources (FS#48340)
                - ignore PKGBUILD architecture for --printsrcinfo
                - do not die on non-empty directories under !emptydirs
                  (FS#48515)
                - preserve checksum type for architecture-specific sources
Allan McRae's avatar
Allan McRae committed
397
398
399
400
401
5.0.1         - fix alignment issues with wide character locales (FS#47980)
              - fix removal of .pacnew files (FS#47993)
              - fix triggering of Install hooks (FS#47996)
              - fix handling of stdin scripts called by pacman
              - hook activity is logged
Morgan Adamiec's avatar
Morgan Adamiec committed
402
              - documentation updates for alpm-hooks (FS#48080)
Allan McRae's avatar
Allan McRae committed
403
404
405
406
407
408
409
410
411
412
413
              - makepkg:
                - increase robustness of variable array checks
                - makepkg -g does not perform current architecture checks
                - do not run prepare() with --noextract
                - all directories in the packaging directory are cleared
                  before each build
                - fix translations issues (FS#48057, FS#48298)
              - repo-add:
                - fix checking for non-existent database
              - contrib:
                - zsh_completion: updated makepkg options
Allan McRae's avatar
Allan McRae committed
414
415
416
417
418
5.0.0         - pacman can run hooks pre- and post-transaction. See the
                alpm-hooks(5) man page for details and an example hook (FS#2985)
              - pacman can now sync and read .files databases (-Fy) and do basic
                searching for files in sync repos (-Fs, -Fo) (FS#23787)
              - pacman can check the validity of the local and sync databases
Allan McRae's avatar
Allan McRae committed
419
                (-Dk and -Dkk respectively).  This replaces the 'testdb'
Allan McRae's avatar
Allan McRae committed
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
                software (FS#42444)
              - the package description output (-Si ,-Qi) is now correctly
                aligned regardless of locale (FS#43983, FS#45997)
              - ensure internal package version matches database version after
                downloading (FS#45687)
              - improved signal handling and lock file removal (FS#45995,
                FS#46375, FS#47011)
              - print more information when encountering dependency errors
              - improved configuration parsing with a new ini parser
              - handle a symlink to a directory being replaced by a directory
              - The 'pkgbase' variable is now recorded in the local package db
              - Remove support for ".pacorig" files.  Instead, packages files
                are extracted as a ".pacnew" and the original stays in place
              - prevent install scriptlets using stdin for user interaction
              - provides are considered when displaying optdepends install
                status (FS#36412)
              - always update corrupt database whether or not a newer version
                is found on the remote server
              - fix build issues when libarchive was in a non-standard location
              - Many issues found using Coverity were address (primarily freeing
                memory on error conditions)
              - The pactest suite was upgraded to allow parallel testing using
                the tap.sh library
              - makepkg:
                - makepkg is in the process of being split into a library. This
                  allows various areas to be extended by adding a file into
                  libmakepkg (e.g. package/PKGBUILD checking, adjusting
                  files before creating the final package).
                - PKGBUILD variables checked to be arrays or not as appropriate
                - pkgver() and prepare() are now run with --noextract (FS#43498,
                  FS#46800)
                - the ability to build a single package in a PKGBUILD has been
                  removed
                - the output when checking checksums for architecture specific
                  sources is improved (FS#43444)
                - improved handling of bazaar sources (FS#43448)
                - fix source package signing with SRCPKGDIR set
                - add option to compress png images with optipng
                - add --packagelist option, which lists all packages build from
                  a PKGBUILD
                - add --printsrcinfo flag to print SRCINFO file for a PKGBUILD
                - record build information in a .BUILDINFO file
                - add whirlpool to list of hashing options (FS#45859)
              - makepkg-template:
                - support multiple --template-dir
                - added a testsuite
              - repo-add:
                - Always generate the .files database
                - Only update database if the entire operation succeeds
                - unarmored package signatures are rejected
              - contrib:
                - checkupdates: give error when fakeroot is missing
                - checkupdates: provide packages versions in output
                - checkupdates: fix failure in some locales (FS#40405)
                - paccache: Add -q/--quiet
                - pacdiff: do not require DIFFPROG for -o/--output (FS#46184)
                - zsh_completion: updated to fix many missing options
Allan McRae's avatar
Allan McRae committed
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
4.2.1         - Remove warnings about incorrect directory ownership until
                packaging files with dynamic users/groups is improved
              - Do not require a specific automake version when building from
                the source tarball (FS#43655)
              - A number of typos and translation errors have been fixed
                (FS#43257, FS#43280, FS#43279, FS#43617, FS#43739)
              - set sane umask in pacman-db-upgrade (FS#43200) and make it
                more verbose
              - Use correct permissions when creating the log file
              - Fix memory management for file list storage
              - Set package origin when adding to db cache
              - makepkg:
                - Fix error when encountering an expired PGP key (FS#43269)
                - Fix error extracting PKGBUILD attributes (FS#43387)
                - Fix removal of static libraries when the shared library
                  uses the absolute path in symbolic links (FS#43395)
                - Improve Bazaar cloning (FS#43448)
Morgan Adamiec's avatar
Morgan Adamiec committed
494
                - Fix issues with architecture dependent checksum
Allan McRae's avatar
Allan McRae committed
495
                  verification (FS#43192)
Morgan Adamiec's avatar
Morgan Adamiec committed
496
                - Fix .SRCINFO file with architecture dependent fields
Allan McRae's avatar
Allan McRae committed
497
498
499
500
501
502
503
504
                  (FS#43247)
                - Fix compatibility with older bash versions
                - Allow git checkouts to be downloaded into directory ending
                  with ".git".
              - contrib:
                - updpkgsums no longer changes file permissions (FS#43272)
                - paccache does not remove all packages on libalpm error
                  (FS#43286)
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
4.2.0         - symlinks to directories on the filesystem are no longer
                treated as directories
              - pacman-db-upgrade - fix local database for files installed
                into directory symlinks
              - added --assume-installed option to help upgrades where not all
                installed packages have been rebuilt
              - --unrequired now filters needed optdepends too. Use twice
                to only filter direct dependencies
              - improved dependency resolving ensures correct ordering when
                installing updates (FS#32764)
              - A new configure keyword Usage can limit what operations a
                repository is used for
              - NoExtract and NoUpgrade can use inverted pattern matches
                (FS#31749)
              - Group queries can be filtered with --explicit/--deps (FS#19716)
              - Filesystem checking now only produces a warning for altered
                backup files (FS#34739)
              - pacman prints a warning if an installed directory has different
                permission to that already on the filesystem (FS#34740)
              - both current and new versions are displayed when querying
                updates
              - --print-format now implies --print
              - package scriptlets are not run when using --dbonly
              - invalid option combinations cause pacman to abort (FS#20950)
              - improve output when a package is missing a required signature
                (FS#28014)
              - PGP signature key IDs are listed with -Sii (FS#34742)
              - indicate ignored packages in -Qu output
              - use appropriate file size units with -Si/-Qi
              - plugged several memory leaks
              - read filelists from a packages .MTREE file if possible
              - ensure packages have all the required metadata before installing
                (FS#35514)
              - always remove lock file on exit (FS#35603)
              - fix overflow in integrity checking progress bar (FS#36608)
              - ensure downloads use correct filename even if the mirror uses a
                redirect (FS#36791)
              - cache PGP key IDs during availability checking (FS#38042)
              - fix reading responses with leading whitespace (FS#39976)
              - fix potential issues when handling of UTF8 filenames
                (FS#40805, FS#40762)
              - makepkg:
                - PKGBUILDs can now specify architecture specific sources,
                  dependencies, etc.
                - A .SRCINFO file is added to source packages for easy parsing
                - VCS package building attempts to be incremental (FS#35050)
                - bzr sources can have a '+' in them (FS#35244)
                - allow sources containing "::"
                - add --noprepare option
                - add -C/--cleanbuild option (FS#17175)
                - add --noarchive option
                - remove --asroot and enforce fakeroot usage
                - all PKGBUILDs require a package() function
                - PKGBUILDs can no longer be read from stdin
                - enable make style environmental overrides
                - Read CARCH environmental variable (FS#35030)
                - makedepends and checkdepends are installed together (FS#31557)
                - added support for sha224 checksums (FS#36776)
                - remove warning when license is not specified in PKGBUILD
                  (FS#37011)
                - only remove static libraries if they have a shared version
                - prevent makepkg creating armored signatures (FS#38503)
                - support stripping kernel modules
                - support the kernel.org PGP signing scheme (FS#31592)
                - sign created source package when using --sign
                - enforce source signatures to be trusted or have their full
                  fingerprint listed in the validpgpkeys array of the PKGBUILD
                - look for configuration in XDG_CONFIG_HOME/pacman/makepkg.conf
                  (FS#43030)
                - ensure vcs tools are available when source entries require
                  them
                - disallow pkgver/pkgrel/epoch overrides in split packages
                - improve parsing of PKGBUILD variables (FS#40361)
              - makepkg-template - new package build templating utility
                (FS#10375)
              - repo-add:
                - add option to remove package files from disk
              - contrib:
                - checkupdates: rename CHECKUPDATE_DB to CHECKUPDATES_DB
                - pacdiff: add a "Quit" option, and many other improvements
                - pacsysclean is removed
Morgan Adamiec's avatar
Morgan Adamiec committed
586
4.1.2         - validate %FILEPATH% when parsing repos to prevent arbitrary
Allan McRae's avatar
Allan McRae committed
587
588
589
590
591
592
593
594
595
596
597
598
599
                file overwrites from malicious databases
              - makepkg:
                - restrict package name from starting with a dot
                - fix BZR source revision support (FS#35281)
                - Use LOGDEST for log pipe
                - fix distcc disabling (FS#35741)
                - correct stat usage on BSD/Darwin (FS#35469)
              - pacman-key:
                - Do not reinterpret keys from revoked keyrings
              - contrib:
                - paccache: remove broken su privilege escalation (FS#35173)
                - pacscripts: update for current pacman options
                - checkupdates: be consistent with naming (FS#35755)
600
601
602
603
604
4.1.1         - fix bug causing negative "Total Installed Size" (FS#34616)
              - report libalpm version it is pkg-config file (FS#34967)
              - various translation fixes and updates (FS#34395, FS#34704,
                FS#34716, FS#35097)
              - makepkg:
Jason St. John's avatar
Jason St. John committed
605
                - improve SVN VCS PKGBUILD handling (FS#34675, FS#34636)
606
607
608
609
610
                - allow "lp:" URLs for BZR sources (FS#34650)
                - prevent pkgver() capturing stderr (FS#34974)
                - fix attempt to remove package twice on failure (FS#34672)
              - contrib:
                - fix privilege escalation in paccache (FS#34656)
Allan McRae's avatar
Allan McRae committed
611
4.1.0         - check file properties when using -Qkk (FS#11091)
Allan McRae's avatar
Allan McRae committed
612
              - add color to pacman output - new configuration option "Color"
Allan McRae's avatar
Allan McRae committed
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
              - add informational messages for optdepends installation
                status (FS#13035, FS#27116)
              - add number suffix to pacsave files instead of overwriting
                (FS#24192)
              - improve needed key importing for Upgrade (FS#26520)
              - add options to specify require signature level for
                Upgrade operations (FS#26729)
              - directory ownership can be queried
              - allow wildcards in NoUpgrade, NoExtract, IgnorePkg,
                IgnoreGroup and HoldPkg (FS#20360, FS#18988)
              - remove -f short option for --force
              - SyncFirst option has been removed (FS#26445)
              - offer to delete downloaded packages failing signature check
                (FS#28014)
              - configure shell for running install scriptlets (FS#20557)
              - make path to ldconfig configurable
629
              - display repo in VerbosePkgLists output
Jason St. John's avatar
Jason St. John committed
630
              - do not check file conflicts or disk space with --dbonly
Allan McRae's avatar
Allan McRae committed
631
                (FS#25667)
Allan McRae's avatar
Allan McRae committed
632
              - UseDelta takes a ratio for the largest delta to use
Allan McRae's avatar
Allan McRae committed
633
634
635
636
637
638
639
640
641
642
              - track how installed packages were validated (FS#28040)
              - add pkg-config file for libalpm
              - avoid false ownership matches for files in / (FS#30388)
              - only load filesystem space information when needed
              - allow leading "local/" in query options
              - allow cleaning only some cachedirs
              - do not remove source package and package databases from
                cache (FS#25166)
              - improve conflict checking with directory symlinks (FS#30681)
              - remove Cygwin support
Allan McRae's avatar
Allan McRae committed
643
644
              - add program prefix to pacman log entries
              - add --native filter to pacman -Q
Allan McRae's avatar
Allan McRae committed
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
              - makepkg:
                - require bash>=4.0
                - support for VCS URLs (git, bzr, svn and hg) (FS#7816,
                  FS#8890, FS#13727, FS#15895, FS#16384, FS#16872, FS#19459,
                  FS#19476, FS#20841, FS#21098, FS#28605)
                - split debugging symbols into separate package (FS#10975)
                - use SKIP in checksums to skip integrity check (FS#19735)
                - add prepare() function to PKGBUILD (FS#30582)
                - add pkgver() function to auto-update pkgver/pkgrel
                - pkgrel must be in decimal format
                - PKGBUILDs without package() functions are deprecated
                - support specifying CPPFLAGS in makepkg.conf
                - support PACKAGER environmental variable
                - allow source renaming to work on signature files
                - configurable compression options (FS#27430)
                - allow multiple packages to be build when using
                  BUILDDIR (FS#28417)
                - add makedepends/checkdepends information to .PKGINFO
                - url can be overridden in split packages
                - allow wildcards in PURGE_TARGETS
                - pass --asdep and --needed flags to pacman when installing
                - use last match in BUILDENV/OPTIONS arrays (FS#26701)
                - fix "arch" handling in split packages (FS#27204)
                - add LOGDEST configuration option
                - install makedepends with --repackage
              - repo-add:
                - honor TMPDIR environmental variable
                - add makedepends/checkdepends information to database
              - pacman-key:
                - fix importing keys with quotes in file name (FS#28445)
                - allow verification of multiple sig files
                - add zsh completion (FS#29062)
              - pkgdelta: add ratio and package size limits
              - pactree: improve output
              - contrib:
Allan McRae's avatar
Allan McRae committed
680
681
                - updpkgsums: update checksums in a PKGBUILD
                - checkupdates: new - safely check for package updates
Allan McRae's avatar
Allan McRae committed
682
683
                - pacsort: add --files option to support parsing filenames
                - pacdiff: improve usability
Allan McRae's avatar
Allan McRae committed
684
                - add zsh completion
685
686
687
688
689
690
691
692
693
4.0.3         - frontend database cleanup enhancements (FS#28714)
              - frontend package cleanup enhancements (FS#25166)
              - back out changes related to SyncFirst in 4.0.0
                - remove recursive/needed automatic flags on SyncFirst
                - remove poorly implemented `-S --recursive` option
              - improve error messages on database locking failures
              - use full delta size as max download size (FS#28345)
              - improved handling and fix crash after failed downloads
              - fix key lookup when using gpg 2.X as GPG program
Jason St. John's avatar
Jason St. John committed
694
695
              - match only full path components in disk space checking
              - skip disk space checks when using --dbonly
696
697
698
699
700
              - scripts: unset CDPATH bash variable in all scripts
              - makepkg:
                - fix syntax error in remove_deps (FS#28448)
                - small fixes related to multiple libdeps, parsing issues
                - exit via default handler in trap_exit (FS#28491)
Jason St. John's avatar
Jason St. John committed
701
                - attempt to work around Btrfs file/block size reporting issues
702
703
704
705
706
707
708
              - pacman-key:
                - remove signature verification in --populate
                - make -e option work as advertised without arguments
                - exit with correct return codes when verifying signature
              - pacsysclean: fix description, fix option parsing (FS#28434)
              - pkgdelta: use bsdtar -q option for better performance
              - translations: various updates and corrections
Dan McGee's avatar
Dan McGee committed
709
710
711
712
713
4.0.2         - allow comments after a repository header in pacman.conf
              - search for and import PGP subkeys if necessary (FS#27612)
              - fix rare segfault on removal operations (FS#27805, FS#28195)
              - skip all unknown files when cleaning package cache
              - restore looking for files in cache before downloading via -U
714
              - ensure '[removal]' is displayed in trans confirmation (FS#27981)
Dan McGee's avatar
Dan McGee committed
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
              - implement disk space checking code for Illumos
              - use TCP keepalive in download to prevent dropped connections
              - round and show -0.00 values as 0.00 (FS#27924)
              - makepkg:
                - ensure all source files are included in --source (FS#26580)
                - fix locale sort/comm related issues (FS#26580)
                - abort on missing download agent
                - restrict flags passed to pacman (FS#28012)
                - work around certain zipman glob/existence issues
                - fix non-writable SRCPKGDEST error message (FS#28197)
                - fix printf interpreting gettext string as arg (FS#28069)
                - don't abort on non-zero hg return codes (FS#28248)
                - disable extglob when sourcing BUILDSCRIPT (FS#27780)
              - pacman-key: improve return codes of operations (FS#26730)
              - repo-add: enforce maximum signature file size (FS#27453)
              - contrib/paclist: support --help (FS#27258)
              - contrib/pacsysclean: new script
              - contrib/*_completion: fix completion for uncompressed packages
              - translations: extensive updates and corrections
734
4.0.1         - ensure VerbosePkgList table display supports multibyte chars
735
              - always use stderr for warning/error messages (FS#26555)
736
              - add guidance message for users when public keyring not found
737
738
739
              - fix edge case in download progress bar rounding (FS#26853)
              - ensure downloads started as tempfiles have correct umask
              - ensure unowned symlinks are not overwritten incorrectly
Dan McGee's avatar
Dan McGee committed
740
              - allow -U operation even without sync databases (FS#26899)
741
742
743
              - update libtool files and update fix for -Wl,-as-needed
              - fix build when using --disable-static (FS#26652)
              - pacman-key: add a keyserver timeout value in --init
744
              - repo-add: fix race condition around lock file removal
Dan McGee's avatar
Dan McGee committed
745
746
747
748
749
750
              - makepkg:
                - accept changelog= or install= without a value
                - trim trailing whitespace from sensitive variables
                - handle PGP signatures with a .sign extension
                - delay attachment of signal traps (FS#26196)
              - translations: multiple updates and corrections
Dan McGee's avatar
Dan McGee committed
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
4.0.0         - well-integrated and powerful signed packages and databases
                support in pacman, the library, and scripts (FS#5331)
              - over 800 commits to pacman.git since 3.5.4 release
              - many code cleanup commits across library/binaries/scripts
              - many performance improvement commits across library/binaries
              - add new -S --recursive operation to upgrade a full dep chain
              - report upgrade size on sync operations (FS#12566)
              - early terminal input is flushed before question prompts
              - remove duplicate code shared in sync and upgrade operations
              - remove ShowSize; replaced with VerbosePkgLists (FS#15772)
              - print callback (warning, error) messages to stderr (FS#25099)
              - download progress callback has more room for filenames
              - fix selection entry for long values (FS#25253)
              - make config parsing two-pass process, enhance error messages
              - print helpful tips on -Qi <filename> or -S <filename>
              - replace libfetch with libcurl for backend download library
                - timeout when mirror is not responding (FS#15369)
                - full HTTPS protocol support (FS#22435)
                - support of non-traditional/redirected URLs (FS#22645)
                - ensure downloads are only resumed if appropriate (FS#23803)
              - only remove empty directories if no remaining owner (FS#25141)
              - better cache directory choosing and honor $TMPDIR (FS#25435)
              - replaces are parsed as dependency-style strings (FS#23410)
              - split package verification and load stages
              - sync database reading refactor for performance
Dan McGee's avatar
Dan McGee committed
776
              - use a larger buffer for package checksum validation
Jason St. John's avatar
Jason St. John committed
777
778
              - file lists now have a dedicated type with metadata
              - disk space check no longer requires iterating package archives
Dan McGee's avatar
Dan McGee committed
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
              - update and add checksum routines from PolarSSL
              - validate sync database sha256sum if available
              - correctly parse sizes in database > 2GiB
              - API: several type renames from pm* to alpm_* prefix
              - API: several enum constant renames from PM to ALPM_* prefix
              - API: several types are now public exposed structs
              - API: handle is no longer a single global variable
              - API: more changes than can be mentioned here, see README
              - much improved API documentation for use by Doxygen
              - pactest: several performance/checking improvements
              - scripts:
                - refactor some common components into shared bash library
                - split translations into pacman-scripts catalog (FS#15148)
              - makepkg:
                - allow signing packages after creation
                - allow verifying source file signatures (FS#20448)
795
                - add auto-versioned libdepends/libprovides support
Dan McGee's avatar
Dan McGee committed
796
797
798
799
800
801
802
803
804
805
806
                - support UPX compression of executables (FS#17213)
                - allow usage of an alternate build directory (FS#22308)
                - cleancache option has been removed; use shell instead
                - improved variable sanity checking (FS#16004)
                - better handling of package extensions (.tar.Z or invalid)
                - allow PKGEXT/SRCEXT environment overrides (FS#19860)
                - only check for writable PKGDEST if necessary (FS#24735)
                - check_software function exits early if missing req'd binaries
                - do source packaging in fakeroot (FS#24330)
                - be more POSIX-compatible in use of `ln` (FS#24893)
                - handle spaces with filenames in noextract (FS#25100)
Dan McGee's avatar
Dan McGee committed
807
                - allow epoch-versioned optdepends
Dan McGee's avatar
Dan McGee committed
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
              - pacman-key: new keyring management tool for signed data
              - pacsort: new utility, sort version numbers as pacman does
              - pactree: support sync databases with -s option
              - pkgdelta: add a manpage
              - repo-add:
                - handle and include package signatures in databases
                - verify database signature before modification
                - sign database after creation/modification
                - general script cleanup and bash-ification
                - add sha256sums to database (FS#23103)
              - contrib/bacman: code cleanups and small bug fixes
              - contrib/bash_completion: updates for new options/commands
              - contrib/paccache: new, pacman cache cleanup script
              - contrib/paclist: rewrite using bash
              - contrib/paclog-pkglist: new, recover from missing local DB
              - documentation: extensive updates to all manpages
              - translations: extensive updates, new languages: lt, zh_TW
Dan McGee's avatar
Dan McGee committed
825
826
827
828
829
830
3.5.4         - fix display of lists on non-TTYs and other output fixes
              - fix group selection entry for large inputs (FS#24253)
              - fix divide by zero when downloading zero length files
              - flush terminal input before reading response (FS#20538)
              - allow files to be replaced by directories (FS#24904)
              - makepkg: fix filenames with spaces and noextract (FS#25100)
831
              - scripts: remove ln -f option for POSIX compliance (FS#24893)
Dan McGee's avatar
Dan McGee committed
832
833
              - various small documentation updates
              - minor translation updates: de, fi
Dan McGee's avatar
Dan McGee committed
834
835
836
837
838
3.5.3         - segfault when creating lock in non-existent dir (FS#24292)
              - segfault when uninstalling broken backed-up symlink (FS#24230)
              - --print should not enable --noconfirm (FS#24287)
              - fix default path substitution in documentation
              - makepkg: quote variables that may contain spaces (FS#24002)
Dan McGee's avatar
Dan McGee committed
839
              - makepkg: fix creation of source package with -p (FS#24567)
Jason St. John's avatar
Jason St. John committed
840
              - repo-add: include dotfiles in file lists (FS#24534)
Dan McGee's avatar
Dan McGee committed
841
              - minor translation updates: de, fi, fr, sk, zh_CN
Dan McGee's avatar
Dan McGee committed
842
843
3.5.2         - ensure we show correct missing dependency info (FS#23424)
              - pacman usage/--help updates (FS#23433, FS#23369)
Dan McGee's avatar
Dan McGee committed
844
845
846
847
848
849
850
851
852
853
854
              - ensure stdout/stderr are flushed before prompts (FS#23492)
              - compile/portability fixes for FreeBSD platform
              - extensive documentation updates for alpm.h interfaces
              - fix several missing pm_errno error code returns
              - makepkg:
                - simplify log redirection and remove sync (FS#23378)
                - improve parsing for sanity checks (FS#23524)
                - avoid use of `tr` to avoid locale and other issues
                - fix GNU-ism in `su` invocation
              - bacman: update for new local database format (FS#23641)
              - extensive translation updates and fixes
Dan McGee's avatar
Dan McGee committed
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
3.5.1         - don't error on unknown pacman.conf directives (FS#23055)
              - only read arguments from stdin if '-' is provided as target
              - fix case with ignore handling in argument list (FS#23342)
              - don't show group selection prompt with -Sp (FS#23340)
              - restore old --debug/--verbose behavior (FS#23370)
              - ensure repo DBs are saved with sane umask (FS#23343)
              - fix segfault when a repo includes deltas entries (FS#23314)
              - fix potential data corruption issue on sync DB read
              - get zsh completion in a working state (FS#23322)
              - makepkg: improve optdepends extraction (FS#23307)
              - translations:
                - de: fix makepkg fatal error (FS#23315)
                - sr, sr@latin: new Serbian translation
                - various other translation updates
              - build system: ensure libtool respects LDFLAGS (FS#23325)
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
3.5.0         - sync DBs read directly from the database tarball
                (FS#8586, FS#20233)
              - local DB "depends" file has been merged into the "desc" file
                - pacman-db-upgrade script provided to update the local
                  database format
              - sync database extension is .db (without compression suffix)
                - requires repo-add from pacman-3.4+
              - package versions can have an 'epoch' value defined that will
                overrule any version comparison
                - this replaces the use of the "force" option in allowing for
                  package updates with versions that do not conform to the
                  default version comparison operations
                - package versions have the format [epoch:]pkgver-pkgrel
              - check available disk space before installing packages (FS#11639)
                - enabled by the "CheckSpace" option in pacman.conf
                - attempt to stop install if we hit an extraction issue
                  (FS#7692, FS#22034)
              - improved interactive selection for groups/provides
                (FS#19704, FS#19853)
              - finer grained control of ignoring dependency resolution
                - -Sd to ignore dependency versions only
                - -Sdd to ignore all dependency information
              - clean-up of --help output (FS#19526)
              - CleanMethod for package cache cleaning can use both
                KeepInstalled and KeepCurrent simultaneously
              - various speed-ups:
                - improved internal storage of the package cache
                - faster pkgname/depends searches
              - use OpenSSL crypto functions if available
              - makepkg:
                - add support for running testsuites in a check() function
                  (FS#15145)
                  - controlled by BUILDENV option 'check' in makepkg.conf
                    which may be overridden by --check/--nocheck on the
                    command-line
                - extract any file bsdtar recognizes
                - STRIP_DIRS has been removed in favor of stripping all
                  recognized files
                - improve $srcdir/$pkgdir check to reduce false positives
                - $pkgname can be used in split package() functions (FS#22174)
                - added '!buildflags' option to allow unsetting of CFLAGS,
                  CXXFLAGS and LDFLAGS
              - repo-add: added -f/--files to create files database (FS#11302)
              - pactree: rewritten in C using libalpm
Dan McGee's avatar
Dan McGee committed
914
915
916
3.4.3         - fix attempted double remove of all files issue during upgrades
              - respect IgnorePkg/IgnoreGroup for group members (FS#19854)
              - back out epoch changes; 3.5.X will handle them differently
Dan McGee's avatar
Dan McGee committed
917
918
3.4.2         - fix progress bar display with empty packages
              - make pactest testsuite Python 2.7 compatible
Dan McGee's avatar
Dan McGee committed
919
920
              - write epoch values in preparation for 3.5.X releases
              - fix null pointer dereference in architecture check (FS#21668)
Dan McGee's avatar
Dan McGee committed
921
922
923
              - documentation: remove unnecessary "|| return 1"
              - contrib/bacman: update package compression selection
              - contrib/PKGBUILD.vim: add a few more license options
Dan McGee's avatar
Dan McGee committed
924
              - translations: es, kk, sv, pt, ru updated
Dan McGee's avatar
Dan McGee committed
925
926
927
928
929
930
931
932
933
3.4.1         - fix interaction of --needed and multiple repo groups (FS#20221)
              - bash completion: small fixes to prevent alias problems
              - rankmirrors: fix bogus/empty variable assignment (FS#19911)
              - repo-add: ensure bare DB symlinks are relative (FS#20498)
              - repo-add: fallback to copy if symlink not permitted (FS#19907)
              - makepkg:
                - use absolute path to 'du' to exclude wrapper progs (FS#19932)
                - ensure $startdir check doesn't stall indefinitely (FS#19975)
                - fix repackaging with multiple passed packages (FS#20272)
934
935
936
937
938
              - translations:
                - zh_CN: fix crash when using during install (FS#20188)
                - sk: new Slovak translation
                - pt: new European Portuguese translation
                - other small updates to various translations
Allan McRae's avatar
Allan McRae committed
939
940
941
942
943
944
945
3.4.0         - new "Architecture" option that will restrict pacman to
                installing only packages from the given architecture. Can be
                set to "auto" in which case the output of "uname -m" is used
              - use "$arch" when specifying a mirror url to automatically
                select the correct architecture
              - Installing packages with -U can handle installing
                dependencies, conflict resolution and replacing packages
946
                (FS#3492, FS#5798)
947
              - can upgrade the system and install a new package using
948
                "pacman -Syu <pkg>" (FS#15581)
Allan McRae's avatar
Allan McRae committed
949
              - new -D/--database operation for modifying package install
950
                reasons (FS#12950)
Allan McRae's avatar
Allan McRae committed
951
              - new --print and --print-format options to output information
952
                in suitable format for wrapper scripts (FS#14208)
Allan McRae's avatar
Allan McRae committed
953
              - only extract new entries when updating a repo database
954
              - show "Required by" in -Sii output (FS#16244)
Allan McRae's avatar
Allan McRae committed
955
              - -U and -R options always ask for confirmation
956
              - allow -Qo to perform a functional 'which' (FS#8798)
Allan McRae's avatar
Allan McRae committed
957
958
              - cache cleaning cleans all directories, not just first
              - cleanupdelta: new utility to help remove unused deltas from
959
                a repo database
960
              - bash completion: rewrite for size and performance (FS#16630)
Allan McRae's avatar
Allan McRae committed
961
962
963
964
965
966
              - repo-add: handle removing the final package from a repo
              - rankmirrors: rewrite using bash
              - vercmp: does not link to libalpm to prevent upgrade issues
              - makepkg:
                - automatically aborts on any errors during packaging
                - changelogs are now included via the "changelog" variable
967
                - override pkgver, pkgrel and arch in split packages (FS#15955)
Allan McRae's avatar
Allan McRae committed
968
969
970
971
                - repackaging without a package() function is deprecated
                - stricter syntax checking for backup and optdepends entries
                - file stripping options are configurable
                - New --pkg flag to allow building specific package(s) from
972
973
974
                  split PKGBUILDs (FS#15956)
                - build() function is now optional (FS#15147)
                - warn about reference to build root in a package (FS#14751)
Allan McRae's avatar
Allan McRae committed
975
976
977
                - configure source package destination with SRCPKGDEST
                - major internal refactoring of handling tests ("[" to "[[")
              - contrib/pactree: print reverse dependency tree
978
979
980
981
982
983
984
985
986
3.3.3         - correctly check the return code from opendir()
              - fix possible infinite loop in alpm_list_remove()
              - makepkg:
                - quote arrays to preserve spaces in arrays (FS#16871)
                - allow passing arguments with spaces
                - adjust preselected option for clearing cache
              - translations:
                - zh_CN: fix positional parameter usage in makepkg (FS#16983)
                - el: fix Y/N response translation (FS#16568)
Jason St. John's avatar
Jason St. John committed
987
3.3.2         - fix infinite file size download issue (FS#16359)
Dan McGee's avatar
Dan McGee committed
988
989
990
991
992
              - fix bogus download size on TotalDownload
              - documentation updates
              - small translation updates
              - repo-add: use size of target files and not symlinks
              - repo-remove: create empty DB when all packages are removed
Dan McGee's avatar
Dan McGee committed
993
994
995
996
997
998
999
1000
3.3.1         - use full path to ldconfig when calling in chroot
              - optimize the check for modified databases during sync
              - ensure installed libfetch is new enough
              - have -Q ops return 1 when no package matches (FS#15938)
              - skip SyncFirst dialog if unnecessary (FS#15810)
              - misc documentation updates (FS#15870, FS#15984)
              - testdb: be less verbose during checks
              - existing translation updates
Dan McGee's avatar
Dan McGee committed
1001
              - two new translations: Norwegian, Swedish
Dan McGee's avatar
Dan McGee committed
1002
1003
1004
1005
              - makepkg:
                - add --skipinteg option (FS#15830)
                - fix .PKGINFO creation with -R option (FS#15851)
                - always keep symlinks to sources when unpacking
Xavier Chantry's avatar
Xavier Chantry committed
1006
1007
1008
1009
1010
1011
3.3.0         - xdelta: many fixes and improvements
                - new pkgdelta script to create deltas
                - repo-add can add both deltas and packages to a database
              - xz archive format supported for packages and databases
              - in case of unresolvable packages, pacman now asks
                if they should be skipped instead of aborting
1012
1013
              - -Suu synchronizes all packages with the version from the
                repository (including upgrade and downgrade)
Xavier Chantry's avatar
Xavier Chantry committed
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
              - replace libdownload dependency by the original libfetch
              - better support of -q/--quiet flag with -Qo and -Ql
              - -Sp works without root (FS#8905)
              - fix a bug where the replacement of a package failed because
                of a file conflict, and the package was lost (FS#9088)
              - improved behavior of HoldPkg option (FS#9173)
              - allow to ignore a package from a group (FS#12059)
              - search package groups when searching a db (FS#13099)
              - asciidoc fixes
              - documentation updates
              - repo-add: cleanups, improvements and speedup
              - makepkg:
1026
1027
                - package splitting support! - see PKGBUILD-split.proto
                - limit fakeroot usage with addition of package() function
Xavier Chantry's avatar
Xavier Chantry committed
1028
                - info is handled like man pages and not other documentation
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
                - configuration option for man/info page directories
                - added ability to automatically remove files from package
                - configuration option for default LDFLAGS
                - specify alternative configuration file with --config flag
                - check all integrity checksums provided in PKGBUILD
                - fix pkgver/pkgrel updating in SCM packages
                - BUILDSCRIPT option removed from makepkg.conf. Now specified
                  during configure
                - enforce no ">" or "<" in provides array
                - package compression autodetection
                - check PKGBUILD for CRLF line endings
                - fix reading PKGBUILD from pipe
Xavier Chantry's avatar
Xavier Chantry committed
1041
                - increase compatibility with BSDs & Mac OSX
1042
              - contrib
Xavier Chantry's avatar
Xavier Chantry committed
1043
                - pacdiff - improvements and new -l flag for using locate
1044
                - pacscripts - print install scripts for a package
Dan McGee's avatar
Dan McGee committed
1045
1046
1047
1048
1049
1050
3.2.2         - log pacsave warnings to pacman.log (FS#12531)
              - separate local DB creation and writing (FS#12263)
              - pacman-optimize: rewrite and refresh (FS#11767)
              - repo-add: use openssl instead of md5sum
              - simplify doc building process for ease of development
              - ensure correct handling of syscall interruptions
Allan McRae's avatar
Allan McRae committed
1051
              - re-add missing newline on -Qi/-Si output (FS#11331)
Dan McGee's avatar
Dan McGee committed
1052
1053
1054
1055
1056
1057
1058
1059
1060
              - fix TotalDownload regression (FS#11339)
              - makepkg:
                - replace getopt with an internal function
                - detect incorrect usage of provides (FS#12540)
                - fix bash substitution to work in older versions
                - fix updating PKGBUILD and simplify logic for SCM packages
                - save/restore shell options before/after build() (FS#12344)
              - documentation updates and asciidoc build fix
              - existing translation updates
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
3.2.1         - drop special handling of file:// URLs
              - display optdepends on install and upgrade
              - fix segfault on x86_64 when using UseSyslog (FS#11096)
              - fix detection of TotalDownload (FS#11180)
              - fix "No such file" error during --force installs (FS#11218)
              - better handling of progressbar when behind a proxy (FS#8725)
              - repo-add: fix whitespace handling (FS#9171, FS#10630)
              - repo-add: add optdepends to the sync DB (FS#10630)
              - makepkg:
                - allow specifying a download filename (related to FS#11292)
                - fix download functions with weird URLs (FS#11076)
                - fix creation of source package with local files (FS#11149)
                - fix error when sourcing profile scripts (FS#11179)
                - perform case-insensitive checksum comparison (FS#11283)
              - documentation and help updates (including fix for FS#11203)
Roman Kyrylych's avatar
Roman Kyrylych committed
1076
1077
              - new Ukrainian translation
              - existing translation updates
1078
3.2.0         - removed -A/--add option from pacman frontend
1079
1080
1081
1082
1083
1084
1085
1086
              - added --asexplicit option
              - new remove option --unneeded
              - add -Rss option to remove all dependencies
              - removed useless -e/--dependsonly option
              - config options are now case sensitive
              - added CleanMethod option for variety in cache cleaning
              - new Turkish translation, all others updated and revised
              - handle multiple groups in -Ss and -Qs operations
Xavier Chantry's avatar
Xavier Chantry committed
1087
              - allow -q/--quiet option with -o/--own and -g/--groups options
1088
1089
              - removed hack for packages with unknown installed size
              - add SyncFirst option to pacman.conf
Xavier Chantry's avatar
Xavier Chantry committed
1090
              - support installation of versioned deps : pacman -S "dep>=2.0"
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
              - add --enable-git-version configure flag to identify
                developmental build version
              - do not duplicate packages in required by list
              - pacman.static is no longer built
              - all error messages use pm_fprintf
              - disable geteuid in cygwin
              - use off_t type for large file support
              - add vercmp test script
              - moved gensync and updatesync to contrib/
              - rewrote pacsearch script in perl
              - paclist script to list installed packages from a repo
              - bacman script to make backup of package from filesystem
              - combined repo-add and repo-remove into one script
              - removed --force option from repo-add
              - add --quiet option to repo-add/repo-remove
              - update libtool version to 1.5.26
              - allow disabling of internal download with new configure
                flag --disable-internal-download
              - pactest can now check file permissions
Xavier Chantry's avatar
Xavier Chantry committed
1110
1111
              - add the possibility to mark the pactests known to fail,
                which allows more informative results of make check
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
              - libalpm-specific changes:
                - use dynamic string allocation in package structure
                - new functions for manipulating pmdepend_t objects
                - store replaces and force in local database
                - moved deptest functionality to backend
                - add alpm_checkdbconflicts function
                - fix PM_ERR_CONFLICTING_DEPS handling
                - cleanup of pmsyncpkg_t
                - add alpm_sync_newversion function
                - cleanup of alpm_list code
                - refactor of download code
                - download callback API changes
                - removed test_delta_md5sum and test_pkg_md5sum functions
                - add _alpm_archive_fgets function to read line-by-line from
                  an archive
                - read .PKGINFO directly from package file with no temp file
                - native support for both libdownload and libfetch
                - rework delta algorithm (we still need script updates)
                - swap parameters of alpm_pkg_find for consistency with
                  other find functions
                - swap parameters of PM_TRANS_CONV_INSTALL_IGNOREPKG to make
                  more sense
Xavier Chantry's avatar
Xavier Chantry committed
1134
                - fix -Rs when removing multiple items in dependency chain
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
              - makepkg-specific changes:
                - support for resuming source downloads
                - added zipman option
                - removed -b/--builddeps
                - various portability fixes for BSD and Mac OS X
                - check for valid options in PKGBUILD
                - add --allsource option
                - remove deprecated --usesudo option
                - handle spaces in build directory
                - made keeping docs the default option
                - use pacman version dep resolving
                - fix regression in library stripping
                - make strip paths configurable
              - MANY other bug fixes and small improvements
1149
1150
1151
1152
3.1.4         - various small code cleanups and fixes
              - small documentation updates
              - improvements to PKGBUILD.vim
              - translation updates - ru, zh_CN
Dan McGee's avatar
Dan McGee committed
1153
1154
1155
1156
3.1.3         - major updates to i18n output in frontend (all UTF-8 characters
                should now work with varying byte and char widths)
              - new Simplified Chinese translation
              - updates to testpkg utility
Dan McGee's avatar
Dan McGee committed
1157
1158
1159
              - updates to PKGBUILD.vim
              - internal updates for translations - use c-format on all
                strings, get rid of needless line numbers
1160
1161
1162
1163
1164
3.1.2         - updates to proto.install, add ChangeLog.proto (FS#7231)
              - add 'force' option to packages, and have repo-add respect it
              - mark gensync and updatesync as deprecated
              - fix pacman -Qo behavior on symlinks (FS#9473)
              - fix segfault on a broken symlinks in backup code (FS#9235)
Dan McGee's avatar
Dan McGee committed
1165
1166
              - ensure filename is determined correctly for a pkg (FS#9547)
              - fix conflict progress bar with UTF-8 chars (FS#6437)
1167
              - fix chk_fileconflicts brokenness, ensure it reads entire list
Dan McGee's avatar
Dan McGee committed
1168
              - ensure -Sc operation locks DB, only checks DBs (FS#9609)
1169
1170
              - minor documentation and message updates
              - moved some translations to their more generic lang codes
Dan McGee's avatar
Dan McGee committed
1171
              - allow scripts to be run without gettext installed
1172
1173
1174
1175
1176
              - makepkg:
                - check to ensure we have non-URL sources (FS#9208)
                - ensure we strip binaries in /opt/ dirs (FS#9342)
                - check for VCS executable before using (FS#9230)
                - set sane umask before source extraction (FS#9242, FS#9362)
Dan McGee's avatar
Dan McGee committed
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
3.1.1         - fix versioned provisions handling- use '=' instead of ' ' which
                differs from original spec but better in long run (FS#9171)
              - rename query --orphans to --unrequired (FS#9144)
              - fix segfault when cachedir is unusable (FS#9186)
              - missing SYMEXPORT on libalpm functions (FS#9155)
              - notify of package replacements when using --noconfirm (FS#5179)
              - fix usage of PKGEXT by gensync/updatesync (FS#9190)
              - ensure correct dir permissions in database (FS#9176)
              - ensure /tmp is created with correct permissions (FS#9183)
              - disallow NULL section in parseconfig (reported on forums)
              - remove Arch-specific pacman.conf and mirrorlist from source
              - makepkg: --holdver option for devel PKGBUILDs (FS#9194)
              - documentation updates (FS# 9142, 9146, 9175, 9192, 9204)
              - many translation updates
1191
1192
1193
1194
3.1.0         - paths are now specified as absolute paths (or defaulting to
                under the specified root directory)
              - all paths can be specified in pacman.conf or on command line
              - updates to pacman clean operation- now cleans uninstalled
1195
                packages and old sync DBs (FS#8061)
1196
1197
1198
              - remove all hardcoded paths and allow them to be set at
                configure/build time
              - single mirrorfile- pacman substitutes the repository name in
1199
1200
1201
                mirror file when $repo is found (FS#6389)
              - New config file options: ShowSize, TotalDownload, IgnoreGroup,
                UseDelta
1202
1203
1204
1205
              - all scripts have been gettext-ized and can be translated
              - added testdb utility to check pacman DBs for common problems
              - huge additions to pactest suite
              - remove -F/--freshen operation
1206
              - add --ignoregroup option (FS#1592)
1207
1208
1209
              - --ignore and --ignoregroup accept comma separated lists
              - add --needed option for --sync
              - massive optimization and speedup for --owns
1210
1211
              - add -q/--quiet option for -Ss/-Sl and -Q? output (FS#8470)
              - add --asdeps option (install reason: dependency) (FS#7193)
1212
              - replace "Total Package Size" with "Total Download Size"
1213
                (FS#4182)
1214
1215
1216
              - fix -Q options to work on installed packages AND package files
              - change -Q/--query options to act as filters and increase their
                flexibility
1217
              - -U/-A <url> now downloads to cachedir (FS#6404)
1218
1219
1220
1221
              - install and build dates are localized
              - optdepends support
              - delta support
              - versioned provisions support
1222
1223
              - versioned conflicts support
              - add < and > operators for versioned dependencies and conflicts
1224
1225
              - bash completion updates
              - mirrorlist updates
Dan McGee's avatar
Dan McGee committed
1226
              - removed ABS script from codebase (now a separate project)
1227
              - allow multiple pacman cache directories
1228
1229
              - all manpages are now generated using Asciidoc (FS#7312)
              - moved parseconfig from backend library to frontend
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
              - clean up and refactoring of the ENTIRE codebase
                - remove many useless #ifdefs
                - split many too-long functions
                - portability updates: compiles and passes tests on BSD and
                  Darwin (switching libdownload->libfetch)
                - clean up build process
                - use of static code analysis
                - memory leak fixes all over the place
                - fix overzealous use of macros
                - entire codebase builds with -pedantic GCC option
              - libalpm-specific changes:
1241
                - moved location of sync DBs into their own directory to thwart
1242
1243
                  deletion and remove naming limitations
                - REQUIREDBY entries are no longer used in local DB but are
1244
1245
                  computed on the fly when needed, which should resolve
                  phantom dependency issues (FS#7639)
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
                - ensure we export everything that should be public
                - fix some const correctness issues
                - add list tail ptr shortcut to make last element lookups O(1)
                - database dates are stored as seconds from epoch
                - removed SHA1 support
                - drop in new MD5 library
                - implement topological sorting for dependencies
                - do case sensitive compare in parse_descfile (FS#8081)
                - remove hardcoded architectures
                - conflicts checking speedups and fixes
                - move lockfile location to inside the DB
                - remove gettext calls from DEBUG messages
Jason St. John's avatar
Jason St. John committed
1258
                - remove faulty disk space checking
1259
                - move functions out of alpm.c to where they belong
1260
                - rewrite of file extraction code (FS#7484)
1261
1262
1263
1264
1265
              - makepkg-specific changes:
                - entire script has been functionalized
                - only runs in fakeroot when necessary
                - hard linked manpages are now compressed (FS#5392)
                - built-in versionpkg support
1266
                - arch=('any') support (FS#8153)
1267
1268
1269
1270
                - clean up and prettify the output
                - replace tar/cpio/unzip with bsdtar (FS#7485)
                - add --ignorearch option (FS#7355)
                - improved error handling
1271
1272
                - downloads straight to $SRCDEST to avoid copies (FS#7271)
                - support for multiple download protocols (FS#4404)
1273
1274
                - remove --usesudo option, use it by default
                - add --asroot option to discourage building as root
1275
                - add $srcdir and $pkgdir variables (FS#7278)
1276
1277
                - add source package creation option
              - rankmirrors- allow reading from stdin (FS#8043)
1278
              - and many other updates: 198 bugs/FRs closed since 3.0.0 release
1279
              - switch to GIT for source code management
1280
3.0.6         - config files updated to reflect current -> core change
1281
1282
1283
              - fix symlink overwriting issue (FS#7484)
              - fix config parsing with tr_TR locale (FS#7235)
              - use AC_SYS_LARGEFILE if available (FS#7578)
1284
1285
3.0.5         - add -mtune=generic to default CFLAGS in makepkg.conf
              - small updates to translations
Dan McGee's avatar
Dan McGee committed
1286
              - repo-add: fix conflicts issue for real this time
1287
1288
              - fix issue with libarchive incorrectly setting permissions
3.0.4         - updated translations
Dan McGee's avatar
Dan McGee committed
1289
              - repo-add: fix issue where conflicts were not put in database
1290
3.0.3         - updated translations
Dan McGee's avatar
Dan McGee committed
1291
              - repo-add: fixed a desc file clobbering issue
Dan McGee's avatar
Dan McGee committed
1292
1293
1294
1295
1296
3.0.2         - fix a bug where pre/post_remove scriptlets were not ran
              - ensure ldconfig is ran in all operations
              - added a few new translations, updated existing ones
              - updated mirror lists
              - makepkg: ensure CFLAGS are exported to build function
Aaron Griffin's avatar
Aaron Griffin committed
1297
1298
1299
1300
1301
3.0.1         - fix a locale issue with tr_TR upper/lower-case conversion
              - allow removal when listing the same package multiple times
              - fix a repo-add bug that left a .PKGINFO file in the current
                directory
              - proper error messages when we cannot read mtab for freespace
1302
3.0.0         - first release based on libalpm backend
1303
1304
1305
1306
              - added internationalization (gettext) support:
                - de, fr, hu, it, pt_BR, en_GB, ru_RU translations
              - switch to usage of libdownload and libarchive
              - improved proxy support using libdownload
Dan McGee's avatar
Dan McGee committed
1307
              - documentation - man pages updated, new conf manpages added
1308
              - repository mirror list updates
1309
1310
1311
              - added support for package changelogs
              - logging of all install scriptlet messages to pacman.log
              - orphans search (-Qe) now shows true orphans
1312
1313
              - new -Qu option - show all packages that can be upgraded
              - new -Se option - install only dependencies
1314
1315
              - dependency sorting on install and removal
              - check for free space before installing packages
1316
1317
1318
1319
              - prompt to delete corrupted packages
              - improved backup handling - backup array proactive on upgrade
              - removed NoUpgrade lines from default pacman.conf
              - new uncompressed size field, shown on sync upgrade
1320
1321
1322
1323
              - improved progress and progressbar output
              - reduced unnecessary calling of ldconfig
              - selective loading of database to speed up certain operations
              - debugging output improved with --debug flag
1324
1325
1326
1327
1328
              - pacman-optimize - now supports DBs on separate filesystem
              - makepkg and abs now support conf files in home directory
              - makepkg changes:
                - arch field is required
                - added -arch suffix to generated package filenames
1329
                - new configuration file options format
1330
                - changed default configuration
1331
1332
1333
                - support alternate integrity checks
                - extract files using filetype, not extension
                - added noextract array
1334
                - new options array format
1335
                - new option to log build process
1336
                - new --repackage option - repackage pkg/ without building
1337
                - user-selectable paths for doc stripping
1338
                - configurable source cache location
1339
                - dependencies now removed on a build success or failure
1340
1341
1342
1343
1344
1345
1346
1347
1348
              - abs changes:
                - supports both cvsup and csup
                - expanded configuration
                - added support for testing repository
              - new helper scripts:
                - rankmirrors - shows best available mirrors
                - repo-add - adds a package to a repo database file
                - repo-remove - removes a package from a repo database file
              - added pactest testing suite
Dan McGee's avatar
Dan McGee committed
1349
              - MANY fixes and small improvements everywhere
Aurelien Foret's avatar
Aurelien Foret committed
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
2.9.8         - Changed behaviour with original=X,current=Y,new=Z scenario
                - keep old in place, install new as .pacnew
              - Search package provides when finding matching targets with -S
              - Frugalware: added -Qm option to find foreign packages
              - Frugalware: added DistCC support to makepkg
              - bugfix: before searching databases for a dependency, make sure
                one of the packages in the final list doesn't already provide
                that dependency
              - fix for segfaults that occurred when propagating requiredby
                fields to replaced packages where one package depended on
                another replaced package
              - a better fix for pacman-optimize integrity checks
              - fix for regex searches with -Ss (Miklos Vajna)
              - added a --noprogressbar for scripts to use
1364
2.9.7         - fixed the dupe listings of packages when dealing w/ groups
Aurelien Foret's avatar
Aurelien Foret committed
1365
              - patches from Miklos Vajna:
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
                - add regexp search support for -Qs and -Ss
                - fixed md5sums on x86_64
                - add --sudosync to makepkg
                - show syntax help if an invalid option is used
                - added makepkg option to disable ccache support
              - changed license field to operate as an array, not a string
              - added more logic for file conflict checks - if one target
                is a file and the other is a directory, then it's a conflict
              - fixed the integrity check in pacman-optimize
              - reverted NoUpgrade to old behaviour and instead, added the
                NoExtract directive to pacman.conf, which prevents a file
                from ever being extracted on to the system
                 eg, NoExtract = home/httpd/html/index.html
2.9.6         - added a pacman-optimize script to try and defragment the DB
              - modified NoUpgrade behaviour to avoid extracting files
                that are missing from the filesystem -- this helps in
                situations where the admin does not want the file there, eg,
                remove index.html so index.php takes precedence
              - fixed a bug where files would sometimes go missing if they
                moved from one package to another
              - add db_remove() which is responsible for clearing out stale
                hash table entries when packages are removed
              - added ccache support to makepkg
              - patch from Aurelien Foret fixes a few memory leaks
Judd Vinet's avatar
Judd Vinet committed
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
2.9.5         - bugfix: missing files after re-ordering packages wrt
                deps with --upgrade
              - added "Repository" line to -Si output
              - patch from Tommi Rantala to fix trim() behaviour with
                empty or whitespace-only strings
              - fixed removal order when using -Rc or -Rs
2.9.4         - fixed a bug that was introduced from another bugfix :-/
2.9.3         - fixed a couple manpage typos
              - added --ignore to -S operations, works just like IgnorePkg
              - respect IgnorePkg list when pulling in dependencies
              - numerous memleak fixes
              - some code changes to improve customizability/branding
              - Makefile fix for nonstandard lib search paths (Kevin Piche)
              - fixed the leftover directories in /tmp
              - speed improvement patches from Tommi Rantala
1405
2.9.2         - bugfix for 2.9.1
Judd Vinet's avatar
Judd Vinet committed
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
2.9.1         - --refresh now only downloads fresh packages lists if they've
                been updated (currently only works with FTP)
2.9           - Improved -Rs functionality -- pacman now tracks why a package
                is installed: explicitly, or as a dependency for another
                package.  -Rs will only remove dependencies that were not
                explicitly installed.
              - Added compressed package size to sync DBs -- shows the total
                size of packages before downloading
              - Patch from Tommi Rantala:
                - Allow --info and --list together in queries
              - Patch from Kevin Piche:
                - Use list_add_sorted() with -Sg
              - Patch from Hegedus Marton Csaba:
                - Better manpage compression
              - Added checks for additional hyphens in package versions
              - mktemp was failing if %pmo_root%/tmp was missing -- fixed
2.8.4         - Added updatesync script from Jason Chu
              - Changed the pacman binary to be dynamically linked
                - Included a pacman.static binary as well
                - Added fakeroot checks when seeing if we're root
              - Fixed makepkg to use 'tail -n 1' instead of 'tail -1'
              - Added patch from Kevin Piche:
                - Cleanup db_loadpkgs(), add list_add_sorted()
              - Fixed a memory leak in db_find_conflicts()
2.8.3         - Fixed a little makepkg bug with bash 3.0
              - Fixed resolvedeps to always prefer literals over provisios
              - Added --config option to specify an alternate config file
              - Added "Include" directive to include repositories from
                config files (inspired by Michael Baehr's patch)
              - Added patch from Jason Chu:
                - Even smarter file-conflict checking
2.8.2         - Fixed a segfault bug in file-conflict checks
              - Made --noconfirm actually work.  Go me.
2.8.1         - Added a HoldPkg option in pacman.conf, for the more
                exploratory users who run things like "pacman -R pacman".  It
                will ask for confirmation before removing any packages listed
                in the HoldPkg list
              - Added a --noconfirm switch for use with script automation
              - Modified dependency resolution to prefer packages explicitly
                requested on the cmdline instead of those pulled in by
                resolvedeps().  Example, if neither "xorg" nor "xfree86" is
                installed and "blackbox xfree86" is requested, "xfree86" will
                be used instead of "xorg"
              - Added patch from Jason Chu:
                - Smarter file-conflict checking with symlinked paths and
                  with files that move from one package to another
2.8           - Bugfixes:
1453
1454
1455
1456
1457
1458
1459
1460
1461
                - FS#861:  file:/// urls not handled properly with XferCommand
                - FS#1003: set umask before scriptlet calls
                - FS#1027: download problems with http urls using -U/-A
                - FS#1044: segfaults when using -Rs
                - FS#863:  "missing post_remove" errors with some packages
                - FS#875:  detect low disk space properly
                - FS#986:  makepkg -e doesn't validate files
                - FS#1010: add -j option to makepkg
                - FS#1028: make pacman -Sp runnable as non-root
Judd Vinet's avatar
Judd Vinet committed
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
              - added pre_install and pre_upgrade scriptlet support
              - added an "Architecture" field in the package meta-data
              - added patch from Aurelien Foret which improves performance
                adding or removing packages
              - added implementation of GNU's strverscmp function for better
                portability
              - added explicit unlink() calls when --force is used, which
                prevents those nasty "Text file busy" errors when you
                force-upgrade something like pacman or glibc.
2.7.9         - added the "force" option to packages, so --sysupgrade can
                downgrade packages when it needs to
2.7.8         - added post_remove scriptlet support
1474
              - added -Qs option (FS#854)
Judd Vinet's avatar
Judd Vinet committed
1475
1476
1477
1478
1479
1480
1481
1482
              - a provisio does not imply conflict, to make a provisio target
                conflict with anything else that provides the same thing, you
                can now do this by specifying the provisio target as both a
                provides and a conflict, eg:
                   conflicts=('x-server')
                   provides=('x-server')
              - cleaned up the download progress bar a bit
              - added %o parameter to XferCommand so wget can resume properly
1483
              - fixed a segfault in downloadfiles() (FS#787)
Judd Vinet's avatar
Judd Vinet committed
1484
              - patches from Oliver Burnett-Hall
1485
1486
                - gensync uses a better temp dir (FS#774)
                - PKGDEST can be set in makepkg.conf (FS#783)
Judd Vinet's avatar
Judd Vinet committed
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
              - patches from Aurelien Foret
                - segfault fix, couple memory leaks
                - more sanity checks in "provides" searches
                - fixed a little display bug in the progress bar
                - made -Qip look like -Qi
                - -Sc now removes OLD packages from cache, use -Scc for all
2.7.7         - added an XferCommand directive that will make pacman use an
                external download utility like wget
              - added a license field to package meta-data
              - add url support to -A and -U operations (download packages)
Morgan Adamiec's avatar
Morgan Adamiec committed
1497
              - -Ss now searches through provides fields
Judd Vinet's avatar
Judd Vinet committed
1498
1499
              - added --dbonly option to -R
2.7.6         - added --print-uris option
1500
              - fixed an http download bug (FS#667)
Judd Vinet's avatar
Judd Vinet committed
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
              - fixed a segfault related to replaces/conflicts handling
2.7.5         - "replaces" packages were ignoring IgnorePkg in pacman.conf
              - fixed another bug in conflict handling
              - found an out-dated reference to /usr/abs, fixed
              - added a --recursive option for package removal, which removes
                all deps of a target that aren't required by other packages
2.7.4         - fixed a bug in conflict handling, where installing a
                conflicting package would fail even if the new package
                "provided" it
              - if pacman sees a newer version of itself during an upgrade,
                it will ask to install itself first, then be re-run to upgrade
                the other packages.
              - You can now use the --info option with --sync to display an
                uninstalled package's dependency info.
              - Added a sane umask before db writes
1516
              - buffer overflow fix (FS#442)
Judd Vinet's avatar
Judd Vinet committed
1517
1518
1519
1520
1521
1522
2.7.3         - makepkg not longer strips files with .exe or .dll extensions
              - Added Aurelien's patch:
                - proxy support (no authentication yet)
                - HTTP/1.1 support
                - an improved progress bar with transfer rates and ETA
              - cleaned up warning output a bit
1523
2.7.2         - Suppressed "No such file" messages during stripping
Judd Vinet's avatar
Judd Vinet committed
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
              - Removed extra newlines in /var/log/pacman.log
              - Added a --noextract option to makepkg to skip source extraction
2.7.1         - Fixed a couple obscure segfaults
              - LogFiles were logging incorrect dates - fixed
              - Cleaned up md5sum output in makepkg -g
              - Added (optional) colorized output messages to makepkg
              - Renamed the "stable" repo to "release" in pacman.conf
              - Renamed the "unofficial" repo to "extra" in pacman.conf
2.7           - Added build-time dependencies to makepkg (Jason Chu)
              - Added md5sum integrity checking to packages in --sync
                mode (Aurelien Foret)
              - Memory leak fixes (Aurelien Foret)
              - Added CARCH variable to makepkg.conf for use in PKGBUILDs
              - Added LogFile option for direct-to-file logging
              - Added -Qii handling to show modified config files
              - Allow --sync targets to specify an explicit repository to
                sync from (eg, pacman -S current/patch)
2.6.4         - Altered pacman_upgrade() to allow a package to replace itself
2.6.3         - A couple memory fixes in the new replaces code
2.6.2         - Fixed a memory cleanup bug
              - Aurelien's patch:
1545
                - FS#159 implemented (for -S and -R)
Judd Vinet's avatar
Judd Vinet committed
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
                - fixed a bug with pacman -Sg (pacman was browsing only one
                  db to get groups)
                - fixed a bug with list_merge()
                - fixed some MLK (in dumppkg() and with "-Qi --orphans")
                - now "pacman -Sg" only displays groups (without content)
                  whereas "pacman -Sg target1 target2" displays groups
                  target1 and target2 with content
2.6.1         - Added http download support (Aurelien Foret)
              - Improved makepkg's --builddeps behaviour when called via
                makeworld
              - makepkg's md5 validation now occurs before source extraction
              - makepkg delays fakeroot entry until after option parsing
              - Fixed an argument-passing bug in fakeroot
              - Modified pacman's behaviour wrt provides -- it now allows
                multiple packages to be installed, even if they provide the
                same thing (they were treated as conflicts before)
2.6           - Added group handling, so one can run 'pacman -S kde' and
                install all files from the KDE group
              - Fixed a duplication bug in cascade package removal
              - Added support for virtual provisions with "provides" tags
              - When conflicts are encountered, pacman now offers the chance
                to remove the conflicting packages (provides or literals)
              - Added support for renamed/combined packages with a "replaces"
                tag
              - Added --nostrip option to makepkg
              - Improved --search to list all packages from all repos when
                a search term is omitted
              - Added logging support through syslog()
              - Added fakeroot support to makepkg (RomanK)
              - Added MD5sum generation/validation to makepkg (RomanK)
              - Fixed a progress bar bug (Aurelien Foret)
              - Sorted makepkg's .FILELISTs (Aurelien Foret)
              - Targets are now re-ordered w.r.t. dependencies when
                using -A/-U
              - Modified --search to work when called as -Sys
              - Modified abs to use ABS_ROOT from /etc/abs/abs.conf (Aurelien)
              - Other bug fixes
2.5.1         - Minor bug fixes
2.5           - Added an URL tag to package info
              - Sped up package load times by about 500% by introducing
                a .FILELIST into the package
              - Renamed the install scriptlet from ._install to .INSTALL
              - Added patch from Aurlien Foret:
                - Better lock handling (RW and RO)
                - Sorted package order in -Qi's dependency lists
                - Added a DBPath option to pacman.conf
                - Fixed memory leaks
                - Added the --nodeps option to -S
2.4.1         - Fixed a bug in makepkg's option parsing
2.4           - Added getopt-style options to makeworld
              - Added -w <destdir> to makepkg
              - makeworld now properly handles packages with --builddeps
              - Added patches from Aurelien Foret:
                - Cascading package removals. -Rc will remove a package and
                  all packages that require it
                - Support for getopt-style options in makepkg
                - the REQUIREDBY field is now updated when a package is
                  removed with --nodeps, then re-installed.
                - Avoids duplicate dependency checks with sync
                - Added a "NoPassiveFtp" option in pacman.conf
                - Improvements to the --query listings
2.3.2         - Added patches from Aurelien Foret:
                - FTP resume feature
Aurelien Foret's avatar
Aurelien Foret committed
1609
                - removed the hit-^C-and-delete-the-downloading-file safety
Judd Vinet's avatar
Judd Vinet committed
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
                - IgnorePkg option in pacman.conf
                - FTPAGENT setting in makepkg.conf
                - Added --cleancache option to makepkg
2.3.1         - Fixed the progress bar overflow
              - Pacman does not ask "Are you sure" when you use --downloadonly
              - Switched up a couple makepkg options to be more consistent
                with pacman's options
              - If you ^C out of a file download, the package will now be
                removed from the cache directory
2.3           - The beginnings of source-side dependency resolution, makepkg
                can now either A) download/install missing deps with pacman
                -S; or B) find missing deps in the /usr/abs tree and
                build/install them.
              - Added a --nodeps option to makepkg
              - Improved the --search output
2.2           - More bugfixes
              - Added --downloadonly switch to --sync
2.1           - Lots of bugfixes
Dan McGee's avatar
Dan McGee committed
1628
              - Added support for multiple repositories
Judd Vinet's avatar
Judd Vinet committed
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
              - Improved the config file layout
              - Improved dependency resolution and sorting
2.0           - Added dependency functionality
              - Completely new database format, similar to FreeBSD
              - Better internal data structures
              - Merged pacsync functionality into pacman
              - Now uses libftp for all file retrieval (currently only ftp)
              - Automatic dependency resolution, a la apt-get
              - Moved config stuff from /etc/pacsync.conf to /etc/pacman.conf
              - Much better backup file handling, now uses md5 hashes a la rpm
1.23          - Added install/upgrade/remove scripting control
1.22          - Some manpage typo fixes
              - Added --root switch to pacsync
              - Added --help and ability to specify a PKGBUILD to makepkg
              - Switched default downloader to snarf
1.21          - Added better backup control -- upgrade/add and remove
                do different things with the -n switch
1.2           - Added wildcard handling
              - Added man pages for makepkg and pacsync
              - Added the pacsync utility for remote file fetching/sync
1.1           - Fixed some string-handling bugs
              - Added better handling of configuration files and the like.
                If "file" is about to be removed, but it is designated to
                backed up, then it will be copied to "file.save"
              - Changed db_find_conflicts() to ignore directories
1.0           - Initial Release