From eschwartz at archlinux.org Mon Nov 13 17:14:54 2017 From: eschwartz at archlinux.org (Eli Schwartz) Date: Mon, 13 Nov 2017 12:14:54 -0500 Subject: [pacman-contrib] [PATCH 2/2] Fix failing pacsort tests In-Reply-To: <20171113171454.24555-1-eschwartz@archlinux.org> References: <20171113171454.24555-1-eschwartz@archlinux.org> Message-ID: <20171113171454.24555-2-eschwartz@archlinux.org> In commit 42181f85c44de29d40642aeed897e030f30e0559 the pacsort testsuite was migrated from the pacman codebase, and the PMTEST_UTIL_DIR variable was changed to PMTEST_BIN_DIR. However, it was only changed in two of the three places it was needed, and the testsuite could not find the pacsort binary in the build tree. As a result, the tests would fail on a system that did not have a systemwide pacsort install, and would test the systemwide install if there was one available. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 2b86c2c..9b06cba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,6 +13,6 @@ TESTS = \ TEST_SUITE_LOG = test/test-suite.log AM_TESTS_ENVIRONMENT = \ - PMTEST_BIN_DIR=$(top_builddir)/src/; export PMTEST_UTIL_DIR; + 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 -- 2.15.0 From eschwartz at archlinux.org Mon Nov 13 17:14:53 2017 From: eschwartz at archlinux.org (Eli Schwartz) Date: Mon, 13 Nov 2017 12:14:53 -0500 Subject: [pacman-contrib] [PATCH 1/2] Fix manpages showing the version as the date Message-ID: <20171113171454.24555-1-eschwartz@archlinux.org> --- doc/asciidoc.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/asciidoc.conf b/doc/asciidoc.conf index 68ab5b8..0d2ea98 100644 --- a/doc/asciidoc.conf +++ b/doc/asciidoc.conf @@ -50,7 +50,7 @@ ifdef::backend-docbook[] template::[header-declarations] -{pacman_contrib_version} +{pacman_contrib_date} {mantitle} -- 2.15.0 From demize at archlinux.org Mon Nov 13 19:38:11 2017 From: demize at archlinux.org (Johannes Löthberg) Date: Mon, 13 Nov 2017 19:38:11 +0000 Subject: [pacman-contrib] [GIT] branch master updated (b61b9b2 -> 866ab08) Message-ID: <151060189103.11993.8641717636909156518@luna.archlinux.org> This is an automated email from the git hooks/post-receive script. demize pushed a change to branch master in repository pacman-contrib. from b61b9b2 checkupdates: report failure to fetch updates new 655c4fa Fix manpages showing the version as the date new 5fc9791 Fix failing pacsort tests new 866ab08 Add `make check` to README.md The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Graph of new commits: * 866ab08 (HEAD -> master) Add `make check` to README.md * 5fc9791 Fix failing pacsort tests * 655c4fa Fix manpages showing the version as the date Detailed log of new commits: commit 866ab080d530a9318beefca0fa977b03f91baf79 Author: Johannes L?thberg Date: Mon Nov 13 20:01:31 2017 +0100 Add `make check` to README.md Signed-off-by: Johannes L?thberg commit 5fc979146d65ed771fedbf1e504b63044d19c4cc Author: Eli Schwartz Date: Mon Nov 13 12:14:54 2017 -0500 Fix failing pacsort tests In commit 42181f85c44de29d40642aeed897e030f30e0559 the pacsort testsuite was migrated from the pacman codebase, and the PMTEST_UTIL_DIR variable was changed to PMTEST_BIN_DIR. However, it was only changed in two of the three places it was needed, and the testsuite could not find the pacsort binary in the build tree. As a result, the tests would fail on a system that did not have a systemwide pacsort install, and would test the systemwide install if there was one available. Signed-off-by: Eli Schwartz Message-Id: <20171113171454.24555-2-eschwartz at archlinux.org> Signed-off-by: Johannes L?thberg commit 655c4faa62ed91e7e3e3cdda20903f77bdcd6ed4 Author: Eli Schwartz Date: Mon Nov 13 12:14:53 2017 -0500 Fix manpages showing the version as the date Signed-off-by: Eli Schwartz Message-Id: <20171113171454.24555-1-eschwartz at archlinux.org> Signed-off-by: Johannes L?thberg Summary of changes: Makefile.am | 2 +- README.md | 1 + doc/asciidoc.conf | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) -- To stop receiving notification emails like this one, please contact the administrator of this repository. From johannes at kyriasis.com Mon Nov 13 19:38:56 2017 From: johannes at kyriasis.com (=?utf-8?q?Johannes_L=C3=B6thberg?=) Date: Mon, 13 Nov 2017 20:38:56 +0100 Subject: [pacman-contrib] [PATCH 2/2] Fix failing pacsort tests In-Reply-To: <20171113171454.24555-2-eschwartz@archlinux.org> References: <20171113171454.24555-1-eschwartz@archlinux.org> <20171113171454.24555-2-eschwartz@archlinux.org> Message-ID: <151060193689.23040.18193007437171453598@localhost.localdomain> Quoting Eli Schwartz (2017-11-13 18:14:54) > In commit 42181f85c44de29d40642aeed897e030f30e0559 the pacsort testsuite > was migrated from the pacman codebase, and the PMTEST_UTIL_DIR variable > was changed to PMTEST_BIN_DIR. However, it was only changed in two of > the three places it was needed, and the testsuite could not find the > pacsort binary in the build tree. > > As a result, the tests would fail on a system that did not have a > systemwide pacsort install, and would test the systemwide install if > there was one available. > --- > Makefile.am | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile.am b/Makefile.am > index 2b86c2c..9b06cba 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -13,6 +13,6 @@ TESTS = \ > > TEST_SUITE_LOG = test/test-suite.log > AM_TESTS_ENVIRONMENT = \ > - PMTEST_BIN_DIR=$(top_builddir)/src/; export PMTEST_UTIL_DIR; > + 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 > -- > 2.15.0 Thanks! -- Sincerely, Johannes L?thberg PGP Key ID: 0x50FB9B273A9D0BB5 PGP Key FP: 5134 EF9E AF65 F95B 6BB1 608E 50FB 9B27 3A9D 0BB5 https://theos.kyriasis.com/~kyrias/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 1727 bytes Desc: signature URL: From johannes at kyriasis.com Wed Nov 22 23:01:16 2017 From: johannes at kyriasis.com (=?UTF-8?q?Johannes=20L=C3=B6thberg?=) Date: Thu, 23 Nov 2017 00:01:16 +0100 Subject: [pacman-contrib] [PATCH] README.md: Fix localestatedir typo Message-ID: <20171122230116.1715-1-johannes@kyriasis.com> Signed-off-by: Johannes L?thberg --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df4f3d6..ce9bd7f 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ How to build: ./autogen.sh ./configure --prefix=/usr \ --sysconfdir=/etc \ - --localestatedir=/var + --localstatedir=/var make make check make install DESTDIR="$pkgdir" -- 2.15.0 From isaacgood at gmail.com Wed Nov 22 23:06:36 2017 From: isaacgood at gmail.com (Isaac Good) Date: Wed, 22 Nov 2017 15:06:36 -0800 Subject: [pacman-contrib] [PATCH] Add a paccache systemd service and timer files Message-ID: <20171122230636.GA513@nuc.isaacgood.com> src/Makefile.am | 7 +++++++ src/paccache.service | 6 ++++++ src/paccache.timer | 10 ++++++++++ 3 files changed, 23 insertions(+) create mode 100644 src/paccache.service create mode 100644 src/paccache.timer diff --git a/src/Makefile.am b/src/Makefile.am index 3453b90..4151c7d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -22,6 +22,11 @@ vim_ftdetect__DATA = \ vim_syntax__DATA = \ vim/syntax/PKGBUILD.vim +systemd_dir = ${libdir}/systemd/system + +systemd__DATA = \ + paccache.service paccache.timer + BASHSCRIPTS = \ checkupdates \ paccache \ @@ -41,7 +46,9 @@ OURSCRIPTS = \ EXTRA_DIST = \ checkupdates.sh.in \ + paccache.service \ paccache.sh.in \ + paccache.timer \ pacdiff.sh.in \ paclist.sh.in \ paclog-pkglist.sh.in \ diff --git a/src/paccache.service b/src/paccache.service new file mode 100644 index 0000000..bd86faf --- /dev/null +++ b/src/paccache.service @@ -0,0 +1,6 @@ +[Unit] +Description=Discard unused packages + +[Service] +Type=oneshot +ExecStart=/usr/bin/paccache -r diff --git a/src/paccache.timer b/src/paccache.timer new file mode 100644 index 0000000..cd46bcb --- /dev/null +++ b/src/paccache.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Discard unused packages weekly + +[Timer] +OnCalendar=weekly +AccuracySec=1h +Persistent=true + +[Install] +WantedBy=timers.target -- 2.15.0 From demize at archlinux.org Wed Nov 22 23:35:36 2017 From: demize at archlinux.org (Johannes Löthberg) Date: Wed, 22 Nov 2017 23:35:36 +0000 Subject: [pacman-contrib] [GIT] branch master updated (866ab08 -> d0750b3) Message-ID: <151139373672.19056.11636668168606284709@luna.archlinux.org> This is an automated email from the git hooks/post-receive script. demize pushed a change to branch master in repository pacman-contrib. from 866ab08 Add `make check` to README.md new 79de32d README.md: Fix localestatedir typo new 769a3db Add a paccache systemd service and timer files new d0750b3 paccache.service: Use actual bindir rather than hardcode /usr/bin The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Graph of new commits: * d0750b3 (HEAD -> master) paccache.service: Use actual bindir rather than hardcode /usr/bin * 769a3db Add a paccache systemd service and timer files * 79de32d README.md: Fix localestatedir typo Detailed log of new commits: commit d0750b317e4470822ff6824819fe1ab22f9154af Author: Johannes L?thberg Date: Thu Nov 23 00:17:02 2017 +0100 paccache.service: Use actual bindir rather than hardcode /usr/bin Signed-off-by: Johannes L?thberg commit 769a3db60a9ac06857d6a87baa2e0296f4d9257b Author: Isaac Good Date: Wed Nov 22 15:06:36 2017 -0800 Add a paccache systemd service and timer files src/Makefile.am | 7 +++++++ src/paccache.service | 6 ++++++ src/paccache.timer | 10 ++++++++++ 3 files changed, 23 insertions(+) create mode 100644 src/paccache.service create mode 100644 src/paccache.timer Message-Id: <20171122230636.GA513 at nuc.isaacgood.com> Signed-off-by: Johannes L?thberg commit 79de32d14f86b8d1a4d7602771ed6b461239f53e Author: Johannes L?thberg Date: Thu Nov 23 00:00:00 2017 +0100 README.md: Fix localestatedir typo Signed-off-by: Johannes L?thberg Summary of changes: README.md | 2 +- src/Makefile.am | 13 ++++++++++++- src/paccache.service.in | 6 ++++++ src/paccache.timer | 10 ++++++++++ 4 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 src/paccache.service.in create mode 100644 src/paccache.timer -- To stop receiving notification emails like this one, please contact the administrator of this repository. From johannes at kyriasis.com Wed Nov 22 23:35:26 2017 From: johannes at kyriasis.com (=?UTF-8?q?Johannes=20L=C3=B6thberg?=) Date: Thu, 23 Nov 2017 00:35:26 +0100 Subject: [pacman-contrib] [PATCH] paccache.service: Use actual bindir rather than hardcode /usr/bin Message-ID: <20171122233526.15715-1-johannes@kyriasis.com> Signed-off-by: Johannes L?thberg --- src/Makefile.am | 8 ++++++-- src/{paccache.service => paccache.service.in} | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) rename src/{paccache.service => paccache.service.in} (68%) diff --git a/src/Makefile.am b/src/Makefile.am index 4151c7d..c992f68 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -44,9 +44,12 @@ OURSCRIPTS = \ $(BASHSCRIPTS) \ $(PERLSCRIPTS) +OURFILES = \ + paccache.service + EXTRA_DIST = \ checkupdates.sh.in \ - paccache.service \ + paccache.service.in \ paccache.sh.in \ paccache.timer \ pacdiff.sh.in \ @@ -84,6 +87,7 @@ AM_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' \ @@ -110,7 +114,7 @@ $(OURFILES): Makefile $(AM_V_at)chmod a-w $@.tmp $(AM_V_at)mv $@.tmp $@ -all-am: $(OURSCRIPTS) +all-am: $(OURSCRIPTS) $(OURFILES) checkupdates: $(srcdir)/checkupdates.sh.in $(top_srcdir)/lib/output_format.sh $(top_srcdir)/lib/term_colors.sh paccache: $(srcdir)/paccache.sh.in $(top_srcdir)/lib/output_format.sh $(top_srcdir)/lib/parseopts.sh $(top_srcdir)/lib/size_to_human.sh $(top_srcdir)/lib/term_colors.sh diff --git a/src/paccache.service b/src/paccache.service.in similarity index 68% rename from src/paccache.service rename to src/paccache.service.in index bd86faf..919bf74 100644 --- a/src/paccache.service +++ b/src/paccache.service.in @@ -3,4 +3,4 @@ Description=Discard unused packages [Service] Type=oneshot -ExecStart=/usr/bin/paccache -r +ExecStart=@bindir@/paccache -r -- 2.15.0 From johannes at kyriasis.com Wed Nov 29 15:38:22 2017 From: johannes at kyriasis.com (=?UTF-8?q?Johannes=20L=C3=B6thberg?=) Date: Wed, 29 Nov 2017 16:38:22 +0100 Subject: [pacman-contrib] [PATCH] rankmirrors: Fixe --verbose help output typo Message-ID: <20171129153822.10234-1-johannes@kyriasis.com> Fixes FS#56504. Reported-by: Pekka J?rvinen Signed-off-by: Johannes L?thberg --- src/rankmirrors.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rankmirrors.sh.in b/src/rankmirrors.sh.in index a05b8e0..7f518c0 100644 --- a/src/rankmirrors.sh.in +++ b/src/rankmirrors.sh.in @@ -39,7 +39,7 @@ usage() { echo " -n NUM number of servers to output, 0 for all" echo " -t, --times only output mirrors and their response times" echo " -u, --url test a specific URL" - echo " -v, --verbose be verbose in ouptut" + echo " -v, --verbose be verbose in output" echo " -r, --repo specify a repository name instead of guessing" exit 0 } -- 2.15.0 From demize at archlinux.org Wed Nov 29 16:23:02 2017 From: demize at archlinux.org (Johannes Löthberg) Date: Wed, 29 Nov 2017 16:23:02 +0000 Subject: [pacman-contrib] [GIT] branch master updated (d0750b3 -> 14c679a) Message-ID: <151197258251.2638.15531576650264368843@luna.archlinux.org> This is an automated email from the git hooks/post-receive script. demize pushed a change to branch master in repository pacman-contrib. from d0750b3 paccache.service: Use actual bindir rather than hardcode /usr/bin new 14c679a rankmirrors: Fixe --verbose help output typo The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Graph of new commits: * 14c679a (HEAD -> master) rankmirrors: Fixe --verbose help output typo Detailed log of new commits: commit 14c679aa037ce228bf27b79cb184a200d26cc8c9 Author: Johannes L?thberg Date: Wed Nov 29 16:37:34 2017 +0100 rankmirrors: Fixe --verbose help output typo Fixes FS#56504. Reported-by: Pekka J?rvinen Signed-off-by: Johannes L?thberg Summary of changes: src/rankmirrors.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact the administrator of this repository.