diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/AUTHORS.md b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/AUTHORS.md deleted file mode 100644 index 85730d3..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/AUTHORS.md +++ /dev/null @@ -1,11 +0,0 @@ -Maintainers ------------ - -* Johannes Löthberg -* Daniel M. Capella - - -Contributors ------------- - -Use `git shortlog -s` for a list of contributors. diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/CHANGES.md b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/CHANGES.md deleted file mode 100644 index 6e233ae..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/CHANGES.md +++ /dev/null @@ -1,124 +0,0 @@ -# Changelog -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - -## [Unreleased] -### Added -- pacman-syncdb: systemd service and timer for `pacman -Fy` -- Rename `pacman -Fy` units to pacman-filesdb-refresh from pacman-syncdb and simplify descriptions - -### Changed - -### Fixed - - -## [1.4.0] - 2020-07-28 -### Added -- pactree: Add --debug (2d13a236) -- pactree: Add --gpgdir, set the gpg directory (a4e69cac) -- pactree: introduce the --optional flag (FS#61336) (b6d08b40) - -### Changed -- doc: make timestamps in man pages reproducible (e2a5e43b) -- paccache.service.in: Reword description to more clearly specify what it does (269a2cdc) - -### Fixed -- pactree: Improve command line validation (FS#64589) (e77e13b0) -- pactree: Fix redundant arrows in Graphviz output (c7be8631) -- doc: Fix pacdiff option descriptions (cf683ca0) -- vim: Add missing highlight links for b2sums (a1e7a764) -- paccache: Support cleaning many thousands of candidates (547a66d5) - - -## [1.3.0] - 2019-12-25 -### Added -- Add document describing the release procedures. (21449e3) -- vim: Add Unlicense as valid license. (f835547) - -### Changed -- checkupdates: Use $UID instead of $USER in the tempdir path. (a8b342e) -- checkupdates, paccache, and pacdiff were ported to libmakepkg. (431e564) - -### Fixed -- checkupdates: Exit with 2 if there are no updates available. (3da550e) -- rankmirrors: Fix parsing of -m argument. (d026415) -- updpkgsums: Use makepkg's checksum algorithm type specification, fixing support for b2sums. (c8ef727) -- vim: Recognize validpgpkeys variable. (e6950d3) - - -## [1.2.0] - 2019-10-06 -### Added -- checkupdates: Add option for downloading updates. (ab69666) -- docs: Add manpages for checkupdates, pacdiff, pacsort, updpkgsums. (d25a8b2, 35eef6b, ef63784, b258c31) -- paccache: Add --age-atime and --age-mtime arguments. (45c1916) -- vim: Add indent file. (020b533) -- vim: Add b2sums to PKGBUILD syntax file. (fc21909) -- Vim: Add Boost and MPL2 as valid licenses. (b5cb1ce) - -### Changed -- paclist: Allow listing packages from multiple repos at once. (58bfa06) -- paclist: Also list packages where the installed version differ from the repo version. (4849211) -- vim: Remove version check for Vim older than 6.0 from PKGBUILD syntax file. (b4ae0e5) -- checkupdates, paccache, pacdiff: Don't use colors on a dumb terminal. (c57d275) - -### Fixed -- pacccache: Fix parsing of --move argument. (9ebae18) -- pacdiff: Don't assume the DBPath has a trailing slash. (0c260d3) -- pacsort: Support all compression formats supported by `makepkg`. (aa22e5c) -- vim: Add `unknown` license special case to PKGBUILD syntax file. (6193d12) - - -## [1.1.0] - 2018-08-05 -### Added -- paccache: Add manpage. -- rankmirrors: Add --max-time flag to specify the timeout used. - -### Changed -- pacscripts: Don't log to pacman.log when files are downloaded to the cache. -- pacscripts: Find package file path using pacman instead of doing it manually ourselves. -- pactree: Use full dependency string when finding dependencies, since if we don't use the version requirement part of the string, we will sometimes return the wrong results. -- vim/ftplugin/PKGBUILD: Set vim 'commentstring' option -- vim/syntax/PKGBUILD: Add sha224sums support. - -### Fixed -- pacsort: Fix short version option. - - -## [1.0.0] - 2018-05-28 -### Added -- `--version` option to pactree. -- Import pacsort utility. -- systemd service and timer for paccache. - -### Changed -- Make pacscripts use `-v` as the short flag for version output instead of `-V`, in accordance with its documentation. - -### Fixed -- checkupdates now reports failures to update the databases. -- Add `-v` to pacsort help output. - - -## 0.0.1 - 2016-10-17 -### Added -- Imported the following utilities: - - checkupdates - - paccache - - pacdiff - - paclist - - paclog-pkglist - - pacscripts - - pacsearch - - pactree - - rankmirrors - - updpkgsums -- Added vim highlighting for PKGBUILDs. - - -[Unreleased]: https://gitlab.archlinux.org/pacman/pacman-contrib/-/compare/v1.4.0...master -[1.0.0]: https://gitlab.archlinux.org/pacman/pacman-contrib/-/compare/v0.0.1...v1.0.0 -[1.1.0]: https://gitlab.archlinux.org/pacman/pacman-contrib/-/compare/v1.0.0...v1.1.0 -[1.2.0]: https://gitlab.archlinux.org/pacman/pacman-contrib/-/compare/v1.0.1...v1.2.0 -[1.3.0]: https://gitlab.archlinux.org/pacman/pacman-contrib/-/compare/v1.0.2...v1.3.0 -[1.4.0]: https://gitlab.archlinux.org/pacman/pacman-contrib/-/compare/v1.0.3...v1.4.0 diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/COPYING b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/COPYING deleted file mode 100644 index d511905..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/COPYING +++ /dev/null @@ -1,339 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/Makefile.am b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/Makefile.am deleted file mode 100644 index 8cce2f4..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -SUBDIRS = src lib test -if WANT_DOC -SUBDIRS += doc -endif - -DIST_SUBDIRS = $(SUBDIRS) - -DISTCHECK_CONFIGURE_FLAGS = --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-doc --disable-git-version - -EXTRA_DIST = README.md AUTHORS.md - -TESTS = \ - test/pacsorttest.sh - - -TEST_SUITE_LOG = test/test-suite.log -AM_TESTS_ENVIRONMENT = \ - PMTEST_BIN_DIR=$(top_builddir)/src/; export PMTEST_BIN_DIR; -LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \ - $(top_srcdir)/build-aux/tap-driver.sh diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/README.md b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/README.md deleted file mode 100644 index ce9bd7f..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/README.md +++ /dev/null @@ -1,47 +0,0 @@ -pacman-contrib -============== - -This repository contains contributed scripts to pacman. - -*Note*: This used to be part of pacman.git, but was moved out to make pacman maintenance easier. - - -How to build: -------------- - - ./autogen.sh - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var - make - make check - make install DESTDIR="$pkgdir" - - -Scripts available in this repository: -------------------------------------- - -* checkupdates - print a list of pending updates without touching the system - sync databases (for safety on rolling release distributions). - -* paccache - a flexible package cache cleaning utility that allows greater - control over which packages are removed. - -* pacdiff - a simple pacnew/pacsave updater for /etc/. - -* paclist - list all packages installed from a given repository. Useful for seeing - which packages you may have installed from the testing repository, - for instance. - -* paclog-pkglist - lists currently installs packages based pacman's log. - -* pacscripts - tries to print out the {pre,post}\_{install,remove,upgrade} - scripts of a given package. - -* pacsearch - a colorized search combining both -Ss and -Qs output. Installed - packages are easily identified with a `[installed]`, and - local-only packages are also listed. - -* rankmirrors - ranks pacman mirrors by their connection and opening speed. - -* updpkgsums - performs an in-place update of the checksums in a PKGBUILD. diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/autogen.sh b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/autogen.sh deleted file mode 100755 index 172154e..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/autogen.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -x - -autoreconf -i diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/configure.ac b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/configure.ac deleted file mode 100644 index a6e1287..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/configure.ac +++ /dev/null @@ -1,200 +0,0 @@ -AC_INIT([pacman-contrib], [1.4.0], [pacman-contrib@lists.archlinux.org]) -AC_CONFIG_MACRO_DIR([m4]) -AC_CONFIG_AUX_DIR([build-aux]) -AC_REQUIRE_AUX_FILE([tap-driver.sh]) - -AM_INIT_AUTOMAKE([-Wall foreign]) - -# Help line for root directory -AC_ARG_WITH(root-dir, - AS_HELP_STRING([--with-root-dir=PATH], [set the location of the root operating directory]), - [ROOTDIR=$withval], [ROOTDIR=/]) - -# Help line for vim runtime directory -AC_ARG_WITH(vim-dir, - [AS_HELP_STRING([--with-vim-dir=PATH], [set the location of the vim runtime file directory])], - [vim_dir=$withval], [vim_dir=$datadir/vim/vimfiles]) - -# Help line for documentation -AC_ARG_ENABLE(doc, - AS_HELP_STRING([--disable-doc], [prevent make from looking at doc/ dir]), - [wantdoc=$enableval], [wantdoc=yes]) - -# Help line for debug -AC_ARG_ENABLE(debug, - AS_HELP_STRING([--enable-debug], [enable debugging support]), - [debug=$enableval], [debug=no]) - -# Help line for compiler warning flags -AC_ARG_ENABLE(warningflags, - AS_HELP_STRING([--enable-warningflags], [enable extra compiler warning flags]), - [warningflags=$enableval], [warningflags=no]) - -# Help line for using git version in pacman version string -AC_ARG_ENABLE(git-version, - AS_HELP_STRING([--enable-git-version], - [enable use of git version in version string if available]), - [wantgitver=$enableval], [wantgitver=no]) - -# Checks for programs. -AC_PROG_CC -AC_PROG_CC_C99 -AC_PATH_PROGS([BASH_SHELL], [bash bash4], [false]) - -AS_IF([test "x$BASH_SHELL" = "xfalse"], - AC_MSG_WARN([*** bash >= 4.1.0 is required for pacman scripts]), - [bash_version_major=`$BASH_SHELL -c 'echo "${BASH_VERSINFO[[0]]}"'` - bash_version_minor=`$BASH_SHELL -c 'echo "${BASH_VERSINFO[[1]]}"'` - ok=yes - if test "$bash_version_major" -lt 4; then - ok=no - fi - if test "$bash_version_major" -eq 4 && test "$bash_version_minor" -lt 1; then - ok=no - fi - if test "$ok" = "no"; then - AC_MSG_ERROR([*** bash >= 4.1.0 is required for pacman scripts]) - fi - unset bash_version_major bash_version_minor ok]) - -# Check for libarchive -PKG_CHECK_MODULES(LIBARCHIVE, [libarchive >= 2.8.0], , - AC_MSG_ERROR([*** libarchive >= 2.8.0 is needed to build pacman-contrib!])) - -# Check for libalpm -PKG_CHECK_MODULES(LIBALPM, [libalpm], , - AC_MSG_ERROR([*** libalpm is needed to build pacman-contrib!])) - -PKG_CHECK_VAR(LIBMAKEPKGDIR, [libmakepkg], [libmakepkgdir], , - AC_MSG_ERROR([*** libmakepkg is needed to build pacman-contrib!])) -AC_SUBST(LIBMAKEPKGDIR) - -# Enable or disable use of git version in version string -AC_MSG_CHECKING(whether to use git version if available) -if test "x$wantgitver" = "xyes" ; then - AC_CHECK_PROGS([GIT], [git]) - AC_CHECK_FILE([.git/], hasgitdir=yes) - usegitver=$ac_cv_file__git_ - if test $GIT -a "x$hasgitdir" = "xyes"; then - AC_DEFINE([USE_GIT_VERSION], , [Use GIT version in version string]) - fi -else - AC_MSG_RESULT([no, disabled by configure]) - usegitver=no -fi -AM_CONDITIONAL(USE_GIT_VERSION, test "x$usegitver" = "xyes") - -# Set root directory -AC_SUBST(ROOTDIR) -AC_DEFINE_UNQUOTED([ROOTDIR], "$ROOTDIR", [The location of the root operating directory]) -# Set vim directory -AC_SUBST(vim_dir) -AC_DEFINE_UNQUOTED([vim_dir], "$vim_dir", [The location of the vim runtime file directory]) - -SIZECMD="stat -c %s" -AC_SUBST(SIZECMD) - -# Check for documentation support and status -AC_CHECK_PROGS([ASCIIDOC], [asciidoc]) -AC_MSG_CHECKING([for building documentation]) -if test "x$wantdoc" = "xyes" ; then - if test $ASCIIDOC ; then - AC_MSG_RESULT([yes, enabled by configure]) - else - asciidoc="(warning : asciidoc not installed)" - AC_MSG_RESULT([yes $asciidoc]) - fi - wantdoc=yes -else - AC_MSG_RESULT([no, disabled by configure]) - wantdoc=no -fi -AM_CONDITIONAL(WANT_DOC, test "x$wantdoc" = "xyes") - -# Enable or disable debug code -if test "x$debug" = "xyes" ; then - AC_MSG_RESULT(yes) - GCC_STACK_PROTECT_LIB - GCC_STACK_PROTECT_CC - GCC_FORTIFY_SOURCE_CC - WARNING_CFLAGS="-g -Wall -Werror" -else - AC_MSG_RESULT(no) - WARNING_CFLAGS="-Wall" -fi - -# Enable or disable compiler warning flags -AC_MSG_CHECKING(for excessive compiler warning flags) -if test "x$warningflags" = "xyes" ; then - AC_MSG_RESULT(yes) - CFLAGS_ADD([-Wcast-align], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wclobbered], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wempty-body], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wfloat-equal], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wformat-nonliteral], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wformat-security], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wignored-qualifiers], [WARNING_CFLAGS]) - CFLAGS_ADD([-Winit-self], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wlogical-op], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wmissing-declarations], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wmissing-field-initializers], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wmissing-parameter-type], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wmissing-prototypes], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wold-style-declaration], [WARNING_CFLAGS]) - CFLAGS_ADD([-Woverride-init], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wpointer-arith], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wredundant-decls], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wshadow], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wsign-compare], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wstrict-aliasing], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wstrict-overflow=5], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wstrict-prototypes], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wtype-limits], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wuninitialized], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wunused-but-set-parameter], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wunused-parameter], [WARNING_CFLAGS]) - CFLAGS_ADD([-Wwrite-strings], [WARNING_CFLAGS]) -else - AC_MSG_RESULT(no) -fi - -AC_CONFIG_FILES([ - lib/Makefile - src/Makefile - doc/Makefile - test/Makefile - Makefile -]) -AC_OUTPUT - -echo " -${PACKAGE_NAME}: - - Build information: - prefix : ${prefix} - sysconfdir : $(eval echo ${sysconfdir}) - conf file : $(eval echo ${sysconfdir})/pacman.conf - localstatedir : $(eval echo ${localstatedir}) - database dir : $(eval echo ${localstatedir})/lib/pacman/ - cache dir : $(eval echo ${localstatedir})/cache/pacman/pkg/ - libmakepkg dir : $(eval echo ${LIBMAKEPKGDIR}) - - compiler : ${CC} - compiler flags : ${WARNING_CFLAGS} ${CFLAGS} - linker flags : ${LDFLAGS} ${LIBALPM_LIBS} ${LIBARCHIVE_LIBS} - - Filesize command : ${SIZECMD} - - using git version : ${usegitver} - - Directory and file information: - root working directory : ${ROOTDIR} - - Compilation options: - Run make in doc/ dir : ${wantdoc} ${asciidoc} - debug support : ${debug} - extra warning flags : ${warningflags} - use git version : ${wantgitver} -" - -# vim:set noet: diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/debian/changelog b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/debian/changelog deleted file mode 100644 index 687e0cd..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/debian/changelog +++ /dev/null @@ -1,5 +0,0 @@ -pacman-contrib (1.4.0-1) UNRELEASED; urgency=medium - - * Initial release - - -- unknown Fri, 14 Jan 2022 01:29:59 +0000 diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/debian/control b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/debian/control deleted file mode 100644 index 82057e8..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/debian/control +++ /dev/null @@ -1,16 +0,0 @@ -Source: pacman-contrib -Section: misc -Priority: optional -Maintainer: unknown -Build-Depends: debhelper-compat (= 13), pkg-config, arch-pacman, - libarchive-dev, libcrypto++-dev, libssl-dev, - libcurl-dev, asciidoc-base -Standards-Version: 4.6.0 -#Vcs-Browser: https://salsa.debian.org/debian/pacman-contrib -#Vcs-Git: https://salsa.debian.org/debian/pacman-contrib.git -Rules-Requires-Root: no - -Package: pacman-contrib -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: pacman related extras diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/debian/copyright b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/debian/copyright deleted file mode 100644 index 823aa98..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/debian/copyright +++ /dev/null @@ -1,26 +0,0 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: pacman-contrib - -Files: * -License: GPL-2.0+ - -Files: debian/* -Copyright: 2022 unknown -License: GPL-2.0+ - -License: GPL-2.0+ - This package is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - . - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see - . - On Debian systems, the complete text of the GNU General - Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/debian/rules b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/debian/rules deleted file mode 100755 index b6d3a37..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/debian/rules +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/make -f -# See debhelper(7) (uncomment to enable) -# output every command that modifies files on the build system. -#export DH_VERBOSE = 1 - - -# see FEATURE AREAS in dpkg-buildflags(1) -#export DEB_BUILD_MAINT_OPTIONS = hardening=+all - -# see ENVIRONMENT in dpkg-buildflags(1) -# package maintainers to append CFLAGS -#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -# package maintainers to append LDFLAGS -#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed - - -%: - dh $@ - - - -override_dh_auto_configure: - ./autogen.sh - dh_auto_configure - ./configure \ - --prefix=/usr \ - --libdir=/usr/lib - -# dh_make generated override targets -# This is example for Cmake (See https://bugs.debian.org/641051 ) -#override_dh_auto_configure: -# dh_auto_configure -- \ -# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/debian/source/format b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/debian/source/format deleted file mode 100644 index 163aaf8..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/.gitignore b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/.gitignore deleted file mode 100644 index 071d048..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.8 -*.html -website.tar.gz diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/Makefile.am b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/Makefile.am deleted file mode 100644 index 374b1b5..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/Makefile.am +++ /dev/null @@ -1,119 +0,0 @@ -# We have to do some funny stuff here with the manpages. In order to ensure -# a dist tarball doesn't get put out there without manpages, we keep those -# files listed in EXTRA_DIST no matter what. However, we only add them to -# man_MANS if --enable-asciidoc and/or --enable-doxygen are used. - -ASCIIDOC_MANS = \ - checkupdates.8 \ - paccache.8 \ - pacdiff.8 \ - pacsort.8 \ - pactree.8 \ - updpkgsums.8 - -HTML_MANPAGES = \ - checkupdates.8.html \ - paccache.8.html \ - pacdiff.8.html \ - pacsort.8.html \ - pactree.8.html \ - updpkgsums.8.html - -HTML_OTHER = \ - release-procedure.html \ - submitting-patches.html - -HTML_DOCS = \ - $(HTML_MANPAGES) \ - $(HTML_OTHER) - -EXTRA_DIST = \ - asciidoc.conf \ - asciidoc-override.css \ - checkupdates.8.txt \ - paccache.8.txt \ - pacdiff.8.txt \ - pacsort.8.txt \ - pactree.8.txt \ - updpkgsums.8.txt \ - footer.txt \ - $(ASCIIDOC_MANS) - -# Files that should be removed, but which Automake does not know. -MOSTLYCLEANFILES = *.xml $(ASCIIDOC_MANS) $(HTML_DOCS) website.tar.gz - -# Ensure manpages are fresh when building a dist tarball -dist-hook: - $(MAKE) $(AM_MAKEFLAGS) clean - $(MAKE) $(AM_MAKEFLAGS) all - -if USE_GIT_VERSION -GIT_VERSION := $(shell sh -c 'git describe --long --abbrev=4 --dirty | sed s/^v//') -REAL_PACKAGE_VERSION = $(GIT_VERSION) -else -REAL_PACKAGE_VERSION = $(PACKAGE_VERSION) -endif - -man_MANS = -dist_man_MANS = $(ASCIIDOC_MANS) - -html: $(HTML_DOCS) - -website: website.tar.gz - -.PHONY: html website - -website.tar.gz: html - $(AM_V_GEN)bsdtar czf $@ $(HTML_DOCS) \ - asciidoc-override.css \ - -C /etc/asciidoc/stylesheets/ \ - asciidoc.css \ - -C /etc/asciidoc/javascripts/ \ - asciidoc.js \ - -C /etc/asciidoc/ \ - images - -pkgdatadir = ${datadir}/${PACKAGE} - -ASCIIDOC_OPTS = \ - -f $(srcdir)/asciidoc.conf \ - -a pacman_contrib_version="$(REAL_PACKAGE_VERSION)" \ - -a pkgdatadir=$(pkgdatadir) \ - -a localstatedir=$(localstatedir) \ - -a sysconfdir=$(sysconfdir) - -A2X_OPTS = \ - --no-xmllint \ - -d manpage \ - -f manpage \ - --xsltproc-opts='-param man.endnotes.list.enabled 0 -param man.endnotes.are.numbered 0' - -# These rules are due to the includes and files of the asciidoc text -$(ASCIIDOC_MANS): asciidoc.conf footer.txt Makefile.am - $(AM_V_GEN)a2x $(A2X_OPTS) --asciidoc-opts="$(ASCIIDOC_OPTS) --out-file=./$@.xml" $(srcdir)/$@.txt - -%.html: %.txt - $(AM_V_GEN)asciidoc $(ASCIIDOC_OPTS) -o - $*.txt | \ - sed -e 's/\r$$//' > $@ - -HACKING.html: ../HACKING - $(AM_V_GEN)asciidoc $(ASCIIDOC_OPTS) -o - ../HACKING | \ - sed -e 's/\r$$//' > $@ - -# Customizations for certain HTML docs -$(HTML_MANPAGES): asciidoc.conf footer.txt Makefile.am -$(HTML_OTHER): asciidoc.conf Makefile.am -%.html: ASCIIDOC_OPTS += -a linkcss -a toc -a icons -a max-width=960px -a stylesheet=asciidoc-override.css -%.8.html: ASCIIDOC_OPTS += -d manpage -%.5.html: ASCIIDOC_OPTS += -d manpage -%.3.html: ASCIIDOC_OPTS += -d manpage - -# Dependency rules -checkupdates.8 checkupdates.8.html: checkupdates.8.txt -paccache.8 paccache.8.html: paccache.8.txt -pacdiff.8 pacdiff.8.html: pacdiff.8.txt -pactree.8 pactree.8.html: pactree.8.txt -pacsort.8 pacsort.8.html: pacsort.8.txt -updpkgsums.8 updpkgsums.8.html: updpkgsums.8.txt - -# vim:set noet: diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/asciidoc-override.css b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/asciidoc-override.css deleted file mode 100644 index 328c8fc..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/asciidoc-override.css +++ /dev/null @@ -1,7 +0,0 @@ -table th, table td { - padding: 0.2em 1em; -} - -table td p.table { - margin: 0; -} diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/asciidoc.conf b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/asciidoc.conf deleted file mode 100644 index 9314ea8..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/asciidoc.conf +++ /dev/null @@ -1,72 +0,0 @@ -## linkman: macro -# Inspired by/borrowed from the GIT source tree at Documentation/asciidoc.conf -# -# Usage: linkman:command[manpage-section] -# -# Note, {0} is the manpage section, while {target} is the command. -# -# Show man link as: (
); if section is defined, else just show -# the command. - -[macros] -(?su)[\\]?(?Plinkman):(?P\S*?)\[(?P.*?)\]= - -[attributes] -asterisk=* -plus=+ -caret=^ -startsb=[ -endsb=] -backslash=\ -tilde=~ -apostrophe=' -backtick=` -litdd=-- - -ifdef::backend-docbook[] -[linkman-inlinemacro] -{0%{target}} -{0#} -{0#{target}{0}} -{0#} -endif::backend-docbook[] - -ifdef::backend-docbook[] -ifndef::docbook-xsl-172[] -# "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this. -# v1.72 breaks with this because it replaces dots not in roff requests. -[listingblock] -{title} - -| - -{title#} -endif::docbook-xsl-172[] -endif::backend-docbook[] - -ifdef::doctype-manpage[] -ifdef::backend-docbook[] -[header] -template::[header-declarations] - - -{localdate} - - -{mantitle} -{manvolnum} -Pacman-contrib -{pacman_contrib_version} -Pacman-contrib Manual - - - {manname} - {manpurpose} - -endif::backend-docbook[] -endif::doctype-manpage[] - -ifdef::backend-xhtml11[] -[linkman-inlinemacro] -{target}{0?({0})} -endif::backend-xhtml11[] diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/checkupdates.8.txt b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/checkupdates.8.txt deleted file mode 100644 index 14cecc4..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/checkupdates.8.txt +++ /dev/null @@ -1,60 +0,0 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// -checkupdates(8) -============= - -Name ----- -checkupdates - safely print a list of pending updates - - -Synopsis --------- -'checkupdates' [options] - - -Description ------------ -Checks for pending updates using a separate Pacman database located in -*`TMPDIR`* if *`CHECKUPDATES_DB`* is not set and outputs a list of updates with the -old and new version. - - -Options -------- -*-d, \--download*:: - Download any pending updates to the pacman cache. - -*-h, \--help*:: - Display syntax and command line options. - - -Environment ------------ -*CHECKUPDATES_DB*:: - Override the default update db location. - -*TMPDIR*:: - Overrides the default '/tmp' temporary directory. - - -Errors ------- -On exit, checkupdates will return one of the following error codes. - -0:: - Normal exit condition. - -1:: - Unknown cause of failure. - -2:: - No updates are available. - - -See Also --------- -linkman:pacman[8], linkman:pacman.conf[5] - -include::footer.txt[] diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/footer.txt b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/footer.txt deleted file mode 100644 index 9fe3169..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/footer.txt +++ /dev/null @@ -1,21 +0,0 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// - -Bugs ----- -Bugs? You must be kidding; there are no bugs in this software. But if we -happen to be wrong, send us an email with as much detail as possible to -mailto:pacman-contrib@lists.archlinux.org[]. - - -Authors -------- - -Current maintainers: - -* Johannes Löthberg -* Daniel M. Capella - -For additional contributors, use `git shortlog -s` on the pacman-contrib.git -repository. diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/paccache.8.txt b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/paccache.8.txt deleted file mode 100644 index 196bb49..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/paccache.8.txt +++ /dev/null @@ -1,90 +0,0 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// -paccache(8) -========= - -Name ----- -paccache - flexible pacman cache cleaning utility - - -Synopsis --------- -'paccache' [options] [targets...] - - -Description ------------ -Paccache removes old packages from the pacman cache directory. -By default the last three versions of a package are kept. - - -Operations ----------- -*-d, \--dryrun*:: - Perform a dry run, only finding candidate packages. - -*-m, \--move *:: - Move candidate packages from the cache directory to 'dir'. - -*-r, \--remove*:: - Remove candidate packages from the cache directory. - - -Options -------- -*-a, \--arch *:: - Scan for packages for a specific architecture. Default is to scan for - all architectures. - -*\--min-atime *:: -*\--min-mtime *:: - Only consider packages for removal with atime respectively mtime older than - specified. The age can be given as '10d', '1m', '1y', '1y1m' etc. - -*-c, \--cachedir *:: - Specify a different cache directory. This option can be used more than once. - Default is to use the cache directory configured in 'pacman.conf'. - -*-f, \--force*:: - Apply force to 'mv' and 'rm' operations. - -*-h, \--help*:: - Display syntax and command line options. - -*-i, \--ignore *:: - Specify packages to ignore, comma-separated. Alternatively "-" can be used - to read the package names from stdin, newline-delimited. - -*-k, \--keep *:: - Specify how many versions of each package are kept in the cache directory, - default is 3. - -*\--nocolor*:: - Remove color from the output. - -*-q, \--quiet*:: - Minimize the output. - -*-u, \--uninstalled*:: - Target uninstalled packages. - -*-v, \--verbose*:: - Increase verbosity, can be specified up to 3 times. - -*-z, \--null*:: - Use null delimiters for candidate names (only with -v and -vv). - - -Systemd Timer -------------- -The package cache can be cleaned periodically using the systemd timer 'paccache.timer'. -If the timer is enabled the cache will be cleaned weekly with paccache's default options. - - -See Also --------- -linkman:pacman[8], linkman:pacman.conf[5], linkman:systemctl[1] - -include::footer.txt[] diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/pacdiff.8.txt b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/pacdiff.8.txt deleted file mode 100644 index 12f786b..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/pacdiff.8.txt +++ /dev/null @@ -1,63 +0,0 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// -pacdiff(8) -========== - -Name ----- -pacdiff - pacorig, pacnew and pacsave maintenance utility - - -Synopsis --------- -'pacdiff' [options] - - -Description ------------ -pacdiff is a script which looks for pacorig, pacnew and pacsave files from the -backup entries found in the local Pacman db. For every found file the option is -given to view, merge, skip, diff, remove or overwrite the found pacorig, pacnew -or pacsave file. - -Environment ------------ -*DIFFPROG*:: - Override the default 'vim -d' merge program. - -*DIFFSEARCHPATH*:: - Override the default search path '/etc', only when using find. - -*MERGEPROG*:: - Override the default 'diff3 -m' 3-way merge program. One possible - alternative is 'git merge-file -p'. - -Options -------- -*-l, \--locate*:: - Scan using locate. - -*-f, \--find*:: - Scan using find. - -*-p, \--pacmandb*:: - Scan active config files from Pacman database. (default) - -*-o, \--output*:: - Print files instead of merging them. - -*\--nocolor*:: - Remove colors from output. - -*-c, \--cachedir *:: - Scan 'dir' instead as the pacman cache for 3-way merge base candidates. - -*-s, \--sudo*:: - Use sudo to merge/remove files. - -See Also --------- -linkman:pacman[8], linkman:pacman.conf[5] - -include::footer.txt[] diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/pacsort.8.txt b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/pacsort.8.txt deleted file mode 100644 index 544404d..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/pacsort.8.txt +++ /dev/null @@ -1,55 +0,0 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// -pacsort(8) -========= - -Name ----- -pacsort - sort utility implementing alpm_pkg_vercmp - - -Synopsis --------- -'pacsort' [options] [files...] - - -Description ------------ -'pacsort' concatenates the given files, sorts them, and writes them to standard -output. Default order is oldest to newest. - -Standard input is read when no files are given. - -By default the lines are treated as lists of plain version strings. - - -Options -------- -*-f, \--files*:: - If the input lists are in the format '\*-\*.pkg.tar*', sort lines by pkgname and pkgver. - -*-h, \--help*:: - Display syntax and command line options. - -*-k, \--key *:: - Sort the input starting on the specified column. - -*-r, \--reverse*:: - Sort in reverse order. - -*-t, \--separator *:: - Field separator. Default separator is space. - -*-v, \--version*:: - Display the version. - -*-z, \--null*:: - Lines end with null bytes rather than newlines. - - -See Also --------- -linkman:pacman[8], linkman:vercmp[8] - -include::footer.txt[] diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/pactree.8.txt b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/pactree.8.txt deleted file mode 100644 index 02eee5b..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/pactree.8.txt +++ /dev/null @@ -1,82 +0,0 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// -pactree(8) -========= - -Name ----- -pactree - package dependency tree viewer - - -Synopsis --------- -'pactree' [options] package - - -Description ------------ -Pactree produces a dependency tree for a package. - -By default, a tree-like output is generated, but with the '\--graph' option, a Graphviz -description is generated. - - -Options -------- -*-a, \--ascii*:: - Use ASCII characters for tree formatting. By default, pactree will use Unicode - line drawing characters if it is able to detect that the locale supports them. - -*-b, \--dbpath*:: - Specify an alternative database location. - -*-c, \--color*:: - Colorize output. - -*-d, \--depth *:: - Limits the number of levels of dependency to show. A zero means - show the named package only, one shows the packages that are directly - required. - -*-g, \--graph*:: - Generate a Graphviz description. If this option is given, the '\--color' and - '\--linear' options are ignored. - -*-h, \--help*:: - Output syntax and command-line options. - -*-l, \--linear*:: - Prints package names at the start of each line, one per line. - -*-r, \--reverse*:: - Show packages that depend on the named package. - -*-s, \--sync*:: - Read package data from sync databases instead of local database. - -*-u, \--unique*:: - List dependent packages once. Implies '\--linear'. - -*-o, \--optional[=DEPTH]*:: - Additionally prints optional dependencies up to a certain depth, default 1 - for immediate optional dependencies. When used in conjunction with '-r' it - shows which packages it is optional for. In Graphviz mode, produce dotted - lines. Negative values mean infinite depth. - -*\--config *:: - Specify an alternate pacman configuration file. - -*\--debug*:: - Print log messages produced by libalpm. - -*\--gpgdir *:: - Specify an alternate GnuPG directory for verifying database signatures - (default is /etc/pacman.d/gnupg). - - -See Also --------- -linkman:pacman[8], linkman:pacman.conf[5], linkman:makepkg[8] - -include::footer.txt[] diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/release-procedure.txt b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/release-procedure.txt deleted file mode 100644 index 3237bfd..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/release-procedure.txt +++ /dev/null @@ -1,43 +0,0 @@ -Release Procedure -================= - -Preparations ------------- - --- -Before tagging the release, ensure that: - -* `CHANGES.md` has been updated with all changes that will go into the new release. - --- - -Procedure ---------- - --- -Assuming `$VERSION` is the version number in `X.Y.Z` format and `$REMOTE` is the Git remote for the `pacman-contrib` repository on `gitlab.archlinux.org`: - -* Update the version in `configure.ac`. -* In `CHANGES.md`: - - Rename the `Unreleased` section to `[$VERSION] - YYYY-MM-DD`. - - Populate new `Unreleased` section. - - Add the Git log URL for the new tag to the bottom of the file. - - Bump the version in the `Unreleased` Git log URL. -* `git commit -sm "Release v$VERSION"` -* `git tag -s v$VERSION -m v$VERSION` -* {blank} -+ ----- -git notes --ref=refs/notes/signatures/tar add -C "$( - git archive --format tar --prefix "pacman-contrib-$VERSION/" v$VERSION | - gpg --output - --armor --detach-sign | - git hash-object -w --stdin -)" v$VERSION ----- -* `git push $REMOTE master $VERSION refs/notes/signatures/tar` - --- - -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/submitting-patches.txt b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/submitting-patches.txt deleted file mode 100644 index cbd8b60..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/submitting-patches.txt +++ /dev/null @@ -1,104 +0,0 @@ -Submitting Patches -================== - -This document is here mainly to make the job of those who review patches easier -and is more of a guideline rather than a strict set of rules. However, please -try to follow them as much as you can. - - -Getting the most recent source ------------------------------- -Patches need to be submitted in Git format and are best if they are against the -latest version of the code. There are several helpful tutorials for getting -started with Git if you have not worked with it before. - -* https://git-scm.com/book -* https://www.kernel.org/pub/software/scm/git/docs/gittutorial.html - -The pacman-contrib code can be fetched using the following command: - - git clone git://projects.archlinux.org/pacman-contrib.git - - -Creating your patch -------------------- - --- -* Use `git commit -s` for creating a commit of your changes. - -The -s allows you to credit yourself by adding a "Signed Off By" line to -indicate who has "signed" the patch - who has approved it. - - Signed-off-by: Aaron Griffin - -Please use your real name and email address. Feel free to "scramble" the -address if you're afraid of spam. - -* Describe your patch. - -It helps if you describe the overview and goals of the patch in the git commit -log. This allows others to see what you intended so as to compare it to what -was actually done, and allows better feedback. - -* Use `git format-patch` to create patches. - -Your commit message will be shown above the patch by default when you will use -`git format-patch`, including the signoff line. Sets of multiple patches that -need extra explanation beyond the commit messages may include additional notes -in a cover letter. Individual patches may include additional notes between the -"---" following the commit message and the beginning of the diff. - --- - -Submitting your patch ---------------------- - --- -* Send the patch to the https://lists.archlinux.org/listinfo/pacman-contrib[pacman-contrib] mailing list - -The mailing list is the primary queue for review and acceptance. Here you -will get feedback, and let the reviewers know the details of your patch. - -* No MIME, no links, no compression, no attachments. Just plain text. - -Patches should be contained in the actual body of the email. There are many -reasons for this. First, it makes them easier to read with any mail reader, -it allows easier review "at a glance", and most importantly, it allows people -to comment on exact lines of the patch in reply emails. - -`git send-email` allows you to send Git-formatted patches in plain text easily -and is the preferred method for submission to the mailing list. Mail clients, -including Gmail's web interface, have a tendency to break patches by wrapping -lines and/or adjusting whitespace and should be avoided. - --- - -After you submit ----------------- - --- -* Don't get discouraged - -Any feedback you get, positive or negative, has nothing to do with you. If a -patch is rejected, try taking the suggestions into account and re-submitting. -We welcome most submissions here, and some may take a bit longer to get -looked over than others. If you think your patch got lost in the shuffle, -send another email to the list in reply to the original asking if anyone has -looked at it yet. - -* Respond to feedback - -When you do get feedback, it usually merits a response, whether this be a -resubmission of the patch with corrections or a follow-up email asking for -clarifications. When neither of these occurs, don't expect your patch to get -further review. The all-volunteer staff don't have time to fix up patches that -aren't their own. When resubmitting patches, update the subject line to reflect -the version number ('[PATCHv2]'), and send it as a reply to the original -thread. When using `git format-patch` you can pass in e.g. -v2 to have it -automatically set the patch prefix appropriately. - --- - -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/updpkgsums.8.txt b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/updpkgsums.8.txt deleted file mode 100644 index 8ccbe77..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/doc/updpkgsums.8.txt +++ /dev/null @@ -1,37 +0,0 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// -updpkgsums(8) -=========== - -Name ----- -updpkgsums - update checksums of a PKGBUILD file - - -Synopsis --------- -'updpkgsums' [options] [build file] - - -Description ------------ -'updpkgsums' will perform an in place update of the checksums in the path -specified by [build file], defaulting to PKGBUILD in the current working -directory. - - -Options -------- -*-V, \--version*:: - Display version information and exit. - -*-m, \--nocolor*:: - Disable colorized output messages. - - -See Also --------- -linkman:makepkg[8], linkman:pkgbuild[5] - -include::footer.txt[] diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/lib/Makefile.am b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/lib/Makefile.am deleted file mode 100644 index c7a1385..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/lib/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -SUBDIRS= - -DIST_SUBDIRS = $(SUBDIRS) - -EXTRA_DIST = \ - size_to_human.sh - -# vim:set noet: diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/lib/size_to_human.sh b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/lib/size_to_human.sh deleted file mode 100644 index 1d13eeb..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/lib/size_to_human.sh +++ /dev/null @@ -1,22 +0,0 @@ -size_to_human() { - awk -v size="$1" ' - BEGIN { - suffix[1] = "B" - suffix[2] = "KiB" - suffix[3] = "MiB" - suffix[4] = "GiB" - suffix[5] = "TiB" - suffix[6] = "PiB" - suffix[7] = "EiB" - count = 1 - - while (size > 1024) { - size /= 1024 - count++ - } - - sizestr = sprintf("%.2f", size) - sub(/\.?0+$/, "", sizestr) - printf("%s %s", sizestr, suffix[count]) - }' -} diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/m4/acinclude.m4 b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/m4/acinclude.m4 deleted file mode 100644 index 15bb31e..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/m4/acinclude.m4 +++ /dev/null @@ -1,160 +0,0 @@ -dnl acinclude.m4 - configure macros used by pacman and libalpm -dnl Add some custom macros for pacman and libalpm - -dnl GCC_STACK_PROTECT_LIB -dnl adds -lssp to LIBS if it is available -dnl ssp is usually provided as part of libc, but was previously a separate lib -dnl It does not hurt to add -lssp even if libc provides SSP - in that case -dnl libssp will simply be ignored. -AC_DEFUN([GCC_STACK_PROTECT_LIB],[ - AC_CACHE_CHECK([whether libssp exists], ssp_cv_lib, - [ssp_old_libs="$LIBS" - LIBS="$LIBS -lssp" - AC_TRY_LINK(,, ssp_cv_lib=yes, ssp_cv_lib=no) - LIBS="$ssp_old_libs" - ]) - if test $ssp_cv_lib = yes; then - LIBS="$LIBS -lssp" - fi -]) - -dnl GCC_STACK_PROTECT_CC -dnl checks -fstack-protector-all with the C compiler, if it exists then updates -dnl CFLAGS and defines ENABLE_SSP_CC -AC_DEFUN([GCC_STACK_PROTECT_CC],[ - AC_LANG_ASSERT(C) - if test "X$CC" != "X"; then - AC_CACHE_CHECK([whether ${CC} accepts -fstack-protector-all], - ssp_cv_cc, - [ssp_old_cflags="$CFLAGS" - CFLAGS="$CFLAGS -fstack-protector-all" - AC_TRY_COMPILE(,, ssp_cv_cc=yes, ssp_cv_cc=no) - CFLAGS="$ssp_old_cflags" - ]) - if test $ssp_cv_cc = yes; then - CFLAGS="$CFLAGS -fstack-protector-all" - AC_DEFINE([ENABLE_SSP_CC], 1, [Define if SSP C support is enabled.]) - fi - fi -]) - -dnl GCC_FORTIFY_SOURCE_CC -dnl checks -D_FORTIFY_SOURCE with the C compiler, if it exists then updates -dnl CPPFLAGS -AC_DEFUN([GCC_FORTIFY_SOURCE_CC],[ - AC_LANG_ASSERT(C) - if test "X$CC" != "X"; then - AC_MSG_CHECKING(for FORTIFY_SOURCE support) - fs_old_cppflags="$CPPFLAGS" - fs_old_cflags="$CFLAGS" - CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2" - CFLAGS="$CFLAGS -Werror" - AC_TRY_COMPILE([#include ], [ - int main() { - #if !(__GNUC_PREREQ (4, 1) ) - #error No FORTIFY_SOURCE support - #endif - return 0; - } - ], [ - AC_MSG_RESULT(yes) - CFLAGS="$fs_old_cflags" - ], [ - AC_MSG_RESULT(no) - CPPFLAGS="$fs_old_cppflags" - CFLAGS="$fs_old_cflags" - ]) - fi -]) - -dnl GCC_VISIBILITY_CC -dnl checks -fvisibility=internal with the C compiler, if it exists then -dnl defines ENABLE_VISIBILITY_CC in both configure script and Makefiles -AC_DEFUN([GCC_VISIBILITY_CC],[ - AC_LANG_ASSERT(C) - if test "X$CC" != "X"; then - AC_CACHE_CHECK([whether ${CC} accepts -fvisibility=internal], - visibility_cv_cc, - [visibility_old_cflags="$CFLAGS" - CFLAGS="$CFLAGS -fvisibility=internal" - AC_TRY_COMPILE(,, visibility_cv_cc=yes, visibility_cv_cc=no) - CFLAGS="$visibility_old_cflags" - ]) - if test $visibility_cv_cc = yes; then - AC_DEFINE([ENABLE_VISIBILITY_CC], 1, [Define if symbol visibility C support is enabled.]) - fi - AM_CONDITIONAL([ENABLE_VISIBILITY_CC], test "x$visibility_cv_cc" = "xyes") - fi -]) - -dnl CFLAGS_ADD(PARAMETER, VARIABLE) -dnl Adds parameter to VARIABLE if the compiler supports it. For example, -dnl CFLAGS_ADD([-Wall],[WARN_FLAGS]). -AC_DEFUN([CFLAGS_ADD], -[AS_VAR_PUSHDEF([my_cflags], [cflags_cv_warn_$1])dnl -AC_CACHE_CHECK([whether compiler handles $1], [my_cflags], [ - save_CFLAGS="$CFLAGS" - CFLAGS="${CFLAGS} -Werror=unknown-warning-option" - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], - [], - [CFLAGS="$save_CFLAGS"]) - CFLAGS="${CFLAGS} $1" - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], - [AS_VAR_SET([my_cflags], [yes])], - [AS_VAR_SET([my_cflags], [no])]) - CFLAGS="$save_CFLAGS" -]) -AS_VAR_PUSHDEF([new_cflags], [[$2]])dnl -AS_VAR_IF([my_cflags], [yes], [AS_VAR_APPEND([new_cflags], [" $1"])]) -AS_VAR_POPDEF([new_cflags])dnl -AS_VAR_POPDEF([my_cflags])dnl -m4_ifval([$2], [AS_LITERAL_IF([$2], [AC_SUBST([$2])], [])])dnl -]) - -dnl Checks for getmntinfo and determines whether it uses statfs or statvfs -AC_DEFUN([FS_STATS_TYPE], - [AC_CACHE_CHECK([filesystem statistics type], fs_stats_cv_type, - [AC_CHECK_FUNC(getmntinfo, - [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([[ -# include -# include -#if HAVE_SYS_UCRED_H -#include -#endif -extern int getmntinfo (struct statfs **, int); -]], - [])], - [fs_stats_cv_type="struct statfs"], - [fs_stats_cv_type="struct statvfs"])], - [AC_CHECK_FUNC(getmntent, - [fs_stats_cv_type="struct statvfs"])] - )] - ) - AC_DEFINE_UNQUOTED(FSSTATSTYPE, [$fs_stats_cv_type], - [Defined as the filesystem stats type ('statvfs' or 'statfs')]) - if test $ac_cv_func_getmntinfo = yes; then - if test "$fs_stats_cv_type" = "struct statvfs"; then - AC_DEFINE([HAVE_GETMNTINFO_STATVFS], 1, [Define if getmntinfo() uses statvfs.]) - else - AC_DEFINE([HAVE_GETMNTINFO_STATFS], 1, [Define if getmntinfo() uses statfs.]) - fi - fi -]) - -dnl Checks for PATH_MAX and defines it if not present -AC_DEFUN([PATH_MAX_DEFINED], - [AC_CACHE_CHECK([PATH_MAX defined], path_max_cv_defined, - [AC_EGREP_CPP(yes, [[ -#include -#if defined(PATH_MAX) -yes -#endif -]], - [path_max_cv_defined=yes], - [path_max_cv_defined=no])] - ) - if test $path_max_cv_defined = no; then - AC_DEFINE([PATH_MAX], 4096, [Define if PATH_MAX is undefined by limits.h.]) - fi -]) diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/src/.gitignore b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/src/.gitignore deleted file mode 100644 index 38264e4..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/src/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -.deps/ -checkupdates -paccache -paccache.service -pacdiff -paclist -paclog-pkglist -pacscripts -pacsearch -pacsort -pacsort.o -pactree -pactree.o -rankmirrors -updpkgsums diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/src/Makefile.am b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/src/Makefile.am deleted file mode 100644 index 5101f4a..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/src/Makefile.am +++ /dev/null @@ -1,143 +0,0 @@ -# enforce that all scripts have a --help and --version option -AUTOMAKE_OPTIONS = std-options -SUBDIRS= - -DIST_SUBDIRS = $(SUBDIRS) - -# paths set at make time -conffile = ${sysconfdir}/pacman.conf -dbpath = ${localstatedir}/lib/pacman/ -gpgdir = ${sysconfdir}/pacman.d/gnupg/ - -bin_SCRIPTS = \ - $(OURSCRIPTS) - -bin_PROGRAMS = pacsort pactree - -vim_ftdetect_dir = $(vim_dir)/ftdetect -vim_ftplugin_dir = $(vim_dir)/ftplugin -vim_syntax_dir = $(vim_dir)/syntax - -vim_ftdetect__DATA = \ - vim/ftdetect/PKGBUILD.vim - -vim_ftplugin__DATA = \ - vim/ftplugin/PKGBUILD.vim - -vim_syntax__DATA = \ - vim/syntax/PKGBUILD.vim - -systemd_dir = ${libdir}/systemd/system - -systemd__DATA = \ - paccache.service paccache.timer \ - pacman-filesdb-refresh.service pacman-filesdb-refresh.timer - -BASHSCRIPTS = \ - checkupdates \ - paccache \ - pacdiff \ - paclist \ - paclog-pkglist \ - pacscripts \ - rankmirrors \ - updpkgsums - -PERLSCRIPTS = \ - pacsearch - -OURSCRIPTS = \ - $(BASHSCRIPTS) \ - $(PERLSCRIPTS) - -OURFILES = \ - paccache.service \ - pacman-filesdb-refresh.service - -EXTRA_DIST = \ - checkupdates.sh.in \ - paccache.service.in \ - paccache.sh.in \ - paccache.timer \ - pacdiff.sh.in \ - paclist.sh.in \ - paclog-pkglist.sh.in \ - pacman-filesdb-refresh.service.in \ - pacman-filesdb-refresh.timer \ - pacscripts.sh.in \ - pacsearch.pl.in \ - pacsort.c \ - pactree.c \ - rankmirrors.sh.in \ - updpkgsums.sh.in \ - vim/syntax/PKGBUILD.vim \ - vim/ftdetect/PKGBUILD.vim \ - vim/ftplugin/PKGBUILD.vim - -# Files that should be removed, but which Automake does not know. -MOSTLYCLEANFILES = $(OURSCRIPTS) $(OURFILES) *.tmp - -if USE_GIT_VERSION -GIT_VERSION := $(shell sh -c 'git describe --long --abbrev=4 --dirty | sed s/^v//') -REAL_PACKAGE_VERSION = $(GIT_VERSION) -else -REAL_PACKAGE_VERSION = $(PACKAGE_VERSION) -endif - -AM_CPPFLAGS = \ - -DLOCALEDIR=\"@localedir@\" \ - -DCONFFILE=\"$(conffile)\" \ - -DDBPATH=\"$(dbpath)\" \ - -DGPGDIR=\"$(gpgdir)\" - -AM_CFLAGS = \ - -pedantic \ - -D_GNU_SOURCE \ - $(WARNING_CFLAGS) \ - $(LIBARCHIVE_CFLAGS) \ - $(LIBALPM_CFLAGS) - -edit = sed \ - -e 's|@bindir[@]|$(bindir)|g' \ - -e 's|@sysconfdir[@]|$(sysconfdir)|g' \ - -e 's|@localstatedir[@]|$(localstatedir)|g' \ - -e 's|@PACKAGE_VERSION[@]|$(REAL_PACKAGE_VERSION)|g' \ - -e 's|@libmakepkgdir[@]|$(LIBMAKEPKGDIR)|g' \ - -e 's|@SIZECMD[@]|$(SIZECMD)|g' \ - -e 's|@SCRIPTNAME[@]|$@|g' \ - -e '1s|!/bin/bash|!$(BASH_SHELL)|g' \ - -e 's|@configure_input[@]|Generated from $@.sh.in; do not edit by hand.|g' - -$(BASHSCRIPTS): Makefile - $(AM_V_at)$(RM) $@ - $(AM_V_GEN)test -f $(srcdir)/$@.sh.in && m4 -P -I $(srcdir) $(srcdir)/$@.sh.in | $(edit) >$@ - $(AM_V_at)chmod +x,a-w $@ - @$(BASH_SHELL) -O extglob -n $@ - -$(PERLSCRIPTS): Makefile - $(AM_V_at)$(RM) $@ $@.tmp - $(AM_V_GEN)$(edit) $(srcdir)/$@.pl.in >$@.tmp - $(AM_V_at)chmod +x,a-w $@.tmp - $(AM_V_at)mv $@.tmp $@ - -$(OURFILES): Makefile - $(AM_V_at)$(RM) $@ $@.tmp - $(AM_V_GEN)$(edit) $(srcdir)/$@.in >$@.tmp - $(AM_V_at)chmod a-w $@.tmp - $(AM_V_at)mv $@.tmp $@ - -all-am: $(OURSCRIPTS) $(OURFILES) - -$(BASHSCRIPTS): %: $(srcdir)/%.sh.in -$(PERLSCRIPTS): %: $(srcdir)/%.pl.in - -# dependency links -paccache: $(top_srcdir)/lib/size_to_human.sh - -pacsort_SOURCES = pacsort.c -pacsort_LDADD = $(LIBARCHIVE_LIBS) $(LIBALPM_LIBS) - -pactree_SOURCES = pactree.c -pactree_LDADD = $(LIBARCHIVE_LIBS) $(LIBALPM_LIBS) - -# vim:set noet: diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/src/checkupdates.sh.in b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/src/checkupdates.sh.in deleted file mode 100644 index 67ff144..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/src/checkupdates.sh.in +++ /dev/null @@ -1,131 +0,0 @@ -#!/bin/bash -# -# checkupdates: Safely print a list of pending updates. -# -# Copyright (c) 2013 Kyle Keen -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# - -declare -r myname='checkupdates' -declare -r myver='@PACKAGE_VERSION@' - -LIBRARY=${LIBRARY:-'@libmakepkgdir@'} - -DOWNLOAD_CACHE=0 -USE_COLOR=0 - -# Import libmakepkg -source "$LIBRARY"/util/message.sh -source "$LIBRARY"/util/parseopts.sh - -die() { - error "$@" - exit 1 -} - -runcmd() { - if (( EUID != 0 )); then - msg 'Escalating privileges using sudo' - if sudo -v &>/dev/null && sudo -l &>/dev/null; then - sudo "$@" - else - die 'Failed to escalate' - fi - else - "$@" - fi -} - -usage() { - cat << __EOF__ -${myname} v${myver} - -Safely print a list of pending updates - -Usage: ${myname} [options] - - Options: - -d, --download download pending updates to the pacman cache. - -h, --help display this help message and exit. - -Note: Export the "CHECKUPDATES_DB" variable to change the path of the temporary database. - -__EOF__ -} - -OPT_SHORT='dh' -OPT_LONG=('download' 'help' 'nocolor') - -if ! parseopts "$OPT_SHORT" "${OPT_LONG[@]}" -- "$@"; then - exit 1 -fi -set -- "${OPTRET[@]}" -unset OPT_SHORT OPT_LONG OPTRET - -while :; do - case $1 in - -d|--download) - DOWNLOAD_CACHE=1 ;; - -h|--help) - usage - exit 0 ;; - --nocolor) - USE_COLOR='n';; - --) - shift - break ;; - esac - shift -done - -# check if messages are to be printed using color -if [[ -t 2 && $USE_COLOR != "n" ]]; then - colorize -else - unset ALL_OFF BOLD BLUE GREEN RED YELLOW -fi - -if ! type -P fakeroot >/dev/null; then - die 'Cannot find the fakeroot binary' -fi - -if [[ -z $CHECKUPDATES_DB ]]; then - CHECKUPDATES_DB="${TMPDIR:-/tmp}/checkup-db-${UID}/" -fi - -trap 'rm -f $CHECKUPDATES_DB/db.lck' INT TERM EXIT - -DBPath="$(pacman-conf DBPath)" -if [[ -z "$DBPath" ]] || [[ ! -d "$DBPath" ]]; then - DBPath="@localstatedir@/lib/pacman/" -fi - -mkdir -p "$CHECKUPDATES_DB" -ln -s "${DBPath}/local" "$CHECKUPDATES_DB" &> /dev/null -if ! fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null; then - die 'Cannot fetch updates' -fi -mapfile -t updates < <(pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]') - -if (( ${#updates[@]} )); then - printf '%s\n' "${updates[@]}" - if (( DOWNLOAD_CACHE )); then - runcmd pacman -Sw --noconfirm "${updates[@]%% *}" --dbpath "$CHECKUPDATES_DB" --logfile /dev/null - fi -else - exit 2 -fi - -# vim: set noet: diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/src/paccache.service.in b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/src/paccache.service.in deleted file mode 100644 index f4b0c88..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/src/paccache.service.in +++ /dev/null @@ -1,39 +0,0 @@ -[Unit] -Description=Remove unused cached package files - -[Service] -Type=oneshot -ExecStart=@bindir@/paccache -r -# Lowering priority -OOMScoreAdjust=1000 -Nice=19 -CPUSchedulingPolicy=idle -IOSchedulingClass=idle -IOSchedulingPriority=7 -# Sandboxing and other hardening -ProtectProc=invisible -ProcSubset=pid -NoNewPrivileges=yes -ProtectSystem=full -ProtectHome=yes -PrivateTmp=yes -PrivateDevices=yes -PrivateNetwork=yes -PrivateIPC=yes -PrivateUsers=yes -ProtectHostname=yes -ProtectClock=yes -ProtectKernelTunables=yes -ProtectKernelModules=yes -ProtectKernelLogs=yes -ProtectControlGroups=yes -RestrictAddressFamilies=none -RestrictNamespaces=yes -LockPersonality=yes -MemoryDenyWriteExecute=yes -RestrictRealtime=yes -RestrictSUIDSGID=yes -RemoveIPC=yes -PrivateMounts=yes -SystemCallFilter=@system-service @file-system -SystemCallArchitectures=native diff --git a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/src/paccache.sh.in b/pacman-contrib/1.4.0/pacman-contrib-1.4.0/src/paccache.sh.in deleted file mode 100644 index 5ab467e..0000000 --- a/pacman-contrib/1.4.0/pacman-contrib-1.4.0/src/paccache.sh.in +++ /dev/null @@ -1,410 +0,0 @@ -#!/bin/bash -# -# paccache - flexible pacman cache cleaning -# -# Copyright (C) 2011 Dave Reisner -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - - -# Expand to nothing if there are no matches -shopt -s nullglob -shopt -s extglob - -declare -r myname='paccache' -declare -r myver='@PACKAGE_VERSION@' - -LIBRARY=${LIBRARY:-'@libmakepkgdir@'} - -declare -a cachedirs=() candidates=() cmdopts=() whitelist=() blacklist=() -declare -i delete=0 dryrun=0 filecount=0 move=0 needsroot=0 totalsaved=0 verbose=0 -declare -i min_atime=0 min_mtime=0 -declare delim=$'\n' keep=3 movedir= scanarch= - -QUIET=0 -USE_COLOR='y' - -# Import libmakepkg -source "$LIBRARY"/util/message.sh -source "$LIBRARY"/util/parseopts.sh - -die() { - error "$@" - exit 1 -} - -# reads a list of files on stdin and prints out deletion candidates -pkgfilter() { - # there's whitelist and blacklist parameters passed to this - # script after the block of awk. - - awk -v keep="$1" -v scanarch="$2" -v min_atime="$3" -v min_mtime="$4" ' - function basename(str) { - sub(".*/", "", str); - return str; - } - - function parse_filename(filename, - atime, mtime, parts, count, i, pkgname, arch) { - - if (0 + min_atime + min_mtime != 0) { - # atime and mtime are in the first two columns and the - # separator is a single space - split(filename, parts, " ") - atime = parts[1] - mtime = parts[2] - filename = substr(filename, length(atime) + length(mtime) + 3) - } - - count = split(basename(filename), parts, "-") - - i = 1 - pkgname = parts[i++] - while (i <= count - 3) { - pkgname = pkgname "-" parts[i++] - } - - arch = substr(parts[count], 1, index(parts[count], ".") - 1) - - # filter on whitelist or blacklist - if (wlen && !whitelist[pkgname]) return - if (blen && blacklist[pkgname]) return - - if ("" == packages[pkgname,arch]) { - packages[pkgname,arch] = filename - atimes[pkgname,arch] = atime - mtimes[pkgname,arch] = mtime - } else { - packages[pkgname,arch] = packages[pkgname,arch] SUBSEP filename - atimes[pkgname,arch] = atimes[pkgname,arch] SUBSEP atime - mtimes[pkgname,arch] = mtimes[pkgname,arch] SUBSEP mtime - } - } - - BEGIN { - # create whitelist - wlen = ARGV[1]; delete ARGV[1] - for (i = 2; i < 2 + wlen; i++) { - whitelist[ARGV[i]] = 1 - delete ARGV[i] - } - - # create blacklist - blen = ARGV[i]; delete ARGV[i] - while (i++ < ARGC) { - blacklist[ARGV[i]] = 1 - delete ARGV[i] - } - - # read package filenames - while (getline < "/dev/stdin") { - parse_filename($0) - } - - for (pkglist in packages) { - # idx[1,2] = idx[pkgname,arch] - split(pkglist, idx, SUBSEP) - - # enforce architecture match if specified - if (!scanarch || scanarch == idx[2]) { - count = split(packages[idx[1], idx[2]], pkgs, SUBSEP) - split(atimes[idx[1], idx[2]], atime, SUBSEP) - split(mtimes[idx[1], idx[2]], mtime, SUBSEP) - for(i = 1; i <= count - keep; i++) { - # If checking file age, potentially keep more candidates - if ((0 + min_atime == 0 || (strtonum(atime[i]) < 0 + min_atime)) && - (0 + min_mtime == 0 || (strtonum(mtime[i]) < 0 + min_mtime)) \ - ) { - print pkgs[i] - } - } - } - } - }' "${@:5}" -} - -m4_include(../lib/size_to_human.sh) - -runcmd() { - if (( needsroot && EUID != 0 )); then - msg 'Escalating privileges using sudo' - if sudo -v &>/dev/null && sudo -l &>/dev/null; then - sudo "$@" - else - die 'Failed to escalate' - fi - else - "$@" - fi -} - -summarize() { - (( QUIET )) && return - - local -i filecount=$1; shift - local seenarch= seen= arch= name= - local -r pkg_re='(.+)-[^-]+-[0-9]+-([^.]+)\.pkg.*' - - if (( delete )); then - printf -v output 'finished: %d packages removed' "$filecount" - elif (( move )); then - printf -v output "finished: %d packages moved to '%s'" "$filecount" "$movedir" - elif (( dryrun )); then - if (( verbose )); then - msg 'Candidate packages:' - while read -r pkg; do - if (( verbose >= 3 )); then - [[ $pkg =~ $pkg_re ]] && name=${BASH_REMATCH[1]} arch=${BASH_REMATCH[2]} - if [[ -z $seen || $seenarch != "$arch" || $seen != "$name" ]]; then - seen=$name seenarch=$arch - printf '%s (%s):\n' "${name##*/}" "$arch" - fi - printf ' %s\n' "${pkg##*/}" - elif (( verbose >= 2 )); then - printf "%s$delim" "$pkg" - else - printf "%s$delim" "${pkg##*/}" - fi - done < <(printf '%s\n' "$@" | pacsort --files) - fi - printf -v output 'finished dry run: %d candidates' "$filecount" - fi - - echo - msg "$output (disk space saved: %s)" "$(size_to_human "$totalsaved")" -} - -usage() { - cat < [options] [targets...] - - Operations: - -d, --dryrun perform a dry run, only finding candidate packages. - -m, --move move candidate packages to "dir". - -r, --remove remove candidate packages. - - Options: - --min-atime