From owner-svn-ports-all@freebsd.org Mon Jan 1 20:01:10 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FE3EEBA06E; Mon, 1 Jan 2018 20:01:10 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0EC417A651; Mon, 1 Jan 2018 20:01:09 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w01K19FC019415; Mon, 1 Jan 2018 20:01:09 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w01K18R7019412; Mon, 1 Jan 2018 20:01:08 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201801012001.w01K18R7019412@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Mon, 1 Jan 2018 20:01:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457793 - in head/security/pks: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tijl X-SVN-Commit-Paths: in head/security/pks: . files X-SVN-Commit-Revision: 457793 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jan 2018 20:01:10 -0000 Author: tijl Date: Mon Jan 1 20:01:08 2018 New Revision: 457793 URL: https://svnweb.freebsd.org/changeset/ports/457793 Log: - Patch configure instead of configure.in so USE_AUTOTOOLS can be removed. - Remove unneeded --docdir, --sysconfdir and --libdir from CONFIGURE_ARGS. - Remove unused RESETPREFIX. - Remove pkg-install because it's already handled by pkg-plist. - Use @sample. Added: head/security/pks/files/patch-configure - copied, changed from r457792, head/security/pks/files/patch-configure.in Deleted: head/security/pks/files/patch-configure.in head/security/pks/pkg-install Modified: head/security/pks/Makefile head/security/pks/pkg-plist Modified: head/security/pks/Makefile ============================================================================== --- head/security/pks/Makefile Mon Jan 1 19:57:37 2018 (r457792) +++ head/security/pks/Makefile Mon Jan 1 20:01:08 2018 (r457793) @@ -3,7 +3,7 @@ PORTNAME= pks PORTVERSION= 0.9.6.20040312 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= security www MASTER_SITES= http://pks.sourceforge.net/ LOCAL/mandree DISTFILES= pks-current.tgz @@ -22,10 +22,9 @@ USES= bdb ssl OPTIONS_DEFINE= DOCS PORTDOCS= pks_help.* README EMAIL GNU_CONFIGURE= yes -USE_AUTOTOOLS= autoconf -CONFIGURE_ARGS= --datadir=${PREFIX}/share/pks --localstatedir=/var/pks \ - --docdir=${PREFIX}/share/doc/pks --sysconfdir=${EXAMPLESDIR} \ - --libdir=${LOCALBASE}/lib --with-libwrap \ +CONFIGURE_ARGS= --datadir=${DATADIR} \ + --localstatedir=/var/pks \ + --with-libwrap \ --with-openssl=${OPENSSLBASE} MAKE_ENV+= SUBDIRS= LDFLAGS+= -L${LOCALBASE}/lib @@ -35,8 +34,6 @@ CONFIGURE_ENV= DBLIB="-L${BDB_LIB_DIR} -l${BDB_LIB_NAM SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message -PLIST_SUB+= RESETPREFIX=${PREFIX} - USE_RC_SUBR= pksd post-extract: @@ -47,8 +44,7 @@ post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pksdctl ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pksclient ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/pksd - ${INSTALL_DATA} ${WRKSRC}/pksd.conf ${STAGEDIR}${PREFIX}/etc/pksd.conf.sample - #${CHOWN} pksd:pksd /var/pks + ${MV} ${STAGEDIR}${PREFIX}/etc/pksd.conf ${STAGEDIR}${PREFIX}/etc/pksd.conf.sample post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ Copied and modified: head/security/pks/files/patch-configure (from r457792, head/security/pks/files/patch-configure.in) ============================================================================== --- head/security/pks/files/patch-configure.in Mon Jan 1 19:57:37 2018 (r457792, copy source) +++ head/security/pks/files/patch-configure Mon Jan 1 20:01:08 2018 (r457793) @@ -1,21 +1,28 @@ ---- ./configure.in.orig 2004-01-18 00:19:56.000000000 +0100 -+++ ./configure.in 2014-08-15 18:32:37.000000000 +0200 -@@ -74,126 +74,6 @@ +--- configure.orig 2004-01-17 23:19:56 UTC ++++ configure +@@ -2530,141 +2530,6 @@ echo "${ECHO_T}Compiler Optimizations Enabled" >&6 + fi; + # Checks for libraries. - dnl Checks for Berkeley DB - AC_MSG_CHECKING(for Berkeley DB) --AC_ARG_WITH(db, --[ --with-db=DIR Use Berkeley DB in DIR], --[DBINC=NO +-echo "$as_me:$LINENO: checking for Berkeley DB" >&5 +-echo $ECHO_N "checking for Berkeley DB... $ECHO_C" >&6 +- +-# Check whether --with-db or --without-db was given. +-if test "${with_db+set}" = set; then +- withval="$with_db" +- DBINC=NO - DBLIB=NO - DBHDR=NO - S=1 - case "$withval" in - yes|no) -- AC_ERROR(Berkeley DB was not found. Please check your installation or use --with-db=PATH) +- { { echo "$as_me:$LINENO: error: Berkeley DB was not found. Please check your installation or use --with-db=PATH" >&5 +-echo "$as_me: error: Berkeley DB was not found. Please check your installation or use --with-db=PATH" >&2;} +- { (exit 1); exit 1; }; } - ;; - *) -- AC_MSG_RESULT($withval) +- echo "$as_me:$LINENO: result: $withval" >&5 +-echo "${ECHO_T}$withval" >&6 - if test x${withval} = x ; then - withval=/tmp - fi @@ -60,11 +67,15 @@ - S=$? - fi - if test $S -eq 1 ; then -- AC_ERROR(Berkeley DB was not found. Please check your installation or use --with-db=DIR) +- { { echo "$as_me:$LINENO: error: Berkeley DB was not found. Please check your installation or use --with-db=DIR" >&5 +-echo "$as_me: error: Berkeley DB was not found. Please check your installation or use --with-db=DIR" >&2;} +- { (exit 1); exit 1; }; } - fi -- AC_MSG_RESULT(yes) -- esac ], --[DBINC=NO +- echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +- esac +-else +- DBINC=NO - DBLIB=NO - DBHDR=NO - S=1 @@ -120,10 +131,14 @@ - fi - - if test $S -eq 1 ; then -- AC_ERROR(Berkeley DB was not found. Please check your installation or use --with-db=DIR) +- { { echo "$as_me:$LINENO: error: Berkeley DB was not found. Please check your installation or use --with-db=DIR" >&5 +-echo "$as_me: error: Berkeley DB was not found. Please check your installation or use --with-db=DIR" >&2;} +- { (exit 1); exit 1; }; } - fi -- AC_MSG_RESULT(yes) ] --) - AC_SUBST(DBINC) - AC_SUBST(DBLIB) - AC_SUBST(DBHDR) +- echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +- +-fi; + + + Modified: head/security/pks/pkg-plist ============================================================================== --- head/security/pks/pkg-plist Mon Jan 1 19:57:37 2018 (r457792) +++ head/security/pks/pkg-plist Mon Jan 1 20:01:08 2018 (r457793) @@ -4,11 +4,10 @@ bin/pks-queue-run.sh bin/pksclient sbin/pksd bin/pksdctl -etc/pksd.conf.sample +@sample etc/pksd.conf.sample %%DATADIR%%/mail_intro %%DATADIR%%/pks-commands.html %%DATADIR%%/pks-commands.php -%%EXAMPLESDIR%%/pksd.conf man/man5/pksd.conf.5.gz man/man8/pgpsplit.8.gz man/man8/pks-intro.8.gz