[521] | 1 | Summary: Checks to see if files have changed on your system. |
---|
| 2 | Summary(ja): ¥·¥¹¥Æ¥à¤¬²þ¤¶¤ó¤µ¤ì¤Æ¤¤¤Ê¤¤¤«¸¡ºº¤¹¤ë¥Ä¡¼¥ë |
---|
| 3 | Name: tripwire |
---|
| 4 | Version: 1.2 |
---|
| 5 | Release: 5vl2 |
---|
| 6 | License: BSD |
---|
| 7 | Group: Applications/System |
---|
| 8 | Source0: ftp://ftp.cert.org/pub/tools/tripwire/tripwire-1.2.tar.Z |
---|
| 9 | Source2: tripwire.verify |
---|
| 10 | Patch0: tripwire-1.2-rhlinux.patch |
---|
| 11 | Patch1: tripwire-1.2-security.patch |
---|
| 12 | ExclusiveArch: %{ix86} sparc |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | Vendor: Project Vine |
---|
| 15 | Distribution: Vine Linux |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | Tripwire is a very valuable security tool for Linux systems, if it is |
---|
| 19 | installed to a clean system. Tripwire should be installed right after |
---|
| 20 | the OS installation, and before you have connected your system to a |
---|
| 21 | network (i.e., before any possibility exists that someone could alter |
---|
| 22 | files on your system). |
---|
| 23 | |
---|
| 24 | When Tripwire is initially set up, it creates a database that records |
---|
| 25 | certain file information. Then when it is run, it compares a designated |
---|
| 26 | set of files and directories to the information stored in the database. |
---|
| 27 | Added or deleted files are flagged and reported, as are any files that |
---|
| 28 | have changed from their previously recorded state in the database. When |
---|
| 29 | Tripwire is run against system files on a regular basis, any file changes |
---|
| 30 | will be spotted when Tripwire is run. Tripwire will report the changes, |
---|
| 31 | which will give system administrators a clue that they need to enact |
---|
| 32 | damage control measures immediately if certain files have been altered. |
---|
| 33 | |
---|
| 34 | Extra-paranoid Tripwire users will set it up to run once a week and email |
---|
| 35 | the results to themselves. Then if the emails stop coming, you'll know |
---|
| 36 | someone has gotten to the Tripwire program... |
---|
| 37 | |
---|
| 38 | %description -l ja |
---|
| 39 | tripwire ¤Ï¡Ö»ä¤Î¥·¥¹¥Æ¥à¤ÏºòÆü¤ÈƱ¤¸¤À¤í¤¦¤«¡©¡×¤È¤¤¤¦´ðËÜŪ¤Êµ¿Ìä¤Ë |
---|
| 40 | Åú¤¨¤ë¥Ä¡¼¥ë¤Ç¤¹¡£tripwire ¤ÏÀßÄꤵ¤ì¤¿¥Ý¥ê¥·¡¼¤Ë½¾¤Ã¤Æ¥Õ¥¡¥¤¥ë¤ä¤½¤Î |
---|
| 41 | À¼Á¤Î°Å¹æ²½¤µ¤ì¤¿¥Ç¡¼¥¿¥Ù¡¼¥¹¤òºîÀ®¤·¤Þ¤¹¡£¤³¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ï¡¢¥·¥¹ |
---|
| 42 | ¥Æ¥à¤ËÂФ·¤Æ²¿¤é¤«¤ÎÉÔ¿®¤ÊÊѹ¹¤¬²Ã¤¨¤é¤ì¤Æ¤¤¤Ê¤¤¤«¤ò¸¡¾Ú¤¹¤ë¤¿¤á¤ËÍѤ¤ |
---|
| 43 | ¤é¤ì¤Þ¤¹¡£ |
---|
| 44 | |
---|
| 45 | %prep |
---|
| 46 | %setup -q -c |
---|
| 47 | tar -C .. -xf T1.2.tar |
---|
| 48 | %patch0 -p1 -b .sopwith |
---|
| 49 | %patch1 -p1 -b .mike |
---|
| 50 | |
---|
| 51 | %build |
---|
| 52 | make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ggdb" |
---|
| 53 | |
---|
| 54 | %install |
---|
| 55 | rm -rf %{buildroot} |
---|
| 56 | |
---|
| 57 | mkdir -p %{buildroot}/usr/sbin |
---|
| 58 | mkdir -p %{buildroot}%{_mandir}/man{1,5,8} |
---|
| 59 | mkdir -p %{buildroot}/etc/cron.daily |
---|
| 60 | mkdir -p %{buildroot}/var/spool/tripwire |
---|
| 61 | |
---|
| 62 | make TOPDIR=%{buildroot} MANDIR=%{buildroot}%{_mandir} install |
---|
| 63 | |
---|
| 64 | install -m 600 lib/tw.config %{buildroot}/etc/tw.config |
---|
| 65 | install -m 700 $RPM_SOURCE_DIR/tripwire.verify %{buildroot}/etc/cron.daily |
---|
| 66 | |
---|
| 67 | chmod 700 %{buildroot}/var/spool/tripwire |
---|
| 68 | chmod 700 %{buildroot}/usr/sbin/* |
---|
| 69 | |
---|
| 70 | chmod -R 644 FAQ Changelog INTERNALS README README.FIRST Readme |
---|
| 71 | chmod -R 644 TODO WHATSNEW docs/* |
---|
| 72 | chmod 755 docs |
---|
| 73 | |
---|
| 74 | #%post |
---|
| 75 | #cd /var/spool/tripwire |
---|
| 76 | #(/usr/sbin/tripwire -initialize 2>&1 | \ |
---|
| 77 | # /bin/mail -s "Tripwire initialization report" root ) \ |
---|
| 78 | # && mv databases/tw.db_* . && rm -rf databases & |
---|
| 79 | |
---|
| 80 | %clean |
---|
| 81 | rm -rf %{buildroot} |
---|
| 82 | |
---|
| 83 | %files |
---|
| 84 | %defattr(-,root,root) |
---|
| 85 | %doc FAQ Changelog INTERNALS README README.FIRST Readme TODO WHATSNEW docs |
---|
| 86 | %dir /var/spool/tripwire |
---|
| 87 | %config /etc/tw.config |
---|
| 88 | %config /etc/cron.daily/tripwire.verify |
---|
| 89 | /usr/sbin/tripwire |
---|
| 90 | /usr/sbin/siggen |
---|
| 91 | %{_mandir}/man5/tw.config.5* |
---|
| 92 | %{_mandir}/man8/tripwire.8* |
---|
| 93 | %{_mandir}/man8/siggen.8* |
---|
| 94 | |
---|
| 95 | %changelog |
---|
| 96 | * Thu Feb 07 2002 Toru Sagami <sagami@vinelinux.org> 1.2-5vl2 |
---|
| 97 | - install man pages into %%{_mandir} |
---|
| 98 | - ExclusiveArch: %%{ix86} instead of i386 |
---|
| 99 | |
---|
| 100 | * Thu Sep 21 2000 Yoshihiro Kajiki <kajiki@ylug.org> |
---|
| 101 | - 1.2-5vl1 rebuild for VineSeed based on powertool's [1.2-5] |
---|
| 102 | - add Japanese summarys and descriptions |
---|
| 103 | |
---|
| 104 | * Thu Jan 13 2000 Tim Powers <timp@redhat.com> |
---|
| 105 | - commented out the post initialization script, was tripping people up. |
---|
| 106 | |
---|
| 107 | * Thu Jul 22 1999 Tim Powers <timp@redhat.com> |
---|
| 108 | - rebuilt for 6.1 |
---|
| 109 | |
---|
| 110 | * Thu Feb 11 1999 Michael Maher <mike@redhat.com> |
---|
| 111 | - added security patch for bug #693 |
---|
| 112 | |
---|
| 113 | * Thu Sep 10 1998 Michael Maher <mike@redhat.com> |
---|
| 114 | - built package from elliot's |
---|