Re: [UPDATE] net/snort 2.8.0.1 (was: [UPDATE] net/snort 2.8.0)

2008-02-10 Thread Rui Reis
On Sat, Dec 01, 2007 at 01:42:41PM +0100, Markus Lude wrote:
 
 New diff against CVS attached. Please test/comment/commit/...

new diff with a few changes. Please test.

Comments/oks?

cheers,
rui


Index: Makefile
===
RCS file: /cvs/ports/net/snort/Makefile,v
retrieving revision 1.51
diff -u -r1.51 Makefile
--- Makefile15 Sep 2007 22:36:59 -  1.51
+++ Makefile9 Feb 2008 17:38:12 -
@@ -2,29 +2,34 @@
 
 COMMENT=   highly flexible sniffer/NIDS
 
-DISTNAME=  snort-2.6.0.2
-PKGNAME=   ${DISTNAME}p1
+DISTNAME=  snort-2.8.0.1
 CATEGORIES=net security
 MASTER_SITES=  ${HOMEPAGE}/dl/current/
 
 HOMEPAGE=   http://www.snort.org/
 
-# GPL
+MAINTAINER=Markus Lude [EMAIL PROTECTED]
+
+# GPLv2
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=Yes
 PERMIT_DISTFILES_CDROM= Yes
 PERMIT_DISTFILES_FTP=  Yes
-WANTLIB=   c m pcap 
+WANTLIB=   c m pcap
 
-SHARED_LIBS=   sf_engine 0.0 \
-   sf_dns_preproc 0.0 \
-   sf_ftptelnet_preproc 0.0 \
-   sf_smtp_preproc 0.0
+SHARED_LIBS=   sf_engine 1.0 \
+   sf_dns_preproc 1.0 \
+   sf_ftptelnet_preproc 1.0 \
+   sf_smtp_preproc 1.0 \
+   sf_dcerpc_preproc 0.0 \
+   sf_ssh_preproc 0.0 \
+   _sfdynamic_example_rule 0.0 \
+   _sfdynamic_preprocessor_example 0.0
 
 USE_LIBTOOL=   Yes
 
 SEPARATE_BUILD=concurrent
-CONFIGURE_STYLE=gnu
+CONFIGURE_STYLE=simple
 CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
--enable-dynamicplugin
 
@@ -41,6 +46,9 @@
 .if ${FLAVOR:L:Mflexresp}
 LIB_DEPENDS+=  dnet.=1::net/libdnet
 CONFIGURE_ARGS+=--enable-flexresp2
+
+MASTER_SITES0= 
http://www-fs.informatik.uni-tuebingen.de/~lude/openbsd/distfiles/
+PATCHFILES=snort-flexresp_patch.diff:0
 .endif
 
 .if ${FLAVOR:L:Mpostgresql}
@@ -50,22 +58,31 @@
 
 .if ${FLAVOR:L:Mmysql}
 LIB_DEPENDS+=  lib/mysql/mysqlclient.=10::databases/mysql
-CONFIGURE_ARGS+=--with-mysql=${LOCALBASE}
+CONFIGURE_ARGS+=--with-mysql-libraries=${LOCALBASE}/lib \
+   --with-mysql-includes=${LOCALBASE}/include
 WANTLIB+=  z
 .endif
 
 .if ${FLAVOR:L:Mprelude}
 MODULES=   devel/gettext
-WANTLIB+=  gcrypt gpg-error pthread z
+WANTLIB+=  gcrypt gnutls gpg-error pthread z
 LIB_DEPENDS+=  prelude.=8::security/prelude/libprelude
 CONFIGURE_ARGS+=--enable-prelude
 MESSAGE=   ${PKGDIR}/MESSAGE-prelude
 .endif
 
-CONFIGS=   classification.config gen-msg.map generators reference.config \
-   sid sid-msg.map snort.conf threshold.conf unicode.map
+CONFIGS=   classification.config gen-msg.map reference.config \
+   sid-msg.map snort.conf threshold.conf unicode.map
 
-DOCS=  AUTHORS CREDITS README.* *.pdf
+PREPROC=   decoder.rules preprocessor.rules
+
+DOCS=  AUTHORS CREDITS README README.* *.pdf TODO USAGE WISHLIST
+
+# workaround conflicts between distpatches and patches
+post-patch:
+.if ${FLAVOR:L:Mflexresp}
+   @perl -pi -e s,ip_t,snort_ip, ${WRKSRC}/src/preprocessors/stream.h
+.endif
 
 post-build:
@perl -pi -e s,%%SYSCONFDIR%%,${SYSCONFDIR}, \
@@ -77,6 +94,11 @@
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/snort
 .for i in ${CONFIGS}
${INSTALL_DATA} ${WRKSRC}/etc/${i} ${PREFIX}/share/examples/snort
+.endfor
+   ${INSTALL_DATA} ${WRKSRC}/doc/generators ${PREFIX}/share/examples/snort
+
+.for i in ${PREPROC}
+   ${INSTALL_DATA} ${WRKSRC}/preproc_rules/${i} 
${PREFIX}/share/examples/snort
 .endfor
 
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snort
Index: distinfo
===
RCS file: /cvs/ports/net/snort/distinfo,v
retrieving revision 1.15
diff -u -r1.15 distinfo
--- distinfo5 Apr 2007 16:20:15 -   1.15
+++ distinfo9 Feb 2008 17:38:12 -
@@ -1,5 +1,10 @@
-MD5 (snort-2.6.0.2.tar.gz) = XAlP9tgtuEWl8CPkpJIQPg==
-RMD160 (snort-2.6.0.2.tar.gz) = cG1j24O30DesinHIEEMk2bdZTrU=
-SHA1 (snort-2.6.0.2.tar.gz) = Gms/sZqC+Dvw/OWo226xJ3xyN5s=
-SHA256 (snort-2.6.0.2.tar.gz) = B716x7ZF0TgKzmWzPAZO1Y2dwhvXNrH3a8V13CLhpeI=
-SIZE (snort-2.6.0.2.tar.gz) = 3350277
+MD5 (snort-2.8.0.1.tar.gz) = u2UOjv6Fj1w8yx5HF3XX5w==
+MD5 (snort-flexresp_patch.diff) = ZYyI5dSWIpCkny37tRidUQ==
+RMD160 (snort-2.8.0.1.tar.gz) = oLC+wvfMoNR6WYcIu/xpysr0ShI=
+RMD160 (snort-flexresp_patch.diff) = vrc4csTm8t0HUKMbYMrMzDs66jA=
+SHA1 (snort-2.8.0.1.tar.gz) = s7RfptUDcvZYfNd2r0O0FSURljA=
+SHA1 (snort-flexresp_patch.diff) = qkgi0RNWJintUwpX6uYE4QdeWV4=
+SHA256 (snort-2.8.0.1.tar.gz) = T6dP2/5nc2Kw/vImAm5/EQ196Fa6qtIbX+Pr0PYnsRI=
+SHA256 (snort-flexresp_patch.diff) = 
cBSVJQ939iIageqqNMHQnsa1GjjplPju96ePvHBMyNY=
+SIZE (snort-2.8.0.1.tar.gz) = 4331731
+SIZE (snort-flexresp_patch.diff) = 48418
Index: patches/patch-etc_snort_conf
===
RCS file: 

Re: [update] login_ldap 3.51

2008-02-10 Thread Mike Erdely
On Thu, Feb 07, 2008 at 01:10:29PM -0500, Mike Erdely wrote:
 Below is a diff to update login_ldap.
 I've taken over the login_ldap project, started hosting it at
 sourceforge, imported Peter's updates (to 3.4), fixed the build and
 packaging for OpenBSD.  I had problems with the 3.3 version of the port
 and Active Directory, but I have been using this version in production
 for quite a while.
 
 Comments?  ok?
 
 -ME

