Re: Building dkimproxy on headless OpenBSD server with no X install sets

2015-03-12 Thread Gonzalo
Do you try with pkg_add -vi dkimproxy ?

irrc doesn't need X11
El mar 12, 2015 1:16 PM, Seth l...@sysfu.com escribió:

 I was going to build and configure dkimproxy for use with OpenSMTPD
 according to this guide [1] but got stopped cold by the following error:

 $ sudo make
 Fatal: /usr/local/lib/X11/app-defaults should exist and be a symlink
 *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2513
 '/usr/ports/pobj/dkimproxy-1.4.1/.extract_started':
 @appdefaults=/usr/local/...)
 *** Error 1 in /usr/ports/mail/dkimproxy (/usr/ports/infrastructure/mk/
 bsd.port.mk:2455 'all')

 The dkimproxy port apparently requires X11 OpenBSD install sets?

 I know that some people on this list help to finish up the OpenBSD port of
 dkimproxy [2], can anyone assist with getting it to build on a headless
 server with no X install sets present?

 [1] http://technoquarter.blogspot.com/2015/02/openbsd-mail-
 server-part-5-dkimproxy.html
 [2] http://www.mail-archive.com/ports%40openbsd.org/msg47873.html

 --
 You received this mail because you are subscribed to misc@opensmtpd.org
 To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org




Re: Building dkimproxy on headless OpenBSD server with no X install sets

2015-03-12 Thread Eric Ripa
I did the following on my X-less installation of OpenBSD 5.6

 - downloaded the two sets xetc56.tgz and xbase56.tgz
 - added the sets according to the FAQ 
http://www.openbsd.org/faq/faq4.html#AddFileSet 
http://www.openbsd.org/faq/faq4.html#AddFileSet
 - created the symlink as follows:
   /usr/local/lib/X11/app-defaults - /etc/X11/app-defaults

after doing so dkimproxy compiled and installed fine. I have not tried to 
remove the sets after installation however.


Eric Ripa




 On 2015-03-12, at 17:15, Seth l...@sysfu.com wrote:
 
 I was going to build and configure dkimproxy for use with OpenSMTPD according 
 to this guide [1] but got stopped cold by the following error:
 
 $ sudo make
 Fatal: /usr/local/lib/X11/app-defaults should exist and be a symlink
 *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2513 
 '/usr/ports/pobj/dkimproxy-1.4.1/.extract_started': 
 @appdefaults=/usr/local/...)
 *** Error 1 in /usr/ports/mail/dkimproxy 
 (/usr/ports/infrastructure/mk/bsd.port.mk:2455 'all')
 
 The dkimproxy port apparently requires X11 OpenBSD install sets?
 
 I know that some people on this list help to finish up the OpenBSD port of 
 dkimproxy [2], can anyone assist with getting it to build on a headless 
 server with no X install sets present?
 
 [1] 
 http://technoquarter.blogspot.com/2015/02/openbsd-mail-server-part-5-dkimproxy.html
 [2] http://www.mail-archive.com/ports%40openbsd.org/msg47873.html
 
 --
 You received this mail because you are subscribed to misc@opensmtpd.org
 To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: Building dkimproxy on headless OpenBSD server with no X install sets

2015-03-12 Thread Gonzalo
what are you talking about??

onzalo : /usr/ports sudo pkg_add -vi dkimproxy
Password:
Update candidates: quirks-2.54 - quirks-2.54
quirks-2.54 signed on 2015-03-08T12:33:05Z
dkimproxy-1.4.1p0:p5-Crypt-OpenSSL-Random-0.06p0: ok
dkimproxy-1.4.1p0:p5-Crypt-OpenSSL-Bignum-0.04p5: ok
dkimproxy-1.4.1p0:p5-Crypt-OpenSSL-RSA-0.28p0: ok
dkimproxy-1.4.1p0:p5-Net-DNS-0.82: ok
dkimproxy-1.4.1p0:p5-Time-TimeDate-2.30: ok
dkimproxy-1.4.1p0:p5-Mail-Tools-2.07: ok
dkimproxy-1.4.1p0:p5-Mail-DKIM-0.40p0: ok
dkimproxy-1.4.1p0:p5-Net-Server-2.008: ok
dkimproxy-1.4.1p0: ok
The following new rcscripts were installed: /etc/rc.d/dkimproxy_in
/etc/rc.d/dkimproxy_out
See rcctl(8) for details.
Extracted 2497432 from 2502874




2015-03-12 13:39 GMT-03:00 Daniel Pajonzeck li...@bitfactory.ws:

 On 12.03.2015 17:20, Gonzalo wrote:
  Do you try with pkg_add -vi dkimproxy ?

 You need to install from ports tree, there are no packages for dkimproxy

 --
 You received this mail because you are subscribed to misc@opensmtpd.org
 To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org




-- 
Enviado desde mi tostadora de mano...


Re: Building dkimproxy on headless OpenBSD server with no X install sets

2015-03-12 Thread Giovanni Bechis
On 03/12/15 17:42, Gonzalo wrote:
 what are you talking about??
 
 onzalo : /usr/ports sudo pkg_add -vi dkimproxy
 Password:
 Update candidates: quirks-2.54 - quirks-2.54
 quirks-2.54 signed on 2015-03-08T12:33:05Z

on 5.6 there is no package:

revision 1.323
date: 2015/02/16 18:10:21;  author: jasper;  state: Exp;  lines: +2 -1;  
commitid: L4dxY4PfIGmB6s3k;
hookup dkimproxy which seems to have been forgotten when originally imported

ok sthen@


 Giovanni

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Building dkimproxy on headless OpenBSD server with no X install sets

2015-03-12 Thread Seth

On Thu, 12 Mar 2015 09:54:52 -0700, Eric Ripa e...@stickybit.se wrote:


I did the following on my X-less installation of OpenBSD 5.6

 - downloaded the two sets xetc56.tgz and xbase56.tgz
 - added the sets according to the FAQ  
http://www.openbsd.org/faq/faq4.html#AddFileSet  
http://www.openbsd.org/faq/faq4.html#AddFileSet

 - created the symlink as follows:
   /usr/local/lib/X11/app-defaults - /etc/X11/app-defaults

after doing so dkimproxy compiled and installed fine. I have not tried  
to remove the sets after installation however.


Thank you, that solved the problem.

Commands used

$ ftp -o http://mirrors.sonic.net/openbsd/5.6/amd64/xetc56.tgz
$ ftp -o http://mirrors.sonic.net/openbsd/5.6/amd64/xbase56.tgz
$ sudo mv x*.tgz /; cd /
$ sudo pax -rvzf xetc56.tgz -p e
$ sudo pax -rvzf xbase56.tgz -p e
$ sudo ln -s /etc/X11/app-defaults  /usr/local/lib/X11/app-defaults
$ cd /usr/ports/mail/dkimproxy/; sudo make install

--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Building dkimproxy on headless OpenBSD server with no X install sets

2015-03-12 Thread Seth

On Thu, 12 Mar 2015 09:54:52 -0700, Eric Ripa e...@stickybit.se wrote:

 I have not tried  to remove the sets after installation however.


This command will remove the installation sets

$ pax -vzf xetc56.tgz | awk '{ print $9}'| sudo xargs rm -rf

Obviously test it out first somewhere where it won't trash your system.

$ cd ~
$ sudo pax -rvzf xetc56.tgz -p e
$ pax -vzf xetc56.tgz | awk '{ print $9}'| sudo xargs rm -rf

It leaves a few skeleton directories but that's it.

$ tree
.
|-- etc
|   |-- X11
|   |   |-- app-defaults
|   |   |-- fs
|   |   |-- twm
|   |   |-- xdm
|   |   |-- xinit
|   |   `-- xsm
|   `-- fonts
|   `-- conf.d
|-- usr

--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Building dkimproxy on headless OpenBSD server with no X install sets

2015-03-12 Thread Seth

On Thu, 12 Mar 2015 11:13:53 -0700, Seth l...@sysfu.com wrote:


On Thu, 12 Mar 2015 09:54:52 -0700, Eric Ripa e...@stickybit.se wrote:

 I have not tried  to remove the sets after installation however.


This command will remove the installation sets

$ pax -vzf xetc56.tgz | awk '{ print $9}'| sudo xargs rm -rf

Obviously test it out first somewhere where it won't trash your system.

$ cd ~
$ sudo pax -rvzf xetc56.tgz -p e
$ pax -vzf xetc56.tgz | awk '{ print $9}'| sudo xargs rm -rf


Ahem, DO NOT try this against the xbase56.tgz set, I did and it trashed my  
system. Thank the cybergodz for disk snapshots.


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org