Index: head/security/pks/pkg-install =================================================================== --- head/security/pks/pkg-install (revision 457792) +++ head/security/pks/pkg-install (nonexistent) @@ -1,22 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ - -PKGNAME=$1 -STAGE=$2 - -case ${STAGE} in -PRE-INSTALL) - ;; -POST-INSTALL) - DBDIR=/var/pks/db - MAILDIR=/var/pks/incoming - - mkdir -p ${DBDIR} ${MAILDIR} - ;; -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; -esac -exit 0 Property changes on: head/security/pks/pkg-install ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/security/pks/Makefile =================================================================== --- head/security/pks/Makefile (revision 457792) +++ head/security/pks/Makefile (revision 457793) @@ -1,57 +1,53 @@ # Created by: kris@FreeBSD.org # $FreeBSD$ 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 MAINTAINER= tphilipp@potion-studios.com COMMENT= PGP Public Key Server LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE WRKSRC= ${WRKDIR}/${PORTNAME} USE_GCC= any 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 CONFIGURE_ENV= DBLIB="-L${BDB_LIB_DIR} -l${BDB_LIB_NAME}" \ DBINC=-I${BDB_INCLUDE_DIR} DBHDR=db.h SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message -PLIST_SUB+= RESETPREFIX=${PREFIX} - USE_RC_SUBR= pksd post-extract: @${CP} -a ${FILESDIR}/EMAIL ${WRKSRC} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgpsplit ${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}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include Index: head/security/pks/files/patch-configure.in =================================================================== --- head/security/pks/files/patch-configure.in (revision 457792) +++ head/security/pks/files/patch-configure.in (nonexistent) @@ -1,129 +0,0 @@ ---- ./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 @@ - # 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 -- 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) -- ;; -- *) -- AC_MSG_RESULT($withval) -- if test x${withval} = x ; then -- withval=/tmp -- fi -- if test $S -a -r ${withval}/build_unix/db4.h -a \ -- -r "`ls ${withval}/build_unix/.libs/libdb-4.*.a 2>/dev/null | tail -1`"; then -- DBINC=-I`echo ${withval}/build_unix/` -- DBLIB=`ls ${withval}/build_unix/.libs/libdb-4.*.a 2>/dev/null | tail -1` -- DBHDR="db4.h" -- grep 'DB_VERSION_MAJOR 4$' ${withval}/build_unix/db4.h >/dev/null 2>&1 -- S=$? -- fi -- if test $S -a -r ${withval}/build_unix/db.h -a \ -- -r "`ls ${withval}/build_unix/.libs/libdb-4.*.a 2>/dev/null | tail -1`"; then -- DBINC=-I`echo ${withval}/build_unix` -- DBLIB=`ls ${withval}/build_unix/.libs/libdb-4.*.a 2>/dev/null | tail -1` -- DBHDR="db.h" -- grep 'DB_VERSION_MAJOR 4$' ${withval}/build_unix/db.h >/dev/null 2>&1 -- S=$? -- fi -- if test $S -a -r ${withval}/include/db4/db.h -a \ -- -r ${withval}/lib/db4/libdb.a ; then -- DBINC="-I${withval}/include/db4" -- DBLIB="-L${withval}/lib/db4 -ldb" -- DBHDR="db.h" -- grep 'DB_VERSION_MAJOR 4$' ${withval}/include/db4/db.h >/dev/null 2>&1 -- S=$? -- fi -- if test $S -a -r ${withval}/include/db4.h -a \ -- -r ${withval}/lib/libdb.a ; then -- DBINC="-I${withval}/include" -- DBLIB="-L${withval}/lib -ldb" -- DBHDR="db4.h" -- grep 'DB_VERSION_MAJOR 4$' ${withval}/include/db4.h >/dev/null 2>&1 -- S=$? -- fi -- if test $S -a -r ${withval}/include/db.h -a \ -- -r ${withval}/lib/libdb.a ; then -- DBINC="-I${withval}/include" -- DBLIB="-L${withval}/lib -ldb" -- DBHDR="db.h" -- grep 'DB_VERSION_MAJOR 4$' ${withval}/include/db.h >/dev/null 2>&1 -- S=$? -- fi -- if test $S -eq 1 ; then -- AC_ERROR(Berkeley DB was not found. Please check your installation or use --with-db=DIR) -- fi -- AC_MSG_RESULT(yes) -- esac ], --[DBINC=NO -- DBLIB=NO -- DBHDR=NO -- S=1 -- -- if test $S -a -r /usr/local/include/db4.h -a \ -- -r /usr/local/lib/libdb.a ; then -- DBINC="-I/usr/local/include" -- DBLIB="-L/usr/local/lib -ldb" -- DBHDR="db4.h" -- grep 'DB_VERSION_MAJOR 4$' /usr/local/include/db4.h >/dev/null 2>&1 -- S=$? -- fi -- if test $S -a -r /usr/local/include/db.h -a \ -- -r /usr/local/lib/libdb.a ; then -- DBINC="-I/usr/local/include" -- DBLIB="-L/usr/local/lib -ldb" -- DBHDR="db.h" -- grep 'DB_VERSION_MAJOR 4$' /usr/local/include/db.h >/dev/null 2>&1 -- S=$? -- fi -- if test $S -a -r /usr/include/db4.h -a \ -- -r /usr/lib/libdb.a ; then -- DBINC="" -- DBLIB="-L/usr/lib -ldb" -- DBHDR="db4.h" -- grep 'DB_VERSION_MAJOR 4$' /usr/include/db4.h >/dev/null 2>&1 -- S=$? -- fi -- if test $S -a -r /usr/include/db.h -a \ -- -r /usr/lib/libdb.a ; then -- DBINC="" -- DBLIB="-L/usr/lib -ldb" -- DBHDR="db.h" -- grep 'DB_VERSION_MAJOR 4$' /usr/include/db.h >/dev/null 2>&1 -- S=$? -- fi -- DIR=`ls -d ../db-4.*/. 2>/dev/null | tail -1` -- if test $S -a -r ${DIR}/build_unix/db4.h -a \ -- -r "`ls ${DIR}/build_unix/.libs/libdb-4.*.a 2>/dev/null | tail -1`"; then -- DBINC=-I`echo ${DIR}/build_unix/` -- DBLIB=`ls ${DIR}/build_unix/.libs/libdb-4.*.a 2>/dev/null | tail -1` -- DBHDR="db4.h" -- grep 'DB_VERSION_MAJOR 4$' ${DIR}/build_unix/db4.h >/dev/null 2>&1 -- S=$? -- fi -- if test $S -a -r ${DIR}/build_unix/db.h -a \ -- -r "`ls ${DIR}/build_unix/.libs/libdb-4.*.a 2>/dev/null | tail -1`"; then -- DBINC=-I`echo ${DIR}/build_unix` -- DBLIB=`ls ${DIR}/build_unix/.libs/libdb-4.*.a 2>/dev/null | tail -1` -- DBHDR="db.h" -- grep 'DB_VERSION_MAJOR 4$' ${DIR}/build_unix/db.h >/dev/null 2>&1 -- S=$? -- fi -- -- if test $S -eq 1 ; then -- AC_ERROR(Berkeley DB was not found. Please check your installation or use --with-db=DIR) -- fi -- AC_MSG_RESULT(yes) ] --) - AC_SUBST(DBINC) - AC_SUBST(DBLIB) - AC_SUBST(DBHDR) Property changes on: head/security/pks/files/patch-configure.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/security/pks/files/patch-configure =================================================================== --- head/security/pks/files/patch-configure (nonexistent) +++ head/security/pks/files/patch-configure (revision 457793) @@ -0,0 +1,144 @@ +--- 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. +-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) +- { { 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; }; } +- ;; +- *) +- echo "$as_me:$LINENO: result: $withval" >&5 +-echo "${ECHO_T}$withval" >&6 +- if test x${withval} = x ; then +- withval=/tmp +- fi +- if test $S -a -r ${withval}/build_unix/db4.h -a \ +- -r "`ls ${withval}/build_unix/.libs/libdb-4.*.a 2>/dev/null | tail -1`"; then +- DBINC=-I`echo ${withval}/build_unix/` +- DBLIB=`ls ${withval}/build_unix/.libs/libdb-4.*.a 2>/dev/null | tail -1` +- DBHDR="db4.h" +- grep 'DB_VERSION_MAJOR 4$' ${withval}/build_unix/db4.h >/dev/null 2>&1 +- S=$? +- fi +- if test $S -a -r ${withval}/build_unix/db.h -a \ +- -r "`ls ${withval}/build_unix/.libs/libdb-4.*.a 2>/dev/null | tail -1`"; then +- DBINC=-I`echo ${withval}/build_unix` +- DBLIB=`ls ${withval}/build_unix/.libs/libdb-4.*.a 2>/dev/null | tail -1` +- DBHDR="db.h" +- grep 'DB_VERSION_MAJOR 4$' ${withval}/build_unix/db.h >/dev/null 2>&1 +- S=$? +- fi +- if test $S -a -r ${withval}/include/db4/db.h -a \ +- -r ${withval}/lib/db4/libdb.a ; then +- DBINC="-I${withval}/include/db4" +- DBLIB="-L${withval}/lib/db4 -ldb" +- DBHDR="db.h" +- grep 'DB_VERSION_MAJOR 4$' ${withval}/include/db4/db.h >/dev/null 2>&1 +- S=$? +- fi +- if test $S -a -r ${withval}/include/db4.h -a \ +- -r ${withval}/lib/libdb.a ; then +- DBINC="-I${withval}/include" +- DBLIB="-L${withval}/lib -ldb" +- DBHDR="db4.h" +- grep 'DB_VERSION_MAJOR 4$' ${withval}/include/db4.h >/dev/null 2>&1 +- S=$? +- fi +- if test $S -a -r ${withval}/include/db.h -a \ +- -r ${withval}/lib/libdb.a ; then +- DBINC="-I${withval}/include" +- DBLIB="-L${withval}/lib -ldb" +- DBHDR="db.h" +- grep 'DB_VERSION_MAJOR 4$' ${withval}/include/db.h >/dev/null 2>&1 +- S=$? +- fi +- if test $S -eq 1 ; then +- { { 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 +- echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +- esac +-else +- DBINC=NO +- DBLIB=NO +- DBHDR=NO +- S=1 +- +- if test $S -a -r /usr/local/include/db4.h -a \ +- -r /usr/local/lib/libdb.a ; then +- DBINC="-I/usr/local/include" +- DBLIB="-L/usr/local/lib -ldb" +- DBHDR="db4.h" +- grep 'DB_VERSION_MAJOR 4$' /usr/local/include/db4.h >/dev/null 2>&1 +- S=$? +- fi +- if test $S -a -r /usr/local/include/db.h -a \ +- -r /usr/local/lib/libdb.a ; then +- DBINC="-I/usr/local/include" +- DBLIB="-L/usr/local/lib -ldb" +- DBHDR="db.h" +- grep 'DB_VERSION_MAJOR 4$' /usr/local/include/db.h >/dev/null 2>&1 +- S=$? +- fi +- if test $S -a -r /usr/include/db4.h -a \ +- -r /usr/lib/libdb.a ; then +- DBINC="" +- DBLIB="-L/usr/lib -ldb" +- DBHDR="db4.h" +- grep 'DB_VERSION_MAJOR 4$' /usr/include/db4.h >/dev/null 2>&1 +- S=$? +- fi +- if test $S -a -r /usr/include/db.h -a \ +- -r /usr/lib/libdb.a ; then +- DBINC="" +- DBLIB="-L/usr/lib -ldb" +- DBHDR="db.h" +- grep 'DB_VERSION_MAJOR 4$' /usr/include/db.h >/dev/null 2>&1 +- S=$? +- fi +- DIR=`ls -d ../db-4.*/. 2>/dev/null | tail -1` +- if test $S -a -r ${DIR}/build_unix/db4.h -a \ +- -r "`ls ${DIR}/build_unix/.libs/libdb-4.*.a 2>/dev/null | tail -1`"; then +- DBINC=-I`echo ${DIR}/build_unix/` +- DBLIB=`ls ${DIR}/build_unix/.libs/libdb-4.*.a 2>/dev/null | tail -1` +- DBHDR="db4.h" +- grep 'DB_VERSION_MAJOR 4$' ${DIR}/build_unix/db4.h >/dev/null 2>&1 +- S=$? +- fi +- if test $S -a -r ${DIR}/build_unix/db.h -a \ +- -r "`ls ${DIR}/build_unix/.libs/libdb-4.*.a 2>/dev/null | tail -1`"; then +- DBINC=-I`echo ${DIR}/build_unix` +- DBLIB=`ls ${DIR}/build_unix/.libs/libdb-4.*.a 2>/dev/null | tail -1` +- DBHDR="db.h" +- grep 'DB_VERSION_MAJOR 4$' ${DIR}/build_unix/db.h >/dev/null 2>&1 +- S=$? +- fi +- +- if test $S -eq 1 ; then +- { { 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 +- echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +- +-fi; + + + Property changes on: head/security/pks/files/patch-configure ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/pks/pkg-plist =================================================================== --- head/security/pks/pkg-plist (revision 457792) +++ head/security/pks/pkg-plist (revision 457793) @@ -1,23 +1,22 @@ bin/pgpsplit bin/pks-mail.sh 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 man/man8/pks-mail.sh.8.gz man/man8/pks-queue-run.sh.8.gz man/man8/pksclient.8.gz man/man8/pksd.8.gz man/man8/pksdctl.8.gz /var/pks/index.html @dir /var/pks/db @dir /var/pks/incoming @dir /var/pks