File: generate-all-rpms

package info (click to toggle)
snort 2.3.3-11
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 22,512 kB
  • ctags: 11,344
  • sloc: ansic: 70,967; sh: 4,848; makefile: 748; perl: 478; sql: 212
file content (25 lines) | stat: -rw-r--r-- 937 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
# $Id: generate-all-rpms,v 1.1.2.1 2004/11/10 23:20:32 jhewlett Exp $
# Generate the "official" Snort.org RPMs.

# The following will build 3 binary and 1 source RPM as follows:
#	snort-x.x.x-x.i386.rpm
#	snort-mysql-x.x.x-x.i386.rpm
#	snort-postgresql-x.x.x-x.i386.rpm
#	snort-x.x.x-x.src.rpm
#
# mysql and postgresql are probably mutually exclusive when building for
# your own use, and flexresp is optional.  We therefor encourage you to
# build your own RPMs as you see fit.  See README.build_rpms.

# If you wish to build with Oracle support, you need to use --with-oracle
# for the build syntax, and have your client libraries installed in 
# /opt/oracle

rpmbuild -bb --target i386 --with mysql --with postgresql snort.org.spec 
rpmbuild -bs --target i386 snort.org.spec

rpmbuild -bb --target i386 --with fedora --with mysql --with postgresql snort.org.spec 
rpmbuild -bs --target i386 --with fedora snort.org.spec