Re: [update] mail/opensmtpd-filters/senderscore

2024-02-19 Thread Gilles Chehade
On Mon, Feb 19, 2024 at 09:41:02AM +0100, Landry Breuil wrote:
> Le Mon, Feb 19, 2024 at 09:25:32AM +0100, Gilles Chehade a ?crit :
> > Hello,
> > 
> > Following is a diff to update filter-senderscore from 0.1.1 to 0.1.2,
> > adding support for IP address whitelisting.
> > 
> > I'm not too comfortable with ports, let me know if I messed up.
> 
> you should drop the REVISION line when updating the version :)

oopsie.

Index: Makefile
===
RCS file: /cvs/ports/mail/opensmtpd-filters/senderscore/Makefile,v
diff -u -p -r1.5 Makefile
--- Makefile26 Sep 2023 12:28:14 -  1.5
+++ Makefile19 Feb 2024 09:40:22 -
@@ -1,9 +1,8 @@
 COMMENT =  SenderScore integration to the OpenSMTPD daemon
 
-V =0.1.1
+V =0.1.2
 FILTER_NAME =  senderscore
 DISTNAME = filter-senderscore-${V}
-REVISION = 0
 
 CATEGORIES =   mail
 HOMEPAGE = https://github.com/poolpOrg/filter-senderscore/
Index: distinfo
===
RCS file: /cvs/ports/mail/opensmtpd-filters/senderscore/distinfo,v
diff -u -p -r1.2 distinfo
--- distinfo9 Dec 2019 20:24:02 -   1.2
+++ distinfo19 Feb 2024 09:40:22 -
@@ -1,2 +1,2 @@
-SHA256 (filter-senderscore-0.1.1.tar.gz) = 
oeGzEG6mkhhADjXJwR6EcClhuYpHi5n7MppSyVTsS4Y=
-SIZE (filter-senderscore-0.1.1.tar.gz) = 3481
+SHA256 (filter-senderscore-0.1.2.tar.gz) = 
rQhmHEyXCjZ7zslVNTPQ8SMyTo5MJHUO5FhkUDMfLh0=
+SIZE (filter-senderscore-0.1.2.tar.gz) = 7416


-- 
Gilles Chehade



[update] mail/opensmtpd-filters/senderscore

2024-02-19 Thread Gilles Chehade
Hello,

Following is a diff to update filter-senderscore from 0.1.1 to 0.1.2,
adding support for IP address whitelisting.

I'm not too comfortable with ports, let me know if I messed up.


Index: Makefile
===
RCS file: /cvs/ports/mail/opensmtpd-filters/senderscore/Makefile,v
diff -u -p -r1.5 Makefile
--- Makefile26 Sep 2023 12:28:14 -  1.5
+++ Makefile19 Feb 2024 08:16:15 -
@@ -1,6 +1,6 @@
 COMMENT =  SenderScore integration to the OpenSMTPD daemon
 
-V =0.1.1
+V =0.1.2
 FILTER_NAME =  senderscore
 DISTNAME = filter-senderscore-${V}
 REVISION = 0
Index: distinfo
===
RCS file: /cvs/ports/mail/opensmtpd-filters/senderscore/distinfo,v
diff -u -p -r1.2 distinfo
--- distinfo9 Dec 2019 20:24:02 -   1.2
+++ distinfo19 Feb 2024 08:16:15 -
@@ -1,2 +1,2 @@
-SHA256 (filter-senderscore-0.1.1.tar.gz) = 
oeGzEG6mkhhADjXJwR6EcClhuYpHi5n7MppSyVTsS4Y=
-SIZE (filter-senderscore-0.1.1.tar.gz) = 3481
+SHA256 (filter-senderscore-0.1.2.tar.gz) = 
rQhmHEyXCjZ7zslVNTPQ8SMyTo5MJHUO5FhkUDMfLh0=
+SIZE (filter-senderscore-0.1.2.tar.gz) = 7416

-- 
Gilles Chehade



[update] filter-rspamd

2019-12-09 Thread Gilles Chehade
hello,

this updates filter-senderscore to anticipate a protocol change


Index: Makefile
===
RCS file: /cvs/ports/mail/opensmtpd-filters/senderscore/Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile
--- Makefile4 Sep 2019 12:27:42 -   1.1
+++ Makefile9 Dec 2019 16:55:24 -
@@ -2,7 +2,7 @@
 
 COMMENT =  SenderScore integration to the OpenSMTPD daemon
 
-V =0.1.0
+V =0.1.1
 FILTER_NAME =  senderscore
 DISTNAME = filter-senderscore-${V}
 
Index: distinfo
===
RCS file: /cvs/ports/mail/opensmtpd-filters/senderscore/distinfo,v
retrieving revision 1.1
diff -u -p -r1.1 distinfo
--- distinfo4 Sep 2019 12:27:42 -   1.1
+++ distinfo9 Dec 2019 16:55:24 -
@@ -1,2 +1,2 @@
-SHA256 (filter-senderscore-0.1.0.tar.gz) = 
VeOnrlQRD7qXQf2e8mBQ1j8DJxWJa2ZTvA8zhAFvijs=
-SIZE (filter-senderscore-0.1.0.tar.gz) = 3019
+SHA256 (filter-senderscore-0.1.1.tar.gz) = 
oeGzEG6mkhhADjXJwR6EcClhuYpHi5n7MppSyVTsS4Y=
+SIZE (filter-senderscore-0.1.1.tar.gz) = 3481



[update] opensmtpd-filter-rspamd 0.1.5

2019-12-09 Thread Gilles Chehade
hello,

this updates filter-rspamd to version 0.1.5 which brings support
for multiple DKIM-Signature and anticipates an upcoming protocol
change.

ok ?

Index: Makefile
===
RCS file: /cvs/ports/mail/opensmtpd-filters/rspamd/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile23 Oct 2019 08:50:05 -  1.4
+++ Makefile9 Dec 2019 16:52:28 -
@@ -2,7 +2,7 @@
 
 COMMENT =  rspamd integration to the OpenSMTPD daemon
 
-V =0.1.4
+V =0.1.5
 FILTER_NAME =  rspamd
 DISTNAME = filter-rspamd-${V}
 
Index: distinfo
===
RCS file: /cvs/ports/mail/opensmtpd-filters/rspamd/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo23 Oct 2019 08:50:05 -  1.4
+++ distinfo9 Dec 2019 16:52:28 -
@@ -1,2 +1,2 @@
-SHA256 (filter-rspamd-0.1.4.tar.gz) = 
F96BD539f0gS4dV2uD8VfCF37Oz0d4l/SW3S2Zq7gyw=
-SIZE (filter-rspamd-0.1.4.tar.gz) = 4299
+SHA256 (filter-rspamd-0.1.5.tar.gz) = 
RFhwbhDNPrRxbsAim/45BlTpQmHax/JlC+1GhXCAayY=
+SIZE (filter-rspamd-0.1.5.tar.gz) = 4829



Re: [NEW] mail/opensmtpd-filter-dkim

2019-08-24 Thread Gilles Chehade
On Sat, Aug 24, 2019 at 06:37:21AM +0200, Martijn van Duren wrote:
> $ cat pkg/DESCR 
> filter-dkim is an opensmtpd filter that signs email with a dkim signature.
> $
> 
> Since I'm not too familiar with ports I would like to pay special
> attention to the Makefile of both the port as well as the source.
> 
> Also, I currently host the release tarballs at my personal server, which
> I also use for generic other stuff and might not always be available.
> If someone from the ports team has a more stable location to host the
> release tarballs let me know.
> 
> Furthermore smtpd.conf allows for filters to be run as another user
> (currently undocumented). I know we're tight for uids, but can we
> reserve one for this port, so we can protect the dkim signing key from
> the smtpd users? Or could it be possible to share a uid with another
> port with similar purpose? E.g. dkimproxy?
> 

Might be worth thinking about reserving one for smtpd filters as a whole
so we don't request a user for each filter ?

Or maybe we could consider one in base and assume all filters to use the
user as a default ?


-- 
Gilles Chehade @poolpOrg

https://www.poolp.orgpatreon: https://www.patreon.com/gilles



Re: Move opensmptd filters to libexec/smtpd

2019-08-24 Thread Gilles Chehade
==
> RCS file: /cvs/ports/mail/opensmtpd-filter-senderscore/pkg/README,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 README
> --- opensmtpd-filter-senderscore/pkg/README   19 Aug 2019 21:21:17 -  
> 1.1.1.1
> +++ opensmtpd-filter-senderscore/pkg/README   24 Aug 2019 04:49:48 -
> @@ -9,7 +9,7 @@ To use filter-senderscore, you must decl
>  Edit the /etc/mail/smtpd.conf file to declare the filter:
>  
>filter "senderscore" \
> -  proc-exec "${PREFIX}/bin/filter-senderscore [...]"
> +  proc-exec "${PREFIX}/libexec/smtpd/filter-senderscore [...]"
>  
>  The following options may be passed to filter-senderscore:
>  
> 

-- 
Gilles Chehade @poolpOrg

https://www.poolp.orgpatreon: https://www.patreon.com/gilles



Re: New: mail/opensmtpd-filter-senderscore

