[openpgpkey-milter/el6] * Mon Feb 03 2014 Paul Wouters <pwouters at redhat.com> - 0.3-2 - Initial package
Paul Wouters
pwouters at fedoraproject.org
Mon Feb 3 08:07:05 UTC 2014
commit 13111b8dd7c1683e8fd74d462d823f70c1d46e2c
Author: Paul Wouters <pwouters at redhat.com>
Date: Mon Feb 3 00:07:30 2014 -0800
* Mon Feb 03 2014 Paul Wouters <pwouters at redhat.com> - 0.3-2
- Initial package
.gitignore | 1 +
openpgpkey-milter.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a4928b4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/openpgpkey-milter-0.3.tar.gz
diff --git a/openpgpkey-milter.spec b/openpgpkey-milter.spec
new file mode 100644
index 0000000..f41c42a
--- /dev/null
+++ b/openpgpkey-milter.spec
@@ -0,0 +1,58 @@
+Name: openpgpkey-milter
+Version: 0.3
+Release: 1%{?dist}
+Summary: OPENPGPKEY basd automatic encryption of emails using the milter API
+Group: System Environment/Daemons
+License: GPLv3+
+BuildArch:noarch
+URL: ftp://ftp.nohats.ca/openpgpkey-milter
+Source0: ftp://ftp.nohats.ca/%{name}/%{name}-%{version}.tar.gz
+Requires: %{_sbindir}/sendmail python-gnupg unbound-python python-pymilter python-setproctitle
+
+Requires (post): chkconfig
+Requires (preun): chkconfig, initscripts
+Requires (postun): initscripts
+
+%description
+The openpgpkey-milter package provides a milter plugin for sendmail or postfix
+that will automatically encrypt plaintext emails if the target recipient is
+publishing an OPENPGPKEY record protected with DNSSEC. This is currently an
+IETF draft (draft-wouters-dane-openpgp)
+
+%prep
+%setup -q
+
+%build
+
+%install
+mkdir -p %{buildroot}%{_localstatedir}/spool/%{name} %{buildroot}%{_localstatedir}/run/%{name}
+
+mkdir -p %{buildroot}%{_sbindir}
+install -p -m 0755 -D %{name} %{buildroot}%{_sbindir}/%{name}
+
+install -p -m 0755 -D packaging/rhel/6/%{name}.init %{buildroot}%{_initrddir}/%{name}
+
+%files
+%doc README LICENSE
+%dir %attr(750,root,mail) %{_localstatedir}/run/%{name}
+%dir %attr(770,root,mail) %{_localstatedir}/spool/%{name}
+%attr(0755,root,root) %{_initrddir}/%{name}
+%attr(0755,root,root) %{_sbindir}/%{name}
+
+%post
+/sbin/chkconfig --add %{name}
+
+%preun
+if [ $1 -eq 0 ]; then
+ /sbin/service %{name} stop > /dev/null 2>&1
+ /sbin/chkconfig --del %{name}
+fi
+
+%postun
+if [ $1 -ge 1 ]; then
+ /sbin/service %{name} condrestart 2>&1 >/dev/null
+fi
+
+%changelog
+* Mon Feb 03 2014 Paul Wouters <pwouters at redhat.com> - 0.3-2
+- Initial package
diff --git a/sources b/sources
index e69de29..5edd4b4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f27e82ab9ab9baf479d6082b63c41b70 openpgpkey-milter-0.3.tar.gz
More information about the scm-commits
mailing list