Date: Mon, 21 Sep 2015 20:24:30 +0000 (UTC) From: Johan van Selst <johans@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r397518 - in head/news/inn: . files Message-ID: <201509212024.t8LKOUBA011008@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: johans Date: Mon Sep 21 20:24:30 2015 New Revision: 397518 URL: https://svnweb.freebsd.org/changeset/ports/397518 Log: Update to INN 2.6.0 http://www.eyrie.org/~eagle/software/inn/docs-2.6/news.html#S1 Deleted: head/news/inn/files/patch-configure Modified: head/news/inn/Makefile head/news/inn/distinfo head/news/inn/files/patch-lib_innconf.c head/news/inn/files/patch-storage_buffindexed_shmem.c head/news/inn/pkg-plist Modified: head/news/inn/Makefile ============================================================================== --- head/news/inn/Makefile Mon Sep 21 19:09:01 2015 (r397517) +++ head/news/inn/Makefile Mon Sep 21 20:24:30 2015 (r397518) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= inn -PORTVERSION= 2.5.5 +PORTVERSION= 2.6.0 CATEGORIES= news ipv6 MASTER_SITES= ISC/${PORTNAME} @@ -17,7 +17,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} USE_RC_SUBR= innd SUB_FILES= pkg-install -USES= cpe gmake perl5 uidfix +USES= cpe gmake libtool perl5 uidfix CPE_VENDOR= isc CONFLICTS?= inn-stable-[0-9]* inn-current-[0-9]* @@ -52,28 +52,31 @@ CONFIGURE_ARGS+= --mandir=${MANPREFIX}/m --with-run-dir=${INN_RUNDIR} \ --with-db-dir=${INN_DBDIR} \ --datarootdir=${INN_SHAREDIR} \ - --enable-ipv6 --with-perl + --with-perl + +LIBVER_LONG= 3.0.0 +PLIST_SUB+= LIBVER=${LIBVER_LONG:R:R} LIBVER_LONG=${LIBVER_LONG} .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MBERKELEYDB} USE_BDB= 44+ -CONFIGURE_ENV+= DB_VER=db${BDB_VER} -CONFIGURE_ENV+= DB_LIB=${BDB_LIB_NAME} -CONFIGURE_ARGS+= --with-berkeleydb=${LOCALBASE} +CONFIGURE_ARGS+= --with-bdb=${LOCALBASE} \ + --with-bdb-lib=${LOCALBASE}/lib \ + --with-bdb-include=${BDB_INCLUDE_DIR} .endif .if ${PORT_OPTIONS:MKERBEROS} . if exists(${LOCALBASE}/bin/krb5-config) LIB_DEPENDS+= libgssapi_krb5.so:${PORTSDIR}/security/krb5 -CONFIGURE_ARGS+= --with-kerberos=${LOCALBASE} +CONFIGURE_ARGS+= --with-krb5=${LOCALBASE} . else -CONFIGURE_ARGS+= --with-kerberos=/usr +CONFIGURE_ARGS+= --with-krb5=/usr . endif CONFIGURE_ENV+= ac_cv_search_krb5_parse_name="-lcrypt -lcrypto -lkrb5 -lasn1 -lroken -lhx509" CONFIGURE_ENV+= ac_cv_func_krb5_init_ets=yes .else -CONFIGURE_ARGS+= --without-kerberos +CONFIGURE_ARGS+= --without-krb5 .endif .if ${PORT_OPTIONS:MLARGE_FILES} @@ -118,28 +121,27 @@ RUN_DEPENDS+= gpg:${PORTSDIR}/security/ PORTDOCS= CONTRIBUTORS HACKING INSTALL LICENSE MANIFEST NEWS README TODO -TO_BE_STRIPPED= bin/auth/resolv/domain bin/actsync bin/archive \ - bin/auth/passwd/ckpasswd bin/auth/passwd/radius bin/auth/resolv/ident \ - bin/batcher bin/buffchan bin/buffindexed_d bin/convdate bin/ctlinnd \ - bin/cvtbatch bin/expire bin/expireover bin/fastrm bin/filechan \ - bin/getlist bin/grephistory bin/imapfeed bin/inews bin/innbind \ - bin/innconfval bin/innd bin/inndf bin/innfeed bin/innxbatch \ - bin/innxmit bin/makedbz bin/makehistory bin/ninpaths bin/nnrpd \ - bin/nntpget bin/ovdb_init bin/ovdb_monitor bin/ovdb_server \ +TO_BE_STRIPPED= bin/actsync bin/archive bin/auth/passwd/auth_krb5 \ + bin/auth/passwd/ckpasswd bin/auth/passwd/radius bin/auth/resolv/domain \ + bin/auth/resolv/ident bin/batcher bin/buffchan bin/buffindexed_d \ + bin/convdate bin/ctlinnd bin/cvtbatch bin/expire bin/expireover \ + bin/fastrm bin/filechan bin/getlist bin/grephistory bin/imapfeed \ + bin/inews bin/innbind bin/innconfval bin/innd bin/inndf bin/innfeed \ + bin/innxbatch bin/innxmit bin/makedbz bin/makehistory bin/ninpaths \ + bin/nnrpd bin/nntpget bin/ovdb_init bin/ovdb_monitor bin/ovdb_server \ bin/ovdb_stat bin/overchan bin/prunehistory bin/rnews \ bin/rnews.libexec/decode bin/rnews.libexec/encode bin/shlock \ - bin/shrinkfile bin/sm bin/tdx-util bin/tinyleaf + bin/shrinkfile bin/sm bin/tdx-util bin/tinyleaf \ + lib/libinn.so.${LIBVER_LONG} lib/libinnhist.so.${LIBVER_LONG} \ + lib/libstorage.so.${LIBVER_LONG} CONFIG_FILES= actsync.cfg actsync.ign buffindexed.conf control.ctl \ - control.ctl.local cycbuff.conf \ - distrib.pats distributions \ - expire.ctl localgroups incoming.conf inn.conf innfeed.conf \ - innreport.conf innshellvars.local innshellvars.pl.local \ - innshellvars.tcl.local innwatch.ctl moderators news2mail.cf \ - newsfeeds nocem.ctl \ - nnrpd.track nntpsend.ctl ovdb.conf \ - passwd.nntp readers.conf send-uucp.cf \ - storage.conf subscriptions + control.ctl.local cycbuff.conf distrib.pats distributions expire.ctl \ + localgroups incoming.conf inn.conf innfeed.conf innreport.conf \ + innshellvars.local innshellvars.pl.local innshellvars.tcl.local \ + innwatch.ctl moderators news2mail.cf newsfeeds nocem.ctl nnrpd.track \ + nntpsend.ctl ovdb.conf passwd.nntp readers.conf send-uucp.cf \ + storage.conf subscriptions SUB_LIST+= EGDIR="${EXAMPLESDIR:C,^${PREFIX},\\$\\${PREFIX},}" PLIST_SUB+= ETCFILES="${CONFIG_FILES}" @@ -155,7 +157,10 @@ post-patch: ${WRKSRC}/site/Makefile @${REINPLACE_CMD} -e 's!et/com_err\.h!com_err.h!g' \ -e 's!-lk5crypto!!g' \ - ${WRKSRC}/configure + ${WRKSRC}/configure ${WRKSRC}/authprogs/auth_krb5.c +.if ${PORT_OPTIONS:MBERKELEYDB} + @${REINPLACE_CMD} -e 's!-ldb!-ldb-${BDB_VER}!' ${WRKSRC}/configure +.endif @${ECHO_CMD} '/^$$D$$(PATH_HISTORY)' > ${WRKDIR}/ex.script @${ECHO_CMD} '+' >> ${WRKDIR}/ex.script @${ECHO_CMD} 'mark t' >> ${WRKDIR}/ex.script @@ -180,7 +185,8 @@ post-build: post-install: .for FILE in ${TO_BE_STRIPPED} - ${STRIP_CMD} ${STAGEDIR}${INN_NEWSBASE}/${FILE} + -${TEST} -f ${STAGEDIR}${INN_NEWSBASE}/${FILE} && \ + ${STRIP_CMD} ${STAGEDIR}${INN_NEWSBASE}/${FILE} .endfor ${MKDIR} ${STAGEDIR}${INN_NEWSSPOOL} ${MKDIR} ${STAGEDIR}${INN_CONFDIR} Modified: head/news/inn/distinfo ============================================================================== --- head/news/inn/distinfo Mon Sep 21 19:09:01 2015 (r397517) +++ head/news/inn/distinfo Mon Sep 21 20:24:30 2015 (r397518) @@ -1,2 +1,2 @@ -SHA256 (inn-2.5.5.tar.gz) = 4245602c2c30fd3fe38513e9403c8d0ea4eb76256961591f97da630c341053bf -SIZE (inn-2.5.5.tar.gz) = 2419841 +SHA256 (inn-2.6.0.tar.gz) = ba96be8e87c2b56bf896c9f96492ed7706beb68e082794f8fabc7058a1804da7 +SIZE (inn-2.6.0.tar.gz) = 2597729 Modified: head/news/inn/files/patch-lib_innconf.c ============================================================================== --- head/news/inn/files/patch-lib_innconf.c Mon Sep 21 19:09:01 2015 (r397517) +++ head/news/inn/files/patch-lib_innconf.c Mon Sep 21 20:24:30 2015 (r397518) @@ -1,6 +1,6 @@ ---- lib/innconf.c.orig Mon Mar 20 04:14:57 2006 -+++ lib/innconf.c Sat Aug 26 00:22:04 2006 -@@ -395,7 +395,7 @@ +--- lib/innconf.c.orig 2015-09-12 15:25:22.000000000 +0200 ++++ lib/innconf.c 2015-09-21 21:15:18.446435000 +0200 +@@ -473,7 +473,7 @@ innconf_validate(struct config_group *gr if (GetFQDN(innconf->domain) == NULL) { warn("hostname does not resolve or domain not set in inn.conf"); Modified: head/news/inn/files/patch-storage_buffindexed_shmem.c ============================================================================== --- head/news/inn/files/patch-storage_buffindexed_shmem.c Mon Sep 21 19:09:01 2015 (r397517) +++ head/news/inn/files/patch-storage_buffindexed_shmem.c Mon Sep 21 20:24:30 2015 (r397518) @@ -26,8 +26,8 @@ Note that the documentation for linux se Patch attached with submission follows: ---- storage/buffindexed/shmem.c.orig 2012-08-27 23:39:42.000000000 -0700 -+++ storage/buffindexed/shmem.c 2012-08-27 23:37:50.000000000 -0700 +--- storage/buffindexed/shmem.c.orig 2015-09-12 15:25:22.000000000 +0200 ++++ storage/buffindexed/shmem.c 2015-09-21 21:15:18.448425000 +0200 @@ -26,7 +26,9 @@ static int smcGetSemaphore(const char *name) { @@ -39,7 +39,7 @@ Patch attached with submission follows: if (id < 0) { syswarn("semget failed to get semaphore for %s", name); -@@ -37,15 +39,17 @@ +@@ -37,15 +39,17 @@ static int smcGetSemaphore(const char *n static int smcCreateSemaphore(const char *name) { key_t kt = ftok( (char *)name, 0 ); @@ -60,7 +60,7 @@ Patch attached with submission follows: return id; } /* try to remove it */ -@@ -65,7 +69,7 @@ +@@ -65,7 +69,7 @@ static int smcCreateSemaphore(const char } #endif /* and retry creating it */ @@ -69,5 +69,3 @@ Patch attached with submission follows: } } if (id < 0) - - Modified: head/news/inn/pkg-plist ============================================================================== --- head/news/inn/pkg-plist Mon Sep 21 19:09:01 2015 (r397517) +++ head/news/inn/pkg-plist Mon Sep 21 20:24:30 2015 (r397518) @@ -137,15 +137,18 @@ include/inn/confparse.h include/inn/dbz.h include/inn/defines.h include/inn/dispatch.h +include/inn/fdflag.h include/inn/hashtab.h include/inn/history.h include/inn/innconf.h include/inn/inndcomm.h include/inn/libinn.h include/inn/list.h +include/inn/macros.h include/inn/md5.h include/inn/messages.h include/inn/mmap.h +include/inn/network-innbind.h include/inn/network.h include/inn/newsuser.h include/inn/nntp.h @@ -153,6 +156,11 @@ include/inn/options.h include/inn/ov.h include/inn/overview.h include/inn/paths.h +include/inn/portable-getaddrinfo.h +include/inn/portable-getnameinfo.h +include/inn/portable-macros.h +include/inn/portable-socket.h +include/inn/portable-stdbool.h include/inn/qio.h include/inn/sequence.h include/inn/storage.h @@ -163,15 +171,26 @@ include/inn/utility.h include/inn/vector.h include/inn/version.h include/inn/wire.h +include/inn/xmalloc.h +include/inn/xwrite.h +lib/perl/INN/Config.pm +lib/perl/INN/Utils/Shlock.pm lib/innreport_inn.pm lib/innshellvars lib/innshellvars.pl lib/innshellvars.tcl lib/libinn.a +lib/libinn.so +lib/libinn.so.%%LIBVER%% +lib/libinn.so.%%LIBVER_LONG%% lib/libinnhist.a +lib/libinnhist.so +lib/libinnhist.so.%%LIBVER%% +lib/libinnhist.so.%%LIBVER_LONG%% lib/libstorage.a -lib/perl/INN/Config.pm -lib/perl/INN/Utils/Shlock.pm +lib/libstorage.so +lib/libstorage.so.%%LIBVER%% +lib/libstorage.so.%%LIBVER_LONG%% @comment -------------------------------------------------------------- @cwd man/man1/convdate.1.gz @@ -235,6 +254,7 @@ man/man5/subscriptions.5.gz man/man8/actsync.8.gz man/man8/actsyncd.8.gz man/man8/archive.8.gz +%%KERBEROS%%man/man8/auth_krb5.8.gz man/man8/batcher.8.gz man/man8/buffchan.8.gz man/man8/ckpasswd.8.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509212024.t8LKOUBA011008>