View | Details | Raw Unified | Return to bug 111410 | Differences between
and this patch

Collapse All | Expand All

(-)ftp-proxy/Makefile (-7 / +11 lines)
Lines 2-13 Link Here
2
# Date created:        4. March 2007
2
# Date created:        4. March 2007
3
# Whom:                Christian Ludwig
3
# Whom:                Christian Ludwig
4
#
4
#
5
# $FreeBSD: ports/ftp/ftp-proxy/Makefile,v 1.2 2007/04/06 18:28:44 mnag Exp $
5
# $FreeBSD$
6
#
6
#
7
7
8
PORTNAME=	ftp-proxy
8
PORTNAME=	ftp-proxy
9
PORTVERSION=	4.0p0
9
PORTVERSION=	4.1p1
10
PORTREVISION=	1
11
CATEGORIES=	ftp
10
CATEGORIES=	ftp
12
MASTER_SITES=	http://www.chrissicool.net/projects/ftp-proxy/distfiles/
11
MASTER_SITES=	http://www.chrissicool.net/projects/ftp-proxy/distfiles/
13
12
Lines 19-32 Link Here
19
MAN8=		ftp-proxy.8
18
MAN8=		ftp-proxy.8
20
MANCOMPRESSED=	yes
19
MANCOMPRESSED=	yes
21
20
22
PLIST_FILES=	sbin/ftp-proxy		\
21
PLIST_FILES=	sbin/ftp-proxy
23
		etc/rc.d/ftp-proxy.sh
22
USE_RC_SUBR=	ftp-proxy
24
23
25
CFLAGS+=	-I${PREFIX}/include
24
CFLAGS+=	-I${PREFIX}/include
26
25
26
.include <bsd.port.pre.mk>
27
28
.if ${OSVERSION} < 502106
29
IGNORE=		only for 5.3 and above
30
.endif
31
27
do-install:
32
do-install:
28
	${INSTALL_PROGRAM} ${WRKSRC}/ftp-proxy ${PREFIX}/sbin
33
	${INSTALL_PROGRAM} ${WRKSRC}/ftp-proxy ${PREFIX}/sbin
29
	${INSTALL_SCRIPT} ${FILESDIR}/ftp-proxy.sh ${PREFIX}/etc/rc.d
30
	${INSTALL_MAN} ${WRKSRC}/ftp-proxy.8.gz ${PREFIX}/man/man8
34
	${INSTALL_MAN} ${WRKSRC}/ftp-proxy.8.gz ${PREFIX}/man/man8
31
35
32
.include <bsd.port.mk>
36
.include <bsd.port.post.mk>
(-)ftp-proxy/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (ftp-proxy-4.0p0.tar.gz) = 1defe7411ed13966910d1ec25784db86
1
MD5 (ftp-proxy-4.1p1.tar.gz) = 6809f67b62f3b38c96077a1ec4fd4f59
2
SHA256 (ftp-proxy-4.0p0.tar.gz) = cabd125a011d6548f40c72e29a254e71decde306f55ff5d037018cb33901867f
2
SHA256 (ftp-proxy-4.1p1.tar.gz) = 37854e5a7ccd36dc43d644cba55020114a796430541365f537a6ef2b32376ac5
3
SIZE (ftp-proxy-4.0p0.tar.gz) = 13381
3
SIZE (ftp-proxy-4.1p1.tar.gz) = 12849
(-)ftp-proxy/files/ftp-proxy.sh (-32 lines)
Lines 1-32 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD: ports/ftp/ftp-proxy/files/ftp-proxy.sh,v 1.1 2007/03/07 09:27:02 miwi Exp $
4
#
5
6
# PROVIDE: ftp-proxy
7
# REQUIRE: DAEMON
8
#
9
# NOTE for FreeBSD 5.0+:
10
# If you want this script to start with the base rc scripts
11
# move ftp-proxy.sh to /etc/rc.d/ftp-proxy
12
# Define these ftp-proxy_* variables in one of these files:
13
#	/etc/rc.conf
14
#	/etc/rc.conf.local
15
#	/etc/rc.conf.d/ftp-proxy
16
#
17
# DO NOT CHANGE THESE DEFAULT VALUES HERE
18
#
19
20
ftpproxy_enable=${ftp-proxy_enable:-"NO"}	# Enable ftp-proxy
21
ftpproxy_flags=${ftp-proxy_flags:-""}		# Flags to ftp-proxy program
22
#ftpproxy_program="%%PREFIX%%/sbin/ftp-proxy"	# Location of ftp-proxy
23
24
. %%RC_SUBR%%
25
26
name="ftp-proxy"
27
rcvar=`set_rcvar`
28
command="%%PREFIX%%/sbin/${name}"
29
30
load_rc_config $name
31
32
run_rc_command "$1"
(-)ftp-proxy/pkg-descr (-1 / +1 lines)
Lines 1-3 Link Here
1
A ftp proxy for firewalled connections,using pf's anchors and rules.
1
A ftp proxy for firewalled connections,using pf's anchors and rules.
2
2
3
WWW: http://www.openbsd.org/
3
WWW: http://www.chrissicool.net/projects/ftp-proxy/

Return to bug 111410