Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
142962efab
!6 delete console-login-helper-messages-motdgen.conf
From: @jianli-97 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-10-20 08:55:01 +00:00
jianli-97
a34e927371 delete console-login-helper-messages-motdgen.conf 2023-10-18 14:32:14 +08:00
openeuler-ci-bot
3bbfca13e9
!4 delete requires openeuler-release
From: @jianli-97 
Reviewed-by: @duyiwei7w 
Signed-off-by: @duyiwei7w
2023-10-18 03:32:50 +00:00
jianli-97
ec33699488 delete requires openeuler-release 2023-10-18 11:03:21 +08:00
openeuler-ci-bot
6858ef9254
!3 Upgrade to 0.21.3
From: @biannm 
Reviewed-by: @duyiwei7w 
Signed-off-by: @duyiwei7w
2023-02-03 01:16:07 +00:00
biannm
3a12d4939a Upgrade to 0.21.3 2023-01-31 20:14:47 +08:00
openeuler-ci-bot
1674d1b5db
!2 为该仓库新建yaml文件
From: @dingdingaaaaa 
Reviewed-by: @duyiwei7w 
Signed-off-by: @duyiwei7w
2022-12-01 06:38:55 +00:00
丁紫薇
ff992a910f
add console-login-helper-messages.yaml.
Signed-off-by: 丁紫薇 <dingziwei@kylinos.cn>
2022-11-30 11:10:31 +00:00
openeuler-ci-bot
dea524b486
!1 add console-login-helper-messages source package and spec file
From: @fu-shanqing 
Reviewed-by: @duguhaotian, @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-02-16 01:21:29 +00:00
fushanqing
d0983d3e97 init package 2022-01-24 15:07:19 +08:00
3 changed files with 123 additions and 0 deletions

View File

@ -0,0 +1,119 @@
%global github_owner coreos
%global github_project console-login-helper-messages
Name: console-login-helper-messages
Version: 0.21.3
Release: 3
Summary: Combines motd, issue, profile features to show system information to the user before/on login
License: BSD-3-Clause
URL: https://github.com/%{github_owner}/%{github_project}
Source0: https://github.com/%{github_owner}/%{github_project}/archive/v%{version}.tar.gz
BuildArch: noarch
BuildRequires: systemd make
%{?systemd_requires}
Requires: bash systemd
%description
%{summary}.
%package motdgen
Summary: Message of the day generator script showing system information
Requires: console-login-helper-messages
Recommends: openssh
Requires: bash systemd
Requires: setup >= 2.12.7-1
Requires: ((pam >= 1.3.1-15) if openssh)
Requires: selinux-policy >= 3.14.2-50
Requires: util-linux >= 2.36-1
%description motdgen
%{summary}.
%package issuegen
Summary: Issue generator scripts showing SSH keys and IP address
Requires: console-login-helper-messages
Requires: bash systemd setup
Requires: (NetworkManager)
Requires: util-linux >= 2.36-1
%description issuegen
%{summary}.
%package profile
Summary: Profile script showing systemd failed units
Requires: console-login-helper-messages
Requires: bash systemd setup
%description profile
%{summary}.
%prep
%autosetup -p1
%build
%install
make install DESTDIR=%{buildroot}
# /run/motd.d is now provided by the setup package
rm %{buildroot}/%{_tmpfilesdir}/%{name}-motdgen.conf
%post issuegen
%systemd_post %{name}-gensnippet-ssh-keys.service
%preun issuegen
%systemd_preun %{name}-gensnippet-ssh-keys.service
%postun issuegen
%systemd_postun_with_restart %{name}-gensnippet-ssh-keys.service
%post motdgen
%systemd_post %{name}-gensnippet-os-release.service
%preun motdgen
%systemd_preun %{name}-gensnippet-os-release.service
%postun motdgen
%systemd_postun_with_restart %{name}-gensnippet-os-release.service
%files
%doc README.md
%doc doc/manual.md
%license LICENSE
%dir %{_libexecdir}/%{name}
%dir %{_prefix}/lib/%{name}
%dir %{_prefix}/share/%{name}
%{_prefix}/lib/%{name}/libutil.sh
%{_tmpfilesdir}/%{name}.conf
%files issuegen
%{_unitdir}/%{name}-gensnippet-ssh-keys.service
%{_sysconfdir}/NetworkManager/dispatcher.d/90-%{name}-gensnippet_if
%{_prefix}/lib/%{name}/issue.defs
%{_tmpfilesdir}/%{name}-issuegen.conf
%{_libexecdir}/%{name}/gensnippet_ssh_keys
%{_libexecdir}/%{name}/gensnippet_if
%{_libexecdir}/%{name}/gensnippet_if_udev
%files motdgen
%{_unitdir}/%{name}-gensnippet-os-release.service
%{_prefix}/lib/%{name}/motd.defs
%{_libexecdir}/%{name}/gensnippet_os_release
%files profile
%{_prefix}/share/%{name}/profile.sh
%{_tmpfilesdir}/%{name}-profile.conf
%ghost %{_sysconfdir}/profile.d/%{name}-profile.sh
%changelog
* Wed Oct 18 2023 lijian <lijian2@kylinos.cn> - 0.21.3-3
- delete console-login-helper-messages-motdgen.conf
* Wed Oct 18 2023 lijian <lijian2@kylinos.cn> - 0.21.3-2
- delete requires openeuler-release
* Thu Feb 2 2023 biannm <bian_naimeng@hoperun.com> - 0.21.3-1
- Upgrade to 0.21.3
* Mon Jan 24 2022 fushanqing <fushanqing@kylinos.cn> - 0.21.2-1
- Initial package

View File

@ -0,0 +1,4 @@
version_control: github
src_repo: coreos/console-login-helper-messages
tag_prefix: "v"
separator: "."

BIN
v0.21.3.tar.gz Normal file

Binary file not shown.