ports/172726: sysutils/shlock: Update to version 2.5.3
KATO Tsuguru
tkato432 at yahoo.com
Mon Oct 15 18:10:03 UTC 2012
>Number: 172726
>Category: ports
>Synopsis: sysutils/shlock: Update to version 2.5.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 15 18:10:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 2.5.3
Remove file:
files/patch-configure
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/sysutils/shlock/Makefile sysutils/shlock/Makefile
--- /usr/ports/sysutils/shlock/Makefile 2012-10-08 19:38:47.000000000 +0900
+++ sysutils/shlock/Makefile 2012-10-16 02:15:13.000000000 +0900
@@ -1,10 +1,9 @@
# $FreeBSD: ports/sysutils/shlock/Makefile,v 1.14 2012/10/08 10:38:47 dougb Exp $
PORTNAME= shlock
-PORTVERSION= 2.5.2
+PORTVERSION= 2.5.3
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_ISC}
-MASTER_SITE_SUBDIR=inn
+MASTER_SITES= ISC/inn
DISTFILES= inn-${PORTVERSION}${EXTRACT_SUFX} \
inn-${PORTVERSION}${EXTRACT_SUFX}.asc
EXTRACT_ONLY= inn-${PORTVERSION}${EXTRACT_SUFX}
@@ -12,23 +11,27 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= Create lock files for use in shell scripts
-HAS_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/inn-${PORTVERSION}
-MAN1= shlock.1
-PLIST_FILES= bin/shlock
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= ac_cv_path_PERL="${TRUE}"
+ALL_TARGET= all-lib
+MAKE_JOBS_SAFE= yes
-WRKSRC= ${WRKDIR}/inn-${PORTVERSION}
+MAN1= ${PORTNAME}.1
+PLIST_FILES= bin/${PORTNAME}
verify: checksum
gpg --verify ${DISTDIR}/inn-${PORTVERSION}${EXTRACT_SUFX}.asc
-do-build:
- cd ${WRKSRC}/lib && ${MAKE}
- cd ${WRKSRC}/include && ${MAKE}
- cd ${WRKSRC}/backends && ${MAKE} shlock
+post-build:
+ @(cd ${WRKSRC}/backends && ${SETENV} ${MAKE_ENV} ${MAKE} \
+ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${PORTNAME})
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/backends/shlock ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/doc/man/shlock.1 ${MANPREFIX}/man/man1
+ (cd ${WRKSRC}/backends \
+ && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)
+ (cd ${WRKSRC}/doc/man \
+ && ${INSTALL_MAN} ${PORTNAME}.1 ${MANPREFIX}/man/man1)
.include <bsd.port.mk>
diff -urN /usr/ports/sysutils/shlock/distinfo sysutils/shlock/distinfo
--- /usr/ports/sysutils/shlock/distinfo 2010-12-23 17:32:15.000000000 +0900
+++ sysutils/shlock/distinfo 2012-10-09 21:19:08.000000000 +0900
@@ -1,4 +1,4 @@
-SHA256 (inn-2.5.2.tar.gz) = f5edd48f48ecee9b6430db94fe504f893d7dfae4257f55f382ba1cf7375b4e68
-SIZE (inn-2.5.2.tar.gz) = 2331916
-SHA256 (inn-2.5.2.tar.gz.asc) = e3da95d450e466243b5993b852067c30af0cb4a3edfcf0667b1a2dbbb3fa5432
-SIZE (inn-2.5.2.tar.gz.asc) = 198
+SHA256 (inn-2.5.3.tar.gz) = 60f0042b144499680cc577a4330aeaac5dac20c5994649c0e945d32b5f8dbcf1
+SIZE (inn-2.5.3.tar.gz) = 2412119
+SHA256 (inn-2.5.3.tar.gz.asc) = b8d3bfefa6d1b76aba1f872b7949e83f541d45316b6b74f7a1641d9c7e914d59
+SIZE (inn-2.5.3.tar.gz.asc) = 490
diff -urN /usr/ports/sysutils/shlock/files/patch-configure sysutils/shlock/files/patch-configure
--- /usr/ports/sysutils/shlock/files/patch-configure 2010-12-23 17:32:15.000000000 +0900
+++ sysutils/shlock/files/patch-configure 1970-01-01 09:00:00.000000000 +0900
@@ -1,374 +0,0 @@
---- configure.Dist 2010-03-24 13:10:36.000000000 -0700
-+++ configure 2010-12-23 00:24:22.000000000 -0800
-@@ -848,7 +848,6 @@
- DBDIR
- FILTERDIR
- HTTPDIR
--LIBPERLDIR
- LOGDIR
- RUNDIR
- SPOOLDIR
-@@ -869,13 +868,6 @@
- LOG_COMPRESSEXT
- SENDMAIL
- DO_DBZ_TAGGED_HASH
--PERL
--PERL_CPPFLAGS
--PERL_LIBS
--PERL_WARNINGS
--PYTHON
--PYTHON_CPPFLAGS
--PYTHON_LIBS
- HOSTNAME
- LEX
- LEX_OUTPUT_ROOT
-@@ -933,8 +925,6 @@
- CPPFLAGS
- CPP
- SENDMAIL
--PERL
--PYTHON
- YACC
- YFLAGS
- AWK
-@@ -12538,13 +12528,6 @@
-
-
-
--# Check whether --with-libperl-dir was given.
--if test "${with_libperl_dir+set}" = set; then
-- withval=$with_libperl_dir; LIBPERLDIR=$with_libperl_dir
--else
-- LIBPERLDIR='${libdir}/perl'
--fi
--
-
-
- # Check whether --with-log-dir was given.
-@@ -12803,161 +12786,6 @@
-
-
-
--# Check whether --with-perl was given.
--if test "${with_perl+set}" = set; then
-- withval=$with_perl; case $withval in
-- yes) DO_PERL=DO
--
--cat >>confdefs.h <<\_ACEOF
--#define DO_PERL 1
--_ACEOF
--
-- ;;
-- no) DO_PERL=DONT ;;
-- *) { { echo "$as_me:$LINENO: error: invalid argument to --with-perl" >&5
--echo "$as_me: error: invalid argument to --with-perl" >&2;}
-- { (exit 1); exit 1; }; } ;;
-- esac
--else
-- DO_PERL=DONT
--fi
--
--
--if test x"${PERL}" = x ; then
-- # Extract the first word of "perl", so it can be a program name with args.
--set dummy perl; ac_word=$2
--{ echo "$as_me:$LINENO: checking for $ac_word" >&5
--echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
--if test "${ac_cv_path_PERL+set}" = set; then
-- echo $ECHO_N "(cached) $ECHO_C" >&6
--else
-- case $PERL in
-- [\\/]* | ?:[\\/]*)
-- ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
-- ;;
-- *)
-- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
--for as_dir in $PATH
--do
-- IFS=$as_save_IFS
-- test -z "$as_dir" && as_dir=.
-- for ac_exec_ext in '' $ac_executable_extensions; do
-- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-- ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
-- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-- break 2
-- fi
--done
--done
--IFS=$as_save_IFS
--
-- ;;
--esac
--fi
--PERL=$ac_cv_path_PERL
--if test -n "$PERL"; then
-- { echo "$as_me:$LINENO: result: $PERL" >&5
--echo "${ECHO_T}$PERL" >&6; }
--else
-- { echo "$as_me:$LINENO: result: no" >&5
--echo "${ECHO_T}no" >&6; }
--fi
--
--
--fi
--if test x"${PERL}" = x ; then
-- { { echo "$as_me:$LINENO: error: perl was not found in path and is required" >&5
--echo "$as_me: error: perl was not found in path and is required" >&2;}
-- { (exit 1); exit 1; }; }
--fi
--{ echo "$as_me:$LINENO: checking for Perl version" >&5
--echo $ECHO_N "checking for Perl version... $ECHO_C" >&6; }
--if test "${inn_cv_perl_version+set}" = set; then
-- echo $ECHO_N "(cached) $ECHO_C" >&6
--else
-- if $PERL -e 'require 5.004_03;' > /dev/null 2>&1 ; then
-- inn_cv_perl_version=`$PERL -e 'print $]'`
-- else
-- { { echo "$as_me:$LINENO: error: Perl 5.004_03 or greater is required" >&5
--echo "$as_me: error: Perl 5.004_03 or greater is required" >&2;}
-- { (exit 1); exit 1; }; }
-- fi
--fi
--{ echo "$as_me:$LINENO: result: $inn_cv_perl_version" >&5
--echo "${ECHO_T}$inn_cv_perl_version" >&6; }
--{ echo "$as_me:$LINENO: checking for Encode" >&5
--echo $ECHO_N "checking for Encode... $ECHO_C" >&6; }
-- if $PERL -e 'require Encode;' > /dev/null 2>&1 ; then
-- { echo "$as_me:$LINENO: result: yes" >&5
--echo "${ECHO_T}yes" >&6; }
-- else
-- { echo "$as_me:$LINENO: result: no" >&5
--echo "${ECHO_T}no" >&6; }
-- { echo "$as_me:$LINENO: WARNING: Encode Perl module is required by controlchan" >&5
--echo "$as_me: WARNING: Encode Perl module is required by controlchan" >&2;}
-- inn_perl_module_warning="$inn_perl_module_warning Encode (for controlchan)"
-- fi
--{ echo "$as_me:$LINENO: checking for GD" >&5
--echo $ECHO_N "checking for GD... $ECHO_C" >&6; }
-- if $PERL -e 'require GD;' > /dev/null 2>&1 ; then
-- { echo "$as_me:$LINENO: result: yes" >&5
--echo "${ECHO_T}yes" >&6; }
-- else
-- { echo "$as_me:$LINENO: result: no" >&5
--echo "${ECHO_T}no" >&6; }
-- { echo "$as_me:$LINENO: WARNING: GD Perl module is required by innreport's HTML output" >&5
--echo "$as_me: WARNING: GD Perl module is required by innreport's HTML output" >&2;}
-- inn_perl_module_warning="$inn_perl_module_warning GD (for innreport's HTML output)"
-- fi
--{ echo "$as_me:$LINENO: checking for MIME::Parser" >&5
--echo $ECHO_N "checking for MIME::Parser... $ECHO_C" >&6; }
-- if $PERL -e 'require MIME::Parser;' > /dev/null 2>&1 ; then
-- { echo "$as_me:$LINENO: result: yes" >&5
--echo "${ECHO_T}yes" >&6; }
-- else
-- { echo "$as_me:$LINENO: result: no" >&5
--echo "${ECHO_T}no" >&6; }
-- { echo "$as_me:$LINENO: WARNING: MIME::Parser Perl module is required by controlchan" >&5
--echo "$as_me: WARNING: MIME::Parser Perl module is required by controlchan" >&2;}
-- inn_perl_module_warning="$inn_perl_module_warning MIME::Parser (for controlchan)"
-- fi
--
--if test x"$DO_PERL" = xDO ; then
-- { echo "$as_me:$LINENO: checking for Perl linkage" >&5
--echo $ECHO_N "checking for Perl linkage... $ECHO_C" >&6; }
-- inn_perl_core_path=`$PERL -MConfig -e 'print $Config{archlibexp}'`
-- inn_perl_core_flags=`$PERL -MExtUtils::Embed -e ccopts`
-- inn_perl_core_libs=`$PERL -MExtUtils::Embed -e ldopts 2>&1 | tail -n 1`
-- inn_perl_core_libs=" $inn_perl_core_libs "
-- inn_perl_core_libs=`echo "$inn_perl_core_libs" | sed 's/ -lc / /'`
-- for i in $LIBS ; do
-- inn_perl_core_libs=`echo "$inn_perl_core_libs" | sed "s/ $i / /"`
-- done
-- case $host in
-- *-linux*)
-- inn_perl_core_libs=`echo "$inn_perl_core_libs" | sed 's/ -lgdbm / /'`
-- ;;
-- *-cygwin*)
-- inn_perl_libname=`$PERL -MConfig -e 'print $Config{libperl}'`
-- inn_perl_libname=`echo "$inn_perl_libname" | sed 's/^lib//; s/\.a$//'`
-- inn_perl_core_libs="${inn_perl_core_libs}-l$inn_perl_libname"
-- ;;
-- esac
-- inn_perl_core_libs=`echo "$inn_perl_core_libs" | sed 's/^ *//'`
-- inn_perl_core_libs=`echo "$inn_perl_core_libs" | sed 's/ *$//'`
-- inn_perl_core_flags=" $inn_perl_core_flags "
-- if test x"$inn_enable_largefiles" != xyes ; then
-- for f in -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES ; do
-- inn_perl_core_flags=`echo "$inn_perl_core_flags" | sed "s/ $f / /"`
-- done
-- fi
-- inn_perl_core_flags=`echo "$inn_perl_core_flags" | sed 's/^ *//'`
-- inn_perl_core_flags=`echo "$inn_perl_core_flags" | sed 's/ *$//'`
-- PERL_CPPFLAGS="$inn_perl_core_flags"
-- PERL_LIBS="$inn_perl_core_libs"
-- { echo "$as_me:$LINENO: result: $inn_perl_core_path" >&5
--echo "${ECHO_T}$inn_perl_core_path" >&6; }
--
- { echo "$as_me:$LINENO: checking if $CC supports -Wno-extra" >&5
- echo $ECHO_N "checking if $CC supports -Wno-extra... $ECHO_C" >&6; }
- if test "${inn_cv_compiler_c__Wno_extra+set}" = set; then
-@@ -13009,114 +12837,6 @@
- CFLAGS=$save_CFLAGS
- fi
-
--{ echo "$as_me:$LINENO: result: $inn_cv_compiler_c__Wno_extra" >&5
--echo "${ECHO_T}$inn_cv_compiler_c__Wno_extra" >&6; }
-- if test x"$inn_cv_compiler_c__Wno_extra" = xyes ; then
-- PERL_WARNINGS=-Wno-extra
-- else
-- PERL_WARNINGS=''
-- fi
--else
-- PERL_CPPFLAGS=''
-- PERL_LIBS=''
-- PERL_WARNINGS=''
--fi
--
--
--
--
--
--# Check whether --with-python was given.
--if test "${with_python+set}" = set; then
-- withval=$with_python; case $withval in
-- yes) DO_PYTHON=DO
--
--cat >>confdefs.h <<\_ACEOF
--#define DO_PYTHON 1
--_ACEOF
--
-- ;;
-- no) DO_PYTHON=DONT ;;
-- *) { { echo "$as_me:$LINENO: error: invalid argument to --with-python" >&5
--echo "$as_me: error: invalid argument to --with-python" >&2;}
-- { (exit 1); exit 1; }; } ;;
-- esac
--else
-- DO_PYTHON=DONT
--fi
--
--
--if test x"$DO_PYTHON" = xDO ; then
-- if test x"${PYTHON}" = x ; then
-- # Extract the first word of "python", so it can be a program name with args.
--set dummy python; ac_word=$2
--{ echo "$as_me:$LINENO: checking for $ac_word" >&5
--echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
--if test "${ac_cv_path_PYTHON+set}" = set; then
-- echo $ECHO_N "(cached) $ECHO_C" >&6
--else
-- case $PYTHON in
-- [\\/]* | ?:[\\/]*)
-- ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
-- ;;
-- *)
-- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
--for as_dir in $PATH
--do
-- IFS=$as_save_IFS
-- test -z "$as_dir" && as_dir=.
-- for ac_exec_ext in '' $ac_executable_extensions; do
-- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-- ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
-- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-- break 2
-- fi
--done
--done
--IFS=$as_save_IFS
--
-- ;;
--esac
--fi
--PYTHON=$ac_cv_path_PYTHON
--if test -n "$PYTHON"; then
-- { echo "$as_me:$LINENO: result: $PYTHON" >&5
--echo "${ECHO_T}$PYTHON" >&6; }
--else
-- { echo "$as_me:$LINENO: result: no" >&5
--echo "${ECHO_T}no" >&6; }
--fi
--
--
--fi
--if test x"${PYTHON}" = x ; then
-- { { echo "$as_me:$LINENO: error: python was not found in path and is required" >&5
--echo "$as_me: error: python was not found in path and is required" >&2;}
-- { (exit 1); exit 1; }; }
--fi
-- { echo "$as_me:$LINENO: checking for Python linkage" >&5
--echo $ECHO_N "checking for Python linkage... $ECHO_C" >&6; }
-- py_prefix=`$PYTHON -c 'import sys; print sys.prefix'`
-- py_ver=`$PYTHON -c 'import sys; print sys.version[:3]'`
-- py_libdir="$py_prefix/lib/python$py_ver"
-- PYTHON_CPPFLAGS="-I$py_prefix/include/python$py_ver"
-- py_linkage=""
-- for py_linkpart in LIBS LIBC LIBM LOCALMODLIBS BASEMODLIBS \
-- LINKFORSHARED LDFLAGS ; do
-- py_linkage="$py_linkage "`grep "^${py_linkpart}=" \
-- $py_libdir/config/Makefile \
-- | sed -e 's/^.*=//'`
-- done
-- PYTHON_LIBS="-L$py_libdir/config -lpython$py_ver $py_linkage"
-- PYTHON_LIBS=`echo $PYTHON_LIBS | sed -e 's/ \\t*/ /g'`
-- { echo "$as_me:$LINENO: result: $py_libdir" >&5
--echo "${ECHO_T}$py_libdir" >&6; }
--else
-- PYTHON_CPPFLAGS=
-- PYTHON_LIBS=
--fi
--
--
-
- HOSTNAME=`hostname 2> /dev/null || uname -n`
-
-@@ -23728,8 +23448,6 @@
-
- ac_config_files="$ac_config_files scripts/innshellvars scripts/innshellvars.tcl"
-
--ac_config_files="$ac_config_files perl/INN/Config.pm scripts/innshellvars.pl"
--
- ac_config_files="$ac_config_files support/fixconfig"
-
- ac_config_files="$ac_config_files support/fixscript"
-@@ -24562,7 +24280,6 @@
- "include/inn/paths.h") CONFIG_FILES="$CONFIG_FILES include/inn/paths.h" ;;
- "scripts/innshellvars") CONFIG_FILES="$CONFIG_FILES scripts/innshellvars" ;;
- "scripts/innshellvars.tcl") CONFIG_FILES="$CONFIG_FILES scripts/innshellvars.tcl" ;;
-- "perl/INN/Config.pm") CONFIG_FILES="$CONFIG_FILES perl/INN/Config.pm" ;;
- "scripts/innshellvars.pl") CONFIG_FILES="$CONFIG_FILES scripts/innshellvars.pl" ;;
- "support/fixconfig") CONFIG_FILES="$CONFIG_FILES support/fixconfig" ;;
- "support/fixscript") CONFIG_FILES="$CONFIG_FILES support/fixscript" ;;
-@@ -25915,32 +25632,3 @@
- innfeed/innfeed.h
-
- EOM
--
--if test x"$inn_perl_module_warning" != x ; then
-- echo "Missing Perl modules: $inn_perl_module_warning."
-- echo "You should install them for these programs to work fine."
--fi
--
--if $PERL -e "exit((stat('$PATH_TMP'))[2] & 2)" > /dev/null ; then
-- :
--else
-- cat <<EOM
--
--WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
--
-- The temporary directory you have configured is world-writeable. It is
-- currently set to $tmpdir.
--
-- This directory is used by INN for temporary files and should only be
-- writeable by the news user. INN does not go to great lengths to prevent
-- symlink attacks and the like because it assumes this directory is not
-- world-writeable. By configuring INN in this fashion, you may be
-- introducing a locally exploitable security hole.
--
-- It is STRONGLY recommended that you use a temporary directory reserved for
-- INN's exclusive use, one which is not world-writeable. You can do this
-- either with --with-tmp-dir or by setting --prefix to something other than
-- /usr or /.
--
--EOM
--fi
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list