2019-08-18 Thread Gilles Chehade
On Sun, Aug 18, 2019 at 04:43:11PM +0200, gil...@poolp.org wrote:
> Dear ports,
> 
> I would like to import the following opensmtpd filter:
> 
> $ cat pkg/DESCR
> filter-senderscore is an opensmtpd filter that performs a DNS
> lookup in the SenderScore registry to determine reputation of
> an IP address and allow reputation-based blocking, junking or
> delaying of sessions.
> $
> 

and with the attachement, it's even better.


-- 
Gilles Chehade @poolpOrg

https://www.poolp.orgpatreon: https://www.patreon.com/gilles


opensmtpd-filter-senderscore.tar.gz
Description: application/tar-gz


Re: webmail

2018-01-23 Thread Gilles Chehade
On Tue, Jan 23, 2018 at 11:29:25AM +0100, Sol??ne Rapenne wrote:
> Le 2018-01-22 17:33, Jan Stary a ??crit??:
> > What do people use as a light-weight webmail above smtpd?
> > Does smptd need to store in Maildirs as opposed to mbox?
> > 
> > Thanks,
> > 
> > Jan
> 
> Hello,
> 
> You can try https://www.mailpile.is/ it's a webmail
> intended to be used by only one person, it gather mails
> from different places and doesn't synchronize. It aims
> security by encrypting every mail on the disk and manage
> easily PGP keys and signed mails, but I'm not able to say
> if the security is done well.
> 
> I made a port I never commited if you want to try, it works
> well on OpenBSD. It can also be easily installed using
> virtual-env as it's a python software.
> 

I never managed to get mailpile working :-/

I'd be happy if you committed your port !


-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: webmail

2018-01-22 Thread Gilles Chehade
On Mon, Jan 22, 2018 at 05:33:30PM +0100, Jan Stary wrote:
> What do people use as a light-weight webmail above smtpd?
>

custom webmail, not quite ready to be used by others.


> Does smptd need to store in Maildirs as opposed to mbox?
> 

nope, it can store in Maildir or mbox, what I do is have it
stored in Maildir because we're long past the 1990's and it
is served by Dovecot, the webmail talks imap.

-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: update mail/opensmtpd-extras to 201511230108

2015-11-26 Thread Gilles Chehade
On Thu, Nov 26, 2015 at 12:51:41PM +0100, Joerg Jung wrote:
> On Thu, Nov 26, 2015 at 12:13:44PM +0100, Landry Breuil wrote:
> > On Thu, Nov 26, 2015 at 12:01:02PM +0100, Joerg Jung wrote:
> > > On Wed, Nov 25, 2015 at 02:23:47PM +0100, Joerg Jung wrote:
> > > > 
> > > > please find below an update for opensmtpd-extras to the most recent
> > > > snapshot.  This also now installs table-ldap, table-passwd, and
> > > > table-sqlite which are likely going to be removed from base soon.
> > > 
> > > Please find below a tweaked diff after some input from Giovanni.
> > 
> > Sorry, but this doesnt make sense.
> > 
> > You have a MULTI_PACKAGES port without FLAVORs, why do you go through
> > the headache of .if ${BUILD_PACKAGES} sections ? To avoid kicking off
> > the port on some useless arch nobody will ever run smtpd-extras on ?
> > You dont have FLAVORs nor PSEUDO_FLAVORS, just merge all
> > CONFIGURE_ARGS/MODULES...
> 
> Thanks for your feedback!  I merged them as suggested, updated diff below.
>  
> > PREFIX=/usr still looks wrong but i understand that you'll have to reach
> > opensmtpd upstream to make them look into /usr/local :)
> 
> Yes.  Last time Gilles did not liked this and I understand why.  This
> might need to be re-discussed at some point (when other more important
> todos are done in smtpd). But for now it should not be show-stopper, as
> just kept/handled in the same way as before.
> 

I must have misunderstood, what I don't like is that we introduce a knob
to the config file to specify where we should look them up.

we have a libexec path which is used for stuff like mail.local and if we
keep the convention that filters / queues / schedulers  are installed in
libexec and follow a certain naming convention then we don't need a knob
at all.

now, i'm not opposed to looking in libexec in /usr/local then /usr, this
would still not require a knob.

-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: update mail/opensmtpd-extras to 201511230108

2015-11-26 Thread Gilles Chehade
On Thu, Nov 26, 2015 at 12:13:44PM +0100, Landry Breuil wrote:
> On Thu, Nov 26, 2015 at 12:01:02PM +0100, Joerg Jung wrote:
> > On Wed, Nov 25, 2015 at 02:23:47PM +0100, Joerg Jung wrote:
> > > 
> > > please find below an update for opensmtpd-extras to the most recent
> > > snapshot.  This also now installs table-ldap, table-passwd, and
> > > table-sqlite which are likely going to be removed from base soon.
> > 
> > Please find below a tweaked diff after some input from Giovanni.
> 
> Sorry, but this doesnt make sense.
> 
> You have a MULTI_PACKAGES port without FLAVORs, why do you go through
> the headache of .if ${BUILD_PACKAGES} sections ? To avoid kicking off
> the port on some useless arch nobody will ever run smtpd-extras on ?
> You dont have FLAVORs nor PSEUDO_FLAVORS, just merge all
> CONFIGURE_ARGS/MODULES...
> 
> PREFIX=/usr still looks wrong but i understand that you'll have to reach
> opensmtpd upstream to make them look into /usr/local :)
> 

We could definitely have smtpd look in /usr/local then fallback to /usr,
this would seem like the correct thing to do actually

-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: NEW: adb

2015-05-05 Thread Gilles Chehade
On Tue, May 05, 2015 at 08:26:23AM -0400, i80and wrote:
> No, I can't say I've experienced FD explosion. Does it happen
> consistently, or just when you receive/send a phone call?
> 

sorry, I confused you.

this had nothing to do with the phone call, I just meant to say I left
adb running while I was away for a few minutes and when I came back it
had consumed thousands of descriptors ;-)




> New port version attached; rebuilds the patches per Stuart's advice,
> and prunes them down to 238 lines total.
> 
> On Tue, May 5, 2015 at 5:21 AM, Gilles Chehade  wrote:
> > On Mon, May 04, 2015 at 09:49:51PM -0400, i80and wrote:
> >> Android Debug Bridge (adb) is a command line tool for communicating with 
> >> Android
> >> emulators and devices.
> >>
> >> I just started using OpenBSD less than a week ago, and this was to
> >> scratch my own itch. I've never done a port before, so any advice or
> >> comments would be greatly appreciated!
> >>
> >> I can about half the size of the patch if I revert all the
> >> strcpy/strcat/sprintf replacements. Tested on AMD64:
> >> reboot/shell/forward all work, and it's usable for FirefoxOS
> >> development.
> >>
> >
> > OpenBSD-current, amd64, snapshot from yesterday.
> >
> > I ran adb `start-server` then got a phone call, so I didn't have time to
> > do anything with it, upon return a few minutes later my user was running
> > out of file descriptors.
> >
> > fstat shows that adb has opened thousands and thousands of pipes.
> >
> > You dont experience that ?
> >
> > --
> > Gilles Chehade
> >
> > https://www.poolp.org  @poolpOrg
> 
> 
> 
> -- 
> Andrew Aldridge
> Phone: 612-321-8369



-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: NEW: adb

2015-05-05 Thread Gilles Chehade
On Mon, May 04, 2015 at 09:49:51PM -0400, i80and wrote:
> Android Debug Bridge (adb) is a command line tool for communicating with 
> Android
> emulators and devices.
> 
> I just started using OpenBSD less than a week ago, and this was to
> scratch my own itch. I've never done a port before, so any advice or
> comments would be greatly appreciated!
> 
> I can about half the size of the patch if I revert all the
> strcpy/strcat/sprintf replacements. Tested on AMD64:
> reboot/shell/forward all work, and it's usable for FirefoxOS
> development.
> 

OpenBSD-current, amd64, snapshot from yesterday.

I ran adb `start-server` then got a phone call, so I didn't have time to
do anything with it, upon return a few minutes later my user was running
out of file descriptors.

fstat shows that adb has opened thousands and thousands of pipes.

You dont experience that ?

-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: NEW: adb

2015-05-05 Thread Gilles Chehade
On Tue, May 05, 2015 at 08:57:59AM +0200, Landry Breuil wrote:
> On Mon, May 04, 2015 at 09:49:51PM -0400, i80and wrote:
> > Android Debug Bridge (adb) is a command line tool for communicating with 
> > Android
> > emulators and devices.
> > 
> > I just started using OpenBSD less than a week ago, and this was to
> > scratch my own itch. I've never done a port before, so any advice or
> > comments would be greatly appreciated!
> > 
> > I can about half the size of the patch if I revert all the
> > strcpy/strcat/sprintf replacements. Tested on AMD64:
> > reboot/shell/forward all work, and it's usable for FirefoxOS
> > development.
> > 
> 
> I would very much welcome a port of this in the tree, i've been using 
> https://github.com/jcs/adb sparingly in the past, you might want to look
> into it. Oh, and also rebooting the phone panics my netbook with a use
> after free in the ugen driver but mpi@ has a pending patch for it.
> 

me too, count on me to test your port

-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: Problem with chromium-40.0.2214.91p0

2015-02-16 Thread Gilles Chehade
On Mon, Feb 16, 2015 at 06:16:15PM +0100, Giovanni Bechis wrote:
> On 02/16/15 18:04, Gilles Chehade wrote:
> > On Mon, Feb 16, 2015 at 05:17:27PM +0100, Mattieu Baptiste wrote:
> >> On Sat, Feb 14, 2015 at 7:06 PM, Marc Espie  wrote:
> >>>
> >>> Probably not kernel... kernel from january first goes to the same black 
> >>> window.
> >>>
> >>
> >> Hi,
> >>
> >> I'm seeing the "black window" issue since the Mesa update. Everything
> >> was OK before.
> >>
> > 
> > Experienced the same after upgrading to latest snapshot.
> > Issue goes way when I start chrome with --disable-gpu
> > 
> > 
> Works with vga1 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09, 
> is this related to radeon(4) ?
> 

I don't know if radeon(4) is causing it, however I do have a radeon(4)
on the machine where I experience this.

I'm running a two days old snapshot on my laptop with an intel(4), and
I did not hit this.


-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: Problem with chromium-40.0.2214.91p0

2015-02-16 Thread Gilles Chehade
On Mon, Feb 16, 2015 at 05:17:27PM +0100, Mattieu Baptiste wrote:
> On Sat, Feb 14, 2015 at 7:06 PM, Marc Espie  wrote:
> >
> > Probably not kernel... kernel from january first goes to the same black 
> > window.
> >
> 
> Hi,
> 
> I'm seeing the "black window" issue since the Mesa update. Everything
> was OK before.
> 

Experienced the same after upgrading to latest snapshot.
Issue goes way when I start chrome with --disable-gpu


-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: smtpd mysql/postgres support

2014-08-11 Thread Gilles Chehade
On Fri, Aug 08, 2014 at 04:53:38PM +0200, Giovanni Bechis wrote:
> On 07/28/14 22:19, Gilles Chehade wrote:
> > On Sat, Jul 26, 2014 at 05:46:18PM +0200, Giovanni Bechis wrote:
> >> Hi,
> >> I started to play with smtpd but to let it work on my environment I need 
> >> mysql_table
> >> support (or some ugly hacks); atm I have some local patches taken from 
> >> portable,
> >> what would be the right way to go ?
> >> I tried portable as well but on OpenBSD it does not build out-of-the-box.
> >>
> > 
> > Hi,
> > 
> > Eric and I have already implemented table_mysql and table_postgres.
> > 
> > We don't ship it with OpenBSD because we think it's preferable that they
> > are packaged and distributed as ports, we just didn't have the time to
> > work on that yet.
> > 
> > You can grab a copy at:
> > 
> > https://github.com/OpenSMTPD/OpenSMTPD-extras/tree/master/extras
> > 
> > feel free to package yourself :-)
> > 
> I have a wip-port but it does not work because I have installed table-* files 
> under ${PREFIX}/libexec/smtpd (ports should not write under /usr/sbin) but 
> smtpd exec table-* stuff only under /usr/sbin/smtpd [?].
> 
> [?] /usr/src/usr.sbin/smtpd/smtpd.h:59:#define  PATH_LIBEXEC
> "/usr/libexec/smtpd"
> 
> Should smtpd(8) try to find table-* files also on other paths ?
>  Thanks & Cheers
>

Nope, we decided a while ago that:

1- backend would be isolated to a single libexec directory
2- backend would follow a naming convention: table-*, filter-*, queue-*,
   scheduler-*

   similarly to login_ scripts, this makes them easier to handle for us
   and both code and configuration are simplified as a result:

   pkg_add table-foobar

   and voila, you can use:

   table barbaz foobar:/etc/mail/foobar.txt

   this is only possible because we know where things are by convention


-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: smtpd mysql/postgres support

2014-07-28 Thread Gilles Chehade
On Sat, Jul 26, 2014 at 05:46:18PM +0200, Giovanni Bechis wrote:
> Hi,
> I started to play with smtpd but to let it work on my environment I need 
> mysql_table
> support (or some ugly hacks); atm I have some local patches taken from 
> portable,
> what would be the right way to go ?
> I tried portable as well but on OpenBSD it does not build out-of-the-box.
>

Hi,

Eric and I have already implemented table_mysql and table_postgres.

We don't ship it with OpenBSD because we think it's preferable that they
are packaged and distributed as ports, we just didn't have the time to
work on that yet.

You can grab a copy at:

https://github.com/OpenSMTPD/OpenSMTPD-extras/tree/master/extras

feel free to package yourself :-)

-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: dkimproxy

2013-07-10 Thread Gilles Chehade
thanks <3

the tarball i was given yesterday works fine on a clean system


On Wed, Jul 10, 2013 at 09:23:49PM +0100, Stuart Henderson wrote:
> On 2013/07/10 19:00, Roman Kravchuk wrote:
> > My patches is necessary to install libraries in
> > /usr/local/libdata/perl5/site_perl.
> 
> OK - that's a good point.
> 
> > You port without patches work fine on my system, but perl libraries
> > installed in /usr/local/lib, this is ok?
> > 
> > I'm add rc scripts for you port, diff is attached.
> 
> ah, william@ already sent some - I thought they were to the list, but
> they were in private mail. similar to yours, but no pid file (we don't use
> them for rc scripts) and --daemonize is in $daemon - however it also needs
> rc_reload=NO which you have and I missed before.
> 
> I've really not got time to look further at the moment though...I mostly
> wanted to send the port out to avoid duplicated work..
> 
> 
> diff -uNr dkimproxy/pkg/PLIST dkimproxy-rc/pkg/PLIST
> --- dkimproxy/pkg/PLIST   Tue Jul  9 07:23:24 2013
> +++ dkimproxy-rc/pkg/PLISTTue Jul  9 07:45:02 2013
> @@ -1,4 +1,6 @@
>  @comment $OpenBSD$
> +@newgroup _dkimproxy:720
> +@newuser _dkimproxy:720:720:daemon:dkimproxy user:/nonexistent:/sbin/nologin
>  bin/dkim_responder.pl
>  bin/dkimproxy.in
>  bin/dkimproxy.out
> @@ -27,3 +29,5 @@
>  @sample ${SYSCONFDIR}/dkimproxy_in.conf
>  share/examples/dkimproxy/dkimproxy_out.conf.example
>  @sample ${SYSCONFDIR}/dkimproxy_out.conf
> +@rcscript ${RCDIR}/dkimproxy_in
> +@rcscript ${RCDIR}/dkimproxy_out
> diff -uNr dkimproxy/pkg/dkimproxy_in.rc dkimproxy-rc/pkg/dkimproxy_in.rc
> --- dkimproxy/pkg/dkimproxy_in.rc Wed Dec 31 19:00:00 1969
> +++ dkimproxy-rc/pkg/dkimproxy_in.rc  Tue Jul  9 08:22:00 2013
> @@ -0,0 +1,12 @@
> +#!/bin/sh
> +#
> +# $OpenBSD$
> +
> +daemon="/usr/local/bin/dkimproxy.in --daemonize"
> +daemon_flags="--conf_file=${SYSCONFDIR}/dkimproxy_in.conf --user=_dkimproxy 
> --group=_dkimproxy"
> +
> +. /etc/rc.d/rc.subr
> +
> +pexp="/usr/bin/perl.*$daemon $daemon_flags"
> +
> +rc_cmd $1
> diff -uNr dkimproxy/pkg/dkimproxy_out.rc dkimproxy-rc/pkg/dkimproxy_out.rc
> --- dkimproxy/pkg/dkimproxy_out.rcWed Dec 31 19:00:00 1969
> +++ dkimproxy-rc/pkg/dkimproxy_out.rc Tue Jul  9 08:22:09 2013
> @@ -0,0 +1,12 @@
> +#!/bin/sh
> +#
> +# $OpenBSD$
> +
> +daemon="/usr/local/bin/dkimproxy.out --daemonize"
> +daemon_flags="--conf_file=${SYSCONFDIR}/dkimproxy_out.conf --user=_dkimproxy 
> --group=_dkimproxy"
> +
> +. /etc/rc.d/rc.subr
> +
> +pexp="/usr/bin/perl.*$daemon $daemon_flags"
> +
> +rc_cmd $1
> 

-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: dkimproxy

2013-07-09 Thread Gilles Chehade
On Tue, Jul 09, 2013 at 03:28:23PM +0200, Gilles Chehade wrote:
> On Tue, Jul 09, 2013 at 12:29:47PM +0100, Stuart Henderson wrote:
> > <@PoolpOrg> I wish someone would package dkimproxy for #OpenBSD ...
> > 
> > I've had this sitting in mystuff/ for 2 years, just dusted it off and
> > updated it... it needs an rc.d script writing, no time to do it myself
> > at the moment, any takers?
> > 
> 
> my system may be slightly messed up but make install doesn't seem to
> install dkimproxy on my desktop :/
> 
> $ sudo make
> [...] everything's fine and lovely [...]
> $ sudo make install 
> $ ls /usr/local/bin/dkim* 
>  
> ls: /usr/local/bin/dkim*: No such file or directory
> $
> 

disregard, my system and /ports are completely broken and I received two
mails that it works for others. I will reinstall tonight and try the
package again ;-)

-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: dkimproxy

2013-07-09 Thread Gilles Chehade
On Tue, Jul 09, 2013 at 12:29:47PM +0100, Stuart Henderson wrote:
> <@PoolpOrg> I wish someone would package dkimproxy for #OpenBSD ...
> 
> I've had this sitting in mystuff/ for 2 years, just dusted it off and
> updated it... it needs an rc.d script writing, no time to do it myself
> at the moment, any takers?
> 

my system may be slightly messed up but make install doesn't seem to
install dkimproxy on my desktop :/

$ sudo make
[...] everything's fine and lovely [...]
$ sudo make install 
$ ls /usr/local/bin/dkim*   
   
ls: /usr/local/bin/dkim*: No such file or directory
$

-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: UPDATE: Ion-20090110

2013-04-17 Thread Gilles Chehade
RINTF=1
>   
> - 
> - ##
> - ## C compiler
> + # The following setting is needed with GNU libc for clock_gettime and the
> + # monotonic clock. Other systems may not need it, or may not provide a
> + # monotonic clock at all (which Ion can live with, and usually detect).
> +-EXTRA_LIBS += -lrt
> ++#EXTRA_LIBS += -lrt
> + 
> + # Cygwin needs this.
> + #DEFINES += -DCF_NO_GETLOADAVG
> +@@ -149,16 +153,16 @@ EXTRA_LIBS += -lrt
> + ## C compiler. 
>   ##
>   
>  -CC=gcc
> @@ -108,8 +115,8 @@ $OpenBSD: patch-system_mk,v 1.9 2012/07/
>  +#   -Wtrigraphs -Wformat -Wchar-subscripts \
>  +#   -Wparentheses -pedantic -Wuninitialized
>   
> --CFLAGS=-g -Os $(WARN) $(DEFINES) $(EXTRA_INCLUDES) $(INCLUDES)
> --LDFLAGS=-g -Os $(EXTRA_LIBS) $(LIBS)
> +-CFLAGS=-Os $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
> +-LDFLAGS=$(LIBS) $(EXTRA_LIBS)
>  +CFLAGS+= $(WARN) $(DEFINES) $(EXTRA_INCLUDES) $(INCLUDES)
>  +LDFLAGS+= $(EXTRA_LIBS) $(LIBS)
>   EXPORT_DYNAMIC=-Xlinker --export-dynamic
> Index: patches/patch-utils_ion-statusd_statusd_mail_lua
> ===
> RCS file: patches/patch-utils_ion-statusd_statusd_mail_lua
> diff -N patches/patch-utils_ion-statusd_statusd_mail_lua
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-utils_ion-statusd_statusd_mail_lua  8 Apr 2013 15:11:03 
> -
> @@ -0,0 +1,12 @@
> +$OpenBSD$
> +--- utils/ion-statusd/statusd_mail.lua.orig  Mon Apr  8 11:59:40 2013
>  utils/ion-statusd/statusd_mail.lua   Mon Apr  8 12:00:34 2013
> +@@ -12,7 +12,7 @@ local mon = "mail"
> + local defaults={
> + update_interval=10*1000,
> + retry_interval=60*10*1000,
> +-mbox = os.getenv("MAIL"),
> ++mbox = os.getenv("MAIL") or "/var/mail/" .. os.getenv("USER"),
> + files = {}
> + }
> + 
> Index: pkg/PFRAG.shared
> ===
> RCS file: /cvs/ports/x11/ion/pkg/PFRAG.shared,v
> retrieving revision 1.3
> diff -u -p -r1.3 PFRAG.shared
> --- pkg/PFRAG.shared  20 Oct 2006 17:36:13 -  1.3
> +++ pkg/PFRAG.shared  8 Apr 2013 15:11:03 -
> @@ -2,7 +2,6 @@
>  lib/ion3/mod/de.so
>  lib/ion3/mod/mod_dock.so
>  lib/ion3/mod/mod_menu.so
> -lib/ion3/mod/mod_mgmtmode.so
>  lib/ion3/mod/mod_query.so
>  lib/ion3/mod/mod_sm.so
>  lib/ion3/mod/mod_sp.so
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/x11/ion/pkg/PLIST,v
> retrieving revision 1.20
> diff -u -p -r1.20 PLIST
> --- pkg/PLIST 28 Mar 2007 19:33:04 -  1.20
> +++ pkg/PLIST 8 Apr 2013 15:11:03 -
> @@ -1,11 +1,11 @@
>  @comment $OpenBSD: PLIST,v 1.20 2007/03/28 19:33:04 pedro Exp $
>  %%SHARED%%
> -bin/ion3
> -bin/pwm3
> +@bin bin/ion3
> +@bin bin/pwm3
>  lib/ion3/
>  lib/ion3/bin/
> -lib/ion3/bin/ion-completefile
> -lib/ion3/bin/ion-statusd
> +@bin lib/ion3/bin/ion-completefile
> +@bin lib/ion3/bin/ion-statusd
>  lib/ion3/lc/
>  lib/ion3/lc/de.lc
>  lib/ion3/lc/ioncore_bindings.lc
> @@ -14,11 +14,12 @@ lib/ion3/lc/ioncore_ext.lc
>  lib/ion3/lc/ioncore_luaext.lc
>  lib/ion3/lc/ioncore_menudb.lc
>  lib/ion3/lc/ioncore_misc.lc
> +lib/ion3/lc/ioncore_quasiact.lc
> +lib/ion3/lc/ioncore_tabnum.lc
>  lib/ion3/lc/ioncore_wd.lc
>  lib/ion3/lc/ioncore_winprops.lc
>  lib/ion3/lc/mod_dock.lc
>  lib/ion3/lc/mod_menu.lc
> -lib/ion3/lc/mod_mgmtmode.lc
>  lib/ion3/lc/mod_query.lc
>  lib/ion3/lc/mod_query_chdir.lc
>  lib/ion3/lc/mod_sm.lc
> @@ -33,10 +34,6 @@ man/cs/
>  man/cs/man1/
>  @man man/cs/man1/ion3.1
>  @man man/cs/man1/pwm3.1
> -man/de/
> -man/de/man1/
> -@man man/de/man1/ion3.1
> -@man man/de/man1/pwm3.1
>  man/fi/
>  man/fi/man1/
>  @man man/fi/man1/ion3.1
> @@ -67,26 +64,19 @@ share/examples/ion3/look_clean.lua
>  share/examples/ion3/look_cleanios.lua
>  share/examples/ion3/look_cleanviolet.lua
>  share/examples/ion3/look_dusky.lua
> +share/examples/ion3/look_greenlight.lua
>  share/examples/ion3/look_greyviolet.lua
>  share/examples/ion3/look_ios.lua
>  share/examples/ion3/look_newviolet.lua
>  share/examples/ion3/look_simpleblue.lua
>  share/examples/ion3/lookcommon_clean.lua
> -share/examples/ion3/lookcommon_clean_frame.lua
> -share/examples/ion3/lookcommon_clean_stdisp.lua
> -share/examples/ion3/lookcommon_clean_tab.lua
>  share/examples/ion3/lookcommon_emboss.lua
> -share/examples/ion3/lookcommon_emboss_frame.lua
> -share/examples/ion3/lookcommon_emboss_stdisp.lua
> -share/examples/ion3/lookcommon_emboss_tab.lua
>  share/ion3/
>  share/ion3/ion-completeman
>  share/ion3/ion-runinxterm
>  share/ion3/welcome.cs.txt
> -share/ion3/welcome.de.txt
>  share/ion3/welcome.fi.txt
>  share/ion3/welcome.txt
>  share/locale/cs/LC_MESSAGES/ion3.mo
> -share/locale/de/LC_MESSAGES/ion3.mo
>  share/locale/fi/LC_MESSAGES/ion3.mo
> -share/locale/ru/LC_MESSAGES/ion3.mo
> +share/locale/fr/LC_MESSAGES/ion3.mo
> 
> 
> - End forwarded message -
> 
> -- 
> Sending from my iFart...

-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: www/chromium: sndio playback