Anyone test this?  It'd be nice to get this in before the freeze.

-ME



UPDATE: MySQL 5.0.51a - security update

2008-02-10 Thread Brad
Here is an update to MySQL 5.0.51a which fixes two security issues.


Index: Makefile
===
RCS file: /cvs/ports/databases/mysql/Makefile,v
retrieving revision 1.138
diff -u -p -r1.138 Makefile
--- Makefile18 Jan 2008 20:34:14 -  1.138
+++ Makefile10 Feb 2008 02:59:55 -
@@ -4,7 +4,7 @@ COMMENT-main=   multithreaded SQL database
 COMMENT-server=multithreaded SQL database (server)
 COMMENT-tests= multithreaded SQL database (regression test suite)
 
-VERSION=   5.0.51
+VERSION=   5.0.51a
 DISTNAME=  mysql-${VERSION}
 PKGNAME-main=  mysql-client-${VERSION}
 PKGNAME-server=mysql-server-${VERSION}
Index: distinfo
===
RCS file: /cvs/ports/databases/mysql/distinfo,v
retrieving revision 1.32
diff -u -p -r1.32 distinfo
--- distinfo18 Jan 2008 20:34:14 -  1.32
+++ distinfo10 Feb 2008 03:00:58 -
@@ -1,5 +1,5 @@
-MD5 (mysql-5.0.51.tar.gz) = iMOcjLd4EP67g7fuYlNk1w==
-RMD160 (mysql-5.0.51.tar.gz) = 4UuqHEDLOF+mT8cjVducpYpr4vk=
-SHA1 (mysql-5.0.51.tar.gz) = qaJT6oQulz329HXATax3Ui3g3qc=
-SHA256 (mysql-5.0.51.tar.gz) = tYQHToAyii5lUV7z35R6gSmeMUCnuop+n43PTpLVc2s=
-SIZE (mysql-5.0.51.tar.gz) = 27045586
+MD5 (mysql-5.0.51a.tar.gz) = qD29u5Emfa9z0il6nCg90Q==
+RMD160 (mysql-5.0.51a.tar.gz) = hpdUFQ6kLy+6029365oOe7bjiSs=
+SHA1 (mysql-5.0.51a.tar.gz) = rcg7yubQT8zWNg3DqjfGSqpHmj0=
+SHA256 (mysql-5.0.51a.tar.gz) = WbBvapSEMMclR2DgvxbxRH7hTQFCBz9Y/S5owyczC2g=
+SIZE (mysql-5.0.51a.tar.gz) = 27588558

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



new: emacs 22.1

2008-02-10 Thread fulvio ciriaco
Hallo,
attached is a port for emacs 22.1.
Emacs 22 adds or improves many features to emacs 21.
Note the following:
A previous port of emacs 22.1 of 10 jun 2007 exists but does not work in 
  current ports.
Emacs 22.1 compiles unpatched on openbsd, actually, the patches found in 
  emacs 21.* seem to have been committed to emacs 22. At least I checked
  the configure script.
I choose a simple approach, conforming to the port of 21.*, with flavours
  no-x11 and without a gtk flavour. I splitted the package as in port 
  emacs-21.* in emacs-base and emacs-el. No -leim, since this is now included
  in emacs source.

I tested on my i386 architecture and the package compiles and works.
I additionally tested that auctex compile and work with emacs-=21.
Fulvio Ciriaco



emacs22.tar.gz
Description: Binary data


Re: UPDATE: MySQL 5.0.51a - security update

2008-02-10 Thread Stuart Henderson
On 2008/02/10 14:33, Brad wrote:
 Here is an update to MySQL 5.0.51a which fixes two security issues.

Ok with me, tested on my (lightly-loaded) sparc64 installation.
Any other reports?