From 0c99eabd50752310f42ec808c8734a338122ec86 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sun, 9 Oct 2016 22:52:27 +1000 Subject: Remove contrib The contrib directory takes too much of the pacman developer's limited time, which could be better spent developing and reviewing patches for the primary projects. The community can pick this up in a separate repository if wanted. Signed-off-by: Allan McRae --- contrib/doc/.gitignore | 2 - contrib/doc/Makefile.am | 60 ----------------------------- contrib/doc/asciidoc.conf | 1 - contrib/doc/bacman.8.txt | 67 --------------------------------- contrib/doc/footer.txt | 1 - contrib/doc/verify-pacman-repo-db.1.txt | 60 ----------------------------- 6 files changed, 191 deletions(-) delete mode 100644 contrib/doc/.gitignore delete mode 100644 contrib/doc/Makefile.am delete mode 120000 contrib/doc/asciidoc.conf delete mode 100644 contrib/doc/bacman.8.txt delete mode 120000 contrib/doc/footer.txt delete mode 100644 contrib/doc/verify-pacman-repo-db.1.txt (limited to 'contrib/doc') diff --git a/contrib/doc/.gitignore b/contrib/doc/.gitignore deleted file mode 100644 index 3ab20353..00000000 --- a/contrib/doc/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -verify-pacman-repo-db.1 -bacman.8 diff --git a/contrib/doc/Makefile.am b/contrib/doc/Makefile.am deleted file mode 100644 index d5725b1e..00000000 --- a/contrib/doc/Makefile.am +++ /dev/null @@ -1,60 +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 = \ - verify-pacman-repo-db.1 \ - bacman.8 - -EXTRA_DIST = \ - asciidoc.conf \ - footer.txt \ - verify-pacman-repo-db.1.txt \ - bacman.8.txt \ - $(ASCIIDOC_MANS) - -# Files that should be removed, but which Automake does not know. -MOSTLYCLEANFILES = *.xml $(ASCIIDOC_MANS) - -# 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 --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) - -pkgdatadir = ${datadir}/${PACKAGE} - -ASCIIDOC_OPTS = \ - -f $(srcdir)/asciidoc.conf \ - -a pacman_version="$(REAL_PACKAGE_VERSION)" \ - -a pacman_date="`date +%Y-%m-%d`" \ - -a pkgdatadir=$(pkgdatadir) \ - -a localstatedir=$(localstatedir) \ - -a sysconfdir=$(sysconfdir) \ - -a datarootdir=$(datarootdir) - -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=./$@" $(srcdir)/$@.txt - -# Dependency rules -verify-pacman-repo-db.1: verify-pacman-repo-db.1.txt -bacman.8: bacman.8.txt - -# vim:set noet: diff --git a/contrib/doc/asciidoc.conf b/contrib/doc/asciidoc.conf deleted file mode 120000 index ff9653d3..00000000 --- a/contrib/doc/asciidoc.conf +++ /dev/null @@ -1 +0,0 @@ -../../doc/asciidoc.conf \ No newline at end of file diff --git a/contrib/doc/bacman.8.txt b/contrib/doc/bacman.8.txt deleted file mode 100644 index dc5af481..00000000 --- a/contrib/doc/bacman.8.txt +++ /dev/null @@ -1,67 +0,0 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// -bacman(8) -========== - -Name ----- -bacman - recreate installed packages - - -Synopsis --------- -'bacman' [options] - - -Description ------------ -'bacman' was designed to reassemble installed packages using pacman's database -and system files. -It is useful for regenerating an installed package that you are unable to -download that is also not available in your package cache. - -'bacman' honors packaging settings from linkman:makepkg.conf[8]. - - -Options -------- -*-h, \--help*:: - Display usage information. - -*-q, \--quiet*:: - Silence most of the status reporting. - -*-m, \--nocolor*:: - Disable colored output. - -*-o, \--out *:: - Write the assembled package(s) to the specified directory. - -*\--pacnew*:: - Package `.pacnew` files if available instead of the (possibly modified) - versions in place on the filesystem. - - -Examples --------- - -The following are example usages of the 'bacman' utility: - -$ bacman linux-headers:: - Recreate the package ``linux-headers''. - -$ bacman gzip make binutils -o ~/packages:: - Assemble the packages ``gzip'', ``make'', and ``binutils'' and place - the packages in the ``~/packages'' directory. - -$ bacman --nocolor --pacnew -o ~/backup $(pacman -Qq):: - Assemble all currently installed packages using ``.pacnew'' whenever - available, suppress colored output and place the desired packages in - the ``~/backup''. directory - -See Also --------- -linkman:makepkg[8], linkman:pacman[8] - -include::footer.txt[] diff --git a/contrib/doc/footer.txt b/contrib/doc/footer.txt deleted file mode 120000 index 9dd4bae1..00000000 --- a/contrib/doc/footer.txt +++ /dev/null @@ -1 +0,0 @@ -../../doc/footer.txt \ No newline at end of file diff --git a/contrib/doc/verify-pacman-repo-db.1.txt b/contrib/doc/verify-pacman-repo-db.1.txt deleted file mode 100644 index 62564b8f..00000000 --- a/contrib/doc/verify-pacman-repo-db.1.txt +++ /dev/null @@ -1,60 +0,0 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// -verify-pacman-repo-db(1) -======================== - -Name ----- -verify-pacman-repo-db - package repository verification utility - - -Synopsis --------- -'verify-pacman-repo-db' [options] - - -Description ------------ -'verify-pacman-repo-db' looks at a pacman repo database and verifies its -content with the actual package files. The database is expected to be in -the same directory as the packages (or symlinks to the packages). - -The following properties are verified for each package in the database: - - - existence of the package file - - file size - - MD5 and SHA256 checksum (--checksum) - -Options -------- -*-h, \--help*:: - Output a short help message. - -*\--debug*:: - Enable debug output. - -*-c, \--checksum*:: - Verify checksums of packages. Note that this means all packages files will - be read from disk. Otherwise only metadata is compared which does not - require to read package file contents. - -*-t, \--threads* :: - Use 'number' threads to verify packages. Note that each thread may use up - to approximately 128MiB of memory. Default: 1 - -Notes ------ - -This script does intentionally not use any ALPM libraries. The format is simple -enough to be parsed and this way we might just detect more problems because the -libalpm parsing code might also have bugs. We also stay much more portable -which might be good for people that want to check a db, but don't actually have -pacman installed. - - -See Also --------- -linkman:repo-add[8] - -include::footer.txt[] -- cgit v1.2.3-24-g4f1b