|
Revision 218, 0.5 kB
(checked in by slawrence, 6 months ago)
|
Backport 5.2 stig/ks changes to 5.1, including:
- Use different audit rules for 32-bit and 64-bit archs
- Fix installation of audit.rules
- Specify audit dispatcher in auditd.conf
- Specifiy dispatcher in auditd.conf
- Use pam_passwdqc instead of pam_cracklib
- Update password minimum length and max days
- Use different audit rules for 32 and 64 bit archs
- Permission updates to meet stigs
|
- Property svn:executable set to
*
|
| Line | |
|---|
| 1 |
#!/bin/sh |
|---|
| 2 |
|
|---|
| 3 |
VERSION="2.0" |
|---|
| 4 |
RELEASE="2" |
|---|
| 5 |
ARCH=$(uname -i) |
|---|
| 6 |
OS="RHEL5" |
|---|
| 7 |
|
|---|
| 8 |
tar --exclude="*.svn*" -czvf RPM/clip-$VERSION-$RELEASE.tar.gz pam_tally3/ conf/ kickstart/ scripts/ man/ Makefile |
|---|
| 9 |
sudo cp RPM/clip-$VERSION-$RELEASE.tar.gz /usr/src/redhat/SOURCES |
|---|
| 10 |
sudo rpmbuild -ba RPM/clip.spec |
|---|
| 11 |
cp /usr/src/redhat/RPMS/$ARCH/clip-$VERSION-$RELEASE.$ARCH.rpm RPM/clip-$VERSION-$RELEASE.$OS.$ARCH.rpm |
|---|
| 12 |
cp /usr/src/redhat/SRPMS/clip-$VERSION-$RELEASE.src.rpm RPM/ |
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
cd refpolicy/build |
|---|
| 16 |
make |
|---|
| 17 |
|
|---|
| 18 |
cd .. |
|---|
| 19 |
cp selinux*.rpm ../RPM/. |
|---|
| 20 |
|
|---|
| 21 |
cd .. |
|---|
| 22 |
|
|---|
| 23 |
sha1sum RPM/*.rpm > SHA1_$ARCH.txt |
|---|
| 24 |
|
|---|