-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS
1389 lines (1389 loc) · 83 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
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
108
109
110
111
112
113
114
115
116
117
118
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
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
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
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
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
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
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
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
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
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
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
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
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
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
VERSION DESCRIPTION
-----------------------------------------------------------------------------
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
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)
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
- documentataion updates for alpm-hooks (FS#48080)
- 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
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
(-Dk and -Dkk respectively). This replaces the 'testdb'
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
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)
- Fix issues with architecture dependant checksum
verification (FS#43192)
- Fix .SRCINFO file with architecture dependant fields
(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)
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
4.1.2 - validate %FILEPATH% when parsing repos to prevent arbitary
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)
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:
- improve SVN VCS PKGBUILD handling (FS#34675, FS#34636)
- 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)
4.1.0 - check file properties when using -Qkk (FS#11091)
- add color to pacman output - new configuration option "Color"
- 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
- display repo in VerbosePkgLists output
- do not check file conflicts or disk space with --dbonly
(FS#25667)
- UseDelta takes a ratio for the largest delta to use
- 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
- add program prefix to pacman log entries
- add --native filter to pacman -Q
- 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:
- updpkgsums: update checksums in a PKGBUILD
- checkupdates: new - safely check for package updates
- pacsort: add --files option to support parsing filenames
- pacdiff: improve usability
- add zsh completion
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
- match only full path components in disk space checking
- skip disk space checks when using --dbonly
- 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)
- attempt to work around Btrfs file/block size reporting issues
- 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
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
- ensure '[removal]' is displayed in trans confirmation (FS#27981)
- 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
4.0.1 - ensure VerbosePkgList table display supports multibyte chars
- always use stderr for warning/error messages (FS#26555)
- add guidance message for users when public keyring not found
- 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
- allow -U operation even without sync databases (FS#26899)
- 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
- repo-add: fix race condition around lock file removal
- 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
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
- use a larger buffer for package checksum validation
- file lists now have a dedicated type with metadata
- disk space check no longer requires iterating package archives
- 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)
- add auto-versioned libdepends/libprovides support
- 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)
- allow epoch-versioned optdepends
- 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
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)
- scripts: remove ln -f option for POSIX compliance (FS#24893)
- various small documentation updates
- minor translation updates: de, fi
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)
- makepkg: fix creation of source package with -p (FS#24567)
- repo-add: include dotfiles in file lists (FS#24534)
- minor translation updates: de, fi, fr, sk, zh_CN
3.5.2 - ensure we show correct missing dependency info (FS#23424)
- pacman usage/--help updates (FS#23433, FS#23369)
- 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
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)
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
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
3.4.2 - fix progress bar display with empty packages
- make pactest testsuite Python 2.7 compatible
- write epoch values in preparation for 3.5.X releases
- fix null pointer dereference in architecture check (FS#21668)
- documentation: remove unnecessary "|| return 1"
- contrib/bacman: update package compression selection
- contrib/PKGBUILD.vim: add a few more license options
- translations: es, kk, sv, pt, ru updated
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)
- 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
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
(FS#3492, FS#5798)
- can upgrade the system and install a new package using
"pacman -Syu <pkg>" (FS#15581)
- new -D/--database operation for modifying package install
reasons (FS#12950)
- new --print and --print-format options to output information
in suitable format for wrapper scripts (FS#14208)
- only extract new entries when updating a repo database
- show "Required by" in -Sii output (FS#16244)
- -U and -R options always ask for confirmation
- allow -Qo to perform a functional 'which' (FS#8798)
- cache cleaning cleans all directories, not just first
- cleanupdelta: new utility to help remove unused deltas from
a repo database
- bash completion: rewrite for size and performance (FS#16630)
- 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
- override pkgver, pkgrel and arch in split packages (FS#15955)
- 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
split PKGBUILDs (FS#15956)
- build() function is now optional (FS#15147)
- warn about reference to build root in a package (FS#14751)
- configure source package destination with SRCPKGDEST
- major internal refactoring of handling tests ("[" to "[[")
- contrib/pactree: print reverse dependency tree
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)
3.3.2 - fix infinite file size download issue (FS#16359)
- 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
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
- two new translations: Norwegian, Swedish
- makepkg:
- add --skipinteg option (FS#15830)
- fix .PKGINFO creation with -R option (FS#15851)
- always keep symlinks to sources when unpacking
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
- -Suu synchronizes all packages with the version from the
repository (including upgrade and downgrade)
- 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:
- package splitting support! - see PKGBUILD-split.proto
- limit fakeroot usage with addition of package() function
- info is handled like man pages and not other documentation
- 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
- increase compatibility with BSDs & Mac OSX
- contrib
- pacdiff - improvements and new -l flag for using locate
- pacscripts - print install scripts for a package
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
- readd missing newline on -Qi/-Si output (FS#11331)
- 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
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)
- new Ukrainian translation
- existing translation updates
3.2.0 - removed -A/--add option from pacman frontend
- 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
- allow -q/--quiet option with -o/--own and -g/--groups options
- removed hack for packages with unknown installed size
- add SyncFirst option to pacman.conf
- support installation of versioned deps : pacman -S "dep>=2.0"
- 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
- add the possibility to mark the pactests known to fail,
which allows more informative results of make check
- 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
- fix -Rs when removing multiple items in dependency chain
- 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
3.1.4 - various small code cleanups and fixes
- small documentation updates
- improvements to PKGBUILD.vim
- translation updates - ru, zh_CN
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
- updates to PKGBUILD.vim
- internal updates for translations - use c-format on all
strings, get rid of needless line numbers
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)
- ensure filename is determined correctly for a pkg (FS#9547)
- fix conflict progress bar with UTF-8 chars (FS#6437)
- fix chk_fileconflicts brokenness, ensure it reads entire list
- ensure -Sc operation locks DB, only checks DBs (FS#9609)
- minor documentation and message updates
- moved some translations to their more generic lang codes
- allow scripts to be run without gettext installed
- 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)
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
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
packages and old sync DBs (FS#8061)
- remove all hardcoded paths and allow them to be set at
configure/build time
- single mirrorfile- pacman substitutes the repository name in
mirror file when $repo is found (FS#6389)
- New config file options: ShowSize, TotalDownload, IgnoreGroup,
UseDelta
- 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
- add --ignoregroup option (FS#1592)
- --ignore and --ignoregroup accept comma separated lists
- add --needed option for --sync
- massive optimization and speedup for --owns
- add -q/--quiet option for -Ss/-Sl and -Q? output (FS#8470)
- add --asdeps option (install reason: dependency) (FS#7193)
- replace "Total Package Size" with "Total Download Size"
(FS#4182)
- fix -Q options to work on installed packages AND package files
- change -Q/--query options to act as filters and increase their
flexibility
- -U/-A <url> now downloads to cachedir (FS#6404)
- install and build dates are localized
- optdepends support
- delta support
- versioned provisions support
- versioned conflicts support
- add < and > operators for versioned dependencies and conflicts
- bash completion updates
- mirrorlist updates
- removed ABS script from codebase (now a separate project)
- allow multiple pacman cache directories
- all manpages are now generated using Asciidoc (FS#7312)
- moved parseconfig from backend library to frontend
- 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:
- moved location of sync DBs into their own directory to thwart
deletion and remove naming limitations
- REQUIREDBY entries are no longer used in local DB but are
computed on the fly when needed, which should resolve
phantom dependency issues (FS#7639)
- 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
- remove faulty disk space checking
- move functions out of alpm.c to where they belong
- rewrite of file extraction code (FS#7484)
- 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