Re: grip 3.5.2

2017-08-07 Thread Steve Shockley

On 8/7/2017 5:36 AM, Landry Breuil wrote:

so audio/grip got a new upstream maintainer after 12 years of abandon
(http://www.solbu.net/english/tag/grip.html) - lots of patches merged
from various linux distros. I removed the patches disabling the help
menu as it seems to work just fine with yelp, im just not sure which
RUN_DEPENDS should be set now .. antoine ?

Steve, are you still using it ?


Sorry, haven't used it for quite some time.  If you need testers I'd be 
glad to reinstall it though.




More Squid

2011-12-01 Thread Steve Shockley
Per Brad's suggestion, I now have a mostly functional port of Squid 3.2. 
 For Squid's error messages, it has a bunch of directories with files 
in a certain language (e.g. en) then several symlinks of variants of the 
language (e.g. en-ca, en-uk, en-us etc.).  I install the directories and 
symlinks to /usr/local/share/examples/squid/errors, then @sample them 
into /usr/local/share/squid/errors.  During pkg_add, when @sample tries 
to copy the symlinks, it winds up with a 0 byte file instead.  The 
installed symlinks in examples/squid are correct.  Is there a better way 
to install symlinks?




Re: Some font ports

2011-05-14 Thread Steve Shockley

On 5/4/2011 10:48 PM, Anthony J. Bentley wrote:


Attached are ports for some fonts I like to use.


That's an interesting angle with msctfonts, extracting the files from 
powerpointviewer.  You may want to identify that they're different from 
msttcorefonts.




Re: [new port] games/supertuxkart

2010-10-05 Thread Steve Shockley

On 10/5/2010 8:48 AM, Jim Razmus wrote:

But you're in _last_ place and not even moving!  Come back when you're
winning.


Performance isn't everything; it's impossible to steal his car.



Re: mail/courier-imap

2010-04-02 Thread Steve Shockley

On 3/30/2010 6:45 AM, Marcus Glocker wrote:

 From my point of view that would make sense, since the 4.6.0 package
is broken by default, except someone really runs FAM which is not
the common case I think.  Also fixes the annyoing imapd(8) man page
problem.


Is there any advantage to FAM/gamin on OpenBSD?  It seemed like a good 
idea when I first read about it, but now i see it probably runs in 
polling mode on non-Linux machines, which would seem to defeat the point.


The nmap port's fix for the man page problem seems like a cleaner way to 
fix it than patches, but that may be irrelevant now that it's fixed 
upstream.




Re: UPDATE: net/nmap

2010-03-22 Thread Steve Shockley

On 3/22/2010 7:00 AM, Giovanni Bechis wrote:

Update to latest version, comments ? ok ?
Cheers
Giovanni


It appears they rebuilt the man pages with a newer docbook, can we 
remove prepman.sh?




pear updates: Net_IMAP, Net_SMTP, Auth_SASL

2010-03-17 Thread Steve Shockley

These diffs update three pear packages to their current versions.

pear-Auth-SASL fixes a security bug (random number seeding, 
http://pear.php.net/bugs/14671).  The others appear to be just normal 
bugfixes.


http://conveyor.shockley.net/ports/net-pear-Net-IMAP-1.1.0.diff
http://conveyor.shockley.net/ports/net-pear-Net-SMTP-1.4.1.diff
http://conveyor.shockley.net/ports/security-pear-Auth-SASL-1.0.4.diff



[NEW] pear Image_{Canvas,Color,Graph), Net_POP3, Numbers_{Roman,Words}

2010-03-17 Thread Steve Shockley
Several new pear packages, which are used in the Maia Mailguard port I'm 
working on.  Comments and suggestions welcome.


http://conveyor.shockley.net/ports/graphics-pear-Image-Canvas-0.3.2.tgz
http://conveyor.shockley.net/ports/graphics-pear-Image-Color-1.0.3.tgz
http://conveyor.shockley.net/ports/graphics-pear-Image-Graph-0.7.2.tgz
http://conveyor.shockley.net/ports/net-pear-Net-POP3-1.3.7.tgz
http://conveyor.shockley.net/ports/textproc-pear-Numbers-Roman-1.0.2.tgz
http://conveyor.shockley.net/ports/textproc-pear-Numbers-Words-0.16.1.tgz



RFC: Courier MTA 0.64.1

2010-03-17 Thread Steve Shockley
This is a port of the Courier-MTA software, which includes Courier-IMAP, 
maildrop and SqWebMail as well as a mail server.  Please review; if 
possible I'd like to polish this into something commit-worthy.


http://conveyor.shockley.net/ports/mail-courier-0.64.1.tgz



WIP: Maia Mailguard

2010-03-17 Thread Steve Shockley
This port is for Maia Mailguard, a mail filtering program based on 
amavisd-new with an easy-to-use web interface for end-users to manage spam.


http://www.maiamailguard.com/maia/wiki/AboutMaia

I don't consider this finished because I need to write installation 
documentation (the web site has important information scattered between 
the documentation and HOWTOs), and I need to make it work in the chroot 
(which may be difficult given its long list of dependencies).  Aside 
from that, any comments on how I can improve the port would be appreciated.


http://conveyor.shockley.net/ports/mail-mailguard-1.0.2a.tgz



RFC: www/pear 1.9.0

2010-03-16 Thread Steve Shockley

http://conveyor.shockley.net/ports/www-pear-1.9.0.diff

This diff updates PEAR to 1.9.0.  I've done some light testing, but 
additional testing (and corrections) would be appreciated.


Notable changes (from the 1.8.0alpha1 changelog):

Functions that have been deprecated for 3+ years in PEAR_Common, please 
take a moment to migrate over to one of the alternatives that have ben 
provided:

* PEAR_Common-downloadHttp (use PEAR_Downloader-downloadHttp instead)
* PEAR_Common-infoFromTgzFile (use PEAR_PackageFile-fromTgzFile instead)
* PEAR_Common-infoFromDescriptionFile (use 
PEAR_PackageFile-fromPackageFile instead)

* PEAR_Common-infoFromString (use PEAR_PackageFile-fromXmlstring instead)
* PEAR_Common-infoFromArray (use PEAR_PackageFile-fromAnyFile instead)
* PEAR_Common-xmlFromInfo (use a PEAR_PackageFile_v* object's generator 
instead)
* PEAR_Common-validatePackageInfo (use the validation of 
PEAR_PackageFile objects)

* PEAR_Common-analyzeSourceCode (use a PEAR_PackageFile_v* object instead)
 PEAR_Common-detectDependencies (use 
PEAR_Downloader_Package-detectDependencies instead)
* PEAR_Common-buildProvidesArray (use 
PEAR_PackageFile_v1-_buildProvidesArray or

PEAR_PackageFile_v2_Validator-_buildProvidesArray)

PHP 4.4 and 5.1.6 are now the minimum PHP requirements, for brave souls
pear upgrade -f PEAR will allow people with lower versions to upgrade to 
this release but no guarantees will be made that it will work properly.


Support for XML RPC channels has been dropped - The only ones that used 
it (pear.php.net and pecl.php.net) have used the REST interface for 
years now. SOAP support also removed as it was only proof of concept.


Move codebase from the PHP License to New BSD 2 clause license



PEAR module port question

2010-02-15 Thread Steve Shockley

Should the PLIST for PEAR modules contain lines like:

lib/
lib/php/
pear/doc/

It seems unlikely the port would create these directories, so it seems 
equally unlikely that the port should remove them when uninstalling.




Re: Hiawatha suid program and OpenBSD 4.5 don't want work!!!

2009-09-14 Thread Steve Shockley
On 9/14/2009 2:00 PM, Marco Spiga wrote:
 Anyone of you have tested hiawatha suid program over OpenBSD 4.5?

No, but note that /var is mounted nosuid by default.



Re: Fedora Liberatoin fonts

2009-05-06 Thread Steve Shockley

On 5/6/2009 1:17 AM, Mathieu Sauve-Frankel wrote:

I was thinking we could potential remove Times New Roman, Courier New and Arial
from the msttcorefonts package and make msttcorefonts depend on this instead


I don't know if mixing dramatically different licenses in one package 
makes sense.  You get all the disadvantages of core fonts (restrictive 
license) and all the disadvantages of Liberation (maybe a different 
typeface than you expect).




Re: msttcorefonts fontconfig workaround

2009-05-04 Thread Steve Shockley

On 5/4/2009 2:12 PM, frantisek holop wrote:

now i will have to override an override to get the expected
behaviour.


What's the expected behavior when you have both msttcorefonts and 
liberation-fonts installed?




Re: CPAN fetcher broken?

2009-01-26 Thread Steve Shockley

On 1/26/2009 6:10 AM, Toni Mueller wrote:

Yes. The joys of cutpaste... In any case, I'm a bit undecided about
what that license actually is. The terms are somehwere between BSD and
beerware, from my perspective, but he ask something much larger than a
beer.


From the looks of idiom.com, they've been bought and the author no 
longer owns it.  Perhaps he'd be amenable to changing the license to 
something more... standard.




Re: cups-enable

2008-12-13 Thread Steve Shockley

On 12/12/2008 2:40 PM, Jacob Meuser wrote:

Who knows about -M?  I'm serious.  I've never used that option before,
and it's totally nonobvious that I should look through the man page to
find it.


uh, you're saying it's totally nonobvious that people should read the
manuals of tools they are using?


In my case, I didn't know it existed, I always just looked at the + 
files in /var/db/pkg (which is far less intuitive than -M, but I already 
knew they were there).


Perhaps pkg_info packagename should note the existence of a 
README.OpenBSD if one exists?




Re: ff3

2008-12-10 Thread Steve Shockley

On 12/10/2008 12:36 PM, Marco Peereboom wrote:

Right because I would totally touch a random directory that I don't even
know what it is for.  You guys crack me up with this attitude.


Please read http://openbsd.org/report.html, the first paragraph under 
How to create a problem report.




Re: Update: grip

2008-09-02 Thread Steve Shockley

Jasper Lievisse Adriaanse wrote:

steve,

it seems my private mail to you didn't make it to you, so let's try
it here :)

please find attached an update for grip to the latest version. could
you integrate the patch below into the update and review it?


Thanks, I did get your message and I started working on it, but grip 
3.3.1 has more 64-bit type conversion issues I'm having some difficulty 
fixing.  I'm not sure it makes sense to commit fixes for LP64 bugs along 
with a version update that introduces new ones.




Update: grip

2008-08-25 Thread Steve Shockley

Sent to misc by mistake.

 Original Message 
Subject: Update: grip
Date: Sun, 24 Aug 2008 23:39:38 -0400
From: Steve Shockley [EMAIL PROTECTED]
To: Misc [EMAIL PROTECTED]

This patch to grip fixes some remaining 64-bit type conversion issues.
Please review for sanity and test if possible.

Index: Makefile
===
RCS file: /cvs/ports/audio/grip/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- Makefile15 Jun 2008 00:04:50 -  1.30
+++ Makefile25 Aug 2008 01:35:15 -
@@ -3,7 +3,7 @@
 COMMENT=   front-end to external cd audio rippers and mp3 encoders
 
 DISTNAME=  grip-3.2.0
-PKGNAME=   ${DISTNAME}p10
+PKGNAME=   ${DISTNAME}p11
 CATEGORIES=audio
 
 HOMEPAGE=  http://www.nostatic.org/grip/
Index: patches/patch-src_discedit_c
===
RCS file: patches/patch-src_discedit_c
diff -N patches/patch-src_discedit_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_discedit_c25 Aug 2008 01:35:15 -
@@ -0,0 +1,46 @@
+$OpenBSD$
+--- src/discedit.c.origThu Jul 10 20:38:33 2008
 src/discedit.c Thu Jul 10 21:38:34 2008
+@@ -135,7 +135,7 @@ GtkWidget *MakeEditBox(GripInfo *ginfo)
+   id3_genre_count++) {
+ item = gtk_list_item_new_with_label(id3_genre-name);
+ gtk_object_set_user_data(GTK_OBJECT(item),
+-   (gpointer)(id3_genre-num));
++   GINT_TO_POINTER(id3_genre-num));
+ uinfo-id3_genre_item_list=g_list_append(uinfo-id3_genre_item_list,item);
+ gtk_signal_connect(GTK_OBJECT(item),select,
+  GTK_SIGNAL_FUNC(ID3GenreChanged),
+@@ -480,7 +480,7 @@ static void ID3GenreChanged(GtkWidget *widget,gpointer
+ 
+   ginfo=(GripInfo *)data;
+ 
+-  
ginfo-ddata.data_id3genre=(int)gtk_object_get_user_data(GTK_OBJECT(widget));
++  
ginfo-ddata.data_id3genre=GPOINTER_TO_INT(gtk_object_get_user_data(GTK_OBJECT(widget)));
+   /*  ginfo-ddata.data_genre=ID32DiscDB(ginfo-ddata.data_id3genre);*/
+ }
+ 
+@@ -512,7 +512,7 @@ static void SplitTitleArtist(GtkWidget *widget,gpointe
+   int mode;
+ 
+   ginfo=(GripInfo *)data;
+-  mode=(int)gtk_object_get_user_data(GTK_OBJECT(widget));
++  mode=GPOINTER_TO_INT(gtk_object_get_user_data(GTK_OBJECT(widget)));
+ 
+   for(track=0;trackginfo-disc.num_tracks;track++) {
+ if(mode==0)
+@@ -614,7 +614,7 @@ static void GetDiscDBGenre(GripInfo *ginfo)
+   for(genre=0;genre12;genre++) {
+ item=gtk_list_item_new_with_label(DiscDBGenre(genre));
+ gtk_object_set_user_data(GTK_OBJECT(item),
+-   (gpointer)genre);
++   GINT_TO_POINTER(genre));
+ gtk_signal_connect(GTK_OBJECT(item), select,
+  GTK_SIGNAL_FUNC(DiscDBGenreChanged),(gpointer)ginfo);
+ gtk_container_add(GTK_CONTAINER(GTK_COMBO(genre_combo)-list),item);
+@@ -659,5 +659,5 @@ static void DiscDBGenreChanged(GtkWidget *widget,gpoin
+ 
+   ginfo=(GripInfo *)data;
+ 
+-  ginfo-ddata.data_genre=(int)gtk_object_get_user_data(GTK_OBJECT(widget));
++  
ginfo-ddata.data_genre=GPOINTER_TO_INT(gtk_object_get_user_data(GTK_OBJECT(widget)));
+ }


Re: Courier-IMAP brings down system when searching Entire Message

2008-07-26 Thread Steve Shockley

Marc Balmer wrote:

Indeed,  I will try to test an update soon.


I have a moderately recent Courier-MTA port somewhere that may help. 
I'd be glad to update it if there's a chance of committal.




grip

2008-06-30 Thread Steve Shockley
Grip is one of the ports that's listed as having 64-bit issues.  The 
current stable version is 3.2.0, but the development version (3.3.1) 
was released over three years ago.  Should I just fix it, or update it 
to 3.3.1 and fix it?




Re: current or stable?

2008-05-01 Thread Steve Shockley

Daniel Thomas Nevistic wrote:

I am working on learning how to port, c. and am trying to figure out
which flavor of OpenBSD that I need to run. Does it need to be current
if I want to help with porting?


If you want a port to be committed, it needs to compile against -current.



Re: Fetching files

2008-03-09 Thread Steve Shockley

Antti Harri wrote:

How can I fetch files that contain ? and = characters in the filename?
The file was something like foo.tar.gz?format=raw


Use quotes around it?  It depends on the shell, the problem is that the 
shell is interpreting the special characters before handing it to your 
program.




Re: a simple cd encoder

2007-12-21 Thread Steve Shockley

Onat I. wrote:

i wrote a simple cd encoder. while there is abcde
in ports, it is bloated and requires cdparanoia
which is unnecessary since cdio can now rip cds.
i thought you might be interested.


Does cdio support any kind of secure ripping?



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: sysutils/smartmontools

2007-11-09 Thread Steve Shockley

Giovanni Bechis wrote:

Comments ? Ok ?


-share/doc/smartmontools-5.33/
+share/doc/smartmontools-5.37/

I'm not familiar with smartmontools, but wouldn't it make more sense to 
just make that share/doc/smartmontools/?




Re: 4.1-Stable and PHP 5

2007-07-26 Thread Steve Shockley

Paul Barbeau wrote:

Ok I have installed xbase41.tgz and it get further however I am still
getting an error.  Is there anything else I need to install? 


Thanks for any help you can give me


Why not:

pkg_add ftp://rt.fm/pub/OpenBSD/4.1/packages/i386/php5-core-5.1.6p1.tgz

?



errors during pkg_create

2007-07-16 Thread Steve Shockley
When running make -d l package on a port, it exits with an error, tail 
of compile below.


(Complete tail of compile below.)  I'm running 4.1-stable.  I've 
encountered this on courier-authlib and cabextract, but not on 
msttcorefonts.  Any suggestions?


Output of doing make -d l package after make fake is complete:

[/usr/ports/archivers/cabextract]# make -d l package
cd /usr/ports/archivers/cabextract  exec make _internal-package-only
mkdir -p /usr/ports/packages/i386/all
cd /usr/ports/archivers/cabextract  exec make 
/usr/ports/archivers/cabextract/w-cabextract-1.1/fake-i386/.fake_done 
/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/DESCR- 
/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/COMMENT-
`/usr/ports/archivers/cabextract/w-cabextract-1.1/fake-i386/.fake_done' 
is up to date.
sed -e 's,${FLAVORS},,g' -e 's,$\\,$,g' -e 's|${MACHINE_ARCH}|i386|g' -e 
's|${ARCH}|i386|g' -e 
's|${HOMEPAGE}|http://www.kyz.uklinux.net/cabextract.php3|g' -e 
's|${PREFIX}|/usr/local|g' -e 's|${SYSCONFDIR}|/etc|g' -e 
's|${FLAVOR_EXT}||g' -e 's|${MAINTAINER}|Steve Shockley 
[EMAIL PROTECTED]|g' -e 
's|${BASE_PKGPATH}|archivers/cabextract|g' 
/usr/ports/archivers/cabextract/pkg/DESCR 
/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/DESCR-.tmp  mv 
-f /usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/DESCR-.tmp 
/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/DESCR-
echo \nMaintainer: Steve Shockley [EMAIL PROTECTED] 
/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/DESCR-
fgrep -q '${HOMEPAGE}' /usr/ports/archivers/cabextract/pkg/DESCR || echo 
\nWWW: http://www.kyz.uklinux.net/cabextract.php3; 
/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/DESCR-
echo Extracts files from Microsoft CAB archives 
/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/COMMENT-

echo ===  Building package for cabextract-1.1
===  Building package for cabextract-1.1
echo Create /usr/ports/packages/i386/all/cabextract-1.1.tgz
Create /usr/ports/packages/i386/all/cabextract-1.1.tgz
cd /usr/ports/archivers/cabextract   deps=`SUBPACKAGE=- make 
_print-package-args`   if  /usr/sbin/pkg_create `echo $deps|sort -u` 
  -DSHARED_LIBS=1 -DFLAVORS='' -B 
/usr/ports/archivers/cabextract/w-cabextract-1.1/fake-i386 
-DMACHINE_ARCH='i386' -DARCH='i386' 
-DHOMEPAGE='http://www.kyz.uklinux.net/cabextract.php3' 
-DPREFIX='/usr/local' -DSYSCONFDIR='/etc' -DFLAVOR_EXT='' 
-DMAINTAINER='Steve Shockley [EMAIL PROTECTED]' 
-DBASE_PKGPATH='archivers/cabextract' -DFULLPKGPATH=archivers/cabextract 
-DPERMIT_PACKAGE_CDROM=Yes -DPERMIT_PACKAGE_FTP=Yes -c 
'/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/COMMENT-' -d 
/usr/ports/archivers/cabextract/w-cabextract-1.1/pkg/DESCR- -f 
/usr/ports/archivers/cabextract/pkg/PLIST -p /usr/local -A'i386' 
/usr/ports/packages/i386/all/cabextract-1.1.tgz; then  mode=`id -u`:`id 
-g`;  /usr/sbin/chown ${mode} 
/usr/ports/packages/i386/all/cabextract-1.1.tgz;  if : 
/usr/ports/packages/i386/all/cabextract-1.1.tgz; then  exit 0;  fi;  fi 
   make _internal-clean=package   exit 1
/usr/sbin/pkg_create: Exactly one single package name is required: 
d='c'; listlibs='echo $shdir/lib*'; case $d in /*) shdir=${d%/*}/;; 
*/*) shdir=/usr/local/${d%/*};; *) shdir=/usr/local/lib; 
listlibs=$listlibs /usr/lib/libasn1.a /usr/lib/libasn1.so.16.0 
/usr/lib/libasn1_p.a /usr/lib/libasn1_pic.a /usr/lib/libbfd.a 
/usr/lib/libbfd.la /usr/lib/libc.a /usr/lib/libc.so.39.3 
/usr/lib/libc.so.40.3 /usr/lib/libc_p.a /usr/lib/libc_pic.a 
/usr/lib/libcom_err.a /usr/lib/libcom_err.so.16.0 
/usr/lib/libcom_err_p.a /usr/lib/libcom_err_pic.a /usr/lib/libcompat.a 
/usr/lib/libcompat_p.a /usr/lib/libcrypto.a /usr/lib/libcrypto.so.13.0 
/usr/lib/libcrypto_p.a /usr/lib/libcrypto_pic.a /usr/lib/libcurses.a 
/usr/lib/libcurses.so.10.0 /usr/lib/libcurses_p.a 
/usr/lib/libcurses_pic.a /usr/lib/libdes.a /usr/lib/libdes.so.9.0 
/usr/lib/libdes_p.a /usr/lib/libdes_pic.a /usr/lib/libedit.a 
/usr/lib/libedit.so.3.0 /usr/lib/libedit_p.a /usr/lib/libedit_pic.a 
/usr/lib/libevent.a /usr/lib/libevent.so.1.3 /usr/lib/libevent_p.a 
/usr/lib/libevent_pic.a /usr/lib/libfl.a /usr/lib/libfl_p.a 
/usr/lib/libform.a /usr/lib/libform.so.3.0 /usr/lib/libform_p.a 
/usr/lib/libform_pic.a /usr/lib/libfrtbegin.a /usr/lib/libfrtbegin_p.a 
/usr/lib/libfrtbegin_pic.a /usr/lib/libg2c.a /usr/lib/libg2c.so.8.1 
/usr/lib/libg2c_p.a /usr/lib/libg2c_pic.a /usr/lib/libgssapi.a 
/usr/lib/libgssapi.so.5.0 /usr/lib/libgssapi_p.a 
/usr/lib/libgssapi_pic.a /usr/lib/libhdb.a /usr/lib/libhdb_p.a 
/usr/lib/libi386.a /usr/lib/libi386_p.a /usr/lib/libiberty.a 
/usr/lib/libiberty.so.8.0 /usr/lib/libiberty_p.a 
/usr/lib/libiberty_pic.a /usr/lib/libkadm5clnt.a 
/usr/lib/libkadm5clnt_p.a /usr/lib/libkadm5clnt_pic.a 
/usr/lib/libkadm5srv.a /usr/lib/libkadm5srv_p.a 
/usr/lib/libkadm5srv_pic.a /usr/lib/libkafs.a /usr/lib/libkafs.so.16.0 
/usr/lib/libkafs_p.a /usr/lib/libkafs_pic.a /usr/lib/libkeynote.a 
/usr/lib/libkeynote_p.a /usr/lib/libkrb5.a /usr/lib/libkrb5.so.16.0 
/usr/lib

Update: p5-Crypt-OpenSSL-RSA

2007-01-15 Thread Steve Shockley

The README file in the p5-Crypt-OpenSSL-RSA package contains a license:

Copyright (c) 2001-2003 Ian Robertson.  Crypt::OpenSSL::RSA is free
software; you may redistribute it and/or modify it under the same
terms as Perl itself.

Index: Makefile
===
RCS file: /cvs/ports/security/p5-Crypt-OpenSSL-RSA/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile27 Dec 2004 13:28:34 -  1.5
+++ Makefile14 Jan 2007 20:16:22 -
@@ -13,10 +13,10 @@
 
 MAINTAINER=Wesley Griffin [EMAIL PROTECTED]
 
-PERMIT_PACKAGE_CDROM=  No license
-PERMIT_PACKAGE_FTP=No license
-PERMIT_DISTFILES_CDROM=No license
-PERMIT_DISTFILES_FTP=  No license
+PERMIT_PACKAGE_CDROM=  Yes
+PERMIT_PACKAGE_FTP=Yes
+PERMIT_DISTFILES_CDROM=Yes
+PERMIT_DISTFILES_FTP=  Yes
 WANTLIB=   crypto ssl
 
 RUN_DEPENDS=   :p5-Crypt-OpenSSL-Random-=0.03:security/p5-Crypt-OpenSSL-Random



Problems with .registry in PEAR

2007-01-15 Thread Steve Shockley

If you look at the .registry file in pear-DB-1.6.8p0.tgz, you might
notice that it lists the path as (for example)
/usr/obj/i386/pear-DB-1.6.8p0/fake-i386/var/www/pear/lib/DB/common.php,
which of course doesn't exist on my system.  This causes a problem with
some apps, as documented at
http://www.maiamailguard.com/maia/ticket/306.  I was able to work around
this by running:

pear install --nodeps --soft --force
/usr/ports/databases/pear-DB/w-pear-DB-1.7.6/DB-1.7.6/package.xml

(I had upgraded the port to 1.7.6 trying to diagnose this problem.)
This seems similar to what Fedora is doing
(http://cvs.fedora.redhat.com/lxr/extras/source/devel/php-pear-DB/php-pear-DB.spec 


in %post); should OpenBSD's PEAR module installer do the same?  I'm not
sure how this would be best implemented, since it seems to affect all
PEAR modules.



Re: PATCH: sunsite.org.uk

2007-01-09 Thread Steve Shockley

Jim Razmus wrote:

Todo: someone needs to address the net/mirror port.


Been meaning to do that.  I left the original site in there in case it 
comes back to life.
? w-mirror-2.9
Index: Makefile
===
RCS file: /cvs/ports/net/mirror/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile22 Sep 2003 22:53:37 -  1.18
+++ Makefile10 Jan 2007 02:40:05 -
@@ -5,10 +5,10 @@
 DISTNAME=  mirror-2.9
 CATEGORIES=net
 
-MASTER_SITES=  ftp://sunsite.org.uk/packages/mirror/ \
-   ftp://ftp.cs.columbia.edu/archives/perl/mirror/ \
-   ftp://giswitch.sggw.waw.pl/pub/unix/mirror/  \
-   ftp://SunSITE.sut.ac.jp/pub/archives/packages/mirror/
+MASTER_SITES=  ftp://sunsite.cnlab-switch.ch/mirror/mirror \
+   http://personainternet.linux.tucows.com/files \
+   http://epix.linux.tucows.com/files \
+   ftp://sunsite.org.uk/packages/mirror
 
 HOMEPAGE=  http://sunsite.org.uk/packages/mirror/
 


Re: How much space is needed for bulk build on i386?

2006-12-22 Thread Steve Shockley

Frank Denis wrote:

$ du -sh packages
5.2Gpackages


So, that would mean that a bulk build would need ~10G in /usr/ports? 
That's useful to know.




Re: kde and obsd

2006-08-25 Thread Steve Shockley

Jasper Lievisse Adriaanse wrote:
Why not pkg_add kde* ? 


Personally, I don't want to install all the kde-i18n-??.



Re: Remove package and all its deps recurs.

2006-06-30 Thread Steve Shockley

Tomasz Zielinski wrote:


How can I remove package and all its dependencies recursively? In FreeBSD there 
is such tool: portupgrade/pkg_deinstall (pkg_deinstall -R). Any replacement in 
OpenBSD?


I'm not familiar with FreeBSD's tools, but pkg_delete -F dependencies 
may do what you want.  Check the other -F options in the man page if 
it's not what you want.




Segfault installing scrollkeeper on amd64

2006-02-12 Thread Steve Shockley
Installing grip from packages, I get a coredump while installing the 
scrollkeeper dependency.  Oddly enough, the install is marked as 
successful, and the installation continues.  Can anyone else reproduce 
this, or is it just my machine?


Uninstalling docbook (the previous dependent package):

[EMAIL PROTECTED] [~]: sudo pkg_delete -F dependencies docbook
Can't remove docbook without also removing:
scrollkeeper-0.3.14p1 grip-3.2.0p1 yelp-2.6.5p0
(removing them as well)
grip-3.2.0p1: complete
yelp-2.6.5p0: complete
scrollkeeper-0.3.14p1: complete
docbook-4.2p2: complete
Clean shared items: complete
--- scrollkeeper-0.3.14p1 ---
You should also run rm -rf /var/db/scrollkeeper/
You should also run rm -f /var/log/scrollkeeper.log*

Installing grip:

[EMAIL PROTECTED] [~]: sudo pkg_add -v grip
Error from ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/:
Unknown command.
parsing grip-3.2.0p1
Dependencies for grip-3.2.0p1 resolve to: id3lib-3.8.3p1, 
cdparanoia-3.a9.8p0, curl-7.15.1, yelp-2.6.5p0, libiconv-1.9.2p3, 
vorbis-tools-1.1.1, gettext-0.14.5p1, vte-0.11.12p2, libgnomeui-2.10.1p1 
(todo: yelp-2.6.5p0)

grip-3.2.0p1:parsing yelp-2.6.5p0
Dependencies for yelp-2.6.5p0 resolve to: gettext-0.14.5p1, 
docbook-dsssl-1.72, scrollkeeper-0.3.14p1, libgnomeui-2.10.1p1, 
libgtkhtml-2.6.3p0, libxslt-1.1.12p3, libiconv-1.9.2p3 (todo: 
scrollkeeper-0.3.14p1)

grip-3.2.0p1:parsing scrollkeeper-0.3.14p1
Dependencies for scrollkeeper-0.3.14p1 resolve to: gettext-0.14.5p1, 
docbook-4.2p2, libxml-2.6.16p7, libxslt-1.1.12p3, libiconv-1.9.2p3 
(todo: docbook-4.2p2)

grip-3.2.0p1:parsing docbook-4.2p2
Dependencies for docbook-4.2p2 resolve to: docbook-dsssl-1.72, 
libxml-2.6.16p7, iso8879-1986

grip-3.2.0p1:docbook-4.2p2: complete

 Here's the error:
installed /etc/scrollkeeper.conf from 
/usr/local/share/examples/scrollkeeper/scrollkeeper.conf   | 21%

Segmentation fault (core dumped)
grip-3.2.0p1:scrollkeeper-0.3.14p1: complete


found libspec ORBit-2.0.0 in dependent package ORBit2-2.12.2p1
found libspec art_lgpl_2.5.17 in dependent package libart-2.3.17
found libspec atk-1.0.1011.3 in dependent package atk-1.10.3p1
found libspec audiofile.0.2 in dependent package libaudiofile-0.2.6p0
found libspec bonobo-2.0.0 in dependent package libbonobo-2.10.1p0
found libspec bonoboui-2.0.0 in dependent package libbonoboui-2.10.1p1
found libspec bz2.10.3 in dependent package bzip2-1.0.3
found libspec cairo.4.3 in dependent package cairo-1.0.2p0
found libspec esd.2.34 in dependent package esound-0.2.34p0
found libspec gailutil.17.3 in dependent package gail-1.8.5p1
found libspec gconf-2.5.0 in dependent package gconf2-2.10.1p1
found libspec gcrypt.12.1 in dependent package libgcrypt-1.2.0p0
found libspec gdk-x11-2.0.801.0 in dependent package gtk+2-2.6.10p1
found libspec glade-2.0.0.7 in dependent package libglade2-2.5.1p4
found libspec glib-2.0.800.4 in dependent package glib2-2.8.4
found libspec glitz.1.0 in dependent package glitz-0.4.4
found libspec gnome-2.1000.0 in dependent package libgnome-2.10.0p0
found libspec gnome-keyring.0.1 in dependent package gnome-keyring-0.4.4p1
found libspec gnomecanvas-2.1000.2 in dependent package 
libgnomecanvas-2.10.2p1

found libspec gnomevfs-2.1000.1 in dependent package gnome-vfs2-2.10.1p0
found libspec gpg-error.1.4 in dependent package libgpg-error-1.1
found libspec jpeg.62.0 in dependent package jpeg-6bp3
found libspec pango-1.0.1001.1 in dependent package pango-1.10.2p0
found libspec png.4.2 in dependent package png-1.2.8
found libspec popt.0.3 in dependent package popt-1.7p0
found libspec xml2.9.0 in dependent package libxml-2.6.16p7
grip-3.2.0p1:yelp-2.6.5p0: complete
found libspec ORBit-2.0.0 in dependent package ORBit2-2.12.2p1
found libspec art_lgpl_2.5.17 in dependent package libart-2.3.17
found libspec atk-1.0.1011.3 in dependent package atk-1.10.3p1
found libspec bonobo-2.0.0 in dependent package libbonobo-2.10.1p0
found libspec bonoboui-2.0.0 in dependent package libbonoboui-2.10.1p1
found libspec gconf-2.5.0 in dependent package gconf2-2.10.1p1
found libspec gdk-x11-2.0.801.0 in dependent package gtk+2-2.6.10p1
found libspec glib-2.0.800.4 in dependent package glib2-2.8.4
found libspec gnome-2.1000.0 in dependent package libgnome-2.10.0p0
found libspec gnomecanvas-2.1000.2 in dependent package 
libgnomecanvas-2.10.2p1

found libspec gnomevfs-2.1000.1 in dependent package gnome-vfs2-2.10.1p0
found libspec pango-1.0.1001.1 in dependent package pango-1.10.2p0
found libspec popt.0.3 in dependent package popt-1.7p0
found libspec xml2.9.0 in dependent package libxml-2.6.16p7
grip-3.2.0p1: complete

[EMAIL PROTECTED] [~]: uname -a
OpenBSD cheep.shockley.net. 3.9 GENERIC#437 amd64



Sound on KDE in -current

2006-02-08 Thread Steve Shockley
I just installed 3.9-current and KDE on an IBM Thinkpad A31p (fresh 
install).  When any sounds play in KDE, they kind of skip, it sounds 
like short sections repeat while the sound is playing.  This machine 
previously (some time ago) had 3.8 and KDE 3.4 installed and the sound 
worked fine.  I've tried checking Run with the highest possible 
priority (realtime priority) and increasing the sound buffer to as 
large as possible with no effect.  I found a web page that suggested 
turning off full duplex to solve this problem (under FreeBSD), the 
default was already off; turning it on stopped sound from working at 
all.  Any suggestions?  Dmesg is below, in case it's relevant.


OpenBSD 3.9-beta (GENERIC) #598: Tue Feb  7 17:39:56 MST 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz (GenuineIntel 
686-class) 1.70 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM

real mem  = 1072734208 (1047592K)
avail mem = 972128256 (949344K)
using 4278 buffers containing 53739520 bytes (52480K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(38) BIOS, date 04/05/05, BIOS32 rev. 0 @ 0xfd7e0
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 77%
apm0: AC on, battery charge high, charging
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd770/0x890
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000 
0xdc000/0x4000! 0xe/0x1

cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82845 Host rev 0x04
ppb0 at pci0 dev 1 function 0 Intel 82845 AGP rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor ATI, unknown product 0x4c58 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 Intel 82801CA/CAM USB rev 0x02: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801CA/CAM USB rev 0x02: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801CA/CAM USB rev 0x02: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x42
pci2 at ppb1 bus 2
cbb0 at pci2 dev 0 function 0 Ricoh 5C476 CardBus rev 0xa8: irq 11
cbb1 at pci2 dev 0 function 1 Ricoh 5C476 CardBus rev 0xa8: irq 11
Ricoh 5C552 Firewire rev 0x00 at pci2 dev 0 function 2 not configured
wi0 at pci2 dev 2 function 0 Intersil PRISM2.5 rev 0x01: irq 11
wi0: PRISM2.5 ISL3874A(Mini-PCI) (0x8013), Firmware 1.1.0 (primary), 
1.4.2 (station), address 00:20:e0:8b:af:8b
fxp0 at pci2 dev 8 function 0 Intel PRO/100 VE rev 0x42, i82562: irq 
11, address 00:d0:59:c0:15:e7

inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 4 device 0 cacheline 0x0, lattimer 0xb0
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 Intel 82801CAM LPC rev 0x02: SpeedStep
pciide0 at pci0 dev 31 function 1 Intel 82801CAM IDE rev 0x02: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility

wd0 at pciide0 channel 0 drive 0: HTS721060G9AT00
wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MATSHITA, UJDA720 DVD/CDRW, 1.03 SCSI0 
5/cdrom removable

cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 Intel 82801CA/CAM SMBus rev 0x02: irq 11
iic0 at ichiic0
auich0 at pci0 dev 31 function 5 Intel 82801CA/CAM AC97 rev 0x02: irq 
11, ICH3 AC97

ac97: codec id 0x41445348 (Analog Devices AD1881A)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at auich0
Intel 82801CA/CAM Modem rev 0x02 at pci0 dev 31 function 6 not configured
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt2 at isa0 port 0x3bc/4: polled
npx0 at isa0 port 0xf0/16: using exception 16
fdc0 at isa0 

Re: Courier-Authlib, Courier-MTA

2005-12-26 Thread Steve Shockley

Toni Mueller wrote:

I'm underway mangling that into a similar structure as eg. have the
Python or PHP ports:

mail/courier
/authlib
/imap
/sqwebmail


That's a tossup for me, although there's the argument that 
courier-authlib should go under security instead of mail, since it's not 
really a mail program.  We also want to avoid confusion between 
courier-imap and courier-mta, since there's no reason to build the whole 
courier-mta if all you want is the imap/pop3 part.



(would do for me, and have a unified structure for the whole beast, but
you probably also want)

/mta
/pop3
/... ?


They're subpackages, so they really don't need their own directory.


The uid mentioned above must exist at build time (ie, on both the build
system _and_ the target system), but I'm unsure about how to express
that - unless there'd be a fake package that contains only adding this
uid and gid, but do nothing else, and mention that as BUILD_DEPENDS and
RUN_DEPENDS.


I haven't tried patching configure_in and rebuilding configure, but 
building courier-authlib works fine if you give it a numeric uid and the 
user doesn't exist yet.  You don't have to worry about the user existing 
when you build/install courier-mta, since courier-authlib is a 
dependency and will create the user if needed.




Re: Mozilla Firefox 1.5rc1

2005-11-05 Thread Steve Shockley

Kurt Miller wrote:

Tested on sparc64 with remote X ok. Themes working ok, but
I haven't found an extension that is 1.5rc1 compatible.
Anyone know of one?


I haven't done any testing on OpenBSD yet, but I've used Adblock Plus 
and other extensions on FF 1.6a1, you just have to look for their devel 
versions.  If your favorite extension isn't updated yet, just unpack the 
xpi file (it's a zip file) and edit the .rdf (text file) to change the 
acceptable version range.




Courier-Authlib, Courier-MTA

2005-07-23 Thread Steve Shockley
I've updated my Courier-MTA and Courier-Authlib ports, linked below.
Please take a look and consider committing them, or let me know what I
should change to make them commit-worthy.

It currently creates user/group _courier, ID 601, but I'd be happy to
change that to an official one.

http://shockley.net/OpenBSD/courier-authlib-0.57-port.tgz
http://shockley.net/OpenBSD/courier-0.50.1-port.tgz



Re: hylafax in 3.7

2005-06-03 Thread Steve Shockley

Uwe Dippel wrote:

stands still in the 4.1.5 version; and still suffers from the same errors
as 2 years ago (see archive; search hylafax). What a pity ...
In between, Steve has sent two updates to 4.1.8 and 4.2.0 (Sept 04).


Try 4.2.1, it fixes a potential security vulnerability:
http://marc.theaimsgroup.com/?m=110546971307585

http://shockley.net/OpenBSD/hylafax-4.2.1-port.tgz

Since I don't use HF any more, I can't really test it in production. 
Please let me know if it works for you.



Okay, I didn't send an official patch file, but a complete description of
the errors; but I will do so again if desired.


Earlier versions of the port (and I think the in-tree one) had a link 
from /var to /usr/local; that was Ugly.  I think I fixed that in the 
4.2.0 port.



My wild guesses left: it must have something to do with fax and uucp
sitting on the same user-id (66). And the uninstall misses out something
here.


Does the Hylafax port install a fax user?  That doesn't sound right.  If 
it created a user it'd be named _fax and have uid = 500 anyway.



Here again the same gripe; for the last two years:
(and repeated until someone updates the port)


I removed a bunch of bashisms with 4.2.0, and removed some more with 
4.2.1.  Depending on Bash just to run a software setup script is silly.


The port also gives the wrong install message. It would have to be 


I read this part after I finished updating the port for 4.2.1.  I'll add 
your startup script and cron suggestions in later.  A couple of the 
other issues are addressed in the newer install message.