the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: oinkmaster
Version: 1.2
Revision: 1
Maintainer: Thomas Kotzian
#
BuildDepends: fink (>= 0.24.12)
Depends: wget | wget-ssl, gzip, tar
Source: mirror:sourceforge:%n/%n-%v.tar.gz
PatchFile: %n.patch
PatchFile-MD5: 87b99560b88af8aacc6da551743719ec
PatchScript: sed -e 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
Source-MD5: 23dc212f3a5a93ab32253edb379cb724
CompileScript: echo "nothing to compile"
InstallScript: <<
install -d %i/bin
install -d %i/etc
install -d %i/share/man/man1
install -m 644 oinkmaster.conf %i/etc
install -m 755 oinkmaster.pl %i/bin
install -m 644 oinkmaster.1 %i/share/man/man1
<<
#
DocFiles: ChangeLog FAQ INSTALL LICENSE README* UPGRADING contrib/* template-examples.conf
Description: Updater for your Snort 1.9+ rules
DescDetail: <<
Oinkmaster is simple Perl script released under the BSD license to help you
update your Snort 1.9+ rules and comment out the unwanted ones after each
update. It will tell you exactly what had changed since the last update,
hence giving you good control of your rules.
<<
Homepage: http://oinkmaster.sf.net/
License: BSD
diff -urN oinkmaster.orig/oinkmaster.conf oinkmaster/oinkmaster.conf
--- oinkmaster.orig/oinkmaster.conf 2005-04-16 09:29:41.000000000 +0200
+++ oinkmaster/oinkmaster.conf 2005-05-11 13:17:03.000000000 +0200
@@ -92,7 +92,7 @@
# contains the Cygwin binaries and not the native Win32 binaries or
# you will get problems.
# Assume UNIX style by default:
-path = /bin:/usr/bin:/usr/local/bin
+path = @PREFIX@/bin:/bin:/usr/bin:/usr/local/bin
# Example if running native Win32 or standalone Cygwin:
# path = c:\oinkmaster;c:\oinkmaster\bin
diff -urN oinkmaster.orig/oinkmaster.pl oinkmaster/oinkmaster.pl
--- oinkmaster.orig/oinkmaster.pl 2005-04-16 09:29:41.000000000 +0200
+++ oinkmaster/oinkmaster.pl 2005-05-11 13:18:27.000000000 +0200
@@ -130,7 +130,7 @@
# Default locations for configuration file.
my @DEFAULT_CONFIG_FILES = qw(
- /etc/oinkmaster.conf
+ @PREFIX@/etc/oinkmaster.conf
/usr/local/etc/oinkmaster.conf
);