Update to upstream

- Write pid file
This commit is contained in:
Dan Walsh 2012-02-01 16:35:42 -05:00
parent a72c97691c
commit f743a260a4
4 changed files with 17 additions and 32 deletions

25
.gitignore vendored
View File

@ -1,24 +1 @@
mcstrans-0.1.1.tgz
mcstrans-0.1.1-1.src.rpm
mcstrans-0.1.2.tgz
mcstrans-0.1.3.tgz
mcstrans-0.1.4.tgz
mcstrans-0.1.5.tgz
mcstrans-0.1.6.tgz
mcstrans-0.1.7.tgz
mcstrans-0.1.8.tgz
mcstrans-0.1.9.tgz
mcstrans-0.2.1.tgz
mcstrans-0.2.2.tgz
mcstrans-0.2.3.tgz
mcstrans-0.2.4.tgz
mcstrans-0.2.5.tgz
mcstrans-0.2.6.tgz
mcstrans-0.2.7.tgz
mcstrans-0.2.8.tgz
mcstrans-0.2.9.tgz
mcstrans-0.2.10.tgz
mcstrans-0.2.11.tgz
mcstrans-0.3.0.6.tgz
mcstrans-0.3.1.tgz
/mcstrans-0.3.2.tgz
/mcstrans-0.3.3.tgz

View File

@ -1,7 +1,15 @@
diff -up mcstrans-0.3.2/src/mcstransd.c.writepid mcstrans-0.3.2/src/mcstransd.c
--- mcstrans-0.3.2/src/mcstransd.c.writepid 2011-01-05 10:32:25.000000000 -0500
+++ mcstrans-0.3.2/src/mcstransd.c 2012-02-01 16:02:46.670139198 -0500
@@ -556,6 +556,30 @@ void dropprivs(void)
+++ mcstrans-0.3.2/src/mcstransd.c 2012-02-01 16:14:02.085806490 -0500
@@ -4,6 +4,7 @@
#include <sys/socket.h>
#include <sys/poll.h>
#include <sys/stat.h>
+#include <fcntl.h>
#include <sys/un.h>
#include <errno.h>
#include <stdint.h>
@@ -556,6 +557,30 @@ void dropprivs(void)
cap_free(new_caps);
}
@ -32,7 +40,7 @@ diff -up mcstrans-0.3.2/src/mcstransd.c.writepid mcstrans-0.3.2/src/mcstransd.c
int
main(int UNUSED(argc), char *argv[])
{
@@ -582,6 +606,8 @@ main(int UNUSED(argc), char *argv[])
@@ -582,6 +607,8 @@ main(int UNUSED(argc), char *argv[])
}
#endif

View File

@ -1,7 +1,7 @@
Summary: SELinux Translation Daemon
Name: mcstrans
Version: 0.3.2
Release: 3%{?dist}
Version: 0.3.3
Release: 1%{?dist}
License: GPL+
Group: System Environment/Daemons
Source: http://fedora.redhat.com/projects/%{name}-%{version}.tgz
@ -90,7 +90,8 @@ fi
%{_usr}/share/mcstrans/util/*
%changelog
* Wed Feb 1 2012 Dan Walsh <dwalsh@redhat.com> - 0.3.2-3
* Wed Feb 1 2012 Dan Walsh <dwalsh@redhat.com> - 0.3.3-1
- Update to upstream
- Write pid file
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-2

View File

@ -1,2 +1 @@
b9f80deb6a34211650e19bc283e94e46 mcstrans-0.3.1.tgz
032584c741ead539a918e9b4a9184ffd mcstrans-0.3.2.tgz
76c9817e2d6a6c46436ba0aed5017049 mcstrans-0.3.3.tgz