Skip to content

Commit

Permalink
packages: add GPG verification
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Cressey <[email protected]>
  • Loading branch information
bcressey committed Dec 20, 2024
1 parent 8542688 commit cc378dc
Show file tree
Hide file tree
Showing 112 changed files with 2,765 additions and 15 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@
*.run
/tests
Twoliter.override
packages/*/*.asc
packages/*/*-asc.txt
packages/*/*.sig
packages/*/*-sig.txt
packages/*/*.sign
!packages/*/gpgkey-*.asc
4 changes: 4 additions & 0 deletions packages/bash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ releases-url = "https://ftp.gnu.org/gnu/bash"
url = "https://ftp.gnu.org/gnu/bash/bash-5.2.37.tar.gz"
sha512 = "c07e2715cca7c3c8435fcb13aaf2968671f10f9e1fe5edd7c63d7e34fb821c159087b70386e17bdda723d8223057b53810e75eb249b03ebfc847147b06a8101f"

[[package.metadata.build-package.external-files]]
url = "https://ftp.gnu.org/gnu/bash/bash-5.2.37.tar.gz.sig"
sha512 = "5700135e0f6ddb86e577445eeead7ee07df80d00b751ef2c3332b7af76a1f0d7c69be5f72790ce37249d0652532232d1bc8e1e7cb73c105da7337fc5f5c1f539"

[build-dependencies]
glibc = { path = "../glibc" }
libncurses = { path = "../libncurses" }
Expand Down
3 changes: 3 additions & 0 deletions packages/bash/bash.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Summary: The GNU Bourne Again shell
License: GPL-3.0-or-later
URL: https://www.gnu.org/software/bash
Source0: https://ftp.gnu.org/gnu/bash/bash-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/bash/bash-%{version}.tar.gz.sig
Source2: gpgkey-7C0135FB088AAF6C66C650B9BB5869F064EA74AB.asc

# Disable loadable builtin examples
Patch127: bash-4.4-no-loadable-builtins.patch
Expand All @@ -26,6 +28,7 @@ Requires: %{name}
%{summary}.

%prep
%{gpgverify} --data=%{S:0} --signature=%{S:1} --keyring=%{S:2}
%autosetup -n bash-%{version} -p1

echo %{version} > _distribution
Expand Down
23 changes: 23 additions & 0 deletions packages/bash/gpgkey-7C0135FB088AAF6C66C650B9BB5869F064EA74AB.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQGiBEEOsGwRBACFa0A1oa71HSZLWxAx0svXzhOZNQZOzqHmSuGOG92jIpQpr8Dp
vgRh40YpAwdcXb8QG1J5yGAKeevNE1zCFaA725vGSdHUyypHouV0xoWwukYO6qly
yX+2BZU+okBUqoWQkoWxiYaCSfzB2Ln7pmdys1fJhcgBKf3VjWCjd2XJTwCgoFJO
wyBFJdugjfwjSoRSwDOIMf0D/iQKqlWhIO1LGpMrGX0il0/x4zj0NAcSwAk7LaPZ
bN4UPjn5pqGEHBlf1+xDDQCkAoZ/VqESGZragl4VqJfxBr29Ag0UDvNbUbXoxQsA
Rdero1M8GiAIRc50hj7HXFoERwenbNDJL86GPLAQOTGOCa4W2o29nFfFjQrsrrYH
zVtyA/9oyKvTeEMJ7NA3VJdWcmn7gOu0FxEmSNhSoV1T4vP21Wf7f5niCCRKQLNy
Uy0wEApQi4tSysdz+AbgAc0b/bHYVzIf2uO2lIEZQNNt+3g2bmXgloWmW5fsm/di
50Gm1l1Na63d3RZ00SeFQos6WEwLUHEB0yp6KXluXLLIZitEJLQaQ2hldCBSYW1l
eSA8Y2hldEBjd3J1LmVkdT6IZgQTEQIAHgUCQQ6wbAIbAwYLCQgHAwIDFQIDAxYC
AQIeAQIXgAASCRC7WGnwZOp0qwdlR1BHAAEBzs0An30UTMW8N1jOoJzNcXoopeLt
g3k4AJ9pwNiyhlyeezLsSMFkvTPAbBv+wbkBDQRBDrBvEAQAkK6TAOKBEM+EC4j6
V/7o/riVZqcgU5cid2qG9TXdwNtD9a3kvA/ObZBO93sX59wc6Bnwo4VJxsOmMlpG
rAjJsxNwg3QHakEtf8LXRbVpj5xStdmBdQZUhIQyalo/2/TZq5OijtddUQcL5cs7
0hTv/FpT3wUvr2Xr8rjF41IFEz8AAwcD/A0CZEGlzIrT5WCBnl6xBog/8vKiUCba
rByat3d1mL6DbizvKNXQRTC9E/vEdENAWCQCjr75Bu55xT8n3SXGtWdDC5xmZ/P3
OBYORP8yl8H8I1FIosWOFirbIeYdZPq8SPD1HL+EXo9zSiHVrrZRJ19ooCKKbSdX
HFCY+aJG+0KZiFEEGBECAAkFAkEOsG8CGwwAEgkQu1hp8GTqdKsHZUdQRwABAeNw
AJ9mWRUIPBrP81M71zLe3r2halU83ACdHB7SqT9Yv+B+EffjrGHkHccVsU0=
=X3tm
-----END PGP PUBLIC KEY BLOCK-----
4 changes: 4 additions & 0 deletions packages/binutils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ releases-url = "https://mirrors.kernel.org/gnu/binutils/"
url = "https://mirrors.kernel.org/gnu/binutils/binutils-2.41.tar.xz"
sha512 = "5df45d0bd6ddabdce4f35878c041e46a92deef01e7dea5facc97fd65cc06b59abc6fba0eb454b68e571c7e14038dc823fe7f2263843e6e627b7444eaf0fe9374"

