diff --git a/README.md b/README.md index c60d676..ff6aeed 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # iana-etc +The iana-etc package provides the Unix/Linux /etc/services and /etc/protocols files. + diff --git a/iana-etc-additional-services b/iana-etc-additional-services new file mode 100644 index 0000000..ed8f4af --- /dev/null +++ b/iana-etc-additional-services @@ -0,0 +1,5 @@ +# +# The remaining port numbers are not allocated by IANA +# +smtps 465/tcp # Secure SMTP +swat 901/tcp # Samba web interface diff --git a/iana-etc.spec b/iana-etc.spec new file mode 100644 index 0000000..300d044 --- /dev/null +++ b/iana-etc.spec @@ -0,0 +1,43 @@ +Name: iana-etc +Version: 2.30 +Release: 1mamba +Summary: The iana-etc package provides the Unix/Linux /etc/services and /etc/protocols files +Group: System/Configuration +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://sethwklein.net/iana-etc.html +Source: http://sethwklein.net/iana-etc-%{version}.tar.bz2 +Source1: iana-etc-additional-services +License: Public Domain +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The iana-etc package provides the Unix/Linux /etc/services and /etc/protocols files. + +%prep +%setup -q + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +cat %{S:1} >> %{buildroot}%{_sysconfdir}/services + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%config %{_sysconfdir}/protocols +%config %{_sysconfdir}/services +%doc COPYING CREDITS + +%changelog +* Fri Mar 13 2015 Silvan Calarco 2.30-1mamba +- package created using the webbuild interface