pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/proftpd - rc.d script: replace interpreter, add 'r...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ec6acfdb6678
branches: trunk
changeset: 552919:ec6acfdb6678
user: shattered <shattered%pkgsrc.org@localhost>
date: Sun Jan 11 22:47:54 2009 +0000
description:
- rc.d script: replace interpreter, add 'reload' command
- install 'ftpasswd' script from contrib
OK by kim@.
diffstat:
net/proftpd/Makefile | 7 +++++--
net/proftpd/PLIST | 3 ++-
net/proftpd/files/proftpd.sh | 5 +++--
3 files changed, 10 insertions(+), 5 deletions(-)
diffs (67 lines):
diff -r 8c94cc2057cc -r ec6acfdb6678 net/proftpd/Makefile
--- a/net/proftpd/Makefile Sun Jan 11 22:06:13 2009 +0000
+++ b/net/proftpd/Makefile Sun Jan 11 22:47:54 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.52 2008/12/28 08:56:59 kim Exp $
+# $NetBSD: Makefile,v 1.53 2009/01/11 22:47:54 shattered Exp $
DISTNAME= proftpd-1.3.2rc3
-#PKGREVISION= 1
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
ftp://ftp.servus.at/ProFTPD/distrib/source/ \
@@ -31,6 +31,7 @@
BUILD_DEFS+= VARBASE
RCD_SCRIPTS= proftpd
+REPLACE_PERL+= contrib/ftpasswd
CONF_FILES= ${PREFIX}/share/examples/proftpd/basic.conf \
${PKG_SYSCONFDIR}/proftpd.conf
@@ -64,6 +65,8 @@
.endfor
${INSTALL_DATA} ${WRKSRC}/sample-configurations/*.conf \
${DESTDIR}${PREFIX}/share/examples/proftpd
+ ${INSTALL_SCRIPT} ${WRKSRC}/contrib/ftpasswd \
+ ${DESTDIR}${PREFIX}/share/examples/proftpd
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 8c94cc2057cc -r ec6acfdb6678 net/proftpd/PLIST
--- a/net/proftpd/PLIST Sun Jan 11 22:06:13 2009 +0000
+++ b/net/proftpd/PLIST Sun Jan 11 22:47:54 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2008/10/03 06:52:03 martti Exp $
+@comment $NetBSD: PLIST,v 1.15 2009/01/11 22:47:54 shattered Exp $
bin/ftpcount
bin/ftpdctl
bin/ftptop
@@ -83,6 +83,7 @@
share/examples/proftpd/anonymous.conf
share/examples/proftpd/basic.conf
share/examples/proftpd/complex-virtual.conf
+share/examples/proftpd/ftpasswd
share/examples/proftpd/mod_sql.conf
share/examples/proftpd/virtual.conf
share/examples/rc.d/proftpd
diff -r 8c94cc2057cc -r ec6acfdb6678 net/proftpd/files/proftpd.sh
--- a/net/proftpd/files/proftpd.sh Sun Jan 11 22:06:13 2009 +0000
+++ b/net/proftpd/files/proftpd.sh Sun Jan 11 22:47:54 2009 +0000
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: proftpd.sh,v 1.2 2005/06/22 22:43:37 salo Exp $
+# $NetBSD: proftpd.sh,v 1.3 2009/01/11 22:47:54 shattered Exp $
#
# PROVIDE: proftpd
@@ -14,6 +14,7 @@
command="@PREFIX@/sbin/${name}"
pidfile="@VARBASE@/run/${name}.pid"
required_files="@PKG_SYSCONFDIR@/proftpd.conf"
+extra_commands="reload"
load_rc_config $name
run_rc_command "$1"
Home |
Main Index |
Thread Index |
Old Index