[[package.metadata.build-package.external-files]]
url = "https://mirrors.kernel.org/gnu/binutils/binutils-2.41.tar.xz.sig"
sha512 = "e86b940a1fa73775236fe8e7cf824625c6add59072fe7948a7de8f613bb1bbbbb7108e4f9651cb0f606007f4180a0fe13911d84c70149e82242169e4ce5892e2"

[build-dependencies]
glibc = { path = "../glibc" }
libz = { path = "../libz" }
3 changes: 3 additions & 0 deletions packages/binutils/binutils.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Summary: Tools for working with binaries
URL: https://sourceware.org/binutils
License: GPL-2.0-or-later AND LGPL-2.0-or-later AND GPL-3.0-or-later
Source0: https://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz
Source1: https://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz.sig
Source2: gpgkey-3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F.asc
Requires: %{_cross_os}libz
BuildRequires: %{_cross_os}glibc-devel
BuildRequires: %{_cross_os}libz-devel
Expand All @@ -21,6 +23,7 @@ Requires: %{name}
%{summary}.

%prep
%{gpgverify} --data=%{S:0} --signature=%{S:1} --keyring=%{S:2}
%autosetup -n binutils-%{version} -p1

%build
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBFm/2cUBEADkvRqMWfAryJ52T4J/640Av5cam9ojdFih9MjcX7QWFxIzJfTF
Yq2z+nb4omdfZosdCJL2zGcn6C0AxpHNvxR9HMDkEyFHKrjDh4xWU+pH4z9azQEq
Jh331X7UzbZldqQo16VkuVavgsTJaHcXm+nGIBTcUbl2oiTtHhmuaYxx6JTMcFjC
7vyO5mLBw78wt52HBYweJ0NjHBvvH/JxbAAULSPRUC61K0exlO49VFbFETQNG1hZ
TKEji95fPbre7PpXQ0ewQShUgttEE/J3UA4jYaF9lOcZgUzbA27xTV//KomP0D30
yr4e4EJEJYYNKa3hofTEHDXeeNgM25tprhBUMdbVRZpf2Keuk2uDVwc+EiOVri48
rb1NU+60sOXvoGO6Ks81+mhAGmrBrlgLhAp8K1HPHI4MG4gHnrMqX2rEGUGRPFjC
3qqVVlPm8H05PnosNqDLQ1Pf7C0pVgsCx6hKQB7Y1qBui7aoj9zeFaQgpYef+CEE
RIKEcWwrjaOJwK3pi9HFdxS0NNWYZj8HPzz/AsgTTQdsbulPlVq2SsctmOnL42CZ
OCTppGYwl53CG/EqVY+UQBzFzJBaY8TJRFFYVEy5/HH4H11rMoZwqIkk71EOGU3X
6mWlANRikR3M4GhVITRzuaV69Fed+OeXcCmP94ASLfuhBR2uynmcHpBKpwARAQAB
tDtOaWNrIENsaWZ0b24gKENoaWVmIEJpbnV0aWxzIE1haW50YWluZXIpIDxuaWNr
Y0ByZWRoYXQuY29tPokCOAQTAQIAIgUCWb/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3ddxBKPva1uSsuz+pbN9d1JY
8Ko5T/h16susi2ReUyNJEJaSnjO5z13TQ1U=
=93P0
-----END PGP PUBLIC KEY BLOCK-----
4 changes: 4 additions & 0 deletions packages/conntrack-tools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ releases-url = "https://www.netfilter.org/projects/conntrack-tools/files"
url = "https://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-1.4.8.tar.xz"
sha512 = "95d8f6f068c1342ad7e767537e722272a4f5bd8b46b952713ade053a1043aa9ababbe5ce658ede9c77b6de5221b97ad8833777caffd69b67dd70a99f2b45afdf"

[[package.metadata.build-package.external-files]]
url = "https://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-1.4.8.tar.xz.sig"
sha512 = "8cd229d2e980ab1788e90fc8f53827fe1e4b21801cad6cddf6a9ff537501c40c52242cc964005b2889ad0a4548c772304db8696d4644611ecf9f091aca5c14ee"

[build-dependencies]
glibc = { path = "../glibc" }
libmnl = { path = "../libmnl" }
Expand Down
3 changes: 3 additions & 0 deletions packages/conntrack-tools/conntrack-tools.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Summary: Tools for managing Linux kernel connection tracking
License: GPL-2.0-or-later AND GPL-2.0-only
URL: http://conntrack-tools.netfilter.org/
Source0: https://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-%{version}.tar.xz
Source1: https://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-%{version}.tar.xz.sig
Source2: gpgkey-37D964ACC04981C75500FB9BD55D978A8A1420E4.asc
Patch1: 0001-disable-RPC-helper.patch

BuildRequires: %{_cross_os}glibc-devel
Expand Down Expand Up @@ -34,6 +36,7 @@ Requires: %{name}
%{summary}.

%prep
%{gpgverify} --data=%{S:0} --signature=%{S:1} --keyring=%{S:2}
%autosetup -n conntrack-tools-%{version} -p1

%build
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
-----BEGIN PGP PUB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CTtqVPB98a6RpdbS9kGxCCMrL3CFGDXGSjXes5KwN
IvngmVB36wjb3QgEtQIv13jrWFfiXeuieqMRyC6Z3KNYVcvis34eGxPFD9MHrK+w
bdw3KzMBJd7hMoVRl32Q13T/PX8H3pqWMqKaL41wHUswRt0IQjNZnRvRnlJ0VDFf
Wep/3dFK+uQbdABuiwCiRli5mWeOMCP+qJodP1OZSGqg0VwZWUGdCGG5+qIhngOj
QVomvJ7N4eRLU3xuPVjLoBeHzvViUPpYtWQ/YiZK5rWTJHhu88xZaysFJRaV+Uz3
wPkeqdArRRXl1Tpy+cKy7D5BZAr7OjT1wboon23IM2DJRurbaHD8blMsjZ07pbvb
4hdpiE6mqq7CYskDz2UGTaFfEW4bFnKtvKTXEnmcqc4mWcr2z9BBYouGmcFczgET
tE02XejmExXV2RPUtXfLuNIbVpuXG1qhzNuXAfm+S/68XDSFrwyK8/Dgq5ga0iIP
n8Uvz12Xu/Qde+NicogLNWF90QJ2
=z7om
-----END PGP PUBLIC KEY BLOCK-----
4 changes: 4 additions & 0 deletions packages/coreutils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ releases-url = "https://ftp.gnu.org/gnu/coreutils"
url = "https://ftp.gnu.org/gnu/coreutils/coreutils-9.5.tar.xz"
sha512 = "2ca0deac4dc10a80fd0c6fd131252e99d457fd03b7bd626a6bc74fe5a0529c0a3d48ce1f5da1d3b3a7a150a1ce44f0fbb6b68a6ac543dfd5baa3e71f5d65401c"

