View | Details | Raw Unified | Return to bug 23087
Collapse All | Expand All

(-)amanda/Makefile (-29 / +23 lines)
Lines 6-50 Link Here
6
#
6
#
7
7
8
PORTNAME=	amanda
8
PORTNAME=	amanda
9
PORTVERSION=	2.3.0
9
PORTVERSION=	2.3.0.4
10
CATEGORIES=	misc
10
CATEGORIES=	misc
11
MASTER_SITES=	ftp://ftp.cs.umd.edu/pub/amanda/old-versions/
11
MASTER_SITES=	ftp://ftp.cs.umd.edu/pub/amanda/old-versions/
12
12
13
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
14
14
15
GNU_CONFIGURE=yes
16
CONFIGURE_ARGS+=--with-dbdir=/var/log/amanda --with-logdir=/var/log/amanda \
17
		--libexecdir=${PREFIX}/libexec/amanda --with-bsd-security \
18
		--with-mmap
19
15
MAN8=		amadmin.8 amanda.8 amcheck.8 amcleanup.8 amdump.8 amflush.8 \
20
MAN8=		amadmin.8 amanda.8 amcheck.8 amcleanup.8 amdump.8 amflush.8 \
16
		amlabel.8 amrestore.8 amtape.8
21
		amlabel.8 amplot.8 amrecover.8 amrestore.8 amrmtape.8 amtape.8 \
22
		amtoc.8
23
24
LIBEXEC_BIN=	amandad amcat.awk amgetidx amidxtaped amindexd amplot.awk \
25
		amplot.g amplot.gp amtrmidx calcsize chg-generic \
26
		createindex-dump createindex-gnutar driver dumper getconf \
27
		hp-changer no-changer patch-system planner reporter \
28
		rth-changer rundump runtar selfcheck sendbackup-dump \
29
		sendbackup-gnutar sendindex sendsize taper versionsuffix
30
31
BIN_BIN=	amadmin amcheck amcheckdb amcleanup amdump amflush amlabel \
32
		amoverview amplot amrecover amrestore amrmtape amtape amtoc \
33
		amverify
17
34
18
LIBEXEC_BIN=	amandad calcsize driver dumper getconf planner reporter \
35
INSTALL_DATA=	amanda.conf chg-generic.conf disklist
19
		runtar selfcheck sendbackup-dump sendbackup-gnutar sendsize \
20
		taper
21
SBIN_BIN=	amadmin amcheck amflush amlabel amrestore amtape
22
23
post-patch:
24
	@${LN} -sf config.h-freebsd2 ${WRKSRC}/config/config.h
25
	@${SED} -e 's:%%CC%%:${CC}:g' \
26
		-e 's:%%CFLAGS%%:${CFLAGS}:g' \
27
	        -e 's:%%INSTALL%%:${INSTALL}:g' \
28
	        -e 's:%%PREFIX%%:${PREFIX}:g' \
29
		${WRKSRC}/config/options.h-vanilla > ${WRKSRC}/config/options.h
30
.for file in amanda.8 amcleanup.8 amflush.8 amlabel.8
31
	@cd ${WRKSRC}/man/; ${MV} ${file} ${file}.in; \
32
		${SED} -e 's:%%PREFIX%%:${PREFIX}:g' ${file}.in > ${file}
33
.endfor
34
36
35
post-install:
37
post-install:
36
.for file in ${LIBEXEC_BIN}
37
	@if [ -f ${PREFIX}/libexec/amanda/${file} ]; then \
38
		strip ${PREFIX}/libexec/amanda/${file}; \
39
	fi
40
.endfor
41
.for file in ${SBIN_BIN}
42
	@if [ -f ${PREFIX}/sbin/${file} ]; then \
43
		strip ${PREFIX}/sbin/${file}; \
44
	fi
45
.endfor
46
	@${MKDIR} ${PREFIX}/share/examples/amanda
38
	@${MKDIR} ${PREFIX}/share/examples/amanda
47
	${INSTALL_DATA} ${WRKSRC}/example/* ${PREFIX}/share/examples/amanda
39
	${INSTALL_DATA} ${WRKSRC}/example/amanda.conf ${PREFIX}/share/examples/amanda
40
	${INSTALL_DATA} ${WRKSRC}/example/chg-generic.conf ${PREFIX}/share/examples/amanda
41
	${INSTALL_DATA} ${WRKSRC}/example/disklist ${PREFIX}/share/examples/amanda
48
	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
42
	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
49
43
50
.include <bsd.port.mk>
44
.include <bsd.port.mk>
(-)amanda/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (amanda-2.3.0.tar.gz) = fabe173c0b507633d8b7eb081acd8174
1
MD5 (amanda-2.3.0.4.tar.gz) = ec8fdad27b3f0ea2a09ac0b1639c7fab
(-)amanda/files/patch-ah (+11 lines)
Line 0 Link Here
1
--- common-src/amanda.h.orig	Fri Nov 24 11:33:22 2000
2
+++ common-src/amanda.h	Fri Nov 24 11:33:33 2000
3
@@ -421,7 +421,7 @@
4
 #endif
5
 
6
 #ifndef HAVE_INITGROUPS_DECL
7
-extern int initgroups P((const char *name, gid_t basegid));
8
+/* extern int initgroups P((const char *name, gid_t basegid)); */
9
 #endif
10
 
11
 #ifndef HAVE_LISTEN_DECL
(-)amanda/pkg-plist (-9 / +28 lines)
Lines 1-25 Link Here
1
libexec/amanda/amandad
1
libexec/amanda/amandad
2
libexec/amanda/amgetidx
3
libexec/amanda/amidxtaped
4
libexec/amanda/amindexd
5
libexec/amanda/amtrmidx
2
libexec/amanda/calcsize
6
libexec/amanda/calcsize
3
libexec/amanda/chg-generic
7
libexec/amanda/chg-generic
8
libexec/amanda/createindex-dump
9
libexec/amanda/createindex-gnutar
4
libexec/amanda/driver
10
libexec/amanda/driver
5
libexec/amanda/dumper
11
libexec/amanda/dumper
6
libexec/amanda/getconf
12
libexec/amanda/getconf
13
libexec/amanda/hp-changer
14
libexec/amanda/no-changer
15
libexec/amanda/patch-system
7
libexec/amanda/planner
16
libexec/amanda/planner
8
libexec/amanda/reporter
17
libexec/amanda/reporter
18
libexec/amanda/rth-changer 
19
libexec/amanda/rundump
9
libexec/amanda/runtar
20
libexec/amanda/runtar
10
libexec/amanda/selfcheck
21
libexec/amanda/selfcheck
11
libexec/amanda/sendbackup-dump
22
libexec/amanda/sendbackup-dump
12
libexec/amanda/sendbackup-gnutar
23
libexec/amanda/sendbackup-gnutar 
24
libexec/amanda/sendindex
13
libexec/amanda/sendsize
25
libexec/amanda/sendsize
14
libexec/amanda/taper
26
libexec/amanda/taper
15
sbin/amadmin
27
libexec/amanda/versionsuffix
16
sbin/amcheck
28
bin/amadmin
17
sbin/amcleanup
29
bin/amcheck
18
sbin/amdump
30
bin/amcheckdb
19
sbin/amflush
31
bin/amcleanup
20
sbin/amlabel
32
bin/amdump
21
sbin/amrestore
33
bin/amflush
22
sbin/amtape
34
bin/amlabel
35
bin/amoverview
36
bin/amrecover
37
bin/amrestore
38
bin/amrmtape
39
bin/amtape
40
bin/amtoc
41
bin/amverify
23
share/examples/amanda/amanda.conf
42
share/examples/amanda/amanda.conf
24
share/examples/amanda/chg-generic.conf
43
share/examples/amanda/chg-generic.conf
25
share/examples/amanda/disklist
44
share/examples/amanda/disklist

Return to bug 23087