Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37724092
en ru br
Репозитории ALT

Группа :: Система/Настройка/Прочее
Пакет: alt-issue

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: alt-issue
Version: 1.1
Release: alt1

Summary: Create issue.d banners for ALT distros
License: GPLv2
Group: System/Configuration/Other

Url: http://wiki.sisyphus.ru/
Source: %name-%version.tar
BuildArch: noarch

Obsoletes: %name-server-v < %EVR

%description
%summary.

%package server
Summary: Create informational banner for ALT Server installation
License: GPLv2
Group: System/Configuration/Other
Requires: %name = %EVR

%description server
Create informational banner for ALT Server installation.

%package server-pve
Summary: Create informational banner for PVE installation
License: GPLv2
Group: System/Configuration/Other
Requires: %name-server = %EVR

%description server-pve
Create informational banner for PVE installation.

%prep

%install
mkdir -p %buildroot%_sysconfdir/issue.d

# Welcome:

cat > %buildroot%_sysconfdir/issue.d/00alt.issue <<EOF
Welcome to \R!

EOF

# Server:

cat > %buildroot%_sysconfdir/issue.d/00server.issue <<EOF
Hostname: \n
IP: \4
EOF

# PVE:

cat > %buildroot%_sysconfdir/issue.d/pve.issue <<EOF

Use https://\4:8006/ to manage your PVE server.

EOF

%post
touch %_sysconfdir/issue

%files
%_sysconfdir/issue.d/00alt.issue

%files server
%_sysconfdir/issue.d/00server.issue

%files server-pve
%_sysconfdir/issue.d/pve.issue

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin