Thanks for good advice!

-SHARED_ONLY
-Disable-static
-regenerate patches
-Paths using correct vars
-Lowercase comments
I'll change them.

>> is gnu libtool just for m4 files for autoconf/automake, or something else?
No.

>> RUN_DEPENDS=            net/GeoIP

>> are you sure this is only a run dependency, not a LIB_DEPENDS or 
>> BUILD_DEPENDS?

Yes. Gdnsd also works without GeoDB. You could also "buy" some fancy 
MaxmindGeoDB.
A GeoDB is only needed, if you want to use the GdnsdPluginGeoip.

Regarding liburcu. I'm currently testing the performance benefits achieved by 
using liburcu.
I just added liburcu as flavor, because I was not sure if liburcu will build on 
other platforms,
So other people could test (cause I am lacking the hardware).

The plan is simple. If liburcu adds some benefit and works well (on all 
platforms),
I'll put it into the port as default. Maybe adding a flavor "without-liburcu".
If not… just drop it.
Don't know. Just thinking loud. What do you think? Any advice?

--
Samuel Streiner
[email protected]




Am 07.04.2014 um 18:12 schrieb Stuart Henderson <[email protected]>:

> On 2014/04/07 17:09, Stuart Henderson wrote:
>> On 2014/04/07 17:44, Joerg Jung wrote:
>>> On Mon, Apr 07, 2014 at 02:43:43PM +0200, Samuel Streiner wrote:
>>> 
>>>> Please find attached a new port of gdnsd - geographic dns daemon
>>>> 
>>>> Please note that the gdnsd port has a flavor liburcu, witch adds a 
>>>> dependency
>>>> (devel/liburcu). This port (devel/liburcu) does not exist jet. Please note 
>>>> the second mail
>>>> [NEW] devel/liburcu. You will only need devel/liburcu if you use the 
>>>> liburcu flavor.
>>>> Per default gdnsd will be build using pthread.
>>>> 
>>>> Feedback & Testing (also on other platforms than amd64&i386) welcome,
>>> 
>>> Works fine here on amd64. 
>>> IMHO this port is in a good shape and mostly ready. 
>>> If another ports developer gives an ok, I'm happy to commit this.
>>> 
>>> Thanks,
>>> Regards,
>>> Joerg
>>> 
>> 
>> Not tested, but from reading :-
>> 
>> - should be SHARED_ONLY and regen plists (merge pfrag.shared)
>> - static libraries for plugins not needed; try LIBTOOL_FLAGS= 
>> --tag=disable-static
>> - .la files for plugins probably not needed, try rm'ing in post-install, but 
>> check it still works without
>> - DESCR is a bit of a mess
>> - patches should be generated with 'make update-patches'
>> 
>> CONFIGURE_ARGS+=        LIBEV_CFLAGS="-I/usr/local/include" \
>>                        LIBEV_LIBS="-L/usr/local/lib -lev" \
>>                                    ^^^^^^^^^^^^^^
>> should be ${LOCALBASE}
>>                        --with-rootdir=/var/gdnsd
>>                                       ^^^^
>> should be ${VARBASE}
>> 
>> BUILD_DEPENDS=          devel/libtool \
>>                        devel/ragel \
>>                        devel/autoconf/2.69 \
>>                        devel/automake/1.11
>> last 2 should be ${MODGNU_AUTOCONF_DEPENDS} and ${MODGNU_AUTOMAKE_DEPENDS}
>> 
>> is gnu libtool just for m4 files for autoconf/automake, or something else?
>> 
>> RUN_DEPENDS=            net/GeoIP
>> 
>> are you sure this is only a run dependency, not a LIB_DEPENDS or 
>> BUILD_DEPENDS?
>> 
>> COMMENT=                Authoritative-only GeoIP-aware DNS server
>> 
>> lowercase start of comment
>> 
>> gdnsd.rc: daemon="/usr/local/sbin/gdnsd", daemon_flags="-d /var/gdnsd"
>> should use ${TRUEPREFIX} and ${VARBASE}
>> 
> 
> Oh, another thing, is there really any point adding complexity by
> making liburcu optional? Either it's useful, in which case the port
> should just use it anyway, or it's not, in which case it should be
> dropped.
> 


Reply via email to