summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-06-21 22:20:48 +0100
committerAnas Nashif <anas.nashif@intel.com>2012-06-21 22:39:24 +0100
commitf0685b6ea3f4880a58264bcd08993d12ecf004c9 (patch)
tree4e3e7e77ee2641bfdd35626ab9a88e69d6563c02
parentc9bedac31513db227db98fbe6924f6de320a1604 (diff)
downloadsetup-f0685b6ea3f4880a58264bcd08993d12ecf004c9.tar.gz
setup-f0685b6ea3f4880a58264bcd08993d12ecf004c9.tar.bz2
setup-f0685b6ea3f4880a58264bcd08993d12ecf004c9.zip
remove manifest file from /etc
release 0.5 Change-Id: Ic6f94ef73469b0e58daa76147bb5ac4f58372ecc
-rw-r--r--packaging/setup.changes101
-rw-r--r--packaging/setup.spec115
2 files changed, 77 insertions, 139 deletions
diff --git a/packaging/setup.changes b/packaging/setup.changes
index c072d98..4c53212 100644
--- a/packaging/setup.changes
+++ b/packaging/setup.changes
@@ -1,88 +1,27 @@
-* Thu Jun 14 2011 Prajwal Mohan <prajwal.karur.mohan@intel.com> - 2.8.15
-- remove messgaebus user
-- Fixing setup.manifest in files section
-
-* Wed Jun 01 2011 Marko Saukko <marko.saukko@cybercom.com> - 2.8.15
-- Add ttyO2 to setup-2.8.9-securetty.patch (used in N900 for example)
-
-* Sat May 21 2011 Anas Nashif <anas.nashif@intel.com> - 2.8.15
-- Remove dependency on perl and tcsh
-
-* Wed Aug 18 2010 Jan-Simon Moeller <jsmoeller@linuxfoundation.org> - 2.8.15
-- Don't include cflags in this way into the build environment. Never ever!
-- Preparing split of this into a file included in /etc/profile.d/ only on target
- and keep it in sync with prjconf. prjconf is master!
-- Better pull from prjconf and embed !
-
-* Wed Aug 18 2010 Austin Zhang <austin.zhang@linux.intel.com> - 2.8.15
-- Don't omit frame pointer in building.
-
-* Mon Jul 19 2010 Marko Saukko <marko.saukko@cybercom.com> - 2.8.15
-- Added ttyS2 to securetty.
-
-* Thu Jul 08 2010 Austin Zhang <austin.zhang@linux.intel.com> - 2.8.15
-- Added additional flags for relocation and RO PLT
-
-* Fri Mar 05 2010 Austin Zhang <austin.zhang@linux.intel.com> - 2.8.15
-- Remove loop optimization compiler options, which will lead to
- some unexpected compiling failure.
-
-* Wed Feb 10 2010 Austin Zhang <austin.zhang@linux.intel.com> - 2.8.15
-- Rename version to 2.8.15 (source had been updated, but changelog not)
- and remove obsoleted stuffs
-- Correct cmov_fast to fast_cmov
-- Add new compiler optimization flags
-
-* Sun Feb 7 2010 Arjan van de Ven <arjan@linux.intel.com> - 2.8.9
-- some older configure scripts don't understand "atom" and as a result
- don't think the CPU supports CMOV. Help these configure scripts by
- setting the appropriate environment variable.
-
-* Tue Nov 24 2009 Arjan van de Ven <arjan@linux.intel.com> - 2.8.9
-- use -mtune=atom for the CFLAGS env var
+* Thu Jun 21 2012 Anas Nashif <anas.nashif@intel.com> aadc3b9
+- release 0.5
+- remove manifest file from /etc
-* Mon Oct 05 2009 Anas Nashif <anas.nashif@intel.com> - 2.8.9
-- Assign polkit user to polkit package
+* Thu Jun 21 2012 Anas Nashif <anas.nashif@intel.com> a1b98e4
+- remove manifest file from /etc
-* Tue Sep 15 2009 Anas Nashif <anas.nashif@intel.com> - 2.8.9
-- Rebase to 2.8.9
-
-* Thu Apr 30 2009 Arjan van de Ven <arjan@linux.intel.com> 2.6.14
-- reinstate the CFLAGS environment variable
-
-* Tue Apr 28 2009 Anas Nashif <anas.nashif@intel.com> 2.6.14
-- Do not set CFLAGS in profile
-
-* Wed Apr 01 2009 Arjan van de Ven <arjan@linux.intel.com> 2.6.14
-- set the CFLAGS environment variable
-
-* Sat Feb 28 2009 Peter Zhu <peter.j.zhu@intel.com> 2.6.14
-- add ttyS0 into securetty
-
-* Mon Feb 09 2009 Vivian Zhang <vivian.zhang@intel.com> 2.6.14
-- Set i18n stuff in /etc/profile
-
-* Wed Jan 14 2009 Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> 2.6.14
-- Fix misformatted entry for audio group (add empty password field)
-
-* Tue Jan 13 2009 Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> 2.6.14
-- Add an audio group as an stop gap sollution until policy kit is fixed
-
-* Fri Jan 09 2009 Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> 2.6.14
-- Add missing patch to add groups needed by udev
-
-* Thu Jan 08 2009 Anas Nashif <anas.nashif@intel.com> 2.6.14
-- Disable missing patch for now
+* Thu Jun 14 2012 Prajwal Mohan <prajwal.karur.mohan@intel.com> c9bedac
+- Fixing setup.manifest in files section
+- remove messgaebus user. Add changes to .changes file
+- remove messgaebus user
+- Upgrade to v0.4
-* Fri Dec 19 2008 Arjan van de Ven <arjan@linux.intel.com> 2.6.14
-- Enable coredumps by default
+* Wed May 30 2012 Ryan Ware <ryan.r.ware@intel.com> e55b918
+- Add default Smack manifest for setup.spec
-* Tue Dec 16 2008 Anas Nashif <anas.nashif@intel.com> 2.6.14
-- Fixed rpmlint errors in Summary tag
+* Thu May 24 2012 Anas Nashif <anas.nashif@intel.com> 5c67260
+- remove packaging directory
-* Thu Dec 11 2008 Anas Nashif <anas.nashif@intel.com> 2.6.14
-- Remove dependency on tcsh
+* Wed May 23 2012 Anas Nashif <anas.nashif@intel.com> d357e13
+- fixed build
-* Fri Dec 5 2008 Auke Kok <auke-jan.h.kok@intel.com>
-- add vcsa and floppy user/group ids
+* Mon May 21 2012 Kim Kibum <kb0929.kim@samsung.com> a6028d9
+- Upload Tizen:Base source
+[ Hyesook Choi ]
+- Initial empty repository
diff --git a/packaging/setup.spec b/packaging/setup.spec
index 2710dce..427cb88 100644
--- a/packaging/setup.spec
+++ b/packaging/setup.spec
@@ -1,14 +1,14 @@
-Summary: A set of system configuration and setup files
-Name: setup
-Version: 0.4
-Release: 1
-License: Public Domain
-Group: System/Base
-URL: https://fedorahosted.org/setup/
-Source0: %{name}-%{version}.tar.bz2
-Source1001: packaging/setup.manifest
-BuildArch: noarch
-BuildRequires: bash
+Name: setup
+Version: 0.5
+Release: 1
+License: Public Domain
+Summary: A set of system configuration and setup files
+Url: https://fedorahosted.org/setup/
+Group: System/Base
+Source0: %{name}-%{version}.tar.bz2
+Source1001: packaging/setup.manifest
+BuildRequires: bash
+BuildArch: noarch
Requires(pre): filesystem
%description
@@ -16,7 +16,7 @@ The setup package contains a set of important system configuration and
setup files, such as passwd, group, and profile.
%prep
-%setup -q
+%setup -q
./shadowconvert.sh
@@ -28,26 +28,26 @@ cp %{SOURCE1001} .
make check
%install
-rm -rf %{buildroot}
-mkdir -p %{buildroot}/etc/profile.d
+mkdir -p %{buildroot}%{_sysconfdir}/profile.d
cp -ar * %{buildroot}/etc
-rm -f %{buildroot}/etc/uidgid
-rm -f %{buildroot}/etc/COPYING
-mkdir -p %{buildroot}/var/log
-touch %{buildroot}/var/log/lastlog
-touch %{buildroot}/etc/environment
-chmod 0644 %{buildroot}/etc/environment
-chmod 0400 %{buildroot}/etc/{shadow,gshadow}
-chmod 0644 %{buildroot}/var/log/lastlog
-touch %{buildroot}/etc/fstab
-touch %{buildroot}/etc/mtab
+rm -f %{buildroot}%{_sysconfdir}/uidgid
+rm -f %{buildroot}%{_sysconfdir}/COPYING
+mkdir -p %{buildroot}%{_localstatedir}/log
+touch %{buildroot}%{_localstatedir}/log/lastlog
+touch %{buildroot}%{_sysconfdir}/environment
+chmod 0644 %{buildroot}%{_sysconfdir}/environment
+chmod 0400 %{buildroot}%{_sysconfdir}/{shadow,gshadow}
+chmod 0644 %{buildroot}%{_localstatedir}/log/lastlog
+touch %{buildroot}%{_sysconfdir}/fstab
+touch %{buildroot}%{_sysconfdir}/mtab
# remove unpackaged files from the buildroot
-rm -f %{buildroot}/etc/Makefile
-rm -f %{buildroot}/etc/serviceslint
-rm -f %{buildroot}/etc/uidgidlint
-rm -f %{buildroot}/etc/shadowconvert.sh
-rm -rf %{buildroot}/etc/packaging
+rm -f %{buildroot}%{_sysconfdir}/Makefile
+rm -f %{buildroot}%{_sysconfdir}/serviceslint
+rm -f %{buildroot}%{_sysconfdir}/uidgidlint
+rm -f %{buildroot}%{_sysconfdir}/shadowconvert.sh
+rm -rf %{buildroot}%{_sysconfdir}/packaging
+rm -rf %{buildroot}%{_sysconfdir}/*.manifest
#throw away useless and dangerous update stuff until rpm will be able to
@@ -58,32 +58,31 @@ for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do
end
%files
-%manifest /etc/setup.manifest
-%defattr(-,root,root,-)
-%verify(not md5 size mtime) %config(noreplace) /etc/passwd
-%verify(not md5 size mtime) %config(noreplace) /etc/group
-%verify(not md5 size mtime) %attr(0000,root,root) %config(noreplace,missingok) /etc/shadow
-%verify(not md5 size mtime) %attr(0000,root,root) %config(noreplace,missingok) /etc/gshadow
-%verify(not md5 size mtime) %config(noreplace) /etc/services
-%verify(not md5 size mtime) %config(noreplace) /etc/exports
-%config(noreplace) /etc/aliases
-%config(noreplace) /etc/environment
-%config(noreplace) /etc/filesystems
-%config(noreplace) /etc/host.conf
-%verify(not md5 size mtime) %config(noreplace) /etc/hosts
-%verify(not md5 size mtime) %config(noreplace) /etc/hosts.allow
-%verify(not md5 size mtime) %config(noreplace) /etc/hosts.deny
-%verify(not md5 size mtime) %config(noreplace) /etc/motd
-%config(noreplace) /etc/printcap
-%verify(not md5 size mtime) %config(noreplace) /etc/inputrc
-%config(noreplace) /etc/bashrc
-%config(noreplace) /etc/profile
-%verify(not md5 size mtime) %config(noreplace) /etc/protocols
-%attr(0600,root,root) %config(noreplace,missingok) /etc/securetty
-%config(noreplace) /etc/csh.login
-%config(noreplace) /etc/csh.cshrc
-%dir /etc/profile.d
-%config(noreplace) %verify(not md5 size mtime) /etc/shells
-%ghost %attr(0644,root,root) %verify(not md5 size mtime) /var/log/lastlog
-%ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/fstab
-%ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/mtab
+%manifest setup.manifest
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/passwd
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/group
+%verify(not md5 size mtime) %attr(0000,root,root) %config(noreplace,missingok) %{_sysconfdir}/shadow
+%verify(not md5 size mtime) %attr(0000,root,root) %config(noreplace,missingok) %{_sysconfdir}/gshadow
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/services
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/exports
+%config(noreplace) %{_sysconfdir}/aliases
+%config(noreplace) %{_sysconfdir}/environment
+%config(noreplace) %{_sysconfdir}/filesystems
+%config(noreplace) %{_sysconfdir}/host.conf
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts.allow
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts.deny
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/motd
+%config(noreplace) %{_sysconfdir}/printcap
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/inputrc
+%config(noreplace) %{_sysconfdir}/bashrc
+%config(noreplace) %{_sysconfdir}/profile
+%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/protocols
+%attr(0600,root,root) %config(noreplace,missingok) %{_sysconfdir}/securetty
+%config(noreplace) %{_sysconfdir}/csh.login
+%config(noreplace) %{_sysconfdir}/csh.cshrc
+%dir %{_sysconfdir}/profile.d
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/shells
+%ghost %attr(0644,root,root) %verify(not md5 size mtime) %{_localstatedir}/log/lastlog
+%ghost %verify(not md5 size mtime) %config(noreplace,missingok) %{_sysconfdir}/fstab
+%ghost %verify(not md5 size mtime) %config(noreplace,missingok) %{_sysconfdir}/mtab