Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:XRevan86
lsb-invalid-mta
lsb-invalid-mta.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lsb-invalid-mta.spec of Package lsb-invalid-mta
# # spec file for package lsb-invalid-mta # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _name sendmail Name: lsb-invalid-mta Version: 0.1 Release: 0 Summary: Linux Standard Base sendmail dummy License: GPL-2.0 Group: Productivity/Networking/Email/Servers Provides: smtp_daemon BuildArch: noarch Conflicts: sendmail Conflicts: exim Conflicts: postfix %description The Linux Standard Base (http://linuxbase.org/) is a standard core system that third-party applications written for GNU/Linux can depend upon. This package contains nothing else than a fake /usr/sbin/sendmail command to fulfill the LSB's requirement of providing this command without requiring an MTA to get installed, which once introduces a daemon which can cause security problems and second, users get asked questions about how they want their MTA configured when in reality they simply wanted to install a desktop application or a printer driver, but the dependency on LSB compliance pulls in an MTA with the installation. The LSB requirement on /usr/sbin/sendmail comes from old times where Linux and UNIX machines had all fixed IPs and did server tasks in data centers. Today's typical desktop Linux machines do not do local e-mail any more as users use external e-mail services. The /usr/sbin/sendmail always exits with exit status -1 (255) and sends a warning message to stderr, so that if a program actually tries to send e-mail via the sendmail command the user gets note. Description and files inside this package were suggested in Debian LSB. %prep cat > %{_name} << EOF #!/bin/sh echo "Please install an MTA on this system if you want to use %{_name}!" >&2 exit 255 EOF %build # Nothing to build. %install install -Dm 0755 %{_name} %{buildroot}%{_libexecdir}/%{_name} install -Dm 0755 %{_name} %{buildroot}%{_sbindir}/%{_name} %files %defattr (-,root,root) %{_sbindir}/%{_name} %{_libexecdir}/%{_name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor