bsnmpd porting

2007-12-27 Thread Bojidara Marinchovska

Would you ever porting bsnmpd ( http://people.freebsd.org/~harti/bsnmp/ )
and it's modules ( bsnmp-regex , bsnmp-ping ) for OpenBSD stable or 
current release ( i386 arch ) ?


Bsnmpd with bsnmp-ping module is so wonderful pingator ... 
excellent-working, so light ... ! The only reason that _only one_ of my 
routers is with OpenBSD is because in OpenBSD there is no bsnmpd ... All 
manner of scripts as pingators is so awful  ... slowly, lazy, heavy, 
showing wrong data and so on ...


http://www.math.utah.edu/~beebe/unix/b/bsnmpd.html - Here is written 
that bsnmpd runs on OpenBSD 3.2 i386 arch ...


# uname -a
OpenBSD r1 4.2 GENERIC#8 i386

From OpenBSD 3.6 i386 to now i'm still trying to install bsnmpd on my 
box ...


Soon , i'll try to install bsnmpd on OpenBSD 3.2 i386 ...

Best regards




[bug] mercurial 0.9.5

2007-12-27 Thread Benoit Chesneau
little bug in current mercurial package. hgk extension use wish
(installed with tk) but wish8.4 is installed on openbsd. Here is a
little patch to fix it.

- benoît

-- 
http://friendpaste.com


mercurial.diff
Description: Binary data


UPDATE: net/poptop

2007-12-27 Thread Giovanni Bechis

Poptop updated to latest stable version, maintainership change
discussed some times ago 
(http://marc.info/?l=openbsd-portsm=116648382708437w=2)

Tested @i386
 Giovanni
Index: Makefile
===
RCS file: /cvs/ports/net/poptop/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile16 Dec 2004 00:31:24 -  1.5
+++ Makefile27 Dec 2007 14:57:07 -
@@ -1,14 +1,14 @@
 # $OpenBSD: Makefile,v 1.5 2004/12/16 00:31:24 alek Exp $
 
-COMMENT=   PPTP Server
+COMMENT=   PPTP Server
 
-PKGNAME=   poptop-1.1.4.b4p1
-DISTNAME=  pptpd-1.1.4-b4
+PKGNAME=   poptop-1.3.0
+DISTNAME=  pptpd-1.3.0
 CATEGORIES=net
 
 HOMEPAGE=  http://www.poptop.org/
 
-MAINTAINER=Craig Barraclough [EMAIL PROTECTED]
+MAINTAINER=Giovanni Bechis [EMAIL PROTECTED]
 
 # GPL
 PERMIT_PACKAGE_CDROM=  Yes
@@ -21,8 +21,10 @@ MASTER_SITES=${MASTER_SITE_SOURCEFORGE
 
 CONFIGURE_STYLE=   gnu
 CONFIGURE_ARGS+=   --with-bsdppp --with-pppd-ip-alloc
+USE_GMAKE=  yes
 
-WRKDIST=   ${WRKDIR}/poptop-1.1.4
+post-patch:
+   @perl -pi -e 's,/usr,${PREFIX},g' ${WRKSRC}/pptpctrl.c
 
 post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/poptop
Index: distinfo
===
RCS file: /cvs/ports/net/poptop/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo5 Jan 2005 17:14:57 -   1.3
+++ distinfo27 Dec 2007 14:57:07 -
@@ -1,4 +1,5 @@
-MD5 (pptpd-1.1.4-b4.tar.gz) = 58603224998f22542e8d7ecb357bc006
-RMD160 (pptpd-1.1.4-b4.tar.gz) = 4824a2cdb7bd5ba7d4891ba02126700d996731ca
-SHA1 (pptpd-1.1.4-b4.tar.gz) = 0d81d9cd9be498dd442a182c33deafbe694038cd
-SIZE (pptpd-1.1.4-b4.tar.gz) = 157684
+MD5 (pptpd-1.3.0.tar.gz) = ddSU6IH3An9OYLEUFj9rZw==
+RMD160 (pptpd-1.3.0.tar.gz) = AbuXa1ZYnX/SZGU8OUq+PIg+BVs=
+SHA1 (pptpd-1.3.0.tar.gz) = mqEjRq+mB2UfFuHdffA1bXF7Y68=
+SHA256 (pptpd-1.3.0.tar.gz) = T2/k6wjKemnINlirE7I6d6oVPsGiZjWW3cu/NXaLDO4=
+SIZE (pptpd-1.3.0.tar.gz) = 204099
Index: patches/patch-Makefile_in
===
RCS file: patches/patch-Makefile_in
diff -N patches/patch-Makefile_in
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-Makefile_in   27 Dec 2007 14:57:07 -
@@ -0,0 +1,23 @@
+$OpenBSD$
+--- Makefile.in.orig   Wed Aug  3 09:47:42 2005
 Makefile.inSun Mar 18 12:19:38 2007
+@@ -37,7 +37,7 @@ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ EXTRA_PROGRAMS =
+-sbin_PROGRAMS = pptpd$(EXEEXT) pptpctrl$(EXEEXT) bcrelay$(EXEEXT)
++sbin_PROGRAMS = pptpd$(EXEEXT) pptpctrl$(EXEEXT)
+ subdir = .
+ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
+   $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+@@ -77,8 +77,8 @@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUD
+   $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+ LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(bcrelay_SOURCES) $(pptpctrl_SOURCES) $(pptpd_SOURCES)
+-DIST_SOURCES = $(bcrelay_SOURCES) $(pptpctrl_SOURCES) $(pptpd_SOURCES)
++SOURCES = $(pptpctrl_SOURCES) $(pptpd_SOURCES)
++DIST_SOURCES = $(pptpctrl_SOURCES) $(pptpd_SOURCES)
+ man5dir = $(mandir)/man5
+ man8dir = $(mandir)/man8
+ NROFF = nroff
Index: patches/patch-pptpctrl_c
===
RCS file: patches/patch-pptpctrl_c
diff -N patches/patch-pptpctrl_c
--- patches/patch-pptpctrl_c17 Apr 2003 08:59:26 -  1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
-$OpenBSD: patch-pptpctrl_c,v 1.1.1.1 2003/04/17 08:59:26 wilfried Exp $
 pptpctrl.c.origFri Apr 11 10:51:32 2003
-+++ pptpctrl.c Fri Apr 11 10:51:53 2003
-@@ -26,7 +26,6 @@
- #include time.h
- #include sys/time.h
- #include dirent.h
--#include net/if.h
- #include sys/types.h
- #include sys/socket.h
- #include netinet/in.h
Index: pkg/PFRAG.shared
===
RCS file: pkg/PFRAG.shared
diff -N pkg/PFRAG.shared
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/PFRAG.shared27 Dec 2007 14:57:07 -
@@ -0,0 +1,2 @@
[EMAIL PROTECTED] $OpenBSD$
+lib/pptpd/pptpd-logwtmp.so
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/poptop/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- pkg/PLIST   11 Nov 2004 18:15:53 -  1.6
+++ pkg/PLIST   27 Dec 2007 14:57:07 -
@@ -1,4 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.6 2004/11/11 18:15:53 naddy Exp $
+%%SHARED%%
+lib/pptpd/
 @man man/man5/pptpd.conf.5
 @man man/man8/pptpctrl.8
 @man man/man8/pptpd.8
@@ -9,5 +11,4 @@ share/doc/poptop/README.OpenBSD
 share/examples/poptop/
 share/examples/poptop/pptpd.conf-sample
 @sample ${SYSCONFDIR}/pptpd.conf
[EMAIL 

Re: [bug] mercurial 0.9.5

2007-12-27 Thread Will Maier
On Thu, Dec 27, 2007 at 04:55:17PM +0100, Benoit Chesneau wrote:
 little bug in current mercurial package. hgk extension use wish
 (installed with tk) but wish8.4 is installed on openbsd. Here is a
 little patch to fix it.

I like the intent of this patch, but I've considered and decided
against similar things in the past. A patch like this would provide
only a little benefit (since users already have to install tk and
move ${PREFIX}/share/mercurial/hgk into their $PATH anyway) while
increasing the likelihood of bitrot in devel/mercurial.

As things stand, the port installs several files under ${PREFIX}/share 
that may require some fiddling before they'll work. I think this is
a reasonable compromise between providing extra functionality (like
zsh_completion or mercurial.el) without making the mercurial package
a PITA to install.

That said, I'm still open to other opinions on this, though.

-- 

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



Re: bsnmpd porting

2007-12-27 Thread viq
On Sun, Dec 23, 2007 at 06:19:50AM +0200, Bojidara Marinchovska wrote:
 Would you ever porting bsnmpd ( http://people.freebsd.org/~harti/bsnmp/ )
 and it's modules ( bsnmp-regex , bsnmp-ping ) for OpenBSD stable or current 
 release ( i386 arch ) ?

 Bsnmpd with bsnmp-ping module is so wonderful pingator ... 
 excellent-working, so light ... ! The only reason that _only one_ of my 
 routers is with OpenBSD is because in OpenBSD there is no bsnmpd ... All 
 manner of scripts as pingators is so awful  ... slowly, lazy, heavy, 
 showing wrong data and so on ...

 http://www.math.utah.edu/~beebe/unix/b/bsnmpd.html - Here is written that 
 bsnmpd runs on OpenBSD 3.2 i386 arch ...

That page specifically lists systems that bsnmpd is NOT available for.

 # uname -a
 OpenBSD r1 4.2 GENERIC#8 i386

 From OpenBSD 3.6 i386 to now i'm still trying to install bsnmpd on my box 
 ...

 Soon , i'll try to install bsnmpd on OpenBSD 3.2 i386 ...

 Best regards

Also it's probably not the best time to be asking for something like
that, seeing our own implementation of snmpd was imported into the
tree... But then again if you would provide a port for it, someone could
like it enough.
-- 
viq



Re: [bug] mercurial 0.9.5

2007-12-27 Thread Benoit Chesneau
On Dec 27, 2007 5:19 PM, Will Maier [EMAIL PROTECTED] wrote:
 On Thu, Dec 27, 2007 at 04:55:17PM +0100, Benoit Chesneau wrote:
  little bug in current mercurial package. hgk extension use wish
  (installed with tk) but wish8.4 is installed on openbsd. Here is a
  little patch to fix it.

 I like the intent of this patch, but I've considered and decided
 against similar things in the past. A patch like this would provide
 only a little benefit (since users already have to install tk and
 move ${PREFIX}/share/mercurial/hgk into their $PATH anyway) while
 increasing the likelihood of bitrot in devel/mercurial.

 As things stand, the port installs several files under ${PREFIX}/share
 that may require some fiddling before they'll work. I think this is
 a reasonable compromise between providing extra functionality (like
 zsh_completion or mercurial.el) without making the mercurial package
 a PITA to install.

 That said, I'm still open to other opinions on this, though.


Well you don't need to move any file to use hgk. Customizing ~/.hgrc like this :

--
[extensions]
hgk=/usr/local/lib/python2.5/site-packages/hgext/hgk.py

[hgk]
path=/usr/local/share/mercurial/hgk


is enough. But think you're right, this is really little benefit. I
hesitated before
sending the patch.

- benoît



Re: [NEW] python-openid-2.0.1

2007-12-27 Thread Benoit Chesneau
On Dec 17, 2007 9:17 PM, Will Maier [EMAIL PROTECTED] wrote:
 I've tweaked the port a bit and made it available here:

 http://www.lfod.us/files/ports/py-openid.tgz

 In addition to tabbing fixes, I rewrote pkg/DESCR to be less verbose
 and added www/twill to REGRESS_DEPENDS. Without twill (which doesn't
 exist in the tree, yet), the regress test seems pretty incomplete.

 My next mail will include a twill port...


quick update for version 2.1.1. Did you have any news from twill maintener ?

- benoit


py-openid.tgz
Description: GNU Zip compressed data


Re: [NEW] python-openid-2.0.1

2007-12-27 Thread Will Maier
On Thu, Dec 27, 2007 at 10:24:14PM +0100, Benoit Chesneau wrote:
 quick update for version 2.1.1. Did you have any news from twill
 maintener ?

Yes; the copyright headers on the .py files are wrong -- MIT is the
intended license. Titus plans to release a new version without the
confusing license info soon. When that comes out (soon?), I'll
update my twill port.

-- 

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