Update of /cvsroot/fink/experimental/carstenklapp/finkinfo
In directory sc8-pr-cvs1:/tmp/cvs-serv16032
Added Files:
aris-extract-4.04-1.info aris-extract-4.04-1.patch
Removed Files:
aris-extract-4.01-1.info aris-extract-4.01-1.patch
Log Message:
Version updated. Fixed depends & license.
--- NEW FILE: aris-extract-4.04-1.info ---
Package: aris-extract
Version: 4.04
Revision: 1
Description: Reports IDS incidents to ARIN for global statistics
Homepage: https://analyzer.securityfocus.com/
License: BSD
#Depends: snort, dlcompat, curl-ssl-shlibs (>= 7.9.0), curl-ssl-shlibs (=< 7.9.8)
#Builddepends: dlcompat-dev, curl-ssl-dev (>= 7.9), curl-ssl-dev (=< 7.9.8)
Depends: snort, dlcompat, curl-ssl-shlibs (>= 7.9.0), curl-ssl-shlibs (<< 7.9.9-1)
Builddepends: dlcompat-dev, curl-ssl-dev (>= 7.9), curl-ssl-dev (<< 7.9.9-1)
Source: "http://analyzer.securityfocus.com/downloads/extractor-%v.tar.gz?"
Source-MD5: 2208c09970e7b82229189c37f10faff7
Sourcerename: %n-%v.tar.gz
Sourcedirectory: Extractor
Patch: %f.patch
CompileScript: make IOPT=-I/sw/include LOPT='-L/sw/lib -ldl'
InstallScript: <<
make install EXTRACTORDIR=%i/share/extractor BINDIR=%i/bin
cd %i/bin; ln -sf ../share/extractor/bin/extractor
<<
DocFiles: CHANGES LICENSE README-FIRST extractor-tz-offset
Maintainer: Carsten Klapp <[EMAIL PROTECTED]>
DescPort: patch submitted upstream
DescPackaging: <<
Requires a slightly older version of curl-ssl from 10.1 stable:
sudo apt-get install curl-ssl-dev-7.9.8-1 curl-ssl-shlibs-7.9.8-1
<<
--- NEW FILE: aris-extract-4.04-1.patch ---
diff -ru2N ./Extractor/ExtractorCommon/SensorsFile.cpp
./Extractor-patched/ExtractorCommon/SensorsFile.cpp
--- ./Extractor/ExtractorCommon/SensorsFile.cpp Wed Oct 9 19:44:27 2002
+++ ./Extractor-patched/ExtractorCommon/SensorsFile.cpp Thu Dec 19 23:35:34 2002
@@ -345,7 +345,11 @@
return -1;
#ifndef _WIN32
- if (lockf (fd, F_LOCK, 0) != 0)
+# ifndef __APPLE__
+ if (lockf (fd, F_LOCK, 0) != 0)
+# else
+ if (flock (fd, LOCK_EX) != 0)
+# endif
#else
- if (_locking (fd, _LK_LOCK, 1) != 0)
+ if (_locking (fd, _LK_LOCK, 1) != 0)
#endif
return -1;
@@ -358,5 +362,9 @@
{
#ifndef _WIN32
+# ifndef __APPLE__
lockf (fd, F_ULOCK, 0);
+# else
+ flock (fd, LOCK_UN);
+# endif
#else
_locking (fd, _LK_UNLCK, 1);
@@ -377,5 +385,10 @@
ftruncate (fd, nFilePos);
lseek (fd, 0, SEEK_SET);
+# ifndef __APPLE__
lockf (fd, F_ULOCK, 0);
+# else
+ flock (fd, LOCK_UN);
+# endif
+
#else
nFilePos = _tell (fd);
diff -ru2N ./Extractor/Makefile ./Extractor-patched/Makefile
--- ./Extractor/Makefile Thu Nov 14 16:35:01 2002
+++ ./Extractor-patched/Makefile Thu Dec 19 23:35:43 2002
@@ -2,6 +2,6 @@
# All Rights Reserved
-EXTRACTORDIR=/usr/local/extractor
-BINDIR=/usr/local/bin
+EXTRACTORDIR=@PREFIX@/share/extractor
+BINDIR=@PREFIX@/bin
PLATFORM=$(shell uname)
diff -ru2N ./Extractor/UnixExtractor/Makefile
./Extractor-patched/UnixExtractor/Makefile
--- ./Extractor/UnixExtractor/Makefile Thu Oct 10 18:13:09 2002
+++ ./Extractor-patched/UnixExtractor/Makefile Thu Dec 19 23:35:49 2002
@@ -36,5 +36,5 @@
SOParser.o: ../ExtractorCommon/SOParser.cpp
- $(CXX) -c -o SOParser.o ../ExtractorCommon/SOParser.cpp
+ $(CXX) -c $(IOPT) -o SOParser.o ../ExtractorCommon/SOParser.cpp
ProfilesList.o: ProfilesList.cpp
diff -ru2N ./Extractor/UnixExtractor/bsd.mk ./Extractor-patched/UnixExtractor/bsd.mk
--- ./Extractor/UnixExtractor/bsd.mk Fri Sep 6 16:05:13 2002
+++ ./Extractor-patched/UnixExtractor/bsd.mk Thu Dec 19 23:35:55 2002
@@ -2,9 +2,10 @@
# All Rights Reserved
-CC = gcc -Wall -O2
-CXX = g++ -Wall -O2
+CC = gcc -Wall -O2 -flat_namespace
+CXX = g++ -Wall -O2 -flat_namespace
IOPT = -I/usr/local/include
LOPT = -L/usr/local/lib
-LDSHARED = ld -shared
+#LDSHARED = ld -shared
+LDSHARED = ld -dynamic -flat_namespace -undefined suppress
LIBDL =
NEEDSSL = 0
diff -ru2N ./Extractor/UnixExtractor/platform.mk
./Extractor-patched/UnixExtractor/platform.mk
--- ./Extractor/UnixExtractor/platform.mk Fri Sep 6 16:05:13 2002
+++ ./Extractor-patched/UnixExtractor/platform.mk Thu Dec 19 23:36:00 2002
@@ -14,4 +14,7 @@
include ../UnixExtractor/bsd.mk
endif
+ifeq ($(PLATFORM),Darwin)
+include ../UnixExtractor/bsd.mk
+endif
ifeq ($(PLATFORM),OpenBSD)
include ../UnixExtractor/bsd.mk
--- aris-extract-4.01-1.info DELETED ---
--- aris-extract-4.01-1.patch DELETED ---
-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now! Before the Holidays pass you by.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits