commit a8f04ceca3045350b8e369cce181b9c85941d1bac636beba4b8874b9246ca27f Author: OBS User unknown Date: Sat Aug 2 02:29:10 2008 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/checkpolicy?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/checkpolicy-2.0.16.tar.bz2 b/checkpolicy-2.0.16.tar.bz2 new file mode 100644 index 0000000..1fda175 --- /dev/null +++ b/checkpolicy-2.0.16.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee4dbe0a51738b808a8cf64153f906a28478b21ba8d0481b63e9e7a440d78fb7 +size 49380 diff --git a/checkpolicy.changes b/checkpolicy.changes new file mode 100644 index 0000000..c85121c --- /dev/null +++ b/checkpolicy.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Tue Jul 15 17:56:14 CEST 2008 - prusnak@suse.cz + +- initial version 2.0.16 + * based on Fedora package by Dan Walsh + diff --git a/checkpolicy.spec b/checkpolicy.spec new file mode 100644 index 0000000..4901f81 --- /dev/null +++ b/checkpolicy.spec @@ -0,0 +1,74 @@ +# +# spec file for package checkpolicy (Version 2.0.16) +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +%define libsepol_ver 2.0.32 +BuildRequires: bison flex +BuildRequires: libsepol-devel >= %{libsepol_ver} +BuildRequires: libselinux-devel + +Name: checkpolicy +Version: 2.0.16 +Release: 1 +Url: http://www.nsa.gov/selinux/ +License: GPL v2 or later +Group: Productivity/Security +Summary: SELinux policy compiler +Source: %{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Security-enhanced Linux is a feature of the Linux® kernel and a number +of utilities with enhanced security functionality designed to add +mandatory access controls to Linux. The Security-enhanced Linux kernel +contains new architectural components originally developed to improve +the security of the Flask operating system. These architectural +components provide general support for the enforcement of many kinds of +mandatory access control policies, including those based on the +concepts of Type Enforcement®, Role-based Access Control, and +Multi-level Security. + +This package contains checkpolicy, the SELinux policy compiler. Only +required for building policies. + + + +%prep +%setup -q + +%build +make LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" +cd test +make LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" + +%install +mkdir -p $RPM_BUILD_ROOT%{_bindir} +make LIBDIR="%{_libdir}" DESTDIR="$RPM_BUILD_ROOT" install +install test/dismod $RPM_BUILD_ROOT%{_bindir}/sedismod +install test/dispol $RPM_BUILD_ROOT%{_bindir}/sedispol + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc COPYING ChangeLog +%{_bindir}/checkpolicy +%{_bindir}/checkmodule +%{_mandir}/man8/checkpolicy.* +%{_mandir}/man8/checkmodule.* +%{_bindir}/sedismod +%{_bindir}/sedispol + +%changelog +* Tue Jul 15 2008 prusnak@suse.cz +- initial version 2.0.16 + * based on Fedora package by Dan Walsh diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4