--- libpthread-stubs-0.5.orig/.gitlab-ci.yml +++ libpthread-stubs-0.5/.gitlab-ci.yml @@ -0,0 +1,98 @@ +# vim: set expandtab shiftwidth=2 tabstop=8 textwidth=0 filetype=yaml: +# +# This CI uses the freedesktop.org ci-templates. +# Please see the ci-templates documentation for details: +# https://freedesktop.pages.freedesktop.org/ci-templates/ + +.templates_sha: &template_sha 34f4ade99434043f88e164933f570301fd18b125 # see https://docs.gitlab.com/ee/ci/yaml/#includefile + + +include: + # Arch container builder template + - project: 'freedesktop/ci-templates' + ref: *template_sha + file: '/templates/arch.yml' + - project: 'freedesktop/ci-templates' + ref: *template_sha + file: '/templates/ci-fairy.yml' + - template: Security/SAST.gitlab-ci.yml + + +stages: + - prep # prep work like rebuilding the container images if there is a change + - build # for actually building and testing things in a container + - test + - deploy + + +variables: + FDO_UPSTREAM_REPO: 'xorg/lib/pthread-stubs' + # The tag should be updated each time the list of packages is updated. + # Changing a tag forces the associated image to be rebuilt. + # Note: the tag has no meaning, we use a date format purely for readability + FDO_DISTRIBUTION_TAG: '2022-07-20.0' + FDO_DISTRIBUTION_PACKAGES: 'git gcc autoconf automake pkgconf make' + + +# +# Verify that commit messages are as expected +# +check-commits: + extends: + - .fdo.ci-fairy + stage: prep + script: + - ci-fairy check-commits --junit-xml=results.xml + except: + - master@xorg/lib/pthread-stubs + variables: + GIT_DEPTH: 100 + artifacts: + reports: + junit: results.xml + +# +# Verify that the merge request has the allow-collaboration checkbox ticked +# +check-merge-request: + extends: + - .fdo.ci-fairy + stage: deploy + script: + - ci-fairy check-merge-request --require-allow-collaboration --junit-xml=results.xml + artifacts: + when: on_failure + reports: + junit: results.xml + allow_failure: true + + +# +# Build a container with the given tag and the packages pre-installed. +# This only happens if/when the tag changes, otherwise the existing image is +# re-used. +# +container-prep: + extends: + - .fdo.container-build@arch + stage: prep + variables: + GIT_STRATEGY: none + + +# +# The default build, runs on the image built above. +# +build: + stage: build + extends: + - .fdo.distribution-image@arch + script: + - autoreconf -ivf + - mkdir _builddir + - pushd _builddir > /dev/null + - ../configure --disable-silent-rules + - make + - make check + - make distcheck + - popd > /dev/null --- libpthread-stubs-0.5.orig/autogen.sh +++ libpthread-stubs-0.5/autogen.sh @@ -0,0 +1,17 @@ +#! /bin/sh + +srcdir=`dirname "$0"` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd "$srcdir" + +autoreconf -v --install || exit 1 +cd "$ORIGDIR" || exit $? + +git config --local --get format.subjectPrefix >/dev/null 2>&1 || + git config --local format.subjectPrefix "PATCH pthread-stubs" + +if test -z "$NOCONFIGURE"; then + exec $srcdir/configure "$@" +fi --- libpthread-stubs-0.5.orig/debian/changelog +++ libpthread-stubs-0.5/debian/changelog @@ -0,0 +1,101 @@ +libpthread-stubs (0.5-1) unstable; urgency=medium + + [ Debian Janitor ] + * Remove MIA uploader Julien Danjou . Closes: #928564 + * Trim trailing whitespace. + * Bump debhelper from old 11 to 13. + * Set debhelper-compat version in Build-Depends. + * Update standards version to 4.6.0, no changes needed. + * Remove field Section on binary package libpthread-stubs0-dev that duplicates + source. + * Update standards version to 4.6.2, no changes needed. + + [ Julien Cristau ] + * Add pgp check to watch file, and upstream keyring. + * New upstream release. + + -- Julien Cristau Thu, 31 Oct 2024 18:31:11 +0100 + +libpthread-stubs (0.4-1) unstable; urgency=medium + + * New upstream release. + * Change maintainer to Debian X Strike Force. + * Update Vcs-* URLs to point to salsa.debian.org. + * Bump debhelper compat to 11. + * Set source format to 1.0. + * Switch URLs to https. + * Bump standards version to 4.3.0. + + -- Andreas Boll Fri, 08 Feb 2019 11:40:27 +0100 + +libpthread-stubs (0.3-4) unstable; urgency=low + + * Stop building libpthread-stubs0{,-udeb} (closes: 706865). + + -- Julien Cristau Sun, 22 Sep 2013 16:58:17 +0200 + +libpthread-stubs (0.3-3) unstable; urgency=low + + [ Steve Langasek ] + * Build for multiarch. Closes: #632555. + + [ Julien Cristau ] + * Point Vcs-{Git,Browser} at collab-maint. + * Remove Jamey Sharp from Uploaders (closes: #568281). + * Remove Josh Triplett from Uploaders. + * Use dh instead of cdbs. In the process (and in order to be able to test + it), make the package actually buildable on hurd, which doesn't have the + stubs in libc, but whose libc.so pulls in libpthread-stubs.so, defeating + our configure checks; so make the build find an empty libpthread-stubs.so + instead of the system one. + + [ Samuel Thibault ] + * Fix pthread_exit prototype (closes: #622148). + + -- Julien Cristau Fri, 11 Nov 2011 18:40:41 +0100 + +libpthread-stubs (0.3-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Add libpthread-stubs-udeb (Closes: #620946) + + -- Samuel Thibault Mon, 13 Jun 2011 22:01:38 +0000 + +libpthread-stubs (0.3-2) unstable; urgency=low + + * Fix bogus symlink (Closes: #556222) + + -- Julien Danjou Mon, 16 Nov 2009 09:58:11 +0100 + +libpthread-stubs (0.3-1) unstable; urgency=low + + * New upstream release + + Revert sem_ symbols (Closes: #548240) + * Move static stuff in /usr/lib (Closes: #548109) + + -- Julien Danjou Wed, 14 Oct 2009 11:18:06 +0200 + +libpthread-stubs (0.2-1) unstable; urgency=low + + * New upstream release + + Provides sem function (Closes: #495229) + * Add myself as uploader + * Bump standard version + * Move lib into /lib (Closes: #480237) + * Add copyrights + * Fix substvars in debian/control + + -- Julien Danjou Wed, 23 Sep 2009 10:34:09 +0200 + +libpthread-stubs (0.1-2) unstable; urgency=low + + * Add XS-Vcs-Git and XS-Vcs-Browser fields. + * Upload to unstable. + + -- Josh Triplett Mon, 21 May 2007 14:00:38 -0700 + +libpthread-stubs (0.1-1) experimental; urgency=low + + * Initial release. + + -- Jamey Sharp Fri, 24 Nov 2006 01:01:49 -0800 --- libpthread-stubs-0.5.orig/debian/clean +++ libpthread-stubs-0.5/debian/clean @@ -0,0 +1,2 @@ +debian/copyright +debian/libpthread-stubs.so --- libpthread-stubs-0.5.orig/debian/control +++ libpthread-stubs-0.5/debian/control @@ -0,0 +1,25 @@ +Source: libpthread-stubs +Priority: optional +Section: libdevel +Maintainer: Debian X Strike Force +Build-Depends: debhelper-compat (= 13) +Standards-Version: 4.6.2 +Vcs-Git: https://salsa.debian.org/xorg-team/lib/libpthread-stubs.git +Vcs-Browser: https://salsa.debian.org/xorg-team/lib/libpthread-stubs + +Package: libpthread-stubs0-dev +Architecture: any +Multi-Arch: same +Depends: ${misc:Depends} +Description: pthread stubs not provided by native libc, development files + This library provides weak aliases for pthread functions not provided + in libc or otherwise available by default. Libraries like libxcb rely + on pthread stubs to use pthreads optionally, becoming thread-safe when + linked to libpthread, while avoiding any performance hit when running + single-threaded. libpthread-stubs supports this behavior even on + platforms which do not supply all the necessary pthread stubs. + . + On platforms which already supply all the necessary pthread stubs, this + package ships only the pkg-config file pthread-stubs.pc, to allow + libraries to unconditionally express a dependency on pthread-stubs and + still obtain correct behavior. --- libpthread-stubs-0.5.orig/debian/copyright.debian +++ libpthread-stubs-0.5/debian/copyright.debian @@ -0,0 +1,15 @@ +This package was debianized by Jamey Sharp on +Fri, 24 Nov 2006 01:01:49 -0800. The package is co-maintained by the +XCB developers via the XCB mailing list . + +It was downloaded from https://xcb.freedesktop.org/dist + +Upstream Authors: Jamey Sharp + Josh Triplett + +Copyright: + Copyright (C) 2006 Diego Pettenò + Inspired by libX11 code copyright (c) 1995 David E. Wexelblat. + Copyright (C) 2007 Jamey Sharp + Copyright (C) 2007 Josh Triplett + --- libpthread-stubs-0.5.orig/debian/libpthread-stubs0-dev.docs +++ libpthread-stubs-0.5/debian/libpthread-stubs0-dev.docs @@ -0,0 +1 @@ +README --- libpthread-stubs-0.5.orig/debian/libpthread-stubs0-dev.install +++ libpthread-stubs-0.5/debian/libpthread-stubs0-dev.install @@ -0,0 +1 @@ +usr/lib --- libpthread-stubs-0.5.orig/debian/rules +++ libpthread-stubs-0.5/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +%: + dh $@ --builddirectory=build + +override_dh_auto_configure: debian/copyright + dh_auto_configure --builddirectory=build + +override_dh_auto_install: + dh_auto_install --builddirectory=build --destdir=debian/tmp + find debian/tmp -name '*.la' -delete + +debian/copyright: debian/copyright.debian COPYING + cat $+ > $@ --- libpthread-stubs-0.5.orig/debian/source/format +++ libpthread-stubs-0.5/debian/source/format @@ -0,0 +1 @@ +1.0 --- libpthread-stubs-0.5.orig/debian/upstream/signing-key.asc +++ libpthread-stubs-0.5/debian/upstream/signing-key.asc @@ -0,0 +1,61 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQGiBEab+moRBACDH5yKqS3wcc5bdxY7PBNuwKvF5TKMfagmSvuRDtZjjIIWaA/n +Z1KboV9Gq5g7kP7+Kfu+Qgd8u65eVsWwmPW10fXvj3aCU53glx2EdGdrHcgiyH2g +EQfPiyBw+trIppWFRV0IDXSLMA1FNC92t2nSG/VFHaPTVwcgkIRSfcXDvwCglGdE +a6f4uLqoNHP+m4yYnzapFuMD/R4+2AJDAvEWKDdYCGZzlawjAmmWyXrmT7/C/mx9 +8qUR473l4buXjHgDkkXXlHqdzil1vK85PhrKzNJDCCmlHUJNz+QwiAMOLwpD+kwV +Pb57RG7y+a5JQ5+jtVw4RlUxZIk/wj2An9YBO3A5vR7PdjM32ZJCN2+aM4dYfNzQ +xQKTA/47icvBaBVTl9rztjg2pd2Aqpc1P/GsIYLGj7XjnnJvGAENBHSH1QjpZMJG +CTS9oJ+B0/wrIr+pA+MdFgYAb6ojMQJOO6UChjWWSGjMFcs/CeXhxlLBido3DtAE +TbNTwO6OEfAvdosvTdhJFnwvZlJ+zZGGy5CrF2Fd9PUe9tmASbQoQWxhbiBDb29w +ZXJzbWl0aCA8YWxhbmNAZnJlZWRlc2t0b3Aub3JnPoh/BBMRCgA/AhsDBgsJCAcD +AgYVCAIJCgsEFgIDAQIeAQIXgBYhBEoZPAbTXnxnD6TvC6L7nggfLRMOBQJkQs2e +BQknDNS0AAoJEKL7nggfLRMOUgAAoIyNXuU5kOotpZrKvPrjQATbsPClAJ9wkh/n +3IAobV6aDLb1qOt5RT3Pp7QrQWxhbiBDb29wZXJzbWl0aCA8YWxhbi5jb29wZ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afNVx1aIshIglrl8Xlu3sjeAvG48W6YjdL2mf +rIDHjIVwOZsMihbOJvST6Q3upHdnmjDtM5HCQmI5NEXDWYj6IZuhJnnrDWwNsyYV +4KPoUBxAcqIyCeZbVssuWWnHPXX8VavVq98vpVynfGzGYpJbDj19C/utMjKGI5dc +vbVaucA7X/oktxrxS6SBDhuIaAE94ZHlbxqfyHfETI/La2Z/ALDAtYdhJR2gSkTH +yKSW1QqYlulSfB//lnna44mmTuRONbDNgb0FGSvtsBMZ80iHDqPgUfS60kxCfFrs +SGfTFU+X4QAzpTtUJEcr+J4HULDeMfwOgghVfmKxFXWfud8xDaCXuywLTtVgMCZp +4P7MAyuJlaxsFTu+c1Vly94grk4UMtALLMqCXSosA490gLTSdg3HSwxt2Q/LJdy4 +27ZIMvjGXIruns8U/OmL9dVgWu3bJHsL68Skx8Ts63qTN9QXM/PB+8VwOaC7PJ+g +6t40DleOmdsS8cN31yf5KB8rsL4un4u1yrMJfpnSblPMu5wJi3kjoA+Dd5ZFqx9n +Ti4wBjfVYGCPsleq59IkbACfe7lUvmRzyej/KOK2nO+1k7WIGGYAn3ZGvxh7+DJN +THy/zBUuNZ0nWWb8 +=KE+F +-----END PGP PUBLIC KEY BLOCK----- --- libpthread-stubs-0.5.orig/debian/watch +++ libpthread-stubs-0.5/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=pgpsigurlmangle=s/$/.sig/ \ +https://xcb.freedesktop.org/dist/libpthread-stubs-([0-9].*)\.tar\.gz