├── .gitignore ├── acl ├── 11-636512-fix-ftbfs4hurd.patch └── PKGBUILD ├── archhurd-install-scripts └── PKGBUILD ├── archhurd-keyring ├── Don-t-install-non-existing-revoked-keys.patch ├── PKGBUILD └── archhurd-keyring.install ├── asciidoc └── PKGBUILD ├── asp ├── PKGBUILD └── no-man.patch ├── atool ├── PKGBUILD └── atool.changelog ├── attr └── PKGBUILD ├── autoconf ├── PKGBUILD ├── autoconf-2.69-libtool-compatibility.patch └── autoconf-2.69-perl-5.22-autoscan.patch ├── automake ├── PKGBUILD └── automake-1.15-dejagnu-testcase.patch ├── bash ├── PKGBUILD ├── dot.bash_logout ├── dot.bash_profile ├── dot.bashrc ├── system.bash_logout └── system.bashrc ├── bc └── PKGBUILD ├── binutils ├── 0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch └── PKGBUILD ├── bison ├── PKGBUILD └── bison-test-gcc7.patch ├── boost ├── PKGBUILD └── boost-serialization-1.64.0-fixes.patch ├── bzip2 ├── PKGBUILD ├── bzip2-1.0.4-bzip2recover.patch └── fix-heap-use-after-free-bzip2recover.patch ├── ca-certificates-cacert ├── LICENSE └── PKGBUILD ├── ca-certificates ├── PKGBUILD ├── update-ca-trust ├── update-ca-trust.8.txt └── update-ca-trust.hook ├── coreutils └── PKGBUILD ├── ctags ├── CVE-2014-7204.patch └── PKGBUILD ├── curl └── PKGBUILD ├── cython └── PKGBUILD ├── db └── PKGBUILD ├── dde ├── PKGBUILD └── libfshelp_uint32_t.patch ├── dejagnu └── PKGBUILD ├── diffutils └── PKGBUILD ├── docbook-xml ├── LICENSE ├── PKGBUILD └── docbook-xml.install ├── docbook-xsl ├── 765567_non-recursive_string_subst.patch ├── PKGBUILD └── docbook-xsl.install ├── dosfstools └── PKGBUILD ├── e2fsprogs ├── MIT-LICENSE └── PKGBUILD ├── ed └── PKGBUILD ├── expat └── PKGBUILD ├── expect └── PKGBUILD ├── file └── PKGBUILD ├── filesystem ├── PKGBUILD ├── archlinux.7.txt ├── crypttab ├── filesystem.install ├── fstab ├── group ├── gshadow ├── host.conf ├── hosts ├── issue ├── ld.so.conf ├── locale.sh ├── motd ├── nsswitch.conf ├── os-release ├── passwd ├── profile ├── resolv.conf ├── securetty ├── shadow └── shells ├── findutils └── PKGBUILD ├── flex ├── PKGBUILD └── flex-2.6.0-comment-style.patch ├── gawk └── PKGBUILD ├── gc └── PKGBUILD ├── gcc └── PKGBUILD ├── gdb ├── 0001-Hurd-Adjust-to-Per-inferior-Inferior-qualified-threa.patch ├── 0004-Hurd-C-Avoid-GNU-C-nested-functions.patch ├── 0005-Hurd-C-Avoid-const-char-to-char-casts.patch ├── 0006-Hurd-C-kern_return_t-vs.-error_t.patch ├── 0007-Hurd-C-Mach-Hurd-headers-and-MIG-stubs-are-not-yet-f.patch ├── 0008-Hurd-In-the-CLI-use-parse_thread_id-instead-of-globa.patch ├── 0021-Avoid-PATH_MAX-usage.patch ├── 0022-Hurd-Adjust-to-changes-to-push-pruning-old-threads-d.patch ├── PKGBUILD ├── explicit-cast-void.patch ├── hurd-backport-for-7.12-branch.patch └── hurd_update_rpc_prototypes.patch ├── gdbm └── PKGBUILD ├── gettext └── PKGBUILD ├── git ├── PKGBUILD ├── git-daemon.socket ├── git-daemon@.service └── git.install ├── glib2 ├── 0001-docs-Fix-building-with-meson.patch ├── 0001-meson-Fix-GDB-scripts-install_dir-for-nix.patch ├── 0001-meson-Fix-libmount-support.patch ├── 0001-meson-Fix-permissions-of-installed-scripts.patch ├── PKGBUILD ├── gio-querymodules.hook ├── glib-compile-schemas.hook ├── libs.diff └── noisy-glib-compile-schemas.diff ├── glibc ├── Avoid-.symver-on-common-symbols-BZ-21666.patch ├── PKGBUILD ├── glibc.install ├── glibc_compatibility_symbols.patch ├── libpthread_build.diff ├── local-clock_gettime_MONOTONIC.diff ├── local-enable-ldconfig.diff ├── locale-gen ├── locale.gen.txt └── tg-mach-hurd-link.diff ├── gmp └── PKGBUILD ├── gnumach-headers └── PKGBUILD ├── gnumach ├── 70_dde.patch └── PKGBUILD ├── gnupg ├── PKGBUILD └── install ├── gnutls ├── .unmodified └── PKGBUILD ├── gpgme └── PKGBUILD ├── grep └── PKGBUILD ├── groff └── PKGBUILD ├── grub ├── 0001-10_hurd-use-ext2fs-for-ext2-ext3.patch ├── 0002-intel-ucode.patch ├── 0003-10_linux-detect-archlinux-initramfs.patch ├── 0004-add-GRUB_COLOR_variables.patch ├── 0005-Allow_GRUB_to_mount_ext234_filesystems_that_have_the_encryption_feature.patch ├── 0006-tsc-Change-default-tsc-calibration-method-to-pmtimer-on-EFI-systems.patch ├── PKGBUILD ├── grub.cfg ├── grub.default └── grub.install ├── gtk-doc └── PKGBUILD ├── guile └── PKGBUILD ├── guile2.0 └── PKGBUILD ├── gyp └── PKGBUILD ├── gzip └── PKGBUILD ├── help2man └── PKGBUILD ├── hurd-headers └── PKGBUILD ├── hurd ├── PKGBUILD └── ttys ├── iana-etc └── PKGBUILD ├── icu ├── PKGBUILD ├── fix-hurd-triplet.patch └── hurd-fix.diff ├── inetutils ├── PKGBUILD └── inetutils.install ├── jq ├── PKGBUILD └── cve-2015-8863.patch ├── keyutils ├── PKGBUILD └── request-key.conf.patch ├── krb5 ├── PKGBUILD └── krb5-config_LDFLAGS.patch ├── ldns ├── PKGBUILD └── pc.patch ├── less └── PKGBUILD ├── libarchive └── PKGBUILD ├── libassuan ├── .unmodified └── PKGBUILD ├── libatomic_ops └── PKGBUILD ├── libbsd └── PKGBUILD ├── libdatrie └── PKGBUILD ├── libedit └── PKGBUILD ├── libffi ├── 0001-Fix-paths-in-libffi.pc.in.patch └── PKGBUILD ├── libgcrypt └── PKGBUILD ├── libgpg-error └── PKGBUILD ├── libidn ├── PKGBUILD └── gcc7_buildfix.diff ├── libidn2 └── PKGBUILD ├── libisoburn └── PKGBUILD ├── libksba └── PKGBUILD ├── libmpc └── PKGBUILD ├── libnghttp2 ├── .unmodified └── PKGBUILD ├── libpcap ├── PKGBUILD ├── disable-remote.diff ├── hurd.diff └── makefile.in.patch ├── libpciaccess └── PKGBUILD ├── libpipeline └── PKGBUILD ├── libpsl └── PKGBUILD ├── libssh2 └── PKGBUILD ├── libtasn1 └── PKGBUILD ├── libthai └── PKGBUILD ├── libtool └── PKGBUILD ├── libunistring └── PKGBUILD ├── libxml2 ├── PKGBUILD └── libxml2-2.9.4-remove-pyverify_fd.patch ├── libxslt └── PKGBUILD ├── lostfiles └── PKGBUILD ├── lynx ├── PKGBUILD ├── lynx-2.8.8-openssl.patch └── ncurses.patch ├── lz4 └── PKGBUILD ├── lzip └── PKGBUILD ├── lzo └── PKGBUILD ├── m4 ├── PKGBUILD ├── m4-1.4.16-readlink-einval.patch └── m4-1.4.17-perl-make-check.patch ├── make ├── PKGBUILD └── guile-2.2.patch ├── man-db ├── PKGBUILD └── man-db.install ├── meson ├── .unmodified ├── PKGBUILD └── test.diff ├── mig └── PKGBUILD ├── mpdecimal └── PKGBUILD ├── mpfr └── PKGBUILD ├── ncurses └── PKGBUILD ├── netdde └── PKGBUILD ├── nettle ├── .unmodified └── PKGBUILD ├── ninja └── PKGBUILD ├── npth └── PKGBUILD ├── nspr ├── PKGBUILD └── fix-build-hurd.patch ├── nss ├── 38-debian-hurd-MAXPATHLEN.patch ├── PKGBUILD ├── disable-parallel.patch ├── enable-libpkix.patch └── no-plt.diff ├── oniguruma └── PKGBUILD ├── openldap ├── PKGBUILD └── openldap-ntlm.patch ├── openrc ├── PKGBUILD ├── hurd.patch └── me_wants_this.patch ├── openssh ├── PKGBUILD └── openssl-1.1.0.patch ├── openssl ├── PKGBUILD └── ca-dir.patch ├── p11-kit ├── PKGBUILD └── libnssckbi-compat.patch ├── pacman-contrib └── PKGBUILD ├── pacman-mirrorlist ├── PKGBUILD └── mirrorlist ├── pacman ├── 0001-Hurd-define-PATH_MAX.patch ├── 0001-makepkg-Clear-ERR-trap-before-trying-to-restore-it.patch ├── 0002-Hurd-define-PIPE_BUF.patch ├── 0002-makepkg-Don-t-use-parameterless-return.patch ├── 0003-Hurd-use-FAKED_MODE-instead-of-FAKEROOTKEY-for-faker.patch ├── 0004-Hurd-use-V-for-fakeroot-version-output.patch ├── PKGBUILD ├── makepkg.conf └── pacman.conf ├── parted ├── PKGBUILD └── parted-735669-fat16-crash-v1.patch ├── patch ├── PKGBUILD └── path_max.patch ├── pcre └── PKGBUILD ├── pcre2 └── PKGBUILD ├── perl-archive-zip └── PKGBUILD ├── perl-inc-latest └── PKGBUILD ├── perl-locale-gettext └── PKGBUILD ├── perl-mime-charset └── PKGBUILD ├── perl-module-build └── PKGBUILD ├── perl-par-dist └── PKGBUILD ├── perl-sgmls └── PKGBUILD ├── perl-term-readkey └── PKGBUILD ├── perl-test-mockmodule └── PKGBUILD ├── perl-text-charwidth └── PKGBUILD ├── perl-text-wrapi18n └── PKGBUILD ├── perl-unicode-linebreak └── PKGBUILD ├── perl ├── .unmodified ├── CVE-2016-2381_duplicate_env.diff ├── PKGBUILD ├── detect-old-perl-modules.hook ├── detect-old-perl-modules.sh ├── generate-rebuild-list.sh ├── patchprov ├── perl-binary-module-dependency-1.template ├── perlbin.csh ├── perlbin.fish ├── perlbin.sh └── upgpkg ├── pinentry └── PKGBUILD ├── pkg-config └── PKGBUILD ├── po4a └── PKGBUILD ├── procps-ng ├── PKGBUILD ├── install └── watch_hostname_max_define.diff ├── publicsuffix-list └── PKGBUILD ├── python-appdirs └── PKGBUILD ├── python-nose └── PKGBUILD ├── python-numpy └── PKGBUILD ├── python-packaging └── PKGBUILD ├── python-pip └── PKGBUILD ├── python-pyparsing └── PKGBUILD ├── python-setuptools └── PKGBUILD ├── python-six └── PKGBUILD ├── python ├── PKGBUILD └── dont-make-libpython-readonly.patch ├── python2 ├── PKGBUILD ├── descr_ref.patch ├── disable-tests.patch └── fix-profile-task.patch ├── re2c ├── PKGBUILD └── autogen.patch ├── readline ├── PKGBUILD └── inputrc ├── sed └── PKGBUILD ├── shadow ├── LICENSE ├── PKGBUILD ├── chgpasswd ├── chpasswd ├── defaults.pam ├── login.defs ├── newusers ├── passwd ├── shadow-strncpy-usage.patch ├── shadow.install ├── shadow.service ├── shadow.timer ├── useradd.defaults └── xstrdup.patch ├── source-highlight └── PKGBUILD ├── sqlite └── PKGBUILD ├── sudo └── PKGBUILD ├── tar ├── 01-When-extracting-skip-.-members.patch └── PKGBUILD ├── tcl └── PKGBUILD ├── texinfo ├── PKGBUILD ├── texinfo-install.hook └── texinfo-remove.hook ├── tzdata └── PKGBUILD ├── util-linux └── PKGBUILD ├── vi ├── PKGBUILD ├── fix-tubesize-short-overflow.patch ├── navkeys.patch ├── preserve-dir.patch └── vi-hurd.patch ├── vim ├── PKGBUILD ├── vimdoc.hook └── vimrc ├── which └── PKGBUILD ├── xmlto └── PKGBUILD ├── xz └── PKGBUILD ├── zip ├── PKGBUILD └── zipnote.patch └── zlib └── PKGBUILD /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything 2 | /*/** 3 | 4 | # Exclude these files from ignoring 5 | !/*/PKGBUILD 6 | !/*/.SRCINFO 7 | !/*/*.patch 8 | !/*/*.diff 9 | !/*/*.install 10 | !/*/*.hook 11 | !/*/*.desktop 12 | 13 | !.unmodified 14 | -------------------------------------------------------------------------------- /acl/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Thomas Bächler 3 | 4 | pkgname=acl 5 | pkgver=2.2.52 6 | pkgrel=4 7 | pkgdesc="Access control list utilities, libraries and headers" 8 | arch=('i686' 'x86_64') 9 | url="http://savannah.nongnu.org/projects/acl" 10 | license=('LGPL') 11 | depends=('attr>=2.4.46') 12 | replaces=('xfsacl') 13 | provides=('xfsacl') 14 | conflicts=('xfsacl') 15 | source=(https://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.src.tar.gz{,.sig} 16 | 11-636512-fix-ftbfs4hurd.patch) # patch from Debian 17 | validpgpkeys=('600CD204FBCEA418BD2CA74F154343260542DF34') # Brandon Philips 18 | sha256sums=('179074bb0580c06c4b4137be4c5a92a701583277967acdb5546043c7874e0d23' 19 | 'SKIP' 20 | '1407cab6aef4b8e10f37f446443ebee3ceac93566dbd003eb46b2bc11dd6810f') 21 | 22 | prepare() { 23 | cd $pkgname-$pkgver 24 | patch -Np1 -i "$srcdir"/11-636512-fix-ftbfs4hurd.patch 25 | } 26 | 27 | build() { 28 | cd $pkgname-$pkgver 29 | 30 | export INSTALL_USER=root INSTALL_GROUP=root 31 | ./configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib 32 | make 33 | } 34 | 35 | package() { 36 | cd $pkgname-$pkgver 37 | make DIST_ROOT="$pkgdir" install install-lib install-dev 38 | } 39 | -------------------------------------------------------------------------------- /archhurd-install-scripts/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Dave Reisner 3 | 4 | pkgname=archhurd-install-scripts 5 | pkgver=18 6 | pkgrel=1 7 | pkgdesc="Scripts to aid in installing Arch Hurd" 8 | arch=('any') 9 | url="https://projects.archlinux.org/arch-install-scripts.git" 10 | license=('GPL') 11 | depends=('bash' 'coreutils' 'pacman' 'util-linux') 12 | source=(git+https://github.com/z3ntu/archhurd-install-scripts.git#commit=1bd60c41473bbf9c6e986cec0f7db8c75ce97d33) 13 | md5sums=('SKIP') 14 | 15 | build() { 16 | make -C "$pkgname" 17 | } 18 | 19 | check() { 20 | make -C "$pkgname" check 21 | } 22 | 23 | package() { 24 | make -C "$pkgname" PREFIX=/usr DESTDIR="$pkgdir" install 25 | } 26 | 27 | # vim:set ts=2 sw=2 et: 28 | -------------------------------------------------------------------------------- /archhurd-keyring/Don-t-install-non-existing-revoked-keys.patch: -------------------------------------------------------------------------------- 1 | From e1986a22428d07bfd18ce27fc82193263b9f4836 Mon Sep 17 00:00:00 2001 2 | From: Luca Weiss 3 | Date: Sun, 26 Nov 2017 01:37:41 +0100 4 | Subject: [PATCH] Don't install non-existing revoked keys 5 | 6 | --- 7 | Makefile | 4 ++-- 8 | 1 file changed, 2 insertions(+), 2 deletions(-) 9 | 10 | diff --git a/Makefile b/Makefile 11 | index 4555270..83ad85b 100644 12 | --- a/Makefile 13 | +++ b/Makefile 14 | @@ -4,10 +4,10 @@ PREFIX = /usr/local 15 | 16 | install: 17 | install -dm755 $(DESTDIR)$(PREFIX)/share/pacman/keyrings/ 18 | - install -m0644 archhurd{.gpg,-trusted,-revoked} $(DESTDIR)$(PREFIX)/share/pacman/keyrings/ 19 | + install -m0644 archhurd{.gpg,-trusted} $(DESTDIR)$(PREFIX)/share/pacman/keyrings/ 20 | 21 | uninstall: 22 | - rm -f $(DESTDIR)$(PREFIX)/share/pacman/keyrings/archhurd{.gpg,-trusted,-revoked} 23 | + rm -f $(DESTDIR)$(PREFIX)/share/pacman/keyrings/archhurd{.gpg,-trusted} 24 | rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/pacman/keyrings/ 25 | 26 | dist: 27 | -------------------------------------------------------------------------------- /archhurd-keyring/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Pierre Schmitz 3 | 4 | pkgname=archhurd-keyring 5 | pkgver=20171126 6 | pkgrel=1 7 | pkgdesc='Arch Hurd PGP keyring' 8 | arch=('any') 9 | url='https://projects.archlinux.org/archlinux-keyring.git/' 10 | license=('GPL') 11 | install="${pkgname}.install" 12 | source=("https://github.com/z3ntu/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz" 13 | "https://github.com/z3ntu/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz.sig" 14 | Don-t-install-non-existing-revoked-keys.patch) 15 | sha256sums=('a583154530e90831c5aace256fb8f38573ce629f58656af35450ff3d654fbafc' 16 | 'SKIP' 17 | '4c29202c84c364d74aaa089ee197aa13990286f9f9116cd1f3c725ace7a91222') 18 | validpgpkeys=('BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD') # Luca Weiss 19 | 20 | prepare() { 21 | cd "${srcdir}/${pkgname}-${pkgver}" 22 | patch -Np1 -i "$srcdir"/Don-t-install-non-existing-revoked-keys.patch 23 | } 24 | 25 | package() { 26 | cd "${srcdir}/${pkgname}-${pkgver}" 27 | make PREFIX=/usr DESTDIR=${pkgdir} install 28 | } 29 | -------------------------------------------------------------------------------- /archhurd-keyring/archhurd-keyring.install: -------------------------------------------------------------------------------- 1 | post_upgrade() { 2 | if usr/bin/pacman-key -l >/dev/null 2>&1; then 3 | usr/bin/pacman-key --populate archhurd 4 | fi 5 | } 6 | 7 | post_install() { 8 | if [ -x usr/bin/pacman-key ]; then 9 | post_upgrade 10 | fi 11 | } 12 | -------------------------------------------------------------------------------- /asp/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Dave Reisner 3 | 4 | pkgname=asp 5 | pkgver=2 6 | pkgrel=1 7 | pkgdesc="Arch Linux build source file management tool" 8 | arch=(any) 9 | url="https://github.com/falconindy/asp" 10 | license=(MIT) 11 | depends=(awk bash jq git libarchive) 12 | #makedepends=(asciidoc) 13 | source=($pkgname-$pkgver.tar.gz::https://github.com/falconindy/asp/archive/v$pkgver.tar.gz 14 | no-man.patch) 15 | sha256sums=('e136e4c16850a97a510fb98a169f4a401adad7fc0575af2202e926327265dd4b' 16 | '035c8096e5d5327a01765f1d632d8cc2ab33487e2abd89f84e73803e0b488cd6') 17 | 18 | prepare() { 19 | cd asp-$pkgver 20 | patch -Np1 < "$srcdir"/no-man.patch 21 | } 22 | 23 | build() { 24 | make -C asp-$pkgver 25 | } 26 | 27 | package() { 28 | make -C asp-$pkgver PREFIX=/usr DESTDIR="$pkgdir" install 29 | install -Dm644 asp-$pkgver/LICENSE "$pkgdir/usr/share/licenses/asp/LICENSE" 30 | } 31 | 32 | # vim: ft=sh syn=sh et 33 | -------------------------------------------------------------------------------- /asp/no-man.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2017-11-25 00:37:42.000000000 +0000 2 | +++ b/Makefile 2017-11-25 00:37:47.000000000 +0000 3 | @@ -27,7 +27,7 @@ 4 | remote.inc.sh \ 5 | util.inc.sh 6 | 7 | -all: $(BINPROGS) $(MANPAGES) 8 | +all: $(BINPROGS) 9 | 10 | V_GEN = $(_v_GEN_$(V)) 11 | _v_GEN_ = $(_v_GEN_0) 12 | @@ -54,7 +54,6 @@ 13 | install: all 14 | install -dm755 $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1 15 | install -m755 $(BINPROGS) $(DESTDIR)$(PREFIX)/bin 16 | - install -m644 $(MANPAGES) $(DESTDIR)$(PREFIX)/share/man/man1 17 | install -Dm644 $(BASH_COMPLETION) $(DESTDIR)$(PREFIX)/share/bash-completion/completions/asp 18 | install -Dm644 $(ZSH_COMPLETION) $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_asp 19 | 20 | -------------------------------------------------------------------------------- /atool/atool.changelog: -------------------------------------------------------------------------------- 1 | 2016-12-10 Jaroslav Lichtblau 2 | * atool 0.39.0-5 FS#52094 3 | 4 | 2016-04-16 Jaroslav Lichtblau 5 | * atool 0.39.0-4 FS#48958 6 | 7 | 2014-07-05 Jaroslav Lichtblau 8 | * atool 0.39.0-3 mtree rebuild 9 | 10 | 2012-04-19 Jaroslav Lichtblau 11 | * atool 0.39.0-1 12 | 13 | 2012-02-21 Jaroslav Lichtblau 14 | * atool 0.38.0-2 15 | * signing package 16 | 17 | 2011-08-20 Jaroslav Lichtblau 18 | * Updated to major version 0.38.0 19 | 20 | 2009-08-16 Jaroslav Lichtblau 21 | * Updated to major version 0.37.0 22 | 23 | 2008-10-05 Jaroslav Lichtblau 24 | * Updated to major version 0.36.0 25 | 26 | 2008-10-05 Jaroslav Lichtblau 27 | * Moved to [community] repo 28 | -------------------------------------------------------------------------------- /attr/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Thomas Bächler 3 | 4 | pkgname=attr 5 | pkgver=2.4.47 6 | pkgrel=3 7 | pkgdesc="Extended attribute support library for ACL support" 8 | arch=('i686' 'x86_64') 9 | url="http://savannah.nongnu.org/projects/attr" 10 | license=('LGPL') 11 | depends=('glibc') 12 | makedepends=('gettext') 13 | replaces=('xfsattr') 14 | provides=('xfsattr') 15 | conflicts=('xfsattr') 16 | source=(https://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.src.tar.gz{,.sig}) 17 | sha256sums=('25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859' 18 | 'SKIP') 19 | validpgpkeys=('600CD204FBCEA418BD2CA74F154343260542DF34') # Brandon Philips 20 | 21 | build() { 22 | cd $pkgname-$pkgver 23 | 24 | export INSTALL_USER=root INSTALL_GROUP=root 25 | ./configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib 26 | make 27 | } 28 | 29 | package() { 30 | cd $pkgname-$pkgver 31 | make DIST_ROOT="$pkgdir" install install-lib install-dev 32 | 33 | # tidy up 34 | chmod 0755 "$pkgdir"/usr/lib/libattr.so.*.*.* 35 | rm -rf "$pkgdir"/usr/share/man/man2 36 | } 37 | -------------------------------------------------------------------------------- /autoconf/autoconf-2.69-libtool-compatibility.patch: -------------------------------------------------------------------------------- 1 | From 247b02e5a5bb79ca6666e91de02ae2d3cb0cd325 Mon Sep 17 00:00:00 2001 2 | From: Gary V. Vaughan 3 | Date: Mon, 03 Nov 2014 06:25:03 +0000 4 | Subject: tests: avoid spurious test failure with libtool 2.4.3 5 | 6 | Based on a report by Bruce Dubbs. 7 | 8 | * tests/foreign.at (Libtool): Be tolerant of 'quote' replacing the 9 | older `quote'. 10 | 11 | Signed-off-by: Eric Blake 12 | --- 13 | diff --git a/tests/foreign.at b/tests/foreign.at 14 | index a9dc33c..d4702cd 100644 15 | --- a/tests/foreign.at 16 | +++ b/tests/foreign.at 17 | @@ -57,7 +57,7 @@ AT_CHECK([./config.guess || exit 77], [], [ignore], [ignore]) 18 | # Make sure at-path contains something valid, and let the test suite 19 | # display it when verbose. And fail, skipping would too easily hide 20 | # problems. 21 | -AT_CHECK([sed -n ["s,^.*\`\\(/[^']*\\)'.*,\\1,p"] stdout], [0], [stdout]) 22 | +AT_CHECK([sed -n ["s,^[^']*[\`']\\(/[^']*\\)'.*,\\1,p"] stdout], [0], [stdout]) 23 | AT_CHECK([test -f "`sed -n 1p stdout`"]) 24 | 25 | # Older libtoolize installed everything but install-sh... 26 | -- 27 | cgit v0.9.0.2 28 | -------------------------------------------------------------------------------- /autoconf/autoconf-2.69-perl-5.22-autoscan.patch: -------------------------------------------------------------------------------- 1 | From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001 2 | From: Paul Eggert 3 | Date: Tue, 29 Jan 2013 13:46:48 -0800 4 | Subject: [PATCH] autoscan: port to perl 5.17 5 | 6 | * bin/autoscan.in (scan_sh_file): Escape '{'. This avoids a 7 | feature that is deprecated in Perl 5.17. Reported by Ray Lauff in 8 | . 9 | --- 10 | bin/autoscan.in | 2 +- 11 | 1 file changed, 1 insertion(+), 1 deletion(-) 12 | 13 | diff --git a/bin/autoscan.in b/bin/autoscan.in 14 | index 993a750..db1df79 100644 15 | --- a/bin/autoscan.in 16 | +++ b/bin/autoscan.in 17 | @@ -358,7 +358,7 @@ sub scan_sh_file ($) 18 | { 19 | # Strip out comments and variable references. 20 | s/#.*//; 21 | - s/\${[^\}]*}//g; 22 | + s/\$\{[^\}]*}//g; 23 | s/@[^@]*@//g; 24 | 25 | # Tokens in the code. 26 | -- 27 | 2.1.0 28 | 29 | -------------------------------------------------------------------------------- /automake/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Lukas Fleischer 2 | # Contributor: Allan McRae 3 | # Contributor: judd 4 | 5 | pkgname=automake 6 | pkgver=1.15.1 7 | pkgrel=1 8 | pkgdesc="A GNU tool for automatically creating Makefiles" 9 | arch=('any') 10 | license=('GPL') 11 | url="http://www.gnu.org/software/automake" 12 | groups=('base-devel') 13 | depends=('perl' 'bash') 14 | makedepends=('autoconf') 15 | checkdepends=('dejagnu' 'gcc-fortran' 'java-environment' 'vala' 'emacs' 'cscope') # 'python' 16 | source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig} 17 | automake-1.15-dejagnu-testcase.patch) 18 | md5sums=('24cd3501b6ad8cd4d7e2546f07e8b4d4' 19 | 'SKIP' 20 | 'ffa4dd8eb78cea82c3009d76087598b1') 21 | validpgpkeys=('E1622F96D2BB4E58018EEF9860F906016E407573' # Stefano Lattarini 22 | 'F2A38D7EEB2B66405761070D0ADEE10094604D37') # Mathieu Lirzin 23 | 24 | prepare() { 25 | cd ${srcdir}/${pkgname}-${pkgver} 26 | 27 | # fix testsuite issue with resent dejagnu 28 | patch -p1 -i $srcdir/automake-1.15-dejagnu-testcase.patch 29 | } 30 | 31 | build() { 32 | cd "${srcdir}/${pkgname}-${pkgver}" 33 | ./configure --build=$CHOST --prefix=/usr 34 | make 35 | } 36 | 37 | check() { 38 | cd "${srcdir}/${pkgname}-${pkgver}" 39 | make check 40 | } 41 | 42 | package() { 43 | cd "${srcdir}/${pkgname}-${pkgver}" 44 | make DESTDIR="${pkgdir}" install 45 | } 46 | -------------------------------------------------------------------------------- /bash/dot.bash_logout: -------------------------------------------------------------------------------- 1 | # 2 | # ~/.bash_logout 3 | # 4 | -------------------------------------------------------------------------------- /bash/dot.bash_profile: -------------------------------------------------------------------------------- 1 | # 2 | # ~/.bash_profile 3 | # 4 | 5 | [[ -f ~/.bashrc ]] && . ~/.bashrc 6 | -------------------------------------------------------------------------------- /bash/dot.bashrc: -------------------------------------------------------------------------------- 1 | # 2 | # ~/.bashrc 3 | # 4 | 5 | # If not running interactively, don't do anything 6 | [[ $- != *i* ]] && return 7 | 8 | alias ls='ls --color=auto' 9 | PS1='[\u@\h \W]\$ ' 10 | -------------------------------------------------------------------------------- /bash/system.bash_logout: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/bash.bash_logout 3 | # 4 | -------------------------------------------------------------------------------- /bash/system.bashrc: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/bash.bashrc 3 | # 4 | 5 | # If not running interactively, don't do anything 6 | [[ $- != *i* ]] && return 7 | 8 | [[ $DISPLAY ]] && shopt -s checkwinsize 9 | 10 | PS1='[\u@\h \W]\$ ' 11 | 12 | case ${TERM} in 13 | xterm*|rxvt*|Eterm|aterm|kterm|gnome*) 14 | PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' 15 | 16 | ;; 17 | screen*) 18 | PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' 19 | ;; 20 | esac 21 | 22 | [ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion 23 | -------------------------------------------------------------------------------- /bc/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: dorphell 3 | 4 | pkgname=bc 5 | pkgver=1.07.1 6 | pkgrel=1 7 | pkgdesc="An arbitrary precision calculator language" 8 | arch=('i686' 'x86_64') 9 | url="https://www.gnu.org/software/bc/" 10 | license=('GPL') 11 | depends=('readline') 12 | makedepends=('ed') 13 | replaces=('bc-readline') 14 | conflicts=('bc-readline') 15 | source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig}) 16 | sha256sums=('62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a' 17 | 'SKIP') 18 | validpgpkeys=('00E426232F384BF6D32D8B1881C24FF12FB7B14B') # Phil Nelson 19 | 20 | build() { 21 | cd "${pkgname}-${pkgver}" 22 | ./configure --prefix=/usr --mandir=/usr/share/man \ 23 | --infodir=/usr/share/info --with-readline 24 | make -j1 25 | } 26 | 27 | check () { 28 | cd "${pkgname}-${pkgver}" 29 | echo "quit" | ./bc/bc -l Test/checklib.b 30 | } 31 | 32 | package() { 33 | cd "${pkgname}-${pkgver}" 34 | make DESTDIR="${pkgdir}" install 35 | } 36 | -------------------------------------------------------------------------------- /binutils/0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch: -------------------------------------------------------------------------------- 1 | From 7a7431ddc2332ddc3753330a8dd815bb5f7193c0 Mon Sep 17 00:00:00 2001 2 | From: "H.J. Lu" 3 | Date: Tue, 26 Sep 2017 14:41:22 -0700 4 | Subject: [PATCH] x86-64: Don't pass output_bfd to info->callbacks->minfo 5 | 6 | Don't pass output_bfd to info->callbacks->minfo when dumping local IFUNC 7 | functions in the map file. 8 | 9 | PR ld/22199 10 | * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Don't pass 11 | output_bfd to info->callbacks->minfo. 12 | 13 | (cherry picked from commit ac69a0d75bf472a140e5405c8a90420d5f63a998) 14 | 15 | diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c 16 | index d9225ad..1f6dfb8 100644 17 | --- a/bfd/elf64-x86-64.c 18 | +++ b/bfd/elf64-x86-64.c 19 | @@ -6133,7 +6133,6 @@ elf_x86_64_finish_dynamic_symbol (bfd *output_bfd, 20 | if (SYMBOL_REFERENCES_LOCAL (info, h)) 21 | { 22 | info->callbacks->minfo (_("Local IFUNC function `%s' in %B\n"), 23 | - output_bfd, 24 | h->root.root.string, 25 | h->root.u.def.section->owner); 26 | 27 | -- 28 | 2.9.3 29 | 30 | -------------------------------------------------------------------------------- /bison/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Allan McRae 3 | # Contributor: Eric Belanger 4 | 5 | pkgname=bison 6 | pkgver=3.0.4 7 | pkgrel=3 8 | pkgdesc="The GNU general-purpose parser generator" 9 | arch=('i686' 'x86_64') 10 | license=('GPL3') 11 | url="http://www.gnu.org/software/bison/bison.html" 12 | depends=('glibc' 'm4' 'sh') 13 | groups=('base-devel') 14 | source=(ftp://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.xz{,.sig} bison-test-gcc7.patch) 15 | md5sums=('c342201de104cc9ce0a21e0ad10d4021' 16 | 'SKIP' 17 | 'bae75fe287a2175a817b891f038fa551') 18 | validpgpkeys=('7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E') # Akim Demaille 19 | 20 | prepare() { 21 | cd $pkgname-$pkgver 22 | # Fix test failures with GCC 7 23 | patch -p1 -i ../bison-test-gcc7.patch 24 | } 25 | 26 | build() { 27 | cd ${srcdir}/${pkgname}-${pkgver} 28 | ./configure --prefix=/usr --datadir=/usr/share 29 | make 30 | } 31 | 32 | check() { 33 | cd ${srcdir}/${pkgname}-${pkgver} 34 | make check 35 | } 36 | 37 | package() { 38 | cd ${srcdir}/${pkgname}-${pkgver} 39 | make DESTDIR=${pkgdir} install 40 | } 41 | -------------------------------------------------------------------------------- /bzip2/bzip2-1.0.4-bzip2recover.patch: -------------------------------------------------------------------------------- 1 | --- bzip2-1.0.4/bzip2recover.c.pom 2007-01-03 03:00:55.000000000 +0100 2 | +++ bzip2-1.0.4/bzip2recover.c 2007-02-05 11:55:17.000000000 +0100 3 | @@ -309,7 +309,8 @@ 4 | UInt32 buffHi, buffLo, blockCRC; 5 | Char* p; 6 | 7 | - strcpy ( progName, argv[0] ); 8 | + strncpy ( progName, argv[0], BZ_MAX_FILENAME-1); 9 | + progName[BZ_MAX_FILENAME-1]='\0'; 10 | inFileName[0] = outFileName[0] = 0; 11 | 12 | fprintf ( stderr, 13 | -------------------------------------------------------------------------------- /bzip2/fix-heap-use-after-free-bzip2recover.patch: -------------------------------------------------------------------------------- 1 | diff -up ./bzip2recover.c.old ./bzip2recover.c 2 | --- ./bzip2recover.c.old 2016-03-22 08:49:38.855620000 +0100 3 | +++ ./bzip2recover.c 2016-03-30 10:22:27.341430099 +0200 4 | @@ -458,6 +458,7 @@ Int32 main ( Int32 argc, Char** argv ) 5 | bsPutUChar ( bsWr, 0x50 ); bsPutUChar ( bsWr, 0x90 ); 6 | bsPutUInt32 ( bsWr, blockCRC ); 7 | bsClose ( bsWr ); 8 | + outFile = NULL; 9 | } 10 | if (wrBlock >= rbCtr) break; 11 | wrBlock++; 12 | -------------------------------------------------------------------------------- /ca-certificates-cacert/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Jan Alexander Steffens (heftig) 3 | 4 | pkgname=ca-certificates-cacert 5 | pkgver=20140824 6 | pkgrel=4 7 | pkgdesc="CAcert.org root certificates" 8 | arch=(any) 9 | url="https://www.cacert.org/index.php?id=3" 10 | license=('custom:RDL') 11 | depends=(ca-certificates-utils) 12 | source=(CAcert.org_root.crt::https://www.cacert.org/certs/root.crt 13 | CAcert.org_class3.crt::https://www.cacert.org/certs/class3.crt 14 | LICENSE) 15 | sha256sums=('c0e0773a79dceb622ef6410577c19c1e177fb2eb9c623a49340de3c9f1de2560' 16 | 'f5badaa5da1cc05b110a9492455a2c2790d00c7175dcf3a7bcb5441af71bf84f' 17 | '2d9007a467e72d437ecfa13cc605c371e98a469f1aac4c890be74f953559833c') 18 | 19 | package() { 20 | local _certdir="$pkgdir/usr/share/ca-certificates/trust-source/anchors" 21 | install -d "$_certdir" 22 | install -t "$_certdir" -m644 *.crt 23 | 24 | install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" 25 | } 26 | -------------------------------------------------------------------------------- /ca-certificates/update-ca-trust.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Operation = Install 3 | Operation = Upgrade 4 | Operation = Remove 5 | Type = File 6 | Target = usr/share/ca-certificates/trust-source/* 7 | 8 | [Action] 9 | Description = Rebuilding certificate stores... 10 | When = PostTransaction 11 | Exec = /usr/bin/update-ca-trust 12 | -------------------------------------------------------------------------------- /ctags/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Giovanni Scafora 3 | # Contributor: John Proctor 4 | 5 | pkgname=ctags 6 | pkgver=5.8 7 | pkgrel=5 8 | pkgdesc="Generates an index file of language objects found in source files" 9 | arch=('x86_64') 10 | license=('GPL') 11 | depends=('glibc') 12 | url="http://ctags.sourceforge.net/" 13 | source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz" 14 | "CVE-2014-7204.patch") 15 | md5sums=('c00f82ecdcc357434731913e5b48630d' 16 | '5fd1a8abb0e1e2d16fd4b8b870e03249') 17 | 18 | prepare() { 19 | cd ${srcdir}/${pkgname}-${pkgver} 20 | 21 | patch -Np1 <../CVE-2014-7204.patch 22 | } 23 | 24 | build() { 25 | cd ${srcdir}/${pkgname}-${pkgver} 26 | 27 | ./configure --prefix=/usr \ 28 | --disable-external-sort 29 | make 30 | } 31 | 32 | package() { 33 | cd ${srcdir}/${pkgname}-${pkgver} 34 | 35 | make prefix=${pkgdir}/usr install 36 | } 37 | -------------------------------------------------------------------------------- /db/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Stéphane Gaudreault 3 | # Contributor: Allan McRae 4 | # Contributor: Andreas Radke 5 | 6 | pkgname=db 7 | pkgver=5.3.28 8 | pkgrel=3 9 | pkgdesc="The Berkeley DB embedded database system" 10 | arch=('i686' 'x86_64') 11 | url="http://www.oracle.com/technology/software/products/berkeley-db/index.html" 12 | license=('custom') 13 | depends=('gcc-libs' 'sh') 14 | source=(http://download.oracle.com/berkeley-db/db-${pkgver}.tar.gz) 15 | sha1sums=('fa3f8a41ad5101f43d08bc0efb6241c9b6fc1ae9') 16 | 17 | build() { 18 | cd "${srcdir}"/$pkgname-${pkgver}/build_unix 19 | ../dist/configure --prefix=/usr --enable-compat185 \ 20 | --enable-shared --enable-static --enable-cxx --enable-dbm \ 21 | --enable-stl 22 | make LIBSO_LIBS=-lpthread 23 | } 24 | 25 | package() { 26 | cd "${srcdir}"/$pkgname-${pkgver}/build_unix 27 | make DESTDIR="${pkgdir}" install 28 | rm -r "${pkgdir}"/usr/docs 29 | install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/LICENSE \ 30 | "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE 31 | } 32 | -------------------------------------------------------------------------------- /dde/libfshelp_uint32_t.patch: -------------------------------------------------------------------------------- 1 | diff --git a/libfshelp/service-fsys-startup.c b/libfshelp/service-fsys-startup.c 2 | index 3bcca84eb..9776f0958 100644 3 | --- a/libfshelp/service-fsys-startup.c 4 | +++ b/libfshelp/service-fsys-startup.c 5 | @@ -24,6 +24,8 @@ 6 | #include 7 | #include 8 | #include "fshelp.h" 9 | +#include // for uint32_t 10 | + 11 | 12 | 13 | /* The data passed in the various messages we're interested in. */ 14 | @@ -98,7 +100,7 @@ fshelp_service_fsys_startup (fshelp_open_fn_t underlying_open_fn, 15 | { 16 | union 17 | { 18 | - unsigned32_t word; 19 | + uint32_t word; 20 | mach_msg_type_t type; 21 | } t, c; 22 | t.type = *type; 23 | -------------------------------------------------------------------------------- /dejagnu/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Allan McRae 3 | 4 | pkgname=dejagnu 5 | pkgver=1.6 6 | pkgrel=2 7 | pkgdesc="Framework for testing other programs" 8 | arch=('any') 9 | url="http://www.gnu.org/software/dejagnu/" 10 | license=('GPL') 11 | depends=('sh' 'expect') 12 | source=(https://ftp.gnu.org/gnu/dejagnu/${pkgname}-${pkgver}.tar.gz{,.sig}) 13 | md5sums=('1fdc2eb0d592c4f89d82d24dfdf02f0b' 14 | 'SKIP') 15 | validpgpkeys=('CB0B31452BBE862933013D9176362888B55988D4') # Ben Elliston 16 | 17 | build() { 18 | cd $srcdir/$pkgname-$pkgver 19 | ./configure --prefix=/usr 20 | make 21 | } 22 | 23 | check() { 24 | cd $srcdir/$pkgname-$pkgver 25 | make check 26 | } 27 | 28 | package() { 29 | cd $srcdir/$pkgname-$pkgver 30 | make DESTDIR=$pkgdir/ install 31 | } 32 | -------------------------------------------------------------------------------- /diffutils/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Mainainer: Sébastien Luttringer 3 | # Contributor: Allan McRae 4 | # Contributor: Andreas Radke 5 | 6 | pkgname=diffutils 7 | pkgver=3.6 8 | pkgrel=1 9 | pkgdesc='Utility programs used for creating patch files' 10 | arch=('i686' 'x86_64') 11 | url='https://www.gnu.org/software/diffutils' 12 | license=('GPL3') 13 | groups=('base') 14 | depends=('glibc' 'bash') 15 | validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000BEEEE') # Jim Meyering 16 | source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}) 17 | md5sums=('07cf286672ced26fba54cd0313bdc071' 18 | 'SKIP') 19 | 20 | build() { 21 | cd $pkgname-$pkgver 22 | ./configure --prefix=/usr 23 | make 24 | } 25 | 26 | check() { 27 | cd $pkgname-$pkgver 28 | make check 29 | } 30 | 31 | package() { 32 | cd $pkgname-$pkgver 33 | make DESTDIR="$pkgdir" install 34 | } 35 | 36 | # vim:set ts=2 sw=2 et: 37 | -------------------------------------------------------------------------------- /docbook-xml/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 1992-2006 HaL Computer Systems, Inc., 2 | O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software 3 | Corporation, Norman Walsh, Sun Microsystems, Inc., and the 4 | Organization for the Advancement of Structured Information 5 | Standards (OASIS). 6 | 7 | See also http://docbook.org/specs/ 8 | 9 | Permission to use, copy, modify and distribute the DocBook XML DTD 10 | and its accompanying documentation for any purpose and without fee 11 | is hereby granted in perpetuity, provided that the above copyright 12 | notice and this paragraph appear in all copies. The copyright 13 | holders make no representation about the suitability of the DTD for 14 | any purpose. It is provided "as is" without expressed or implied 15 | warranty. 16 | 17 | If you modify the DocBook DTD in any way, except for declaring and 18 | referencing additional sets of general entities and declaring 19 | additional notations, label your DTD as a variant of DocBook. See 20 | the maintenance documentation for more information. 21 | 22 | Please direct all questions, bug reports, or suggestions for 23 | changes to the docbook@lists.oasis-open.org mailing list. For more 24 | information, see http://www.oasis-open.org/docbook/. 25 | -------------------------------------------------------------------------------- /docbook-xml/docbook-xml.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | if [ -e etc/xml/catalog.preserve ]; then 3 | mv etc/xml/catalog.preserve etc/xml/catalog 4 | elif [ ! -e etc/xml/catalog ]; then 5 | xmlcatalog --noout --create etc/xml/catalog 6 | fi 7 | xmlcatalog --noout --add "delegatePublic" \ 8 | "-//OASIS//ENTITIES DocBook XML" \ 9 | "file:///etc/xml/docbook-xml" \ 10 | etc/xml/catalog 11 | xmlcatalog --noout --add "delegatePublic" \ 12 | "-//OASIS//DTD DocBook XML" \ 13 | "file:///etc/xml/docbook-xml" \ 14 | etc/xml/catalog 15 | xmlcatalog --noout --add "delegateSystem" \ 16 | "http://www.oasis-open.org/docbook/" \ 17 | "file:///etc/xml/docbook-xml" \ 18 | etc/xml/catalog 19 | xmlcatalog --noout --add "delegateURI" \ 20 | "http://www.oasis-open.org/docbook/" \ 21 | "file:///etc/xml/docbook-xml" \ 22 | etc/xml/catalog 23 | } 24 | 25 | # arg 1: the new package version 26 | # arg 2: the old package version 27 | pre_upgrade() { 28 | if [ $(vercmp $2 4.5) -lt 0 ]; then 29 | xmlcatalog --del "file:///etc/xml/docbook" etc/xml/catalog > etc/xml/catalog.preserve 30 | fi 31 | } 32 | 33 | post_upgrade() { 34 | if [ $(vercmp $2 4.5) -ge 0 ]; then 35 | post_remove 36 | fi 37 | post_install 38 | } 39 | 40 | post_remove() { 41 | xmlcatalog --noout --del file:///etc/xml/docbook-xml etc/xml/catalog 42 | } 43 | -------------------------------------------------------------------------------- /docbook-xsl/765567_non-recursive_string_subst.patch: -------------------------------------------------------------------------------- 1 | Description: use EXSLT "replace" function when available 2 | A recursive implementation of string.subst is problematic, 3 | long strings with many matches will cause stack overflows. 4 | Author: Peter De Wachter 5 | Bug-Debian: https://bugs.debian.org/750593 6 | 7 | --- docbook-xsl-1.78.1+dfsg.orig/docbook-xsl/lib/lib.xsl 8 | +++ docbook-xsl-1.78.1+dfsg/docbook-xsl/lib/lib.xsl 9 | @@ -6,7 +6,11 @@ 10 | 11 | This module implements DTD-independent functions 12 | 13 | - ******************************************************************** --> 14 | + ******************************************************************** --> 15 | + 19 | 20 | 21 | 22 | @@ -52,6 +56,9 @@ 23 | 24 | 25 | 26 | + 27 | + 28 | + 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /dosfstools/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: dorphell 3 | # Committer: Judd Vinet 4 | pkgname=dosfstools 5 | pkgver=4.1 6 | pkgrel=1 7 | pkgdesc="DOS filesystem utilities" 8 | arch=(x86_64) 9 | depends=('glibc') 10 | source=(https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz{,.sig} 11 | ) 12 | url="https://github.com/dosfstools/dosfstools" 13 | license=('GPL2') 14 | validpgpkeys=('25714AECDBFDACEE1CE95FE77F6022516E869F64') # Andreas Bombe 15 | md5sums=('07a1050db1a898e9a2e03b0c4569c4bd' 16 | 'SKIP') 17 | 18 | prepare() { 19 | cd $srcdir/$pkgname-$pkgver 20 | ./configure --prefix=/usr --libexecdir=/usr/lib --sbindir=/usr/bin --mandir=/usr/share/man --docdir=/usr/share/doc/dosfstools --enable-compat-symlinks 21 | } 22 | 23 | build() { 24 | cd $srcdir/$pkgname-$pkgver 25 | make 26 | } 27 | 28 | package () { 29 | cd $srcdir/$pkgname-$pkgver 30 | make DESTDIR=$pkgdir install 31 | } 32 | -------------------------------------------------------------------------------- /e2fsprogs/MIT-LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003-2007 Theodore Ts'o 2 | Copyright (c) 1997-2003 Yann Dirson 3 | Copyright (c) 2001 Alcove 4 | Copyright (c) 1997 Klee Dienes 5 | Copyright (c) 1995-1996 Michael Nonweiler 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining 8 | a copy of this software and associated documentation files (the 9 | "Software"), to deal in the Software without restriction, including 10 | without limitation the rights to use, copy, modify, merge, publish, 11 | distribute, sublicense, and/or sell copies of the Software, and to 12 | permit persons to whom the Software is furnished to do so, subject 13 | to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be 16 | included in all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY 19 | KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 20 | WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 21 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 22 | BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 23 | AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR 24 | IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 | THE SOFTWARE. 26 | -------------------------------------------------------------------------------- /ed/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Dave Reisner 3 | # Maintainer: Andreas Radke 4 | 5 | pkgname=ed 6 | pkgver=1.14.2 7 | pkgrel=1 8 | pkgdesc="A POSIX-compliant line-oriented text editor" 9 | arch=('i686' 'x86_64') 10 | license=('GPL') 11 | url="http://www.gnu.org/software/ed/ed.html" 12 | depends=('glibc' 'sh') 13 | options=('!emptydirs') 14 | validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz 15 | source=("https://ftp.gnu.org/gnu/ed/$pkgname-$pkgver.tar.lz"{,.sig}) 16 | sha256sums=('f57962ba930d70d02fc71d6be5c5f2346b16992a455ab9c43be7061dec9810db' 17 | 'SKIP') 18 | 19 | build() { 20 | cd "$pkgname-$pkgver" 21 | 22 | ./configure --prefix=/ \ 23 | --bindir=/usr/bin \ 24 | --mandir=/usr/share/man \ 25 | --infodir=/usr/share/info \ 26 | "CFLAGS=$CFLAGS" \ 27 | "LDFLAGS=$LDFLAGS" 28 | 29 | make 30 | } 31 | 32 | check() { 33 | make -C "$pkgname-$pkgver" check 34 | } 35 | 36 | package() { 37 | make -C "$pkgname-$pkgver" "DESTDIR=$pkgdir" install 38 | } 39 | -------------------------------------------------------------------------------- /expat/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Bartłomiej Piotrowski 3 | # Contributor: Allan McRae 4 | # Contributor: Judd Vinet 5 | 6 | pkgname=expat 7 | pkgver=2.2.5 8 | pkgrel=1 9 | pkgdesc='An XML parser library' 10 | arch=(i686 x86_64) 11 | url='http://expat.sourceforge.net/' 12 | license=(custom) 13 | depends=(glibc) 14 | source=(http://downloads.sourceforge.net/sourceforge/expat/$pkgname-$pkgver.tar.bz2) 15 | md5sums=('789e297f547980fc9ecc036f9a070d49') 16 | 17 | build() { 18 | cd $pkgname-$pkgver 19 | ./configure --prefix=/usr 20 | make 21 | } 22 | 23 | check() { 24 | make -C $pkgname-$pkgver check 25 | } 26 | 27 | package() { 28 | cd $pkgname-$pkgver 29 | make DESTDIR="$pkgdir" install 30 | install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" 31 | } 32 | -------------------------------------------------------------------------------- /expect/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Bartłomiej Piotrowski 3 | # Contributor: Allan McRae 4 | 5 | pkgname=expect 6 | pkgver=5.45 7 | pkgrel=5 8 | pkgdesc='A tool for automating interactive applications' 9 | arch=(i686 x86_64) 10 | url='http://www.nist.gov/el/msid/expect.cfm' 11 | license=(custom) 12 | depends=(tcl) 13 | source=(http://downloads.sourceforge.net/project/expect/Expect/$pkgver/expect${pkgver}.tar.gz) 14 | md5sums=('44e1a4f4c877e9ddc5a542dfa7ecc92b') 15 | 16 | build() { 17 | cd expect${pkgver} 18 | ./configure --prefix=/usr --mandir=/usr/share/man 19 | make 20 | } 21 | 22 | check() { 23 | cd expect${pkgver} 24 | make test 25 | } 26 | 27 | package() { 28 | cd expect${pkgver} 29 | make DESTDIR="$pkgdir" install 30 | install -Dm644 README "$pkgdir/usr/share/licenses/$pkgname/README" 31 | } 32 | -------------------------------------------------------------------------------- /file/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Sébastien Luttringer 3 | # Contributor: Allan McRae 4 | # Contributor: Andreas Radke 5 | 6 | pkgname=file 7 | pkgver=5.32 8 | pkgrel=1 9 | pkgdesc='File type identification utility' 10 | arch=('i686' 'x86_64') 11 | license=('custom') 12 | groups=('base' 'base-devel') 13 | url='https://www.darwinsys.com/file/' 14 | depends=('glibc' 'zlib') 15 | source=("ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc}) 16 | validpgpkeys=('BE04995BA8F90ED0C0C176C471112AB16CB33B3A') # Christos Zoulas (personal key) 17 | md5sums=('4f2503752ff041895090ed6435610435' 18 | 'SKIP') 19 | 20 | prepare() { 21 | cd $pkgname-$pkgver 22 | # apply patch from the source array (should be a pacman feature) 23 | local filename 24 | for filename in "${source[@]}"; do 25 | if [[ "$filename" =~ \.patch$ ]]; then 26 | msg2 "Applying patch ${filename##*/}" 27 | patch -p1 -N -i "$srcdir/${filename##*/}" 28 | fi 29 | done 30 | : 31 | } 32 | 33 | build() { 34 | cd $pkgname-$pkgver 35 | ./configure --prefix=/usr --datadir=/usr/share/file --enable-fsect-man5 36 | make 37 | } 38 | 39 | check() { 40 | cd $pkgname-$pkgver 41 | make check 42 | } 43 | 44 | package() { 45 | cd $pkgname-$pkgver 46 | make DESTDIR="$pkgdir" install 47 | install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" 48 | } 49 | 50 | # vim:set ts=2 sw=2 et: 51 | -------------------------------------------------------------------------------- /filesystem/crypttab: -------------------------------------------------------------------------------- 1 | # crypttab: mappings for encrypted partitions 2 | # 3 | # Each mapped device will be created in /dev/mapper, so your /etc/fstab 4 | # should use the /dev/mapper/ paths for encrypted devices. 5 | # 6 | # The Arch specific syntax has been deprecated, see crypttab(5) for the 7 | # new supported syntax. 8 | # 9 | # NOTE: Do not list your root (/) partition here, it must be set up 10 | # beforehand by the initramfs (/etc/mkinitcpio.conf). 11 | 12 | # 13 | # home UUID=b8ad5c18-f445-495d-9095-c9ec4f9d2f37 /etc/mypassword1 14 | # data1 /dev/sda3 /etc/mypassword2 15 | # data2 /dev/sda5 /etc/cryptfs.key 16 | # swap /dev/sdx4 /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256 17 | # vol /dev/sdb7 none 18 | -------------------------------------------------------------------------------- /filesystem/fstab: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/fstab: static file system information 3 | # 4 | # 5 | -------------------------------------------------------------------------------- /filesystem/group: -------------------------------------------------------------------------------- 1 | root:x:0:root 2 | bin:x:1:root,bin,daemon 3 | daemon:x:2:root,bin,daemon 4 | sys:x:3:root,bin 5 | adm:x:4:root,daemon 6 | tty:x:5: 7 | disk:x:6:root 8 | lp:x:7:daemon 9 | mem:x:8: 10 | kmem:x:9: 11 | wheel:x:10:root 12 | ftp:x:11: 13 | mail:x:12: 14 | uucp:x:14: 15 | log:x:19:root 16 | utmp:x:20: 17 | locate:x:21: 18 | rfkill:x:24: 19 | smmsp:x:25: 20 | proc:x:26: 21 | http:x:33: 22 | games:x:50: 23 | lock:x:54: 24 | uuidd:x:68: 25 | dbus:x:81: 26 | network:x:90: 27 | video:x:91: 28 | audio:x:92: 29 | optical:x:93: 30 | floppy:x:94: 31 | storage:x:95: 32 | scanner:x:96: 33 | input:x:97: 34 | power:x:98: 35 | nobody:x:99: 36 | users:x:100: 37 | systemd-journal:x:190: 38 | systemd-journal-gateway:x:191: 39 | systemd-timesync:x:192: 40 | systemd-network:x:193: 41 | systemd-bus-proxy:x:194: 42 | systemd-resolve:x:195: 43 | -------------------------------------------------------------------------------- /filesystem/gshadow: -------------------------------------------------------------------------------- 1 | root:::root 2 | bin:::root,bin,daemon 3 | daemon:::root,bin,daemon 4 | sys:::root,bin 5 | adm:::root,daemon 6 | tty::: 7 | disk:::root 8 | lp:::daemon 9 | mem::: 10 | kmem::: 11 | wheel:::root 12 | ftp::: 13 | mail::: 14 | uucp::: 15 | log:::root 16 | utmp:x:: 17 | locate::: 18 | rfkill:x:: 19 | smmsp::: 20 | proc::: 21 | http::: 22 | games::: 23 | lock::: 24 | uuidd:x:: 25 | dbus:x:: 26 | network:x:: 27 | video:x:: 28 | audio::: 29 | optical::: 30 | floppy:x:: 31 | storage:x:: 32 | scanner:x:: 33 | input:x:: 34 | power:x:: 35 | nobody::: 36 | users::: 37 | systemd-journal::: 38 | systemd-journal-gateway::: 39 | systemd-timesync::: 40 | systemd-network::: 41 | systemd-bus-proxy::: 42 | systemd-resolve::: 43 | -------------------------------------------------------------------------------- /filesystem/host.conf: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/host.conf 3 | # 4 | 5 | order hosts,bind 6 | multi on 7 | 8 | # End of file 9 | -------------------------------------------------------------------------------- /filesystem/hosts: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/hosts: static lookup table for host names 3 | # 4 | 5 | # 6 | 127.0.0.1 localhost.localdomain localhost 7 | ::1 localhost.localdomain localhost 8 | 9 | # End of file 10 | -------------------------------------------------------------------------------- /filesystem/issue: -------------------------------------------------------------------------------- 1 | Arch Linux \r (\l) 2 | 3 | -------------------------------------------------------------------------------- /filesystem/ld.so.conf: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/ld.so.conf 3 | # 4 | 5 | include /etc/ld.so.conf.d/*.conf 6 | 7 | # End of file 8 | -------------------------------------------------------------------------------- /filesystem/locale.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ -z "$LANG" ]; then 4 | if [ -n "$XDG_CONFIG_HOME" ] && [ -r "$XDG_CONFIG_HOME/locale.conf" ]; then 5 | . "$XDG_CONFIG_HOME/locale.conf" 6 | elif [ -n "$HOME" ] && [ -r "$HOME/.config/locale.conf" ]; then 7 | . "$HOME/.config/locale.conf" 8 | elif [ -r /etc/locale.conf ]; then 9 | . /etc/locale.conf 10 | fi 11 | fi 12 | 13 | LANG=${LANG:-C} 14 | export LANG 15 | [ -n "$LC_CTYPE" ] && export LC_CTYPE 16 | [ -n "$LC_NUMERIC" ] && export LC_NUMERIC 17 | [ -n "$LC_TIME" ] && export LC_TIME 18 | [ -n "$LC_COLLATE" ] && export LC_COLLATE 19 | [ -n "$LC_MONETARY" ] && export LC_MONETARY 20 | [ -n "$LC_MESSAGES" ] && export LC_MESSAGES 21 | [ -n "$LC_PAPER" ] && export LC_PAPER 22 | [ -n "$LC_NAME" ] && export LC_NAME 23 | [ -n "$LC_ADDRESS" ] && export LC_ADDRESS 24 | [ -n "$LC_TELEPHONE" ] && export LC_TELEPHONE 25 | [ -n "$LC_MEASUREMENT" ] && export LC_MEASUREMENT 26 | [ -n "$LC_IDENTIFICATION" ] && export LC_IDENTIFICATION 27 | -------------------------------------------------------------------------------- /filesystem/motd: -------------------------------------------------------------------------------- 1 | This is the Hurd. Welcome. 2 | -------------------------------------------------------------------------------- /filesystem/nsswitch.conf: -------------------------------------------------------------------------------- 1 | # Begin /etc/nsswitch.conf 2 | 3 | passwd: compat mymachines systemd 4 | group: compat mymachines systemd 5 | shadow: compat 6 | 7 | publickey: files 8 | 9 | hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname 10 | networks: files 11 | 12 | protocols: files 13 | services: files 14 | ethers: files 15 | rpc: files 16 | 17 | netgroup: files 18 | 19 | # End /etc/nsswitch.conf 20 | -------------------------------------------------------------------------------- /filesystem/os-release: -------------------------------------------------------------------------------- 1 | NAME="Arch Linux" 2 | PRETTY_NAME="Arch Linux" 3 | ID=arch 4 | ID_LIKE=archlinux 5 | ANSI_COLOR="0;36" 6 | HOME_URL="https://www.archlinux.org/" 7 | SUPPORT_URL="https://bbs.archlinux.org/" 8 | BUG_REPORT_URL="https://bugs.archlinux.org/" 9 | 10 | -------------------------------------------------------------------------------- /filesystem/passwd: -------------------------------------------------------------------------------- 1 | root:x:0:0:root:/root:/bin/bash 2 | bin:x:1:1:bin:/bin:/usr/bin/nologin 3 | daemon:x:2:2:daemon:/:/usr/bin/nologin 4 | mail:x:8:12:mail:/var/spool/mail:/usr/bin/nologin 5 | ftp:x:14:11:ftp:/srv/ftp:/usr/bin/nologin 6 | http:x:33:33:http:/srv/http:/usr/bin/nologin 7 | uuidd:x:68:68:uuidd:/:/usr/bin/nologin 8 | dbus:x:81:81:dbus:/:/usr/bin/nologin 9 | nobody:x:99:99:nobody:/:/usr/bin/nologin 10 | systemd-journal-gateway:x:191:191:systemd-journal-gateway:/:/usr/bin/nologin 11 | systemd-timesync:x:192:192:systemd-timesync:/:/usr/bin/nologin 12 | systemd-network:x:193:193:systemd-network:/:/usr/bin/nologin 13 | systemd-bus-proxy:x:194:194:systemd-bus-proxy:/:/usr/bin/nologin 14 | systemd-resolve:x:195:195:systemd-resolve:/:/usr/bin/nologin 15 | -------------------------------------------------------------------------------- /filesystem/profile: -------------------------------------------------------------------------------- 1 | # /etc/profile 2 | 3 | #Set our umask 4 | umask 022 5 | 6 | # Set our default path 7 | PATH="/usr/local/sbin:/usr/local/bin:/usr/bin" 8 | export PATH 9 | 10 | # Load profiles from /etc/profile.d 11 | if test -d /etc/profile.d/; then 12 | for profile in /etc/profile.d/*.sh; do 13 | test -r "$profile" && . "$profile" 14 | done 15 | unset profile 16 | fi 17 | 18 | # Source global bash config 19 | if test "$PS1" && test "$BASH" && test -z ${POSIXLY_CORRECT+x} && test -r /etc/bash.bashrc; then 20 | . /etc/bash.bashrc 21 | fi 22 | 23 | # Termcap is outdated, old, and crusty, kill it. 24 | unset TERMCAP 25 | 26 | # Man is much better than us at figuring this out 27 | unset MANPATH 28 | -------------------------------------------------------------------------------- /filesystem/resolv.conf: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/resolv.conf 3 | # 4 | 5 | #search 6 | #nameserver 7 | 8 | # End of file 9 | -------------------------------------------------------------------------------- /filesystem/securetty: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/securetty 3 | # 4 | 5 | console 6 | tty1 7 | tty2 8 | tty3 9 | tty4 10 | tty5 11 | tty6 12 | ttyS0 13 | hvc0 14 | 15 | # End of file 16 | -------------------------------------------------------------------------------- /filesystem/shadow: -------------------------------------------------------------------------------- 1 | root::14871:::::: 2 | bin:x:14871:::::: 3 | daemon:x:14871:::::: 4 | mail:x:14871:::::: 5 | ftp:x:14871:::::: 6 | http:x:14871:::::: 7 | uuidd:x:14871:::::: 8 | dbus:x:14871:::::: 9 | nobody:x:14871:::::: 10 | systemd-journal-gateway:x:14871:::::: 11 | systemd-timesync:x:14871:::::: 12 | systemd-network:x:14871:::::: 13 | systemd-bus-proxy:x:14871:::::: 14 | systemd-resolve:x:14871:::::: 15 | -------------------------------------------------------------------------------- /filesystem/shells: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/shells 3 | # 4 | 5 | /bin/sh 6 | /bin/bash 7 | 8 | # End of file 9 | -------------------------------------------------------------------------------- /findutils/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: 3 | 4 | pkgname=findutils 5 | pkgver=4.6.0 6 | pkgrel=2 7 | pkgdesc="GNU utilities to locate files" 8 | arch=('i686' 'x86_64') 9 | license=('GPL3') 10 | groups=('base' 'base-devel') 11 | depends=('glibc' 'sh') 12 | url="http://www.gnu.org/software/findutils" 13 | source=(ftp://ftp.gnu.org/pub/gnu/findutils/${pkgname}-${pkgver}.tar.gz) 14 | sha1sums=('f18e8aaee3f3d4173a1f598001003be8706d28b0') 15 | #validpgpkeys=('A15B725964A95EE5') # James Youngman 16 | build() { 17 | cd "${srcdir}/${pkgname}-${pkgver}" 18 | 19 | # Don't build or install locate because we use mlocate, 20 | # which is a secure version of locate. 21 | sed -i '/^SUBDIRS/s/locate//' Makefile.in 22 | 23 | ./configure --prefix=/usr 24 | # don't build locate, but the docs want a file in there. 25 | make -C locate dblocation.texi 26 | make 27 | } 28 | 29 | check() { 30 | cd "${srcdir}/${pkgname}-${pkgver}" 31 | make check 32 | } 33 | 34 | package() { 35 | cd "${srcdir}/${pkgname}-${pkgver}" 36 | make DESTDIR=$pkgdir install 37 | } 38 | -------------------------------------------------------------------------------- /flex/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Lukas Fleischer 2 | # Contributor: Allan McRae 3 | # Contributor: judd 4 | 5 | pkgname=flex 6 | pkgver=2.6.4 7 | pkgrel=1 8 | pkgdesc="A tool for generating text-scanning programs" 9 | arch=('x86_64') 10 | url="https://github.com/westes/flex" 11 | license=('custom') 12 | groups=('base-devel') 13 | depends=('glibc' 'm4' 'sh') 14 | makedepends=('help2man') 15 | source=("https://github.com/westes/flex/releases/download/v$pkgver/flex-$pkgver.tar.gz") 16 | md5sums=('2882e3179748cc9f9c23ec593d6adc8d') 17 | 18 | build() { 19 | cd "$pkgname-$pkgver" 20 | ./configure --prefix=/usr 21 | make 22 | } 23 | 24 | check() { 25 | cd "$pkgname-$pkgver" 26 | 27 | # cxx_restart fails - https://github.com/westes/flex/issues/98 28 | make -k check || true 29 | } 30 | 31 | package() { 32 | cd "$pkgname-$pkgver" 33 | 34 | make DESTDIR="$pkgdir" install 35 | ln -s flex "${pkgdir}/usr/bin/lex" 36 | 37 | install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/license.txt" 38 | } 39 | -------------------------------------------------------------------------------- /flex/flex-2.6.0-comment-style.patch: -------------------------------------------------------------------------------- 1 | From 07d89829cce4527c7614a34642d4b2c2ef5d6005 Mon Sep 17 00:00:00 2001 2 | From: Will Estes 3 | Date: Fri, 11 Dec 2015 09:45:14 -0500 4 | Subject: [PATCH] Commented in C style in skeleton; fixed sf#195 5 | 6 | --- 7 | src/flex.skl | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/src/flex.skl b/src/flex.skl 11 | index b63c8c8..40287b6 100644 12 | --- a/src/flex.skl 13 | +++ b/src/flex.skl 14 | @@ -2350,7 +2350,7 @@ void yyFlexLexer::yyensure_buffer_stack(void) 15 | * scanner will even need a stack. We use 2 instead of 1 to avoid an 16 | * immediate realloc on the next call. 17 | */ 18 | - num_to_alloc = 1; // After all that talk, this was set to 1 anyways... 19 | + num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ 20 | YY_G(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc 21 | (num_to_alloc * sizeof(struct yy_buffer_state*) 22 | M4_YY_CALL_LAST_ARG); 23 | -------------------------------------------------------------------------------- /gawk/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: 3 | # Contributor: Tom Newsom 4 | 5 | pkgname=gawk 6 | pkgver=4.1.4 7 | pkgrel=2 8 | pkgdesc="GNU version of awk" 9 | arch=('i686' 'x86_64') 10 | url="http://www.gnu.org/software/gawk/" 11 | license=('GPL') 12 | groups=('base' 'base-devel') 13 | depends=('sh' 'glibc' 'mpfr') 14 | provides=('awk') 15 | source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig}) 16 | md5sums=('f20c94ca51b6ebfc9bffb90f95c8ffbb' 17 | 'SKIP') 18 | validpgpkeys=('D1967C63788713177D861ED7DF597815937EC0D2') # Arnold Robbins 19 | 20 | build() { 21 | cd ${srcdir}/${pkgname}-${pkgver} 22 | ./configure --prefix=/usr --libexecdir=/usr/lib --without-libsigsegv 23 | make 24 | } 25 | 26 | check() { 27 | cd ${srcdir}/${pkgname}-${pkgver} 28 | make check 29 | } 30 | 31 | package() { 32 | cd ${srcdir}/${pkgname}-${pkgver} 33 | make DESTDIR=${pkgdir} install 34 | 35 | #install -dm755 ${pkgdir}/bin 36 | #ln -sf /usr/bin/gawk ${pkgdir}/bin/ 37 | #ln -sf gawk ${pkgdir}/bin/awk 38 | } 39 | -------------------------------------------------------------------------------- /gc/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Daniel Isenmann 3 | # Contributor: dorphell 4 | 5 | pkgname=gc 6 | pkgver=7.6.0 7 | pkgrel=1 8 | pkgdesc="A garbage collector for C and C++" 9 | arch=('i686') 10 | url="http://www.hboehm.info/gc/" 11 | license=('GPL') 12 | depends=('gcc-libs' 'libatomic_ops') 13 | source=(http://www.hboehm.info/gc/gc_source/${pkgname}-${pkgver}.tar.gz) 14 | sha256sums=('a14a28b1129be90e55cd6f71127ffc5594e1091d5d54131528c24cd0c03b7d90') 15 | 16 | prepare() { 17 | cd ${pkgname}-${pkgver} 18 | 19 | sed -i 's#pkgdata#doc#' doc/doc.am 20 | } 21 | 22 | build() { 23 | cd ${pkgname}-${pkgver} 24 | autoreconf -fi 25 | 26 | #https://github.com/ivmai/bdwgc/issues/87 27 | CXXFLAGS+=' -std=gnu++98' ./configure --prefix=/usr --enable-cplusplus --disable-static 28 | sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool 29 | make 30 | } 31 | 32 | check() { 33 | cd ${pkgname}-${pkgver} 34 | make check 35 | } 36 | 37 | package() { 38 | cd ${pkgname}-${pkgver} 39 | make DESTDIR="${pkgdir}" install 40 | 41 | sed -i -e 's/GC_MALLOC 1L/gc 3/' doc/gc.man 42 | install -m755 -d "${pkgdir}/usr/share/man/man3" 43 | install -m644 doc/gc.man "${pkgdir}/usr/share/man/man3/gc.3" 44 | } 45 | -------------------------------------------------------------------------------- /gdb/0001-Hurd-Adjust-to-Per-inferior-Inferior-qualified-threa.patch: -------------------------------------------------------------------------------- 1 | From 14f6890677849172a4b13779acd9089c9baa3a81 Mon Sep 17 00:00:00 2001 2 | From: Thomas Schwinge 3 | Date: Tue, 24 May 2016 19:36:57 +0200 4 | Subject: [PATCH 01/65] Hurd: Adjust to "Per-inferior/Inferior-qualified thread 5 | IDs" changes 6 | 7 | [...]/gdb/gnu-nat.c: In function 'set_sig_thread_cmd': 8 | [...]/gdb/gnu-nat.c:2973:7: warning: implicit declaration of function 'thread_id_to_pid' [-Wimplicit-function-declaration] 9 | ptid_t ptid = thread_id_to_pid (atoi (args)); 10 | ^ 11 | [...]/gdb/gnu-nat.c:2973:7: error: invalid initializer 12 | 13 | That's commit 5d5658a1d3c3eb2a09c03f2f0662a1c01963c869, which renamed 14 | `thread_id_to_pid` to `global_thread_id_to_ptid`. 15 | 16 | gdb/ 17 | * gnu-nat.c (set_sig_thread_cmd): Call global_thread_id_to_ptid 18 | instead of thread_id_to_pid. 19 | --- 20 | gdb/ChangeLog | 5 +++++ 21 | gdb/gnu-nat.c | 2 +- 22 | 2 files changed, 6 insertions(+), 1 deletion(-) 23 | 24 | diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c 25 | index 927ee5c6f1..92b9292428 100644 26 | --- a/gdb/gnu-nat.c 27 | +++ b/gdb/gnu-nat.c 28 | @@ -2964,7 +2964,7 @@ set_sig_thread_cmd (char *args, int from_tty) 29 | inf->signal_thread = 0; 30 | else 31 | { 32 | - ptid_t ptid = thread_id_to_pid (atoi (args)); 33 | + ptid_t ptid = global_thread_id_to_ptid (atoi (args)); 34 | 35 | if (ptid_equal (ptid, minus_one_ptid)) 36 | error (_("Thread ID %s not known. " 37 | -- 38 | 2.11.0 39 | 40 | -------------------------------------------------------------------------------- /gdb/explicit-cast-void.patch: -------------------------------------------------------------------------------- 1 | commit e9e431d19426a6dd6b8923850398b847af0a1532 2 | Author: Thomas Schwinge 3 | Date: Fri Nov 25 11:01:39 2016 +0100 4 | 5 | Hurd, C++: Explicitly cast "void *" 6 | 7 | C++ doesn't do implicit type conversions from "void *", so we have to... 8 | 9 | gdb/ 10 | * i386-gnu-nat.c (i386_gnu_dr_set_control_one) 11 | (i386_gnu_dr_set_addr_one): Explicitly cast "void *". 12 | 13 | Index: gdb-7.12/gdb/i386gnu-nat.c 14 | =================================================================== 15 | --- gdb-7.12.orig/gdb/i386gnu-nat.c 16 | +++ gdb-7.12/gdb/i386gnu-nat.c 17 | @@ -311,7 +311,7 @@ i386_gnu_dr_set (const struct i386_debug 18 | static void 19 | i386_gnu_dr_set_control_one (struct proc *thread, void *arg) 20 | { 21 | - unsigned long *control = arg; 22 | + unsigned long *control = (unsigned long *) arg; 23 | struct i386_debug_state regs; 24 | 25 | i386_gnu_dr_get (®s, thread); 26 | @@ -341,7 +341,7 @@ struct reg_addr 27 | static void 28 | i386_gnu_dr_set_addr_one (struct proc *thread, void *arg) 29 | { 30 | - struct reg_addr *reg_addr = arg; 31 | + struct reg_addr *reg_addr = (struct reg_addr *) arg; 32 | struct i386_debug_state regs; 33 | 34 | i386_gnu_dr_get (®s, thread); 35 | -------------------------------------------------------------------------------- /gdbm/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Bartłomiej Piotrowski 3 | # Contributor: Stéphane Gaudreault 4 | # Contributor: Allan McRae 5 | # Contributor: judd 6 | 7 | pkgname=gdbm 8 | pkgver=1.13 9 | pkgrel=1 10 | pkgdesc='GNU database library' 11 | url='http://www.gnu.org/software/gdbm/gdbm.html' 12 | license=(GPL3) 13 | arch=(i686 x86_64) 14 | depends=(glibc sh) 15 | options=(!makeflags) 16 | source=(http://ftp.gnu.org/gnu/gdbm/${pkgname}-${pkgver}.tar.gz{,.sig}) 17 | validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') 18 | md5sums=('8929dcda2a8de3fd2367bdbf66769376' 19 | 'SKIP') 20 | 21 | build() { 22 | cd $pkgname-$pkgver 23 | ./configure --prefix=/usr --enable-libgdbm-compat 24 | make 25 | } 26 | 27 | check() { 28 | cd $pkgname-$pkgver 29 | make check 30 | } 31 | 32 | package() { 33 | cd $pkgname-$pkgver 34 | make DESTDIR="$pkgdir" install 35 | 36 | # create symlinks for compatibility 37 | install -dm755 "$pkgdir"/usr/include/gdbm 38 | ln -sf ../gdbm.h "$pkgdir"/usr/include/gdbm/gdbm.h 39 | ln -sf ../ndbm.h "$pkgdir"/usr/include/gdbm/ndbm.h 40 | ln -sf ../dbm.h "$pkgdir"/usr/include/gdbm/dbm.h 41 | } 42 | -------------------------------------------------------------------------------- /gettext/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: 3 | 4 | pkgname=gettext 5 | pkgver=0.19.8.1 6 | pkgrel=2 7 | pkgdesc="GNU internationalization library" 8 | arch=('i686' 'x86_64') 9 | url="http://www.gnu.org/software/gettext/" 10 | license=('GPL') 11 | groups=('base' 'base-devel') 12 | depends=('gcc-libs' 'acl' 'sh' 'libunistring') # glib2 13 | optdepends=('git: for autopoint infrastructure updates') 14 | options=(!docs) 15 | source=(ftp://ftp.gnu.org/pub/gnu/gettext/${pkgname}-${pkgver}.tar.gz{,.sig}) 16 | validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871') # Daiki Ueno 17 | 18 | build() { 19 | cd "${srcdir}/${pkgname}-${pkgver}" 20 | ./configure --prefix=/usr 21 | make 22 | } 23 | 24 | check() { 25 | cd "${srcdir}/${pkgname}-${pkgver}" 26 | make -j1 -k check 27 | } 28 | 29 | package() { 30 | cd "${srcdir}/${pkgname}-${pkgver}" 31 | make DESTDIR="${pkgdir}" install 32 | } 33 | md5sums=('97e034cf8ce5ba73a28ff6c3c0638092' 34 | 'SKIP') 35 | -------------------------------------------------------------------------------- /git/git-daemon.socket: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Git Daemon Socket 3 | 4 | [Socket] 5 | ListenStream=9418 6 | Accept=true 7 | 8 | [Install] 9 | WantedBy=sockets.target 10 | -------------------------------------------------------------------------------- /git/git-daemon@.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Git Daemon Instance 3 | 4 | [Service] 5 | User=git 6 | # The '-' is to ignore non-zero exit statuses 7 | ExecStart=-/usr/lib/git-core/git-daemon --inetd --export-all --base-path=/srv/git 8 | StandardInput=socket 9 | StandardOutput=inherit 10 | StandardError=journal 11 | ProtectSystem=full 12 | ProtectHome=on 13 | PrivateDevices=on 14 | NoNewPrivileges=on 15 | -------------------------------------------------------------------------------- /git/git.install: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | post_install() { 4 | if ! getent group git >/dev/null; then 5 | groupadd --system git 6 | fi 7 | if ! getent passwd git >/dev/null; then 8 | useradd --system -c 'git daemon user' -g git -d / -s /usr/bin/git-shell git 9 | fi 10 | if ! grep -qe '^/usr/bin/git-shell$' etc/shells; then 11 | echo '/usr/bin/git-shell' >> etc/shells 12 | fi 13 | } 14 | 15 | post_upgrade() { 16 | post_install $1 17 | } 18 | 19 | post_remove() { 20 | sed -i -r '/^\/usr\/bin\/git-shell$/d' etc/shells 21 | } 22 | -------------------------------------------------------------------------------- /glib2/0001-meson-Fix-libmount-support.patch: -------------------------------------------------------------------------------- 1 | From c93756c8f066a1e35fa2f46b231771d78e292600 Mon Sep 17 00:00:00 2001 2 | Message-Id: 3 | From: "Jan Alexander Steffens (heftig)" 4 | Date: Tue, 31 Oct 2017 04:11:42 +0100 5 | Subject: [PATCH] meson: Fix libmount support 6 | 7 | The define was still missing. 8 | --- 9 | config.h.meson | 3 +++ 10 | meson.build | 1 + 11 | 2 files changed, 4 insertions(+) 12 | 13 | diff --git a/config.h.meson b/config.h.meson 14 | index c67e1792f4af1ada..3f310b3c960fcb29 100644 15 | --- a/config.h.meson 16 | +++ b/config.h.meson 17 | @@ -247,6 +247,9 @@ 18 | /* Define if libelf is available */ 19 | #mesondefine HAVE_LIBELF 20 | 21 | +/* Define if libmount is available */ 22 | +#mesondefine HAVE_LIBMOUNT 23 | + 24 | /* Define to 1 if you have the header file. */ 25 | #mesondefine HAVE_LINUX_MAGIC_H 26 | 27 | diff --git a/meson.build b/meson.build 28 | index 208c23087627de1e..cd9cbf2ce10595c2 100644 29 | --- a/meson.build 30 | +++ b/meson.build 31 | @@ -1535,6 +1535,7 @@ if use_system_pcre 32 | endif 33 | if libmount_dep.length() == 1 and libmount_dep[0].found() 34 | glib_conf.set('LIBMOUNT_LIBS', '-lmount') 35 | + glib_conf.set('HAVE_LIBMOUNT', 1) 36 | endif 37 | glib_conf.set('GIO_MODULE_DIR', '${libdir}/gio/modules') 38 | # FIXME: Missing: 39 | -- 40 | 2.15.0 41 | 42 | -------------------------------------------------------------------------------- /glib2/gio-querymodules.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Operation = Remove 6 | Target = usr/lib/gio/modules/*.so 7 | 8 | [Action] 9 | Description = Updating GIO module cache... 10 | When = PostTransaction 11 | Exec = /usr/bin/gio-querymodules /usr/lib/gio/modules 12 | -------------------------------------------------------------------------------- /glib2/glib-compile-schemas.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Operation = Remove 6 | Target = usr/share/glib-2.0/schemas/*.gschema.xml 7 | Target = usr/share/glib-2.0/schemas/*.gschema.override 8 | 9 | [Action] 10 | Description = Compiling GSettings XML schema files... 11 | When = PostTransaction 12 | Exec = /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 13 | -------------------------------------------------------------------------------- /glib2/noisy-glib-compile-schemas.diff: -------------------------------------------------------------------------------- 1 | diff --git i/gio/glib-compile-schemas.c w/gio/glib-compile-schemas.c 2 | index b8de0907248f6860..130f89b1728f7932 100644 3 | --- i/gio/glib-compile-schemas.c 4 | +++ w/gio/glib-compile-schemas.c 5 | @@ -1219,19 +1219,6 @@ parse_state_start_schema (ParseState *state, 6 | return; 7 | } 8 | 9 | - if (path && (g_str_has_prefix (path, "/apps/") || 10 | - g_str_has_prefix (path, "/desktop/") || 11 | - g_str_has_prefix (path, "/system/"))) 12 | - { 13 | - gchar *message = NULL; 14 | - message = g_strdup_printf (_("Warning: Schema “%s” has path “%s”. " 15 | - "Paths starting with " 16 | - "“/apps/”, “/desktop/” or “/system/” are deprecated."), 17 | - id, path); 18 | - g_printerr ("%s\n", message); 19 | - g_free (message); 20 | - } 21 | - 22 | state->schema_state = schema_state_new (path, gettext_domain, 23 | extends, extends_name, list_of); 24 | 25 | -------------------------------------------------------------------------------- /glibc/glibc.install: -------------------------------------------------------------------------------- 1 | post_upgrade() { 2 | locale-gen 3 | 4 | ldconfig -r . 5 | } 6 | -------------------------------------------------------------------------------- /glibc/glibc_compatibility_symbols.patch: -------------------------------------------------------------------------------- 1 | diff --git a/htl/Versions b/htl/Versions 2 | index 6a63a1b8a1..6b6bb77f03 100644 3 | --- a/htl/Versions 4 | +++ b/htl/Versions 5 | @@ -1,4 +1,11 @@ 6 | libc { 7 | + GLIBC_2.13 { 8 | + pthread_mutex_lock; 9 | + pthread_mutex_unlock; 10 | + pthread_mutex_init; 11 | + pthread_mutex_destroy; 12 | + pthread_cond_broadcast; 13 | + } 14 | GLIBC_2.21 { 15 | pthread_attr_destroy; pthread_attr_getdetachstate; 16 | pthread_attr_getinheritsched; pthread_attr_getschedparam; 17 | -------------------------------------------------------------------------------- /glibc/libpthread_build.diff: -------------------------------------------------------------------------------- 1 | diff --git a/sysdeps/mach/hurd/Implies b/sysdeps/mach/hurd/Implies 2 | index d2d5234c1f..65e0490215 100644 3 | --- a/sysdeps/mach/hurd/Implies 4 | +++ b/sysdeps/mach/hurd/Implies 5 | @@ -3,3 +3,5 @@ 6 | gnu 7 | # The Hurd provides a rough superset of the functionality of 4.4 BSD. 8 | unix/bsd 9 | +# libpthread provides generic bits 10 | +../libpthread/sysdeps/generic 11 | -------------------------------------------------------------------------------- /glibc/locale-gen: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | LOCALEGEN=/etc/locale.gen 6 | LOCALES=/usr/share/i18n/locales 7 | if [ -n "$POSIXLY_CORRECT" ]; then 8 | unset POSIXLY_CORRECT 9 | fi 10 | 11 | 12 | [ -f $LOCALEGEN -a -s $LOCALEGEN ] || exit 0; 13 | 14 | # Remove all old locale dir and locale-archive before generating new 15 | # locale data. 16 | rm -rf /usr/lib/locale/* || true 17 | 18 | umask 022 19 | 20 | is_entry_ok() { 21 | if [ -n "$locale" -a -n "$charset" ] ; then 22 | true 23 | else 24 | echo "error: Bad entry '$locale $charset'" 25 | false 26 | fi 27 | } 28 | 29 | echo "Generating locales..." 30 | while read locale charset; do \ 31 | case $locale in \#*) continue;; "") continue;; esac; \ 32 | is_entry_ok || continue 33 | echo -n " `echo $locale | sed 's/\([^.\@]*\).*/\1/'`"; \ 34 | echo -n ".$charset"; \ 35 | echo -n `echo $locale | sed 's/\([^\@]*\)\(\@.*\)*/\2/'`; \ 36 | echo -n '...'; \ 37 | if [ -f $LOCALES/$locale ]; then input=$locale; else \ 38 | input=`echo $locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`; fi; \ 39 | localedef -i $input -c -f $charset -A /usr/share/locale/locale.alias $locale; \ 40 | echo ' done'; \ 41 | done < $LOCALEGEN 42 | echo "Generation complete." 43 | -------------------------------------------------------------------------------- /glibc/locale.gen.txt: -------------------------------------------------------------------------------- 1 | # Configuration file for locale-gen 2 | # 3 | # lists of locales that are to be generated by the locale-gen command. 4 | # 5 | # Each line is of the form: 6 | # 7 | # 8 | # 9 | # where is one of the locales given in /usr/share/i18n/locales 10 | # and is one of the character sets listed in /usr/share/i18n/charmaps 11 | # 12 | # Examples: 13 | # en_US ISO-8859-1 14 | # en_US.UTF-8 UTF-8 15 | # de_DE ISO-8859-1 16 | # de_DE@euro ISO-8859-15 17 | # 18 | # The locale-gen command will generate all the locales, 19 | # placing them in /usr/lib/locale. 20 | # 21 | # A list of supported locales is included in this file. 22 | # Uncomment the ones you need. 23 | # 24 | -------------------------------------------------------------------------------- /glibc/tg-mach-hurd-link.diff: -------------------------------------------------------------------------------- 1 | From: Samuel Thibault 2 | Subject: [PATCH] Add -lmachuser -lhurduser to libc.so on GNU/Hurd. 3 | 4 | http://lists.gnu.org/archive/html/bug-hurd/2011-03/msg00112.html 5 | 6 | 2011-03-29 Samuel Thibault 7 | 8 | * Makerules ($(inst_libdir)/libc.so): Add -lmachuser -lhurduser to 9 | libc.so on GNU/Hurd. 10 | 11 | It's still unclear what we want to aim for. 12 | 13 | --- 14 | Makerules | 3 +++ 15 | 1 file changed, 3 insertions(+) 16 | 17 | diff --git a/Makerules b/Makerules 18 | index 53eabfaba8..b0f5e1b3a0 100644 19 | --- a/Makerules 20 | +++ b/Makerules 21 | @@ -1066,6 +1066,9 @@ $(inst_libdir)/libc.so: $(common-objpfx)format.lds \ 22 | '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\ 23 | ' AS_NEEDED (' $(rtlddir)/$(rtld-installed-name) ') )' \ 24 | ) > $@.new 25 | +ifeq ($(patsubst gnu%,,$(config-os)),) 26 | + echo 'INPUT ( AS_NEEDED ( -lmachuser -lhurduser ) )' >> $@.new 27 | +endif 28 | mv -f $@.new $@ 29 | 30 | endif 31 | -- 32 | tg: (7bb5f8a836..) t/mach-hurd-link (depends on: baseline) 33 | -------------------------------------------------------------------------------- /gmp/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Allan McRae 3 | # Contributer: Jan de Groot 4 | 5 | pkgname=gmp 6 | pkgver=6.1.2 7 | pkgrel=1 8 | pkgdesc="A free library for arbitrary precision arithmetic" 9 | arch=('i686' 'x86_64') 10 | url="http://gmplib.org/" 11 | depends=('gcc-libs' 'sh') 12 | license=('LGPL3' 'GPL') 13 | source=(https://gmplib.org/download/gmp/gmp-${pkgver}.tar.xz{,.sig}) 14 | md5sums=('f58fa8001d60c4c77595fbbb62b63c1d' 15 | 'SKIP') 16 | validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller 17 | 18 | build() { 19 | cd "${pkgname}-${pkgver}" 20 | 21 | ./configure --build=${CHOST} \ 22 | --prefix=/usr \ 23 | --enable-cxx \ 24 | --enable-fat 25 | make 26 | } 27 | 28 | check() { 29 | cd "${pkgname}-${pkgver}" 30 | make check 31 | } 32 | 33 | package() { 34 | cd "${pkgname}-${pkgver}" 35 | make DESTDIR="${pkgdir}" install 36 | } 37 | -------------------------------------------------------------------------------- /gnumach-headers/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Luca Weiss 2 | 3 | _name=gnumach 4 | pkgname=gnumach-headers 5 | pkgver=1.8.r82.g0294ec07 6 | # branch 'master' in hurd/gnumach.git 7 | _commit=0294ec07a1655b2883afae5877eb9111a7f3a343 8 | pkgrel=1 9 | pkgdesc="GNU Mach - header files" 10 | arch=(i686) 11 | url="https://www.gnu.org/software/hurd/microkernel/mach.html" 12 | license=('GPL') 13 | groups=('base-devel') 14 | depends=('glibc') 15 | makedepends=('git') 16 | source=(git+https://git.savannah.gnu.org/git/hurd/gnumach.git#commit=$_commit) 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd $_name 21 | git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' 22 | } 23 | 24 | prepare() { 25 | rm -rf build 26 | mkdir build 27 | 28 | cd $_name 29 | autoreconf -fi 30 | } 31 | 32 | build() { 33 | cd build 34 | 35 | ../$_name/configure \ 36 | --prefix=/usr \ 37 | --libexecdir=/usr/lib 38 | } 39 | 40 | package() { 41 | cd build 42 | make DESTDIR=$pkgdir install-data 43 | } 44 | -------------------------------------------------------------------------------- /gnumach/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Luca Weiss 2 | 3 | pkgname=gnumach 4 | pkgver=1.8.r82.g0294ec07 5 | # branch 'master' in hurd/gnumach.git 6 | _commit=0294ec07a1655b2883afae5877eb9111a7f3a343 7 | pkgrel=1 8 | pkgdesc="GNU Mach" 9 | arch=(i686) 10 | url="http://www.gnu.org/software/hurd/microkernel/mach/gnumach.html" 11 | license=('GPL') 12 | groups=('base') 13 | makedepends=('git' 'mig' 'glibc') 14 | source=(git+https://git.savannah.gnu.org/git/hurd/gnumach.git#commit=$_commit 15 | https://salsa.debian.org/hurd-team/gnumach/raw/master/debian/patches/70_dde.patch) 16 | sha512sums=('SKIP' 17 | 'f4451fa86cd9b9e275e4df9b8dba4225667ffee921e3664ea363bbb4fba0ce4dc1d73ac4aa2c46ffc49f88fd57ec6b5ad87d8468628d118b8124ca34211c3d9e') 18 | 19 | pkgver() { 20 | cd $pkgname 21 | git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' 22 | } 23 | 24 | prepare() { 25 | rm -rf build 26 | mkdir build 27 | 28 | cd $pkgname 29 | 30 | patch -Np1 -i ../70_dde.patch 31 | 32 | autoreconf -fi 33 | } 34 | 35 | build() { 36 | cd build 37 | 38 | ../$pkgname/configure \ 39 | --prefix=/usr \ 40 | --libexecdir=/usr/lib 41 | make 42 | } 43 | 44 | package() { 45 | cd build 46 | make DESTDIR="$pkgdir" install 47 | 48 | # move gnumach to the correct location 49 | mv "$pkgdir"/usr/boot "$pkgdir"/boot 50 | 51 | # remove files present in gnumach-headers 52 | rm -r "$pkgdir"/usr/include 53 | rm -r "$pkgdir"/usr/share/info 54 | } 55 | 56 | -------------------------------------------------------------------------------- /gnupg/install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | # See FS#42798 and FS#47371 3 | dirmngr /dev/null 4 | } 5 | 6 | post_upgrade() { 7 | if (( $(vercmp $2 2.1.13-1) < 0 )); then 8 | echo "==> Please kill running gpg-agent and dirmngr processes before using this release." 9 | fi 10 | } 11 | -------------------------------------------------------------------------------- /gnutls/.unmodified: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/z3ntu/archhurd_packages/31183068de26418e449ca4fc30d5610793c96a42/gnutls/.unmodified -------------------------------------------------------------------------------- /grep/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Sébastien Luttringer 3 | # Contributor: Allan McRae 4 | # Contributor: judd 5 | 6 | pkgname=grep 7 | pkgver=3.1 8 | pkgrel=1 9 | pkgdesc='A string search utility' 10 | arch=('x86_64') 11 | license=('GPL3') 12 | url='https://www.gnu.org/software/grep/' 13 | groups=('base' 'base-devel') 14 | depends=('glibc' 'pcre') 15 | makedepends=('texinfo') 16 | validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000BEEEE') # Jim Meyering 17 | source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}) 18 | md5sums=('feca7b3e7c7f4aab2b42ecbfc513b070' 19 | 'SKIP') 20 | 21 | build() { 22 | cd $pkgname-$pkgver 23 | ./configure --prefix=/usr --without-included-regex 24 | make 25 | } 26 | 27 | check() { 28 | cd $pkgname-$pkgver 29 | make check 30 | } 31 | 32 | package() { 33 | cd $pkgname-$pkgver 34 | make DESTDIR=$pkgdir install 35 | } 36 | -------------------------------------------------------------------------------- /grub/0001-10_hurd-use-ext2fs-for-ext2-ext3.patch: -------------------------------------------------------------------------------- 1 | From 889332d669eabcfc59f097a06bace9ae592fd3f1 Mon Sep 17 00:00:00 2001 2 | From: Luca Weiss 3 | Date: Wed, 8 May 2019 23:33:20 +0200 4 | Subject: [PATCH] 10_hurd: use ext2fs for ext2/ext3 5 | 6 | If grub-prober doesn't find the file system, stat is being used and stat 7 | returns ext2/ext3, so cover this as well. 8 | --- 9 | util/grub.d/10_hurd.in | 1 + 10 | 1 file changed, 1 insertion(+) 11 | 12 | diff --git a/util/grub.d/10_hurd.in b/util/grub.d/10_hurd.in 13 | index 59a9a48a2..9c20ad328 100644 14 | --- a/util/grub.d/10_hurd.in 15 | +++ b/util/grub.d/10_hurd.in 16 | @@ -54,6 +54,7 @@ done 17 | 18 | # FIXME: This works for ext2. For other filesystems we might need special-casing 19 | case "${GRUB_FS}" in 20 | + ext2/ext3) hurd_fs="ext2fs" ;; 21 | *fs) hurd_fs="${GRUB_FS}" ;; 22 | *) hurd_fs="${GRUB_FS}fs" ;; 23 | esac 24 | -- 25 | 2.21.0 26 | 27 | -------------------------------------------------------------------------------- /grub/0004-add-GRUB_COLOR_variables.patch: -------------------------------------------------------------------------------- 1 | diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in 2 | index 3390ba9..c416489 100644 3 | --- a/util/grub-mkconfig.in 4 | +++ b/util/grub-mkconfig.in 5 | @@ -218,6 +218,8 @@ export GRUB_DEFAULT \ 6 | GRUB_THEME \ 7 | GRUB_GFXPAYLOAD_LINUX \ 8 | GRUB_DISABLE_OS_PROBER \ 9 | + GRUB_COLOR_NORMAL \ 10 | + GRUB_COLOR_HIGHLIGHT \ 11 | GRUB_INIT_TUNE \ 12 | GRUB_SAVEDEFAULT \ 13 | GRUB_ENABLE_CRYPTODISK \ 14 | diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in 15 | index d2e7252..8259f45 100644 16 | --- a/util/grub.d/00_header.in 17 | +++ b/util/grub.d/00_header.in 18 | @@ -125,6 +125,14 @@ cat < /dev/null 13 | echo "done." 14 | } 15 | 16 | -------------------------------------------------------------------------------- /gtk-doc/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Jan de Groot 3 | 4 | pkgname=gtk-doc 5 | pkgver=1.26+23+g8ad03e1 6 | pkgrel=1 7 | pkgdesc="Documentation tool for public library API" 8 | url="https://www.gtk.org/gtk-doc/" 9 | arch=(any) 10 | license=(GPL FDL) 11 | depends=(docbook-xsl docbook-xml python-six source-highlight) # glib2-docs 12 | #makedepends=(dblatex git yelp-tools) 13 | #checkdepends=(bc gtk3) 14 | optdepends=('dblatex: PDF support') 15 | _commit=8ad03e164f3091df68a9fed5492b54cd61d0ac51 # master 16 | source=("git+https://git.gnome.org/browse/gtk-doc#commit=$_commit") 17 | sha256sums=('SKIP') 18 | 19 | pkgver() { 20 | cd $pkgname 21 | git describe --tags | sed -e 's/GTK_DOC_//' -e 's/_/\./g' -e 's/-/+/g' 22 | } 23 | 24 | prepare() { 25 | cd $pkgname 26 | 27 | # Recover a file from the old version, because GStreamer/common needs it 28 | git checkout 1db161bd708cdfb88b362ea0b5d047034d9c3272 -- gtkdoc-common.pl.in 29 | 30 | NOCONFIGURE=1 ./autogen.sh 31 | } 32 | 33 | build() { 34 | cd $pkgname 35 | ./configure --prefix=/usr --disable-static 36 | make 37 | } 38 | 39 | #check() { 40 | # cd $pkgname 41 | # make check 42 | #} 43 | 44 | package() { 45 | cd $pkgname 46 | make DESTDIR="$pkgdir" install 47 | sed 's|@PERL@|/usr/bin/perl|g' gtkdoc-common.pl.in \ 48 | | install -D /dev/stdin "$pkgdir/usr/share/gtk-doc/data/gtkdoc-common.pl" 49 | } 50 | -------------------------------------------------------------------------------- /guile/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Jan de Groot 3 | # Maintainer: Bartłomiej Piotrowski 4 | # Contributor: Tom Newsom 5 | 6 | pkgname=guile 7 | pkgver=2.2.2 8 | pkgrel=1 9 | pkgdesc='Portable, embeddable Scheme implementation written in C' 10 | url='https://www.gnu.org/software/guile/' 11 | arch=(i686 x86_64) 12 | license=(GPL) 13 | depends=(gmp libltdl ncurses texinfo libunistring gc libffi) 14 | source=(https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig}) 15 | validpgpkeys=('3CE464558A84FDC69DB40CFB090B11993D9AEBB5' # Ludovic Courtès 16 | 'FF478FB264DE32EC296725A3DDC0F5358812F8F2') # Andy Wingo 17 | sha256sums=('3d9b94183b19f04dd4317da87beedafd1c947142f3d861ca1f0224e7a75127ee' 18 | 'SKIP') 19 | 20 | build() { 21 | cd $pkgname-$pkgver 22 | ./configure --prefix=/usr \ 23 | --disable-static \ 24 | --disable-error-on-warning 25 | sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool 26 | make 27 | } 28 | 29 | check() { 30 | cd $pkgname-$pkgver 31 | make check 32 | } 33 | 34 | package() { 35 | make -C $pkgname-$pkgver DESTDIR="$pkgdir" install 36 | rm "$pkgdir"/usr/lib/libguile-2.?.so.*-gdb.scm 37 | } 38 | -------------------------------------------------------------------------------- /guile2.0/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Bartłomiej Piotrowski 3 | # Contributor: Jan de Groot 4 | # Contributor: Tom Newsom 5 | 6 | pkgname=guile2.0 7 | _pkgname=guile 8 | pkgver=2.0.14 9 | pkgrel=1 10 | pkgdesc='Portable, embeddable Scheme implementation written in C' 11 | url='http://www.gnu.org/software/guile/' 12 | arch=(x86_64) 13 | license=(GPL) 14 | depends=(gmp libltdl ncurses texinfo libunistring gc libffi) 15 | source=(https://ftp.gnu.org/pub/gnu/$_pkgname/$_pkgname-$pkgver.tar.gz{,.sig}) 16 | validpgpkeys=('3CE464558A84FDC69DB40CFB090B11993D9AEBB5' # Ludovic Courtès 17 | 'FF478FB264DE32EC296725A3DDC0F5358812F8F2') # Andy Wingo 18 | md5sums=('333b6eec83e779935a45c818f712484e' 19 | 'SKIP') 20 | 21 | build() { 22 | cd $_pkgname-$pkgver 23 | ./configure --prefix=/usr \ 24 | --disable-static \ 25 | --disable-error-on-warning \ 26 | --program-suffix=2.0 27 | make 28 | } 29 | 30 | package() { 31 | make -C $_pkgname-$pkgver DESTDIR="$pkgdir" install 32 | rm "$pkgdir"/usr/lib/libguile-2.?.so.*-gdb.scm 33 | 34 | sed -i '1s/guile/guile2.0/' -i "$pkgdir/usr/bin/guile-config2.0" 35 | mv "$pkgdir"/usr/share/aclocal/guile.m4 "$pkgdir"/usr/share/aclocal/guile20.m4 36 | rm -rf "$pkgdir"/usr/share/info 37 | } 38 | -------------------------------------------------------------------------------- /gyp/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Jan Alexander Steffens (heftig) 3 | 4 | pkgname=gyp 5 | pkgver=20170609 6 | pkgrel=2 7 | pkgdesc='"Generate Your Projects" Meta-Build system' 8 | arch=(any) 9 | url="https://gyp.gsrc.io/" 10 | license=(custom:BSD) 11 | depends=(python2-setuptools ninja) 12 | makedepends=(git) 13 | _commit=a478c1ab51ea3e04e79791ac3d1dad01b3f57434 # changes/21/487521/4 14 | source=("git+https://chromium.googlesource.com/external/gyp#commit=$_commit") 15 | sha256sums=('SKIP') 16 | 17 | build() { 18 | cd $pkgname 19 | python2 setup.py build 20 | } 21 | 22 | package() { 23 | cd $pkgname 24 | python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build 25 | install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" 26 | } 27 | -------------------------------------------------------------------------------- /gzip/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Mainainer: Sébastien "Seblu" Luttringer 3 | # Contributor: Allan McRae 4 | # Contributor: judd 5 | 6 | pkgname=gzip 7 | pkgver=1.8 8 | pkgrel=2 9 | pkgdesc='GNU compression utility' 10 | arch=('i686' 'x86_64') 11 | url='https://www.gnu.org/software/gzip/' 12 | license=('GPL3') 13 | groups=('base' 'base-devel') 14 | depends=('glibc' 'bash' 'less') 15 | validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000BEEEE') # Jim Meyering 16 | source=("https://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz"{,.sig}) 17 | md5sums=('f7caabb65cddc1a4165b398009bd05b9' 18 | 'SKIP') 19 | prepare() { 20 | cd $pkgname-$pkgver 21 | # apply patch from the source array (should be a pacman feature) 22 | local filename 23 | for filename in "${source[@]}"; do 24 | if [[ "$filename" =~ \.patch$ ]]; then 25 | msg2 "Applying patch ${filename##*/}" 26 | patch -p1 -N -i "$srcdir/${filename##*/}" 27 | fi 28 | done 29 | : 30 | } 31 | 32 | build() { 33 | cd $pkgname-$pkgver 34 | ./configure --prefix=/usr 35 | make 36 | } 37 | 38 | check() { 39 | cd $pkgname-$pkgver 40 | make check 41 | } 42 | 43 | package() { 44 | cd $pkgname-$pkgver 45 | make prefix="$pkgdir/usr" install 46 | } 47 | 48 | # vim:set ts=2 sw=2 et: 49 | -------------------------------------------------------------------------------- /help2man/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Giovanni Scafora 3 | # Contributor: Paul Mattal 4 | 5 | pkgname=help2man 6 | pkgver=1.47.5 7 | pkgrel=1 8 | pkgdesc="Conversion tool to create man files" 9 | arch=('i686' 'x86_64') 10 | url="http://www.gnu.org/software/help2man/" 11 | license=('GPL') 12 | depends=('perl-locale-gettext') 13 | source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig}) 14 | md5sums=('1c886063c9e0ab463906de804596aa2f' 15 | 'SKIP') 16 | validpgpkeys=('87EA44D150D89615E39A3FEEF0DC8E00B28C5995') # Brendan O'Dea 17 | 18 | build() { 19 | cd ${pkgname}-${pkgver} 20 | 21 | ./configure --prefix=/usr \ 22 | --mandir=/usr/share/man \ 23 | --infodir=/usr/share/info \ 24 | --libdir=/usr/lib 25 | make 26 | } 27 | 28 | package() { 29 | cd ${pkgname}-${pkgver} 30 | 31 | make DESTDIR="${pkgdir}" install 32 | } 33 | -------------------------------------------------------------------------------- /hurd-headers/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Luca Weiss 2 | 3 | _pkgname=hurd 4 | pkgname=hurd-headers 5 | pkgver=0.9.r178.g2e90bcdb 6 | # branch 'master' in hurd/hurd.git 7 | _commit=2e90bcdbf1a7c758f13d110833d58d1eecf6dec3 8 | pkgrel=1 9 | pkgdesc="The GNU Hurd - headers" 10 | arch=(i686) 11 | url="http://www.gnu.org/software/hurd/hurd.html" 12 | license=('GPL') 13 | groups=('base') 14 | makedepends=('git') 15 | source=(git+https://git.savannah.gnu.org/git/hurd/hurd.git#commit=$_commit) 16 | md5sums=('SKIP') 17 | 18 | pkgver() { 19 | cd "$_pkgname" 20 | git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' 21 | } 22 | 23 | prepare() { 24 | mkdir -p build 25 | 26 | cd $_pkgname 27 | autoreconf -fi 28 | } 29 | 30 | build() { 31 | cd "$srcdir/build" 32 | 33 | # TODO: Remove this? 34 | export LDFLAGS="$(echo $LDFLAGS | sed 's/-Wl,--as-needed//')" 35 | 36 | ../$_pkgname/configure \ 37 | --prefix=/usr \ 38 | --disable-profile \ 39 | --enable-static-progs='iso9660fs,ext2fs,ufs' 40 | # make 41 | } 42 | 43 | package() { 44 | cd "$srcdir/build" 45 | 46 | make DESTDIR="$pkgdir/" install-headers 47 | } 48 | 49 | -------------------------------------------------------------------------------- /hurd/ttys: -------------------------------------------------------------------------------- 1 | # Programs to be maintained on terminal lines. init runs these programs, 2 | # and restartsthem when they die. Note that in GNU, unlike in BSD, there 3 | # is no need to list pseudo-ttys here. 4 | 5 | # name program type status comments 6 | 7 | console "/sbin/getty 9600" mach-gnu-color on secure trusted console 8 | tty1 "/sbin/getty 38400" hurd on secure trusted console 9 | tty2 "/sbin/getty 38400" hurd on secure trusted console 10 | tty3 "/sbin/getty 38400" hurd on secure trusted console 11 | tty4 "/sbin/getty 38400" hurd on secure trusted console 12 | tty5 "/sbin/getty 38400" hurd on secure trusted console 13 | tty6 "/sbin/getty 38400" hurd on secure trusted console 14 | #com0 "/sbin/getty 9600" dialup on secure 15 | -------------------------------------------------------------------------------- /icu/fix-hurd-triplet.patch: -------------------------------------------------------------------------------- 1 | --- a/source/acinclude.m4 2016-12-07 01:45:02.000000000 +0000 2 | +++ b/source/acinclude.m4 2017-11-23 13:42:14.000000000 +0000 3 | @@ -33,7 +33,7 @@ 4 | else 5 | icu_cv_host_frag=mh-linux-va 6 | fi ;; 7 | -*-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) icu_cv_host_frag=mh-linux ;; 8 | +*-*-linux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) icu_cv_host_frag=mh-linux ;; 9 | i[[34567]]86-*-cygwin) 10 | if test "$GCC" = yes; then 11 | icu_cv_host_frag=mh-cygwin 12 | -------------------------------------------------------------------------------- /icu/hurd-fix.diff: -------------------------------------------------------------------------------- 1 | --- ./source/tools/toolutil/udbgutil.cpp.orig 2015-08-03 11:53:13.788781812 +0200 2 | +++ ./source/tools/toolutil/udbgutil.cpp 2015-08-03 11:53:14.736758140 +0200 3 | @@ -366,8 +366,6 @@ 4 | return "Linux"; 5 | #elif U_PLATFORM == U_PF_ANDROID 6 | return "Android"; 7 | -#elif U_PLATFORM == U_PF_CLASSIC_MACOS 8 | - return "MacOS (Classic)"; 9 | #elif U_PLATFORM == U_PF_OS390 10 | return "IBM z"; 11 | #elif U_PLATFORM == U_PF_OS400 12 | -------------------------------------------------------------------------------- /inetutils/inetutils.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | setcap cap_net_bind_service=+ep usr/bin/rcp 2>/dev/null || chmod +s usr/bin/rcp 3 | setcap cap_net_bind_service=+ep usr/bin/rlogin 2>/dev/null || chmod +s usr/bin/rlogin 4 | setcap cap_net_bind_service=+ep usr/bin/rsh 2>/dev/null || chmod +s usr/bin/rsh 5 | } 6 | 7 | post_upgrade() { 8 | post_install 9 | } 10 | -------------------------------------------------------------------------------- /jq/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Evgeniy Alekseev 3 | # Contributor: Alex Chamberlain 4 | # Contributor: Kars Wang 5 | 6 | pkgname=jq 7 | pkgver=1.5 8 | pkgrel=5 9 | pkgdesc='Command-line JSON processor' 10 | arch=('x86_64') 11 | url='http://stedolan.github.io/jq/' 12 | license=('MIT') 13 | depends=('glibc' 'oniguruma') 14 | makedepends=('autoconf' 'automake' 'bison' 'flex' 'python2') 15 | source=("https://github.com/stedolan/jq/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz" 16 | "cve-2015-8863.patch::https://github.com/stedolan/jq/commit/8eb1367ca44e772963e704a700ef72ae2e12babd.patch") 17 | changelog=ChangeLog 18 | md5sums=('0933532b086bd8b6a41c1b162b1731f9' 19 | '5453ead1fa3d22411eec64c61e202a2c') 20 | 21 | prepare() { 22 | cd "${pkgname}-${pkgver}" 23 | patch -p2 -i "${srcdir}/cve-2015-8863.patch" 24 | } 25 | 26 | build() { 27 | cd "${pkgname}-${pkgver}" 28 | ./configure --prefix=/usr 29 | make 30 | } 31 | 32 | package() { 33 | cd "${pkgname}-${pkgver}" 34 | make DESTDIR="${pkgdir}" prefix=/usr install 35 | install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" 36 | } 37 | -------------------------------------------------------------------------------- /jq/cve-2015-8863.patch: -------------------------------------------------------------------------------- 1 | From 8eb1367ca44e772963e704a700ef72ae2e12babd Mon Sep 17 00:00:00 2001 2 | From: Nicolas Williams 3 | Date: Sat, 24 Oct 2015 17:24:57 -0500 4 | Subject: [PATCH] Heap buffer overflow in tokenadd() (fix #105) 5 | 6 | This was an off-by one: the NUL terminator byte was not allocated on 7 | resize. This was triggered by JSON-encoded numbers longer than 256 8 | bytes. 9 | --- 10 | src/jv_parse.c | 4 ++-- 11 | 1 file changed, 2 insertions(+), 2 deletions(-) 12 | 13 | diff --git a/src/jv_parse.c b/src/jv_parse.c 14 | index 3102ed4f..84245b86 100644 15 | --- a/src/jv_parse.c 16 | +++ b/src/jv_parse.c 17 | @@ -383,7 +383,7 @@ static pfunc stream_token(struct jv_parser* p, char ch) { 18 | 19 | static void tokenadd(struct jv_parser* p, char c) { 20 | assert(p->tokenpos <= p->tokenlen); 21 | - if (p->tokenpos == p->tokenlen) { 22 | + if (p->tokenpos >= (p->tokenlen - 1)) { 23 | p->tokenlen = p->tokenlen*2 + 256; 24 | p->tokenbuf = jv_mem_realloc(p->tokenbuf, p->tokenlen); 25 | } 26 | @@ -485,7 +485,7 @@ static pfunc check_literal(struct jv_parser* p) { 27 | TRY(value(p, v)); 28 | } else { 29 | // FIXME: better parser 30 | - p->tokenbuf[p->tokenpos] = 0; // FIXME: invalid 31 | + p->tokenbuf[p->tokenpos] = 0; 32 | char* end = 0; 33 | double d = jvp_strtod(&p->dtoa, p->tokenbuf, &end); 34 | if (end == 0 || *end != 0) 35 | -------------------------------------------------------------------------------- /keyutils/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Stéphane Gaudreault 3 | # Contributor: Tobias Powalowski 4 | 5 | pkgname=keyutils 6 | pkgver=1.5.10 7 | pkgrel=1 8 | pkgdesc="Linux Key Management Utilities" 9 | arch=('i686' 'x86_64') 10 | url="http://www.kernel.org" 11 | license=('GPL2' 'LGPL2.1') 12 | depends=('glibc' 'sh') 13 | backup=('etc/request-key.conf') 14 | source=(https://people.redhat.com/~dhowells/${pkgname}/${pkgname}-${pkgver}.tar.bz2 15 | request-key.conf.patch) 16 | sha256sums=('115c3deae7f181778fd0e0ffaa2dad1bf1fe2f5677cf2e0e348cdb7a1c93afb6' 17 | '203c602c61ed94ccd423a0a453d74143d678c641a9a4486367576ee8af2cb8d6') 18 | 19 | prepare() { 20 | cd ${pkgname}-${pkgver} 21 | # fix paths of binaries in /etc/request-key.conf 22 | patch -Np0 -i ../request-key.conf.patch 23 | } 24 | 25 | build() { 26 | cd ${pkgname}-${pkgver} 27 | make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" SBINDIR='/usr/bin' BINDIR='/usr/bin' 28 | } 29 | 30 | package() { 31 | cd ${pkgname}-${pkgver} 32 | make DESTDIR="${pkgdir}" SBINDIR='/usr/bin' BINDIR='/usr/bin' LIBDIR='/usr/lib' USRLIBDIR='/usr/lib' install 33 | } 34 | -------------------------------------------------------------------------------- /keyutils/request-key.conf.patch: -------------------------------------------------------------------------------- 1 | --- request-key.conf.old 2013-05-28 15:34:10.966001242 +0200 2 | +++ request-key.conf 2013-05-28 15:35:34.857969598 +0200 3 | @@ -31,11 +31,11 @@ 4 | 5 | #OP TYPE DESCRIPTION CALLOUT INFO PROGRAM ARG1 ARG2 ARG3 ... 6 | #====== ======= =============== =============== =============================== 7 | -create dns_resolver * * /sbin/key.dns_resolver %k 8 | -create user debug:* negate /bin/keyctl negate %k 30 %S 9 | -create user debug:* rejected /bin/keyctl reject %k 30 %c %S 10 | -create user debug:* expired /bin/keyctl reject %k 30 %c %S 11 | -create user debug:* revoked /bin/keyctl reject %k 30 %c %S 12 | -create user debug:loop:* * |/bin/cat 13 | +create dns_resolver * * /usr/bin/key.dns_resolver %k 14 | +create user debug:* negate /usr/bin/keyctl negate %k 30 %S 15 | +create user debug:* rejected /usr/bin/keyctl reject %k 30 %c %S 16 | +create user debug:* expired /usr/bin/keyctl reject %k 30 %c %S 17 | +create user debug:* revoked /usr/bin/keyctl reject %k 30 %c %S 18 | +create user debug:loop:* * |/usr/bin/cat 19 | create user debug:* * /usr/share/keyutils/request-key-debug.sh %k %d %c %S 20 | -negate * * * /bin/keyctl negate %k 30 %S 21 | +negate * * * /usr/bin/keyctl negate %k 30 %S 22 | -------------------------------------------------------------------------------- /krb5/krb5-config_LDFLAGS.patch: -------------------------------------------------------------------------------- 1 | Bug #448778 2 | --- krb5-1.11/src/build-tools/krb5-config.in 2012-12-18 02:47:04.000000000 +0000 3 | +++ krb5-1.11/src/build-tools/krb5-config.in 2012-12-28 07:13:16.582693363 +0000 4 | @@ -217,7 +217,7 @@ 5 | -e 's#\$(PROG_RPATH)#'$libdir'#' \ 6 | -e 's#\$(PROG_LIBPATH)#'$libdirarg'#' \ 7 | -e 's#\$(RPATH_FLAG)#'"$RPATH_FLAG"'#' \ 8 | - -e 's#\$(LDFLAGS)#'"$LDFLAGS"'#' \ 9 | + -e 's#\$(LDFLAGS)##' \ 10 | -e 's#\$(PTHREAD_CFLAGS)#'"$PTHREAD_CFLAGS"'#' \ 11 | -e 's#\$(CFLAGS)##'` 12 | 13 | -------------------------------------------------------------------------------- /ldns/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Gaetan Bisson 3 | # Contributor: mathieui 4 | # Contributor: jiribb 5 | 6 | pkgname=ldns 7 | pkgver=1.7.0 8 | pkgrel=3 9 | pkgdesc='Fast DNS library supporting recent RFCs' 10 | url='https://www.nlnetlabs.nl/projects/ldns/' 11 | license=('custom:BSD') 12 | arch=('i686') 13 | depends=('openssl') 14 | source=("https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz" 15 | 'pc.patch') 16 | sha256sums=('c19f5b1b4fb374cfe34f4845ea11b1e0551ddc67803bd6ddd5d2a20f0997a6cc' 17 | '3586302eed28269c7fa6013785c0a017689aa9d4ff24ff8d7735fa23a3732cb7') 18 | 19 | prepare() { 20 | cd "${srcdir}/${pkgname}-${pkgver}" 21 | patch -p1 -i ../pc.patch 22 | } 23 | 24 | build() { 25 | cd "${srcdir}/${pkgname}-${pkgver}" 26 | ./configure \ 27 | --prefix=/usr \ 28 | --sysconfdir=/etc \ 29 | --localstatedir=/var \ 30 | --disable-rpath \ 31 | --with-drill \ 32 | --with-examples \ 33 | --with-trust-anchor=/etc/trusted-key.key \ 34 | --disable-dane-verify # needs openssl>=1.1.0 35 | 36 | make 37 | } 38 | 39 | package() { 40 | cd "${srcdir}/${pkgname}-${pkgver}" 41 | make DESTDIR="${pkgdir}" install 42 | install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" 43 | } 44 | -------------------------------------------------------------------------------- /less/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Sébastien "Seblu" Luttringer 3 | # Contributor: Allan McRae 4 | # Contributor: judd 5 | 6 | pkgname=less 7 | pkgver=487 8 | pkgrel=1 9 | pkgdesc='A terminal based program for viewing text files' 10 | license=('GPL3') 11 | arch=('i686' 'x86_64') 12 | url='http://www.greenwoodsoftware.com/less' 13 | groups=('base') 14 | depends=('glibc' 'ncurses' 'pcre') 15 | validpgpkeys=('AE27252BD6846E7D6EAE1DD6F153A7C833235259') # Mark Nudelman 16 | source=("http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}) 17 | md5sums=('dcc8bf183a83b362d37fe9ef8df1fb60' 18 | 'SKIP') 19 | 20 | build() { 21 | cd $pkgname-$pkgver 22 | sh configure --prefix=/usr --sysconfdir=/etc --with-regex=pcre 23 | make 24 | } 25 | 26 | package() { 27 | cd $pkgname-$pkgver 28 | make DESTDIR="$pkgdir" install 29 | } 30 | 31 | # vim:set ts=2 sw=2 et: 32 | -------------------------------------------------------------------------------- /libarchive/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Bartłomiej Piotrowski 3 | # Maintainer: Dan McGee 4 | 5 | pkgname=libarchive 6 | pkgver=3.3.2 7 | pkgrel=1 8 | pkgdesc='Multi-format archive and compression library' 9 | arch=(i686 x86_64) 10 | url='http://libarchive.org/' 11 | license=(BSD) 12 | depends=(acl attr bzip2 expat lz4 openssl xz zlib) 13 | provides=(libarchive.so) 14 | source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz") 15 | sha256sums=('22560b89d420b11a4a724877bc6672b7d7c0f239e77d42a39dcc5a9c3b28db82') 16 | 17 | prepare() { 18 | cd $pkgname-$pkgver 19 | autoreconf -fi 20 | } 21 | 22 | build() { 23 | cd $pkgname-$pkgver 24 | 25 | ./configure \ 26 | --prefix=/usr \ 27 | --without-xml2 \ 28 | --without-nettle \ 29 | --disable-static 30 | 31 | make 32 | } 33 | 34 | check() { 35 | cd $pkgname-$pkgver 36 | make check 37 | } 38 | 39 | package() { 40 | cd $pkgname-$pkgver 41 | make DESTDIR="$pkgdir" install 42 | install -Dm644 COPYING "$pkgdir/usr/share/licenses/libarchive/COPYING" 43 | } 44 | -------------------------------------------------------------------------------- /libassuan/.unmodified: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/z3ntu/archhurd_packages/31183068de26418e449ca4fc30d5610793c96a42/libassuan/.unmodified -------------------------------------------------------------------------------- /libassuan/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Contributor: Tobias Powalowski 3 | # Maintainer: Gaetan Bisson 4 | 5 | pkgname=libassuan 6 | pkgver=2.4.3 7 | pkgrel=1 8 | pkgdesc='IPC library used by some GnuPG related software' 9 | url='http://www.gnupg.org/related_software/libassuan/' 10 | arch=('i686' 'x86_64') 11 | license=('GPL') 12 | depends=('libgpg-error') 13 | validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch 14 | source=("https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}) 15 | sha256sums=('22843a3bdb256f59be49842abf24da76700354293a066d82ade8134bb5aa2b71' 16 | 'SKIP') 17 | 18 | build() { 19 | cd "${srcdir}/${pkgname}-${pkgver}" 20 | ./configure --prefix=/usr 21 | make 22 | } 23 | 24 | check() { 25 | cd "${srcdir}/${pkgname}-${pkgver}" 26 | make check 27 | } 28 | 29 | package() { 30 | cd "${srcdir}/${pkgname}-${pkgver}" 31 | make DESTDIR="${pkgdir}" install 32 | } 33 | -------------------------------------------------------------------------------- /libatomic_ops/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Jan de Groot 3 | # Contributor: Adam Walters 4 | # Contributor: William Rea 5 | # Contributor: Rémy Oudompheng 6 | 7 | pkgname=libatomic_ops 8 | pkgver=7.4.6 9 | pkgrel=1 10 | pkgdesc="Provides semi-portable access to hardware provided atomic memory operations" 11 | arch=('i686') 12 | url="https://github.com/ivmai/libatomic_ops" 13 | depends=('glibc') 14 | license=('GPL2' 'MIT') 15 | source=($url/releases/download/v$pkgver/${pkgname}-${pkgver}.tar.gz) 16 | sha256sums=('96e88ba450ae5fa10aa8e94e6b151a63ffbe47f8069574bd12da22ae80c686db') 17 | 18 | build() { 19 | cd $pkgname-$pkgver 20 | ./autogen.sh 21 | ./configure --prefix=/usr --disable-static --enable-shared 22 | make 23 | } 24 | 25 | check() { 26 | cd $pkgname-$pkgver 27 | make check 28 | } 29 | 30 | package() { 31 | cd $pkgname-$pkgver 32 | make DESTDIR="$pkgdir" install 33 | install -Dm644 doc/LICENSING.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" 34 | rm -rf "$pkgdir/usr/share/doc/" 35 | } 36 | -------------------------------------------------------------------------------- /libbsd/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Lukas Fleischer 2 | # Contributor: Sven-Hendrik Haase 3 | # Contributor: Gerardo Exequiel Pozzi 4 | 5 | pkgname=libbsd 6 | pkgver=0.9.1 7 | pkgrel=1 8 | pkgdesc='Provides useful functions commonly found on BSD systems like strlcpy()' 9 | arch=('x86_64') 10 | url="http://libbsd.freedesktop.org" 11 | license=('custom') 12 | depends=('glibc') 13 | options=('staticlibs') 14 | source=("https://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.asc}) 15 | md5sums=('a74b80c4143afa032c90226a4518fffe' 16 | 'SKIP') 17 | validpgpkeys=('4F3E74F436050C10F5696574B972BF3EA4AE57A3') # Guillem Jover 18 | 19 | build() { 20 | cd "$pkgname-$pkgver" 21 | 22 | ./configure --prefix=/usr 23 | make 24 | } 25 | 26 | check() { 27 | cd "$pkgname-$pkgver" 28 | make check 29 | } 30 | 31 | package() { 32 | cd "$pkgname-$pkgver" 33 | 34 | make DESTDIR="$pkgdir" install 35 | rm "${pkgdir}"/usr/lib/libbsd.a 36 | install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" 37 | 38 | # included now in man-pages, FS#53351 39 | rm -f "${pkgdir}"/usr/share/man/man3/explicit_bzero.3 40 | } 41 | -------------------------------------------------------------------------------- /libdatrie/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Jan de Groot 3 | # Contributor: Chaiwat Suttipongsakul 4 | 5 | pkgname=libdatrie 6 | pkgver=0.2.10 7 | pkgrel=2 8 | pkgdesc="Implementation of double-array structure for representing trie, as proposed by Junichi Aoe." 9 | url="https://linux.thai.net/projects/datrie" 10 | license=('LGPL') 11 | arch=('x86_64') 12 | depends=('glibc') 13 | options=('!emptydirs') 14 | source=(https://linux.thai.net/pub/thailinux/software/libthai/${pkgname}-${pkgver}.tar.xz) 15 | md5sums=('22d4fca2a09c58584a461b115d3d57f1') 16 | sha256sums=('180eff7b0309ca19a02d5864e744185d715f021398a096fec6cf960f8ebfaa2b') 17 | 18 | build() { 19 | cd "${srcdir}/${pkgname}-${pkgver}" 20 | ./configure --prefix=/usr --disable-static 21 | make 22 | } 23 | 24 | package() { 25 | cd "${srcdir}/${pkgname}-${pkgver}" 26 | make DESTDIR="${pkgdir}" install 27 | } 28 | -------------------------------------------------------------------------------- /libedit/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Gaetan Bisson 3 | # Maintainer: Vesa Kaihlavirta 4 | # Contributor: Roman Cheplyaka 5 | 6 | pkgname=libedit 7 | _pkgver=20170329-3.1 8 | pkgver=${_pkgver/-/_} 9 | pkgrel=1 10 | pkgdesc='Command line editor library providing generic line editing, history, and tokenization functions' 11 | url='http://thrysoee.dk/editline/' 12 | arch=('i686') 13 | license=('BSD') 14 | depends=('ncurses') 15 | source=("http://thrysoee.dk/editline/libedit-${_pkgver}.tar.gz") 16 | sha256sums=('91f2d90fbd2a048ff6dad7131d9a39e690fd8a8fd982a353f1333dd4017dd4be') 17 | 18 | build() { 19 | cd "${srcdir}/${pkgname}-${_pkgver}" 20 | ./configure --prefix=/usr --enable-widec 21 | make 22 | } 23 | 24 | package() { 25 | cd "${srcdir}/${pkgname}-${_pkgver}" 26 | make prefix="${pkgdir}"/usr install 27 | 28 | rm "${pkgdir}"/usr/share/man/man3/history.3 # conflicts with readline 29 | cp "${pkgdir}"/usr/share/man/man3/editline.3 "${pkgdir}"/usr/share/man/man3/el.3 30 | install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/libedit/LICENSE 31 | } 32 | -------------------------------------------------------------------------------- /libffi/0001-Fix-paths-in-libffi.pc.in.patch: -------------------------------------------------------------------------------- 1 | From ad0d1d239afc7ad09203847793dcc020856d1035 Mon Sep 17 00:00:00 2001 2 | From: Samuli Suominen 3 | Date: Thu, 12 Jun 2014 06:30:21 -0400 4 | Subject: [PATCH] Fix paths in libffi.pc.in 5 | 6 | --- 7 | configure.ac | 10 +++++----- 8 | 1 file changed, 5 insertions(+), 5 deletions(-) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index 4f7fe3f..bbc1a9d 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -590,11 +590,11 @@ AC_ARG_ENABLE(purify-safety, 15 | if test "x$GCC" = "xyes"; then 16 | if test -n "$with_cross_host" && 17 | test x"$with_cross_host" != x"no"; then 18 | - toolexecdir='$(exec_prefix)/$(target_alias)' 19 | - toolexeclibdir='$(toolexecdir)/lib' 20 | + toolexecdir="${exec_prefix}"/'$(target_alias)' 21 | + toolexeclibdir="${toolexecdir}"/lib 22 | else 23 | - toolexecdir='$(libdir)/gcc-lib/$(target_alias)' 24 | - toolexeclibdir='$(libdir)' 25 | + toolexecdir="${libdir}"/gcc-lib/'$(target_alias)' 26 | + toolexeclibdir="${libdir}" 27 | fi 28 | multi_os_directory=`$CC $CFLAGS -print-multi-os-directory` 29 | case $multi_os_directory in 30 | @@ -603,7 +603,7 @@ if test "x$GCC" = "xyes"; then 31 | esac 32 | AC_SUBST(toolexecdir) 33 | else 34 | - toolexeclibdir='$(libdir)' 35 | + toolexeclibdir="${libdir}" 36 | fi 37 | AC_SUBST(toolexeclibdir) 38 | 39 | -- 40 | 2.0.0 41 | 42 | -------------------------------------------------------------------------------- /libffi/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Bartłomiej Piotrowski 3 | # Contributor: Stéphane Gaudreault 4 | # Contributor: Jan de Groot 5 | 6 | pkgname=libffi 7 | pkgver=3.2.1 8 | pkgrel=2 9 | pkgdesc='Portable foreign function interface library' 10 | arch=('i686' 'x86_64') 11 | url='http://sourceware.org/libffi/' 12 | license=('MIT') 13 | depends=('glibc') 14 | checkdepends=('dejagnu') 15 | source=(ftp://sourceware.org/pub/libffi/libffi-$pkgver.tar.gz) 16 | sha1sums=('280c265b789e041c02e5c97815793dfc283fb1e6') 17 | 18 | build() { 19 | cd $pkgname-$pkgver 20 | ./configure --prefix=/usr --disable-static \ 21 | --enable-pax_emutramp 22 | make 23 | } 24 | 25 | check() { 26 | make -C $pkgname-$pkgver check 27 | } 28 | 29 | package() { 30 | cd $pkgname-$pkgver 31 | make DESTDIR="$pkgdir" install 32 | install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE 33 | } 34 | -------------------------------------------------------------------------------- /libgcrypt/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Andreas Radke 3 | 4 | # after a .so bump first rebuild dirmngr 5 | # with sudo testing-x86_64-build -- -I libgcrypt-1.6.0-1-x86_64.pkg.tar.xz 6 | # then cp /usr/lib/libgcrypt.so.11 /var/lib/archbuild/staging-x86_64/root/usr/lib/ and do staging-x86_64-build 7 | 8 | pkgname=libgcrypt 9 | pkgver=1.8.1 10 | pkgrel=1 11 | pkgdesc="General purpose cryptographic library based on the code from GnuPG" 12 | arch=(i686 x86_64) 13 | url="http://www.gnupg.org" 14 | license=('LGPL') 15 | depends=('libgpg-error') 16 | options=('!emptydirs') 17 | # https://www.gnupg.org/download/integrity_check.html 18 | source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig}) 19 | # https://gnupg.org/download/integrity_check.html 20 | sha1sums=('dd35f00da45602afe81e01f4d60c40bbdd826fe6' 21 | 'SKIP') 22 | validpgpkeys=('031EC2536E580D8EA286A9F22071B08A33BD3F06' # "NIIBE Yutaka (GnuPG Release Key) " 23 | 'D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch 24 | 25 | #prepare() { 26 | # cd ${pkgname}-${pkgver} 27 | #} 28 | 29 | build() { 30 | cd ${pkgname}-${pkgver} 31 | ./configure --prefix=/usr \ 32 | --disable-static \ 33 | --disable-padlock-support 34 | make 35 | } 36 | 37 | check() { 38 | cd ${pkgname}-${pkgver} 39 | make check 40 | } 41 | 42 | package() { 43 | cd ${pkgname}-${pkgver} 44 | make DESTDIR=${pkgdir} install 45 | } 46 | -------------------------------------------------------------------------------- /libgpg-error/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Andreas Radke 3 | # Contributor: judd 4 | 5 | pkgname=libgpg-error 6 | pkgver=1.27 7 | pkgrel=1 8 | pkgdesc="Support library for libgcrypt" 9 | arch=(i686 x86_64) 10 | url="https://www.gnupg.org" 11 | license=('LGPL') 12 | depends=('glibc' 'sh') 13 | source=(ftp://ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2{,.sig}) 14 | #ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2) 15 | # https://www.gnupg.org/download/integrity_check.html 16 | sha1sums=('a428758999ff573e62d06892e3d2c0b0f335787c' 17 | 'SKIP') 18 | validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6' # Werner Koch 19 | '031EC2536E580D8EA286A9F22071B08A33BD3F06') # NIIBE Yutaka (GnuPG Release Key) 20 | build() { 21 | cd ${pkgname}-${pkgver} 22 | ./configure --prefix=/usr 23 | make 24 | } 25 | 26 | check() { 27 | cd ${pkgname}-${pkgver} 28 | make check 29 | } 30 | 31 | package() { 32 | cd ${pkgname}-${pkgver} 33 | make DESTDIR="${pkgdir}/" install 34 | } 35 | -------------------------------------------------------------------------------- /libidn/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Ronald van Haren 3 | # Contributor: Jan de Groot 4 | # Contributor: Eric Johnson 5 | 6 | pkgname=libidn 7 | pkgver=1.33 8 | pkgrel=2 9 | pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications" 10 | url="https://www.gnu.org/software/libidn/" 11 | arch=('x86_64') 12 | license=('GPL3' 'LGPL') 13 | depends=('glibc') 14 | source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig} 15 | gcc7_buildfix.diff) 16 | sha256sums=('44a7aab635bb721ceef6beecc4d49dfd19478325e1b47f3196f7d2acc4930e19' 17 | 'SKIP' 18 | '1b539ba3916fe8982d596f4de9a65138ae9a35a042e1673328a092a478b7fb33') 19 | validpgpkeys=('9AA9BDB11BB1B99A21285A330664A76954265E8C') # "Simon Josefsson " 20 | 21 | prepare() { 22 | cd ${pkgname}-${pkgver} 23 | # fix build with gcc7 24 | patch -Np1 -i ../gcc7_buildfix.diff 25 | } 26 | 27 | build() { 28 | cd ${pkgname}-${pkgver} 29 | ./configure --prefix=/usr 30 | make 31 | } 32 | 33 | check() { 34 | cd ${pkgname}-${pkgver} 35 | make check 36 | } 37 | package() { 38 | cd ${pkgname}-${pkgver} 39 | make DESTDIR=${pkgdir} install 40 | # doc html installation - gtk-doc isn't supported anymore - FS#55151 41 | mkdir -p ${pkgdir}/usr/share/gtk-doc/html/${pkgname} 42 | cp -r -v doc/reference/html/* ${pkgdir}/usr/share/gtk-doc/html/${pkgname} 43 | } 44 | -------------------------------------------------------------------------------- /libidn2/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Evangelos Foutras 3 | # Contributor: Daurnimator 4 | 5 | pkgname=libidn2 6 | pkgver=2.0.4 7 | pkgrel=2 8 | pkgdesc="Free software implementation of IDNA2008, Punycode and TR46" 9 | arch=('x86_64') 10 | url="https://www.gnu.org/software/libidn/#libidn2" 11 | license=('GPL2' 'LGPL3') 12 | depends=('libunistring') 13 | #makedepends=('gtk-doc' 'ruby-ronn') 14 | source=(https://ftp.gnu.org/gnu/libidn/$pkgname-$pkgver.tar.gz{,.sig}) 15 | sha256sums=('644b6b03b285fb0ace02d241d59483d98bc462729d8bb3608d5cad5532f3d2f0' 16 | 'SKIP') 17 | validpgpkeys=('1CB27DBC98614B2D5841646D08302DB6A2670428') 18 | 19 | prepare() { 20 | cd $pkgname-$pkgver 21 | # https://gitlab.com/libidn/libidn2/issues/39 22 | autoreconf -fvi 23 | } 24 | 25 | build() { 26 | cd $pkgname-$pkgver 27 | ./configure --prefix=/usr 28 | make 29 | } 30 | 31 | check() { 32 | cd $pkgname-$pkgver 33 | make check 34 | } 35 | package() { 36 | cd $pkgname-$pkgver 37 | make DESTDIR="$pkgdir" install 38 | } 39 | 40 | # vim:set ts=2 sw=2 et: 41 | -------------------------------------------------------------------------------- /libisoburn/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Andreas Radke 3 | # Contributor: Gour 4 | 5 | pkgname=libisoburn 6 | pkgver=1.4.8 #.pl01 7 | pkgrel=1 8 | pkgdesc="frontend for libraries libburn and libisofs" 9 | url="https://dev.lovelyhq.com/libburnia" 10 | arch=('x86_64') 11 | license=('GPL2') 12 | depends=('libburn' 'libisofs' 'readline') 13 | optdepends=('tk: for xorriso-tcltk frontend' 14 | 'bwidget: for xorriso-tcltk frontend') 15 | provides=('xorriso' 'xorriso-tcltk') 16 | source=(http://files.libburnia-project.org/releases/${pkgname}-${pkgver}.tar.gz{,.sig}) 17 | sha256sums=('91cf50473f0f19400629515974bda441545aaae29862dcbbdb28d87b821ca5a5' 18 | 'SKIP') 19 | validpgpkeys=('44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854') # Thomas Schmitt 20 | 21 | build() { 22 | cd ${pkgname}-${pkgver/.pl01/} 23 | ./configure --prefix=/usr 24 | make 25 | } 26 | 27 | package() { 28 | cd ${pkgname}-${pkgver/.pl01/} 29 | make DESTDIR=${pkgdir} install 30 | } 31 | -------------------------------------------------------------------------------- /libksba/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: 3 | # Contributor: Damir Perisa 4 | 5 | pkgname=libksba 6 | pkgver=1.3.5 7 | pkgrel=1 8 | pkgdesc="A CMS and X.509 access library" 9 | arch=(i686 x86_64) 10 | license=('GPL') 11 | url="https://www.gnupg.org/related_software/libksba/index.html" 12 | depends=('bash' 'libgpg-error' 'glibc') 13 | source=(https://www.gnupg.org/ftp/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2{,.sig}) 14 | sha1sums=('a98385734a0c3f5b713198e8d6e6e4aeb0b76fde' 15 | 'SKIP') 16 | validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch 17 | build() { 18 | cd $srcdir/$pkgname-$pkgver 19 | ./configure --prefix=/usr 20 | make 21 | } 22 | 23 | check() { 24 | cd $srcdir/$pkgname-$pkgver 25 | make check 26 | } 27 | 28 | package() { 29 | cd $srcdir/$pkgname-$pkgver 30 | make DESTDIR=$pkgdir install 31 | } 32 | -------------------------------------------------------------------------------- /libmpc/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Allan McRae 3 | 4 | pkgname=libmpc 5 | pkgver=1.0.3 6 | pkgrel=2 7 | pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision" 8 | arch=('i686' 'x86_64') 9 | url="http://www.multiprecision.org/" 10 | license=('LGPL') 11 | depends=('mpfr') 12 | source=(http://www.multiprecision.org/mpc/download/mpc-${pkgver/_/-}.tar.gz{,.sig}) 13 | md5sums=('d6a1d5f8ddea3abd2cc3e98f58352d26' 14 | 'SKIP') 15 | validpgpkeys=('AD17A21EF8AED8F1CC02DBD9F7D5C9BF765C61E3') # Andreas Enge 16 | 17 | build() { 18 | cd "${srcdir}/mpc-${pkgver}" 19 | ./configure --prefix=/usr 20 | make 21 | } 22 | 23 | check() { 24 | cd "${srcdir}/mpc-${pkgver}" 25 | make check 26 | } 27 | 28 | package() { 29 | cd "${srcdir}/mpc-${pkgver}" 30 | make DESTDIR="${pkgdir}" install 31 | mv ${pkgdir}/usr/share/info/{mpc,libmpc}.info 32 | } 33 | -------------------------------------------------------------------------------- /libnghttp2/.unmodified: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/z3ntu/archhurd_packages/31183068de26418e449ca4fc30d5610793c96a42/libnghttp2/.unmodified -------------------------------------------------------------------------------- /libnghttp2/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id: PKGBUILD 289632 2017-02-27 17:36:38Z anatolik $ 2 | # Maintainer: Anatol Pomozov 3 | # Contributor: Zhuoyun Wei 4 | 5 | pkgname=libnghttp2 6 | pkgver=1.31.1 7 | pkgrel=1 8 | pkgdesc='Framing layer of HTTP/2 is implemented as a reusable C library' 9 | arch=(x86_64) 10 | url='https://nghttp2.org/' 11 | license=(MIT) 12 | depends=(glibc) 13 | conflicts=('nghttp2<1.20.0-2') 14 | source=(https://github.com/nghttp2/nghttp2/releases/download/v$pkgver/nghttp2-$pkgver.tar.xz) 15 | sha256sums=('65b9c83ae95a7760a14410aeefa9d441c34453027bc938df7a2272520f32e103') 16 | 17 | build() { 18 | cd nghttp2-$pkgver 19 | 20 | autoreconf -i 21 | ./configure \ 22 | --prefix=/usr \ 23 | --disable-examples \ 24 | --disable-python-bindings \ 25 | --enable-lib-only 26 | make 27 | } 28 | 29 | check() { 30 | cd nghttp2-$pkgver 31 | make check 32 | } 33 | 34 | package() { 35 | cd nghttp2-$pkgver/lib 36 | 37 | make DESTDIR="$pkgdir" install 38 | install -Dm644 ../COPYING "$pkgdir/usr/share/licenses/libnghttp2/COPYING" 39 | } 40 | -------------------------------------------------------------------------------- /libpcap/disable-remote.diff: -------------------------------------------------------------------------------- 1 | Disable bits of remote capture support inherited from the WinPCAP merge 2 | which cause applications to FTBFS if they define HAVE_REMOTE (#843384). 3 | 4 | --- a/pcap/pcap.h 5 | +++ b/pcap/pcap.h 6 | @@ -506,6 +506,11 @@ 7 | #define MODE_STAT 1 8 | #define MODE_MON 2 9 | 10 | +#ifdef HAVE_REMOTE 11 | + /* Includes most of the public stuff that is needed for the remote capture */ 12 | + #include 13 | +#endif /* HAVE_REMOTE */ 14 | + 15 | #elif defined(MSDOS) 16 | 17 | /* 18 | @@ -526,11 +531,6 @@ 19 | 20 | #endif /* _WIN32/MSDOS/UN*X */ 21 | 22 | -#ifdef HAVE_REMOTE 23 | - /* Includes most of the public stuff that is needed for the remote capture */ 24 | - #include 25 | -#endif /* HAVE_REMOTE */ 26 | - 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | -------------------------------------------------------------------------------- /libpcap/makefile.in.patch: -------------------------------------------------------------------------------- 1 | Something's weird here but this seems to work. 2 | 3 | --- a/Makefile.in 2018-03-30 14:19:42.000000000 +0000 4 | +++ b/Makefile.in 2018-03-30 14:19:47.000000000 +0000 5 | @@ -371,7 +371,7 @@ 6 | @rm -f $@ 7 | VER=`cat $(srcdir)/VERSION`; \ 8 | MAJOR_VER=`sed 's/\([0-9][0-9]*\)\..*/\1/' $(srcdir)/VERSION`; \ 9 | - @V_SHLIB_CMD@ @V_SHLIB_OPT@ @V_SONAME_OPT@$@.$$MAJOR_VER $(LDFLAGS) \ 10 | + @V_SHLIB_CMD@ @V_SHLIB_OPT@ @V_SONAME_OPT@ $(LDFLAGS) \ 11 | -o $@.$$VER $(OBJ) $(ADDLOBJS) $(LIBS) 12 | 13 | # 14 | -------------------------------------------------------------------------------- /libpciaccess/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ 2 | # Maintainer: Jan de Groot 3 | # Contributor: Alexander Baldeck 4 | 5 | pkgname=libpciaccess 6 | pkgver=0.14 7 | pkgrel=1 8 | pkgdesc="X11 PCI access library" 9 | arch=(x86_64) 10 | license=('custom') 11 | url="https://xorg.freedesktop.org/" 12 | depends=('glibc') 13 | #makedepends=('xorg-util-macros') 14 | source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2{,.sig}) 15 | sha512sums=('bf40214dfd22f2a223f7c948566e6eaa4bfed60116e71b3eb19f6fe7ab2c4546649eb0416c06d5983e476ea5e27de036936646eb5f800ea97763b6d1f1976f4b' 16 | 'SKIP') 17 | validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith 18 | validpgpkeys+=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D') # "Emil Velikov " 19 | validpgpkeys+=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # "Adam Jackson " 20 | 21 | build() { 22 | cd ${pkgname}-${pkgver} 23 | ./configure --prefix=/usr --sysconfdir=/etc 24 | make 25 | } 26 | 27 | package() { 28 | cd ${pkgname}-${pkgver} 29 | make DESTDIR="${pkgdir}" install 30 | install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" 31 | install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" 32 | } 33 | -------------------------------------------------------------------------------- /libpipeline/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Andreas Radke 3 | 4 | pkgname=libpipeline 5 | pkgver=1.5.0 6 | pkgrel=1 7 | pkgdesc="a C library for manipulating pipelines of subprocesses in a flexible and convenient way" 8 | arch=('x86_64') 9 | url="https://libpipeline.nongnu.org/" 10 | license=('GPL') 11 | depends=('glibc') 12 | source=(https://download.savannah.gnu.org/releases/libpipeline/$pkgname-$pkgver.tar.gz{,.sig}) 13 | sha256sums=('0d72e12e4f2afff67fd7b9df0a24d7ba42b5a7c9211ac5b3dcccc5cd8b286f2b' 14 | 'SKIP') 15 | validpgpkeys=('AC0A4FF12611B6FCCF01C111393587D97D86500B') # Colin Watson 16 | 17 | build() { 18 | cd $pkgname-$pkgver 19 | ./configure --prefix=/usr 20 | make 21 | } 22 | 23 | check() { 24 | cd $pkgname-$pkgver 25 | make check 26 | } 27 | 28 | package() { 29 | cd $pkgname-$pkgver 30 | make DESTDIR="$pkgdir/" install 31 | } 32 | -------------------------------------------------------------------------------- /libpsl/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Levente Polyak 2 | # Contributor: Darshit Shah 3 | 4 | pkgname=libpsl 5 | pkgver=0.18.0 6 | pkgrel=2 7 | pkgdesc='Public Suffix List library' 8 | url='https://github.com/rockdaboot/libpsl' 9 | arch=('x86_64') 10 | license=('MIT') 11 | depends=('libidn2' 'libunistring') 12 | makedepends=('libxslt' 'python' 'publicsuffix-list') 13 | source=(https://github.com/rockdaboot/libpsl/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz) 14 | sha512sums=('ff61a6a49411ab6968cff820bccfd25b92790cd503ef2fce8e754a92af5bc9d43d224b36c60f815354022c384635eb47d56231301b36d639e86908e9cafb8cb7') 15 | 16 | prepare() { 17 | cd ${pkgname}-${pkgver} 18 | rm -frv list 19 | } 20 | 21 | build() { 22 | cd ${pkgname}-${pkgver} 23 | ./configure \ 24 | --prefix=/usr \ 25 | --disable-static \ 26 | --disable-dependency-tracking \ 27 | --enable-man \ 28 | --enable-{builtin,runtime}=libidn2 \ 29 | --with-psl-file=/usr/share/publicsuffix/effective_tld_names.dat \ 30 | --with-psl-testfile=/usr/share/publicsuffix/test_psl.txt 31 | LC_CTYPE=en_US.UTF-8 make 32 | } 33 | 34 | check() { 35 | cd ${pkgname}-${pkgver} 36 | make check 37 | } 38 | 39 | package() { 40 | cd ${pkgname}-${pkgver} 41 | make DESTDIR="${pkgdir}" install 42 | install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" 43 | install -Dm 644 docs/libpsl/libpsl.3 -t "${pkgdir}/usr/share/man/man3" 44 | } 45 | 46 | # vim: ts=2 sw=2 et: 47 | -------------------------------------------------------------------------------- /libssh2/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Dave Reisner 3 | # Contributor: Angel Velasquez 4 | # Contributor: Sergej Pupykin 5 | # Contributor: Andrea Scarpino 6 | # Contributor: ice-man 7 | 8 | pkgname=libssh2 9 | pkgver=1.8.0 10 | pkgrel=2 11 | pkgdesc="A library implementing the SSH2 protocol as defined by Internet Drafts" 12 | url="https://www.libssh2.org/" 13 | arch=('x86_64') 14 | license=('BSD') 15 | depends=('openssl') 16 | makedepends=('zlib') 17 | provides=('libssh2.so') 18 | validpgpkeys=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2' # Daniel Stenberg 19 | '914C533DF9B2ADA2204F586D78E11C6B279D5C91') # Daniel Stenberg (old key) 20 | source=("https://www.libssh2.org/download/$pkgname-$pkgver.tar.gz"{,.asc}) 21 | md5sums=('3d1147cae66e2959ea5441b183de1b1c' 22 | 'SKIP') 23 | 24 | build() { 25 | cd "$pkgname-$pkgver" 26 | 27 | ./configure --prefix=/usr 28 | make 29 | } 30 | 31 | package() { 32 | cd "$pkgname-$pkgver" 33 | 34 | make DESTDIR="$pkgdir" install 35 | install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" 36 | } 37 | -------------------------------------------------------------------------------- /libtasn1/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: AndyRTR 3 | # Maintainer: Jan de Groot 4 | # Contributor: judd 5 | 6 | pkgname=libtasn1 7 | pkgver=4.12 8 | pkgrel=2 9 | pkgdesc="The ASN.1 library used in GNUTLS" 10 | arch=('i686' 'x86_64') 11 | license=('GPL3' 'LGPL') 12 | url="https://www.gnu.org/software/libtasn1/" 13 | depends=('glibc') 14 | source=(https://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz{,.sig}) 15 | sha256sums=('6753da2e621257f33f5b051cc114d417e5206a0818fe0b1ecfd6153f70934753' 16 | 'SKIP') 17 | validpgpkeys=('1F42418905D8206AA754CCDC29EE58B996865171') #Nikos Mavrogiannopoulos 18 | 19 | build() { 20 | cd ${pkgname}-${pkgver} 21 | ./configure --prefix=/usr \ 22 | --with-packager=Archlinux \ 23 | --with-packager-bug-reports="http://bugs.archlinux.org/" \ 24 | --with-packager-version=${pkgver}-${pkgrel} 25 | make 26 | } 27 | 28 | check() { 29 | cd ${pkgname}-${pkgver} 30 | make check 31 | } 32 | 33 | package() { 34 | cd ${pkgname}-${pkgver} 35 | make DESTDIR="${pkgdir}" install 36 | make -C doc/reference DESTDIR="${pkgdir}" install-data-local 37 | } 38 | -------------------------------------------------------------------------------- /libthai/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Jan de Groot 3 | # Contributor: Chaiwat Suttipongsakul 4 | 5 | pkgname=libthai 6 | pkgver=0.1.27 7 | pkgrel=1 8 | pkgdesc="Thai language support routines" 9 | url="https://linux.thai.net/projects/libthai" 10 | arch=('x86_64') 11 | license=('LGPL') 12 | depends=('libdatrie') 13 | makedepends=('pkgconfig') 14 | options=('!emptydirs') 15 | source=(https://linux.thai.net/pub/thailinux/software/${pkgname}/${pkgname}-${pkgver}.tar.xz) 16 | md5sums=('2f851d6bc940080e1af1d38504d4f564') 17 | sha256sums=('1659fa1b7b1d6562102d7feb8c8c3fd94bb2dc5761ed7dbaae4f300e1c03eff6') 18 | 19 | build() { 20 | cd ${pkgname}-${pkgver} 21 | ./configure --prefix=/usr --disable-static 22 | make 23 | } 24 | 25 | package() { 26 | cd ${pkgname}-${pkgver} 27 | make DESTDIR="${pkgdir}" install 28 | } 29 | -------------------------------------------------------------------------------- /libtool/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Allan McRae 3 | # Contributor: judd 4 | 5 | # NOTE: requires rebuilt with each new gcc version 6 | 7 | pkgname=libtool 8 | pkgver=2.4.6 9 | pkgrel=8 10 | _gccver=6.4.0 11 | pkgdesc="A generic library support script" 12 | arch=('i686' 'x86_64') 13 | url="http://www.gnu.org/software/libtool" 14 | license=('GPL') 15 | groups=('base-devel') 16 | depends=('sh' 'tar' 'glibc') 17 | makedepends=("gcc=$_gccver") 18 | provides=("libltdl=$pkgver" "libtool-multilib=$pkgver") 19 | conflicts=('libltdl' 'libtool-multilib') 20 | replaces=('libltdl' 'libtool-multilib') 21 | source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz{,.sig}) 22 | md5sums=('1bfb9b923f2c1339b4d2ce1807064aa5' 23 | 'SKIP') 24 | validpgpkeys=('CFE2BE707B538E8B26757D84151308092983D606') # Gary Vaughan 25 | 26 | build() { 27 | cd ${srcdir}/${pkgbase}-${pkgver} 28 | ./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/usr/lib /usr/lib32" 29 | make 30 | } 31 | 32 | check() { 33 | cd ${srcdir}/${pkgbase}-${pkgver} 34 | make check 35 | } 36 | 37 | package() { 38 | cd ${srcdir}/${pkgbase}-${pkgver} 39 | make DESTDIR=${pkgdir} install 40 | } 41 | -------------------------------------------------------------------------------- /libunistring/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Bartłomiej Piotrowski 3 | # Contributor: Jan de Groot 4 | # Contributor: Sergej Pupykin 5 | # Contributor: Emmanuel 'guinness' Boudreault 6 | # Contributor: Patrick McCarty 7 | 8 | pkgname=libunistring 9 | pkgver=0.9.7 10 | pkgrel=1 11 | pkgdesc='Library for manipulating Unicode strings and C strings' 12 | url='http://www.gnu.org/software/libunistring/' 13 | arch=('i686' 'x86_64') 14 | license=('GPL') 15 | depends=('glibc') 16 | source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig}) 17 | validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871') # Daiki Ueno 18 | md5sums=('82e0545363d111bfdfec2ddbfe62ffd3' 19 | 'SKIP') 20 | 21 | build() { 22 | cd $pkgname-$pkgver 23 | ./configure --prefix=/usr 24 | make 25 | } 26 | 27 | check() { 28 | make -C $pkgname-$pkgver check 29 | } 30 | 31 | package() { 32 | make -C $pkgname-$pkgver DESTDIR="$pkgdir" install 33 | } 34 | -------------------------------------------------------------------------------- /libxml2/libxml2-2.9.4-remove-pyverify_fd.patch: -------------------------------------------------------------------------------- 1 | diff -Nur libxml2-2.9.4.orig/python/types.c libxml2-2.9.4/python/types.c 2 | --- libxml2-2.9.4.orig/python/types.c 2016-02-09 03:17:33.000000000 -0700 3 | +++ libxml2-2.9.4/python/types.c 2016-12-21 12:34:06.755650986 -0700 4 | @@ -31,8 +31,6 @@ 5 | const char *mode; 6 | 7 | fd = PyObject_AsFileDescriptor(f); 8 | - if (!_PyVerify_fd(fd)) 9 | - return(NULL); 10 | /* 11 | * Get the flags on the fd to understand how it was opened 12 | */ 13 | -------------------------------------------------------------------------------- /libxslt/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Eric Belanger 3 | # Contributor: John Proctor 4 | 5 | pkgname=libxslt 6 | pkgver=1.1.32+3+g32c88216 7 | pkgrel=1 8 | pkgdesc="XML stylesheet transformation library" 9 | url="http://xmlsoft.org/XSLT/" 10 | arch=(i686 x86_64) 11 | license=(custom) 12 | depends=(libxml2 libgcrypt) 13 | makedepends=(git) # python2 14 | checkdepends=(docbook-xml) # python 15 | _commit=32c88216ddbaa0f3491f45bc84ee89285c6a1129 # master 16 | source=("git+https://git.gnome.org/browse/libxslt#commit=$_commit") 17 | sha256sums=('SKIP') 18 | 19 | pkgver() { 20 | cd $pkgname 21 | git describe --tags | sed 's/^v//;s/-/+/g' 22 | } 23 | 24 | prepare() { 25 | cd $pkgname 26 | 27 | sed -e 's|/usr/bin/python -u|/usr/bin/python2 -u|g' \ 28 | -e 's|/usr/bin/python$|/usr/bin/python2|g' \ 29 | -i python/tests/*.py 30 | 31 | NOCONFIGURE=1 ./autogen.sh 32 | } 33 | 34 | build() { 35 | cd $pkgname 36 | ./configure --prefix=/usr --with-python=/usr/bin/python2 37 | sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool 38 | make 39 | } 40 | 41 | check() { 42 | cd $pkgname 43 | make check 44 | } 45 | 46 | package() { 47 | cd $pkgname 48 | make DESTDIR="$pkgdir" install 49 | install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" 50 | find "$pkgdir" -name '*.a' -print -delete 51 | } 52 | -------------------------------------------------------------------------------- /lostfiles/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Contributor: graysky 2 | 3 | pkgname=lostfiles 4 | pkgver=3.26 5 | pkgrel=1 6 | pkgdesc='Find orphaned files not owned by any Arch packages' 7 | arch=('any') 8 | license=('GPL2') 9 | url="https://github.com/graysky2/lostfiles" 10 | source=("https://github.com/graysky2/$pkgname/archive/v$pkgver.tar.gz") 11 | sha256sums=('42c5408b1bbc32eafebf16b0f843c775b39356b6edecdff5437d3e58c1c614ed') 12 | 13 | package() { 14 | cd "$pkgname-$pkgver" 15 | install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname" 16 | } 17 | -------------------------------------------------------------------------------- /lynx/lynx-2.8.8-openssl.patch: -------------------------------------------------------------------------------- 1 | --- lynx2-8-8/WWW/Library/Implementation/HTTP.c.orig 2017-03-16 09:24:30.608537810 +0000 2 | +++ lynx2-8-8/WWW/Library/Implementation/HTTP.c 2017-03-16 09:25:21.728457895 +0000 3 | @@ -720,7 +720,7 @@ 4 | #elif SSLEAY_VERSION_NUMBER >= 0x0900 5 | #ifndef USE_NSS_COMPAT_INCL 6 | if (!try_tls) { 7 | - handle->options |= SSL_OP_NO_TLSv1; 8 | + SSL_set_options(handle, SSL_OP_NO_TLSv1); 9 | #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT) 10 | } else { 11 | int ret = (int) SSL_set_tlsext_host_name(handle, ssl_host); 12 | -------------------------------------------------------------------------------- /lz4/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Sébastien Luttringer 3 | 4 | pkgname=lz4 5 | epoch=1 6 | pkgver=1.8.0 7 | pkgrel=1 8 | pkgdesc='Extremely fast compression algorithm' 9 | arch=('x86_64') 10 | url='http://www.lz4.org/' 11 | license=('GPL2') 12 | makedepends=('git') 13 | checkdepends=('diffutils') 14 | depends=('glibc') 15 | source=("git+https://github.com/lz4/lz4.git#tag=v$pkgver") 16 | md5sums=('SKIP') 17 | 18 | build() { 19 | # do not use the main makefile, it calls sub make with -e 20 | # exported CLFAGS by makepkg break the version. see FS#50071 21 | cd $pkgname 22 | make -C lib PREFIX=/usr 23 | make -C programs PREFIX=/usr lz4 lz4c 24 | } 25 | 26 | check() { 27 | rm -f passwd.lz4 28 | $pkgname/programs/lz4 /etc/passwd passwd.lz4 29 | $pkgname/programs/lz4 -d passwd.lz4 passwd 30 | diff -q /etc/passwd passwd 31 | rm passwd 32 | } 33 | 34 | package() { 35 | cd $pkgname 36 | # mandir is broken since 1.8.0 37 | make install PREFIX=/usr MANDIR=/usr/share/man/man1 DESTDIR="$pkgdir" 38 | } 39 | 40 | # vim:set ts=2 sw=2 et: 41 | -------------------------------------------------------------------------------- /lzip/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Jiachen Yang 2 | # AUR Maintainer: apophys 3 | # Contributor: Christoph Zeiler 4 | # Contributor: Renzo Carbonara 5 | 6 | pkgname=lzip 7 | pkgver=1.19 8 | pkgrel=1 9 | pkgdesc="A lossless file compressor based on the LZMA algorithm" 10 | arch=('i686' 'x86_64') 11 | url="http://www.nongnu.org/lzip/lzip.html" 12 | license=('GPL3') 13 | depends=('gcc-libs') 14 | source=("https://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" 15 | "https://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz.sig") 16 | sha512sums=('513525c2731334fae99f7a17b1211e7a018446dc211e6ba52a95054e771c9577333a131608cb06a5279da16a4e4877076402b97e97ff6a145c3626fde22d3392' 17 | 'SKIP') 18 | validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz 19 | 20 | build() { 21 | cd "$srcdir/$pkgname-$pkgver" 22 | ./configure --prefix=/usr CXXFLAGS="$CXXFLAGS" 23 | make 24 | } 25 | 26 | package() { 27 | cd "$srcdir/$pkgname-$pkgver" 28 | make DESTDIR="$pkgdir" install{,-man} 29 | } 30 | -------------------------------------------------------------------------------- /lzo/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Contributor: Low Kian Seong 3 | # Maintainer: dorphell 4 | 5 | pkgname=lzo 6 | pkgver=2.10 7 | pkgrel=1 8 | pkgdesc="Portable lossless data compression library" 9 | arch=('x86_64') 10 | url="http://www.oberhumer.com/opensource/lzo" 11 | license=('GPL') 12 | depends=('glibc') 13 | source=(http://www.oberhumer.com/opensource/lzo/download/lzo-${pkgver}.tar.gz) 14 | sha1sums=('4924676a9bae5db58ef129dc1cebce3baa3c4b5d') 15 | 16 | build() { 17 | cd lzo-${pkgver} 18 | ./configure --prefix=/usr --enable-shared 19 | make 20 | 21 | # build minilzo 22 | gcc $CFLAGS -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c 23 | gcc $LDFLAGS -shared -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 minilzo/minilzo.o 24 | } 25 | 26 | check() { 27 | cd lzo-${pkgver} 28 | make test # Larger test 29 | make check 30 | } 31 | 32 | package() { 33 | cd lzo-${pkgver} 34 | make DESTDIR=${pkgdir} install 35 | 36 | # install minilzo 37 | install -m 755 libminilzo.so.0 ${pkgdir}/usr/lib 38 | install -p -m 644 minilzo/minilzo.h ${pkgdir}/usr/include/lzo 39 | cd ${pkgdir}/usr/lib 40 | ln -s libminilzo.so.0 libminilzo.so 41 | } 42 | -------------------------------------------------------------------------------- /m4/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Allan McRae 3 | # Contributor: Andreas Radke 4 | 5 | pkgname=m4 6 | pkgver=1.4.18 7 | pkgrel=1 8 | pkgdesc="The GNU macro processor" 9 | arch=('i686' 'x86_64') 10 | url="http://www.gnu.org/software/m4" 11 | license=('GPL3') 12 | groups=('base-devel') 13 | depends=('glibc' 'bash') 14 | source=(ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.xz) 15 | md5sums=('730bb15d96fffe47e148d1e09235af82') 16 | validpgpkeys=('71C2CC22B1C4602927D2F3AAA7A16B4A2527436A') # Eric Blake 17 | 18 | 19 | build() { 20 | cd $pkgname-$pkgver 21 | ./configure --prefix=/usr 22 | make 23 | } 24 | 25 | check() { 26 | cd $pkgname-$pkgver 27 | make check 28 | } 29 | 30 | package() { 31 | cd $pkgname-$pkgver 32 | make prefix=${pkgdir}/usr install 33 | } 34 | -------------------------------------------------------------------------------- /m4/m4-1.4.16-readlink-einval.patch: -------------------------------------------------------------------------------- 1 | diff -up m4-1.4.16/tests/test-readlink.h.orig m4-1.4.16/tests/test-readlink.h 2 | --- m4-1.4.16/tests/test-readlink.h.orig 2011-09-19 12:44:58.745546826 +0200 3 | +++ m4-1.4.16/tests/test-readlink.h 2011-09-19 12:46:00.079548410 +0200 4 | @@ -38,7 +38,7 @@ test_readlink (ssize_t (*func) (char con 5 | ASSERT (errno == ENOENT); 6 | errno = 0; 7 | ASSERT (func ("", buf, sizeof buf) == -1); 8 | - ASSERT (errno == ENOENT); 9 | + ASSERT (errno == ENOENT || errno == EINVAL); 10 | errno = 0; 11 | ASSERT (func (".", buf, sizeof buf) == -1); 12 | ASSERT (errno == EINVAL); 13 | -------------------------------------------------------------------------------- /m4/m4-1.4.17-perl-make-check.patch: -------------------------------------------------------------------------------- 1 | diff -up m4-1.4.17/build-aux/update-copyright.orig m4-1.4.17/build-aux/update-copyright 2 | --- m4-1.4.17/build-aux/update-copyright.orig 2015-07-13 11:25:19.502749690 +0200 3 | +++ m4-1.4.17/build-aux/update-copyright 2015-07-13 11:26:20.445044297 +0200 4 | @@ -124,7 +124,7 @@ use strict; 5 | use warnings; 6 | 7 | my $copyright_re = 'Copyright'; 8 | -my $circle_c_re = '(?:\([cC]\)|@copyright{}|©)'; 9 | +my $circle_c_re = '(?:\([cC]\)|@copyright\{}|\\\\\(co|©)'; 10 | my $holder = $ENV{UPDATE_COPYRIGHT_HOLDER}; 11 | $holder ||= 'Free Software Foundation, Inc.'; 12 | my $prefix_max = 5; 13 | -------------------------------------------------------------------------------- /make/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Allan McRae 3 | # Contributor: judd 4 | 5 | pkgname=make 6 | pkgver=4.2.1 7 | pkgrel=2 8 | pkgdesc="GNU make utility to maintain groups of programs" 9 | arch=('i686' 'x86_64') 10 | url="http://www.gnu.org/software/make" 11 | license=('GPL3') 12 | groups=('base-devel') 13 | depends=('glibc') # 'guile') 14 | source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig} 15 | guile-2.2.patch) 16 | md5sums=('15b012617e7c44c0ed482721629577ac' 17 | 'SKIP' 18 | '89bbbe3f806f208608e117665feb562b') 19 | validpgpkeys=('3D2554F0A15338AB9AF1BB9D96B047156338B6D4') # Paul Smith 20 | 21 | prepare() { 22 | cd ${pkgname}-${pkgver} 23 | patch -p1 -i ${srcdir}/guile-2.2.patch 24 | autoreconf -fi 25 | } 26 | 27 | build() { 28 | cd ${pkgname}-${pkgver} 29 | ./configure --prefix=/usr 30 | make 31 | } 32 | 33 | check() { 34 | cd ${pkgname}-${pkgver} 35 | make -k check 36 | } 37 | 38 | package() { 39 | cd ${pkgname}-${pkgver} 40 | make DESTDIR=${pkgdir} install 41 | } 42 | -------------------------------------------------------------------------------- /make/guile-2.2.patch: -------------------------------------------------------------------------------- 1 | diff --git a/configure.ac b/configure.ac 2 | index 64ec870..eb1139f 100644 3 | --- a/configure.ac 4 | +++ b/configure.ac 5 | @@ -168,8 +168,8 @@ AC_ARG_WITH([guile], [AS_HELP_STRING([--with-guile], 6 | # comes with it's own PC file so we have to specify them as individual 7 | # packages. Ugh. 8 | AS_IF([test "x$with_guile" != xno], 9 | -[ PKG_CHECK_MODULES([GUILE], [guile-2.0], [have_guile=yes], 10 | - [PKG_CHECK_MODULES([GUILE], [guile-1.8], [have_guile=yes], 11 | +[ PKG_CHECK_MODULES([GUILE], [guile-2.2], [have_guile=yes], 12 | + [PKG_CHECK_MODULES([GUILE], [guile-2.0], [have_guile=yes], 13 | [have_guile=no])]) 14 | ]) 15 | 16 | -------------------------------------------------------------------------------- /man-db/man-db.install: -------------------------------------------------------------------------------- 1 | post_upgrade() { 2 | # force database rebuild as recommended per upstream 3 | if [ "`vercmp $2 2.7.0`" -lt 0 ]; then 4 | echo "(re)building database..." 5 | mandb -c --quiet 6 | fi 7 | } 8 | 9 | post_remove() { 10 | rm -rf /var/cache/man 11 | } 12 | -------------------------------------------------------------------------------- /meson/.unmodified: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/z3ntu/archhurd_packages/31183068de26418e449ca4fc30d5610793c96a42/meson/.unmodified -------------------------------------------------------------------------------- /meson/test.diff: -------------------------------------------------------------------------------- 1 | diff --git i/run_unittests.py w/run_unittests.py 2 | index 28264606..7c267e17 100755 3 | --- i/run_unittests.py 4 | +++ w/run_unittests.py 5 | @@ -3441,7 +3441,7 @@ class LinuxlikeTests(BasePlatformTests): 6 | break 7 | self.assertIsInstance(docbook_target, dict) 8 | ifile = self.introspect(['--target-files', 'generated-gdbus-docbook@cus'])[0] 9 | - self.assertEqual(t['filename'], 'gdbus/generated-gdbus-doc-' + ifile) 10 | + self.assertEqual(t['filename'], 'gdbus/generated-gdbus-doc-' + os.path.basename(ifile)) 11 | 12 | def test_build_rpath(self): 13 | if is_cygwin(): 14 | -------------------------------------------------------------------------------- /mig/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Luca Weiss 2 | 3 | pkgname=mig 4 | pkgver=1.8 5 | pkgrel=1 6 | pkgdesc="Mach Interface Generator" 7 | arch=('i686') 8 | license=('GPL') 9 | url="http://www.gnu.org/software/hurd/microkernel/mach/mig.html" 10 | groups=('base-devel') 11 | depends=('gnumach-headers' 'glibc') 12 | source=(http://git.savannah.gnu.org/cgit/hurd/mig.git/snapshot/mig-$pkgver.tar.gz) 13 | sha512sums=('698fb9c153b5ab48ff9975c2d7c7d68541bbf16ae0d6f7a402e85a374e435d3657dc883fd82edef7d5f5dc9cb9a1e830340f3f7d8134e6f125730e9782b42711') 14 | 15 | prepare() { 16 | rm -rf build 17 | mkdir build 18 | 19 | cd $pkgname-$pkgver 20 | autoreconf -fi 21 | } 22 | 23 | build() { 24 | cd build 25 | 26 | ../$pkgname-$pkgver/configure \ 27 | --prefix=/usr \ 28 | --libexecdir=/usr/lib 29 | 30 | make 31 | } 32 | 33 | package() { 34 | cd build 35 | make DESTDIR=$pkgdir install 36 | } 37 | -------------------------------------------------------------------------------- /mpdecimal/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Felix Yan 3 | 4 | pkgname=mpdecimal 5 | pkgver=2.4.2 6 | pkgrel=1 7 | pkgdesc="Package for correctly-rounded arbitrary precision decimal floating point arithmetic" 8 | arch=('x86_64') 9 | url="http://www.bytereef.org/mpdecimal/index.html" 10 | license=('custom') 11 | depends=('glibc') 12 | source=("http://www.bytereef.org/software/$pkgname/releases/$pkgname-$pkgver.tar.gz") 13 | sha512sums=('eb18ad53b81b93c469db4d915bbb3fae21b36ad82a88e01fef3a6946ac5f50b54376e259a5ecbe23836f1efd59d226b942ecdee87eaba7f9e75cdcaaa9499ef7') 14 | 15 | build() { 16 | cd $pkgname-$pkgver 17 | 18 | ./configure --prefix=/usr 19 | make 20 | } 21 | 22 | package() { 23 | cd $pkgname-$pkgver 24 | make DESTDIR="$pkgdir" install 25 | 26 | install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt 27 | } 28 | -------------------------------------------------------------------------------- /mpfr/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Allan McRae 3 | # Contributor: damir 4 | 5 | pkgname=mpfr 6 | _pkgver=3.1.6 7 | #_patchlevel=p2 8 | #pkgver=${_pkgver}.${_patchlevel} 9 | pkgver=${_pkgver} 10 | #pkgver=${_pkgver} 11 | pkgrel=1 12 | pkgdesc="Multiple-precision floating-point library" 13 | arch=('i686' 'x86_64') 14 | url="http://www.mpfr.org/" 15 | license=('LGPL') 16 | depends=('gmp>=5.0') 17 | source=(http://www.mpfr.org/mpfr-${_pkgver}/mpfr-${_pkgver}.tar.xz{,.asc}) 18 | md5sums=('51bfdbf81553966c8d43808122cc81b3' 19 | 'SKIP') 20 | validpgpkeys=('07F3DBBECC1A39605078094D980C197698C3739D') 21 | 22 | prepare() { 23 | cd "${srcdir}/${pkgname}-${_pkgver}" 24 | # patch -p1 -i $srcdir/mpfr-${_pkgver}-${_patchlevel}.patch 25 | } 26 | 27 | build() { 28 | cd "${srcdir}/${pkgname}-${_pkgver}" 29 | ./configure --prefix=/usr --enable-thread-safe --enable-shared 30 | make 31 | } 32 | 33 | check() { 34 | cd "${srcdir}/${pkgname}-${_pkgver}" 35 | make check 36 | } 37 | 38 | package() { 39 | cd "${srcdir}/${pkgname}-${_pkgver}" 40 | make DESTDIR="${pkgdir}" install 41 | } 42 | -------------------------------------------------------------------------------- /netdde/PKGBUILD: -------------------------------------------------------------------------------- 1 | # This is an example PKGBUILD file. Use this as a start to creating your own, 2 | # and remove these comments. For more information, see 'man PKGBUILD'. 3 | # NOTE: Please fill out the license field for your package! If it is unknown, 4 | # then please put 'unknown'. 5 | 6 | # Maintainer: Your Name 7 | pkgname=netdde 8 | pkgver=r19.1678bdea3 9 | # 'dde_net' in hurd/incubator.git 10 | _commit=1678bdea3c64826dd44cda16d3e20d0e62eda38a 11 | pkgrel=1 12 | pkgdesc="Linux 2.6 network drivers embedded in userland processes thanks to the DDE layer." 13 | arch=('i686') 14 | url="https://www.gnu.org/software/hurd/dde.html" 15 | license=('GPL') 16 | groups=() 17 | source=("git+https://git.savannah.gnu.org/git/hurd/incubator.git#commit=$_commit") 18 | sha512sums=('SKIP') 19 | 20 | pkgver() { 21 | cd incubator 22 | printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" 23 | } 24 | 25 | prepare() { 26 | cd incubator 27 | } 28 | 29 | build() { 30 | cd incubator 31 | 32 | make convert 33 | make 34 | } 35 | 36 | package() { 37 | cd incubator 38 | 39 | install -Dm755 netdde "$pkgdir"/hurd/netdde 40 | mkdir -p "$pkgdir"/usr/share/doc/$pkgname 41 | find dde -name "*.o" | sed -e 's|^dde/||' > "$pkgdir"/usr/share/doc/$pkgname/driver_list 42 | } 43 | -------------------------------------------------------------------------------- /nettle/.unmodified: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/z3ntu/archhurd_packages/31183068de26418e449ca4fc30d5610793c96a42/nettle/.unmodified -------------------------------------------------------------------------------- /nettle/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Andreas Radke 3 | # Contributor: bender02 at gmx dot com 4 | 5 | pkgname=nettle 6 | pkgver=3.4 7 | pkgrel=1 8 | pkgdesc="A low-level cryptographic library" 9 | arch=('x86_64') 10 | url="https://www.lysator.liu.se/~nisse/nettle" 11 | license=('GPL2') 12 | depends=('gmp') 13 | checkdepends=('valgrind') 14 | source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig}) 15 | sha256sums=('ae7a42df026550b85daca8389b6a60ba6313b0567f374392e54918588a411e94' 16 | 'SKIP') 17 | validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller 18 | 19 | 20 | build() { 21 | cd $pkgname-$pkgver 22 | ./configure --prefix=/usr \ 23 | --disable-static 24 | make 25 | } 26 | 27 | check() { 28 | cd $pkgname-$pkgver 29 | make -k check 30 | } 31 | 32 | package() { 33 | cd $pkgname-$pkgver 34 | make DESTDIR="$pkgdir/" install 35 | } 36 | -------------------------------------------------------------------------------- /npth/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Gaetan Bisson 3 | 4 | pkgname=npth 5 | pkgver=1.5 6 | pkgrel=1 7 | pkgdesc='New portable threads library' 8 | url='http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git' 9 | license=('LGPL') 10 | options=('!libtool') 11 | arch=('i686' 'x86_64') 12 | validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6' 13 | '46CC730865BB5C78EBABADCF04376F3EE0856959' 14 | '031EC2536E580D8EA286A9F22071B08A33BD3F06' 15 | 'D238EA65D64C67ED4C3073F28A861B1C7EFD60D9') 16 | source=("ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}) 17 | sha256sums=('294a690c1f537b92ed829d867bee537e46be93fbd60b16c04630fbbfcd9db3c2' 18 | 'SKIP') 19 | 20 | build() { 21 | cd "${srcdir}/${pkgname}-${pkgver}" 22 | ./configure --prefix=/usr --enable-maintainer-mode 23 | make 24 | } 25 | 26 | check() { 27 | cd "${srcdir}/${pkgname}-${pkgver}" 28 | make check 29 | } 30 | 31 | package() { 32 | cd "${srcdir}/${pkgname}-${pkgver}" 33 | make DESTDIR="${pkgdir}" install 34 | } 35 | -------------------------------------------------------------------------------- /nspr/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Jan de Groot 3 | # Contributor: Alexander Baldeck 4 | 5 | pkgname=nspr 6 | pkgver=4.17 7 | pkgrel=1 8 | pkgdesc="Netscape Portable Runtime" 9 | url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR" 10 | arch=(x86_64) 11 | license=(MPL GPL) 12 | depends=(glibc sh) 13 | makedepends=(zip) 14 | source=(https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/nspr-${pkgver}.tar.gz 15 | fix-build-hurd.patch) 16 | sha1sums=('5262abb243191d5fa3dcd72857d7d7f8ec47ad01' 17 | 'd0a118a955324dad7001d1e7ad14d76ff6350054') 18 | sha256sums=('590a0aea29412ae22d7728038c21ef2ab42646e48172a47d2e4bb782846d1095' 19 | 'c691a9d2216e7299a7db2c2dcb3fc5d06fc1cec3e01fb988a7689e7d75a310cc') 20 | 21 | prepare() { 22 | cd nspr-$pkgver/nspr 23 | 24 | patch -Rp1 < "$srcdir"/fix-build-hurd.patch 25 | } 26 | 27 | build() { 28 | cd nspr-$pkgver/nspr 29 | ./configure \ 30 | --prefix=/usr \ 31 | --libdir=/usr/lib \ 32 | --includedir=/usr/include/nspr \ 33 | --enable-optimize \ 34 | --disable-debug \ 35 | $([[ $CARCH == x86_64 ]] && echo --enable-64bit) 36 | make 37 | } 38 | 39 | package() { 40 | cd nspr-$pkgver/nspr 41 | make DESTDIR="$pkgdir" install 42 | ln -s nspr.pc "$pkgdir/usr/lib/pkgconfig/mozilla-nspr.pc" 43 | rm -r "$pkgdir"/usr/bin/{compile-et.pl,prerr.properties} \ 44 | "$pkgdir"/usr/include/nspr/md 45 | } 46 | -------------------------------------------------------------------------------- /nspr/fix-build-hurd.patch: -------------------------------------------------------------------------------- 1 | From 66f7a3623a184e04adb2c33fe85cbd00cb20b3d4 Mon Sep 17 00:00:00 2001 2 | From: Jan Beich 3 | Date: Fri, 23 Jun 2017 17:24:16 +0200 4 | Subject: [PATCH] Bug 1350966 - Enable adaptive mutex usage on FreeBSD. r=kaie 5 | 6 | --- 7 | pr/src/pthreads/ptsynch.c | 5 ++--- 8 | 1 file changed, 2 insertions(+), 3 deletions(-) 9 | 10 | diff --git a/pr/src/pthreads/ptsynch.c b/pr/src/pthreads/ptsynch.c 11 | index 8663a4c7..25120533 100644 12 | --- a/pr/src/pthreads/ptsynch.c 13 | +++ b/pr/src/pthreads/ptsynch.c 14 | @@ -55,11 +55,10 @@ void _PR_InitLocks(void) 15 | rv = _PT_PTHREAD_MUTEXATTR_INIT(&_pt_mattr); 16 | PR_ASSERT(0 == rv); 17 | 18 | -#ifdef LINUX 19 | -#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) 20 | +#if (defined(LINUX) && (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)) || \ 21 | + (defined(FREEBSD) && __FreeBSD_version > 700055) 22 | rv = pthread_mutexattr_settype(&_pt_mattr, PTHREAD_MUTEX_ADAPTIVE_NP); 23 | PR_ASSERT(0 == rv); 24 | -#endif 25 | #endif 26 | 27 | rv = _PT_PTHREAD_CONDATTR_INIT(&_pt_cvar_attr); 28 | -------------------------------------------------------------------------------- /nss/disable-parallel.patch: -------------------------------------------------------------------------------- 1 | --- a/nss/build.sh 2017-11-25 05:44:57.000000000 +0000 2 | +++ b/nss/build.sh 2017-11-25 05:45:14.000000000 +0000 3 | @@ -52,7 +52,7 @@ 4 | no_local_nspr=0 5 | armhf=0 6 | 7 | -gyp_params=(--depth="$cwd" --generator-output="." -Ddisable_libpkix=0) 8 | +gyp_params=(--depth="$cwd" --generator-output="." -Ddisable_libpkix=0 --no-parallel) 9 | nspr_params=() 10 | ninja_params=() 11 | 12 | -------------------------------------------------------------------------------- /nss/enable-libpkix.patch: -------------------------------------------------------------------------------- 1 | diff -u -r nss-3.31/nss/build.sh nss-3.31-libpkix/nss/build.sh 2 | --- nss-3.31/nss/build.sh 2017-06-08 12:53:01.000000000 +0200 3 | +++ nss-3.31-libpkix/nss/build.sh 2017-06-09 19:11:21.746133040 +0200 4 | @@ -52,7 +52,7 @@ 5 | no_local_nspr=0 6 | armhf=0 7 | 8 | -gyp_params=(--depth="$cwd" --generator-output=".") 9 | +gyp_params=(--depth="$cwd" --generator-output="." -Ddisable_libpkix=0) 10 | nspr_params=() 11 | ninja_params=() 12 | 13 | -------------------------------------------------------------------------------- /nss/no-plt.diff: -------------------------------------------------------------------------------- 1 | diff --git i/security/nss/lib/freebl/mpi/mpi_x86.s w/security/nss/lib/freebl/mpi/mpi_x86.s 2 | index 8f7e2130c3264754..b3ca1ce5b41b3771 100644 3 | --- i/security/nss/lib/freebl/mpi/mpi_x86.s 4 | +++ w/security/nss/lib/freebl/mpi/mpi_x86.s 5 | @@ -22,22 +22,41 @@ is_sse: .long -1 6 | # 7 | .ifndef NO_PIC 8 | .macro GET var,reg 9 | - movl \var@GOTOFF(%ebx),\reg 10 | + call thunk.ax 11 | + addl $_GLOBAL_OFFSET_TABLE_, %eax 12 | + movl \var@GOTOFF(%eax),\reg 13 | .endm 14 | .macro PUT reg,var 15 | - movl \reg,\var@GOTOFF(%ebx) 16 | + call thunk.dx 17 | + addl $_GLOBAL_OFFSET_TABLE_, %edx 18 | + movl \reg,\var@GOTOFF(%edx) 19 | .endm 20 | .else 21 | .macro GET var,reg 22 | movl \var,\reg 23 | .endm 24 | .macro PUT reg,var 25 | movl \reg,\var 26 | .endm 27 | .endif 28 | 29 | .text 30 | 31 | +.ifndef NO_PIC 32 | +.globl thunk.ax 33 | +.hidden thunk.ax 34 | +.type thunk.ax, @function 35 | +thunk.ax: 36 | + movl (%esp),%eax 37 | + ret 38 | + 39 | +.globl thunk.dx 40 | +.hidden thunk.dx 41 | +.type thunk.dx, @function 42 | +thunk.dx: 43 | + movl (%esp),%edx 44 | + ret 45 | +.endif 46 | 47 | # ebp - 36: caller's esi 48 | # ebp - 32: caller's edi 49 | -------------------------------------------------------------------------------- /oniguruma/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Massimiliano Torromeo 3 | # Contributor: Andreas Wagner 4 | 5 | pkgname=oniguruma 6 | pkgver=6.6.1 7 | pkgrel=1 8 | pkgdesc="a regular expressions library" 9 | arch=('x86_64') 10 | url="https://github.com/kkos/oniguruma" 11 | license=('BSD') 12 | options=(!libtool) 13 | source=("https://github.com/kkos/oniguruma/releases/download/v$pkgver/onig-$pkgver.tar.gz") 14 | sha256sums=('8f9731f9e48666236a1678e2b4ead69be682eefba3983a714b6b57cf5ee14372') 15 | 16 | build() { 17 | cd "$srcdir"/onig-$pkgver 18 | ./configure --prefix=/usr 19 | make 20 | } 21 | 22 | package() { 23 | cd "$srcdir"/onig-$pkgver 24 | make DESTDIR="$pkgdir" install 25 | install -dm755 "$pkgdir"/usr/share/doc 26 | cp -r doc "$pkgdir"/usr/share/doc/$pkgname 27 | for licfile in COPYING INSTALL; do 28 | install -Dm644 $licfile "$pkgdir"/usr/share/licenses/$pkgname/$licfile 29 | done 30 | } 31 | -------------------------------------------------------------------------------- /openrc/hurd.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/rc/openrc-init.c b/src/rc/openrc-init.c 2 | index e557c63d..15da621d 100644 3 | --- a/src/rc/openrc-init.c 4 | +++ b/src/rc/openrc-init.c 5 | @@ -186,7 +186,7 @@ int main(int argc, char **argv) 6 | sa.sa_handler = signal_handler; 7 | sigaction(SIGCHLD, &sa, NULL); 8 | sigaction(SIGINT, &sa, NULL); 9 | - reboot(RB_DISABLE_CAD); 10 | + //reboot(RB_DISABLE_CAD); 11 | 12 | /* set default path */ 13 | setenv("PATH", path_default, 1); 14 | @@ -210,11 +210,11 @@ int main(int argc, char **argv) 15 | fclose(fifo); 16 | printf("PID1: Received \"%s\" from FIFO...\n", buf); 17 | if (strcmp(buf, "halt") == 0) 18 | - handle_shutdown("shutdown", RB_HALT_SYSTEM); 19 | - else if (strcmp(buf, "kexec") == 0) 20 | - handle_shutdown("reboot", RB_KEXEC); 21 | + handle_shutdown("shutdown", RB_HALT); 22 | +// else if (strcmp(buf, "kexec") == 0) 23 | +// handle_shutdown("reboot", RB_KEXEC); 24 | else if (strcmp(buf, "poweroff") == 0) 25 | - handle_shutdown("shutdown", RB_POWER_OFF); 26 | + handle_shutdown("shutdown", RB_HALT); 27 | else if (strcmp(buf, "reboot") == 0) 28 | handle_shutdown("reboot", RB_AUTOBOOT); 29 | else if (strcmp(buf, "reexec") == 0) 30 | -------------------------------------------------------------------------------- /openssl/ca-dir.patch: -------------------------------------------------------------------------------- 1 | --- apps/CA.pl.in 2016-09-26 11:46:04.000000000 +0200 2 | +++ apps/CA.pl.in 2016-11-01 16:02:16.709616823 +0100 3 | @@ -33,7 +33,7 @@ 4 | my $PKCS12 = "$openssl pkcs12"; 5 | 6 | # default openssl.cnf file has setup as per the following 7 | -my $CATOP = "./demoCA"; 8 | +my $CATOP = "/etc/ssl"; 9 | my $CAKEY = "cakey.pem"; 10 | my $CAREQ = "careq.pem"; 11 | my $CACERT = "cacert.pem"; 12 | --- apps/openssl.cnf 2016-09-26 11:46:04.000000000 +0200 13 | +++ apps/openssl.cnf 2016-11-01 16:02:48.378503427 +0100 14 | @@ -39,7 +39,7 @@ 15 | #################################################################### 16 | [ CA_default ] 17 | 18 | -dir = ./demoCA # Where everything is kept 19 | +dir = /etc/ssl # Where everything is kept 20 | certs = $dir/certs # Where the issued certs are kept 21 | crl_dir = $dir/crl # Where the issued crl are kept 22 | database = $dir/index.txt # database index file. 23 | @@ -323,7 +323,7 @@ 24 | [ tsa_config1 ] 25 | 26 | # These are used by the TSA reply generation only. 27 | -dir = ./demoCA # TSA root directory 28 | +dir = /etc/ssl # TSA root directory 29 | serial = $dir/tsaserial # The current serial number (mandatory) 30 | crypto_device = builtin # OpenSSL engine to use for signing 31 | signer_cert = $dir/tsacert.pem # The TSA signing certificate 32 | -------------------------------------------------------------------------------- /pacman-contrib/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Johannes Löthberg 2 | 3 | pkgname=pacman-contrib 4 | pkgver=1.0.0 5 | pkgrel=2 6 | 7 | pkgdesc="Contributed scripts and tools for pacman systems" 8 | url="https://git.archlinux.org/pacman-contrib.git/about/" 9 | arch=('x86_64') 10 | license=('GPL') 11 | 12 | depends=('pacman') # 'fakeroot' 13 | optdepends=('mlocate: pacdiff' 14 | 'findutils: pacdiff') 15 | makedepends=('asciidoc') 16 | 17 | validpgpkeys=('5134EF9EAF65F95B6BB1608E50FB9B273A9D0BB5') # Johannes Löthberg 18 | source=(https://sources.archlinux.org/other/community/pacman-contrib/pacman-contrib-$pkgver.tar.gz{,.asc}) 19 | sha256sums=('0fb95514bd16a316d4cce920d34edc88b0d0618c484e2d7588746869d2339795' 20 | 'SKIP') 21 | 22 | build() { 23 | cd pacman-contrib-$pkgver 24 | 25 | ./configure \ 26 | --prefix=/usr \ 27 | --sysconfdir=/etc \ 28 | --localstatedir=/var 29 | make 30 | } 31 | 32 | check() { 33 | make -C pacman-contrib-$pkgver check 34 | } 35 | 36 | package() { 37 | cd pacman-contrib-$pkgver 38 | 39 | make DESTDIR="$pkgdir" install 40 | } 41 | -------------------------------------------------------------------------------- /pacman-mirrorlist/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Dan McGee 3 | 4 | pkgname=pacman-mirrorlist 5 | pkgver=20171125 6 | pkgrel=1 7 | pkgdesc="Arch Hurd mirror list for use by pacman" 8 | arch=('any') 9 | url="https://www.archlinux.org/mirrorlist/" 10 | license=('GPL') 11 | backup=(etc/pacman.d/mirrorlist) 12 | source=(mirrorlist) 13 | 14 | # NOTE on building this package: 15 | # * Go to the trunk/ directory 16 | # * Run bash -c ". PKGBUILD; updatelist" 17 | # * Update the checksums, update pkgver 18 | # * Build the package 19 | 20 | updatelist() { 21 | rm -f mirrorlist 22 | curl -o mirrorlist https://www.archlinux.org/mirrorlist/all/ 23 | } 24 | 25 | package() { 26 | mkdir -p $pkgdir/etc/pacman.d 27 | install -m644 $srcdir/mirrorlist $pkgdir/etc/pacman.d/ 28 | } 29 | 30 | md5sums=('c57458f78093476d5290211cac4b842b') 31 | sha256sums=('0753520a35fe8bba1d3a55613195b66683647ab41804bbe510c531a6ca2df18b') 32 | -------------------------------------------------------------------------------- /pacman-mirrorlist/mirrorlist: -------------------------------------------------------------------------------- 1 | ## 2 | ## Arch Hurd repository mirrorlist 3 | ## Updated on 2017-11-25 4 | ## 5 | 6 | ## Netherlands 7 | #Server = https://private.z3ntu.xyz/archhurd/$repo/os/$arch 8 | 9 | -------------------------------------------------------------------------------- /pacman/0001-Hurd-define-PATH_MAX.patch: -------------------------------------------------------------------------------- 1 | From efba21c6d13158620d35135d29450c94e2c3cf13 Mon Sep 17 00:00:00 2001 2 | From: Luca Weiss 3 | Date: Tue, 26 Jun 2018 13:16:49 +0200 4 | Subject: [PATCH 1/4] Hurd: define PATH_MAX 5 | 6 | --- 7 | lib/libalpm/alpm.h | 2 ++ 8 | 1 file changed, 2 insertions(+) 9 | 10 | diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h 11 | index 57226ebd..f3fdb704 100644 12 | --- a/lib/libalpm/alpm.h 13 | +++ b/lib/libalpm/alpm.h 14 | @@ -37,6 +37,8 @@ extern "C" { 15 | 16 | #include 17 | 18 | +#define PATH_MAX 4096 19 | + 20 | /* 21 | * Arch Linux Package Management library 22 | */ 23 | -- 24 | 2.18.0 25 | 26 | -------------------------------------------------------------------------------- /pacman/0001-makepkg-Clear-ERR-trap-before-trying-to-restore-it.patch: -------------------------------------------------------------------------------- 1 | From 842bdfbb622db0673d4952812a490e10f61fa3bd Mon Sep 17 00:00:00 2001 2 | Message-Id: <842bdfbb622db0673d4952812a490e10f61fa3bd.1527784094.git.jan.steffens@gmail.com> 3 | From: "Jan Alexander Steffens (heftig)" 4 | Date: Thu, 31 May 2018 17:01:16 +0200 5 | Subject: [PATCH 1/2] makepkg: Clear ERR trap before trying to restore it 6 | 7 | $restoretrap is empty if the trap was not set. This caused the trap 8 | handler to remain and override later exit codes. 9 | --- 10 | scripts/makepkg.sh.in | 1 + 11 | 1 file changed, 1 insertion(+) 12 | 13 | diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in 14 | index e9080a70..d67fd853 100644 15 | --- a/scripts/makepkg.sh.in 16 | +++ b/scripts/makepkg.sh.in 17 | @@ -432,6 +432,7 @@ run_function_safe() { 18 | 19 | run_function "$1" 20 | 21 | + trap - ERR 22 | eval "$restoretrap" 23 | eval "$restoreset" 24 | eval "$restoreshopt" 25 | -- 26 | 2.17.0 27 | 28 | -------------------------------------------------------------------------------- /pacman/0002-Hurd-define-PIPE_BUF.patch: -------------------------------------------------------------------------------- 1 | From a84f2a4be91bc52613f83ce62ed3fd99044df3d9 Mon Sep 17 00:00:00 2001 2 | From: Luca Weiss 3 | Date: Tue, 26 Jun 2018 13:17:17 +0200 4 | Subject: [PATCH 2/4] Hurd: define PIPE_BUF 5 | 6 | --- 7 | lib/libalpm/util.c | 3 +++ 8 | 1 file changed, 3 insertions(+) 9 | 10 | diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c 11 | index a06f5bfd..d2e6b5cd 100644 12 | --- a/lib/libalpm/util.c 13 | +++ b/lib/libalpm/util.c 14 | @@ -640,6 +640,9 @@ int _alpm_run_chroot(alpm_handle_t *handle, const char *cmd, char *const argv[], 15 | } else { 16 | /* this code runs for the parent only (wait on the child) */ 17 | int status; 18 | +#if (!defined(PIPE_BUF) && defined(_POSIX_PIPE_BUF)) 19 | +#define PIPE_BUF 8*_POSIX_PIPE_BUF 20 | +#endif 21 | char obuf[PIPE_BUF]; /* writes <= PIPE_BUF are guaranteed atomic */ 22 | char ibuf[LINE_MAX]; 23 | ssize_t olen = 0, ilen = 0; 24 | -- 25 | 2.18.0 26 | 27 | -------------------------------------------------------------------------------- /pacman/0003-Hurd-use-FAKED_MODE-instead-of-FAKEROOTKEY-for-faker.patch: -------------------------------------------------------------------------------- 1 | From 22f156fb7dd3b1c0a9bdb3231b687e00d493c19d Mon Sep 17 00:00:00 2001 2 | From: Luca Weiss 3 | Date: Tue, 26 Jun 2018 13:18:42 +0200 4 | Subject: [PATCH 3/4] Hurd: use $FAKED_MODE instead of $FAKEROOTKEY for 5 | fakeroot detection 6 | 7 | --- 8 | scripts/makepkg.sh.in | 2 +- 9 | 1 file changed, 1 insertion(+), 1 deletion(-) 10 | 11 | diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in 12 | index 32423262..dc3636ae 100644 13 | --- a/scripts/makepkg.sh.in 14 | +++ b/scripts/makepkg.sh.in 15 | @@ -1406,7 +1406,7 @@ catastrophic damage to your system.")" "makepkg" 16 | exit $E_ROOT 17 | fi 18 | else 19 | - if [[ -z $FAKEROOTKEY ]]; then 20 | + if [[ -z $FAKED_MODE ]]; then 21 | error "$(gettext "Do not use the %s option. This option is only for internal use by %s.")" "'-F'" "makepkg" 22 | exit $E_INVALID_OPTION 23 | fi 24 | -- 25 | 2.18.0 26 | 27 | -------------------------------------------------------------------------------- /pacman/0004-Hurd-use-V-for-fakeroot-version-output.patch: -------------------------------------------------------------------------------- 1 | From 41129e66af51d04046d2ef9e138f8849188f7ca1 Mon Sep 17 00:00:00 2001 2 | From: Luca Weiss 3 | Date: Tue, 26 Jun 2018 13:19:28 +0200 4 | Subject: [PATCH 4/4] Hurd: use -V for fakeroot version output 5 | 6 | --- 7 | scripts/makepkg.sh.in | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in 11 | index dc3636ae..73799836 100644 12 | --- a/scripts/makepkg.sh.in 13 | +++ b/scripts/makepkg.sh.in 14 | @@ -642,7 +642,7 @@ write_pkginfo() { 15 | 16 | msg2 "$(gettext "Generating %s file...")" ".PKGINFO" 17 | printf "# Generated by makepkg %s\n" "$makepkg_version" 18 | - printf "# using %s\n" "$(fakeroot -v)" 19 | + printf "# using %s\n" "$(fakeroot -V)" 20 | 21 | write_kv_pair "pkgname" "$pkgname" 22 | write_kv_pair "pkgbase" "$pkgbase" 23 | -- 24 | 2.18.0 25 | 26 | -------------------------------------------------------------------------------- /parted/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Giovanni Scafora 3 | # Contributor: Aaron Griffin 4 | 5 | pkgname=parted 6 | pkgver=3.2 7 | pkgrel=6 8 | pkgdesc="A program for creating, destroying, resizing, checking and copying partitions" 9 | arch=('x86_64') 10 | license=('GPL3') 11 | url="http://www.gnu.org/software/parted/parted.html" 12 | #depends=('device-mapper') 13 | makedepends=('pkg-config') 14 | validpgpkeys=('1B49F933916A37A3F45A1812015F4DD4A70FB705') # Phillip Susi 15 | source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig} 16 | 'parted-735669-fat16-crash-v1.patch') 17 | sha256sums=('858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4' 18 | 'SKIP' 19 | '3cbf31765b1653609a4c95687b91e34dd57ad3498d5d02019c966bd46d25d100') 20 | 21 | prepare() { 22 | cd "${srcdir}/${pkgname}-${pkgver}" 23 | 24 | patch -Np1 -i "${srcdir}/parted-735669-fat16-crash-v1.patch" 25 | } 26 | 27 | build() { 28 | cd "${srcdir}/${pkgname}-${pkgver}" 29 | 30 | ./configure --prefix=/usr \ 31 | --sbindir=/usr/bin \ 32 | --disable-debug \ 33 | --disable-rpath \ 34 | --disable-device-mapper 35 | make 36 | } 37 | 38 | package() { 39 | cd "${srcdir}/${pkgname}-${pkgver}" 40 | 41 | make DESTDIR="${pkgdir}" install 42 | } 43 | -------------------------------------------------------------------------------- /patch/path_max.patch: -------------------------------------------------------------------------------- 1 | --- a/src/util.c 2 | +++ b/src/util.c 3 | @@ -51,6 +51,11 @@ 4 | # include "verror.h" 5 | #endif 6 | 7 | +/* make GNU/Hurd happy */ 8 | +#ifndef PATH_MAX 9 | +# define PATH_MAX 8192 10 | +#endif 11 | + 12 | static void makedirs (char const *); 13 | 14 | typedef struct 15 | -------------------------------------------------------------------------------- /pcre2/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Felix Yan 3 | # Contributor: Mateusz 'mrlemux' Lemusisk mrlemux at gmail dotcom 4 | # Based on the pcre package by Sébastien "Seblu" Luttringer 5 | # Contributor: Allan McRae 6 | # Contributor: Eric Belanger 7 | # Contributor: John Proctor 8 | 9 | pkgname=pcre2 10 | pkgver=10.30 11 | pkgrel=1 12 | pkgdesc='A library that implements Perl 5-style regular expressions. 2nd version' 13 | arch=('i686' 'x86_64') 14 | url='http://www.pcre.org/' 15 | license=('BSD') 16 | depends=('gcc-libs' 'readline' 'zlib' 'bzip2' 'bash') 17 | source=("ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$pkgname-$pkgver.tar.bz2") 18 | sha512sums=('f247a9f917c75920793b9919a45bb1426d126246e7a5d04e39d9407e44b5781f894a90cd3d232b385436b2f22be391335ab782664dd3a28c79058a2fcc74dc3e') 19 | 20 | build() { 21 | cd $pkgname-$pkgver 22 | ./configure \ 23 | --prefix=/usr \ 24 | --enable-pcre2-16 \ 25 | --enable-pcre2-32 \ 26 | --enable-jit \ 27 | --enable-pcre2grep-libz \ 28 | --enable-pcre2grep-libbz2 \ 29 | --enable-pcre2test-libreadline 30 | make 31 | } 32 | 33 | check() { 34 | cd $pkgname-$pkgver 35 | make -j1 check 36 | } 37 | 38 | package() { 39 | cd $pkgname-$pkgver 40 | make DESTDIR="$pkgdir" install 41 | 42 | install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" 43 | } 44 | 45 | # vim:set ts=2 sw=2 et: 46 | -------------------------------------------------------------------------------- /perl-archive-zip/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Felix Yan 3 | # Contributor: Allan McRae 4 | # Contributor: Andrew Simmons 5 | 6 | pkgname=perl-archive-zip 7 | pkgver=1.59 8 | pkgrel=5 9 | pkgdesc="Provide a perl interface to ZIP archive files" 10 | arch=('any') 11 | license=('GPL' 'PerlArtistic') 12 | url="http://search.cpan.org/dist/Archive-Zip/" 13 | depends=('perl') 14 | checkdepends=('perl-test-mockmodule') 15 | options=('!emptydirs') 16 | source=(http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-${pkgver}.tar.gz) 17 | md5sums=('b649a593391573f9382cef8c08d1d5ba') 18 | 19 | build() { 20 | cd Archive-Zip-${pkgver} 21 | perl Makefile.PL INSTALLDIRS=vendor 22 | make 23 | } 24 | 25 | check() { 26 | cd Archive-Zip-${pkgver} 27 | make test 28 | } 29 | 30 | 31 | package() { 32 | cd Archive-Zip-${pkgver} 33 | make DESTDIR="${pkgdir}" install 34 | } 35 | -------------------------------------------------------------------------------- /perl-inc-latest/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Felix Yan 3 | 4 | pkgname=perl-inc-latest 5 | pkgver=0.500 6 | pkgrel=3 7 | pkgdesc="Build, test, and install Perl modules" 8 | arch=('any') 9 | url="https://github.com/dagolden/inc-latest" 10 | license=('Apache') 11 | depends=('perl') 12 | checkdepends=('perl-cpan-meta') 13 | options=('!emptydirs') 14 | source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/inc-latest-$pkgver.tar.gz") 15 | sha512sums=('b312d1dfce963322796bc0127f0ecd82c12baacf9e5df40d9acc093221edd80f3696ce6d9f185ed24b21983147363d1d0ff3e273b8b5ce7559a6f16983a1385c') 16 | 17 | build() { 18 | cd inc-latest-$pkgver 19 | perl Makefile.PL INSTALLDIRS=vendor 20 | make 21 | } 22 | 23 | check() { 24 | cd inc-latest-$pkgver 25 | make test 26 | } 27 | 28 | package() { 29 | cd inc-latest-$pkgver 30 | make install DESTDIR="$pkgdir" 31 | } 32 | -------------------------------------------------------------------------------- /perl-mime-charset/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Rémy Oudompheng 3 | # Contributor: John D Jones III AKA jnbek 4 | # Generator : CPANPLUS::Dist::Arch 1.32 5 | 6 | pkgname='perl-mime-charset' 7 | _dist="MIME-Charset" 8 | pkgver='1.012.2' 9 | pkgrel=3 10 | pkgdesc="Charset Information for MIME" 11 | arch=('any') 12 | license=('PerlArtistic' 'GPL') 13 | options=('!emptydirs') 14 | depends=('perl') 15 | checkdepends=('perl-test-pod') 16 | url='https://metacpan.org/release/MIME-Charset' 17 | source=("http://search.cpan.org/CPAN/authors/id/N/NE/NEZUMI/${_dist}-${pkgver}.tar.gz") 18 | md5sums=('71440416376248c31aa3bef753fae28d') 19 | sha512sums=('2273bf0b86eb042e5aa8bcf958eefefde7dce6701eea5ae8c0fe9997e7d3e90d837a7791ade30f84536a15116175c796daee60da6625f409d214844dfedfde4d') 20 | 21 | build() { 22 | cd "${srcdir}/${_dist}-${pkgver}" 23 | unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT 24 | export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps 25 | perl Makefile.PL 26 | make 27 | } 28 | 29 | check() { 30 | cd "${srcdir}/${_dist}-${pkgver}" 31 | unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT 32 | export PERL_MM_USE_DEFAULT=1 33 | make test 34 | } 35 | 36 | package() { 37 | cd "${srcdir}/${_dist}-${pkgver}" 38 | unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT 39 | make install INSTALLDIRS=vendor DESTDIR="$pkgdir" 40 | } 41 | -------------------------------------------------------------------------------- /perl-module-build/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Felix Yan 3 | # Contributor: Jan Alexander Steffens (heftig) 4 | # Contributor: Alan Young 5 | 6 | pkgname=perl-module-build 7 | pkgver=0.4224 8 | pkgrel=5 9 | pkgdesc="Build, test, and install Perl modules" 10 | arch=('any') 11 | url="http://search.cpan.org/dist/Module-Build" 12 | license=('PerlArtistic' 'GPL') 13 | depends=('perl' 'perl-cpan-meta' 'perl-inc-latest') 14 | checkdepends=('perl-par-dist' 'perl-archive-zip') 15 | options=('!emptydirs') 16 | source=(http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/Module-Build-$pkgver.tar.gz) 17 | sha512sums=('c08e84c542a882aa16a682a81cbb7a4860774a3f6a0ec2e720ba9e9bcea76dab331999fee86bf8b92edc08560d7cef4a7c2dfa4e626ab9b22da965e715af531f') 18 | 19 | build() { 20 | cd Module-Build-$pkgver 21 | perl Build.PL installdirs=vendor 22 | perl Build 23 | } 24 | 25 | check() { 26 | cd Module-Build-$pkgver 27 | perl Build test 28 | } 29 | 30 | package() { 31 | cd Module-Build-$pkgver 32 | perl Build install destdir="$pkgdir" 33 | } 34 | -------------------------------------------------------------------------------- /perl-par-dist/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Felix Yan 3 | # Contributor: TDY 4 | # Contributor: François Charette 5 | 6 | pkgname=perl-par-dist 7 | pkgver=0.49 8 | pkgrel=3 9 | pkgdesc="Perl bindings to create and manipulate PAR distributions" 10 | arch=('any') 11 | url="http://search.cpan.org/dist/PAR-Dist/" 12 | license=('GPL' 'PerlArtistic') 13 | depends=('perl') 14 | options=('!emptydirs') 15 | source=("http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/PAR-Dist-$pkgver.tar.gz") 16 | md5sums=('bd852113974544f3c8c107ab4055cf8c') 17 | 18 | build() { 19 | cd "$srcdir/PAR-Dist-$pkgver" 20 | PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 21 | make 22 | } 23 | 24 | check() { 25 | cd "$srcdir/PAR-Dist-$pkgver" 26 | make test 27 | } 28 | 29 | package() { 30 | cd "$srcdir/PAR-Dist-$pkgver" 31 | make install DESTDIR="$pkgdir" 32 | } 33 | -------------------------------------------------------------------------------- /perl-sgmls/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Sergej Pupykin 3 | # Contributor: Sergej Pupykin 4 | 5 | _cpanname=SGMLSpm 6 | pkgname=perl-sgmls 7 | epoch=1 8 | pkgver=1.1 9 | pkgrel=4 10 | pkgdesc="A Post-Processor for SGMLS and NSGMLS" 11 | arch=('any') 12 | url="http://search.cpan.org/dist/SGMLSpm" 13 | license=('GPL' 'PerlArtistic') 14 | depends=('perl') 15 | options=('!emptydirs' 'docs') 16 | source=(http://search.cpan.org/CPAN/authors/id/R/RA/RAAB/SGMLSpm-$pkgver.tar.gz) 17 | md5sums=('746c74ae969992cedb1a2879b4168090') 18 | 19 | prepare() { 20 | cd "$srcdir/$_cpanname-$pkgver" 21 | find . -type f -exec chmod 0644 {} \; 22 | } 23 | 24 | prepareEnvironment() { 25 | cd "$srcdir/$_cpanname-$pkgver" 26 | export \ 27 | PERL_MM_USE_DEFAULT=1 \ 28 | PERL_AUTOINSTALL=--skipdeps \ 29 | PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \ 30 | PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \ 31 | MODULEBUILDRC=/dev/null 32 | } 33 | 34 | build() { 35 | prepareEnvironment 36 | /usr/bin/perl Makefile.PL 37 | make 38 | } 39 | 40 | check() { 41 | prepareEnvironment 42 | make test 43 | } 44 | 45 | package() { 46 | prepareEnvironment 47 | make install 48 | find "$pkgdir" -name .packlist -o -name perllocal.pod -delete 49 | 50 | # FS#51874 51 | ln -sv /usr/bin/vendor_perl/sgmlspl.pl $pkgdir/usr/bin/sgmlspl 52 | } 53 | -------------------------------------------------------------------------------- /perl-term-readkey/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Felix Yan 3 | # Contributor: kevin 4 | # Contributor: Wael Nasreddine 5 | # Contributor: Francois Charette 6 | 7 | pkgname=perl-term-readkey 8 | _realname=TermReadKey 9 | pkgver=2.37 10 | pkgrel=4 11 | pkgdesc="Provides simple control over terminal driver modes" 12 | arch=('x86_64') 13 | license=('custom') 14 | depends=('perl' 'glibc') 15 | url="http://search.cpan.org/~jstowe/${_realname}/" 16 | options=('!emptydirs') 17 | source=(http://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/${_realname}-$pkgver.tar.gz) 18 | md5sums=('e8ea15c16333ac4f8d146d702e83cc0c') 19 | 20 | build() { 21 | cd "${srcdir}/TermReadKey-$pkgver" 22 | perl Makefile.PL INSTALLDIRS=vendor 23 | make 24 | } 25 | 26 | check() { 27 | cd "${srcdir}/TermReadKey-$pkgver" 28 | make test 29 | } 30 | 31 | package() { 32 | cd "${srcdir}/TermReadKey-$pkgver" 33 | make DESTDIR="${pkgdir}" install 34 | install -d "${pkgdir}/usr/share/licenses/$pkgname/" 35 | head -7 README > "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" 36 | # template start; name=perl-binary-module-dependency; version=1; 37 | if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then 38 | _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') 39 | _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') 40 | depends+=("perl>=$_perlver_min" "perl<$_perlver_max") 41 | fi 42 | # template end; 43 | } 44 | -------------------------------------------------------------------------------- /perl-test-mockmodule/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Felix Yan 3 | 4 | pkgname=perl-test-mockmodule 5 | pkgver=0.13 6 | pkgrel=1 7 | pkgdesc="Override subroutines in a module for unit testing" 8 | arch=('any') 9 | license=('PerlArtistic' 'GPL') 10 | options=('!emptydirs') 11 | depends=('perl-super') 12 | makedepends=('perl-module-build') 13 | checkdepends=('perl-test-pod' 'perl-test-pod-coverage') 14 | url='http://search.cpan.org/dist/Test-MockModule' 15 | source=("http://search.cpan.org/CPAN/authors/id/G/GF/GFRANKS/Test-MockModule-$pkgver.tar.gz") 16 | sha512sums=('17c2aa7b67fcae2a333788db74fc94da9a680ad83786705e70417cb78df0cfa32e6fcca44962dcc9d7c2ee27c45d8f142ce03b62691da4940ccc405a0bb26472') 17 | 18 | build() { 19 | cd "$srcdir/Test-MockModule-$pkgver" 20 | perl Build.PL installdirs=vendor 21 | perl Build 22 | } 23 | 24 | check() { 25 | cd "$srcdir/Test-MockModule-$pkgver" 26 | perl Build test 27 | } 28 | 29 | package() { 30 | cd "$srcdir/Test-MockModule-$pkgver" 31 | perl Build install destdir="$pkgdir" 32 | } 33 | 34 | # vim:set ts=2 sw=2 et: 35 | -------------------------------------------------------------------------------- /perl-text-charwidth/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Sergej Pupykin 3 | # Maintainer: Charles Mauch 4 | 5 | pkgname=perl-text-charwidth 6 | pkgver=0.04 7 | pkgrel=15 8 | pkgdesc="Perl/CPAN Module Text::CharWidth" 9 | arch=("x86_64") 10 | url="http://search.cpan.org/dist/Text-CharWidth" 11 | license=("GPL" "PerlArtistic") 12 | options=('!emptydirs') 13 | source=("https://www.cpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-${pkgver}.tar.gz") 14 | sha256sums=('abded5f4fdd9338e89fd2f1d8271c44989dae5bf50aece41b6179d8e230704f8') 15 | 16 | build() { 17 | cd Text-CharWidth-${pkgver} 18 | 19 | PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 20 | 21 | make 22 | } 23 | 24 | package() { 25 | cd Text-CharWidth-${pkgver} 26 | 27 | make install DESTDIR="$pkgdir" 28 | 29 | find "$pkgdir" -name '.packlist' -delete 30 | find "$pkgdir" -name '*.pod' -delete 31 | # template start; name=perl-binary-module-dependency; version=1; 32 | if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then 33 | _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') 34 | _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') 35 | depends+=("perl>=$_perlver_min" "perl<$_perlver_max") 36 | fi 37 | # template end; 38 | } 39 | -------------------------------------------------------------------------------- /perl-text-wrapi18n/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id: PKGBUILD 67415 2012-03-11 13:48:47Z cbrannon $ 2 | # Maintainer: Thorsten Töpper 3 | # Contributor: Aaron Griffin 4 | 5 | pkgname=perl-text-wrapi18n 6 | _realname=Text-WrapI18N 7 | pkgver=0.06 8 | pkgrel=7 9 | pkgdesc="Line wrapping module with support for multibyte, fullwidth, and combining characters and languages without whitespaces between words" 10 | arch=('any') 11 | license=('GPL' 'PerlArtistic') 12 | url="http://search.cpan.org/dist/${_realname}/" 13 | depends=('perl-text-charwidth') 14 | options=('!emptydirs') 15 | source=("http://search.cpan.org/CPAN/authors/id/K/KU/KUBOTA/${_realname}-${pkgver}.tar.gz") 16 | md5sums=('0799c16a00926e6c18d400c2e2861d5f') 17 | 18 | build() { 19 | cd ${srcdir}/${_realname}-${pkgver} 20 | # install module in vendor directories. 21 | perl Makefile.PL INSTALLDIRS=vendor 22 | make 23 | make test 24 | } 25 | 26 | package() { 27 | cd ${srcdir}/${_realname}-${pkgver} 28 | make DESTDIR=${pkgdir} install 29 | 30 | # remove perllocal.pod, .packlist, and empty dirs: 31 | find ${pkgdir} -name '.packlist' -delete 32 | find ${pkgdir} -name 'perllocal.pod' -delete 33 | } 34 | -------------------------------------------------------------------------------- /perl-unicode-linebreak/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $ID$ 2 | # Maintainer: Rémy Oudompheng 3 | 4 | pkgname=perl-unicode-linebreak 5 | _dist=Unicode-LineBreak 6 | pkgver=2017.004 7 | pkgrel=1 8 | pkgdesc="UAX #14 Unicode Line Breaking Algorithm" 9 | arch=('x86_64') 10 | url="https://metacpan.org/release/${_dist}" 11 | license=('PerlArtistic' 'GPL') 12 | depends=('perl' 'perl-mime-charset' 'libthai') 13 | checkdepends=('perl-test-pod') 14 | options=('!emptydirs') 15 | source=(https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/${_dist}-${pkgver}.tar.gz) 16 | # Checksums from https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/CHECKSUMS 17 | md5sums=('de7672227922260ac92d20bbad29660b') 18 | sha256sums=('655bc3c4cb60ad0770d97816716cfe322f24e602c70e595f5941dfa02c40cb76') 19 | 20 | build() { 21 | cd "${srcdir}/${_dist}-${pkgver}" 22 | unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT 23 | export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps 24 | perl Makefile.PL 25 | make 26 | } 27 | 28 | check() { 29 | cd "${srcdir}/${_dist}-${pkgver}" 30 | unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT 31 | export PERL_MM_USE_DEFAULT=1 32 | make test 33 | } 34 | 35 | package() { 36 | cd "${srcdir}/${_dist}-${pkgver}" 37 | unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT 38 | make install INSTALLDIRS=vendor DESTDIR="$pkgdir" 39 | } 40 | -------------------------------------------------------------------------------- /perl/.unmodified: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/z3ntu/archhurd_packages/31183068de26418e449ca4fc30d5610793c96a42/perl/.unmodified -------------------------------------------------------------------------------- /perl/detect-old-perl-modules.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Operation = Install 3 | Operation = Upgrade 4 | Type = File 5 | Target = usr/lib/perl5/*/ 6 | 7 | [Action] 8 | Description = Warn about old perl modules 9 | When = PostTransaction 10 | Exec = /usr/share/libalpm/scripts/detect-old-perl-modules.sh 11 | -------------------------------------------------------------------------------- /perl/detect-old-perl-modules.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | basedir=/usr/lib/perl5 4 | perlver=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') 5 | 6 | dir_empty() { 7 | local dir=$1 8 | [[ $(find $dir -maxdepth 0 -empty -exec echo empty \;) = "empty" ]] && return 0 || return 1 9 | } 10 | 11 | print_unowned_files() { 12 | local dir=$1 13 | LC_ALL=C find "$dir" -type f -exec pacman -Qqo {} + |& sed -n 's/^error: No package owns \(.*\)$/\1/p' 14 | } 15 | 16 | for dir in "$basedir/"*; do 17 | if [[ "${dir##*/}" != "$perlver" ]]; then 18 | if [[ -d "$dir" ]] && ! dir_empty "$dir"; then 19 | pkgcount=$(pacman -Qqo "$dir" | wc -l) 20 | if ((pkgcount > 0)); then 21 | printf "WARNING: '%s' contains data from at least %d packages which will NOT be used by the installed perl interpreter.\n" "$dir" "$pkgcount" 22 | printf " -> Run the following command to get a list of affected packages: pacman -Qqo '%s'\n" "$dir" 23 | fi 24 | 25 | unowned_count=$(print_unowned_files "$dir" | wc -l) 26 | if ((unowned_count > 0)); then 27 | printf "WARNING: %d file(s) in %s are not tracked by pacman and need to be rebuilt.\n" "$unowned_count" "$dir" 28 | printf " -> These were most likely installed directly by cpan or a similar tool.\n" 29 | printf " Run the following command to get a list of these files:\n" 30 | printf " LC_ALL=C find \"%s\" -type f -exec pacman -Qqo {} + |& sed -n 's/^error: No package owns \(.*\)$/\\\1/p'\n" "$dir" 31 | fi 32 | fi 33 | fi 34 | done 35 | 36 | 37 | -------------------------------------------------------------------------------- /perl/generate-rebuild-list.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "vim" 4 | 5 | pkgfile -rd "^/usr/lib/perl5/" | sed 's#^.*/##' | sort -u 6 | 7 | pkgfile -r "^/usr/lib/perl5/vendor_perl/auto/.*\.so$" | sed 's#^.*/##' | sort -u 8 | ssh soyuz.archlinux.org PATH=/usr/local/bin:\$PATH\; /home/bluewind/bin/sogrep-all libperl.so 9 | 10 | # this one is optional 11 | #pkgfile -r '^/usr/share/perl5/' | sed 's#^.*/##' | sort -u 12 | -------------------------------------------------------------------------------- /perl/perl-binary-module-dependency-1.template: -------------------------------------------------------------------------------- 1 | if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then 2 | _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') 3 | _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') 4 | depends+=("perl>=$_perlver_min" "perl<$_perlver_max") 5 | fi 6 | -------------------------------------------------------------------------------- /perl/perlbin.csh: -------------------------------------------------------------------------------- 1 | # Set path to perl scriptdirs if they exist 2 | # https://wiki.archlinux.org/index.php/Perl_Policy#Binaries_and_scripts 3 | # Added /usr/bin/*_perl dirs for scripts 4 | # Remove /usr/lib/perl5/*_perl/bin in next release 5 | 6 | [ -d /usr/bin/site_perl ] && setenv PATH ${PATH}:/usr/bin/site_perl 7 | [ -d /usr/lib/perl5/site_perl/bin ] && setenv PATH ${PATH}:/usr/lib/perl5/site_perl/bin 8 | 9 | [ -d /usr/bin/vendor_perl ] && setenv PATH ${PATH}:/usr/bin/vendor_perl 10 | [ -d /usr/lib/perl5/vendor_perl/bin ] && setenv PATH ${PATH}:/usr/lib/perl5/vendor_perl/bin 11 | 12 | [ -d /usr/bin/core_perl ] && setenv PATH ${PATH}:/usr/bin/core_perl 13 | 14 | # If you have modules in non-standard directories you can add them here. 15 | #export PERLLIB=dir1:dir2 16 | -------------------------------------------------------------------------------- /perl/perlbin.fish: -------------------------------------------------------------------------------- 1 | # Set path to perl scriptdirs if they exist 2 | # https://wiki.archlinux.org/index.php/Perl_Policy#Binaries_and_scripts 3 | 4 | if status --is-login 5 | for perldir in /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl 6 | if test -d $perldir 7 | set PATH $PATH $perldir 8 | end 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /perl/perlbin.sh: -------------------------------------------------------------------------------- 1 | # Set path to perl scriptdirs if they exist 2 | # https://wiki.archlinux.org/index.php/Perl_Policy#Binaries_and_scripts 3 | # Added /usr/bin/*_perl dirs for scripts 4 | # Remove /usr/lib/perl5/*_perl/bin in next release 5 | 6 | [ -d /usr/bin/site_perl ] && PATH=$PATH:/usr/bin/site_perl 7 | [ -d /usr/lib/perl5/site_perl/bin ] && PATH=$PATH:/usr/lib/perl5/site_perl/bin 8 | 9 | [ -d /usr/bin/vendor_perl ] && PATH=$PATH:/usr/bin/vendor_perl 10 | [ -d /usr/lib/perl5/vendor_perl/bin ] && PATH=$PATH:/usr/lib/perl5/vendor_perl/bin 11 | 12 | [ -d /usr/bin/core_perl ] && PATH=$PATH:/usr/bin/core_perl 13 | 14 | export PATH 15 | 16 | # If you have modules in non-standard directories you can add them here. 17 | #export PERLLIB=dir1:dir2 18 | 19 | -------------------------------------------------------------------------------- /perl/upgpkg: -------------------------------------------------------------------------------- 1 | upgpkg_build() { 2 | makepkg -o 3 | ./patchprov src/perl-$pkgver PKGBUILD 4 | } 5 | -------------------------------------------------------------------------------- /pinentry/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Tobias Powalowski 3 | # Maintainer: Gaetan Bisson 4 | 5 | pkgname=pinentry 6 | pkgver=1.0.0 7 | pkgrel=1 8 | pkgdesc='Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol' 9 | url='http://gnupg.org/related_software/pinentry/' 10 | arch=('i686' 'x86_64') 11 | license=('GPL') 12 | depends=('ncurses' 'libassuan') # libcap libsecret 13 | #makedepends=('gtk2' 'qt5-base' 'gcr') 14 | optdepends=('gtk2: gtk2 backend' 15 | 'qt5-base: qt backend' 16 | 'gcr: gnome3 backend') 17 | source=("ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}) 18 | sha256sums=('1672c2edc1feb036075b187c0773787b2afd0544f55025c645a71b4c2f79275a' 19 | 'SKIP') 20 | validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') 21 | 22 | build() { 23 | cd "${srcdir}/${pkgname}-${pkgver}" 24 | ./configure \ 25 | --prefix=/usr \ 26 | --enable-pinentry-tty \ 27 | --enable-pinentry-curses \ 28 | --enable-fallback-curses \ 29 | --enable-pinentry-emacs \ 30 | --enable-libsecret \ 31 | 32 | make 33 | } 34 | 35 | package() { 36 | cd "${srcdir}/${pkgname}-${pkgver}" 37 | make DESTDIR="${pkgdir}" install 38 | } 39 | -------------------------------------------------------------------------------- /pkg-config/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Bartłomiej Piotrowski 3 | # Contributor: Allan McRae 4 | # Contributor: Judd Vinet 5 | 6 | pkgname=pkg-config 7 | pkgver=0.29.2 8 | pkgrel=1 9 | pkgdesc="A system for managing library compile/link flags" 10 | arch=('i686' 'x86_64') 11 | url="http://pkgconfig.freedesktop.org/wiki/" 12 | license=('GPL') 13 | groups=('base-devel') 14 | #depends=('glib2') 15 | provides=("pkgconfig=${pkgver}") 16 | conflicts=('pkgconfig') 17 | replaces=('pkgconfig') 18 | source=(https://pkgconfig.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz{,.asc}) 19 | md5sums=('f6e931e319531b736fadc017f470e68a' 20 | 'SKIP') 21 | validpgpkeys=('6B99CE97F17F48C27F722D71023A4420C7EC6914') # Dan Nicholson 22 | 23 | build() { 24 | cd $pkgname-$pkgver 25 | ./configure --build=$CHOST --prefix=/usr --with-internal-glib 26 | make 27 | } 28 | 29 | check() { 30 | cd $pkgname-$pkgver 31 | make check 32 | } 33 | 34 | package() { 35 | cd $pkgname-$pkgver 36 | make DESTDIR="$pkgdir" install 37 | } 38 | -------------------------------------------------------------------------------- /po4a/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Thorsten Töpper 3 | # Contributor: Francois Boulogne 4 | # Contributor: Andre Klitzing 5 | # Contributor : Allan McRae 6 | # Contributor: Mikko Seppälä aka Neverth 7 | 8 | _dlid=4229 9 | pkgname=po4a 10 | pkgver=0.52 11 | pkgrel=1 12 | pkgdesc="tools for helping translation of documentation" 13 | arch=('any') 14 | license=('GPL') 15 | url="http://po4a.alioth.debian.org/" 16 | depends=('perl' 'gettext') 17 | makedepends=('docbook-xsl' 'perl-text-wrapi18n' 'perl-locale-gettext' 18 | 'perl-term-readkey' 'perl-sgmls' 'perl-module-build' 'perl-unicode-linebreak') 19 | options=('!emptydirs') 20 | source=(https://alioth.debian.org/frs/download.php/file/${_dlid}/${pkgname}-${pkgver}.tar.gz) 21 | sha256sums=('60a243da3ae372f019cd71483d46c898897f8692958403dfc2c8001c713e6fcf') 22 | 23 | build() { 24 | cd ${pkgname}-${pkgver} 25 | perl Build.PL installdirs=vendor create_packlist=0 26 | # The script expects a UTF-8 locale 27 | LC_ALL=en_US.UTF-8 perl Build 28 | } 29 | 30 | package() { 31 | cd ${pkgname}-${pkgver} 32 | perl Build destdir="${pkgdir}" install 33 | # remove perllocal.pod and .packlist 34 | find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete 35 | } 36 | -------------------------------------------------------------------------------- /procps-ng/install: -------------------------------------------------------------------------------- 1 | post_upgrade() { 2 | if [[ $(vercmp $2 3.3.8-3) = -1 ]]; then 3 | cat < The file /etc/sysctl.conf has been removed from this 6 | ==> package, as all its settings are now kernel defaults. 7 | 8 | ==> If you had customized it, you need to rename it as 9 | ==> /etc/sysctl.d/99-sysctl.conf since from version 207 on 10 | ==> systemd only applies settings from /etc/sysctl.d/* . 11 | 12 | EOF 13 | fi 14 | } 15 | -------------------------------------------------------------------------------- /procps-ng/watch_hostname_max_define.diff: -------------------------------------------------------------------------------- 1 | --- a/watch.c 2 | +++ b/watch.c 3 | @@ -62,6 +62,10 @@ 4 | # define isprint(x) ( (x>=' '&&x<='~') || (x>=0xa0) ) 5 | #endif 6 | 7 | +#ifndef HOST_NAME_MAX 8 | +#define HOST_NAME_MAX 64 9 | +#endif 10 | + 11 | /* Boolean command line options */ 12 | static int flags; 13 | #define WATCH_DIFF (1 << 1) 14 | -------------------------------------------------------------------------------- /publicsuffix-list/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Levente Polyak 2 | 3 | pkgname=publicsuffix-list 4 | _gitcommit=e8c69a676d76560d9239b98f0fa802efd3986e19 5 | pkgver=20171130.619.e8c69a6 6 | pkgrel=1 7 | pkgdesc='Cross-vendor public domain suffix database' 8 | url='https://github.com/publicsuffix/list' 9 | arch=('any') 10 | license=('custom:MPL2') 11 | makedepends=('git') 12 | source=(${pkgname}::"git+https://github.com/publicsuffix/list#commit=${_gitcommit}") 13 | sha512sums=('SKIP') 14 | 15 | pkgver() { 16 | cd ${pkgname} 17 | printf "%s.%s.%s" "$(date +%Y%m%d)" \ 18 | "$(git rev-list --count HEAD)" \ 19 | "$(git rev-parse --short HEAD)" 20 | } 21 | 22 | package() { 23 | cd ${pkgname} 24 | install -Dm 644 public_suffix_list.dat tests/test_psl.txt -t "${pkgdir}/usr/share/publicsuffix" 25 | ln -s public_suffix_list.dat "${pkgdir}/usr/share/publicsuffix/effective_tld_names.dat" 26 | install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" 27 | } 28 | 29 | # vim: ts=2 sw=2 et: 30 | -------------------------------------------------------------------------------- /python-appdirs/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Felix Yan 3 | # Contributor: Tobias Roettger 4 | 5 | pkgbase=python-appdirs 6 | pkgname=(python-appdirs python2-appdirs) 7 | pkgver=1.4.3 8 | pkgrel=1 9 | pkgdesc='A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".' 10 | arch=('any') 11 | url="https://github.com/ActiveState/appdirs" 12 | license=('MIT') 13 | makedepends=('python-setuptools' 'python2-setuptools') 14 | source=("https://pypi.io/packages/source/a/appdirs/appdirs-$pkgver.tar.gz") 15 | md5sums=('44c679904082a2133f5566c8a0d3ab42') 16 | 17 | prepare() { 18 | cp -a appdirs-$pkgver{,-py2} 19 | } 20 | 21 | build() { 22 | cd "$srcdir"/appdirs-$pkgver 23 | python setup.py build 24 | 25 | cd "$srcdir"/appdirs-$pkgver-py2 26 | python2 setup.py build 27 | } 28 | 29 | check() { 30 | cd "$srcdir"/appdirs-$pkgver 31 | python setup.py test 32 | 33 | cd "$srcdir"/appdirs-$pkgver-py2 34 | python2 setup.py test 35 | } 36 | 37 | package_python-appdirs() { 38 | depends=('python') 39 | 40 | cd appdirs-$pkgver 41 | python setup.py install --root="$pkgdir/" --optimize=1 42 | install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt 43 | } 44 | 45 | package_python2-appdirs() { 46 | depends=('python2') 47 | 48 | cd appdirs-$pkgver-py2 49 | python2 setup.py install --root="$pkgdir/" --optimize=1 50 | install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt 51 | } 52 | 53 | # vim:set ts=2 sw=2 et: 54 | -------------------------------------------------------------------------------- /python-packaging/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Felix Yan 3 | 4 | pkgbase=python-packaging 5 | pkgname=(python-packaging python2-packaging) 6 | pkgver=16.8 7 | pkgrel=2 8 | pkgdesc="Core utilities for Python packages" 9 | arch=('any') 10 | url="https://github.com/pypa/packaging" 11 | license=('Apache') 12 | makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 'python2-pyparsing' 'git') 13 | checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 'python2-pretend' 'python-coverage' 'python2-coverage') 14 | source=("git+https://github.com/pypa/packaging.git#tag=$pkgver") 15 | md5sums=('SKIP') 16 | 17 | prepare() { 18 | cp -a packaging{,-py2} 19 | } 20 | 21 | build() { 22 | cd "$srcdir"/packaging 23 | python setup.py build 24 | 25 | cd "$srcdir"/packaging-py2 26 | python2 setup.py build 27 | } 28 | 29 | check() { 30 | cd "$srcdir"/packaging 31 | python setup.py ptr 32 | 33 | cd "$srcdir"/packaging-py2 34 | python2 setup.py ptr 35 | } 36 | 37 | package_python-packaging() { 38 | depends=('python-pyparsing' 'python-six') 39 | 40 | cd "$srcdir"/packaging 41 | python setup.py install --root "$pkgdir" 42 | } 43 | 44 | package_python2-packaging() { 45 | depends=('python2-pyparsing' 'python2-six') 46 | 47 | cd "$srcdir"/packaging-py2 48 | python2 setup.py install --root "$pkgdir" 49 | } 50 | -------------------------------------------------------------------------------- /python-six/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Felix Yan 3 | # Contributor: Jelle van der Waa 4 | # Contributer: Allan McRae 5 | 6 | pkgbase=python-six 7 | pkgname=('python2-six' 'python-six') 8 | pkgver=1.11.0 9 | pkgrel=1 10 | pkgdesc="Python 2 and 3 compatibility utilities" 11 | arch=('any') 12 | url="http://pypi.python.org/pypi/six/" 13 | license=('MIT') 14 | makedepends=('python-setuptools' 'python2-setuptools') 15 | checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'tk') 16 | source=("https://pypi.io/packages/source/s/six/six-$pkgver.tar.gz") 17 | sha512sums=('33f246a2e987141e17e5edad9d3537cf3aba0cbdd0bc2a907ea52ce0d674b1474f29c3dd5cc26605fd960396054b189ca5f501708333cad234c223131483fe24') 18 | 19 | build() { 20 | cp -a six-$pkgver{,-py2} 21 | } 22 | 23 | check() { 24 | cd "$srcdir"/six-$pkgver 25 | python setup.py pytest 26 | 27 | cd "$srcdir"/six-$pkgver-py2 28 | python2 setup.py pytest 29 | } 30 | 31 | package_python-six() { 32 | depends=('python') 33 | 34 | cd six-$pkgver 35 | python setup.py install --root "$pkgdir" --optimize=1 36 | install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE 37 | } 38 | 39 | package_python2-six() { 40 | depends=('python2') 41 | 42 | cd six-$pkgver-py2 43 | python2 setup.py install --root "$pkgdir" --optimize=1 44 | install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE 45 | } 46 | -------------------------------------------------------------------------------- /python/dont-make-libpython-readonly.patch: -------------------------------------------------------------------------------- 1 | diff --git a/Makefile.pre.in b/Makefile.pre.in 2 | index ce2c0aa..7d6dcf7 100644 3 | --- a/Makefile.pre.in 4 | +++ b/Makefile.pre.in 5 | @@ -60,7 +60,7 @@ INSTALL_DATA= @INSTALL_DATA@ 6 | # Shared libraries must be installed with executable mode on some systems; 7 | # rather than figuring out exactly which, we always give them executable mode. 8 | # Also, making them read-only seems to be a good idea... 9 | -INSTALL_SHARED= ${INSTALL} -m 555 10 | +INSTALL_SHARED= ${INSTALL} -m 755 11 | 12 | MKDIR_P= @MKDIR_P@ 13 | 14 | -------------------------------------------------------------------------------- /python2/disable-tests.patch: -------------------------------------------------------------------------------- 1 | --- a/Makefile 2017-11-24 22:22:19.000000000 +0000 2 | +++ b/Makefile 2017-11-24 22:22:29.000000000 +0000 3 | @@ -212,7 +212,7 @@ 4 | # The task to run while instrument when building the profile-opt target 5 | # We exclude unittests with -x that take a rediculious amount of time to 6 | # run in the instrumented training build or do not provide much value. 7 | -PROFILE_TASK=-m test.regrtest --pgo -x test_asyncore test_gdb test_multiprocessing test_subprocess 8 | +PROFILE_TASK=-m test.regrtest -v --pgo -x test_asyncore test_gdb test_multiprocessing test_subprocess test_io test_logging test_posix 9 | 10 | # report files for gcov / lcov coverage report 11 | COVERAGE_INFO= $(abs_builddir)/coverage.info 12 | -------------------------------------------------------------------------------- /python2/fix-profile-task.patch: -------------------------------------------------------------------------------- 1 | diff --git a/Python-2.7.13/Makefile.pre.in b/Python-2.7.13/Makefile.pre.in 2 | index e288964..22edc27 100644 3 | --- a/Python-2.7.13/Makefile.pre.in 4 | +++ b/Python-2.7.13/Makefile.pre.in 5 | @@ -456,7 +456,7 @@ build_all_generate_profile: 6 | 7 | run_profile_task: 8 | : # FIXME: can't run for a cross build 9 | - $(LLVM_PROF_FILE) ./$(BUILDPYTHON) $(PROFILE_TASK) || true 10 | + $(LLVM_PROF_FILE) $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK) || true 11 | 12 | build_all_merge_profile: 13 | $(LLVM_PROF_MERGER) 14 | -------------------------------------------------------------------------------- /re2c/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: 3 | # Contributor: nut543 4 | # Contributor: Dale Blount 5 | 6 | pkgname=re2c 7 | pkgver=1.0.3 8 | pkgrel=1 9 | arch=(x86_64) 10 | depends=(gcc-libs) 11 | pkgdesc='A tool for generating C-based recognizers from regular expressions' 12 | url='http://re2c.org' 13 | license=(GPL) 14 | source=(re2c-$pkgver.tar.gz::https://github.com/skvadrik/re2c/archive/$pkgver.tar.gz 15 | autogen.patch) 16 | sha1sums=('633d80252fefbb36901517b606f51b5baf3b14a7' 17 | '9fac985a54a5ad574b8e419c1bc8b34f97e775f1') 18 | 19 | prepare() { 20 | cd $pkgname-$pkgver/re2c 21 | patch -Np1 -i "$srcdir"/autogen.patch 22 | } 23 | 24 | build() { 25 | cd $pkgname-$pkgver/re2c 26 | ./autogen.sh 27 | ./configure --prefix=/usr 28 | make 29 | } 30 | 31 | check() { 32 | cd $pkgname-$pkgver/re2c 33 | make tests 34 | } 35 | 36 | package() { 37 | cd $pkgname-$pkgver/re2c 38 | make DESTDIR="$pkgdir" install 39 | } 40 | -------------------------------------------------------------------------------- /re2c/autogen.patch: -------------------------------------------------------------------------------- 1 | --- a/autogen.sh 2017-11-24 13:59:40.000000000 +0000 2 | +++ b/autogen.sh 2017-11-24 13:59:43.000000000 +0000 3 | @@ -1,4 +1,3 @@ 4 | #!/bin/sh 5 | 6 | -git clean -fXd 7 | autoreconf -i -W all 8 | -------------------------------------------------------------------------------- /readline/inputrc: -------------------------------------------------------------------------------- 1 | # do not bell on tab-completion 2 | #set bell-style none 3 | 4 | set meta-flag on 5 | set input-meta on 6 | set convert-meta off 7 | set output-meta on 8 | 9 | $if mode=emacs 10 | 11 | # for linux console and RH/Debian xterm 12 | "\e[1~": beginning-of-line 13 | "\e[4~": end-of-line 14 | "\e[5~": beginning-of-history 15 | "\e[6~": end-of-history 16 | "\e[7~": beginning-of-line 17 | "\e[3~": delete-char 18 | "\e[2~": quoted-insert 19 | "\e[5C": forward-word 20 | "\e[5D": backward-word 21 | "\e\e[C": forward-word 22 | "\e\e[D": backward-word 23 | "\e[1;5C": forward-word 24 | "\e[1;5D": backward-word 25 | 26 | # for rxvt 27 | "\e[8~": end-of-line 28 | 29 | # for non RH/Debian xterm, can't hurt for RH/DEbian xterm 30 | "\eOH": beginning-of-line 31 | "\eOF": end-of-line 32 | 33 | # for freebsd console 34 | "\e[H": beginning-of-line 35 | "\e[F": end-of-line 36 | $endif 37 | -------------------------------------------------------------------------------- /sed/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Sébastien "Seblu" Luttringer 3 | # Contributor: Allan McRae 4 | # Contributor: judd 5 | 6 | pkgname=sed 7 | pkgver=4.4 8 | pkgrel=1 9 | pkgdesc='GNU stream editor' 10 | arch=('x86_64') 11 | url='https://www.gnu.org/software/sed/' 12 | license=('GPL3') 13 | groups=('base' 'base-devel') 14 | depends=('glibc' 'acl' 'attr') 15 | makedepends=('gettext') 16 | source=("https://ftp.gnu.org/pub/gnu/sed/$pkgname-$pkgver.tar.xz"{,.sig}) 17 | validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000BEEEE') #Jim Meyering 18 | md5sums=('e0c583d4c380059abd818cd540fe6938' 19 | 'SKIP') 20 | 21 | build() { 22 | cd $pkgname-$pkgver 23 | ./configure --prefix=/usr 24 | make 25 | } 26 | 27 | check() { 28 | cd $pkgname-$pkgver 29 | make check 30 | } 31 | 32 | package() { 33 | cd $pkgname-$pkgver 34 | make DESTDIR="$pkgdir" install 35 | } 36 | 37 | # vim:set ts=2 sw=2 et: 38 | -------------------------------------------------------------------------------- /shadow/chgpasswd: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | account required pam_permit.so 4 | password include system-auth 5 | -------------------------------------------------------------------------------- /shadow/chpasswd: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | auth required pam_unix.so 4 | account required pam_unix.so 5 | session required pam_unix.so 6 | password required pam_unix.so sha512 shadow 7 | -------------------------------------------------------------------------------- /shadow/defaults.pam: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | auth required pam_unix.so 4 | account required pam_unix.so 5 | session required pam_unix.so 6 | password required pam_permit.so 7 | -------------------------------------------------------------------------------- /shadow/newusers: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | auth sufficient pam_rootok.so 3 | auth required pam_unix.so 4 | account required pam_unix.so 5 | session required pam_unix.so 6 | password required pam_unix.so sha512 shadow 7 | -------------------------------------------------------------------------------- /shadow/passwd: -------------------------------------------------------------------------------- 1 | #%PAM-1.0 2 | #password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3 3 | #password required pam_unix.so sha512 shadow use_authtok 4 | password required pam_unix.so sha512 shadow nullok 5 | -------------------------------------------------------------------------------- /shadow/shadow-strncpy-usage.patch: -------------------------------------------------------------------------------- 1 | diff -u shadow-4.1.5/src/usermod.c.orig shadow-4.1.5/src/usermod.c 2 | --- shadow-4.1.5/src/usermod.c.orig 2012-02-13 08:19:43.792146449 -0500 3 | +++ shadow-4.1.5/src/usermod.c 2012-02-13 08:21:19.375114500 -0500 4 | @@ -182,7 +182,7 @@ 5 | struct tm *tp; 6 | 7 | if (date < 0) { 8 | - strncpy (buf, "never", maxsize); 9 | + strncpy (buf, "never", maxsize - 1); 10 | } else { 11 | time_t t = (time_t) date; 12 | tp = gmtime (&t); 13 | diff -u shadow-4.1.5/src/login.c.orig shadow-4.1.5/src/login.c 14 | --- shadow-4.1.5/src/login.c.orig 2012-02-13 08:19:50.951994454 -0500 15 | +++ shadow-4.1.5/src/login.c 2012-02-13 08:21:04.490430937 -0500 16 | @@ -752,7 +752,8 @@ 17 | _("%s login: "), hostn); 18 | } else { 19 | strncpy (loginprompt, _("login: "), 20 | - sizeof (loginprompt)); 21 | + sizeof (loginprompt) - 1); 22 | + loginprompt[sizeof (loginprompt) - 1] = '\0'; 23 | } 24 | 25 | retcode = pam_set_item (pamh, PAM_USER_PROMPT, loginprompt); 26 | -------------------------------------------------------------------------------- /shadow/shadow.install: -------------------------------------------------------------------------------- 1 | post_upgrade() { 2 | grpck -r >/dev/null 2>&1 3 | if [ $? -eq 2 ]; then 4 | printf '%s\n' \ 5 | "==> Warning: /etc/group or /etc/gshadow are inconsistent." \ 6 | " Run 'grpck' to correct this." 7 | fi 8 | return 0 9 | } 10 | -------------------------------------------------------------------------------- /shadow/shadow.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Verify integrity of password and group files 3 | After=systemd-sysusers.service 4 | 5 | [Service] 6 | Type=simple 7 | ExecStart=/bin/sh -c '/usr/bin/pwck -r ; /usr/bin/grpck -r' 8 | Nice=19 9 | IOSchedulingClass=best-effort 10 | IOSchedulingPriority=7 11 | -------------------------------------------------------------------------------- /shadow/shadow.timer: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Daily verification of password and group files 3 | 4 | [Timer] 5 | OnCalendar=daily 6 | AccuracySec=12h 7 | Persistent=true 8 | -------------------------------------------------------------------------------- /shadow/useradd.defaults: -------------------------------------------------------------------------------- 1 | # useradd defaults file for ArchLinux 2 | # original changes by TomK 3 | GROUP=100 4 | HOME=/home 5 | INACTIVE=-1 6 | EXPIRE= 7 | SHELL=/bin/bash 8 | SKEL=/etc/skel 9 | CREATE_MAIL_SPOOL=no 10 | -------------------------------------------------------------------------------- /shadow/xstrdup.patch: -------------------------------------------------------------------------------- 1 | --- shadow-4.1.2.1/libmisc/xmalloc.c 2008-08-30 21:55:44.000000000 -0500 2 | +++ shadow-4.1.2.1/libmisc/xmalloc.c.new 2008-08-30 21:55:36.000000000 -0500 3 | @@ -61,5 +61,6 @@ 4 | 5 | char *xstrdup (const char *str) 6 | { 7 | + if(str == NULL) return NULL; 8 | return strcpy (xmalloc (strlen (str) + 1), str); 9 | } 10 | -------------------------------------------------------------------------------- /source-highlight/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Giovanni Scafora 3 | # Contributor: Douglas Soares de Andrade 4 | 5 | pkgname=source-highlight 6 | pkgver=3.1.8 7 | pkgrel=13 8 | pkgdesc="Convert source code to syntax highlighted document" 9 | arch=('x86_64') 10 | url="http://www.gnu.org/software/src-highlite/" 11 | license=('GPL') 12 | depends=('bash' 'boost-libs') 13 | makedepends=('ctags' 'boost') 14 | source=("ftp://ftp.gnu.org/gnu/src-highlite/${pkgname}-${pkgver}.tar.gz") 15 | md5sums=('3243470706ef5fefdc3e43b5306a4e41') 16 | 17 | build() { 18 | cd ${pkgname}-${pkgver} 19 | 20 | ./configure --prefix=/usr \ 21 | --sysconfdir=/etc \ 22 | --with-bash-completion=/usr/share/bash-completion/completions 23 | make 24 | } 25 | 26 | package() { 27 | cd ${pkgname}-${pkgver} 28 | 29 | make prefix="${pkgdir}/usr" bash_completiondir="${pkgdir}/usr/share/bash-completion/completions" install 30 | 31 | # PKGBUILD syntax highlighting 32 | echo -e "\npkgbuild = sh.lang" >> "${pkgdir}"/usr/share/${pkgname}/lang.map 33 | } 34 | -------------------------------------------------------------------------------- /tar/01-When-extracting-skip-.-members.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/extract.c b/src/extract.c 2 | index f982433..7904148 100644 3 | --- a/src/extract.c 4 | +++ b/src/extract.c 5 | @@ -1629,12 +1629,20 @@ extract_archive (void) 6 | { 7 | char typeflag; 8 | tar_extractor_t fun; 9 | + bool skip_dotdot_name; 10 | 11 | fatal_exit_hook = extract_finish; 12 | 13 | set_next_block_after (current_header); 14 | 15 | + skip_dotdot_name = (!absolute_names_option 16 | + && contains_dot_dot (current_stat_info.orig_file_name)); 17 | + if (skip_dotdot_name) 18 | + ERROR ((0, 0, _("%s: Member name contains '..'"), 19 | + quotearg_colon (current_stat_info.orig_file_name))); 20 | + 21 | if (!current_stat_info.file_name[0] 22 | + || skip_dotdot_name 23 | || (interactive_option 24 | && !confirm ("extract", current_stat_info.file_name))) 25 | { 26 | -------------------------------------------------------------------------------- /tar/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Mainainer: Sébastien "Seblu" Luttringer 3 | # Contributor: Allan McRae 4 | # Contributor: Andreas Radke 5 | 6 | pkgname=tar 7 | pkgver=1.29 8 | pkgrel=2 9 | pkgdesc='Utility used to store, backup, and transport files' 10 | arch=('i686' 'x86_64') 11 | url='https://www.gnu.org/software/tar/' 12 | license=('GPL3') 13 | groups=('base') 14 | depends=('glibc' 'acl' 'attr') 15 | options=('!emptydirs') 16 | validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff 17 | source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig} 18 | '01-When-extracting-skip-.-members.patch') 19 | md5sums=('a1802fec550baaeecff6c381629653ef' 20 | 'SKIP' 21 | '21f9b5b3642b5476bd972189c33d06ca') 22 | 23 | prepare() { 24 | cd $pkgname-$pkgver 25 | # apply patch from the source array (should be a pacman feature) 26 | local filename 27 | for filename in "${source[@]}"; do 28 | if [[ "$filename" =~ \.patch$ ]]; then 29 | msg2 "Applying patch ${filename##*/}" 30 | patch -p1 -N -i "$srcdir/${filename##*/}" 31 | fi 32 | done 33 | : 34 | } 35 | 36 | build() { 37 | cd $pkgname-$pkgver 38 | ./configure --prefix=/usr --libexecdir=/usr/lib/tar 39 | make 40 | } 41 | 42 | check() { 43 | cd $pkgname-$pkgver 44 | make check 45 | } 46 | 47 | package() { 48 | cd $pkgname-$pkgver 49 | make DESTDIR="$pkgdir" install 50 | } 51 | 52 | # vim:set ts=2 sw=2 et: 53 | -------------------------------------------------------------------------------- /texinfo/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Bartłomiej Piotrowski 3 | # Contributor: Allan McRae 4 | # Contributor: Tom Newsom 5 | 6 | pkgname=texinfo 7 | pkgver=6.5 8 | pkgrel=1 9 | pkgdesc='GNU documentation system for on-line information and printed output' 10 | arch=(i686 x86_64) 11 | url='http://www.gnu.org/software/texinfo/' 12 | license=(GPL3) 13 | groups=(base base-devel) 14 | depends=(ncurses gzip perl sh) 15 | source=(https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig} 16 | texinfo-install.hook 17 | texinfo-remove.hook) 18 | md5sums=('3715197e62e0e07f85860b3d7aab55ed' 19 | 'SKIP' 20 | '9a98fb162650ff3065f9a4ebec22db36' 21 | '5590fb3ef9ec309c98f5a4d85eca49da') 22 | validpgpkeys=('EAF669B31E31E1DECBD11513DDBC579DAB37FBA9') # Gavin Smith 23 | 24 | build() { 25 | cd $pkgname-$pkgver 26 | ./configure --prefix=/usr 27 | make 28 | } 29 | 30 | check() { 31 | make -C $pkgname-$pkgver check 32 | } 33 | 34 | package() { 35 | make -C $pkgname-$pkgver DESTDIR="$pkgdir" install 36 | 37 | install -dm755 "$pkgdir"/usr/share/libalpm/hooks/ 38 | install -m644 texinfo-{install,remove}.hook "$pkgdir"/usr/share/libalpm/hooks/ 39 | } 40 | -------------------------------------------------------------------------------- /texinfo/texinfo-install.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Target = usr/share/info/* 6 | 7 | [Action] 8 | Description = Updating the info directory file... 9 | When = PostTransaction 10 | Exec = /bin/sh -c 'while read -r f; do install-info "$f" /usr/share/info/dir 2> /dev/null; done' 11 | NeedsTargets 12 | -------------------------------------------------------------------------------- /texinfo/texinfo-remove.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Remove 4 | Target = usr/share/info/* 5 | 6 | [Action] 7 | Description = Removing old entries from the info directory file... 8 | When = PreTransaction 9 | Exec = /bin/sh -c 'while read -r f; do install-info --delete "$f" /usr/share/info/dir 2> /dev/null; done' 10 | NeedsTargets 11 | -------------------------------------------------------------------------------- /tzdata/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Andreas Radke 3 | 4 | pkgname=tzdata 5 | pkgver=2017c 6 | pkgrel=1 7 | pkgdesc="Sources for time zone and daylight saving time data" 8 | arch=('any') 9 | url="http://www.iana.org/time-zones" 10 | license=('GPL') 11 | options=('!emptydirs') 12 | # new signing key is not available via public keyservers 13 | source=(https://www.iana.org/time-zones/repository/releases/${pkgname}${pkgver}.tar.gz{,.asc}) 14 | sha512sums=('feb5c544e617b30c73a397e5a1c51f9847d0fddf1dfa0f9ace2e6f686786f09b666937b2048e07075c84593fc584bd5a25d639fce70eca9735267df28621ab4c' 15 | 'SKIP') 16 | validpgpkeys=('7E3792A9D8ACF7D633BC1588ED97E90E62AA7E34') # Paul Eggert 17 | 18 | timezones=('africa' 'antarctica' 'asia' 'australasia' 19 | 'europe' 'northamerica' 'southamerica' 20 | 'pacificnew' 'etcetera' 'backward' 21 | 'systemv' 'factory') 22 | 23 | package() { 24 | cd ${srcdir} 25 | zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo ${timezones[@]} 26 | zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo/posix ${timezones[@]} 27 | zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo/right -L leapseconds ${timezones[@]} 28 | 29 | zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo -p America/New_York 30 | install -m444 -t ${pkgdir}/usr/share/zoneinfo iso3166.tab zone1970.tab zone.tab # zone.tab is depricated and will go soon 31 | } 32 | -------------------------------------------------------------------------------- /vi/fix-tubesize-short-overflow.patch: -------------------------------------------------------------------------------- 1 | diff -upr ex-070224.orig/ex_vis.h ex-070224/ex_vis.h 2 | --- ex-070224.orig/ex_vis.h 2005-08-06 14:41:15.000000000 +0300 3 | +++ ex-070224/ex_vis.h 2015-05-02 20:41:13.938665281 +0300 4 | @@ -104,7 +104,7 @@ var enum { 5 | */ 6 | var short TUBELINES; 7 | var short TUBECOLS; 8 | -var short TUBESIZE; 9 | +var int TUBESIZE; 10 | 11 | /* 12 | * The screen in visual and crtopen is of varying size; the basic 13 | -------------------------------------------------------------------------------- /vi/vi-hurd.patch: -------------------------------------------------------------------------------- 1 | diff -upr ex-050325.orig//ex_tty.c ex-050325/ex_tty.c 2 | --- ex-050325.orig//ex_tty.c 2010-04-25 09:24:58.830000000 +0000 3 | +++ ex-050325/ex_tty.c 2010-04-25 09:27:14.860000000 +0000 4 | @@ -129,7 +129,8 @@ gettmode(void) 5 | char *xPC; 6 | char **sstrs[] = { 7 | &AL, &BC, &BT, &CD, &CE, &CL, &CM, &xCR, &xCS, &DC, &DL, &DM, &DO, 8 | - &ED, &EI, &F0, &F1, &F2, &F3, &F4, &F5, &F6, &F7, &F8, &F9, 9 | + /*&ED, &EI, &F0, &F1, &F2, &F3, &F4, &F5, &F6, &F7, &F8, &F9, */ 10 | + &EI, &F0, &F1, &F2, &F3, &F4, &F5, &F6, &F7, &F8, &F9, 11 | &HO, &IC, &IM, &IP, &KD, &KE, &KH, &KL, &KR, &KS, &KU, &LL, &ND, &xNL, 12 | &xPC, &RC, &SC, &SE, &SF, &SO, &SR, &TA, &TE, &TI, &UP, &VB, &VS, &VE, 13 | &AL_PARM, &DL_PARM, &UP_PARM, &DOWN_PARM, &LEFT_PARM, &RIGHT_PARM 14 | diff -upr ex-050325.orig//ex_tty.h ex-050325/ex_tty.h 15 | --- ex-050325.orig//ex_tty.h 2010-04-25 09:24:58.320000000 +0000 16 | +++ ex-050325/ex_tty.h 2010-04-25 09:26:18.000000000 +0000 17 | @@ -125,7 +125,9 @@ var char *DL_PARM; /* P* Delete n lines 18 | var char *DM; /* Delete mode (enter) */ 19 | var char *DO; /* Down line sequence */ 20 | var char *DOWN_PARM; /* Down n lines */ 21 | -var char *ED; /* End delete mode */ 22 | +/*var char *ED; 23 | +For some reason hurd won't compile with ED*/ 24 | +/* End delete mode */ 25 | var char *EI; /* End insert mode */ 26 | var char *F0,*F1,*F2,*F3,*F4,*F5,*F6,*F7,*F8,*F9; 27 | /* Strings sent by various function keys */ 28 | -------------------------------------------------------------------------------- /vim/vimdoc.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Operation = Install 3 | Operation = Upgrade 4 | Operation= Remove 5 | Type = File 6 | Target = usr/share/vim/vimfiles/doc/ 7 | 8 | [Action] 9 | Description = Updating Vim help tags... 10 | Exec = /usr/bin/vim -es --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" 11 | When = PostTransaction 12 | -------------------------------------------------------------------------------- /vim/vimrc: -------------------------------------------------------------------------------- 1 | " All system-wide defaults are set in $VIMRUNTIME/archlinux.vim (usually just 2 | " /usr/share/vim/vimfiles/archlinux.vim) and sourced by the call to :runtime 3 | " you can find below. If you wish to change any of those settings, you should 4 | " do it in this file (/etc/vimrc), since archlinux.vim will be overwritten 5 | " everytime an upgrade of the vim packages is performed. It is recommended to 6 | " make changes after sourcing archlinux.vim since it alters the value of the 7 | " 'compatible' option. 8 | 9 | " This line should not be removed as it ensures that various options are 10 | " properly set to work with the Vim-related packages. 11 | runtime! archlinux.vim 12 | 13 | " If you prefer the old-style vim functionalty, add 'runtime! vimrc_example.vim' 14 | " Or better yet, read /usr/share/vim/vim80/vimrc_example.vim or the vim manual 15 | " and configure vim to your own liking! 16 | 17 | " do not load defaults if ~/.vimrc is missing 18 | "let skip_defaults_vim=1 19 | -------------------------------------------------------------------------------- /which/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Sébastien Luttringer 3 | # Contributor: Allan McRae 4 | # Contributor: Andreas Radke 5 | 6 | pkgname=which 7 | pkgver=2.21 8 | pkgrel=2 9 | pkgdesc='A utility to show the full path of commands' 10 | arch=('i686' 'x86_64') 11 | url='https://savannah.gnu.org/projects/which/' 12 | license=('GPL3') 13 | groups=('base' 'base-devel') 14 | depends=('glibc' 'bash') 15 | # gpg key is using deprecated md5 algo, do not use 16 | # check if a new one is issued in the next release 17 | source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz") 18 | md5sums=('097ff1a324ae02e0a3b0369f07a7544a') 19 | 20 | build() { 21 | cd $pkgname-$pkgver 22 | ./configure --prefix=/usr 23 | make 24 | } 25 | 26 | package() { 27 | cd $pkgname-$pkgver 28 | make DESTDIR="$pkgdir" install 29 | } 30 | 31 | # vim:set ts=2 sw=2 et: 32 | -------------------------------------------------------------------------------- /xmlto/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Giovanni Scafora 3 | # Contributor: Jan de Groot 4 | # Contributor: Sergej Pupykin 5 | # Contributor: Robert Stoffers 6 | 7 | pkgname=xmlto 8 | pkgver=0.0.28 9 | pkgrel=2 10 | pkgdesc="Convert xml to many other formats" 11 | arch=('i686' 'x86_64') 12 | url="https://pagure.io/xmlto/" 13 | license=('GPL') 14 | depends=('libxslt') 15 | makedepends=('docbook-xsl') 16 | source=("https://releases.pagure.org/xmlto/${pkgname}-${pkgver}.tar.bz2") 17 | md5sums=('93bab48d446c826399d130d959fe676f') 18 | sha256sums=('1130df3a7957eb9f6f0d29e4aa1c75732a7dfb6d639be013859b5c7ec5421276') 19 | 20 | build() { 21 | cd "$srcdir/${pkgname}-${pkgver}" 22 | 23 | ./configure BASH=/bin/bash --prefix=/usr \ 24 | --mandir=/usr/share/man 25 | make 26 | } 27 | 28 | package() { 29 | cd "$srcdir/${pkgname}-${pkgver}" 30 | 31 | make DESTDIR="${pkgdir}" install 32 | } 33 | -------------------------------------------------------------------------------- /xz/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Pierre Schmitz 3 | # Contributor: François Charette 4 | 5 | pkgname=xz 6 | pkgver=5.2.3 7 | pkgrel=1 8 | pkgdesc='Library and command line tools for XZ and LZMA compressed files' 9 | arch=('i686' 'x86_64') 10 | url='https://tukaani.org/xz/' 11 | license=('GPL' 'LGPL' 'custom') 12 | depends=('sh') 13 | source=("https://tukaani.org/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}) 14 | md5sums=('ef68674fb47a8b8e741b34e429d86e9d' 15 | 'SKIP') 16 | validpgpkeys=('3690C240CE51B4670D30AD1C38EE757D69184620') 17 | 18 | build() { 19 | cd ${srcdir}/${pkgname}-${pkgver} 20 | 21 | ./configure --prefix=/usr \ 22 | --disable-rpath \ 23 | --enable-werror 24 | make 25 | } 26 | 27 | check() { 28 | cd ${srcdir}/${pkgname}-${pkgver} 29 | make check 30 | } 31 | 32 | package() { 33 | cd ${srcdir}/${pkgname}-${pkgver} 34 | make DESTDIR=${pkgdir} install 35 | install -d -m755 ${pkgdir}/usr/share/licenses/xz/ 36 | ln -sf /usr/share/doc/xz/COPYING ${pkgdir}/usr/share/licenses/xz/ 37 | ln -sf /usr/share/licenses/common/GPL2/license.txt ${pkgdir}/usr/share/doc/xz/COPYING.GPLv2 38 | } 39 | -------------------------------------------------------------------------------- /zip/PKGBUILD: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # Maintainer: Gaetan Bisson 3 | # Contributor: dorphell 4 | 5 | pkgname=zip 6 | pkgver=3.0 7 | _pkgver=${pkgver/./} 8 | pkgrel=7 9 | pkgdesc='Compressor/archiver for creating and modifying zipfiles' 10 | url='http://www.info-zip.org/Zip.html' 11 | arch=('x86_64') 12 | license=('custom') 13 | depends=('bzip2') 14 | source=("https://downloads.sourceforge.net/infozip/${pkgname}${_pkgver}.tar.gz" 15 | 'zipnote.patch') 16 | sha256sums=('f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369' 17 | '89249a3f1fdf838b795ce432a2d763fdbe913d6a146541e41b7a2e2769291ba0') 18 | 19 | options=('!makeflags') 20 | 21 | prepare() { 22 | cd "${srcdir}/${pkgname}${_pkgver}" 23 | sed -e "/^CFLAGS_NOOPT =/s/\$/ $CPPFLAGS $CFLAGS/" -i unix/Makefile 24 | sed -e "s/^LFLAGS1=''/LFLAGS1=$LDFLAGS/" -i unix/configure 25 | patch -p1 -i ../zipnote.patch 26 | } 27 | 28 | build() { 29 | cd "${srcdir}/${pkgname}${_pkgver}" 30 | make -f unix/Makefile prefix=/usr generic_gcc 31 | } 32 | 33 | package() { 34 | cd "${srcdir}/${pkgname}${_pkgver}" 35 | make -f unix/Makefile prefix="${pkgdir}"/usr \ 36 | MANDIR=${pkgdir}/usr/share/man/man1 \ 37 | install 38 | install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" 39 | } 40 | -------------------------------------------------------------------------------- /zip/zipnote.patch: -------------------------------------------------------------------------------- 1 | diff --git a/zipnote.c b/zipnote.c 2 | index 5e02cb6..996f012 100644 3 | --- a/zipnote.c 4 | +++ b/zipnote.c 5 | @@ -661,7 +661,7 @@ char **argv; /* command line tokens */ 6 | if ((r = zipcopy(z)) != ZE_OK) 7 | ziperr(r, "was copying an entry"); 8 | } 9 | - fclose(x); 10 | + fclose(in_file); 11 | 12 | /* Write central directory and end of central directory with new comments */ 13 | if ((c = zftello(y)) == (zoff_t)-1) /* get start of central */ 14 | --------------------------------------------------------------------------------