2012-11-24 Thread Gilles Chehade
ream->buffer_size_, 
> audio_stream->buffer_avail_);
> -+
> -+  max = audio_stream->buffer_avail_ > 0 ? audio_stream->buffer_avail_ :
> -+audio_stream->buffer_size_;
> -+  audio_stream->filled_ = audio_stream->source_->OnMoreData(audio_stream, 
> audio_stream->buffer_, max,
> -+AudioBuffersState(audio_stream->used_, 0));
> -+
> -+  Time now = Time::Now();
> -+  int64 next_callback_ms = (last_callback_time_ +
> -+  TimeDelta::FromMilliseconds(callback_interval_ms_ * 2) -
> -+  now).InMilliseconds();
> -+  // If we are falling behind, try to catch up as much as we can in the next
> -+  // callback.
> -+  if (next_callback_ms < 0)
> -+next_callback_ms = 0;
> -+
> -+  last_callback_time_ = now;
> -+
> -+  thread_.message_loop()->PostDelayedTask(
> -+  FROM_HERE,
> -+  NewRunnableMethod(this, &PCMQueueOutAudioOutputStream::DoCallback),
> -+  next_callback_ms);
> -+
> -+  if (buffer_avail_)
> -+RenderCallback(this);
> -+}
> Index: patches/patch-media_audio_openbsd_sndio_output_h
> ===
> RCS file: patches/patch-media_audio_openbsd_sndio_output_h
> diff -N patches/patch-media_audio_openbsd_sndio_output_h
> --- patches/patch-media_audio_openbsd_sndio_output_h  8 Jun 2011 20:36:56 
> -   1.2
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,89 +0,0 @@
> -$OpenBSD: patch-media_audio_openbsd_sndio_output_h,v 1.2 2011/06/08 20:36:56 
> robert Exp $
>  media/audio/openbsd/sndio_output.h.orig  Wed Jun  8 09:58:36 2011
> -+++ media/audio/openbsd/sndio_output.h   Wed Jun  8 17:03:54 2011
> -@@ -0,0 +1,85 @@
> -+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
> -+// Use of this source code is governed by a BSD-style license that can be
> -+// found in the LICENSE file.
> -+
> -+#ifndef MEDIA_AUDIO_OPENBSD_AUDIO_OUTPUT_OPENBSD_H_
> -+#define MEDIA_AUDIO_OPENBSD_AUDIO_OUTPUT_OPENBSD_H_
> -+
> -+#include 
> -+
> -+#include 
> -+
> -+#include "base/memory/ref_counted.h"
> -+#include "base/memory/scoped_ptr.h"
> -+#include "base/threading/thread.h"
> -+#include "base/time.h"
> -+#include "media/audio/audio_io.h"
> -+#include "media/audio/audio_parameters.h"
> -+
> -+class AudioManagerOpenBSD;
> -+
> -+// Implementation of AudioOuputStream for OpenBSD OS X using the audio 
> queue service
> -+// present in OS 10.5 and later. Audioqueue is the successor to the 
> SoundManager
> -+// services but it is supported in 64 bits.
> -+class PCMQueueOutAudioOutputStream :
> -+public AudioOutputStream,
> -+public base::RefCountedThreadSafe {
> -+ public:
> -+  // The ctor takes all the usual parameters, plus |manager| which is the
> -+  // the audio manager who is creating this object.
> -+  PCMQueueOutAudioOutputStream(AudioManagerOpenBSD* manager,
> -+   AudioParameters params);
> -+  // The dtor is typically called by the AudioManager only and it is usually
> -+  // triggered by calling AudioOutputStream::Close().
> -+  virtual ~PCMQueueOutAudioOutputStream();
> -+
> -+  // Implementation of AudioOutputStream.
> -+  virtual bool Open();
> -+  virtual void Close();
> -+  virtual void Start(AudioSourceCallback* callback);
> -+  virtual void Stop();
> -+  virtual void SetVolume(double volume);
> -+  virtual void GetVolume(double* volume);
> -+
> -+ private:
> -+  // Give RefCountedThreadSafe access our destructor.
> -+  friend class base::RefCountedThreadSafe;
> -+
> -+  // Called when an error occurs.
> -+  void HandleError(int err);
> -+
> -+  static void RenderCallback(void* p_this);
> -+  void DoCallback();
> -+  static void onmove_callback(void *data, int);
> -+
> -+  struct sio_hdl *sndio_hdl_;
> -+  struct sio_par sndio_par_;
> -+
> -+  // Pointer to the object that will provide the audio samples.
> -+  AudioSourceCallback* source_;
> -+  // Our creator, the audio manager needs to be notified when we close.
> -+  AudioManagerOpenBSD* manager_;
> -+  // Packet size in bytes.
> -+  uint32 packet_size_;
> -+  // Number of bytes for making a silence buffer.
> -+  int silence_bytes_;
> -+  // Volume level from 0 to 1.
> -+  float volume_;
> -+
> -+  int32 hw_pos_;
> -+  int32 sw_pos_;
> -+
> -+  uint8 *buffer_;
> -+  uint32 buffer_size_;
> -+  uint32 buffer_avail_;
> -+  uint32 used_;
> -+  uint32 filled_;
> -+
> -+  base::Thread thread_;
> -+  base::Time last_callback_time_;
> -+  int callback_interval_ms_;
> -+
> -+  DISALLOW_COPY_AND_ASSIGN(PCMQueueOutAudioOutputStream);
> -+};
> -+
> -+#endif  // MEDIA_AUDIO_OPENBSD_AUDIO_OUTPUT_OPENBSD_H_
> Index: patches/patch-media_media_gyp
> ===
> RCS file: /cvs/ports/www/chromium/patches/patch-media_media_gyp,v
> retrieving revision 1.15
> diff -u -p -r1.15 patch-media_media_gyp
> --- patches/patch-media_media_gyp 7 Nov 2012 06:59:45 -   1.15
> +++ patches/patch-media_media_gyp 24 Nov 2012 14:44:51 -
> @@ -1,7 +1,25 @@
>  $OpenBSD: patch-media_media_gyp,v 1.15 2012/11/07 06:59:45 robert Exp $
>  --- media/media.gyp.orig Wed Oct 31 20:01:20 2012
> -+++ media/media.gyp  Tue Nov  6 22:45:35 2012
> -@@ -433,6 +433,7 @@
>  media/media.gyp  Thu Nov 15 12:02:41 2012
> +@@ -7,6 +7,8 @@
> + 'chromium_code': 1,
> + # Override to dynamically link the PulseAudio library.
> + 'use_pulseaudio%': 0,
> ++# Override to dynamically link the sndio library.
> ++'use_sndioaudio%': 0,
> + # Override to dynamically link the cras (ChromeOS audio) library.
> + 'use_cras%': 0,
> + 'conditions': [
> +@@ -133,6 +135,8 @@
> + 'audio/scoped_loop_observer.h',
> + 'audio/simple_sources.cc',
> + 'audio/simple_sources.h',
> ++'audio/sndio/sndio_output.cc',
> ++'audio/sndio/sndio_output.h',
> + 'audio/win/audio_low_latency_input_win.cc',
> + 'audio/win/audio_low_latency_input_win.h',
> + 'audio/win/audio_low_latency_output_win.cc',
> +@@ -433,6 +437,7 @@
>   }],
>   ['OS=="openbsd"', {
> 'sources/': [ ['exclude', '/alsa_' ],
> @@ -9,3 +27,25 @@ $OpenBSD: patch-media_media_gyp,v 1.15 2
>   ['exclude', '/audio_manager_linux' ] ],
> 'link_settings': {
>   'libraries': [
> +@@ -496,6 +501,21 @@
> +   'sources!': [
> + 'audio/pulse/pulse_output.cc',
> + 'audio/pulse/pulse_output.h',
> ++  ],
> ++}],
> ++['use_sndio == 1', {
> ++  'link_settings': {
> ++'libraries': [
> ++  '-lsndio',
> ++],
> ++  },
> ++  'defines': [
> ++'USE_SNDIO',
> ++  ],
> ++}, {  # else: use_sndio == 0
> ++  'sources!': [
> ++'audio/sndio/sndio_output.cc',
> ++'audio/sndio/sndio_output.h',
> +   ],
> + }],
> +   ],
> 

-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: [new] mail/goobook

2012-09-06 Thread Gilles Chehade
I didn't get (or accidentally deleted) the initial mail ...
I'm interested in this, if you need testing


On Thu, Sep 06, 2012 at 01:02:04PM +0200, Julien Dhaille wrote:
> Hello.
> Nobody interested by this one ?
> 
> 2012/5/15 Julien Dhaille 
> 
> > Hi all,
> > goobook is a python script :
> >
> > The purpose of GooBook is to make it possible to use your Google
> > Contacts from the command-line and from MUAs such as Mutt. It can be
> > used from Mutt the same way as abook.
> >
> > Many details on the homepage.
> >
> > Comments ? ok ?
> > Thanks
> > --
> > Julien Dhaille
> >
> 
> 
> 
> -- 
> Julien Dhaille

-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: tedu palms/

2012-09-02 Thread Gilles Chehade
On Sun, Sep 02, 2012 at 06:49:46PM +0200, Matthieu Herrb wrote:
> On Sun, Sep 02, 2012 at 05:37:38PM +0200, Antoine Jacoutot wrote:
> > Hi.
> > 
> > Talking with landry@ we realized there aren't many ports that make sense 
> > under ports/palm.
> > We are thinking about trashing the entire category and keep only the 
> > following 3 ports for the time being:
> > bibelot, palm-bookmarks, palm2ical
> > 
> > Thoughts?
> 
> I gave up on my palm pilot and palm phone long time ago. No regrets.
>

well it does come from another century ... miod ? got one ? :-p


-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: minimalist

2012-08-03 Thread Gilles Chehade
Nice :-)

On Fri, Aug 03, 2012 at 12:28:52PM +0200, Christopher Zimmermann wrote:
> Hi,
> 
> I just finished adopting the documentation and creating a port for
> the minimalist mailing list manager. You can find it at
> 
> https://github.com/jasperla/openbsd-wip/tree/master/mail/minimalist
> 
> After installation only the entries to /etc/mail/aliases need to be
> added and you should be able to test the minimalist-example@localhost
> mailing list on chrooted minimalist via OpenSMTDd.
> 
> Cheers,
> Christopher
> 
> 
> On Fri, 27 Jul 2012 10:54:17 +0200
> Jan Stary  wrote:
> > On Jul 22 12:07:51, Christopher Zimmermann wrote:
> > > On Sat, 21 Jul 2012 20:03:04 +0200
> > > Jan Stary  wrote:
> > > > On Jul 21 18:04:51, Christopher Zimmermann wrote:
> > > > Would you advise to use your github minimalist instead?
> > > > Does it work better within smtpd than the original minimalist?
> > > > Do you already have an OpenBSD port of it?
> > > 
> > > I think it works a lot better than the original minimalist with
> > > OpenSMTPd. I made it perl-taint clean, removed every perl eval(),
> > > chrooted it, made it independent of a sendmail binary, but also removed
> > > some features in the process.
> > 
> > This sounds nice, removng the sendmail dependence in particular.
> > I would like to use and test your version.  However, it doesn't work
> > for me; the original minimalist.pl does.
> > 
> > I guess there are some differences that need to be taken care of
> > in /etc/minimalist.conf - I just changed the directory to
> > /var/db/minimalist from the original /var/spool/minimalist
> > but that's not enough. Is there a recommended minimalist.conf
> > to use ith your minimalist.pl? Now I am using the original
> > minimalist.conf
> > 
> > Also, could you please (re)send the aliase file that works for you?
> > This is what works for me now, with the original minimalist.pl:
> > 
> > minimalist: |/usr/local/bin/minimalist.pl
> > testing:|/usr/local/bin/minimalist.pl testing
> > testing-owner:  hans
> > 
> > 
> > > The documentation is not yet adapted to my changes.
> > 
> > Yes; in particular, the minimalist.conf needs to be different.
> > Do I understand it  correctly that
> > https://raw.github.com/madroach/minimalist/master/old_stuff/minimalist.conf-sample
> > 
> > is just a copy from the original minimalist and is not supposed
> > to work with your minimalist.pl?
> > 
> > 
> > > I intend to maintain it and fix bugs.
> > > Of course I would advise to use my version. At the moment I don't have
> > > much time, but in about two weeks I could do some work to adapt the
> > > documentation and especially the example conffile.
> > 
> > Great, please let us know.
> > 
> > Jan

-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: new: audio/ardour

2012-03-17 Thread Gilles Chehade
indeed, will test shortly !

Gilles

Ryan Freeman  wrote:

>On Sat, Mar 17, 2012 at 12:03:27PM +0100, Stefan Sperling wrote:
>> I've ported the ardour digital audio workstation (http://ardour.org)
>> to OpenBSD some time ago. The port includes some new glue code for
>> sndio midi which I tested with a Mackie-style controller.
>> 
>> It builds and runs, with audio/jack as audio backend. But there are
>> some stability problems. Sometimes sound isn't audible unless latency
>> is tweaked in the JACK->Latency menu. What's worse is that it freezes
>> up during playback occasionally. ratchov says these problems might be
>> related to jack's sndio backend.
>> 
>> I'd like to import this anyway so that remaining issues can be fixed in-tree.
>> 
>> Patches in the ardour port have been shown to upstream.
>> There won't be another ardour2 release so they won't take the patches.
>> Upstream work is focused on ardour3.
>> 
>> The ardour port and ports for two new required dependencies are attached
>> and also at http://stsp.name/openbsd/ports/ardour/
>
>this is very exciting, testing now!
>
>-ryan 
>


Re: mplayer survey

2010-06-02 Thread Gilles Chehade
On Wed, Jun 02, 2010 at 02:21:01AM +0100, Edd Barrett wrote:
> Hi,
> 
> (potentially interested parties in CC.)
> 
> Since the last snapshot containing mplayer-20100308 I have noticed:
> 
> a) DVD's don't play on my thinkpad using the external CD drive. I am not sure 
> if
> this ever worked - its the first time.
> 

erf, I can no longer verify which version it was but with a relatively recent
snapshot i watched a dvd weeks ago.


> I notice this in dmesg at this time:
> cd0(umass0:1:0): Check Condition (error 0x70) on opcode 0x28
> SENSE KEY: Illegal Request
>  ASC/ASCQ: Read Of Scrambled Sector Without Authentication
> 
> Now I know mplayer had its own DVD decrypter, but has this changed? Anyone
> know. Either way I have installed:
> 
> libdvd-0.3p2descramble scrambled DVDs using ACSS
> libdvdcss-1.2.9 descramble scrambled DVDs
> libdvdnav-4.1.3v0   DVD read/navigation library
> libdvdread-0.9.7p1  accessing DVD files
> 
> b) Stuttering sound after some time of playing some file/stream. Very 
> annoying.
> The old version of mplayer did not do this for me.
> 
> Has anyone experienced either of these issues, or is it a hardware
> specific bug?
>

I have experienced this while playing a mp3 two or three days ago, I have 
switched
to mpg123 to make sure it wasn't related to the file itself and it worked 
perfect.
didn't fill a bug report because i was unsure my bastard system was at cause

 
> Maybe I need to work on another update - perhaps we just checked out at a bad
> time.
> 
> I just looked at the mplayer www page, they are thinking of... releasing?!
> http://www.mplayerhq.hu/design7/news.html
> 
> Thanks for enduring my nonsensical rantings.
> 
> -- 
> Best Regards
> Edd Barrett
> 
> http://www.theunixzoo.co.uk
> 

-- 
Gilles Chehade
freelance developer/sysadmin/consultant

   http://www.poolp.org



mod_wsgi

2009-12-01 Thread Gilles Chehade
Hi,

Just wondering if there's someone working on a port for mod_wsgi ?

Searching archives I saw that James Turner made a port a year ago,
but it was never commited and there's no mention to why. If anyone
knows the reason, I'd be willing to know :-) 

Gilles

-- 
Gilles Chehade
freelance developer/sysadmin/consultant

   http://www.poolp.org



Re: update blows up

2009-10-09 Thread Gilles Chehade

In Paul's defense, fh is really a moron.

Gilles

Tomasz Pajor a écrit :

Please stop this silliness, what are You 5?

| i am talking about years of insultings by theo.  please consult
| the archives + i have my private collection.

Very nice for you. So you stick around for the insults ?


no, not really.  i dont judge a product by the social behaviour of its
leader.  very few people would be using openbsd otherwise.  it's not my
fault theo can't ignore mails he thinks stupid.  he could do it just as
well as the others and save a lot of trouble and bad image.  but that's
too easy, isn't it?  i guess he needs to blow some steam so he calls
people names cause he can hide behind the internetz

| it is him who is resolving to name callings if someone
| writes something he doesnt like.

Who gives a shit ? Some dude on the internet calls you an idiot, so
what ? I just told you you suck because you said something I don't
like. If you can't stand the heat, get your ass out the kitchen.



yes Paul, you are a nobody on the internet, i agree.
and i coudln't care less what you say about me in the public.

on the other hand, perhaps you feel warm and fuzzy when the leader of
your favourite project (and not just some dude on the internet really)
calls you names in front of the whole community again and again.
i, personally, am not in favour of tarnishing my name this way.  i am
making considerable effort to be on good terms with the project members
and have no beef to grind with them whatsoever.  i am not a person
looking for fights, consult the archives.

and please spare me the "because you deserved it probably" shit,
because the other devs rarely join in on his escapades and try
to hold a civil face (thank you all, you know who you are).
so it is proven to be possible to stay civilised.

 

| in my country if you call people names (even if warranted,
| whatever that means in this case), you better be prepared
| that some might pick up the gauntlet and kick your ass.

And what country would that be ? Moronia ? The country of "We fight
because we're bunch of idiots" ?



if you call a big guy in the bar an idiot you better run and hide
or live with the consequences.  if someone calls your girlfriend
a fat bitch into your face, i imagine you just whistle and pretend
nothing's happened, right? thought so Paul, thought so.  carry on.

one day someone will sue theo for libel and then he will ask
for donations for a lawyer.

of course i never thought theo a man who would stand up to another man
and put his fist where his mouth is -- and i dont mean punching 
himself..

he's damn lucky duels are illegal nowadays.

-f
  






Re: update blows up

2009-10-08 Thread Gilles Chehade

Paul de Weerd a écrit :

On Thu, Oct 08, 2009 at 06:54:37AM -0700, James Crutchfield wrote:
| Oh, Paul - don't be so overly dramatic. Regardless of your or anyone else's
| opinion of the intelligence behind a question, you can't insult a man five
| times in the same thread and expect that he won't become defensive. You're
| too smart to ignore the reaction of all creatures, including people, when
| backed into a corner. It's our very nature.

Overly dramatic ? Hmm. I consider threatening with violence to be
overly stupid. And I wouldn't call breaking a nose "defensive".

Sure, I'm not too worried that anyone on this list is going to come by
my house and punch me in the face. I was trying to point out the
stupidity of threatening with violence when someone says something you
don't like.
  

For some people I would go through the pain of going to their house and
punch them in the face or stab them with a fork, given this project was
followed by volunteers ;-)

Gilles



Re: console imap client

2009-08-25 Thread Gilles Chehade

LEVAI Daniel a écrit :

Hi!


Anyone could recommend me a ported console imap client, or if there isn't any 
ported, a simply working?


Thanks in advance,

Daniel
  

mutt does imap

Gilles



Re: www/firefox35 crashes on content

2009-07-02 Thread Gilles Chehade

Gilles Chehade a écrit :

Aaron Stellman a écrit :

Built firefox35-3.5 on -amd64 current. Supposedly firefox35
supports the new html5  element. However, firefox crashes on a
page with such element.
example page on which it crashes:
http://www.double.co.nz/video_test/test1.html

Can anyone else confirm such behavior?
  

yes it crashes on video for me too

Gilles


erf, i forgot to add:  amd64 , MP

Gilles



Re: www/firefox35 crashes on content

2009-07-02 Thread Gilles Chehade

Aaron Stellman a écrit :

Built firefox35-3.5 on -amd64 current. Supposedly firefox35
supports the new html5  element. However, firefox crashes on a
page with such element.
example page on which it crashes:
http://www.double.co.nz/video_test/test1.html

Can anyone else confirm such behavior?
  

yes it crashes on video for me too

Gilles



Re: NEW: scrotwm

2009-01-28 Thread Gilles Chehade
On Wed, Jan 28, 2009 at 12:55:12PM +0100, Antoine Jacoutot wrote:
> On Wed, 28 Jan 2009, Pierre-Yves Ritschard wrote:
> 
> > Hi,
> > 
> > I started using scrotwm, which I like a lot except for its name. It
> > might make it in xenocara/ at some point, but for now having a port is
> > better than cvs checkout && make.
> > 
> > It's a fairly straightforward port, the only debatable thing is that it
> > has a run dependency on dmenu, while it can function properly without
> > it.
> > 
> > I'll be hosting the cvs snapshots and making up my own version numbers
> > for now. If this makes it in, ping me whenever something warrants
> > putting out a new snap.
> 
> I'll look into it... I need a new wm...
> 

you'll look into the scrotum ? 

Ooooh this is going to be an endless source of jokes :)

Gilles

-- 
Gilles Chehade
http://www.poolp.org/~gilles/



Re: DRM in xpdf

2008-04-25 Thread Gilles Chehade
On Fri, Apr 25, 2008 at 10:16:48PM +, Miod Vallat wrote:
> > >  "For those who would argue that important content might get
> > >  irretrievably locked away in PDF format, I'll remind you that
> > >  Xpdf is open source, and can be modified by end users (the GPL
> > >  even allows this)."
> > 
> > Go ahead, ignore the authors wishes. Show your disrespect.
> 
> Your logic implies GPL respects authors.
> 

Uh oh ... the showerless happy hacker will come and hunt you now ... :-)

-- 
Gilles Chehade
http://www.poolp.org/



Re: DRM in xpdf

2008-04-25 Thread Gilles Chehade
On Fri, Apr 25, 2008 at 11:25:13PM +0200, Martin Schr?der wrote:
> 2008/4/25 Deanna Phillips <[EMAIL PROTECTED]>:
> >  "For those who would argue that important content might get
> >  irretrievably locked away in PDF format, I'll remind you that
> >  Xpdf is open source, and can be modified by end users (the GPL
> >  even allows this)."
> 
> Go ahead, ignore the authors wishes. Show your disrespect.
> 

Author has *wished* that his software source code be available for
anyone to modify it orelse he would not have released it under the
GPL. 

Gilles

-- 
Gilles Chehade
http://www.poolp.org/



[sysutils/procstated] new port, need help & comments

2008-01-02 Thread Gilles Chehade
Hi ports@,

procstated is a utility that monitors a (set of) process(es) for exits and/or 
signals delivery,
and which calls handlers upon these events. It will for example allow the 
restart of a process
that exited, or mail someone if a monitored process receives a segmentation 
fault. New handlers
will be added depending on (my ?) needs.

I wanted to submit it for base initially but it looks a lot like a sysutils/ 
thingy so I made
it into a port.

=> 
http://www.evilkittens.org/~gilles/OpenBSD/ports/sysutils/procstated.tgz


- comments ?

- can anyone please help me understand why procstated.conf doesn't get 
installed to
${PREFIX}/share/examples/ ? (I got the do-install part from other ports 
that
install sample configurations, I don't understand why it won't work 
here)

- if you test it (please ?) I would like to hear from you as I've been the only 
user of
it so far, it worked for my uses but I don't code bug-free ;)

Gilles

-- 
Gilles Chehade



Re: Ion3 port is obsolete

2007-11-16 Thread Gilles Chehade
On Fri, Nov 16, 2007 at 06:01:12PM +, Tuomo Valkonen wrote:
> On 2007-11-16, Craig Brozefsky <[EMAIL PROTECTED]> wrote:
> > Yah, sucks to write free software, perhaps you should just stop.
> 
> Indeed, Ion3 is my final gift to the FOSS herd, that it can never
> hope to repay. After that any software I might create, will come
> without any license at all (the djb way). With or without source,
> I have not yet decided. Probably without, since FOSS is degrading
> into a pile of steaming shit so fast, that I'm likely to be
> switching to Windows within a few years time, and binaries will
> work just fine there.
> 

good for you, and what did you have for breakfast ?

-- 
Gilles Chehade
http://www.evilkittens.org/
http://www.evilkittens.org/blog/gilles/



[audio/amarok] segmentation fault

2007-10-09 Thread Gilles Chehade
Hi,

The maintainer of this port being the mailing list according to ports/INDEX, 
here's
what happens when I use freshly installed amarok on -current/amd64:

felix:gilles {112} amarok
Amarok: [Loader] Starting amarokapp..
Amarok: [Loader] Don't run gdb, valgrind, etc. against this binary! Use 
amarokapp.
amarokapp:/usr/lib/libstdc++.so.44.0: undefined symbol '__cxa_atexit'
lazy binding failed!
Amarok: [Loader] amarokapp probably crashed!
felix:gilles {113} nm /usr/lib/libstdc++.so.44.0 |grep '__cxa_atexit'
 U __cxa_atexit
felix:gilles {114} 

Gilles

-- 
SCHNEIER FACT #47:
  Bruce Schneier doesn't have a chin under his beard -- just more 
