courier-authdaemond supposedly not running

2014-10-30 Thread Gareth de Vaux
Hey all, wondering if anyone else's noticed this? After an upgrade 
courier-authdaemond starts
fine, but the startup script then claims it isn't running. The script itself 
seems fine, and:

# /usr/local/etc/rc.d/courier-authdaemond status
courier_authdaemond is not running.
# cat /var/run/authdaemond/pid
1348
# ps 1348
  PID  TT  STAT  TIME COMMAND
 1348  10  I  0:00.00 /usr/local/sbin/courierlogger -facility=mail 
-pid=/var/run/authdaemond/pid -start 
/usr/local/libexec/courier-authlib/authdaemond
# ps | grep authdaemond
 1348  10- I  0:00.00 /usr/local/sbin/courierlogger -facility=mail 
-pid=/var/run/authdaemond/pid -start 
/usr/local/libexec/courier-authlib/authdaemond
 1349  10- I  0:00.00 /usr/local/libexec/courier-authlib/authdaemond
 1350  10- S  0:00.00 /usr/local/libexec/courier-authlib/authdaemond
 1351  10- S  0:00.00 /usr/local/libexec/courier-authlib/authdaemond
 1352  10- S  0:00.00 /usr/local/libexec/courier-authlib/authdaemond
 1353  10- I  0:00.00 /usr/local/libexec/courier-authlib/authdaemond
 1354  10- I  0:00.00 /usr/local/libexec/courier-authlib/authdaemond
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


krb5 missing dependency

2012-12-10 Thread Gareth de Vaux
Hi all, krb5 seems to require the openssl port but doesn't pull
it in at build:

# /usr/local/sbin/kdb5_util create -r XXX -s
/usr/local/lib/libgssrpc.so: Undefined symbol "gss_mech_krb5"


/usr/ports/security/krb5/Makefile:
WITH_OPENSSL_PORT=  yes


# pkg_info -r krb5-1.10.3_1
Information for krb5-1.10.3_1:

Depends on:
Dependency: libiconv-1.14
Dependency: gettext-0.18.1.1


# uname -a
FreeBSD XXX 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Feb 15 18:04:55 SAST 2012 
root@XXX:/usr/obj/usr/src/sys/GENERIC  i386



If I install the openssl port manually and rebuild krb5 then all is fine:

# pkg_info -r krb5-1.10.3_1
Information for krb5-1.10.3_1:

Depends on:
Dependency: openssl-1.0.1_4
Dependency: libiconv-1.14
Dependency: gettext-0.18.1.1
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: openntpd-5.7p4_2,2 depends on libressl-2.2.6 ?!

2016-12-23 Thread Gareth de Vaux
On Thu 2016-03-10 (19:17), Walter Schwarzenfeld wrote:
> Makefile
> OPTIONS_DEFAULT=RESSL
> 
> RESSL_LIB_DEPENDS=  libtls.so:${PORTSDIR}/security/libressl
> 
> 
> turn option RESSL to off.

I guess this is because it's a few months later but these lines are no
longer in the Makefile? (/usr/ports/net/openntpd/Makefile?)
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


postgresql-server fails with krb5 support

2014-04-03 Thread Gareth de Vaux
Hi all, postgresql93-server builds fine unless I add krb5 support
(MIT, but doesn't seem to matter). It fails with:

cc -O -pipe -DLDAP_DEPRECATED -Wall -Wmissing-prototypes -Wpointer-arith 
-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute 
-Wformat-security -fno-strict-aliasing -fwrapv initdb.o findtimezone.o 
localtime.o encnames.o  -L../../../src/port -L../../../src/common 
-L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/local/lib 
-L/usr/local/lib -L/usr/local/lib  -L/usr/local/lib -Wl,--as-needed 
-Wl,-R'/usr/local/lib'  -lpgport -lpgcommon -lxml2 -lssl -lcrypto -lkrb5 
-lcom_err -lz -lreadline -lcrypt -lm  -o initdb
initdb.o: In function `check_authmethod_unspecified':
initdb.c:(.text+0x27): undefined reference to `libintl_gettext'
initdb.o: In function `warn_on_mount_point':
initdb.c:(.text+0x4f): undefined reference to `libintl_gettext'
initdb.c:(.text+0x7b): undefined reference to `libintl_gettext'
initdb.c:(.text+0x99): undefined reference to `libintl_gettext'
initdb.o: In function `check_authmethod_valid':
initdb.c:(.text+0x130): undefined reference to `libintl_gettext'

etc

-lintl gets dropped from the compile line when -lkrb5 is added for some reason.


$ uname -a
FreeBSD imap1 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Thu Aug 16 13:53:45 
SAST 2012 root@imap1:/usr/obj/usr/src/sys/GENERIC  amd64
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


webalizer and symlinked logs

2012-10-22 Thread Gareth de Vaux
Hi all, I get the following when I try to run webalizer:

Error: Can't open log file /var/log/XXX (symlink)

which according to the changelog seems to be intended behaviour,
and doesn't seem configurable? How is webalizer's 'Incremental'
processing supposed to be handled other than writing a messy
wrapper script to inform webalizer of newly rotated log files?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: best way to bind webserver to port 80 without running as root

2012-01-04 Thread Gareth de Vaux
On Wed 2012-01-04 (02:10), Dino Vliet wrote:
> suddenly I'm facing this quest on freebsd 8. I need to bind my little 
> webserver running aolserver to port 80. In the past I was always using port 
> 8080 and had my router configured to forward requests on port 80 to the 
> server on port 8080. However, I am planning to host my little site on a 
> virtual server with a hosting company and figuredI can't use the workaround I 
> always used. So my question is, how to bind aolserver to port 80 without 
> running?as root as I understood ports below 1024 can only be used by root.
> I found a sysctl net.inet.ip.portrange.reservedhigh which enables me to set 
> it to 0. However, I don't know what the security ramifications are of using 
> that. Are there any other options I could consider?

Hi, if your server isn't able to bind as root and then drop its ownership
then you can just run the process on a higher port number and use something
like pf or portfwd to forward requests to port 80 to that higher port.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"