makepkg: Unify start and end messages
[pacman-ng.git] / NEWS
blob5a9157ab2092f19c366ba3485b159f7a71ca33ea
1 VERSION         DESCRIPTION
2 -----------------------------------------------------------------------------
3 3.1.4         - various small code cleanups and fixes
4               - small documentation updates
5               - improvements to PKGBUILD.vim
6               - translation updates - ru, zh_CN
7 3.1.3         - major updates to i18n output in frontend (all UTF-8 characters
8                 should now work with varying byte and char widths)
9               - new Simplified Chinese translation
10               - updates to testpkg utility
11               - updates to PKGBUILD.vim
12               - internal updates for translations - use c-format on all
13                 strings, get rid of needless line numbers
14 3.1.2         - updates to proto.install, add ChangeLog.proto (FS#7231)
15               - add 'force' option to packages, and have repo-add respect it
16               - mark gensync and updatesync as deprecated
17               - fix pacman -Qo behavior on symlinks (FS#9473)
18               - fix segfault on a broken symlinks in backup code (FS#9235)
19               - ensure filename is determined correctly for a pkg (FS#9547)
20               - fix conflict progress bar with UTF-8 chars (FS#6437)
21               - fix chk_fileconflicts brokenness, ensure it reads entire list
22               - ensure -Sc operation locks DB, only checks DBs (FS#9609)
23               - minor documentation and message updates
24               - moved some translations to their more generic lang codes
25               - allow scripts to be run without gettext installed
26               - makepkg:
27                 - check to ensure we have non-URL sources (FS#9208)
28                 - ensure we strip binaries in /opt/ dirs (FS#9342)
29                 - check for VCS executable before using (FS#9230)
30                 - set sane umask before source extraction (FS#9242, FS#9362)
31 3.1.1         - fix versioned provisions handling- use '=' instead of ' ' which
32                 differs from original spec but better in long run (FS#9171)
33               - rename query --orphans to --unrequired (FS#9144)
34               - fix segfault when cachedir is unusable (FS#9186)
35               - missing SYMEXPORT on libalpm functions (FS#9155)
36               - notify of package replacements when using --noconfirm (FS#5179)
37               - fix usage of PKGEXT by gensync/updatesync (FS#9190)
38               - ensure correct dir permissions in database (FS#9176)
39               - ensure /tmp is created with correct permissions (FS#9183)
40               - disallow NULL section in parseconfig (reported on forums)
41               - remove Arch-specific pacman.conf and mirrorlist from source
42               - makepkg: --holdver option for devel PKGBUILDs (FS#9194)
43               - documentation updates (FS# 9142, 9146, 9175, 9192, 9204)
44               - many translation updates
45 3.1.0         - paths are now specified as absolute paths (or defaulting to
46                 under the specified root directory)
47               - all paths can be specified in pacman.conf or on command line
48               - updates to pacman clean operation- now cleans uninstalled
49                 packages and old sync DBs (FS#8061)
50               - remove all hardcoded paths and allow them to be set at
51                 configure/build time
52               - single mirrorfile- pacman substitutes the repository name in
53                 mirror file when $repo is found (FS#6389)
54               - New config file options: ShowSize, TotalDownload, IgnoreGroup,
55                 UseDelta
56               - all scripts have been gettext-ized and can be translated
57               - added testdb utility to check pacman DBs for common problems
58               - huge additions to pactest suite
59               - remove -F/--freshen operation
60               - add --ignoregroup option (FS#1592)
61               - --ignore and --ignoregroup accept comma separated lists
62               - add --needed option for --sync
63               - massive optimization and speedup for --owns
64               - add -q/--quiet option for -Ss/-Sl and -Q? output (FS#8470)
65               - add --asdeps option (install reason: dependency) (FS#7193)
66               - replace "Total Package Size" with "Total Download Size"
67                 (FS#4182)
68               - fix -Q options to work on installed packages AND package files
69               - change -Q/--query options to act as filters and increase their
70                 flexibility
71               - -U/-A <url> now downloads to cachedir (FS#6404)
72               - install and build dates are localized
73               - optdepends support
74               - delta support
75               - versioned provisions support
76               - versioned conflicts support
77               - add < and > operators for versioned dependencies and conflicts
78               - bash completion updates
79               - mirrorlist updates
80               - removed ABS script from codebase (now a separate project)
81               - allow multiple pacman cache directories
82               - all manpages are now generated using Asciidoc (FS#7312)
83               - moved parseconfig from backend library to frontend
84               - clean up and refactoring of the ENTIRE codebase
85                 - remove many useless #ifdefs
86                 - split many too-long functions
87                 - portability updates: compiles and passes tests on BSD and
88                   Darwin (switching libdownload->libfetch)
89                 - clean up build process
90                 - use of static code analysis
91                 - memory leak fixes all over the place
92                 - fix overzealous use of macros
93                 - entire codebase builds with -pedantic GCC option
94               - libalpm-specific changes:
95                 - moved location of sync DBs into their own folder to thwart
96                   deletion and remove naming limitations
97                 - REQUIREDBY entries are no longer used in local DB but are
98                   computed on the fly when needed, which should resolve
99                   phantom dependency issues (FS#7639)
100                 - ensure we export everything that should be public
101                 - fix some const correctness issues
102                 - add list tail ptr shortcut to make last element lookups O(1)
103                 - database dates are stored as seconds from epoch
104                 - removed SHA1 support
105                 - drop in new MD5 library
106                 - implement topological sorting for dependencies
107                 - do case sensitive compare in parse_descfile (FS#8081)
108                 - remove hardcoded architectures
109                 - conflicts checking speedups and fixes
110                 - move lockfile location to inside the DB
111                 - remove gettext calls from DEBUG messages
112                 - remove faulty diskspace checking
113                 - move functions out of alpm.c to where they belong
114                 - rewrite of file extraction code (FS#7484)
115               - makepkg-specific changes:
116                 - entire script has been functionalized
117                 - only runs in fakeroot when necessary
118                 - hard linked manpages are now compressed (FS#5392)
119                 - built-in versionpkg support
120                 - arch=('any') support (FS#8153)
121                 - clean up and prettify the output
122                 - replace tar/cpio/unzip with bsdtar (FS#7485)
123                 - add --ignorearch option (FS#7355)
124                 - improved error handling
125                 - downloads straight to $SRCDEST to avoid copies (FS#7271)
126                 - support for multiple download protocols (FS#4404)
127                 - remove --usesudo option, use it by default
128                 - add --asroot option to discourage building as root
129                 - add $srcdir and $pkgdir variables (FS#7278)
130                 - add source package creation option
131               - rankmirrors- allow reading from stdin (FS#8043)
132               - and many other updates: 198 bugs/FRs closed since 3.0.0 release
133               - switch to GIT for source code management
134 3.0.6         - config files updated to reflect current -> core change
135               - fix symlink overwriting issue (FS#7484)
136               - fix config parsing with tr_TR locale (FS#7235)
137               - use AC_SYS_LARGEFILE if available (FS#7578)
138 3.0.5         - add -mtune=generic to default CFLAGS in makepkg.conf
139               - small updates to translations
140               - repo-add: fix conflicts issue for real this time
141               - fix issue with libarchive incorrectly setting permissions
142 3.0.4         - updated translations
143               - repo-add: fix issue where conflicts were not put in database
144 3.0.3         - updated translations
145               - repo-add: fixed a desc file clobbering issue
146 3.0.2         - fix a bug where pre/post_remove scriptlets were not ran
147               - ensure ldconfig is ran in all operations
148               - added a few new translations, updated existing ones
149               - updated mirror lists
150               - makepkg: ensure CFLAGS are exported to build function
151 3.0.1         - fix a locale issue with tr_TR upper/lower-case conversion
152               - allow removal when listing the same package multiple times
153               - fix a repo-add bug that left a .PKGINFO file in the current
154                 directory
155               - proper error messages when we cannot read mtab for freespace
156 3.0.0         - first release based on libalpm backend
157               - added internationalization (gettext) support:
158                 - de, fr, hu, it, pt_BR, en_GB, ru_RU translations
159               - switch to usage of libdownload and libarchive
160               - improved proxy support using libdownload
161               - documentation - man pages updated, new conf manpages added
162               - repository mirror list updates
163               - added support for package changelogs
164               - logging of all install scriptlet messages to pacman.log
165               - orphans search (-Qe) now shows true orphans
166               - new -Qu option - show all packages that can be upgraded
167               - new -Se option - install only dependencies
168               - dependency sorting on install and removal
169               - check for free space before installing packages
170               - prompt to delete corrupted packages
171               - improved backup handling - backup array proactive on upgrade
172               - removed NoUpgrade lines from default pacman.conf
173               - new uncompressed size field, shown on sync upgrade
174               - improved progress and progressbar output
175               - reduced unnecessary calling of ldconfig
176               - selective loading of database to speed up certain operations
177               - debugging output improved with --debug flag
178               - pacman-optimize - now supports DBs on separate filesystem
179               - makepkg and abs now support conf files in home directory
180               - makepkg changes:
181                 - arch field is required
182                 - added -arch suffix to generated package filenames
183                 - new configuration file options format
184                 - changed default configuration
185                 - support alternate integrity checks
186                 - extract files using filetype, not extension
187                 - added noextract array
188                 - new options array format
189                 - new option to log build process
190                 - new --repackage option - repackage pkg/ without building
191                 - user-selectable paths for doc stripping
192                 - configurable source cache location
193                 - dependencies now removed on a build success or failure
194               - abs changes:
195                 - supports both cvsup and csup
196                 - expanded configuration
197                 - added support for testing repository
198               - new helper scripts:
199                 - rankmirrors - shows best available mirrors
200                 - repo-add - adds a package to a repo database file
201                 - repo-remove - removes a package from a repo database file
202               - added pactest testing suite
203               - MANY fixes and small improvements everywhere
204 2.9.8         - Changed behaviour with original=X,current=Y,new=Z scenario
205                 - keep old in place, install new as .pacnew
206               - Search package provides when finding matching targets with -S
207               - Frugalware: added -Qm option to find foreign packages
208               - Frugalware: added DistCC support to makepkg
209               - bugfix: before searching databases for a dependency, make sure
210                 one of the packages in the final list doesn't already provide
211                 that dependency
212               - fix for segfaults that occurred when propagating requiredby
213                 fields to replaced packages where one package depended on
214                 another replaced package
215               - a better fix for pacman-optimize integrity checks
216               - fix for regex searches with -Ss (Miklos Vajna)
217               - added a --noprogressbar for scripts to use
218 2.9.7         - fixed the dupe listings of packages when dealing w/ groups
219               - patches from Miklos Vajna:
220                 - add regexp search support for -Qs and -Ss
221                 - fixed md5sums on x86_64
222                 - add --sudosync to makepkg
223                 - show syntax help if an invalid option is used
224                 - added makepkg option to disable ccache support
225               - changed license field to operate as an array, not a string
226               - added more logic for file conflict checks - if one target
227                 is a file and the other is a directory, then it's a conflict
228               - fixed the integrity check in pacman-optimize
229               - reverted NoUpgrade to old behaviour and instead, added the
230                 NoExtract directive to pacman.conf, which prevents a file
231                 from ever being extracted on to the system
232                  eg, NoExtract = home/httpd/html/index.html
233 2.9.6         - added a pacman-optimize script to try and defragment the DB
234               - modified NoUpgrade behaviour to avoid extracting files
235                 that are missing from the filesystem -- this helps in
236                 situations where the admin does not want the file there, eg,
237                 remove index.html so index.php takes precedence
238               - fixed a bug where files would sometimes go missing if they
239                 moved from one package to another
240               - add db_remove() which is responsible for clearing out stale
241                 hash table entries when packages are removed
242               - added ccache support to makepkg
243               - patch from Aurelien Foret fixes a few memory leaks
244 2.9.5         - bugfix: missing files after re-ordering packages wrt
245                 deps with --upgrade
246               - added "Repository" line to -Si output
247               - patch from Tommi Rantala to fix trim() behaviour with
248                 empty or whitespace-only strings
249               - fixed removal order when using -Rc or -Rs
250 2.9.4         - fixed a bug that was introduced from another bugfix :-/
251 2.9.3         - fixed a couple manpage typos
252               - added --ignore to -S operations, works just like IgnorePkg
253               - respect IgnorePkg list when pulling in dependencies
254               - numerous memleak fixes
255               - some code changes to improve customizability/branding
256               - Makefile fix for nonstandard lib search paths (Kevin Piche)
257               - fixed the leftover directories in /tmp
258               - speed improvement patches from Tommi Rantala
259 2.9.2         - bugfix for 2.9.1 
260 2.9.1         - --refresh now only downloads fresh packages lists if they've
261                 been updated (currently only works with FTP)
262 2.9           - Improved -Rs functionality -- pacman now tracks why a package
263                 is installed: explicitly, or as a dependency for another
264                 package.  -Rs will only remove dependencies that were not
265                 explicitly installed.
266               - Added compressed package size to sync DBs -- shows the total
267                 size of packages before downloading
268               - Patch from Tommi Rantala:
269                 - Allow --info and --list together in queries
270               - Patch from Kevin Piche:
271                 - Use list_add_sorted() with -Sg
272               - Patch from Hegedus Marton Csaba:
273                 - Better manpage compression
274               - Added checks for additional hyphens in package versions
275               - mktemp was failing if %pmo_root%/tmp was missing -- fixed
276 2.8.4         - Added updatesync script from Jason Chu
277               - Changed the pacman binary to be dynamically linked
278                 - Included a pacman.static binary as well
279                 - Added fakeroot checks when seeing if we're root
280               - Fixed makepkg to use 'tail -n 1' instead of 'tail -1'
281               - Added patch from Kevin Piche:
282                 - Cleanup db_loadpkgs(), add list_add_sorted()
283               - Fixed a memory leak in db_find_conflicts()
284 2.8.3         - Fixed a little makepkg bug with bash 3.0
285               - Fixed resolvedeps to always prefer literals over provisios
286               - Added --config option to specify an alternate config file
287               - Added "Include" directive to include repositories from
288                 config files (inspired by Michael Baehr's patch)
289               - Added patch from Jason Chu:
290                 - Even smarter file-conflict checking
291 2.8.2         - Fixed a segfault bug in file-conflict checks
292               - Made --noconfirm actually work.  Go me.
293 2.8.1         - Added a HoldPkg option in pacman.conf, for the more
294                 exploratory users who run things like "pacman -R pacman".  It
295                 will ask for confirmation before removing any packages listed
296                 in the HoldPkg list
297               - Added a --noconfirm switch for use with script automation
298               - Modified dependency resolution to prefer packages explicitly
299                 requested on the cmdline instead of those pulled in by
300                 resolvedeps().  Example, if neither "xorg" nor "xfree86" is
301                 installed and "blackbox xfree86" is requested, "xfree86" will
302                 be used instead of "xorg"
303               - Added patch from Jason Chu:
304                 - Smarter file-conflict checking with symlinked paths and
305                   with files that move from one package to another
306 2.8           - Bugfixes:
307                 - FS#861:  file:/// urls not handled properly with XferCommand
308                 - FS#1003: set umask before scriptlet calls
309                 - FS#1027: download problems with http urls using -U/-A
310                 - FS#1044: segfaults when using -Rs
311                 - FS#863:  "missing post_remove" errors with some packages
312                 - FS#875:  detect low disk space properly
313                 - FS#986:  makepkg -e doesn't validate files
314                 - FS#1010: add -j option to makepkg
315                 - FS#1028: make pacman -Sp runnable as non-root
316               - added pre_install and pre_upgrade scriptlet support
317               - added an "Architecture" field in the package meta-data
318               - added patch from Aurelien Foret which improves performance
319                 adding or removing packages
320               - added implementation of GNU's strverscmp function for better
321                 portability
322               - added explicit unlink() calls when --force is used, which
323                 prevents those nasty "Text file busy" errors when you
324                 force-upgrade something like pacman or glibc.
325 2.7.9         - added the "force" option to packages, so --sysupgrade can
326                 downgrade packages when it needs to
327 2.7.8         - added post_remove scriptlet support
328               - added -Qs option (FS#854)
329               - a provisio does not imply conflict, to make a provisio target
330                 conflict with anything else that provides the same thing, you
331                 can now do this by specifying the provisio target as both a
332                 provides and a conflict, eg:
333                    conflicts=('x-server')
334                    provides=('x-server')
335               - cleaned up the download progress bar a bit
336               - added %o parameter to XferCommand so wget can resume properly
337               - fixed a segfault in downloadfiles() (FS#787)
338               - patches from Oliver Burnett-Hall
339                 - gensync uses a better temp dir (FS#774)
340                 - PKGDEST can be set in makepkg.conf (FS#783)
341               - patches from Aurelien Foret
342                 - segfault fix, couple memory leaks
343                 - more sanity checks in "provides" searches
344                 - fixed a little display bug in the progress bar
345                 - made -Qip look like -Qi
346                 - -Sc now removes OLD packages from cache, use -Scc for all
347 2.7.7         - added an XferCommand directive that will make pacman use an
348                 external download utility like wget
349               - added a license field to package meta-data
350               - add url support to -A and -U operations (download packages)
351               - -Ss now searches thru provides fields
352               - added --dbonly option to -R
353 2.7.6         - added --print-uris option
354               - fixed an http download bug (FS#667)
355               - fixed a segfault related to replaces/conflicts handling
356 2.7.5         - "replaces" packages were ignoring IgnorePkg in pacman.conf
357               - fixed another bug in conflict handling
358               - found an out-dated reference to /usr/abs, fixed
359               - added a --recursive option for package removal, which removes
360                 all deps of a target that aren't required by other packages
361 2.7.4         - fixed a bug in conflict handling, where installing a
362                 conflicting package would fail even if the new package
363                 "provided" it
364               - if pacman sees a newer version of itself during an upgrade,
365                 it will ask to install itself first, then be re-run to upgrade
366                 the other packages.
367               - You can now use the --info option with --sync to display an
368                 uninstalled package's dependency info.
369               - Added a sane umask before db writes
370               - buffer overflow fix (FS#442)
371 2.7.3         - makepkg not longer strips files with .exe or .dll extensions
372               - Added Aurelien's patch:
373                 - proxy support (no authentication yet)
374                 - HTTP/1.1 support
375                 - an improved progress bar with transfer rates and ETA
376               - cleaned up warning output a bit
377 2.7.2         - Supressed "No such file" messages during stripping
378               - Removed extra newlines in /var/log/pacman.log
379               - Added a --noextract option to makepkg to skip source extraction
380 2.7.1         - Fixed a couple obscure segfaults
381               - LogFiles were logging incorrect dates - fixed
382               - Cleaned up md5sum output in makepkg -g
383               - Added (optional) colorized output messages to makepkg
384               - Renamed the "stable" repo to "release" in pacman.conf
385               - Renamed the "unofficial" repo to "extra" in pacman.conf
386 2.7           - Added build-time dependencies to makepkg (Jason Chu)
387               - Added md5sum integrity checking to packages in --sync
388                 mode (Aurelien Foret)
389               - Memory leak fixes (Aurelien Foret)
390               - Added CARCH variable to makepkg.conf for use in PKGBUILDs
391               - Added LogFile option for direct-to-file logging
392               - Added -Qii handling to show modified config files
393               - Allow --sync targets to specify an explicit repository to
394                 sync from (eg, pacman -S current/patch)
395 2.6.4         - Altered pacman_upgrade() to allow a package to replace itself
396 2.6.3         - A couple memory fixes in the new replaces code
397 2.6.2         - Fixed a memory cleanup bug
398               - Aurelien's patch:
399                 - FS#159 implemented (for -S and -R)
400                 - fixed a bug with pacman -Sg (pacman was browsing only one
401                   db to get groups)
402                 - fixed a bug with list_merge()
403                 - fixed some MLK (in dumppkg() and with "-Qi --orphans")
404                 - now "pacman -Sg" only displays groups (without content)
405                   whereas "pacman -Sg target1 target2" displays groups
406                   target1 and target2 with content
407 2.6.1         - Added http download support (Aurelien Foret)
408               - Improved makepkg's --builddeps behaviour when called via
409                 makeworld
410               - makepkg's md5 validation now occurs before source extraction
411               - makepkg delays fakeroot entry until after option parsing
412               - Fixed an argument-passing bug in fakeroot
413               - Modified pacman's behaviour wrt provides -- it now allows
414                 multiple packages to be installed, even if they provide the
415                 same thing (they were treated as conflicts before)
416 2.6           - Added group handling, so one can run 'pacman -S kde' and
417                 install all files from the KDE group
418               - Fixed a duplication bug in cascade package removal
419               - Added support for virtual provisions with "provides" tags
420               - When conflicts are encountered, pacman now offers the chance
421                 to remove the conflicting packages (provides or literals)
422               - Added support for renamed/combined packages with a "replaces"
423                 tag
424               - Added --nostrip option to makepkg
425               - Improved --search to list all packages from all repos when
426                 a search term is omitted
427               - Added logging support through syslog()
428               - Added fakeroot support to makepkg (RomanK)
429               - Added MD5sum generation/validation to makepkg (RomanK)
430               - Fixed a progress bar bug (Aurelien Foret)
431               - Sorted makepkg's .FILELISTs (Aurelien Foret)
432               - Targets are now re-ordered w.r.t. dependencies when
433                 using -A/-U
434               - Modified --search to work when called as -Sys
435               - Modified abs to use ABS_ROOT from /etc/abs/abs.conf (Aurelien)
436               - Other bug fixes
437 2.5.1         - Minor bug fixes
438 2.5           - Added an URL tag to package info
439               - Sped up package load times by about 500% by introducing
440                 a .FILELIST into the package
441               - Renamed the install scriptlet from ._install to .INSTALL
442               - Added patch from Aurlien Foret:
443                 - Better lock handling (RW and RO)
444                 - Sorted package order in -Qi's dependency lists
445                 - Added a DBPath option to pacman.conf
446                 - Fixed memory leaks
447                 - Added the --nodeps option to -S
448 2.4.1         - Fixed a bug in makepkg's option parsing
449 2.4           - Added getopt-style options to makeworld
450               - Added -w <destdir> to makepkg
451               - makeworld now properly handles packages with --builddeps
452               - Added patches from Aurelien Foret:
453                 - Cascading package removals. -Rc will remove a package and
454                   all packages that require it
455                 - Support for getopt-style options in makepkg
456                 - the REQUIREDBY field is now updated when a package is
457                   removed with --nodeps, then re-installed.
458                 - Avoids duplicate dependency checks with sync
459                 - Added a "NoPassiveFtp" option in pacman.conf
460                 - Improvements to the --query listings
461 2.3.2         - Added patches from Aurelien Foret:
462                 - FTP resume feature
463                 - removed the hit-^C-and-delete-the-downloading-file safety
464                 - IgnorePkg option in pacman.conf
465                 - FTPAGENT setting in makepkg.conf
466                 - Added --cleancache option to makepkg
467 2.3.1         - Fixed the progress bar overflow
468               - Pacman does not ask "Are you sure" when you use --downloadonly
469               - Switched up a couple makepkg options to be more consistent
470                 with pacman's options
471               - If you ^C out of a file download, the package will now be
472                 removed from the cache directory
473 2.3           - The beginnings of source-side dependency resolution, makepkg
474                 can now either A) download/install missing deps with pacman
475                 -S; or B) find missing deps in the /usr/abs tree and
476                 build/install them.
477               - Added a --nodeps option to makepkg
478               - Improved the --search output
479 2.2           - More bugfixes
480               - Added --downloadonly switch to --sync
481 2.1           - Lots of bugfixes
482               - Added support for multiple repositories
483               - Improved the config file layout
484               - Improved dependency resolution and sorting
485 2.0           - Added dependency functionality
486               - Completely new database format, similar to FreeBSD
487               - Better internal data structures
488               - Merged pacsync functionality into pacman
489               - Now uses libftp for all file retrieval (currently only ftp)
490               - Automatic dependency resolution, a la apt-get
491               - Moved config stuff from /etc/pacsync.conf to /etc/pacman.conf
492               - Much better backup file handling, now uses md5 hashes a la rpm
493 1.23          - Added install/upgrade/remove scripting control
494 1.22          - Some manpage typo fixes
495               - Added --root switch to pacsync
496               - Added --help and ability to specify a PKGBUILD to makepkg
497               - Switched default downloader to snarf
498 1.21          - Added better backup control -- upgrade/add and remove
499                 do different things with the -n switch
500 1.2           - Added wildcard handling
501               - Added man pages for makepkg and pacsync
502               - Added the pacsync utility for remote file fetching/sync
503 1.1           - Fixed some string-handling bugs
504               - Added better handling of configuration files and the like.
505                 If "file" is about to be removed, but it is designated to
506                 backed up, then it will be copied to "file.save"
507               - Changed db_find_conflicts() to ignore directories
508 1.0           - Initial Release
510 vim: set et spell spelllang=en_us: