Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Rings:0-Bootstrap
aaa_base
aaa_base.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File aaa_base.spec of Package aaa_base
# # spec file for package aaa_base # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: aaa_base Version: 13.2+git20140911.61c1681 Release: 0 Url: https://github.com/openSUSE/aaa_base Provides: aaa_skel = %{version}-%{release} Provides: bin Provides: bootutls Provides: etc Provides: skeleng Provides: skelger Obsoletes: aaa_skel < %{version} # do not require systemd - aaa_base is in the build environment and we don't want # to pull in tons of dependencies Conflicts: sysvinit-init Requires: /bin/login Requires: /bin/mktemp Requires: /usr/bin/find Requires: /usr/bin/tput Requires: /usr/bin/xargs Requires: cpio Requires: distribution-release Requires: filesystem # for symlink check to /bin/hostname BuildRequires: net-tools BuildRequires: xz Recommends: logrotate netcfg udev net-tools aaa_base-extras PreReq: /usr/bin/sed /usr/bin/grep /bin/mv /bin/cat /bin/ls /bin/date /usr/bin/cmp /bin/fillup Summary: openSUSE Base Package License: GPL-2.0+ Group: System/Fhs BuildRoot: %{_tmppath}/%{name}-%{version}-build # run osc service dr to recreate Source: aaa_base-%{version}.tar.xz # # Read README.packaging.txt before making any changes to this # package # Source1: README.packaging.txt Source99: aaa_base-rpmlintrc Patch1: fate-314974.patch Patch2: git-01-afd04c2500406fc26c30898c8a6b31b1881b8857.patch Patch3: git-02-f7660b46d8cdbec18e2fc149f40a296cc4fb91ae.patch Patch4: git-03-4c9ce1005de47b75b774f914c52dcb5d42f1cc7e.patch Patch5: git-04-c745414060676fc15b275a14e82b060e80305878.patch Patch6: git-05-be5760cab096493812ebe05d33d44db021d509e6.patch Patch7: git-06-4a32a7a42fae1ae52d7a141c3ba3f10b443b8f7a.patch Patch8: git-07-427db470e66738bd4262e68911614ba124593576.patch Patch9: git-08-9b67611008adbb92fd0ebc9047f63036eb9e6d3d.patch Patch10: git-09-919d7d4426ea868ffa10a18b87a6027e7555bca3.patch Patch11: git-10-f95fe37ac19c11c1294173b44e6a7567d842cd75.patch Patch12: git-11-7c70cd44f911d150de785daf2960cfff660fdd62.patch Patch13: git-12-ca4b24d3a82ce55701931ecb94582b61a95cae81.patch Patch14: git-13-e8d89ec1b9ff6dfe144665a7bab60dda9079adf6.patch Patch15: git-14-f5670c1d7ec3fb3d0a759cfee23346987bc7a820.patch Patch16: git-15-39beb10d05082324d93a68c087d017efb9592e91.patch Patch17: git-16-c3faa6cbc3a2b62c616104dbdaf9c5d04f278c99.patch Patch18: git-17-e8eb1690d77fc3880267de3912ae934ec3b4afa0.patch Patch19: git-18-3d9d3a8adf6b34ef1a3a4bfa23325e5cc3b2bc06.patch Patch20: git-19-f25dcdab7882b0fcca74704a5d680d1f71b19225.patch Patch21: git-20-36aeb3915e52b957f6a4aba57833b0be9898ac64.patch Patch22: git-21-52d873754994b203d26a4268993599716607c082.patch Patch23: git-22-ed9debfbf942796f76f6ded8f01002b56b356a74.patch Patch24: git-23-d026b75b1f95d810c0a0b10cd35845ec50662bbd.patch Patch25: git-24-7f4c8c4dc6adaac428c539ebf76410954a0d900d.patch Patch26: git-25-106a00da1df540677b39e94037868a55f92bf648.patch %description This package installs several important configuration files and central scripts. %package extras Summary: SUSE Linux Base Package (recommended part) Group: System/Fhs Requires: %{name} = %{version} Provides: aaa_base:/etc/DIR_COLORS Recommends: cron %description extras The parts of aaa_base that should be installed by default but are not strictly required to run a system. (Shell aliases, bash completions and convenience hacks). %package malloccheck Summary: SUSE Linux Base Package (malloc checking) Group: System/Fhs Requires: %{name} = %{version} %description malloccheck This package sets environment variables that enable stricter malloc checks to catch potential heap corruptions. It's not installed by default as it may degrade performance. %prep %setup -q %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 %patch19 -p1 %patch20 -p1 %patch21 -p1 %patch22 -p1 %patch23 -p1 %patch24 -p1 %patch25 -p1 %patch26 -p1 %build make CFLAGS="$RPM_OPT_FLAGS" CC="%{__cc}" %{?_smp_mflags} if test -d patches/$RPM_ARCH; then pushd files for file in ../patches/$RPM_ARCH/*; do patch -p0 --input=$file done find -name "*.orig" | xargs -r rm popd fi %install # make DESTDIR=$RPM_BUILD_ROOT install # mkdir -p %{buildroot}/etc/sysctl.d case "$RPM_ARCH" in s390*) ;; *) rm -f %{buildroot}/usr/lib/sysctl.d/50-default-s390.conf ;; esac # # make sure it does not creep in again test -d $RPM_BUILD_ROOT/root/.gnupg && exit 1 # # # mark these as ghost for i in passwd group shadow gshadow ; do touch $RPM_BUILD_ROOT/var/adm/fillup-templates/$i.aaa_base done mkdir -p $RPM_BUILD_ROOT/etc/init.d for i in boot.local after.local halt.local ; do echo "#!bin/bash" > $RPM_BUILD_ROOT/etc/init.d/$i chmod 755 $RPM_BUILD_ROOT/etc/init.d/$i done # install -d -m 755 %buildroot/usr/lib/initscripts/legacy-actions # keep as ghost for migration touch %buildroot/etc/inittab %pre -f aaa_base.pre %post -f aaa_base.post %triggerpostun -- aaa_base if test -f /root/.gnupg/secring.gpg.aaa_save -a ! -f /root/.gnupg/secring.gpg ; then mv /root/.gnupg/secring.gpg.aaa_save /root/.gnupg/secring.gpg fi rm -f /root/.gnupg/secring.gpg.aaa_save %files %defattr(-,root,root) %doc COPYING %config(noreplace) %ghost /etc/sysctl.conf %config /etc/bash.bashrc %config /etc/csh.cshrc %config /etc/csh.login %config /etc/inputrc %config /etc/mime.types %config /etc/profile %config /etc/profile.d/alljava.csh %config /etc/profile.d/alljava.sh %config /etc/profile.d/csh.ssh %config /etc/profile.d/lang.csh %config /etc/profile.d/lang.sh %config /etc/profile.d/profile.csh %config /etc/profile.d/profile.sh %config /etc/profile.d/sh.ssh %config /etc/profile.d/xdg-environment.csh %config /etc/profile.d/xdg-environment.sh %config /etc/rc.splash %config /etc/rc.status %config /etc/shells %config /etc/ttytype %ghost /var/adm/fillup-templates/passwd.aaa_base %ghost /var/adm/fillup-templates/group.aaa_base %ghost /var/adm/fillup-templates/gshadow.aaa_base %ghost /var/adm/fillup-templates/shadow.aaa_base %ghost /etc/init.d/boot.local %ghost /etc/init.d/after.local %ghost /etc/init.d/halt.local %ghost %config /etc/inittab # don't forget to also change aaa_base.post, boot.cleanup # and /etc/permissions! %ghost %attr(0644,root,root) %verify(not md5 size mtime) /var/log/lastlog %ghost %attr(0600,root,root) %verify(not md5 size mtime) /var/log/faillog %ghost %attr(0664,root,utmp) %verify(not md5 size mtime) /var/log/wtmp %ghost %attr(0600,root,root) %verify(not md5 size mtime) /var/log/btmp %ghost %attr(0664,root,utmp) %verify(not md5 size mtime) /run/utmp /etc/hushlogins %dir /lib/aaa_base /lib/aaa_base/convert_sysctl* /usr/bin/chkconfig /sbin/chkconfig /usr/bin/get_kernel_version /sbin/refresh_initrd /usr/sbin/refresh_initrd /sbin/service /usr/sbin/service /sbin/smart_agetty /usr/sbin/smart_agetty /usr/bin/ChangeSymlinks /usr/bin/filesize /usr/bin/mkinfodir /usr/bin/old /usr/bin/rpmlocate /usr/bin/safe-rm /usr/bin/safe-rmdir /usr/bin/setJava /usr/lib/restricted/bin/hostname /usr/sbin/Check /usr/sbin/sysconf_addword /usr/share/man/man1/smart_agetty.1* /usr/share/man/man5/defaultdomain.5* /usr/share/man/man8/chkconfig.8* /usr/share/man/man8/safe-rm.8* /usr/share/man/man8/safe-rmdir.8* /usr/share/man/man8/service.8* /usr/lib/sysctl.d/*.conf %dir /usr/lib/initscripts %dir /usr/lib/initscripts/legacy-actions /var/adm/fillup-templates/sysconfig.backup /var/adm/fillup-templates/sysconfig.language /var/adm/fillup-templates/sysconfig.news /var/adm/fillup-templates/sysconfig.proxy /var/adm/fillup-templates/sysconfig.windowmanager %files extras %defattr(-,root,root) %config(noreplace) /etc/DIR_COLORS /etc/cron.daily/suse.de-backup-rc.config /etc/cron.daily/suse.de-backup-rpmdb /etc/cron.daily/suse.de-check-battery /etc/cron.daily/suse.de-cron-local /etc/skel/.emacs /etc/skel/.inputrc /etc/java/README %config /etc/profile.d/complete.bash %config /etc/profile.d/alias.ash /etc/profile.d/alias.bash /etc/profile.d/alias.tcsh /etc/profile.d/ls.tcsh /etc/profile.d/ls.bash /etc/profile.d/ls.zsh /usr/sbin/setDefaultJava /usr/share/man/man7/init.d.7* /usr/share/man/man5/route.conf.5* /usr/share/man/man8/resolv+.8* /usr/share/man/man8/quick_halt.8* %files malloccheck %defattr(-,root,root) %config /etc/profile.d/malloc-debug.sh %config /etc/profile.d/malloc-debug.csh %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor