Re: [NEW] ports for web.py 0.22

2007-11-30 Thread Eric Faurot
On Fri, 30 Nov 2007 15:01:43 -0600
Will Maier [EMAIL PROTECTED] wrote:

 pkg/DESCR should be 72 characters wide.

right, well, hopefully mg knows.


Eric.



Re: ClamAV 0.91.2 for OpenBSD 4.2?

2007-11-30 Thread Stuart Henderson
On 2007/12/01 00:10, Per-Olov Sjöholm wrote:
 Of course I can built it from source or use -current port. But that was not 
 the question. How could you not understand a one liner question? ;-)
 Don't answer if you don't know...
 
 I don't want answer to a question I didn't ask = *Z E R O* value
 
 
 I just think it's not the normal procedure to commit backports of software 
 updates to stable for only older OpenBSD releases and not the latest.

There isn't a normal procedure for 4.2 -stable ports/packages,
these don't exist at the moment.



Re: ClamAV 0.91.2 for OpenBSD 4.2?

2007-11-30 Thread Uwe Dippel

Stuart Henderson wrote:


There isn't a normal procedure for 4.2 -stable ports/packages,
these don't exist at the moment


We all know, and it would be good to discuss this in a very civilised 
manner; avoiding pointing of fingers.


But this situation also reduces the tracking of OpenBSD, and its 
attraction. I adore the developers for the huge advances in hardware 
compatibility, keeping the system with a beautiful simplicity, and 
giving me as system administrator the coziest feeling of security. This 
is why I have been tracking it, from 3.3 to 4.2 (yesterday finished 
upgrading the last box to 4.2).
Until recently, I felt that the 'most relevant' ports and packages 
(whatever that is) were reasonably updated, at least as far as security 
is concerned. Now, with 4.2, most of the (again, relevant) ports and 
packages are already close to half a year of age. I will only have 
another window in time for 4.2-4-3-4.4 in a year from now. The cozy 
feeling will alas be somewhat gone, running mid-2007 software throughout 
2008, without reasonable backports of security-challenged applications.
I have no solution for this within OpenBSD. If a 'distribution' where 
hacking happens only at the bleeding edge is viable, I don't know. It 
surely is fun, though.


Uwe



UPDATE: textproc/markdown

2007-11-30 Thread Will Maier
This patch updates textproc/markdown to 1.6b, the most recent stable
release. This release includes a test suite, which is enabled in
this patch with a few modifications (see patch-test-markdown_py).
Since the footnotes and RSS extensions are no longer distributed
(but still enabled in setup.py), I disable them in a new patch as
well (patch-setup_py).

Tested on -current/i386. Patch below and available via HTTP:

http://www.lfod.us/files/ports/markdown-1.6b.diff

Thanks!

diffstat:
5 files changed, 96 insertions(+), 13 deletions(-)
Makefile   |   14 ---
distinfo   |   10 ++---
patches/patch-setup_py |   11 ++
patches/patch-test-markdown_py |   71 

pkg/PLIST  |3 -

-- 

o--{ Will Maier }--o
| web:...http://www.lfod.us/ | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,9 @@
 
 COMMENT=   text-to-HTML conversion tool
 
-DISTNAME=  markdown-1.6a
-PKGNAME=   ${DISTNAME}p0
+V= 1.6b
+DISTNAME=  markdown-${V}
+PKGNAME=   ${DISTNAME}
 CATEGORIES=textproc
 
 HOMEPAGE=  http://www.freewisdom.org/projects/python-markdown/
@@ -21,9 +22,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=python-markdown/}
 EXTRACT_SUFX=  .zip
 
-WRKDIST=   ${WRKDIR}/markdown-1.6
-
-NO_REGRESS=Yes
+WRKDIST=   ${WRKDIR}/markdown-${V}
 
 pre-build:
@sed -e 1s|%MODPY_BIN%|${MODPY_BIN}| ${FILESDIR}/markdown  \
@@ -32,6 +31,9 @@ post-install:
 post-install:
${INSTALL_SCRIPT} ${WRKSRC}/markdown ${PREFIX}/bin/markdown
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/markdown
-   ${INSTALL_DATA} ${WRKSRC}/mdx_*py ${PREFIX}/share/examples/markdown/
+
+do-regress:
+   @cd ${WRKDIST}  ${MODPY_BIN} test-markdown.py
+
 
 .include bsd.port.mk
diff --git a/distinfo b/distinfo
--- a/distinfo
+++ b/distinfo
@@ -1,5 +1,5 @@ MD5 (markdown-1.6a.zip) = IbWIL3YmT4Swxu
-MD5 (markdown-1.6a.zip) = IbWIL3YmT4Swxu31TKONLQ==
-RMD160 (markdown-1.6a.zip) = Yxgn/EwV+oJA5zjPspnPnB1nRno=
-SHA1 (markdown-1.6a.zip) = D9l3QDnX0HOL/f3OkiF6TFuZoQk=
-SHA256 (markdown-1.6a.zip) = +/NJuNTkWU7qUMkxJ1Q3DGnY31rnr0tvXYV9F/hxIXs=
-SIZE (markdown-1.6a.zip) = 25236
+MD5 (markdown-1.6b.zip) = h8GaXcx3ApvQFdjt5j4NCw==
+RMD160 (markdown-1.6b.zip) = tOBaR5XMxzutbhO5scnn+m1LIbQ=
+SHA1 (markdown-1.6b.zip) = 0AAjrwkoGwPU98e/omi2ehju6aM=
+SHA256 (markdown-1.6b.zip) = FckzuopmsfsxdteSpHPRZ8xCL123HMu9Aj6A6iAYGeQ=
+SIZE (markdown-1.6b.zip) = 214972
diff --git a/patches/patch-setup_py b/patches/patch-setup_py
new file mode 100644
--- /dev/null
+++ b/patches/patch-setup_py
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- setup.py.orig  Mon Nov 19 14:20:16 2007
 setup.py   Mon Nov 19 14:20:20 2007
+@@ -8,6 +8,6 @@ setup(
+ maintainer = Yuri Takhteyev,
+ maintainer_email = yuri [at] freewisdom.org,
+ url = http://www.freewisdom.org/projects/python-markdown;,
+-py_modules = [markdown,mdx_footnotes, mdx_rss],
++py_modules = [markdown,],
+ 
+ ) 
diff --git a/patches/patch-test-markdown_py b/patches/patch-test-markdown_py
new file mode 100644
--- /dev/null
+++ b/patches/patch-test-markdown_py
@@ -0,0 +1,71 @@
+$OpenBSD$
+--- test-markdown.py.orig  Sat Aug 18 15:24:21 2007
 test-markdown.py   Fri Nov 30 19:49:38 2007
+@@ -212,9 +212,9 @@ def testDirectory(dir, measure_time = False) :
+ d = difflib.Differ()
+ hd = difflib.HtmlDiff()
+ 
+-htmlDiffFilePath = os.path.join(TMP_DIR, os.path.split(dir)[-1]) + .html
+-htmlDiffFile = codecs.open(htmlDiffFilePath, w, encoding=encoding)
+-htmlDiffFile.write(DIFF_FILE_TEMPLATE)
++#htmlDiffFilePath = os.path.join(TMP_DIR, os.path.split(dir)[-1]) + 
.html
++#htmlDiffFile = codecs.open(htmlDiffFilePath, w, encoding=encoding)
++#htmlDiffFile.write(DIFF_FILE_TEMPLATE)
+ 
+ diffsBuffer = 
+ 
+@@ -222,7 +222,7 @@ def testDirectory(dir, measure_time = False) :
+ 
+ print --- %s --- % test
+ 
+-htmlDiffFile.write(trtd%s/td % test)
++#htmlDiffFile.write(trtd%s/td % test)
+ 
+ input_file = os.path.join(dir, test + .txt)
+ output_file = os.path.join(dir, test + .html)
+@@ -260,12 +260,13 @@ def testDirectory(dir, measure_time = False) :
+ 
+ if not diff:
+ 
+-htmlDiffFile.write(td class='ok'OK/td)
++print 'OK'
++#htmlDiffFile.write(td class='ok'OK/td)
+ 
+ else :
+ 
+-htmlDiffFile.write(td class='failed' +
+-   a href='#diff-%s'FAILED/a/td % test)
++#htmlDiffFile.write(td class='failed' +
++#   a href='#diff-%s'FAILED/a/td % test)
+ 
+ print MISMATCH on %s/%s.txt % (dir, test)
+ print

UPDATE: devel/ipython

2007-11-30 Thread Will Maier
This patch updates devel/ipython to version 0.8.2, released earlier
today (changes[0]). There's nothing big in this update, though I did
simplify patch-setup_py.

Tested on -current/i386. Patch below and available via HTTP:

http://www.lfod.us/files/ports/ipython-0.8.2.diff

diffstat:
4 files changed, 60 insertions(+), 37 deletions(-)
Makefile   |4 +--
distinfo   |   10 -
patches/patch-setup_py |   33 ++-
pkg/PLIST  |   50 


Thanks!

[0] http://ipython.scipy.org/moin/WhatsNew082

-- 

o--{ Will Maier }--o
| web:...http://www.lfod.us/ | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,8 @@
 
 COMMENT=   enhanced interactive Python shell
 
-DISTNAME=  ipython-0.8.1
-PKGNAME=   ${DISTNAME}p0
+DISTNAME=  ipython-0.8.2
+PKGNAME=   ${DISTNAME}
 CATEGORIES=devel
 
 HOMEPAGE=  http://ipython.scipy.org/
diff --git a/distinfo b/distinfo
--- a/distinfo
+++ b/distinfo
@@ -1,5 +1,5 @@ MD5 (ipython-0.8.1.tar.gz) = NHkmKkurISR
-MD5 (ipython-0.8.1.tar.gz) = NHkmKkurISRv8HoGu717yw==
-RMD160 (ipython-0.8.1.tar.gz) = l0p1hEccNVmoxW1gvIVxXz/T4Hk=
-SHA1 (ipython-0.8.1.tar.gz) = kDIENsfAn3eMkEVTUgMny7/S2MY=
-SHA256 (ipython-0.8.1.tar.gz) = fRy87hAUNNVtzJify04W8ereBg7e2pgtBJEDEgbcbb4=
-SIZE (ipython-0.8.1.tar.gz) = 1127745
+MD5 (ipython-0.8.2.tar.gz) = /VobblGImKSu6LjYtCivcA==
+RMD160 (ipython-0.8.2.tar.gz) = l22FEtaO1OG/KKtQ6QvLd3fDTlM=
+SHA1 (ipython-0.8.2.tar.gz) = KSPB95DUGurNJEKvXeirYcQ/YWc=
+SHA256 (ipython-0.8.2.tar.gz) = zGc8fN7zj3qyHuIue+Wlkba27aWQuC9xp0/4tRA4McQ=
+SIZE (ipython-0.8.2.tar.gz) = 1172098
diff --git a/patches/patch-setup_py b/patches/patch-setup_py
--- a/patches/patch-setup_py
+++ b/patches/patch-setup_py
@@ -1,30 +1,11 @@
 $OpenBSD: patch-setup_py,v 1.4 2007/06/13 15:07:34 alek Exp $
 setup.py.orig  Tue May  8 23:57:09 2007
-+++ setup.py   Thu May 10 05:31:10 2007
-@@ -126,15 +126,17 @@ if 'bdist_wininst' in sys.argv:
- sys.exit(1)
- scriptfiles.append('scripts/ipython_win_post_install.py')
+--- setup.py.orig  Mon Aug 13 14:38:45 2007
 setup.py   Fri Nov 30 18:26:24 2007
+@@ -139,6 +139,7 @@ datafiles = [('data', docdirbase, docfiles),
+  ('lib', 'IPython/UserConfig', cfgfiles),
+  ('data',pjoin(docdirbase, 'extensions'),igridhelpfiles),
+  ]
++datafiles = [('lib', 'IPython/UserConfig', cfgfiles),]
  
--datafiles = [('data', docdirbase, docfiles),
--  ('data', os.path.join(docdirbase, 'examples'),
--   examfiles),
--  ('data', os.path.join(docdirbase, 'manual'),
--   manfiles),
--  ('data', manpagebase, manpages),
--  ('lib', 'IPython/UserConfig', cfgfiles),
--  ('data',os.path.join(docdirbase, 'extensions'),
--   igridhelpfiles)]
-+# These files are manually installed by the port's Makefile.
-+#datafiles = [('data', docdirbase, docfiles),
-+#  ('data', os.path.join(docdirbase, 'examples'),
-+#   examfiles),
-+#  ('data', os.path.join(docdirbase, 'manual'),
-+#   manfiles),
-+#  ('data', manpagebase, manpages),
-+#  ('lib', 'IPython/UserConfig', cfgfiles),
-+#  ('data',os.path.join(docdirbase, 'extensions'),
-+#   igridhelpfiles)]
-+datafiles = [('lib', 'IPython/UserConfig', cfgfiles),]
  if 'setuptools' in sys.modules:
  # setuptools config for egg building
- egg_extra_kwds = {
diff --git a/pkg/PLIST b/pkg/PLIST
--- a/pkg/PLIST
+++ b/pkg/PLIST
@@ -30,8 +30,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/IPython/Extensions/clearcmd.pyc
 lib/python${MODPY_VERSION}/site-packages/IPython/Extensions/envpersist.py
 lib/python${MODPY_VERSION}/site-packages/IPython/Extensions/envpersist.pyc
-lib/python${MODPY_VERSION}/site-packages/IPython/Extensions/ext_rehashdir.py
-lib/python${MODPY_VERSION}/site-packages/IPython/Extensions/ext_rehashdir.pyc
 lib/python${MODPY_VERSION}/site-packages/IPython/Extensions/ext_rescapture.py
 lib/python${MODPY_VERSION}/site-packages/IPython/Extensions/ext_rescapture.pyc
 lib/python${MODPY_VERSION}/site-packages/IPython/Extensions/ibrowse.py
@@ -40,22 +38,48 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/IPython/Extensions/igrid.pyc
 lib/python${MODPY_VERSION}/site-packages/IPython/Extensions/ipipe.py
 lib/python${MODPY_VERSION}/site-packages/IPython/Extensions/ipipe.pyc

[update] telephony/asterisk - 1.4.15 (pgsql security)

2007-11-30 Thread Stuart Henderson
fixes sql injection problems in pgsql realtime and cdr.
ok?

Index: Makefile
===
RCS file: /cvs/ports/telephony/asterisk/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- Makefile27 Nov 2007 10:41:04 -  1.26
+++ Makefile1 Dec 2007 02:46:54 -
@@ -3,7 +3,7 @@
 SHARED_ONLY=   Yes
 COMMENT-main=  open source multi-protocol PBX and telephony toolkit
 
-V= 1.4.14
+V= 1.4.15
 DISTNAME=  asterisk-$V
 FULLPKGNAME-main=  ${DISTNAME}
 
Index: distinfo
===
RCS file: /cvs/ports/telephony/asterisk/distinfo,v
retrieving revision 1.20
diff -u -p -r1.20 distinfo
--- distinfo27 Nov 2007 10:41:04 -  1.20
+++ distinfo1 Dec 2007 02:46:54 -
@@ -1,5 +1,5 @@
-MD5 (asterisk-1.4.14.tar.gz) = oRun8tOT5Wyq/KgMEUcpHQ==
-RMD160 (asterisk-1.4.14.tar.gz) = 9xv9dGI5kFuQtVD1GtJ9kxe9HAo=
-SHA1 (asterisk-1.4.14.tar.gz) = t2UbFYAeSpwfvGRbX7bPlZYOkqI=
-SHA256 (asterisk-1.4.14.tar.gz) = LQ/ITtFl8Uau/ldeupTCZ8VPurULe1TTwEmQrd4Kky0=
-SIZE (asterisk-1.4.14.tar.gz) = 11279263
+MD5 (asterisk-1.4.15.tar.gz) = wvh6E0Onv360klwG75Ypdg==
+RMD160 (asterisk-1.4.15.tar.gz) = IU4FzyV4KAvTV4MkrsMNA+Lmv74=
+SHA1 (asterisk-1.4.15.tar.gz) = ydk0pabtN0rr3JFStlrxt25gPjk=
+SHA256 (asterisk-1.4.15.tar.gz) = dVCPyKpZkRYuvDxOJy/5oCZZcvWIC5/lK54dF5tsXcA=
+SIZE (asterisk-1.4.15.tar.gz) = 11417006
Index: pkg/PFRAG.h323-main
===
RCS file: /cvs/ports/telephony/asterisk/pkg/PFRAG.h323-main,v
retrieving revision 1.1
diff -u -p -r1.1 PFRAG.h323-main
--- pkg/PFRAG.h323-main 27 Nov 2007 10:41:04 -  1.1
+++ pkg/PFRAG.h323-main 1 Dec 2007 02:46:54 -
@@ -1,5 +1,4 @@
 @comment $OpenBSD: PFRAG.h323-main,v 1.1 2007/11/27 10:41:04 sthen Exp $
-lib/asterisk/modules/chan_h323.so
 share/doc/asterisk/h323.txt
 share/examples/asterisk/default/h323.conf
 @sample ${SYSCONFDIR}/asterisk/h323.conf
Index: pkg/PLIST-main
===
RCS file: /cvs/ports/telephony/asterisk/pkg/PLIST-main,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST-main
--- pkg/PLIST-main  27 Nov 2007 10:41:04 -  1.3
+++ pkg/PLIST-main  1 Dec 2007 02:46:54 -
@@ -259,8 +259,8 @@ share/asterisk/moh/fpm-calm-river.wav
 share/asterisk/moh/fpm-sunshine.wav
 share/asterisk/moh/fpm-world-mix.wav
 share/asterisk/sounds/
-share/asterisk/sounds/.asterisk-core-sounds-en-gsm-1.4.7
-share/asterisk/sounds/CREDITS-asterisk-core-en-1.4.7
+share/asterisk/sounds/.asterisk-core-sounds-en-gsm-1.4.8
+share/asterisk/sounds/CREDITS-asterisk-core-en-1.4.8
 share/asterisk/sounds/agent-alreadyon.gsm
 share/asterisk/sounds/agent-incorrect.gsm
 share/asterisk/sounds/agent-loggedoff.gsm
@@ -410,6 +410,10 @@ share/asterisk/sounds/digits/yesterday.g
 share/asterisk/sounds/dir-instr.gsm
 share/asterisk/sounds/dir-intro-fn.gsm
 share/asterisk/sounds/dir-intro.gsm
+share/asterisk/sounds/dir-multi1.gsm
+share/asterisk/sounds/dir-multi2.gsm
+share/asterisk/sounds/dir-multi3.gsm
+share/asterisk/sounds/dir-multi9.gsm
 share/asterisk/sounds/dir-nomatch.gsm
 share/asterisk/sounds/dir-nomore.gsm
 share/asterisk/sounds/es/
@@ -426,6 +430,31 @@ share/asterisk/sounds/hours.gsm
 share/asterisk/sounds/invalid.gsm
 share/asterisk/sounds/letters/
 share/asterisk/sounds/letters/a.gsm
+share/asterisk/sounds/letters/ascii123.gsm
+share/asterisk/sounds/letters/ascii124.gsm
+share/asterisk/sounds/letters/ascii125.gsm
+share/asterisk/sounds/letters/ascii126.gsm
+share/asterisk/sounds/letters/ascii34.gsm
+share/asterisk/sounds/letters/ascii36.gsm
+share/asterisk/sounds/letters/ascii37.gsm
+share/asterisk/sounds/letters/ascii38.gsm
+share/asterisk/sounds/letters/ascii39.gsm
+share/asterisk/sounds/letters/ascii40.gsm
+share/asterisk/sounds/letters/ascii41.gsm
+share/asterisk/sounds/letters/ascii42.gsm
+share/asterisk/sounds/letters/ascii44.gsm
+share/asterisk/sounds/letters/ascii58.gsm
+share/asterisk/sounds/letters/ascii59.gsm
+share/asterisk/sounds/letters/ascii60.gsm
+share/asterisk/sounds/letters/ascii62.gsm
+share/asterisk/sounds/letters/ascii63.gsm
+share/asterisk/sounds/letters/ascii91.gsm
+share/asterisk/sounds/letters/ascii92.gsm
+share/asterisk/sounds/letters/ascii93.gsm
+share/asterisk/sounds/letters/ascii94.gsm
+share/asterisk/sounds/letters/ascii95.gsm
+share/asterisk/sounds/letters/ascii96.gsm
+share/asterisk/sounds/letters/asterisk.gsm
 share/asterisk/sounds/letters/at.gsm
 share/asterisk/sounds/letters/b.gsm
 share/asterisk/sounds/letters/c.gsm
@@ -506,6 +535,8 @@ share/asterisk/sounds/queue-holdtime.gsm
 share/asterisk/sounds/queue-less-than.gsm
 share/asterisk/sounds/queue-minutes.gsm
 share/asterisk/sounds/queue-periodic-announce.gsm
+share/asterisk/sounds/queue-quantity1.gsm
+share/asterisk/sounds/queue-quantity2.gsm
 share/asterisk/sounds/queue-reporthold.gsm

Re: ClamAV 0.91.2 for OpenBSD 4.2?

2007-11-30 Thread Per-Olov Sjöholm
Of course I can built it from source or use -current port. But that was not 
the question. How could you not understand a one liner question? ;-)
Don't answer if you don't know...

I don't want answer to a question I didn't ask = *Z E R O* value


I just think it's not the normal procedure to commit backports of software 
updates to stable for only older OpenBSD releases and not the latest. And I 
prefer -stable patches or updates. No matter if its OpenBSD or its ports 
tree.I do NOT want -current where people sometimes do misstakes and have to 
back out commits. 


/Per-Olov

On Friday 30 November 2007 00.36.02 Cabillot Julien wrote:
 Build it from -current.

 On Nov 30, 2007 12:19 AM, Per-Olov Sjöholm [EMAIL PROTECTED] wrote:
  Hi
 
  Anybody that knows why there is a ClamAV 0.91.2 stable update for OpenBSD 
 4.0  and 4.1 in CVS but not for OpenBSD 4.2?
 
 
  Thanks in advance
  /P



Re: NEW: graphics/py-pyx

2007-11-30 Thread Eric Faurot
Hi,

The attached tarball works fine on both amd64 and macppc here.
The problem was an interrupted read, and a thread starting too
early. I have added a regress target that runs all the examples,
except one (months.py) which is not even complete.

Please test, comments and ok.

Eric.


py-pyx.tgz
Description: Unix tar archive


Re: Courier-imap on 4.2 stable

2007-11-30 Thread Uwe Dippel

Steve Shockley wrote:


Why would you want to delete imapd.pem?  Then your users have to 
install a new cert.  I think current (3.x) versions of Thunderbird 
will refuse to connect.

Want ? probably not needed, but gets us going at following the instructions.
New cert is very much in order, since by default it lasts 12 months 
only. If I do it now, fine. If I don't, I have to dig up the whole lot 
over a short period.
Here the version is still at 2.x (2.0.0.4), and it flawlessly took over 
even without shutting down. The users only had to (once again) accept 
the new cert.


Uwe




Re: Courier-imap on 4.2 stable

2007-11-30 Thread Steve Shockley

Please try the following:

http://shockley.net/OpenBSD/courier-imap-4.3.0.diff
http://shockley.net/OpenBSD/courier-authlib-0.60.2.diff

It's been lightly tested on amd64.



Re: Courier-imap on 4.2 stable

2007-11-30 Thread Steve Shockley

Uwe Dippel wrote:
 pkg_add -ui -F update -F updatedepends
 failed me with the following:

I sent an update to the maintainer, but it's timed out.  I'll try to fix 
these and send it to [EMAIL PROTECTED]


The latter alas is already wrong. There is no /etc/courier/courier/. It 
is simply /etc/courier.


I had fixed this in my update.

It still fails, though, because /etc/ssl/private/imapd.pem exists. 
Delete it.


Why would you want to delete imapd.pem?  Then your users have to install 
a new cert.  I think current (3.x) versions of Thunderbird will refuse 
to connect.



To control the daemon use /usr/local/libexec/imapd.rc and
/usr/local/libexec/imapd-ssl.rc, and to run the authdaemon, place the
following in /etc/rc.local:


Thanks, I've updated this in my local version and I'll post a diff later 
today.




Re: Courier-imap on 4.2 stable

2007-11-30 Thread Steve Shockley

Uwe Dippel wrote:

New cert is very much in order, since by default it lasts 12 months 
only. If I do it now, fine. If I don't, I have to dig up the whole lot 
over a short period.


Well, a correcter way of doing it if you're doing self-signed certs is 
to create a longer-lasting root cert and use that to sign other certs, 
and install the root cert on the clients once.


I don't want to encourage my users to get used to clicking Yes on the 
cert warning, that partially negates the point of using SSL.




Re: [UPDATE] net/snort 2.8.0

2007-11-30 Thread Nikns Siankin
On Thu, Nov 29, 2007 at 12:21:13AM +0100, Markus Lude wrote:
Hello,
here is an update to snort 2.8.0. Please test/comment/commit/...

Based on changes for 2.7.0.1 by Jason Dixon.
Some added patches fix bus errors on sparc64 noticed by [EMAIL PROTECTED]

If noone other wants, I would take maintainership (not included in
diff).

Regards,
Markus


Attached diff to apply after your diff.

* Updated to 2.8.0.1
* Fixes flexresp flavor: http://marc.info/?l=snort-usersm=119099490314507w=2
* Fixes prelude WANTLIB
* Replaces depricated --with-mysql
diff -ur ../snort.patched/Makefile ./Makefile
--- ../snort.patched/Makefile   Fri Nov 30 11:56:08 2007
+++ ./Makefile  Fri Nov 30 11:59:14 2007
@@ -2,8 +2,7 @@
 
 COMMENT=   highly flexible sniffer/NIDS
 
-DISTNAME=  snort-2.8.0
-PKGNAME=   ${DISTNAME}
+DISTNAME=  snort-2.8.0.1
 CATEGORIES=net security
 MASTER_SITES=  ${HOMEPAGE}/dl/current/
 
@@ -43,6 +42,9 @@
 .if ${FLAVOR:L:Mflexresp}
 LIB_DEPENDS+=  dnet.=1::net/libdnet
 CONFIGURE_ARGS+=--enable-flexresp2
+
+MASTER_SITES0=  http://ftp.secure.lv/pub/distfiles/
+PATCHFILES= respond2_patch.diff:0
 .endif
 
 .if ${FLAVOR:L:Mpostgresql}
@@ -52,13 +54,14 @@
 
 .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
diff -ur ../snort.patched/distinfo ./distinfo
--- ../snort.patched/distinfo   Fri Nov 30 11:56:08 2007
+++ ./distinfo  Fri Nov 30 11:59:54 2007
@@ -1,5 +1,10 @@
-MD5 (snort-2.8.0.tar.gz) = z7qxwuOc27iRISxL8V6C8w==
-RMD160 (snort-2.8.0.tar.gz) = 2sNqSh/aYLZszcXHdKthqqD2yKg=
-SHA1 (snort-2.8.0.tar.gz) = 8HuEoIcthhAGtWqManmmAwjdaLQ=
-SHA256 (snort-2.8.0.tar.gz) = uaBzfTL2nEvnSySDJLQBc2Z7W8e09Yru9PInGi6oQtE=
-SIZE (snort-2.8.0.tar.gz) = 4278872
+MD5 (respond2_patch.diff) = PbuGzELzemmJOZefznO2nw==
+MD5 (snort-2.8.0.1.tar.gz) = u2UOjv6Fj1w8yx5HF3XX5w==
+RMD160 (respond2_patch.diff) = FyVgr7CGRT+jzTMg+iyJbmgkfxI=
+RMD160 (snort-2.8.0.1.tar.gz) = oLC+wvfMoNR6WYcIu/xpysr0ShI=
+SHA1 (respond2_patch.diff) = IJhimg/OA7fMfov6qQCYA2DJlng=
+SHA1 (snort-2.8.0.1.tar.gz) = s7RfptUDcvZYfNd2r0O0FSURljA=
+SHA256 (respond2_patch.diff) = zzARQQev9cVyJscTaI8HaBbvBenvAn+TS67YIF3hpFo=
+SHA256 (snort-2.8.0.1.tar.gz) = T6dP2/5nc2Kw/vImAm5/EQ196Fa6qtIbX+Pr0PYnsRI=
+SIZE (respond2_patch.diff) = 48704
+SIZE (snort-2.8.0.1.tar.gz) = 4331731
diff -ur ../snort.patched/patches/patch-src_dynamic-preprocessors_Makefile_in 
./patches/patch-src_dynamic-preprocessors_Makefile_in
--- ../snort.patched/patches/patch-src_dynamic-preprocessors_Makefile_in
Fri Nov 30 11:56:08 2007
+++ ./patches/patch-src_dynamic-preprocessors_Makefile_in   Fri Nov 30 
12:09:44 2007
@@ -1,7 +1,7 @@
 $OpenBSD: patch-src_dynamic-preprocessors_Makefile_in,v 1.1 2006/10/10 
13:33:17 aanriot Exp $
 src/dynamic-preprocessors/Makefile.in.orig Fri Sep  7 20:31:51 2007
-+++ src/dynamic-preprocessors/Makefile.in  Mon Nov 19 22:18:10 2007
-@@ -540,8 +540,7 @@ maintainer-clean-generic:
+--- src/dynamic-preprocessors/Makefile.in.orig Wed Nov 14 16:32:47 2007
 src/dynamic-preprocessors/Makefile.in  Fri Nov 30 12:09:32 2007
+@@ -543,8 +543,7 @@ maintainer-clean-generic:
@echo This command is intended for maintainers to use
@echo it deletes files that may require special tools to rebuild.
-test -z $(BUILT_SOURCES) || rm -f $(BUILT_SOURCES)
@@ -11,7 +11,7 @@
  clean: clean-recursive
  
  clean-am: clean-generic clean-libtool clean-local mostlyclean-am
-@@ -705,20 +704,6 @@ include/str_search.h: $(srcdir)/../preprocessors/str_s
+@@ -700,20 +699,6 @@ include/str_search.h: $(srcdir)/../preprocessors/str_s
  clean-local:
rm -rf include build
  
diff -ur 
../snort.patched/patches/patch-src_dynamic-preprocessors_dcerpc_Makefile_in 
./patches/patch-src_dynamic-preprocessors_dcerpc_Makefile_in
--- ../snort.patched/patches/patch-src_dynamic-preprocessors_dcerpc_Makefile_in 
Fri Nov 30 11:56:08 2007
+++ ./patches/patch-src_dynamic-preprocessors_dcerpc_Makefile_inFri Nov 
30 12:09:44 2007
@@ -1,7 +1,7 @@
 $OpenBSD$
 src/dynamic-preprocessors/dcerpc/Makefile.in.orig  Fri Sep  7 20:31:51 2007
-+++ src/dynamic-preprocessors/dcerpc/Makefile.in   Mon Nov 19 22:18:11 2007
-@@ -392,7 +392,7 @@ distdir: $(DISTFILES)
+--- src/dynamic-preprocessors/dcerpc/Makefile.in.orig  Wed Nov 14 16:32:47 2007
 src/dynamic-preprocessors/dcerpc/Makefile.in   Fri Nov 30 12:09:32 2007
+@@ -394,7 +394,7 @@ distdir: $(DISTFILES)
  check-am: all-am
  check: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) check-am
@@ -9,4 +9,4 @@
 

Courier-imap on 4.2 stable

2007-11-30 Thread Uwe Dippel

I permit myself to post this here, in case someone else has a need to know.

pkg_add -ui -F update -F updatedepends
failed me with the following:


Collision: the following files already exist
/usr/local/sbin/courierlogger (courier-imap-3.0.5p4)
/usr/sbin/pkg_add: fatal issues in  installing courier-authlib-0.58p3


Same result with pkg_add courier-authlib-0.58p3.
Only chance out:


# pkg_delete courier-imap
Warning: obsolete construct: @ignore   
/usr/sbin/pkg_delete: Can't read /usr/local/man/man1/courierlogger.1
courier-imap-3.0.5p4: complete 
# pkg_add courier-authlib-0.58p3
courier-authlib-0.58p3: 
complete 
--- courier-authlib-0.58p3 ---

Sample configuration files are installed in /etc/courier/.
# pkg_add courier-imap   
courier-imap-4.1.1p2: 
complete   
--- courier-imap-4.1.1p2 ---

You now need to edit appropriately the Courier-IMAP configuration files
installed in /etc/courier/courier/.


The latter alas is already wrong. There is no /etc/courier/courier/. It 
is simply /etc/courier.

(It is true, you need to set CN, though)


 When this
is done, you can use the 'mkimapdcert' script to automatically generate
a server certificate, which is installed into /etc/ssl/private/imapd.pem


this better reads /usr/local/sbin/mkimapdcert because the directory is 
not in the path.
It still fails, though, because /etc/ssl/private/imapd.pem exists. 
Delete it.


The following


To control the daemon use /usr/local/libexec/imapd.rc and
/usr/local/libexec/imapd-ssl.rc, and to run the authdaemon, place the
following in /etc/rc.local:

mkdir -p /var/run/courier{,-auth}/
/usr/local/sbin/authdaemond start
is not quite complete. /usr/local/libexec/imapd.rc also needs to be 
'start'ed,

and it could be helpful to point this out.
Here the whole lot looks like


# we need subdirectories for the PIDs
mkdir -p /var/run/courier{,-auth}
# we start the authentication daemon
if [ -x /usr/local/sbin/authdaemond ]; then
echo -n ' authdaemon';  /usr/local/sbin/authdaemond start
# no authentication - no SSL
if [ -x /usr/local/libexec/imapd-ssl.rc ]; then
echo -n ' imap-ssl';
/usr/local/libexec/imapd-ssl.rc start

fi
fi


If you do an upgrade on a production box, like here, this might be helpful
and saves you from some inconveniences, like when your imapd doesn't 
start. ;)


Uwe





Re: [NEW] ports for web.py 0.22

2007-11-30 Thread Will Maier
On Fri, Nov 30, 2007 at 09:37:20PM +0100, Eric Faurot wrote:
 On Sun, 25 Nov 2007 23:59:27 +0100
 Benoit Chesneau [EMAIL PROTECTED] wrote:
  web.py is a tiny and simple web framework for python. Works here
  on amd64. Any feedback ?
 
 I have fixed a couple of issues:
 - DESCR on 80 columns

pkg/DESCR should be 72 characters wide.

http://www.openbsd.org/checklist.html

-- 

o--{ Will Maier }--o
| web:...http://www.lfod.us/ | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*



Re: [NEW] ports for web.py 0.22

2007-11-30 Thread Eric Faurot
On Sun, 25 Nov 2007 23:59:27 +0100
Benoit Chesneau [EMAIL PROTECTED] wrote:

 web.py is a tiny and simple web framework for python. Works here on
 amd64. Any feedback ?

I have fixed a couple of issues:
- DESCR on 80 columns
- Makefile cleanups

Apparently web/wsgiserver/LICENSE.txt must be installed too (3-clause BSD
copyrighted by CherryPy Team). Can someone can confirm that?

ok?

Eric.


py-webpy.tgz
Description: Unix tar archive


Re: [UPDATE] net/snort 2.8.0

2007-11-30 Thread Claer
On Fri, Nov 30 2007 at 34:12, Nikns Siankin wrote:
 On Thu, Nov 29, 2007 at 12:21:13AM +0100, Markus Lude wrote:
 Hello,
 here is an update to snort 2.8.0. Please test/comment/commit/...
 
 Based on changes for 2.7.0.1 by Jason Dixon.
 Some added patches fix bus errors on sparc64 noticed by [EMAIL PROTECTED]
 
 If noone other wants, I would take maintainership (not included in
 diff).
 
 Regards,
 Markus
 
 
 Attached diff to apply after your diff.
 
 * Updated to 2.8.0.1
 * Fixes flexresp flavor: http://marc.info/?l=snort-usersm=119099490314507w=2
 * Fixes prelude WANTLIB
 * Replaces depricated --with-mysql

Compile fine this time with flexresp. I'll test with prelude in the next
few days.

Thanks !

Claer



Re: [UPDATE] net/snort 2.8.0

2007-11-30 Thread Rui Reis
works for me.

follow msf@ advice, resubmit a diff to 2.8.0.1 and please take
maintainership.

Regards,
rui


On Thu, Nov 29, 2007 at 12:21:13AM +0100, Markus Lude wrote:
 Hello,
 here is an update to snort 2.8.0. Please test/comment/commit/...
 
 Based on changes for 2.7.0.1 by Jason Dixon.
 Some added patches fix bus errors on sparc64 noticed by [EMAIL PROTECTED]
 
 If noone other wants, I would take maintainership (not included in
 diff).
 
 Regards,
 Markus
 

 Index: Makefile
 ===
 RCS file: /cvs/ports/net/snort/Makefile,v
 retrieving revision 1.51
 diff -u -p -r1.51 Makefile
 --- Makefile  15 Sep 2007 22:36:59 -  1.51
 +++ Makefile  21 Nov 2007 00:43:34 -
 @@ -2,14 +2,14 @@
  
  COMMENT= highly flexible sniffer/NIDS
  
 -DISTNAME=snort-2.6.0.2
 -PKGNAME= ${DISTNAME}p1
 +DISTNAME=snort-2.8.0
 +PKGNAME= ${DISTNAME}
  CATEGORIES=  net security
  MASTER_SITES=${HOMEPAGE}/dl/current/
  
  HOMEPAGE=   http://www.snort.org/
  
 -# GPL
 +# GPLv2
  PERMIT_PACKAGE_CDROM=Yes
  PERMIT_PACKAGE_FTP=  Yes
  PERMIT_DISTFILES_CDROM= Yes
 @@ -17,9 +17,11 @@ PERMIT_DISTFILES_FTP=  Yes
  WANTLIB= c m pcap 
  
  SHARED_LIBS= sf_engine 0.0 \
 + sf_dcerpc_preproc 0.0 \
   sf_dns_preproc 0.0 \
   sf_ftptelnet_preproc 0.0 \
 - sf_smtp_preproc 0.0
 + sf_smtp_preproc 0.0 \
 + sf_ssh_preproc 0.0
  
  USE_LIBTOOL= Yes
  
 @@ -62,10 +64,12 @@ 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
  
  post-build:
   @perl -pi -e s,%%SYSCONFDIR%%,${SYSCONFDIR}, \
 @@ -77,6 +81,11 @@ post-install:
   ${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 -p -r1.15 distinfo
 --- distinfo  5 Apr 2007 16:20:15 -   1.15
 +++ distinfo  21 Nov 2007 00:43:34 -
 @@ -1,5 +1,5 @@
 -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.tar.gz) = z7qxwuOc27iRISxL8V6C8w==
 +RMD160 (snort-2.8.0.tar.gz) = 2sNqSh/aYLZszcXHdKthqqD2yKg=
 +SHA1 (snort-2.8.0.tar.gz) = 8HuEoIcthhAGtWqManmmAwjdaLQ=
 +SHA256 (snort-2.8.0.tar.gz) = uaBzfTL2nEvnSySDJLQBc2Z7W8e09Yru9PInGi6oQtE=
 +SIZE (snort-2.8.0.tar.gz) = 4278872
 Index: patches/patch-etc_snort_conf
 ===
 RCS file: /cvs/ports/net/snort/patches/patch-etc_snort_conf,v
 retrieving revision 1.1
 diff -u -p -r1.1 patch-etc_snort_conf
 --- patches/patch-etc_snort_conf  10 Oct 2006 13:33:17 -  1.1
 +++ patches/patch-etc_snort_conf  21 Nov 2007 00:43:34 -
 @@ -1,22 +1,26 @@
  $OpenBSD: patch-etc_snort_conf,v 1.1 2006/10/10 13:33:17 aanriot Exp $
  etc/snort.conf.orig  Wed Sep 13 21:44:31 2006
 -+++ etc/snort.conf   Tue Oct 10 12:54:59 2006
 -@@ -82,6 +82,9 @@ var SNMP_SERVERS $HOME_NET
 - # Port lists must either be continuous [eg 80:8080], or a single port [eg 
 80].
 - # We will adding support for a real list of ports in the future.
 - 
 +--- etc/snort.conf.orig  Fri Sep  7 20:32:45 2007
  etc/snort.conf   Mon Nov 19 22:23:57 2007
 +@@ -78,7 +78,10 @@ var SNMP_SERVERS $HOME_NET
 + # like this:
 + #
 + # portvar HTTP_PORTS 8081
 +-#
 ++
  +# Ports you run ssh servers on
 -+var SSH_PORTS 22
 ++portvar SSH_PORTS 22
  +
   # Ports you run web servers on
 - #
 - # Please note:  [80,8080] does not work.
 -@@ -108,7 +111,7 @@ var AIM_SERVERS [64.12.24.0/23,64.12.28.
 + portvar HTTP_PORTS 80
 + 
 +@@ -107,8 +110,8 @@ var AIM_SERVERS [64.12.24.0/23,64.12.28.0/23,64.12.161
   # Path to your rules files (this can be a relative path)
   # Note for Windows users:  You are advised to make this an absolute path,
   # such as:  

Re: [UPDATE] net/snort 2.8.0

2007-11-30 Thread Claer
On Thu, Nov 29 2007 at 21:00, Markus Lude wrote:
 Hello,
 here is an update to snort 2.8.0. Please test/comment/commit/...

Does not compile on i386 with FLAVOR=flexresp on 4.2-stable

 Based on changes for 2.7.0.1 by Jason Dixon.
 Some added patches fix bus errors on sparc64 noticed by [EMAIL PROTECTED]
 
 If noone other wants, I would take maintainership (not included in
 diff).
 
 Regards,
 Markus
 

Here is the compile error

cc -DHAVE_CONFIG_H -I. -I../.. 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins
 -I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/sfutil  
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/output-plugins
 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins
 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/dynamic-plugins
 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/preprocessors
 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/preprocessors/flow
 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/preprocessors/portscan
  
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/preprocessors/flow/int-snort
  
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/preprocessors/HttpInspect/include
 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/preprocessors/Stream5
 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/target-based 
  -I/usr/local/include -DENABLE_RESPONSE2 -I/usr/local/include  -O2 -pipe -Wall 
-DDYNAMIC_PLUGIN -c 
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c
In file included from 
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/decode.h:49,
 from 
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:99:
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/ipv6_port.h:71:
 error: conflicting types for `ip_t'
/usr/local/include/dnet/ip.h:411: error: previous declaration of `ip_t'
In file included from 
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:99:
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/decode.h:948:1:
 warning: IP_PROTO_HOPOPTS redefined
In file included from /usr/local/include/dnet.h:15,
 from 
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:97:
/usr/local/include/dnet/ip.h:97:1: warning: this is the location of the 
previous definition
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:
 In function `Respond2Init':
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:260:
 warning: assignment from incompatible pointer type
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:
 In function `Respond2Restart':
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:299:
 warning: passing arg 1 of `ip_close' from incompatible pointer type
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:299:
 warning: assignment from incompatible pointer type
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:
 In function `SendReset':
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:682:
 warning: passing arg 1 of `ip_send' from incompatible pointer type
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:
 In function `SendUnreach':
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:806:
 warning: passing arg 1 of `ip_send' from incompatible pointer type
*** Error code 1

Stop in 
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/build-i386-flexresp/src/detection-plugins.
*** Error code 1


Claer



UPDATE: productivity/bruce

2007-11-30 Thread Will Maier
This quick patch updates productivity bruce to version 1.2.1
(changes on the main page[0]). This is a bugfix update, but I've
taken the opportunity to include the complete example in the port.
The provided example makes for a reasonable test of the port, too.

Tested on -current/i386. Patch below and available via HTTP:

http://www.lfod.us/files/ports/bruce-1.2.1.diff

Thanks!

diffstat:
3 files changed, 17 insertions(+), 7 deletions(-)
Makefile  |6 --
distinfo  |   10 +-
pkg/PLIST |8 

[0] http://cheeseshop.python.org/pypi/bruce

-- 

o--{ Will Maier }--o
| web:...http://www.lfod.us/ | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,8 @@
 
 COMMENT=   Python-based presentation tool
 
-DISTNAME=  bruce-1.2
-PKGNAME=   ${DISTNAME}p0
+DISTNAME=  bruce-1.2.1
+PKGNAME=   ${DISTNAME}
 
 CATEGORIES=productivity python
 
@@ -26,10 +26,12 @@ NO_REGRESS= Yes
 
 post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bruce
+   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bruce
${INSTALL_DATA} ${WRKSRC}/doc/socrates.txt \
${PREFIX}/share/doc/bruce/socrates.txt
@sed -e s|doc/socrates.txt|${LOCALBASE}/share/doc/socrates.txt| \
${WRKSRC}/README.txt  ${PREFIX}/share/doc/bruce/README 
@mv ${PREFIX}/bin/socrates.py ${PREFIX}/bin/socrates
+   @cd ${WRKSRC}/doc/examples; tar cf - * | tar xf - -C 
${PREFIX}/share/examples/bruce
 
 .include bsd.port.mk
diff --git a/distinfo b/distinfo
--- a/distinfo
+++ b/distinfo
@@ -1,5 +1,5 @@ MD5 (bruce-1.2.tar.gz) = 8LBErADs5inw/hs
-MD5 (bruce-1.2.tar.gz) = 8LBErADs5inw/hs1f33/Og==
-RMD160 (bruce-1.2.tar.gz) = uKhmy4kK1mnYloYSI0rjQhw1h5A=
-SHA1 (bruce-1.2.tar.gz) = ccenfBAQrBa/jzRsUm1Rq+D8xK0=
-SHA256 (bruce-1.2.tar.gz) = XKN/fnxBwzWxB77W7TgxPNsDyi0eBjcFzQamwHQKuOE=
-SIZE (bruce-1.2.tar.gz) = 16630
+MD5 (bruce-1.2.1.tar.gz) = EIdHy1AoVNabECSQ0fMKEw==
+RMD160 (bruce-1.2.1.tar.gz) = hrEAwONvctB33JCV6trEA1dRIuE=
+SHA1 (bruce-1.2.1.tar.gz) = Rr3Net6ESUgVQwie6qrE45EY+Fk=
+SHA256 (bruce-1.2.1.tar.gz) = lLWK+RMO6nNJHYUy46Vv/uvirDTW7ZJyF71l9zmUv/k=
+SIZE (bruce-1.2.1.tar.gz) = 139297
diff --git a/pkg/PLIST b/pkg/PLIST
--- a/pkg/PLIST
+++ b/pkg/PLIST
@@ -1,6 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.2 2007/01/02 21:40:52 robert Exp $
 bin/socrates
 lib/python${MODPY_VERSION}/site-packages/bruce/
+lib/python${MODPY_VERSION}/site-packages/bruce-1.2.1-py${MODPY_VERSION}.egg-info
 lib/python${MODPY_VERSION}/site-packages/bruce/__init__.py
 lib/python${MODPY_VERSION}/site-packages/bruce/__init__.pyc
 lib/python${MODPY_VERSION}/site-packages/bruce/baseinterp.py
@@ -36,3 +37,10 @@ share/doc/bruce/
 share/doc/bruce/
 share/doc/bruce/README
 share/doc/bruce/socrates.txt
+share/examples/bruce/
+share/examples/bruce/demo/
+share/examples/bruce/demo/example.soc
+share/examples/bruce/demo/images/
+share/examples/bruce/demo/images/gstpy-logo.png
+share/examples/bruce/example.py
+share/examples/bruce/sample.jpg



UPDATE: graphics/cairo

2007-11-30 Thread Eric Faurot
Hi,

This diff updates cairo to 1.4.12. ChangeLog at
http://www.cairographics.org/news/cairo-1.4.12/


Eric.


cairo.diff
Description: Binary data


Re: UPDATE: audio/mpg123

2007-11-30 Thread Jacob Meuser
On Thu, Nov 29, 2007 at 03:00:10PM +, Christian Weisgerber wrote:
 Giovanni Bechis [EMAIL PROTECTED] wrote:
 
  Mpg123 updated to latest version,
  files/* and patches/* are no more needed to build,
 
 I looked into updating mpg123 a while back but got bogged down
 because the port has substantial audio-related patches my Marc
 Espie, and the function of these patches was far from clear.  Silently
 dropping them may not be the best course.

looks like a good test if the patches are needed would be to try playing
an 8-bit mono 22050Hz mp3 on azalia(4) or snapper(4).

if the current port handles that gracefully, but the update doesn't, then
at least some of the patches are still needed.  if neither handle that,
well, I guess it doesn't tell us much.

sorry, won't have the ability to test this myself until next week.

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org