Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apt-conf-ximper
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
apt-conf-ximper
Commits
e38bf5ea
Commit
e38bf5ea
authored
Nov 28, 2024
by
Roman Alifanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.0-eter1
- initial build
parents
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
73 additions
and
0 deletions
+73
-0
rules
.gear/rules
+1
-0
apt-conf-ximper.spec
apt-conf-ximper.spec
+59
-0
ximper-additives.list
etc/apt/sources.list.d/ximper-additives.list
+0
-0
ximper.list
etc/apt/vendors.list.d/ximper.list
+4
-0
ximper-signing.gpg
etc/ssl/ximper/ximper-signing.gpg
+0
-0
ximper-repo.filetrigger
usr/lib/rpm/ximper-repo.filetrigger
+9
-0
No files found.
.gear/rules
0 → 100644
View file @
e38bf5ea
tar: .
apt-conf-ximper.spec
0 → 100644
View file @
e38bf5ea
%define _unpackaged_files_terminate_build 1
%define link https://download.etersoft.ru/pub/Etersoft/XimperLinux
%define keyid CC6FE324E5120EAD
Name: ximper-repos
Version: 1.0
Release: eter1
Summary: Ximper Linux GPG-key and repositories
License: GPL-2.0-or-later
Group: System/Configuration/Packaging
Url: https://ximperlinux.ru
BuildArch: noarch
Source: %name-%version.tar
Provides: branding-etersoft-ximper-apt-conf
Requires: apt-conf
Requires: apt-https
Requires: alt-gpgkeys
%description
This package contains just a links to the XimperLinux Repos and public GPG-key.
%prep
%setup
%build
subst "s|@keyid@|%keyid|" usr/lib/rpm/ximper-repo.filetrigger
( echo "rpm [ximper] %link Current/Additives/%_arch addon"
echo "rpm [ximper] %link Current/Additives/noarch addon"
) > etc/apt/sources.list.d/ximper-additives.list
cat etc/apt/sources.list.d/ximper-additives.list
%install
mkdir -p -m0755 %buildroot
mv -f etc usr %buildroot/
chmod 0644 %buildroot/etc/apt/sources.list.d/ximper-additives.list
%post
echo "/usr/lib/alt-gpgkeys/pubring.gpg" |
/usr/lib/rpm/ximper-repo.filetrigger
%files
%dir /etc/ssl/ximper
/etc/ssl/ximper/ximper-signing.gpg
/etc/apt/vendors.list.d/ximper.list
%config(noreplace) /etc/apt/sources.list.d/ximper-additives.list
/usr/lib/rpm/ximper-repo.filetrigger
%changelog
* Thu Nov 28 2024 Roman Alifanov <ximper@altlinux.org> 1.0-eter1
- initial build
etc/apt/sources.list.d/ximper-additives.list
0 → 100644
View file @
e38bf5ea
etc/apt/vendors.list.d/ximper.list
0 → 100644
View file @
e38bf5ea
simple-key "ximper" {
Fingerprint "431E79E247D3ADA449B9EFB2CC6FE324E5120EAD";
Name "Ximper Linux <ximper@etersoft.ru>";
}
etc/ssl/ximper/ximper-signing.gpg
0 → 100644
View file @
e38bf5ea
File added
usr/lib/rpm/ximper-repo.filetrigger
0 → 100755
View file @
e38bf5ea
#!/bin/sh -efu
KEYF
=
/etc/ssl/ximper/ximper-signing.gpg
KEYID
=
@keyid@
PUBRING
=
/usr/lib/alt-gpgkeys/pubring.gpg
[
-s
$KEYF
]
&&
grep
-F
-qx
$PUBRING
||
exit
0
gpg
--list-packets
$PUBRING
|grep
-F
-qs
"keyid:
$KEYID
"
||
gpg
--keyring
$PUBRING
--no-default-keyring
--import
$KEYF
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment