source: projects/specs/trunk/t/tripwire/tripwire-vl.spec @ 521

Revision 521, 3.8 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: Checks to see if files have changed on your system.
2Summary(ja): ¥·¥¹¥Æ¥à¤¬²þ¤¶¤ó¤µ¤ì¤Æ¤¤¤Ê¤¤¤«¸¡ºº¤¹¤ë¥Ä¡¼¥ë
3Name: tripwire
4Version: 1.2
5Release: 5vl2
6License: BSD
7Group: Applications/System
8Source0: ftp://ftp.cert.org/pub/tools/tripwire/tripwire-1.2.tar.Z
9Source2: tripwire.verify
10Patch0: tripwire-1.2-rhlinux.patch
11Patch1: tripwire-1.2-security.patch
12ExclusiveArch: %{ix86} sparc
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14Vendor: Project Vine
15Distribution: Vine Linux
16
17%description
18Tripwire is a very valuable security tool for Linux systems, if it is
19installed to a clean system.  Tripwire should be installed right after
20the OS installation, and before you have connected your system to a
21network (i.e., before any possibility exists that someone could alter
22files on your system).
23
24When Tripwire is initially set up, it creates a database that records
25certain file information.  Then when it is run, it compares a designated
26set of files and directories to the information stored in the database.
27Added or deleted files are flagged and reported, as are any files that
28have changed from their previously recorded state in the database.  When
29Tripwire is run against system files on a regular basis, any file changes
30will be spotted when Tripwire is run.  Tripwire will report the changes,
31which will give system administrators a clue that they need to enact
32damage control measures immediately if certain files have been altered.
33
34Extra-paranoid Tripwire users will set it up to run once a week and email
35the results to themselves.  Then if the emails stop coming, you'll know
36someone has gotten to the Tripwire program...
37
38%description -l ja
39tripwire ¤Ï¡Ö»ä¤Î¥·¥¹¥Æ¥à¤ÏºòÆü¤ÈƱ¤¸¤À¤í¤¦¤«¡©¡×¤È¤¤¤¦´ðËÜŪ¤Êµ¿Ìä¤Ë
40Åú¤¨¤ë¥Ä¡¼¥ë¤Ç¤¹¡£tripwire ¤ÏÀßÄꤵ¤ì¤¿¥Ý¥ê¥·¡¼¤Ë½¾¤Ã¤Æ¥Õ¥¡¥¤¥ë¤ä¤½¤Î
41À­¼Á¤Î°Å¹æ²½¤µ¤ì¤¿¥Ç¡¼¥¿¥Ù¡¼¥¹¤òºîÀ®¤·¤Þ¤¹¡£¤³¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ï¡¢¥·¥¹
42¥Æ¥à¤ËÂФ·¤Æ²¿¤é¤«¤ÎÉÔ¿®¤ÊÊѹ¹¤¬²Ã¤¨¤é¤ì¤Æ¤¤¤Ê¤¤¤«¤ò¸¡¾Ú¤¹¤ë¤¿¤á¤ËÍѤ¤
43¤é¤ì¤Þ¤¹¡£
44
45%prep
46%setup -q -c
47tar -C .. -xf T1.2.tar
48%patch0 -p1 -b .sopwith
49%patch1 -p1 -b .mike
50
51%build
52make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ggdb"
53
54%install
55rm -rf %{buildroot}
56
57mkdir -p %{buildroot}/usr/sbin
58mkdir -p %{buildroot}%{_mandir}/man{1,5,8}
59mkdir -p %{buildroot}/etc/cron.daily
60mkdir -p %{buildroot}/var/spool/tripwire
61
62make TOPDIR=%{buildroot}  MANDIR=%{buildroot}%{_mandir} install
63
64install -m 600 lib/tw.config %{buildroot}/etc/tw.config
65install -m 700 $RPM_SOURCE_DIR/tripwire.verify %{buildroot}/etc/cron.daily
66
67chmod 700 %{buildroot}/var/spool/tripwire
68chmod 700 %{buildroot}/usr/sbin/*
69
70chmod -R 644 FAQ Changelog INTERNALS README README.FIRST Readme
71chmod -R 644 TODO WHATSNEW docs/*
72chmod 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
81rm -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
Note: See TracBrowser for help on using the repository browser.