[[package.metadata.build-package.external-files]]
url = "https://ftp.gnu.org/gnu/coreutils/coreutils-9.5.tar.xz.sig"
sha512 = "029997e0f4ee64e561853cff7c8a124f58cc891598595b44c4a46f9813b4b71c9d677464bc8a26d294e9971832f4b87c23777fea4fac6e8e30f06ad93b9957d5"

[build-dependencies]
glibc = { path = "../glibc" }
libacl = { path = "../libacl" }
Expand Down
3 changes: 3 additions & 0 deletions packages/coreutils/coreutils.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Summary: A set of basic GNU tools
License: GPL-3.0-or-later
URL: https://www.gnu.org/software/coreutils/
Source0: https://ftp.gnu.org/gnu/coreutils/coreutils-%{version}.tar.xz
Source1: https://ftp.gnu.org/gnu/coreutils/coreutils-%{version}.tar.xz.sig
Source2: gpgkey-6C37DC12121A5006BC1DB804DF6FD971306037D9.asc
BuildRequires: %{_cross_os}glibc-devel
BuildRequires: %{_cross_os}libacl-devel
BuildRequires: %{_cross_os}libattr-devel
Expand All @@ -21,6 +23,7 @@ Requires: %{_cross_os}libxcrypt
%{summary}.

%prep
%{gpgverify} --data=%{S:0} --signature=%{S:1} --keyring=%{S:2}
%autosetup -n coreutils-%{version} -p1

%build
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBE58fE4BEADGS6VzDkx2OOQMPQedsmBtRs3S5sz9tzO51EwkS779js3Sjt96
KlQM0SbwtbUxOFor42LRXJKUU9T/Jl3v3+onASvoHAUcuAL15WAhnY9cuQeFOvZP
/iy0I1+bV0CILrz364T6vL614obnBBdTg8ZqSZM+csRlpGwXJiuY6mkrsPLXakxA
35n/nAgQOcQPj36CuuvpCH4JKPkzklwUMqueDzXkYMNSdWmVnI+ZSfDmeiwzAbFY
tE5uGW+c3DzD98RGCLt3FLr86n24IDlaTZSsaWbTJVsur9s4sbp6rST3pspDSQYF
ShhJ5aqqEYIvPp5kXj2CZJjOFBnIkn+0aDSps+XrnZjJn/f8f9lIAg0/0JjmytHY
yopo6HFZMdtOvklmnsIuJ/fdyk7761+necYHf5dopVuv29PSu62+A/gnKGfGaqtY
AjXFfsiLp/+iTQ+LNV4hWFbFKHHZOn4G194pWl6nY1gArwQKPZ5p6uy5EXgiNPRs
C1CcuVZNJp1RiayhTI68uuI+cldBU6N7+yZKGhjDUQKjIZ3eDB8X7vsCC9S1GgvX
Hcv8mjcMcHtnoC0w0FiW35JYtAu9mY4+uQhoRPTyPHh+ufX+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32aBIEADAGhbCehSjWv8SEw9gUpN+slmIDBnZ7uqQgXjWO5OnG2TrSJyPNAwf
k6ESY6JeoGuiASL3EpqDvRTVsIvDzzqhNBwVa+mi/q3lof9yNs74dmJYsH0P20+9
lVzNfWATWUDA4cVYBvONBloCK1cVvn9zqFvfjFBcRbZskcvMBVPxO2Fv4xAzX+om
PDfCnweY8G7i71Z8Nnl/HVkSZMI9uXrtcde00oISHf5xUebJdx96dxnUCDLPUwPi
IxxYN44KvIl3cnIB5qwuBV8F2XXUtBdxZDJexqsCIoAD3rhRoWq6E2fRJKeqt/4T
mxwjsJ8ZODp+ilXhqRe/shHttoOvbo5QBZNZMujxkqxXeu+j2E3Ry5mSiGX1Seww
bT1iUppwGI15UwhthhrcPwbtWxxIyzPBU6awwlrTrYxNTB1n7WM99gcQctLWZpWn
EaoAnEmIEcPjnM+c2NRwUJmE/C5h9intY4fOa2a8hpUPx6UbMkfPl0bkIA2cduvQ
tAFKy/G/Jm4H+0trSmrDc+o+rl7v9sMJ9wKkMUdAcqUgNP0TEHzDPbzvztcKBCLn
NLoUTKNIN4eNJjMGk8Si/OgiN1NKkuVz7I3i916mVxxlFjKEyLYU4tYYXsbB+ZJy
4dTP/YWHbQulJYLgju6ZELphkzjc6eM3CaOZ73u4GVXotheeUabUHQ==
=HaQo
-----END PGP PUBLIC KEY BLOCK-----
4 changes: 4 additions & 0 deletions packages/dbus-broker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ releases-url = "https://github.com/bus1/dbus-broker/releases/"
url = "https://github.com/bus1/dbus-broker/releases/download/v36/dbus-broker-36.tar.xz"
sha512 = "47ff345e27ae2ba41f43a4a6eb09b813583ef43392d1dfa2fc1805578c0ed3a1e414c3eae63f78ca3806904dc017a138e283aa32ba973de51ed613050b244a0f"

[[package.metadata.build-package.external-files]]
url = "https://github.com/bus1/dbus-broker/releases/download/v36/dbus-broker-36.tar.xz.asc"
sha512 = "711e3db030cd8d3953e966c11d2afa4c543548f882d3364fc0b79b7cfb3b8d5ecb65b1148429acf80b5ee803305f27f80538bd2f4b30e98da97fd05eb6dc0344"

[build-dependencies]
glibc = { path = "../glibc" }
libexpat = { path = "../libexpat" }
Expand Down
19 changes: 12 additions & 7 deletions packages/dbus-broker/dbus-broker.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ Summary: D-BUS message broker
License: Apache-2.0
URL: https://github.com/bus1/dbus-broker
Source0: https://github.com/bus1/dbus-broker/releases/download/v%{version}/dbus-broker-%{version}.tar.xz
Source1: dbus.socket
Source2: dbus-1-system.conf
Source3: dbus-sysusers.conf
Source4: dbus-broker.service
Source1: https://github.com/bus1/dbus-broker/releases/download/v%{version}/dbus-broker-%{version}.tar.xz.asc
Source2: gpgkey-BE5FBC8C9C1C9F60A4F0AEAE7A4F3A09EBDEFF26.asc

Source11: dbus.socket
Source12: dbus-1-system.conf
Source13: dbus-sysusers.conf
Source14: dbus-broker.service

BuildRequires: meson
BuildRequires: %{_cross_os}glibc-devel
BuildRequires: %{_cross_os}libexpat-devel
Expand All @@ -25,6 +29,7 @@ Patch0001: 0001-c-utf8-disable-strict-aliasing-optimizations.patch
%{summary}.

%prep
%{gpgverify} --data=%{S:0} --signature=%{S:1} --keyring=%{S:2}
%autosetup -n dbus-broker-%{version} -p1

%build
Expand All @@ -43,13 +48,13 @@ CONFIGURE_OPTS=(
%cross_meson_install

install -d %{buildroot}%{_cross_unitdir}
install -p -m 0644 %{S:1} %{S:4} %{buildroot}%{_cross_unitdir}
install -p -m 0644 %{S:11} %{S:14} %{buildroot}%{_cross_unitdir}

install -d %{buildroot}%{_cross_datadir}/dbus-1/{interfaces,services,system-services,system.d}
install -p -m 0644 %{S:2} %{buildroot}%{_cross_datadir}/dbus-1/system.conf
install -p -m 0644 %{S:12} %{buildroot}%{_cross_datadir}/dbus-1/system.conf

install -d %{buildroot}%{_cross_sysusersdir}
install -p -m 0644 %{S:3} %{buildroot}%{_cross_sysusersdir}/dbus.conf
install -p -m 0644 %{S:13} %{buildroot}%{_cross_sysusersdir}/dbus.conf

%files
%license LICENSE
Expand Down
Loading

0 comments on commit cc378dc

Please sign in to comment.