Hello community, here is the log from the commit of package bsd-games for openSUSE:Factory checked in at 2013-01-31 16:25:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bsd-games (Old) and /work/SRC/openSUSE:Factory/.bsd-games.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "bsd-games", Maintainer is "nadvornik@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/bsd-games/bsd-games.changes 2013-01-20 14:29:52.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.bsd-games.new/bsd-games.changes 2013-01-31 16:25:30.000000000 +0100 @@ -1,0 +2,13 @@ +Wed Jan 29 23:35:52 UTC 2013 - joop.boonen@opensuse.org + +- Fixed SLES build + +------------------------------------------------------------------- +Sun Jan 27 13:48:42 UTC 2013 - joop.boonen@opensuse.org + +- The binaries are now in /usr/bin like other games owned by root +- A more secure attr setup that afik cant be exploited any more +- Got rid of dm as it can cause a security issue, it not really + needed to play the games + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bsd-games.spec ++++++ --- /var/tmp/diff_new_pack.KhJaB2/_old 2013-01-31 16:25:32.000000000 +0100 +++ /var/tmp/diff_new_pack.KhJaB2/_new 2013-01-31 16:25:32.000000000 +0100 @@ -16,7 +16,6 @@ # - Name: bsd-games Version: 2.17 Release: 0 @@ -50,8 +49,6 @@ BuildRequires: libopenssl-devel BuildRequires: ncurses-devel BuildRequires: words -Provides: bsdgames -Obsoletes: bsdgames BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -85,33 +82,49 @@ %install make INSTALL_PREFIX=%{buildroot} install -chmod -R g+w %{buildroot}%{_localstatedir}/games/* -# create a list of binaries to be checked externally -: > %{buildroot}%{_datadir}/games/sgidlist -: > filelist.add -for i in `ls %{buildroot}%{_prefix}/games` ; do - echo $i - case $i in - atc|battlestar|cfscores|cribbage|phantasia|robots|sail|snake|tetris-bsd|\ - adventure|arithmetic|backgammon|boggle|caesar|canfield|dm|fish|gomoku|hangman|\ - hunt|huntd|mille|monop|pig|pom|ppt|primes|quiz|rain|snscore|teachgammon|\ - trek|worm|worms|wump|dab) - echo "/usr/games/$i" >> %{buildroot}%{_datadir}/games/sgidlist - echo "%%verify(not mode) %%attr(0755,games,games) /usr/games/$i" >> filelist.add - ;; - *) - echo "%%attr(0755,games,games) /usr/games/$i" >> filelist.add - ;; - esac -done +# get rid of dm functionality as it needs a setgid, dm is only used to restrict which games may be played +rm %{buildroot}%{_prefix}/games/dm +rm -rf %{buildroot}%{_mandir}/man5 +rm -rf %{buildroot}%{_mandir}/man8 +# move the programs into /usr/bin as this is the proper location +mkdir %{buildroot}%{_bindir} +mv %{buildroot}%{_prefix}/games/* %{buildroot}%{_bindir}/ +rmdir %{buildroot}%{_prefix}/games +find %{buildroot}%{_localstatedir}/games/ -exec chmod g-w,o-rw {} \; rm %{buildroot}%{_datadir}/doc/bsd-games/trek.me -%files -f filelist.add -%defattr(-,root,root) +%files +%defattr(-,root,root,-) %doc AUTHORS BUGS COPYING NEWS README SECURITY THANKS TODO YEAR2000 -%doc %{_mandir}/*/* -%attr(-,games,games) %{_datadir}/games/* -%attr(-,games,games) %{_localstatedir}/games/* -%attr(-,games,games) %{_datadir}/misc/* +%{_bindir}/* +%{_mandir}/man6/* +%{_datadir}/misc/* +%{_datadir}/games/* +%attr(770,games,games) %{_localstatedir}/games/hack +%attr(770,games,games) %{_localstatedir}/games/phantasia +%attr(770,games,games) %{_localstatedir}/games/sail +%attr(660,games,games) %{_localstatedir}/games/hack/data +%attr(660,games,games) %{_localstatedir}/games/hack/help +%attr(660,games,games) %{_localstatedir}/games/hack/hh +%attr(660,games,games) %{_localstatedir}/games/hack/perm +%attr(660,games,games) %{_localstatedir}/games/hack/record +%attr(660,games,games) %{_localstatedir}/games/hack/rumors +%attr(660,games,games) %{_localstatedir}/games/phantasia/characs +%attr(660,games,games) %{_localstatedir}/games/phantasia/gold +%attr(660,games,games) %{_localstatedir}/games/phantasia/lastdead +%attr(660,games,games) %{_localstatedir}/games/phantasia/mess +%attr(660,games,games) %{_localstatedir}/games/phantasia/monsters +%attr(660,games,games) %{_localstatedir}/games/phantasia/motd +%attr(660,games,games) %{_localstatedir}/games/phantasia/scoreboard +%attr(660,games,games) %{_localstatedir}/games/phantasia/void +%attr(660,games,games) %{_localstatedir}/games/atc_score +%attr(660,games,games) %{_localstatedir}/games/battlestar.log +%attr(660,games,games) %{_localstatedir}/games/cfscores +%attr(660,games,games) %{_localstatedir}/games/criblog +%attr(660,games,games) %{_localstatedir}/games/robots_roll +%attr(660,games,games) %{_localstatedir}/games/saillog +%attr(660,games,games) %{_localstatedir}/games/snake.log +%attr(660,games,games) %{_localstatedir}/games/snakerawscores +%attr(660,games,games) %{_localstatedir}/games/tetris-bsd.scores %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org