ciphertext.
(source: http://geekz.co.uk/schneierfacts/ )



Re: UPDATE: ruby-1.8.6 patchlevel 110

2007-09-28 Thread Gilles Chehade
On Fri, Sep 28, 2007 at 08:49:39PM +0200, Bernd Ahlers wrote:
> Hey!
> 
> Attached is an update to ruby-1.8.6 patchlevel 110.
> 
> It would be nice if some kind souls would test this diff on amd64 and 
> sparc64. By testing I mean at least 'make package' and 'make regress'.
> 
> Some realworld tests on thoase archs would be nice as well.
> 
> Thank you!
> 
> Regards,
>   Bernd
> 

on an amd64, 'make package' was ok, this is the output of make regress 

===>  Regression check for ruby-1.8.6-p110
test succeeded
./miniruby  ./runruby.rb --extout=.ext -- "./test/runner.rb" --basedir="./test" 
--runner=console 
Loaded suite .
Started
.F
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/drb/drb.rb:736:in 
`open': druby://felix.evilkittens.org:14015 - # (DRb::DRbConnError)
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/drb/drb.rb:729:in 
`each'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/drb/drb.rb:729:in 
`open'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/drb/drb.rb:1189:in 
`initialize'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/drb/drb.rb:1169:in 
`new'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/drb/drb.rb:1169:in 
`open'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/drb/drb.rb:1085:in 
`method_missing'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/drb/drb.rb:1103:in 
`with_friend'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/drb/drb.rb:1084:in 
`method_missing'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/drb/extserv.rb:16:in 
`initialize'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/test/drb/ut_array.rb:12:in
 `new'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/test/drb/ut_array.rb:12

^C/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/drb/extservm.rb:79:in
 `stop': Interrupt
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/drb/extservm.rb:79:in
 `invoke_service'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/drb/extservm.rb:39:in
 `service'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/test/drb/drbtest.rb:35:in
 `ext_service'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/timeout.rb:56:in 
`timeout'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/timeout.rb:76:in 
`timeout'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/test/drb/drbtest.rb:34:in
 `ext_service'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/test/drb/drbtest.rb:279:in
 `setup'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/test/unit/testcase.rb:77:in
 `run'
 ... 12 levels...
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/test/unit/ui/testrunnerutilities.rb:29:in
 `run'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/test/unit/autorunner.rb:216:in
 `run'
from 
/usr/ports/lang/ruby/w-ruby-1.8.6-p110/ruby-1.8.6-p110/lib/test/unit/autorunner.rb:12:in
 `run'
from ./test/runner.rb:7
felix:ruby {109}



Re: inn-2.4.3 - need comments and testing

2007-07-23 Thread Gilles Chehade
On Fri, Jul 20, 2007 at 04:25:14PM -0500, Deanna Phillips wrote:
> 
> > That should read something like: have a look at the other INN
> > ports from me and Toni Mueller including the patches floating
> > around the archives.
> 
> I found it.. it's out of date but might help as a reference.
> This is the port started by mbalmer and later worked on by Toni,
> kili@ and myself.
> 

Sorry, I was away this week-end and could not read my mails ;-)

Thanks for the tarball you sent me, I will check it out tonight
when I get back home. I worked a bit on the port and found that
the install-sh script from inn exec-s chown several times while
I should assume the _news user isn't yet created. I'm trying to
fix this by deferring the chown's to post-install, I'll give it
a try tonight. I'll post the url to the updated port here. 

It is the last "blocking" issue for me as besides that I had no
issues running inn out of it with an existing _news account. It
took me quite some time, but I could start it with no errors in
logs, create new groups, post to groups, delete groups ... When
it is "valid" for you, I will add a -sasl flavour as it is part
of my needs ;-)

I have a question:
strcpy is used a lot and after going through the archives, I do
not know if I should try to replace strcpy with strlcpy or if I
should avoid differing from the official project. I looked at a
few strcpy calls and they "seemed" to be safely used (I need to
spent a lot more time to ensure that as they are widespread). I
have no problem with either solution, replacing or auditing, it
is just that I don't know which one is the preferred way.

Something good had to emerge from inn:
Now I know precisely of several things NOT TO DO in future code
to keep it maintainable and portable (as in ports). 

-- 
sysadmin & coder @ http://www.evilkittens.org/
coder@ http://www.exalead.com/


pgplmylmSKVs7.pgp
Description: PGP signature


Re: inn-2.4.3 - need comments and testing

2007-07-20 Thread Gilles Chehade
On Fri, Jul 20, 2007 at 06:01:42PM +0200, Matthias Kilian wrote:
> On Thu, Jul 19, 2007 at 11:54:18PM -0500, Gilles Chehade wrote:
> > 1- even though the PLIST starts with @newuser, the user does not get
> > created and I am forced to create it manually. Anyone can
> > explain what I do wrong ?
> 
> You mean during fake stage? Well, the user is created add install
> time, i.e. when you run pkg_add(8) or make install.
> 
> At least I can't build it here because it tries to chown some stuff
> to _news during fake.
> 

mh :/
ok I get it now, I had trouble separating the fake process from install
in my mind yesterday night, so instead of chowning the files to _news
when they are created, I should really create them but defer the chown
to post-install right ?

As is, the chown error disappear if you create the user manually and
install the port afterwards, which now makes sense to me ... will fix
it ;-)


> ksh: }fmt: not found
> floating around the archives), especially on patch-support_install-sh.
> Unfortunately, Deannas port seems to be unavailable.
>

I don't get that :-)


> > 2- this one being my first port, I probably did some thing(s) wrong,
> > it would be great if someone could review and tell me what I
> > need to fix and what could/should be improved/changed.
> 
> Some nits:
> 
> * COMMENT doesn't need quotes any longer.
>

Ok dokie


> * --with-etc-dir=${PREFIX}/share/examples/inn looks wrong, it should be
>   set to ${SYSCONFDIR}/news or similar. Same vor --with-db-dir, let
>   it point to /var/news/db. Funny enough, looking at my own old
>   port, I see lots of fishy things there, too, e.g. using ${LOCALBASE}
>   instead of ${PREFIX} in setting CONFIGURE_ARGS.
>

I am at work so I cannot look right now, but basically if I use SYSCONFDIR
it will copy the files and I get errors about bogus paths. I looked at the
port for leafnode and I *understood* (which means there's a high chance I
got it wrong ;-) that it copied the configuration files in the example
directory them use @sample to "install" them in SYSCONFDIR. The same
applies for --with-db-dir, the files are installed in the example dir then
installed using @sample.


> * your patch-Makefile_global_in looks strange, too. I'm not sure wether
>   WRKINST is guaranteed to be in the environment or passed to make.
>   In general, if you want to override things like DESTDIR, try to
>   add them to the environment, using MAKE_ENV or MAKE_FLAGS resp.
>   FAKE_FLAGS depending on your needs before starting to patch things.
>

Okie, I will change that, I thought that using WRKINST was the proper
way over using environment variables (I have been forced in two places
to set an environment variable for makedbz to work and it looked a lot
like a dirty hack to me ;-)


> > 3- I am not very familiar with inn, maybe some more experienced user
> > can help with the default config file and examples ?
> 
> Well, years ago I used to use a much older version of INN, on a
> leaf site, with UUCP, so I'm not of the biggest help here until I
> get the time to read all the documentation.
>

The configuration as is doesnt prevent the server from running and for
my tests I basically `make install`, run the daemon, create a newsgroup,
post to it, read my post. it works fine, but I thought it would be nice
to include some configurations and have "someone who knows" make sure
that the default configuration is not unsafe.


> > - needs /usr NOT to be nosuid (innd requires to be called
> [...]
> 
> That's no problem, we've other ports that need suid.
> 

Oki dokie, I'll still try to find some time to figure out if there's
room for improvement, but I frankly don't want to make this my
priority unless I'm sure that they will be merged upstream (I will
look at the source more in depth then eventually get in touch with
someone there before I even start ;-)

> Ciao,
>   Kili
> 

Thanks a lot, you've been and you are very helpful !


-- 
sysadmin & coder @ http://www.evilkittens.org/
coder@ http://www.exalead.com/


pgpnrcKPdDG3d.pgp
Description: PGP signature


inn-2.4.3 - need comments and testing

2007-07-20 Thread Gilles Chehade
Hi ports@,

I'm almost done with the inn port except that:

1- even though the PLIST starts with @newuser, the user does not get
created and I am forced to create it manually. Anyone can
explain what I do wrong ?

2- this one being my first port, I probably did some thing(s) wrong,
it would be great if someone could review and tell me what I
need to fix and what could/should be improved/changed.

3- I am not very familiar with inn, maybe some more experienced user
can help with the default config file and examples ?

The port is at:
http://www.evilkittens.org/~veins/inn.tgz

Additionnal comments:
- needs user _news, part of the group news
- needs /usr NOT to be nosuid (innd requires to be called
from a setuid wrapper which drops privileges, the
code is kind of messy so i am not sure yet that I
can remove that requirement without differing too
much from the "official" code).

Thanks a lot, I'm looking forward to your comments and advices :)

-- 
sysadmin & coder @ http://www.evilkittens.org/
coder@ http://www.exalead.com/


pgpOil4RPf7Gk.pgp
Description: PGP signature


Re: inn-2.4.3 - need help

2007-07-19 Thread Gilles Chehade
On Fri, Jul 20, 2007 at 01:31:56AM +0200, Matthias Kilian wrote:
> On Thu, Jul 19, 2007 at 01:35:06AM -0500, Gilles Chehade wrote:
> > I've noticed yesterday that there was no port for a nntp server
> > execpt for the very limited leafnode server and since i need one
> > i decided to try to port inn which builds very easily under
> > OpenBSD.
> [...]
> 
> Well, that @sample thing has been explained to you, so just let me
> note that you should search the archives for (failed and/or abandoned)
> attempts of INN ports. This may help you to avoid some pitfalls,
> for example too much nitpicking on what installs where (my first
> attempt was a complete desaster because I tried to sprinkle INN
> stuff all over ${LOCALBASE}/{{,s}bin,include/inn,lib{,exec}} instead
> of using INN's hierarchy in ${LOCALBASE}/inn).
> 
> > the port "as-is" is here: http://www.evilkittens.org/~veins/inn.tgz
> 
> Classic problem (in pkg/PLIST): include/config.h This will cause
> strange errors when building other ports. Try it, and/or search the
> archives. One more reason to go put INN into its own hierarchy, at
> least for a start.
> 
> Ciao,
>   Kili
> 

I realized that inn wasn't the best choice for a first port just a minute
ago when I looked at the clock and noticed that I've spent two evenings
on what was supposed to "take me just a few hours" ... 

Oh well ... now that I'm deep down it what else can I do ? :-)

Thanks for your advices, I'm all ears for any of your help and advices to
help me in my journey of hair pulling

-- 
sysadmin & coder @ http://www.evilkittens.org/
coder@ http://www.exalead.com/


pgpExlqccQUej.pgp
Description: PGP signature


Re: inn-2.4.3 - need help

2007-07-19 Thread Gilles Chehade
On Thu, Jul 19, 2007 at 05:40:52PM +0200, Alexander Hall wrote:
> Gilles Chehade wrote:
> >On Thu, Jul 19, 2007 at 06:08:52PM +0300, Antti Harri wrote:
> 
> >>What your looking for is "@sample"
> 
> >care to provide with a link describing the keyword (and other keyword) if
> >there's any ?
> 
> Of course there is!
> 
> man pkg_create
> /PACKING LIST DETAILS
> 
> /Alexander
> 

Thank you and Anti for pointing me to the right place, I was absolutely not
looking to the appropriate man page ... :-)

/me gets back to his plist

-- 
sysadmin & coder @ http://www.evilkittens.org/
coder@ http://www.exalead.com/


pgpGhQpR6lJOm.pgp
Description: PGP signature


Re: inn-2.4.3 - need help

2007-07-19 Thread Gilles Chehade
On Thu, Jul 19, 2007 at 06:08:52PM +0300, Antti Harri wrote:
> 
> On Thu, 19 Jul 2007, Gilles Chehade wrote:
> 
> >I suspected that there was some keyword to add in PLIST but when I look at
> >other ports that create directories (mysql for example) I see nothing.
> >Does it have to be done in a pre-install rule ?
> [rest snipped]
> 
> What your looking for is "@sample"
> 

care to provide with a link describing the keyword (and other keyword) if
there's any ?

Thanks !
Gilles Chehade

-- 
sysadmin & coder @ http://www.evilkittens.org/
coder@ http://www.exalead.com/


pgpcUONmJpaqL.pgp
Description: PGP signature


inn-2.4.3 - need help

2007-07-19 Thread Gilles Chehade
hi ports@,

I've noticed yesterday that there was no port for a nntp server execpt for the
very limited leafnode server and since i need one i decided to try to port inn
which builds very easily under OpenBSD.

I have trouble understanding something though:

I want the port to create some directories (for example /etc/inn
to avoid the several config files to "uglify" /etc). When I
look at the fake directory everything is in the right place
but when I make install the directories are not created.

I suspected that there was some keyword to add in PLIST but when I look at
other ports that create directories (mysql for example) I see nothing.
Does it have to be done in a pre-install rule ?

the port "as-is" is here: http://www.evilkittens.org/~veins/inn.tgz

Thanks for your help !

-- 
sysadmin & coder @ http://www.evilkittens.org/
coder@ http://www.exalead.com/


pgpNwPLIdpgel.pgp
Description: PGP signature