upgrade to jftpgw 0.0.11f
This commit is contained in:
parent
5369667414
commit
4063ca6dba
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2000/10/13 00:34:20 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2001/02/27 14:05:07 brad Exp $
|
||||
|
||||
DISTNAME= jftpgw-0.0.11
|
||||
DISTNAME= jftpgw-0.0.11f
|
||||
CATEGORIES= net
|
||||
NEED_VERSION= 1.330
|
||||
NEED_VERSION= 1.336
|
||||
MASTER_SITES= http://www.mcknight.de/jftpgw/
|
||||
|
||||
HOMEPAGE= http://www.mcknight.de/jftpgw/
|
||||
@ -20,8 +20,8 @@ CONFIGURE_ARGS= --enable-crypt \
|
||||
--with-logpath="/var/log" --with-confpath="${SYSCONFDIR}"
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/jftpgw
|
||||
${INSTALL_DATA} ${WRKBUILD}/jftpgw.conf.sample ${PREFIX}/lib/jftpgw
|
||||
${INSTALL_DATA} ${WRKBUILD}/jftpgw.access.sample ${PREFIX}/lib/jftpgw
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/jftpgw
|
||||
cd ${WRKBUILD}; ${INSTALL_DATA} jftpgw.conf.sample jftpgw.access.sample \
|
||||
${PREFIX}/share/examples/jftpgw
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (jftpgw-0.0.11.tar.gz) = b6a2c65c59727693a8f460dddc98e0e4
|
||||
RMD160 (jftpgw-0.0.11.tar.gz) = 7e982af91b431f043876b5dc423d5546e490867a
|
||||
SHA1 (jftpgw-0.0.11.tar.gz) = 4d0355ce689c38f313a7932d7142b47012488542
|
||||
MD5 (jftpgw-0.0.11f.tar.gz) = bd1922a0dcd22c1e60593f42724108af
|
||||
RMD160 (jftpgw-0.0.11f.tar.gz) = c125822dae72529dacbee351dbbeab7a3d2a6e89
|
||||
SHA1 (jftpgw-0.0.11f.tar.gz) = fc673f36ca5922f9b6325e045d2256d4321799c0
|
||||
|
@ -1,20 +1,21 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.1.1.1 2000/07/22 08:53:38 brad Exp $
|
||||
# $OpenBSD: DEINSTALL,v 1.2 2001/02/27 14:05:08 brad Exp $
|
||||
#
|
||||
# jftpgw de-installation
|
||||
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
CONFIG_FILE=/etc/jftpgw.conf
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_DIR=${SYSCONFDIR}
|
||||
|
||||
if [ -f ${CONFIG_FILE} ]; then
|
||||
if [ -f $CONFIG_DIR/jftpgw.conf ]; then
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| To completely deinstall the $1 package you need to perform"
|
||||
echo "| this step as root:"
|
||||
echo "|"
|
||||
echo "| rm -f ${CONFIG_FILE}"
|
||||
echo "| rm -f /etc/jftpgw.access"
|
||||
echo "| rm -f $CONFIG_DIR/jftpgw.conf"
|
||||
echo "| rm -f $CONFIG_DIR/jftpgw.access"
|
||||
echo "|"
|
||||
echo "| Do not do this if you plan on re-installing $1"
|
||||
echo "| at some future time."
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.1.1.1 2000/07/22 08:53:38 brad Exp $
|
||||
# $OpenBSD: INSTALL,v 1.2 2001/02/27 14:05:08 brad Exp $
|
||||
#
|
||||
# Pre/post-installation setup of jftpgw
|
||||
|
||||
@ -7,15 +7,17 @@
|
||||
#
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
CONFIG_FILE=/etc/jftpgw.conf
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_DIR=${SYSCONFDIR}
|
||||
SAMPLE_CONFIG_DIR=$PREFIX/share/examples/jftpgw
|
||||
|
||||
do_notice()
|
||||
{
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| The existing $1 configuration file, ${CONFIG_FILE},"
|
||||
echo "| The existing $1 configuration file, $CONFIG_DIR/jftpgw.conf,"
|
||||
echo "| has NOT been changed. You may want to compare it to the"
|
||||
echo "| current sample file, ${PREFIX}/lib/jftpgw/jftpgw.conf.sample,"
|
||||
echo "| current sample file, $SAMPLE_CONFIG_DIR/jftpgw.conf.sample,"
|
||||
echo "| and update your configuration as needed."
|
||||
echo "+---------------"
|
||||
echo
|
||||
@ -23,11 +25,11 @@ do_notice()
|
||||
|
||||
do_install()
|
||||
{
|
||||
install -o root -g wheel -m 644 ${PREFIX}/lib/jftpgw/jftpgw.conf.sample ${CONFIG_FILE}
|
||||
install -o root -g wheel -m 644 ${PREFIX}/lib/jftpgw/jftpgw.access.sample /etc/jftpgw.access
|
||||
install -o root -g wheel -m 644 $SAMPLE_CONFIG_DIR/jftpgw.conf.sample $CONFIG_DIR/jftpgw.conf
|
||||
install -o root -g wheel -m 644 $SAMPLE_CONFIG_DIR/jftpgw.access.sample $CONFIG_DIR/jftpgw.access
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| The $1 configuration file, ${CONFIG_FILE},"
|
||||
echo "| The $1 configuration file, $CONFIG_DIR/jftpgw.conf,"
|
||||
echo "| has been installed. Please view this file and change"
|
||||
echo "| the configuration to meet your needs"
|
||||
echo "+---------------"
|
||||
@ -49,7 +51,7 @@ case $2 in
|
||||
: nothing to pre-install for this port
|
||||
;;
|
||||
POST-INSTALL)
|
||||
if [ -f $CONFIG_FILE ]; then
|
||||
if [ -f $CONFIG_DIR/jftpgw.conf ]; then
|
||||
do_notice $1
|
||||
else
|
||||
do_install $1
|
||||
|
@ -1,5 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2000/07/22 08:53:38 brad Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2001/02/27 14:05:08 brad Exp $
|
||||
bin/jftpgw
|
||||
lib/jftpgw/jftpgw.conf.sample
|
||||
lib/jftpgw/jftpgw.access.sample
|
||||
@dirrm lib/jftpgw
|
||||
share/examples/jftpgw/jftpgw.conf.sample
|
||||
share/examples/jftpgw/jftpgw.access.sample
|
||||
@dirrm share/examples/jftpgw
|
||||
|
Loading…
Reference in New Issue
Block a user