Remove non staged ports without pending PR from m*

This commit is contained in:
Baptiste Daroussin 2014-09-01 21:38:59 +00:00
parent 5ab8c07e58
commit beced671bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366962
145 changed files with 17 additions and 4875 deletions

17
MOVED
View file

@ -6722,3 +6722,20 @@ math/petsc||2014-09-01|Not staged
math/sdpa-gmp||2014-09-01|Not staged
math/sedumi||2014-09-01|Not staged
math/unixstat||2014-09-01|Not staged
misc/amanda25-client||2014-09-01|Not staged
misc/amanda25-server||2014-09-01|Not staged
misc/amanda26-client||2014-09-01|Not staged
misc/amanda26-server||2014-09-01|Not staged
misc/amanda32-client||2014-09-01|Not staged
misc/amanda32-server||2014-09-01|Not staged
misc/callid||2014-09-01|Not staged
misc/color-theme.el||2014-09-01|Not staged
misc/dotfile||2014-09-01|Not staged
misc/libhome||2014-09-01|Not staged
misc/mshell||2014-09-01|Not staged
misc/quranref||2014-09-01|Not staged
misc/tet||2014-09-01|Not staged
misc/xfce4-artwork||2014-09-01|Not staged
multimedia/clive1||2014-09-01|Not staged
multimedia/mplayerxp||2014-09-01|Not staged
multimedia/tunapie||2014-09-01|Not staged

View file

@ -8,12 +8,6 @@
SUBDIR += amanda-client
SUBDIR += amanda-perl-wrapper
SUBDIR += amanda-server
SUBDIR += amanda25-client
SUBDIR += amanda25-server
SUBDIR += amanda26-client
SUBDIR += amanda26-server
SUBDIR += amanda32-client
SUBDIR += amanda32-server
SUBDIR += amfm
SUBDIR += apparix
SUBDIR += asbutton
@ -33,7 +27,6 @@
SUBDIR += boxquote.el
SUBDIR += brs
SUBDIR += buffer
SUBDIR += callid
SUBDIR += cave
SUBDIR += cdcollect
SUBDIR += chef
@ -43,7 +36,6 @@
SUBDIR += cloc
SUBDIR += clpbar
SUBDIR += cmatrix
SUBDIR += color-theme.el
SUBDIR += colortail
SUBDIR += compat10x
SUBDIR += compat4x
@ -71,7 +63,6 @@
SUBDIR += digitemp
SUBDIR += display
SUBDIR += dnetc
SUBDIR += dotfile
SUBDIR += dphys-config
SUBDIR += dtach
SUBDIR += dvorak7min
@ -243,7 +234,6 @@
SUBDIR += lc
SUBDIR += lesspipe
SUBDIR += libeatmydata
SUBDIR += libhome
SUBDIR += libisocodes
SUBDIR += libkdeedu
SUBDIR += libmetalink
@ -271,7 +261,6 @@
SUBDIR += mime-support
SUBDIR += mirmon
SUBDIR += mmv
SUBDIR += mshell
SUBDIR += mtail
SUBDIR += mtx
SUBDIR += nagios-base-logos
@ -386,7 +375,6 @@
SUBDIR += qt4-qtconfig
SUBDIR += qt4-qtdemo
SUBDIR += quotes
SUBDIR += quranref
SUBDIR += ree
SUBDIR += rfc
SUBDIR += ringtonetools
@ -430,7 +418,6 @@
SUBDIR += termatrix
SUBDIR += terraform
SUBDIR += teseq
SUBDIR += tet
SUBDIR += tkcron
SUBDIR += tkinfo
SUBDIR += tkregexp
@ -469,7 +456,6 @@
SUBDIR += xdelta3
SUBDIR += xdg-menu
SUBDIR += xfce4-appfinder
SUBDIR += xfce4-artwork
SUBDIR += xfce4-weather-plugin
SUBDIR += xfce4-wm-themes
SUBDIR += xgas

View file

@ -1,17 +0,0 @@
# Created by: gpalmer
# $FreeBSD$
PKGNAMESUFFIX= 25-client
PORTREVISION= 4
COMMENT= The Advanced Maryland Automatic Network Disk Archiver (client)
MASTERDIR= ${.CURDIR}/../amanda25-server
PKGINSTALL= mustnotexist
PLIST= ${PKGDIR}/pkg-plist.client
CLIENT_ONLY= yes
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View file

@ -1,220 +0,0 @@
# Created by: gpalmer
# $FreeBSD$
PORTNAME= amanda
PORTVERSION= 2.5.1p3
PORTREVISION?= 7
PKGNAMESUFFIX?= 25-server
PORTEPOCH= 1
CATEGORIES= misc
MASTER_SITES= SF/amanda/amanda%20-%20stable/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT?= The Advanced Maryland Automatic Network Disk Archiver (server)
WRKSRC= ${WRKDIR}/amanda-${PORTVERSION}
SLAVEDIRS= misc/amanda25-client
USE_AUTOTOOLS= autoconf
USES= gmake
USE_OPENSSL= yes
PATCH_STRIP=
CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \
--with-amandahosts --with-fqdn \
--with-dump-honor-nodump --with-buffered-dump \
--disable-libtool --prefix=${PREFIX} \
--with-user=${AMANDA_USER} --with-group=${AMANDA_GROUP}
USE_LDCONFIG= yes
SAMBA_PORT?= net/samba36
OPTIONS_DEFINE= GNUTAR SSH
OPTIONS_DEFAULT= SSH
GNUTAR_DESC= use GNU tar
SSH_DESC= Enable ssh-auth
AMANDA_USER?= operator
AMANDA_GROUP?= operator
AMANDA_GNUTAR_LISTDIR?= ${PREFIX}/var/amanda/gnutar-lists
PLIST_SUB= SHLIBVER=${PORTVERSION}
# amanda-server/amanda-client common part
.if defined (AMANDA_SERVER)
CONFIGURE_ARGS+= --with-index-server=${AMANDA_SERVER}
CONFIGURE_ARGS+= --with-tape-server=${AMANDA_SERVER}
.endif
.if defined (AMANDA_CONFIG)
CONFIGURE_ARGS+= --with-config=${AMANDA_CONFIG}
.endif
.if defined (AMANDA_UDPPORTRANGE)
CONFIGURE_ARGS+= --with-udpportrange=${AMANDA_UDPPORTRANGE}
.endif
# AMANDA_PORTRANGE is obsoleted. Use AMANDA_TCPPORTRANGE instead.
.if defined (AMANDA_PORTRANGE)
AMANDA_TCPPORTRANGE= ${AMANDA_PORTRANGE}
.endif
.if defined (AMANDA_TCPPORTRANGE)
CONFIGURE_ARGS+= --with-tcpportrange=${AMANDA_TCPPORTRANGE}
.endif
.if !defined(CLIENT_ONLY)
OPTIONS_DEFINE+= PLOT SAMBA MTX AESPIPE
PLOT_DESC= Eenable ploting, requires X11 libraries
SAMBA_DESC= Enable the use of smbclient
MTX_DESC= Enable the use of mtx changer scripts
AESPIPE_DESC= Enable encryption. Needed by amcrypt
.else
OPTIONS_DEFINE+= DUMP_SNAPSHOT
DUMP_SNAPSHOT_DESC= Use snapshot by using dump -L
.endif
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSSH}
CONFIGURE_ARGS+= --with-ssh-security
.endif
.if ${PORT_OPTIONS:MGNUTAR}
CONFIGURE_ARGS+=--with-gnutar-listdir=${AMANDA_GNUTAR_LISTDIR} \
--with-gnutar=${LOCALBASE}/bin/gtar
BUILD_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
.endif
# amanda-server part
.if !defined(CLIENT_ONLY)
pre-fetch:
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@${ECHO} ""
@${ECHO} " AMANDA_SERVER=server to specify a server name"
@${ECHO} " The default is `uname -n`"
@${ECHO} " AMANDA_TAPE=tape to specify the default tape device"
@${ECHO} " The default is /dev/nrsa0"
@${ECHO} " AMANDA_CONFIG=config to specify the default configuration"
@${ECHO} " The default is user"
@${ECHO} " AMANDA_USER=user to specify the default user"
@${ECHO} " The default is operator"
@${ECHO} " AMANDA_GROUP=group to specify the default group"
@${ECHO} " The default is operator"
@${ECHO} " AMANDA_TCPPORTRANGE=low,high to restrict Amanda to TCP ports"
@${ECHO} " between low and high when connecting from the server"
@${ECHO} " to the client for data, messages, and indexing."
@${ECHO} " The default is no restriction on TCP ports."
@${ECHO} " AMANDA_UDPPORTRANGE=low,high to restrict Amanda to UDP ports"
@${ECHO} " between low and high when connecting from the client"
@${ECHO} " to the server. Use ports below 1024."
@${ECHO} " The default is no restriction on UDP ports."
@${ECHO} ""
post-patch:
@${REINPLACE_CMD} \
-e 's|^OPENSSL=.*$$|OPENSSL=${OPENSSLBASE}/bin/openssl|' \
${WRKSRC}/server-src/amcrypt-ossl.sh.in \
${WRKSRC}/server-src/amcrypt-ossl-asym.sh.in
USES+= perl5
BUILD_DEPENDS+= ${LOCALBASE}/sbin/amrecover:${PORTSDIR}/misc/amanda25-client
RUN_DEPENDS+= ${LOCALBASE}/sbin/amrecover:${PORTSDIR}/misc/amanda25-client
CONFLICTS= amanda-server-2.6.* amanda-server-3.* amanda26-server-*
CONFIGURE_ARGS+=--without-client
MAN8= amadmin.8 amaespipe.8 amcheck.8 \
amcheckdb.8 amcleanup.8 \
amcrypt.8 amcrypt-ossl-asym.8 amcrypt-ossl.8 amdd.8 \
amdump.8 amfetchdump.8 amflush.8 amgetconf.8 amlabel.8 ammt.8 \
amoverview.8 amreport.8 amrmtape.8 amstatus.8 \
amtape.8 amtoc.8 amverify.8 amverifyrun.8 amtapetype.8
.if ${PORT_OPTIONS:MPLOT}
BUILD_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot
RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot
MAN8+= amplot.8
PLIST_SUB+= PLOT=''
.else
PLIST_SUB+= PLOT='@comment '
.endif
.if ${PORT_OPTIONS:MSAMBA}
BUILD_DEPENDS+= smbclient:${PORTSDIR}/${SAMBA_PORT}
RUN_DEPENDS+= smbclient:${PORTSDIR}/${SAMBA_PORT}
CONFIGURE_ARGS+= --with-smbclient=${LOCALBASE}/bin/smbclient
.endif
.if ${PORT_OPTIONS:MMTX}
BUILD_DEPENDS+= mtx:${PORTSDIR}/misc/mtx
RUN_DEPENDS+= mtx:${PORTSDIR}/misc/mtx
.endif
.if ${PORT_OPTIONS:MAESPIPE}
RUN_DEPENDS+= aespipe:${PORTSDIR}/security/aespipe
.endif
.if defined (AMANDA_TAPE)
CONFIGURE_ARGS+= --with-tape-device=${AMANDA_TAPE}
.endif
# amanda-client part
.else
pre-fetch:
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@${ECHO} ""
@${ECHO} " AMANDA_SERVER=server to specify a server name"
@${ECHO} " The default is `uname -n`"
@${ECHO} " AMANDA_CONFIG=config to specify the default configuation"
@${ECHO} " The default is user"
@${ECHO} " AMANDA_GNUTAR_LISTDIR=dir to specify the directory that"
@${ECHO} " the gnutar index files should live in"
@${ECHO} " The default is /var/amanda/gnutar-lists"
@${ECHO} " AMANDA_USER=user to specify the default user"
@${ECHO} " The default is operator"
@${ECHO} " AMANDA_GROUP=group to specify the default group"
@${ECHO} " The default is operator"
@${ECHO} " AMANDA_TCPPORTRANGE=low,high to restrict Amanda to TCP ports"
@${ECHO} " between low and high when connecting from the server"
@${ECHO} " to the client for data, messages, and indexing."
@${ECHO} " The default is no restriction on TCP ports."
@${ECHO} " AMANDA_UDPPORTRANGE=low,high to restrict Amanda to UDP ports"
@${ECHO} " between low and high when connecting from the client"
@${ECHO} " to the server. Use ports below 1024."
@${ECHO} " The default is no restriction on UDP ports."
@${ECHO} ""
CONFLICTS= amanda-client-2.6.* amanda-client-3.* amanda26-client-*
CONFIGURE_ARGS+=--without-server
MAN5= amanda.conf.5 amanda-client.conf.5
MAN8= amanda.8 amrecover.8 amrestore.8
post-install:
${MKDIR} ${PREFIX}/share/examples/amanda
${CP} -R ${WRKSRC}/example/amanda.conf \
${WRKSRC}/example/chg-multi.conf \
${WRKSRC}/example/chg-scsi.conf \
${WRKSRC}/example/disklist \
${PREFIX}/share/examples/amanda
${MKDIR} ${AMANDA_GNUTAR_LISTDIR}
${CHOWN} ${AMANDA_USER}:${AMANDA_GROUP} ${AMANDA_GNUTAR_LISTDIR}
${TOUCH} /etc/amandates
${CHOWN} ${AMANDA_USER}:${AMANDA_GROUP} /etc/amandates
.if ${PORT_OPTIONS:MDUMP_SNAPSHOT}
EXTRA_PATCHES= ${FILESDIR}/extra-patch-sendbackup-dump.c
.endif
.endif
# Maintainer TODO:
# o amanda-server installs lib/libamandad.a which should be handled by
# amanda-client only.
.include <bsd.port.mk>

View file

@ -1,2 +0,0 @@
SHA256 (amanda-2.5.1p3.tar.gz) = 64e60f323a89a8a064936334335cfde6cf41e6127f7f8b1c9b6de2d393de3f72
SIZE (amanda-2.5.1p3.tar.gz) = 1905664

View file

@ -1,36 +0,0 @@
--- client-src/sendbackup-dump.c.orig Fri Sep 8 13:09:14 2006
+++ client-src/sendbackup-dump.c Fri Sep 8 13:15:44 2006
@@ -35,6 +35,10 @@
#include "clock.h"
#include "version.h"
+#ifdef __FreeBSD__
+#include <sys/param.h>
+#endif
+
#define LEAF_AND_DIRS "sed -e \'\ns/^leaf[ \t]*[0-9]*[ \t]*\\.//\nt\n/^dir[ \t]/ {\ns/^dir[ \t]*[0-9]*[ \t]*\\.//\ns%$%/%\nt\n}\nd\n\'"
static amregex_t re_table[] = {
@@ -370,6 +374,12 @@
dumpkeys = vstralloc(level_str,
options->no_record ? "" : "u",
+#ifdef __FreeBSD__
+ "b",
+#if defined(__FreeBSD_version) && (__FreeBSD_version >= 500043)
+ "L",
+#endif
+#endif
"s",
#ifdef HAVE_HONOR_NODUMP
"h",
@@ -392,6 +402,9 @@
&dumpin, &dumpout, &mesgf,
cmd, config,
dumpkeys,
+#ifdef __FreeBSD__
+ "64",
+#endif
"1048576",
#ifdef HAVE_HONOR_NODUMP
"0",

View file

@ -1,39 +0,0 @@
--- man/Makefile.in.orig Tue Sep 5 23:08:22 2006
+++ man/Makefile.in Thu Sep 7 14:14:52 2006
@@ -193,8 +193,8 @@
WANT_CLIENT_TRUE = @WANT_CLIENT_TRUE@
WANT_RECOVER_FALSE = @WANT_RECOVER_FALSE@
WANT_RECOVER_TRUE = @WANT_RECOVER_TRUE@
-WANT_RESTORE_FALSE = @WANT_RESTORE_FALSE@
-WANT_RESTORE_TRUE = @WANT_RESTORE_TRUE@
+WANT_CLIENT_FALSE = @WANT_CLIENT_FALSE@
+WANT_CLIENT_TRUE = @WANT_CLIENT_TRUE@
WANT_RUNTIME_PSEUDO_RELOC_FALSE = @WANT_RUNTIME_PSEUDO_RELOC_FALSE@
WANT_RUNTIME_PSEUDO_RELOC_TRUE = @WANT_RUNTIME_PSEUDO_RELOC_TRUE@
WANT_SAMBA_FALSE = @WANT_SAMBA_FALSE@
@@ -261,13 +261,13 @@
target_os = @target_os@
target_vendor = @target_vendor@
@WANT_AMPLOT_TRUE@AMPLOT_MAN8_PAGES = amplot.8
-COMMON_MAN8_PAGES = amanda.8
-COMMON_MAN5_PAGES = amanda.conf.5 \
+@WANT_CLIENT_TRUE@COMMON_MAN8_PAGES = amanda.8
+@WANT_CLIENT_TRUE@COMMON_MAN5_PAGES = amanda.conf.5 \
amanda-client.conf.5
#if WANT_SERVER
-SERVER_MAN8_PAGES = amadmin.8 \
+@WANT_SERVER_TRUE@SERVER_MAN8_PAGES = amadmin.8 \
amcheck.8 \
amcheckdb.8 \
amcleanup.8 \
@@ -294,7 +294,7 @@
#endif
@WANT_RECOVER_TRUE@RECOVER_MAN8_PAGES = amrecover.8
-@WANT_RESTORE_TRUE@RESTORE_MAN8_PAGES = amrestore.8
+@WANT_CLIENT_TRUE@RESTORE_MAN8_PAGES = amrestore.8
man8_MANS = $(COMMON_MAN8_PAGES) \
$(AMPLOT_MAN8_PAGES) \
$(SERVER_MAN8_PAGES) \

View file

@ -1,12 +0,0 @@
--- common-src/Makefile.in Fri Nov 30 11:33:48 2001
+++ common-src/Makefile.in.new Fri Nov 30 18:03:29 2001
@@ -611,7 +611,8 @@
install-data-am:
-install-exec-am: install-libLTLIBRARIES
+@WANT_CLIENT_TRUE@install-exec-am: @WANT_CLIENT_TRUE@install-libLTLIBRARIES
+@WANT_SERVER_TRUE@install-exec-am:
install-info:

View file

@ -1,11 +0,0 @@
--- tape-src/Makefile.in.orig Tue Oct 25 06:23:42 2005
+++ tape-src/Makefile.in Wed Mar 22 12:10:00 2006
@@ -43,7 +43,7 @@
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
-sbin_PROGRAMS = ammt$(EXEEXT) amdd$(EXEEXT) amtapetype$(EXEEXT)
+@WANT_SERVER_TRUE@sbin_PROGRAMS = ammt$(EXEEXT) amdd$(EXEEXT) amtapetype$(EXEEXT)
EXTRA_PROGRAMS = $(am__EXEEXT_1)
subdir = tape-src
DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \

View file

@ -1,14 +0,0 @@
--- client-src/calcsize.c.orig Mon Nov 4 20:37:53 2002
+++ client-src/calcsize.c Thu Oct 23 19:25:07 2003
@@ -130,7 +130,11 @@
dump_total += (ST_BLOCKS(finfo) + 1)/2 + 1;
gtar_total += ROUND(4,(ST_BLOCKS(finfo) + 1));
}
+#ifdef GNUTAR
+ printf(" GNUTAR dump\n");
+#else
printf(" gtar dump\n");
+#endif
printf("total %-9lu %-9lu\n",gtar_total,dump_total);
return 0;
#else

View file

@ -1,14 +0,0 @@
--- client-src/sendbackup-gnutar.c.orig Wed Jul 26 03:35:21 2006
+++ client-src/sendbackup-gnutar.c Thu Sep 7 12:13:59 2006
@@ -543,7 +543,11 @@
my_argv[i++] = g_options->config;
else
my_argv[i++] = "NOCONFIG";
+#ifdef GNUTAR
+ my_argv[i++] = "GNUTAR";
+#else
my_argv[i++] = "gtar";
+#endif
my_argv[i++] = "--create";
my_argv[i++] = "--file";
my_argv[i++] = "-";

View file

@ -1,11 +0,0 @@
--- changer-src/chg-zd-mtx.sh.in.orig Wed Feb 9 21:58:30 2005
+++ changer-src/chg-zd-mtx.sh.in Wed Feb 9 21:58:49 2005
@@ -413,7 +413,7 @@
IsNumeric() {
test -z "$1" && return 1
- x="`expr "$1" : '\([-0-9][0-9]*\)' 2>/dev/null`"
+ x="`expr -- "$1" : "\([-0-9][0-9]*\)" 2>/dev/null`"
return `expr X"$1" != X"$x"`
}

View file

@ -1,11 +0,0 @@
--- client-src/sendsize.c.orig Thu Feb 15 11:11:39 2007
+++ client-src/sendsize.c Thu Feb 15 11:12:03 2007
@@ -1190,7 +1190,7 @@
# endif
dumpkeys = vstralloc(level_str,
PARAM_DUMP_ESTIMATE,
- PARAM_DUMP_ESTIMATE,
+ PARAM_HONOR_NODUMP,
"s", "f", NULL);
# ifdef HAVE_DUMP_ESTIMATE

View file

@ -1,11 +0,0 @@
--- server-src/amcrypt-ossl-asym.sh.in.orig 2006-07-04 13:28:47.000000000 +0200
+++ server-src/amcrypt-ossl-asym.sh.in 2008-07-12 12:11:30.000000000 +0200
@@ -36,7 +36,7 @@
# change these as needed
OPENSSL= # whatever's in $PATH
CIPHER=aes-256-cbc # see `openssl help` for more ciphers
-AMANDA_HOME=~amandabackup
+AMANDA_HOME=~@CLIENT_LOGIN@
RANDFILE=$AMANDA_HOME/.rnd
export RANDFILE
PASSPHRASE=$AMANDA_HOME/.am_passphrase # optional

View file

@ -1,11 +0,0 @@
--- server-src/amcrypt-ossl.sh.in.orig 2006-07-04 13:28:47.000000000 +0200
+++ server-src/amcrypt-ossl.sh.in 2008-07-12 12:11:35.000000000 +0200
@@ -7,7 +7,7 @@
# change these as needed
OPENSSL= # whatever's in $PATH
CIPHER=aes-256-cbc # see `openssl help` for more ciphers
-AMANDA_HOME=~amandabackup
+AMANDA_HOME=~@CLIENT_LOGIN@
RANDFILE=$AMANDA_HOME/.rnd
export RANDFILE
PASSPHRASE=$AMANDA_HOME/.am_passphrase # required

View file

@ -1,19 +0,0 @@
WHAT IS AMANDA?
---------------
This is a release of Amanda, the Advanced Maryland Automatic
Network Disk Archiver. Amanda is a backup system designed to archive many
computers on a network to a single large-capacity tape drive.
Here are some features of Amanda:
* written in C, freely distributable.
* built on top of standard backup software: Unix dump/restore, and
later GNU Tar and others.
* will back up multiple machines in parallel to a holding disk, blasting
finished dumps one by one to tape as fast as we can write files to
tape. For example, a ~2 Gb 8mm tape on a ~240K/s interface to a host
with a large holding disk can be filled by Amanda in under 4 hours.
* does simple tape management: will not overwrite the wrong tape.
WWW: http://sourceforge.net/projects/amanda/

View file

@ -1,66 +0,0 @@
lib/libamserver-%%SHLIBVER%%.so
lib/libamserver.so
lib/libamserver.la
lib/libamserver.a
lib/libamtape-%%SHLIBVER%%.so
lib/libamtape.so
lib/libamtape.la
lib/libamtape.a
lib/librestore-%%SHLIBVER%%.so
lib/librestore.a
lib/librestore.la
lib/librestore.so
%%PLOT%%libexec/amanda/amcat.awk
libexec/amanda/amcleanupdisk
libexec/amanda/amindexd
libexec/amanda/amlogroll
%%PLOT%%libexec/amanda/amplot.awk
%%PLOT%%libexec/amanda/amplot.g
%%PLOT%%libexec/amanda/amplot.gp
libexec/amanda/amtrmidx
libexec/amanda/amtrmlog
libexec/amanda/chg-chio
libexec/amanda/chg-chs
libexec/amanda/chg-disk
libexec/amanda/chg-iomega
libexec/amanda/chg-juke
libexec/amanda/chg-manual
libexec/amanda/chg-mcutil
libexec/amanda/chg-mtx
libexec/amanda/chg-multi
libexec/amanda/chg-null
libexec/amanda/chg-rait
libexec/amanda/chg-rth
libexec/amanda/chg-zd-mtx
libexec/amanda/chunker
libexec/amanda/amidxtaped
libexec/amanda/driver
libexec/amanda/dumper
libexec/amanda/planner
libexec/amanda/taper
sbin/amadmin
sbin/amaespipe
sbin/amcheck
sbin/amcheckdb
sbin/amcleanup
sbin/amcrypt
sbin/amcrypt-ossl
sbin/amcrypt-ossl-asym
sbin/amdd
sbin/amdump
sbin/amfetchdump
sbin/amflush
sbin/amgetconf
sbin/amlabel
sbin/ammt
sbin/amoverview
%%PLOT%%sbin/amplot
sbin/amreport
sbin/amrestore
sbin/amrmtape
sbin/amstatus
sbin/amtape
sbin/amtapetype
sbin/amtoc
sbin/amverify
sbin/amverifyrun

View file

@ -1,125 +0,0 @@
@unexec if cmp -s /etc/amandates /dev/null; then rm -f /etc/amandates; fi
dumper/generic-dumper
dumper/gnutar
lib/libamandad-%%SHLIBVER%%.so
lib/libamandad.so
lib/libamandad.la
lib/libamandad.a
lib/libamanda-%%SHLIBVER%%.so
lib/libamanda.so
lib/libamanda.la
lib/libamanda.a
lib/libamclient-%%SHLIBVER%%.so
lib/libamclient.so
lib/libamclient.la
lib/libamclient.a
libexec/amanda/amandad
libexec/amanda/calcsize
libexec/amanda/killpgrp
libexec/amanda/noop
libexec/amanda/patch-system
libexec/amanda/rundump
libexec/amanda/runtar
libexec/amanda/selfcheck
libexec/amanda/sendbackup
libexec/amanda/sendsize
libexec/amanda/versionsuffix
sbin/amrecover
sbin/amoldrecover
share/amanda/Appendix.txt
share/amanda/COPYRIGHT
share/amanda/COPYRIGHT-APACHE
share/amanda/COPYRIGHT-REGEX
share/amanda/ReleaseNotes
share/amanda/amadmin.8.txt
share/amanda/amaespipe.8.txt
share/amanda/amanda-client.conf.5.txt
share/amanda/amanda.8.txt
share/amanda/amanda.conf.5.txt
share/amanda/amcheck.8.txt
share/amanda/amcheckdb.8.txt
share/amanda/amcleanup.8.txt
share/amanda/amcrypt-asym-ossl.8.txt
share/amanda/amcrypt-ossl.8.txt
share/amanda/amcrypt.8.txt
share/amanda/amdd.8.txt
share/amanda/amdump.8.txt
share/amanda/amfetchdump.8.txt
share/amanda/amflush.8.txt
share/amanda/amgetconf.8.txt
share/amanda/amlabel.8.txt
share/amanda/ammt.8.txt
share/amanda/amoverview.8.txt
share/amanda/amplot.8.txt
share/amanda/amrecover.8.txt
share/amanda/amreport.8.txt
share/amanda/amrestore.8.txt
share/amanda/amrmtape.8.txt
share/amanda/amstatus.8.txt
share/amanda/amtape.8.txt
share/amanda/amtapetype.8.txt
share/amanda/amtoc.8.txt
share/amanda/amverify.8.txt
share/amanda/amverifyrun.8.txt
share/amanda/chgscsi.txt
share/amanda/dumperapi.txt
share/amanda/eventapi.txt
share/amanda/exclude.txt
share/amanda/faq.txt
share/amanda/historical.txt
share/amanda/howto-afs.txt
share/amanda/howto-auth.txt
share/amanda/howto-cygwin.txt
share/amanda/howto-filedriver.txt
share/amanda/howto-gpg.txt
share/amanda/howto-wrapper.txt
share/amanda/howtos.txt
share/amanda/index.txt
share/amanda/indexing.txt
share/amanda/install.txt
share/amanda/internals.txt
share/amanda/introduction.txt
share/amanda/ix01.txt
share/amanda/kerberos.txt
share/amanda/labelprinting.txt
share/amanda/links.txt
share/amanda/manpages.txt
share/amanda/multitape.txt
share/amanda/portusage.txt
share/amanda/pr01.txt
share/amanda/pr02.txt
share/amanda/pr03.txt
share/amanda/pr04.txt
share/amanda/rait.txt
share/amanda/references.txt
share/amanda/restore.txt
share/amanda/samba.txt
share/amanda/security-api.txt
share/amanda/security.txt
share/amanda/strategy-api.txt
share/amanda/survey.txt
share/amanda/systemnotes.txt
share/amanda/tapechangers.txt
share/amanda/tapesnchangers.txt
share/amanda/tapetypes.txt
share/amanda/technical.txt
share/amanda/topten.txt
share/amanda/upgrade.txt
share/amanda/using.txt
share/amanda/various.txt
share/amanda/vtape-api.txt
share/amanda/whatwasnew.txt
share/amanda/wishlist.txt
share/amanda/y2k.txt
share/amanda/zftape.txt
share/examples/amanda/amanda.conf
share/examples/amanda/chg-multi.conf
share/examples/amanda/chg-scsi.conf
share/examples/amanda/disklist
@dirrmtry var/amanda/gnutar-lists
@dirrmtry var/amanda
@dirrmtry var
@dirrm share/examples/amanda
@dirrm share/amanda
@dirrm libexec/amanda
@dirrm dumper

View file

@ -1,17 +0,0 @@
# Created by: gpalmer
# $FreeBSD$
PKGNAMESUFFIX= 26-client
PORTREVISION= 2
COMMENT= The Advanced Maryland Automatic Network Disk Archiver (client)
MASTERDIR= ${.CURDIR}/../amanda26-server
PKGINSTALL= mustnotexist
PLIST= ${PKGDIR}/pkg-plist.client
CLIENT_ONLY= yes
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View file

@ -1,228 +0,0 @@
# Created by: gpalmer
# $FreeBSD$
PORTNAME= amanda
PORTVERSION= 2.6.1p2
PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= misc
MASTER_SITES= SF/amanda/amanda%20-%20stable/${PORTVERSION}
PKGNAMESUFFIX?= 26-server
MAINTAINER= ports@FreeBSD.org
COMMENT?= The Advanced Maryland Automatic Network Disk Archiver (server)
WRKSRC= ${WRKDIR}/amanda-${PORTVERSION}
SLAVEDIRS= misc/amanda26-client
USES= gmake perl5 pkgconfig
GNU_CONFIGURE= yes
USE_GNOME= glib20
USE_OPENSSL= yes
PATCH_STRIP=
CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \
--without-amlibexecdir \
--with-amandahosts --with-fqdn \
--with-dump-honor-nodump --with-buffered-dump \
--prefix=${PREFIX} \
--disable-glibtest \
--with-user=${AMANDA_USER} --with-group=${AMANDA_GROUP} \
--with-bsdtcp-security --with-bsdudp-security \
--with-ssh-security
USE_LDCONFIG= yes
OPTIONS_DEFINE= GNUTAR
GNUTAR_DESC= use GNU tar
AMANDA_USER?= operator
AMANDA_GROUP?= operator
AMANDA_GNUTAR_LISTDIR?= ${PREFIX}/var/amanda/gnutar-lists
AMANDA_DATES?= ${PREFIX}/var/amanda/amandates
PLIST_SUB= SHLIBVER=${PORTVERSION} AMANDA_DATES=${AMANDA_DATES}
# amanda-server/amanda-client common part
.if defined (AMANDA_SERVER)
CONFIGURE_ARGS+= --with-index-server=${AMANDA_SERVER}
CONFIGURE_ARGS+= --with-tape-server=${AMANDA_SERVER}
.endif
.if defined (AMANDA_CONFIG)
CONFIGURE_ARGS+= --with-config=${AMANDA_CONFIG}
.endif
.if !defined(CLIENT_ONLY)
OPTIONS_DEFINE+= PLOT SAMBA MTX AESPIPE S3
PLOT_DESC= Enable ploting, requires X11 libraries
SAMBA_DESC= Enable the use of smbclient
MTX_DESC= Enable the use of mtx changer scripts
AESPIPE_DESC= Enable encryption. Needed by amcrypt
S3_DESC= Enable Amazon S3 device support
.else
OPTIONS_DEFINE+= ZFSCOMP
ZFSCOMP_DESC= Accurate estimation of compressed ZFS filesystems
.endif
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGNUTAR}
CONFIGURE_ARGS+=--with-gnutar-listdir=${AMANDA_GNUTAR_LISTDIR} \
--with-gnutar=${LOCALBASE}/bin/gtar
BUILD_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
.endif
# amanda-server part
.if !defined(CLIENT_ONLY)
pre-fetch:
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@${ECHO} ""
@${ECHO} " AMANDA_SERVER=server to specify a server name"
@${ECHO} " The default is `uname -n`"
@${ECHO} " AMANDA_TAPE=tape to specify the default tape device"
@${ECHO} " The default is /dev/nrsa0"
@${ECHO} " AMANDA_CONFIG=config to specify the default configuration"
@${ECHO} " The default is DailySet1"
@${ECHO} " AMANDA_USER=user to specify the default user"
@${ECHO} " The default is operator"
@${ECHO} " AMANDA_GROUP=group to specify the default group"
@${ECHO} " The default is operator"
@${ECHO} " AMANDA_DATES=path to client amandates file"
@${ECHO} ""
CONFLICTS= amanda-server-2.5.* amanda-server-3.* amanda25-server-*
BUILD_DEPENDS+= ${LOCALBASE}/lib/amanda/libamandad-${PORTVERSION}.so:${PORTSDIR}/misc/amanda26-client
RUN_DEPENDS+= ${LOCALBASE}/lib/amanda/libamandad-${PORTVERSION}.so:${PORTSDIR}/misc/amanda26-client
CONFIGURE_ARGS+=--without-client
MAN5= disklist.5 \
tapelist.5
MAN7= amanda-changers.7 \
amanda-devices.7
MAN8= amaddclient.8 amadmin.8 amaespipe.8 amcheck.8 \
amcheckdb.8 amcheckdump.8 amcleanup.8 \
amcrypt.8 amcryptsimple.8 amcrypt-ossl-asym.8 amcrypt-ossl.8 \
amdevcheck.8 \
amdump.8 amfetchdump.8 amflush.8 amgetconf.8 amgpgcrypt.8 \
amlabel.8 \
amoverview.8 amreport.8 amrestore.8 amrmtape.8 \
amserverconfig.8 amservice.8 amstatus.8 \
amtape.8 amtoc.8 amtapetype.8 \
amvault.8
.if ${PORT_OPTIONS:MPLOT}
BUILD_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot
RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot
MAN8+= amplot.8
PLIST_SUB+= PLOT=''
CONFIGURE_ARGS+= --with-gnuplot=${LOCALBASE}/bin/gnuplot
.else
PLIST_SUB+= PLOT='@comment '
CONFIGURE_ARGS+= --without-gnuplot
.endif
.if ${PORT_OPTIONS:MSAMBA}
SAMBA_PORT?= samba36
BUILD_DEPENDS+= smbclient:${PORTSDIR}/net/${SAMBA_PORT}
RUN_DEPENDS+= smbclient:${PORTSDIR}/net/${SAMBA_PORT}
CONFIGURE_ARGS+= --with-smbclient=${LOCALBASE}/bin/smbclient
.endif
.if ${PORT_OPTIONS:MMTX}
BUILD_DEPENDS+= mtx:${PORTSDIR}/misc/mtx
RUN_DEPENDS+= mtx:${PORTSDIR}/misc/mtx
.endif
.if ${PORT_OPTIONS:MAESPIPE}
RUN_DEPENDS+= aespipe:${PORTSDIR}/security/aespipe
.else
.endif
# If configure founds libcurl, automatically enabled it (with plist change).
.if ${PORT_OPTIONS:MS3}
LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl
CONFIGURE_ARGS+= --enable-s3-device
PLIST_SUB+= S3DEVICE=''
.else
CONFIGURE_ARGS+= --disable-s3-device
PLIST_SUB+= S3DEVICE='@comment '
.endif
.if defined (AMANDA_TAPE)
CONFIGURE_ARGS+= --with-tape-device=${AMANDA_TAPE}
.endif
# amanda-client part
.else
pre-fetch:
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@${ECHO} ""
@${ECHO} " AMANDA_SERVER=server to specify a server name"
@${ECHO} " The default is `uname -n`"
@${ECHO} " AMANDA_CONFIG=config to specify the default configuation"
@${ECHO} " The default is DailySet1"
@${ECHO} " AMANDA_GNUTAR_LISTDIR=dir to specify the directory that"
@${ECHO} " the gnutar index files should live in"
@${ECHO} " The default is ${PREFIX}/var/amanda/gnutar-lists"
@${ECHO} " AMANDA_USER=user to specify the default user"
@${ECHO} " The default is operator"
@${ECHO} " AMANDA_GROUP=group to specify the default group"
@${ECHO} " The default is operator"
@${ECHO} " AMANDA_DATES=path to client amandates file"
@${ECHO} ""
CONFLICTS= amanda-client-2.5.* amanda-client-3.* amanda25-client-*
CONFIGURE_ARGS+=--without-server --with-amandates=${AMANDA_DATES}
MAN5= amanda-archive-format.5 \
amanda-client.conf.5 \
amanda.conf.5
MAN7= amanda-applications.7 \
amanda-auth.7 \
amanda-scripts.7
MAN8= amanda.8 \
amarchiver.8 \
amgtar.8 \
amrecover.8 \
amsamba.8 \
amstar.8 \
amzfs-sendrecv.8 \
amzfs-snapshot.8 \
script-email.8
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/example/chg-multi.conf \
${WRKSRC}/example/chg-scsi.conf \
${WRKSRC}/example/disklist \
${EXAMPLESDIR}
.endif
${MKDIR} ${AMANDA_GNUTAR_LISTDIR}
${CHOWN} ${AMANDA_USER}:${AMANDA_GROUP} ${AMANDA_GNUTAR_LISTDIR}
${TOUCH} ${AMANDA_DATES}
${CHOWN} ${AMANDA_USER}:${AMANDA_GROUP} ${AMANDA_DATES}
.endif
.if ${PORT_OPTIONS:MZFSCOMP}
EXTRA_PATCHES= ${FILESDIR}/extra-patch-application-src::amzfs-sendrecv.pl
.endif
# MEMO:
# Prefix @WANT_SERVER_TRUE@ for server only files.
# Prefix @WANT_CLIENT_TRUE@ for client only files.
# For debugging: dbprintf(_("getcmd: %s\n"), line);
# Maintainer TODO:
# o amanda-server installs libexec/amanda/amandad, sbin/amarchiver
# which should be handled by amanda-client only.
# o pthread issue: http://wiki.zmanda.com/index.php/Installation/OS_Specific_Notes/Installing_Amanda_on_FreeBSD#Threading_and_-pthread
.include <bsd.port.mk>

View file

@ -1,2 +0,0 @@
SHA256 (amanda-2.6.1p2.tar.gz) = 828c71040f1ccf69f9996907a3575b7dc27890ea7a5fae5eac77183125eda195
SIZE (amanda-2.6.1p2.tar.gz) = 2868102

View file

@ -1,52 +0,0 @@
--- application-src/amzfs-sendrecv.pl.orig 2009-01-22 02:35:38.000000000 +0100
+++ application-src/amzfs-sendrecv.pl 2009-01-31 10:37:59.495534563 +0100
@@ -235,13 +235,48 @@
} elsif (defined $errmsg) {
$self->print_to_server_and_die($action, $errmsg, $Amanda::Script_App::ERROR);
} else {
- $self->print_to_server_and_die($action, "cannot estimate snapshot '$self->{snapshot}\@$self->{snapshot}': unknown reason", $Amanda::Script_App::ERROR);
+ $self->print_to_server_and_die($action, "cannot estimate snapshot '$self->{snapshot}\@$self->{snapshot}': unknown reason", $Amanda::Script_App::ERROR);
}
}
+ if ($level == 0) {
+ my $compratio = $self->get_compratio();
+ $msg *= int $compratio;
+ }
return $msg;
}
+sub get_compratio
+{
+ my $self = shift;
+ my $action = shift;
+
+ my $cmd;
+ $cmd = "$self->{pfexec_cmd} $self->{zfs_path} get -Hp -o value compressratio $self->{filesystem}\@$self->{snapshot}";
+ debug "running (get-compression): $cmd";
+ my($wtr, $rdr, $err, $pid);
+ $err = Symbol::gensym;
+ $pid = open3($wtr, $rdr, $err, $cmd);
+ close $wtr;
+ my ($msg) = <$rdr>;
+ my ($errmsg) = <$err>;
+ waitpid $pid, 0;
+ close $rdr;
+ close $err;
+ if ($? != 0) {
+ if (defined $msg && defined $errmsg) {
+ $self->print_to_server_and_die($action, "$msg, $errmsg", $Amanda::Script_App::ERROR);
+ } elsif (defined $msg) {
+ $self->print_to_server_and_die($action, $msg, $Amanda::Script_App::ERROR);
+ } elsif (defined $errmsg) {
+ $self->print_to_server_and_die($action, $errmsg, $Amanda::Script_App::ERROR);
+ } else {
+ $self->print_to_server_and_die($action, "cannot read compression ratio '$self->{snapshot}\@$self->{snapshot}': unknown reason", $Amanda::Script_App::ERROR);
+ }
+ }
+ return $msg
+}
+
sub command_index_from_output {
}

View file

@ -1,23 +0,0 @@
--- client-src/sendbackup-dump.c.orig 2008-12-13 04:18:11.000000000 +0900
+++ client-src/sendbackup-dump.c 2009-01-27 07:30:40.000000000 +0900
@@ -35,6 +35,10 @@
#include "clock.h"
#include "version.h"
+#ifdef __FreeBSD__
+#include <sys/param.h>
+#endif
+
#define LEAF_AND_DIRS "sed -e \'\ns/^leaf[ \t]*[0-9]*[ \t]*\\.//\nt\n/^dir[ \t]/ {\ns/^dir[ \t]*[0-9]*[ \t]*\\.//\ns%$%/%\nt\n}\nd\n\'"
static amregex_t re_table[] = {
@@ -310,6 +314,9 @@
cmdX, config,
"vxdump",
dumpkeys,
+#ifdef __FreeBSD__
+ "64",
+#endif
"1048576",
"-",
device,

View file

@ -1,14 +0,0 @@
--- client-src/calcsize.c.orig 2008-01-18 09:31:16.000000000 +0900
+++ client-src/calcsize.c 2008-08-30 20:11:59.000000000 +0900
@@ -160,7 +160,11 @@
dump_total += (ST_BLOCKS(finfo) + (off_t)1) / (off_t)2 + (off_t)1;
gtar_total += ROUND(4,(ST_BLOCKS(finfo) + (off_t)1));
}
+#ifdef GNUTAR
+ g_printf(" GNUTAR dump\n");
+#else
g_printf(" gtar dump\n");
+#endif
g_printf("total %-9lu %-9lu\n",gtar_total,dump_total);
return 0;
#else

View file

@ -1,12 +0,0 @@
--- amandad-src/Makefile.in.orig 2009-01-27 13:43:16.000000000 +0900
+++ amandad-src/Makefile.in 2009-01-27 13:44:02.000000000 +0900
@@ -776,7 +776,8 @@
AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS)
LINT = $(AMLINT)
LINTFLAGS = $(AMLINTFLAGS)
-amlib_LTLIBRARIES = libamandad.la
+@WANT_SERVER_TRUE@amlib_LTLIBRARIES =
+@WANT_CLIENT_TRUE@amlib_LTLIBRARIES = libamandad.la
LIB_EXTENSION = la
libamandad_la_SOURCES = amandad_util.c
libamandad_la_LDFLAGS = -release $(VERSION)

View file

@ -1,12 +0,0 @@
--- amar-src/Makefile.in.orig 2009-01-27 14:01:04.000000000 +0900
+++ amar-src/Makefile.in 2009-01-27 14:01:36.000000000 +0900
@@ -856,7 +856,8 @@
AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS)
LINT = @AMLINT@
LINTFLAGS = @AMLINTFLAGS@
-amlib_LTLIBRARIES = libamar.la
+@WANT_SERVER_TRUE@amlib_LTLIBRARIES =
+@WANT_CLIENT_TRUE@amlib_LTLIBRARIES = libamar.la
libamar_la_SOURCES = amar.c
libamar_la_LDFLAGS = -release $(VERSION)
libamar_la_LIBADD = ../common-src/libamanda.la

View file

@ -1,10 +0,0 @@
--- changer-src/chg-glue.pl.orig 2009-01-28 15:06:00.000000000 +0900
+++ changer-src/chg-glue.pl 2009-01-28 15:06:22.000000000 +0900
@@ -206,6 +206,7 @@
finish();
return;
}
+ chomp($command);
if (($slot) = ($command =~ /^-slot (.*)$/)) {
do_slot($slot);

View file

@ -1,49 +0,0 @@
--- common-src/Makefile.in.orig 2009-11-06 05:11:37.000000000 +0900
+++ common-src/Makefile.in 2009-12-14 10:29:52.479439079 +0900
@@ -1091,6 +1091,7 @@
sbin_SCRIPTS_PERL = \
$(sbin_CHECK_PERL)
+@WANT_SERVER_TRUE@sbin_SCRIPTS_PERL =
amlibexec_CHECK_PERL =
amlibexec_SCRIPTS_PERL = \
@@ -1101,6 +1102,7 @@
amaespipe \
amcrypt-ossl \
amcrypt-ossl-asym
+@WANT_SERVER_TRUE@sbin_SCRIPTS_SHELL =
amlibexec_SCRIPTS_SHELL =
SCRIPTS_INCLUDE = \
@@ -1155,18 +1157,18 @@
versuff.c: $(top_builddir)/config.status $(srcdir)/versuff.c.in
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
install-amlibLTLIBRARIES: $(amlib_LTLIBRARIES)
- @$(NORMAL_INSTALL)
- test -z "$(amlibdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibdir)"
- @list='$(amlib_LTLIBRARIES)'; test -n "$(amlibdir)" || list=; \
- list2=; for p in $$list; do \
- if test -f $$p; then \
- list2="$$list2 $$p"; \
- else :; fi; \
- done; \
- test -z "$$list2" || { \
- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(amlibdir)'"; \
- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(amlibdir)"; \
- }
+@WANT_CLIENT_TRUE@ @$(NORMAL_INSTALL)
+@WANT_CLIENT_TRUE@ test -z "$(amlibdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibdir)"
+@WANT_CLIENT_TRUE@ @list='$(amlib_LTLIBRARIES)'; test -n "$(amlibdir)" || list=; \
+@WANT_CLIENT_TRUE@ list2=; for p in $$list; do \
+@WANT_CLIENT_TRUE@ if test -f $$p; then \
+@WANT_CLIENT_TRUE@ list2="$$list2 $$p"; \
+@WANT_CLIENT_TRUE@ else :; fi; \
+@WANT_CLIENT_TRUE@ done; \
+@WANT_CLIENT_TRUE@ test -z "$$list2" || { \
+@WANT_CLIENT_TRUE@ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(amlibdir)'"; \
+@WANT_CLIENT_TRUE@ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(amlibdir)"; \
+@WANT_CLIENT_TRUE@ }
uninstall-amlibLTLIBRARIES:
@$(NORMAL_UNINSTALL)

View file

@ -1,91 +0,0 @@
--- common-src/glib-util.c.orig 2008-12-01 21:17:19.000000000 +0000
+++ common-src/glib-util.c 2013-02-07 15:54:40.000000000 +0000
@@ -38,26 +38,15 @@
if (did_glib_init) return;
did_glib_init = TRUE;
- /* Initialize glib's type system */
- g_type_init();
-
/* set up libcurl (this must happen before threading
* is initialized) */
#ifdef HAVE_LIBCURL
# ifdef G_THREADS_ENABLED
- g_assert(!g_thread_supported());
+ g_assert(!g_thread_supported()); /* assert threads aren't initialized yet */
# endif
g_assert(curl_global_init(CURL_GLOBAL_ALL) == 0);
#endif
- /* And set up glib's threads */
-#if defined(G_THREADS_ENABLED) && !defined(G_THREADS_IMPL_NONE)
- if (g_thread_supported()) {
- return;
- }
- g_thread_init(NULL);
-#endif
-
/* do a version check */
#if GLIB_CHECK_VERSION(2,6,0)
{
@@ -71,6 +60,17 @@
}
}
#endif
+
+ /* Initialize glib's type system. On glib >= 2.24, this will initialize
+ * threads, so it must be done after curl is initialized. */
+ g_type_init();
+
+ /* And set up glib's threads */
+#if defined(G_THREADS_ENABLED) && !defined(G_THREADS_IMPL_NONE)
+ if (!g_thread_supported())
+ g_thread_init(NULL);
+#endif
+
}
typedef enum {
@@ -107,38 +107,19 @@
return to;
}
-void g_list_free_full(GList * list) {
- GList * cur = list;
-
- while (cur != NULL) {
- gpointer data = cur->data;
- amfree(data);
- cur = g_list_next(cur);
- }
-
- g_list_free(list);
-}
-
-void g_slist_free_full(GSList * list) {
+#if (GLIB_MAJOR_VERSION < 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 28))
+void _slist_free_full(GSList * list, GDestroyNotify free_fn) {
GSList * cur = list;
while (cur != NULL) {
gpointer data = cur->data;
- amfree(data);
+ free_fn(data);
cur = g_slist_next(cur);
}
g_slist_free(list);
}
-
-void g_queue_free_full(GQueue * queue) {
- while (!g_queue_is_empty(queue)) {
- gpointer data;
- data = g_queue_pop_head(queue);
- amfree(data);
- }
- g_queue_free(queue);
-}
+#endif
void g_ptr_array_free_full(GPtrArray * array) {
size_t i;

View file

@ -1,29 +0,0 @@
--- common-src/conffile.c.orig 2011-06-25 22:48:30.000000000 +0200
+++ common-src/conffile.c 2011-06-25 22:58:42.000000000 +0200
@@ -4151,7 +4151,7 @@
amfree(config_name);
amfree(config_dir);
- g_slist_free_full(seen_filenames);
+ _slist_free_full(seen_filenames, g_free);
seen_filenames = NULL;
config_client = FALSE;
@@ -5655,7 +5655,7 @@
break;
case CONFTYPE_PP_SCRIPTLIST:
- g_slist_free_full(val->v.pp_scriptlist);
+ _slist_free_full(val->v.pp_scriptlist, g_free);
break;
case CONFTYPE_APPLICATION:
@@ -6771,7 +6771,7 @@
void
config_clear_errors(void)
{
- g_slist_free_full(cfgerr_errors);
+ _slist_free_full(cfgerr_errors, g_free);
cfgerr_errors = NULL;
cfgerr_level = CFGERR_OK;

View file

@ -1,22 +0,0 @@
--- common-src/glib-util.h.orig 2008-12-01 21:17:19.000000000 +0000
+++ common-src/glib-util.h 2013-02-07 15:54:27.000000000 +0000
@@ -62,11 +62,16 @@
* Returns its second (reset) argument.*/
GValue* g_value_unset_copy(const GValue* from, GValue * to);
+/* This function is available in glib-2.28.0 and higher; for lower versions
+ * we build our own version with a different name */
+#if (GLIB_MAJOR_VERSION < 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 28))
+void _slist_free_full(GSList * list, GDestroyNotify free_fn);
+#else
+#define _slist_free_full(list, free_fn) g_slist_free_full((list), (free_fn))
+#endif
+
/* These functions all take a GLib container, and call free() on all the
* pointers in the container before free()ing the container itself. */
-void g_list_free_full(GList * list);
-void g_slist_free_full(GSList * list);
-void g_queue_free_full(GQueue * queue);
void g_ptr_array_free_full(GPtrArray * array);
/* g_value_compare() does what you expect. It returns TRUE if and

View file

@ -1,10 +0,0 @@
--- man/Makefile.in.orig 2009-01-22 22:51:25.000000000 +0900
+++ man/Makefile.in 2009-01-27 07:27:10.000000000 +0900
@@ -640,6 +640,7 @@
amanda-auth.7 \
amarchiver.8 \
script-email.8
+@WANT_SERVER_TRUE@COMMON_MAN_PAGES =
CLIENT_MAN_PAGES = \
amanda-applications.7 \

View file

@ -1,11 +0,0 @@
--- perl/Amanda/Process.pm.orig 2009-01-28 13:57:55.000000000 +0900
+++ perl/Amanda/Process.pm 2009-01-28 13:58:19.000000000 +0900
@@ -155,7 +155,7 @@
$self->{ppid} = ();
my $ps_argument = $Amanda::Constants::PS_ARGUMENT;
if ($ps_argument eq "CYGWIN") {
- open(PSTABLE, "-|", "ps -ef") || die("ps -ef: $!");
+ open(PSTABLE, "-|", "ps -f") || die("ps -f: $!");
my $psline = <PSTABLE>; #header line
while($psline = <PSTABLE>) {
chomp $psline;

View file

@ -1,195 +0,0 @@
--- perl/Makefile.in.orig 2009-01-22 22:51:25.000000000 +0900
+++ perl/Makefile.in 2009-01-27 16:15:23.000000000 +0900
@@ -316,9 +316,9 @@
$(libApplication_la_LDFLAGS) $(LDFLAGS) -o $@
@WANT_CLIENT_TRUE@am_libApplication_la_rpath = -rpath \
@WANT_CLIENT_TRUE@ $(libApplicationdir)
-libArchive_la_DEPENDENCIES = libamglue.la \
- $(top_builddir)/amar-src/libamar.la \
- $(top_builddir)/common-src/libamanda.la
+@WANT_CLIENT_TRUE@libArchive_la_DEPENDENCIES = libamglue.la \
+@WANT_CLIENT_TRUE@ $(top_builddir)/amar-src/libamar.la \
+@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
am_libArchive_la_OBJECTS = Archive.lo $(am__objects_1)
libArchive_la_OBJECTS = $(am_libArchive_la_OBJECTS)
libArchive_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
@@ -337,15 +337,15 @@
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(libCmdline_la_LDFLAGS) $(LDFLAGS) -o $@
@WANT_SERVER_TRUE@am_libCmdline_la_rpath = -rpath $(libCmdlinedir)
-libConfig_la_DEPENDENCIES = libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+@WANT_CLIENT_TRUE@libConfig_la_DEPENDENCIES = libamglue.la \
+@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
am_libConfig_la_OBJECTS = Config.lo $(am__objects_1)
libConfig_la_OBJECTS = $(am_libConfig_la_OBJECTS)
libConfig_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(libConfig_la_LDFLAGS) $(LDFLAGS) -o $@
-libDebug_la_DEPENDENCIES = libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+@WANT_CLIENT_TRUE@libDebug_la_DEPENDENCIES = libamglue.la \
+@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
am_libDebug_la_OBJECTS = Debug.lo $(am__objects_1)
libDebug_la_OBJECTS = $(am_libDebug_la_OBJECTS)
libDebug_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
@@ -376,8 +376,8 @@
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(libLogfile_la_LDFLAGS) $(LDFLAGS) -o $@
@WANT_SERVER_TRUE@am_libLogfile_la_rpath = -rpath $(libLogfiledir)
-libMainLoop_la_DEPENDENCIES = libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+@WANT_CLIENT_TRUE@libMainLoop_la_DEPENDENCIES = libamglue.la \
+@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
am_libMainLoop_la_OBJECTS = MainLoop.lo $(am__objects_1)
libMainLoop_la_OBJECTS = $(am_libMainLoop_la_OBJECTS)
libMainLoop_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
@@ -396,23 +396,23 @@
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(libTapelist_la_LDFLAGS) $(LDFLAGS) -o $@
@WANT_SERVER_TRUE@am_libTapelist_la_rpath = -rpath $(libTapelistdir)
-libTests_la_DEPENDENCIES = libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+@WANT_CLIENT_TRUE@libTests_la_DEPENDENCIES = libamglue.la \
+@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
am_libTests_la_OBJECTS = Tests.lo $(am__objects_1)
libTests_la_OBJECTS = $(am_libTests_la_OBJECTS)
libTests_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(libTests_la_LDFLAGS) $(LDFLAGS) -o $@
-libTypes_la_DEPENDENCIES = libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+@WANT_CLIENT_TRUE@libTypes_la_DEPENDENCIES = libamglue.la \
+@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
am_libTypes_la_OBJECTS = Types.lo $(am__objects_1)
libTypes_la_OBJECTS = $(am_libTypes_la_OBJECTS)
libTypes_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(libTypes_la_LDFLAGS) $(LDFLAGS) -o $@
-libUtil_la_DEPENDENCIES = libamglue.la \
- $(top_builddir)/common-src/libamanda.la
-am_libUtil_la_OBJECTS = Util.lo $(am__objects_1)
+@WANT_CLIENT_TRUE@libUtil_la_DEPENDENCIES = libamglue.la \
+@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
+@WANT_CLIENT_TRUE@am_libUtil_la_OBJECTS = Util.lo $(am__objects_1)
libUtil_la_OBJECTS = $(am_libUtil_la_OBJECTS)
libUtil_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
@@ -984,7 +984,8 @@
$(am__append_2) $(am__append_3) $(am__append_4)
# (amplot has a conditional, but doesn't have any header files)
-amlib_LTLIBRARIES = libamglue.la
+@WANT_SERVER_TRUE@amlib_LTLIBRARIES =
+@WANT_CLIENT_TRUE@amlib_LTLIBRARIES = libamglue.la
libamglue_la_SOURCES = \
amglue/ghashtable.c \
amglue/bigint.c \
@@ -1042,10 +1043,11 @@
Amanda/Types.pm Amanda/Tests.pm Amanda/MainLoop.pm \
Amanda/Paths.pm Amanda/Constants.pm Amanda/Script_App.pm \
$(am__append_8) Amanda/Script.pm
+@WANT_SERVER_TRUE@Amanda_DATA = $(am__append_5)
# PACKAGE: Amanda::Archive
-libArchivedir = $(amperldir)/auto/Amanda/Archive
-libArchive_LTLIBRARIES = libArchive.la
+@WANT_CLIENT_TRUE@libArchivedir = $(amperldir)/auto/Amanda/Archive
+@WANT_CLIENT_TRUE@libArchive_LTLIBRARIES = libArchive.la
libArchive_la_SOURCES = Amanda/Archive.c $(AMGLUE_SWG)
libArchive_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
libArchive_la_LIBADD = libamglue.la \
@@ -1118,57 +1120,57 @@
# PACKAGE: Amanda::Debug
-libDebugdir = $(amperldir)/auto/Amanda/Debug
-libDebug_LTLIBRARIES = libDebug.la
-libDebug_la_SOURCES = Amanda/Debug.c $(AMGLUE_SWG)
-libDebug_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libDebug_la_LIBADD = libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+@WANT_CLIENT_TRUE@libDebugdir = $(amperldir)/auto/Amanda/Debug
+@WANT_CLIENT_TRUE@libDebug_LTLIBRARIES = libDebug.la
+@WANT_CLIENT_TRUE@libDebug_la_SOURCES = Amanda/Debug.c $(AMGLUE_SWG)
+@WANT_CLIENT_TRUE@libDebug_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+@WANT_CLIENT_TRUE@libDebug_la_LIBADD = libamglue.la \
+@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
# PACKAGE: Amanda::Config
-libConfigdir = $(amperldir)/auto/Amanda/Config
-libConfig_LTLIBRARIES = libConfig.la
-libConfig_la_SOURCES = Amanda/Config.c $(AMGLUE_SWG)
-libConfig_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libConfig_la_LIBADD = libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+@WANT_CLIENT_TRUE@libConfigdir = $(amperldir)/auto/Amanda/Config
+@WANT_CLIENT_TRUE@libConfig_LTLIBRARIES = libConfig.la
+@WANT_CLIENT_TRUE@libConfig_la_SOURCES = Amanda/Config.c $(AMGLUE_SWG)
+@WANT_CLIENT_TRUE@libConfig_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+@WANT_CLIENT_TRUE@libConfig_la_LIBADD = libamglue.la \
+@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
# PACKAGE: Amanda::Util
-libUtildir = $(amperldir)/auto/Amanda/Util
-libUtil_LTLIBRARIES = libUtil.la
-libUtil_la_SOURCES = Amanda/Util.c $(AMGLUE_SWG)
-libUtil_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libUtil_la_LIBADD = libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+@WANT_CLIENT_TRUE@libUtildir = $(amperldir)/auto/Amanda/Util
+@WANT_CLIENT_TRUE@libUtil_LTLIBRARIES = libUtil.la
+@WANT_CLIENT_TRUE@libUtil_la_SOURCES = Amanda/Util.c $(AMGLUE_SWG)
+@WANT_CLIENT_TRUE@libUtil_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+@WANT_CLIENT_TRUE@libUtil_la_LIBADD = libamglue.la \
+@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
# PACKAGE: Amanda::Types
-libTypesdir = $(amperldir)/auto/Amanda/Types
-libTypes_LTLIBRARIES = libTypes.la
-libTypes_la_SOURCES = Amanda/Types.c $(AMGLUE_SWG)
-libTypes_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libTypes_la_LIBADD = libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+@WANT_CLIENT_TRUE@libTypesdir = $(amperldir)/auto/Amanda/Types
+@WANT_CLIENT_TRUE@libTypes_LTLIBRARIES = libTypes.la
+@WANT_CLIENT_TRUE@libTypes_la_SOURCES = Amanda/Types.c $(AMGLUE_SWG)
+@WANT_CLIENT_TRUE@libTypes_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+@WANT_CLIENT_TRUE@libTypes_la_LIBADD = libamglue.la \
+@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
# PACKAGE: Amanda::Tests
-libTestsdir = $(amperldir)/auto/Amanda/Tests
-libTests_LTLIBRARIES = libTests.la
-libTests_la_SOURCES = Amanda/Tests.c $(AMGLUE_SWG)
-libTests_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libTests_la_LIBADD = libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+@WANT_CLIENT_TRUE@libTestsdir = $(amperldir)/auto/Amanda/Tests
+@WANT_CLIENT_TRUE@libTests_LTLIBRARIES = libTests.la
+@WANT_CLIENT_TRUE@libTests_la_SOURCES = Amanda/Tests.c $(AMGLUE_SWG)
+@WANT_CLIENT_TRUE@libTests_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+@WANT_CLIENT_TRUE@libTests_la_LIBADD = libamglue.la \
+@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
# PACKAGE: Amanda::MainLoop
-libMainLoopdir = $(amperldir)/auto/Amanda/MainLoop
-libMainLoop_LTLIBRARIES = libMainLoop.la
-libMainLoop_la_SOURCES = Amanda/MainLoop.c $(AMGLUE_SWG)
-libMainLoop_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libMainLoop_la_LIBADD = libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+@WANT_CLIENT_TRUE@libMainLoopdir = $(amperldir)/auto/Amanda/MainLoop
+@WANT_CLIENT_TRUE@libMainLoop_LTLIBRARIES = libMainLoop.la
+@WANT_CLIENT_TRUE@libMainLoop_la_SOURCES = Amanda/MainLoop.c $(AMGLUE_SWG)
+@WANT_CLIENT_TRUE@libMainLoop_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+@WANT_CLIENT_TRUE@libMainLoop_la_LIBADD = libamglue.la \
+@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
# PACKAGE: Amanda::Application

View file

@ -1,11 +0,0 @@
--- server-src/amcleanup.pl.orig 2009-01-28 13:57:21.000000000 +0900
+++ server-src/amcleanup.pl 2009-01-28 13:57:33.000000000 +0900
@@ -94,7 +94,7 @@
} elsif (!$process_alive) {
#check amdump/amflush process
foreach my $pname ("amdump", "amflush") {
- my $pid = `ps -ef|grep -w ${pname}|grep -w ${config_name}| grep -v grep | awk '{print \$2}'`;
+ my $pid = `ps -f|grep -w ${pname}|grep -w ${config_name}| grep -v grep | awk '{print \$2}'`;
chomp $pid;
if ($pid ne "") {
$Amanda_process->set_master($pname, $pid);

View file

@ -1,20 +0,0 @@
--- server-src/amadmin.c.orig 2011-06-25 22:52:23.000000000 +0200
+++ server-src/amadmin.c 2011-06-25 22:53:50.000000000 +0200
@@ -1414,7 +1414,7 @@
amfree(dumpstr);
dumpfile_free_data(&file);
}
- g_slist_free_full(file_list);
+ _slist_free_full(file_list, g_free);
break;
case HOLDING_DELETE:
@@ -1432,7 +1432,7 @@
error(_("Could not delete '%s'"), (char *)li->data);
}
}
- g_slist_free_full(file_list);
+ _slist_free_full(file_list, g_free);
break;
}
}

View file

@ -1,41 +0,0 @@
--- server-src/amflush.c.orig 2011-06-25 22:52:32.000000000 +0200
+++ server-src/amflush.c 2011-06-25 22:54:16.000000000 +0200
@@ -241,7 +241,7 @@
stralloc((char *)datestamp->data),
g_compare_strings);
}
- g_slist_free_full(all_datestamps);
+ _slist_free_full(all_datestamps, g_free);
}
else {
/* otherwise, in batch mode, use all datestamps */
@@ -390,9 +390,9 @@
}
}
- g_slist_free_full(datestamp_list);
+ _slist_free_full(datestamp_list, g_free);
datestamp_list = NULL;
- g_slist_free_full(holding_list);
+ _slist_free_full(holding_list, g_free);
holding_list = NULL;
if(redirect) { /* rename errfile */
@@ -583,7 +583,7 @@
}
chupper = (char)toupper(ch);
if (chupper < 'A' || chupper > max_char) {
- g_slist_free_full(r_datestamp_list);
+ _slist_free_full(r_datestamp_list, g_free);
r_datestamp_list = NULL;
break;
}
@@ -591,7 +591,7 @@
stralloc(datestamps[chupper - 'A']));
} while ((ch = *a++) != '\0');
if (r_datestamp_list && ch == '\0') {
- g_slist_free_full(datestamp_list);
+ _slist_free_full(datestamp_list, g_free);
datestamp_list = r_datestamp_list;
break;
}

View file

@ -1,11 +0,0 @@
--- server-src/cmdline.c.orig 2011-06-25 22:50:58.000000000 +0200
+++ server-src/cmdline.c 2011-06-25 22:51:17.000000000 +0200
@@ -255,7 +255,7 @@
dumpfile_free_data(&file);
}
- g_slist_free_full(holding_files);
+ _slist_free_full(holding_files, g_free);
return matching_files;
}

View file

@ -1,11 +0,0 @@
--- server-src/find.c.orig 2011-06-25 22:52:09.000000000 +0200
+++ server-src/find.c 2011-06-25 22:53:37.000000000 +0200
@@ -257,7 +257,7 @@
dumpfile_free_data(&file);
}
- g_slist_free_full(holding_file_list);
+ _slist_free_full(holding_file_list, g_free);
}
static char *

View file

@ -1,20 +0,0 @@
--- server-src/holding.c.orig 2011-06-25 22:51:58.000000000 +0200
+++ server-src/holding.c 2011-06-25 22:53:27.000000000 +0200
@@ -565,7 +565,7 @@
dumpfile_free_data(&file);
}
- if (file_list) g_slist_free_full(file_list);
+ if (file_list) _slist_free_full(file_list, g_free);
return result_list;
}
@@ -591,7 +591,7 @@
dumpfile_free_data(&dfile);
}
- g_slist_free_full(all_files);
+ _slist_free_full(all_files, g_free);
return datestamps;
}

View file

@ -1,11 +0,0 @@
--- server-src/planner.c.orig 2011-06-25 22:52:39.000000000 +0200
+++ server-src/planner.c 2011-06-25 22:54:23.000000000 +0200
@@ -431,7 +431,7 @@
amfree(qhname);
dumpfile_free_data(&file);
}
- g_slist_free_full(holding_list);
+ _slist_free_full(holding_list, g_free);
holding_list = NULL;
}
g_fprintf(stderr, _("ENDFLUSH\n"));

View file

@ -1,19 +0,0 @@
WHAT IS AMANDA?
---------------
This is a release of Amanda, the Advanced Maryland Automatic
Network Disk Archiver. Amanda is a backup system designed to archive many
computers on a network to a single large-capacity tape drive.
Here are some features of Amanda:
* written in C, freely distributable.
* built on top of standard backup software: Unix dump/restore, and
later GNU Tar and others.
* will back up multiple machines in parallel to a holding disk, blasting
finished dumps one by one to tape as fast as we can write files to
tape. For example, a ~2 Gb 8mm tape on a ~240K/s interface to a host
with a large holding disk can be filled by Amanda in under 4 hours.
* does simple tape management: will not overwrite the wrong tape.
WWW: http://sourceforge.net/projects/amanda/

View file

@ -1,104 +0,0 @@
lib/amanda/libamdevice-%%SHLIBVER%%.so
lib/amanda/libamdevice.a
lib/amanda/libamdevice.la
lib/amanda/libamdevice.so
lib/amanda/libamserver-%%SHLIBVER%%.so
lib/amanda/libamserver.a
lib/amanda/libamserver.la
lib/amanda/libamserver.so
lib/amanda/libamxfer-%%SHLIBVER%%.so
lib/amanda/libamxfer.a
lib/amanda/libamxfer.la
lib/amanda/libamxfer.so
lib/amanda/librestore-%%SHLIBVER%%.so
lib/amanda/librestore.a
lib/amanda/librestore.la
lib/amanda/librestore.so
%%SITE_PERL%%/Amanda/Changer.pm
%%SITE_PERL%%/Amanda/Changer/compat.pm
%%SITE_PERL%%/Amanda/Changer/disk.pm
%%SITE_PERL%%/Amanda/Changer/single.pm
%%SITE_PERL%%/Amanda/Cmdline.pm
%%SITE_PERL%%/Amanda/DB/Catalog.pm
%%SITE_PERL%%/Amanda/Device.pm
%%SITE_PERL%%/Amanda/Logfile.pm
%%SITE_PERL%%/Amanda/Process.pm
%%SITE_PERL%%/Amanda/Tapelist.pm
%%SITE_PERL%%/Amanda/Xfer.pm
%%SITE_PERL%%/auto/Amanda/Cmdline/libCmdline.a
%%SITE_PERL%%/auto/Amanda/Cmdline/libCmdline.la
%%SITE_PERL%%/auto/Amanda/Cmdline/libCmdline.so
%%SITE_PERL%%/auto/Amanda/Device/libDevice.a
%%SITE_PERL%%/auto/Amanda/Device/libDevice.la
%%SITE_PERL%%/auto/Amanda/Device/libDevice.so
%%SITE_PERL%%/auto/Amanda/Logfile/libLogfile.a
%%SITE_PERL%%/auto/Amanda/Logfile/libLogfile.la
%%SITE_PERL%%/auto/Amanda/Logfile/libLogfile.so
%%SITE_PERL%%/auto/Amanda/Tapelist/libTapelist.a
%%SITE_PERL%%/auto/Amanda/Tapelist/libTapelist.la
%%SITE_PERL%%/auto/Amanda/Tapelist/libTapelist.so
%%SITE_PERL%%/auto/Amanda/Xfer/libXfer.a
%%SITE_PERL%%/auto/Amanda/Xfer/libXfer.la
%%SITE_PERL%%/auto/Amanda/Xfer/libXfer.so
%%PLOT%%libexec/amanda/amcat.awk
libexec/amanda/amcleanupdisk
libexec/amanda/amindexd
libexec/amanda/amlogroll
%%PLOT%%libexec/amanda/amplot.awk
%%PLOT%%libexec/amanda/amplot.g
%%PLOT%%libexec/amanda/amplot.gp
libexec/amanda/amtrmidx
libexec/amanda/amtrmlog
libexec/amanda/chg-chio
libexec/amanda/chg-chs
libexec/amanda/chg-disk
libexec/amanda/chg-glue
libexec/amanda/chg-iomega
libexec/amanda/chg-juke
libexec/amanda/chg-lib.sh
libexec/amanda/chg-manual
libexec/amanda/chg-mcutil
libexec/amanda/chg-mtx
libexec/amanda/chg-multi
libexec/amanda/chg-null
libexec/amanda/chg-rait
libexec/amanda/chg-rth
libexec/amanda/chg-zd-mtx
libexec/amanda/chunker
libexec/amanda/amidxtaped
libexec/amanda/driver
libexec/amanda/dumper
libexec/amanda/planner
libexec/amanda/taper
%%S3DEVICE%%sbin/activate-devpay
sbin/amaddclient
sbin/amadmin
sbin/amcheck
sbin/amcheckdb
sbin/amcheckdump
sbin/amcleanup
sbin/amdevcheck
sbin/amdump
sbin/amfetchdump
sbin/amflush
sbin/amlabel
sbin/amoverview
%%PLOT%%sbin/amplot
sbin/amreport
sbin/amrestore
sbin/amrmtape
sbin/amserverconfig
sbin/amservice
sbin/amstatus
sbin/amtape
sbin/amtapetype
sbin/amtoc
sbin/amvault
@dirrm %%SITE_PERL%%/auto/Amanda/Cmdline
@dirrm %%SITE_PERL%%/auto/Amanda/Device
@dirrm %%SITE_PERL%%/auto/Amanda/Logfile
@dirrm %%SITE_PERL%%/auto/Amanda/Tapelist
@dirrm %%SITE_PERL%%/auto/Amanda/Xfer
@dirrm %%SITE_PERL%%/Amanda/DB
@dirrm %%SITE_PERL%%/Amanda/Changer
@dirrm include/amanda

View file

@ -1,136 +0,0 @@
lib/amanda/libamanda-%%SHLIBVER%%.so
lib/amanda/libamanda.a
lib/amanda/libamanda.la
lib/amanda/libamanda.so
lib/amanda/libamandad-%%SHLIBVER%%.so
lib/amanda/libamandad.a
lib/amanda/libamandad.la
lib/amanda/libamandad.so
lib/amanda/libamar-%%SHLIBVER%%.so
lib/amanda/libamar.a
lib/amanda/libamar.la
lib/amanda/libamar.so
lib/amanda/libamclient-%%SHLIBVER%%.so
lib/amanda/libamclient.a
lib/amanda/libamclient.la
lib/amanda/libamclient.so
lib/amanda/libamglue.a
lib/amanda/libamglue.la
lib/amanda/libamglue.so
libexec/amanda/amanda-sh-lib.sh
libexec/amanda/amandad
libexec/amanda/application/amgtar
libexec/amanda/application/amgtar_perl
libexec/amanda/application/amlog-script
libexec/amanda/application/amsamba
libexec/amanda/application/amstar
libexec/amanda/application/amzfs-sendrecv
libexec/amanda/application/amzfs-snapshot
libexec/amanda/application/script-email
libexec/amanda/calcsize
libexec/amanda/killpgrp
libexec/amanda/noop
libexec/amanda/patch-system
libexec/amanda/rundump
libexec/amanda/runtar
libexec/amanda/selfcheck
libexec/amanda/sendbackup
libexec/amanda/sendsize
libexec/amanda/teecount
libexec/amanda/versionsuffix
%%SITE_PERL%%/Amanda/Application.pm
%%SITE_PERL%%/Amanda/Application/Zfs.pm
%%SITE_PERL%%/Amanda/Archive.pm
%%SITE_PERL%%/Amanda/BigIntCompat.pm
%%SITE_PERL%%/Amanda/Config.pm
%%SITE_PERL%%/Amanda/Constants.pm
%%SITE_PERL%%/Amanda/Debug.pm
%%SITE_PERL%%/Amanda/MainLoop.pm
%%SITE_PERL%%/Amanda/Paths.pm
%%SITE_PERL%%/Amanda/Script.pm
%%SITE_PERL%%/Amanda/Script_App.pm
%%SITE_PERL%%/Amanda/Tests.pm
%%SITE_PERL%%/Amanda/Types.pm
%%SITE_PERL%%/Amanda/Util.pm
%%SITE_PERL%%/auto/Amanda/Application/libApplication.a
%%SITE_PERL%%/auto/Amanda/Application/libApplication.la
%%SITE_PERL%%/auto/Amanda/Application/libApplication.so
%%SITE_PERL%%/auto/Amanda/Archive/libArchive.a
%%SITE_PERL%%/auto/Amanda/Archive/libArchive.la
%%SITE_PERL%%/auto/Amanda/Archive/libArchive.so
%%SITE_PERL%%/auto/Amanda/Config/libConfig.a
%%SITE_PERL%%/auto/Amanda/Config/libConfig.la
%%SITE_PERL%%/auto/Amanda/Config/libConfig.so
%%SITE_PERL%%/auto/Amanda/Debug/libDebug.a
%%SITE_PERL%%/auto/Amanda/Debug/libDebug.la
%%SITE_PERL%%/auto/Amanda/Debug/libDebug.so
%%SITE_PERL%%/auto/Amanda/MainLoop/libMainLoop.a
%%SITE_PERL%%/auto/Amanda/MainLoop/libMainLoop.la
%%SITE_PERL%%/auto/Amanda/MainLoop/libMainLoop.so
%%SITE_PERL%%/auto/Amanda/Tests/libTests.a
%%SITE_PERL%%/auto/Amanda/Tests/libTests.la
%%SITE_PERL%%/auto/Amanda/Tests/libTests.so
%%SITE_PERL%%/auto/Amanda/Types/libTypes.a
%%SITE_PERL%%/auto/Amanda/Types/libTypes.la
%%SITE_PERL%%/auto/Amanda/Types/libTypes.so
%%SITE_PERL%%/auto/Amanda/Util/libUtil.a
%%SITE_PERL%%/auto/Amanda/Util/libUtil.la
%%SITE_PERL%%/auto/Amanda/Util/libUtil.so
sbin/amaespipe
sbin/amarchiver
sbin/amcrypt
sbin/amcrypt-ossl
sbin/amcrypt-ossl-asym
sbin/amcryptsimple
sbin/amgetconf
sbin/amgpgcrypt
sbin/amoldrecover
sbin/amrecover
%%DATADIR%%/COPYRIGHT
%%DATADIR%%/ChangeLog
%%DATADIR%%/NEWS
%%DATADIR%%/ReleaseNotes
%%PORTDOCS%%%%EXAMPLESDIR%%/disklist
%%PORTDOCS%%%%EXAMPLESDIR%%/chg-scsi.conf
%%PORTDOCS%%%%EXAMPLESDIR%%/chg-multi.conf
%%DATADIR%%/example/amanda.conf
%%DATADIR%%/example/amanda-client.conf
%%DATADIR%%/example/inetd.conf.amandaclient
%%DATADIR%%/example/inetd.conf.amandaserver
%%DATADIR%%/example/label-templates/3hole.ps
%%DATADIR%%/example/label-templates/8.5x11.ps
%%DATADIR%%/example/label-templates/DIN-A4.ps
%%DATADIR%%/example/label-templates/DLT-A4.ps
%%DATADIR%%/example/label-templates/DLT.ps
%%DATADIR%%/example/label-templates/EXB-8500.ps
%%DATADIR%%/example/label-templates/HP-DAT.ps
%%DATADIR%%/example/xinetd.amandaclient
%%DATADIR%%/example/xinetd.amandaserver
%%DATADIR%%/template.d/advanced.conf
%%DATADIR%%/template.d/amanda-harddisk.conf
%%DATADIR%%/template.d/amanda-single-tape.conf
%%DATADIR%%/template.d/amanda-tape-changer.conf
%%DATADIR%%/template.d/amanda-S3.conf
%%DATADIR%%/template.d/dumptypes
%%DATADIR%%/template.d/tapetypes
%%DATADIR%%/template.d/README
%%DATADIR%%/template.d/chg-manual.conf
@dirrm %%SITE_PERL%%/auto/Amanda/Util
@dirrm %%SITE_PERL%%/auto/Amanda/Types
@dirrm %%SITE_PERL%%/auto/Amanda/Tests
@dirrm %%SITE_PERL%%/auto/Amanda/MainLoop
@dirrm %%SITE_PERL%%/auto/Amanda/Debug
@dirrm %%SITE_PERL%%/auto/Amanda/Config
@dirrm %%SITE_PERL%%/auto/Amanda/Archive
@dirrm %%SITE_PERL%%/auto/Amanda/Application
@dirrm %%SITE_PERL%%/auto/Amanda
@dirrm %%SITE_PERL%%/Amanda/Application
@dirrm %%SITE_PERL%%/Amanda
@dirrm %%DATADIR%%/template.d
@dirrm %%DATADIR%%/example/label-templates
@dirrm %%DATADIR%%/example
@dirrm %%DATADIR%%
@dirrm libexec/amanda/application
@dirrm libexec/amanda
@dirrm lib/amanda
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%

View file

@ -1,17 +0,0 @@
# Created by: gpalmer
# $FreeBSD$
PKGNAMESUFFIX= 32-client
PORTREVISION= 0
COMMENT= The Advanced Maryland Automatic Network Disk Archiver (client)
MASTERDIR= ${.CURDIR}/../amanda32-server
PKGINSTALL= mustnotexist
PLIST= ${PKGDIR}/pkg-plist.client
CLIENT_ONLY= yes
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View file

@ -1,215 +0,0 @@
# Created by: gpalmer
# $FreeBSD$
PORTNAME= amanda
PORTVERSION= 3.2.3
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= misc
MASTER_SITES= SF/amanda/amanda%20-%20stable/${PORTVERSION}
PKGNAMESUFFIX?= 32-server
MAINTAINER= ports@FreeBSD.org
COMMENT?= The Advanced Maryland Automatic Network Disk Archiver (server)
RUN_DEPENDS= perl-amanda:${PORTSDIR}/misc/amanda-perl-wrapper
BUILD_DEPENDS= perl-amanda:${PORTSDIR}/misc/amanda-perl-wrapper
WRKSRC= ${WRKDIR}/amanda-${PORTVERSION}
SLAVEDIRS= misc/amanda32-client
GNU_CONFIGURE= yes
USES= gmake perl5 pkgconfig
USE_GNOME= glib20
USE_OPENSSL= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \
--without-amlibexecdir \
--with-amandahosts --with-fqdn \
--with-dump-honor-nodump \
--prefix=${PREFIX} \
--disable-glibtest \
--with-user=${USERS} --with-group=${AMANDA_GROUP} \
--with-bsdtcp-security --with-bsdudp-security \
--with-ssh-security
CONFIGURE_ENV= PERL=${LOCALBASE}/bin/perl-amanda
PKG_MESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
SUB_LIST= PORTSDIR=${PORTSDIR}
OPTIONS_DEFINE= GNUTAR
OPTIONS_DEFAULT= GNUTAR
GNUTAR_DESC= Use GNU tar
.if defined(AMANDA_USER)
USERS= ${AMANDA_USER}
.else
USERS?= amanda
.endif
.if !defined(AMANDA_GROUP)
AMANDA_GROUP= amanda
.endif
GROUPS?= operator amanda
AMANDA_GNUTAR_LISTDIR?= ${PREFIX}/var/amanda/gnutar-lists
AMANDA_DATES?= ${PREFIX}/var/amanda/amandates
PLIST_SUB= SHLIBVER=${PORTVERSION} AMANDA_DATES=${AMANDA_DATES}
# amanda-server/amanda-client common part
.if defined (AMANDA_SERVER)
CONFIGURE_ARGS+= --with-index-server=${AMANDA_SERVER}
CONFIGURE_ARGS+= --with-tape-server=${AMANDA_SERVER}
.endif
.if !defined(CLIENT_ONLY)
OPTIONS_DEFINE+= PLOT SAMBA S3
PLOT_DESC= Enable ploting, requires X11 libraries
SAMBA_DESC= Enable the use of smbclient
S3_DESC= Enable Amazon S3 device support
.endif
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGNUTAR}
CONFIGURE_ARGS+=--with-gnutar-listdir=${AMANDA_GNUTAR_LISTDIR} \
--with-gnutar=${LOCALBASE}/bin/gtar
BUILD_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar
RUN_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar
.endif
# amanda-server part
.if !defined(CLIENT_ONLY)
SUB_FILES+= pkg-install pkg-deinstall
SUB_LIST+= PERL=${PERL} SITE_PERL_REL=${SITE_PERL_REL}
pre-fetch:
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@${ECHO} ""
@${ECHO} " AMANDA_SERVER=server to specify a server name"
@${ECHO} " The default is `uname -n`"
@${ECHO} " AMANDA_USER=user to specify the default user"
@${ECHO} " The default is amanda"
@${ECHO} " AMANDA_GROUP=group to specify the default group"
@${ECHO} " The default is amanda"
@${ECHO} " AMANDA_DATES=path to client amandates file"
@${ECHO} ""
CONFLICTS= amanda-server-2.* amanda-server-3.3.* amanda2[56]-server-*
BUILD_DEPENDS+= ${LOCALBASE}/lib/amanda/libamandad-${PORTVERSION}.so:${PORTSDIR}/misc/amanda32-client
RUN_DEPENDS+= ${LOCALBASE}/lib/amanda/libamandad-${PORTVERSION}.so:${PORTSDIR}/misc/amanda32-client
CONFIGURE_ARGS+=--without-client
MAN5= disklist.5 \
tapelist.5
MAN7= amanda-changers.7 \
amanda-compatibility.7 \
amanda-devices.7 \
amanda-taperscan.7
MAN8= amaddclient.8 amadmin.8 amaespipe.8 amcheck.8 \
amcheckdb.8 amcheckdump.8 amcleanup.8 \
amcrypt.8 amcryptsimple.8 amcrypt-ossl-asym.8 amcrypt-ossl.8 \
amdevcheck.8 \
amdump.8 amfetchdump.8 amflush.8 amgetconf.8 amgpgcrypt.8 \
amlabel.8 \
amoverview.8 amreport.8 amrestore.8 amrmtape.8 \
amserverconfig.8 amservice.8 amstatus.8 \
amtape.8 amtoc.8 amtapetype.8 \
amvault.8
.if ${PORT_OPTIONS:MPLOT}
BUILD_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot
RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot
MAN8+= amplot.8
PLIST_SUB+= PLOT=''
CONFIGURE_ARGS+= --with-gnuplot=${LOCALBASE}/bin/gnuplot
.else
PLIST_SUB+= PLOT='@comment '
CONFIGURE_ARGS+= --without-gnuplot
.endif
.if ${PORT_OPTIONS:MSAMBA}
SAMBA_PORT?= samba36
BUILD_DEPENDS+= smbclient:${PORTSDIR}/net/${SAMBA_PORT}
RUN_DEPENDS+= smbclient:${PORTSDIR}/net/${SAMBA_PORT}
CONFIGURE_ARGS+= --with-smbclient=${LOCALBASE}/bin/smbclient
.endif
# If configure founds libcurl, automatically enabled it (with plist change).
.if ${PORT_OPTIONS:MS3}
LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl
CONFIGURE_ARGS+= --enable-s3-device
PLIST_SUB+= S3DEVICE=''
.else
CONFIGURE_ARGS+= --disable-s3-device
PLIST_SUB+= S3DEVICE='@comment '
.endif
post-install:
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
# amanda-client part
.else
pre-fetch:
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@${ECHO} ""
@${ECHO} " AMANDA_SERVER=server to specify a server name"
@${ECHO} " The default is `uname -n`"
@${ECHO} " AMANDA_GNUTAR_LISTDIR=dir to specify the directory that"
@${ECHO} " the gnutar index files should live in"
@${ECHO} " The default is ${PREFIX}/var/amanda/gnutar-lists"
@${ECHO} " AMANDA_USER=user to specify the default user"
@${ECHO} " The default is amanda"
@${ECHO} " AMANDA_GROUP=group to specify the default group"
@${ECHO} " The default is amanda"
@${ECHO} " AMANDA_DATES=path to client amandates file"
@${ECHO} ""
CONFLICTS= amanda-client-2.* amanda-client-3.3.* amanda2[56]-client-*
CONFIGURE_ARGS+=--without-server --with-amandates=${AMANDA_DATES}
.if defined(AMANDA_NO_SNAPSHOT_DUMP)
CFLAGS= -DFreeBSD_NO_SNAPSHOT_DUMP=t
.endif
MAN5= amanda-archive-format.5 \
amanda-client.conf.5 \
amanda.conf.5
MAN7= amanda-applications.7 \
amanda-auth.7 \
amanda-match.7 \
amanda-scripts.7
MAN8= amanda.8 \
amarchiver.8 \
amgtar.8 \
ampgsql.8 \
amraw.8 \
amrecover.8 \
amsamba.8 \
amstar.8 \
amsuntar.8 \
amzfs-sendrecv.8 \
amzfs-snapshot.8 \
script-email.8
post-install:
${MKDIR} ${AMANDA_GNUTAR_LISTDIR}
${CHOWN} ${USERS}:${AMANDA_GROUP} ${AMANDA_GNUTAR_LISTDIR}
${TOUCH} ${AMANDA_DATES}
${CHOWN} ${USERS}:${AMANDA_GROUP} ${AMANDA_DATES}
${CAT} ${PKGMESSAGE}
.endif
# MEMO:
# Prefix @WANT_SERVER_TRUE@ for server only files.
# Prefix @WANT_CLIENT_TRUE@ for client only files.
# For debugging: dbprintf(_("getcmd: %s\n"), line);
.include <bsd.port.mk>

View file

@ -1,2 +0,0 @@
SHA256 (amanda-3.2.3.tar.gz) = 8ac37cc82add71ffd009fa4ea8763c633037277e15d51d28aefb8cb4c0b6a7fd
SIZE (amanda-3.2.3.tar.gz) = 4125405

View file

@ -1,14 +0,0 @@
--- client-src/calcsize.c.orig 2008-01-18 09:31:16.000000000 +0900
+++ client-src/calcsize.c 2008-08-30 20:11:59.000000000 +0900
@@ -160,7 +160,11 @@
dump_total += (ST_BLOCKS(finfo) + (off_t)1) / (off_t)2 + (off_t)1;
gtar_total += ROUND(4,(ST_BLOCKS(finfo) + (off_t)1));
}
+#ifdef GNUTAR
+ g_printf(" GNUTAR dump\n");
+#else
g_printf(" gtar dump\n");
+#endif
g_printf("total %-9lu %-9lu\n",gtar_total,dump_total);
return 0;
#else

View file

@ -1,11 +0,0 @@
--- amandad-src/Makefile.in.orig 2010-10-16 18:41:37.735202558 +0900
+++ amandad-src/Makefile.in 2010-10-16 18:42:00.351165593 +0900
@@ -1171,7 +1171,7 @@
AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS)
LINT = $(AMLINT)
LINTFLAGS = $(AMLINTFLAGS)
-amlib_LTLIBRARIES = libamandad.la
+@WANT_CLIENT_TRUE@amlib_LTLIBRARIES = libamandad.la
libamandad_la_SOURCES = amandad_util.c
libamandad_la_LDFLAGS = -release $(VERSION)
libamandad_la_LIBADD = ../common-src/libamanda.la

View file

@ -1,12 +0,0 @@
--- amar-src/Makefile.in.orig 2009-01-27 14:01:04.000000000 +0900
+++ amar-src/Makefile.in 2009-01-27 14:01:36.000000000 +0900
@@ -856,7 +856,8 @@
AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS)
LINT = @AMLINT@
LINTFLAGS = @AMLINTFLAGS@
-amlib_LTLIBRARIES = libamar.la
+@WANT_SERVER_TRUE@amlib_LTLIBRARIES =
+@WANT_CLIENT_TRUE@amlib_LTLIBRARIES = libamar.la
libamar_la_SOURCES = amar.c
libamar_la_LDFLAGS = -release $(VERSION)
libamar_la_LIBADD = ../common-src/libamanda.la

View file

@ -1,11 +0,0 @@
--- client-src/sendbackup-dump.c.orig 2011-04-24 16:41:40.874642189 +0900
+++ client-src/sendbackup-dump.c 2011-04-24 16:42:28.215501968 +0900
@@ -377,7 +377,7 @@
#endif
#ifdef __FreeBSD__
-# if defined(__FreeBSD_version) && (__FreeBSD_version >= 500043)
+# if defined(__FreeBSD_version) && (__FreeBSD_version >= 500043) && !defined(FreeBSD_NO_SNAPSHOT_DUMP)
# define FREEBSD_EXTRA_KEYS "bL"
# else
# define FREEBSD_EXTRA_KEYS "b"

View file

@ -1,11 +0,0 @@
--- common-src/Makefile.in.orig 2010-10-16 18:21:52.890010063 +0900
+++ common-src/Makefile.in 2010-10-16 18:22:26.842453745 +0900
@@ -1346,7 +1346,7 @@
INCLUDES = -I$(top_srcdir)/gnulib
AM_CFLAGS = $(AMANDA_WARNING_CFLAGS)
AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS)
-amlib_LTLIBRARIES = libamanda.la
+@WANT_CLIENT_TRUE@amlib_LTLIBRARIES = libamanda.la
LINT = $(AMLINT)
LINTFLAGS = $(AMLINTFLAGS)
libamanda_la_SOURCES = alloc.c amfeatures.c amflock.c ipc-binary.c \

View file

@ -1,18 +0,0 @@
--- common-src/glib-util.c.orig 2013-02-07 15:57:30.000000000 +0000
+++ common-src/glib-util.c 2013-02-07 15:57:50.000000000 +0000
@@ -120,15 +120,6 @@
}
#endif
-void g_queue_free_full(GQueue * queue) {
- while (!g_queue_is_empty(queue)) {
- gpointer data;
- data = g_queue_pop_head(queue);
- amfree(data);
- }
- g_queue_free(queue);
-}
-
void g_ptr_array_free_full(GPtrArray * array) {
size_t i;

View file

@ -1,10 +0,0 @@
--- common-src/glib-util.h.orig 2013-02-07 15:57:26.000000000 +0000
+++ common-src/glib-util.h 2013-02-07 15:57:54.000000000 +0000
@@ -72,7 +72,6 @@
/* These functions all take a GLib container, and call free() on all the
* pointers in the container before free()ing the container itself. */
-void g_queue_free_full(GQueue * queue);
void g_ptr_array_free_full(GPtrArray * array);
/* g_value_compare() does what you expect. It returns TRUE if and

View file

@ -1,10 +0,0 @@
--- man/Makefile.in.orig 2009-01-22 22:51:25.000000000 +0900
+++ man/Makefile.in 2009-01-27 07:27:10.000000000 +0900
@@ -640,6 +640,7 @@
amanda-auth.7 \
amarchiver.8 \
script-email.8
+@WANT_SERVER_TRUE@COMMON_MAN_PAGES =
CLIENT_MAN_PAGES = \
amanda-applications.7 \

View file

@ -1,15 +0,0 @@
--- ndmp-src/Makefile.in.orig 2010-10-16 18:45:40.253086014 +0900
+++ ndmp-src/Makefile.in 2010-10-16 18:46:36.949487552 +0900
@@ -1289,9 +1289,9 @@
# Divide the library up into the library side and down (libndmlib.la),
# and the full set of rules, agents, and so on required to build ndmjob
# (libndmjob.la).
-amlib_LTLIBRARIES = \
- libndmlib.la \
- libndmjob.la
+@WANT_CLIENT_TRUE@amlib_LTLIBRARIES = \
+@WANT_CLIENT_TRUE@ libndmlib.la \
+@WANT_CLIENT_TRUE@ libndmjob.la
libndmjla = \
ndma_comm_job.c \

View file

@ -1,11 +0,0 @@
--- perl/Amanda/Process.pm.orig 2009-01-28 13:57:55.000000000 +0900
+++ perl/Amanda/Process.pm 2009-01-28 13:58:19.000000000 +0900
@@ -155,7 +155,7 @@
$self->{ppid} = ();
my $ps_argument = $Amanda::Constants::PS_ARGUMENT;
if ($ps_argument eq "CYGWIN") {
- open(PSTABLE, "-|", "ps -ef") || die("ps -ef: $!");
+ open(PSTABLE, "-|", "ps -f") || die("ps -f: $!");
my $psline = <PSTABLE>; #header line
while($psline = <PSTABLE>) {
chomp $psline;

View file

@ -1,39 +0,0 @@
--- perl/Makefile.in.orig 2010-10-07 03:58:28.000000000 +0900
+++ perl/Makefile.in 2010-10-16 21:16:31.327136585 +0900
@@ -1541,13 +1541,15 @@
# PACKAGE: Amanda::Script_App
# PACKAGE: Amanda::Script
+@WANT_CLIENT_TRUE@am__append_xfer = Amanda/Xfer.pm
+@WANT_CLIENT_TRUE@am__append_const = Amanda/Constants.pm
Amanda_DATA = Amanda/Archive.pm Amanda/Process.pm $(am__append_4) \
Amanda/Feature.pm $(am__append_6) Amanda/ClientService.pm \
- $(am__append_7) Amanda/Xfer.pm $(am__append_10) \
+ $(am__append_7) $(am__append_xfer) $(am__append_10) \
$(am__append_13) Amanda/BigIntCompat.pm Amanda/Debug.pm \
Amanda/Config.pm Amanda/Util.pm Amanda/Header.pm \
Amanda/Tests.pm Amanda/MainLoop.pm Amanda/Paths.pm \
- Amanda/Constants.pm Amanda/Script_App.pm $(am__append_16) \
+ $(am__append_const) Amanda/Script_App.pm $(am__append_16) \
$(am__append_17) Amanda/Script.pm
# PACKAGE: Amanda::Archive
@@ -1670,12 +1672,12 @@
@WANT_SERVER_TRUE@Amanda_DB_DATA = Amanda/DB/Catalog.pm
# PACKAGE: Amanda::Xfer
-libXferdir = $(amperldir)/auto/Amanda/Xfer
-libXfer_LTLIBRARIES = libXfer.la
-libXfer_la_SOURCES = Amanda/Xfer.c $(AMGLUE_SWG)
-libXfer_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libXfer_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/xfer-src/libamxfer.la
+@WANT_CLIENT_TRUE@libXferdir = $(amperldir)/auto/Amanda/Xfer
+@WANT_CLIENT_TRUE@libXfer_LTLIBRARIES = libXfer.la
+@WANT_CLIENT_TRUE@libXfer_la_SOURCES = Amanda/Xfer.c $(AMGLUE_SWG)
+@WANT_CLIENT_TRUE@libXfer_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+@WANT_CLIENT_TRUE@libXfer_la_LIBADD = amglue/libamglue.la \
+@WANT_CLIENT_TRUE@ $(top_builddir)/xfer-src/libamxfer.la
# PACKAGE: Amanda::NDMP

View file

@ -1,10 +0,0 @@
--- perl/amglue/Makefile.in 2010-10-16 19:29:45.554806332 +0900
+++ perl/amglue/Makefile.in.orig 2010-10-07 03:58:28.000000000 +0900
@@ -1212,6 +1212,7 @@
list2="$$list2 $$p"; \
else :; fi; \
done; \
+@WANT_CLIENT_FALSE@ list2=; \
test -z "$$list2" || { \
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(amlibdir)'"; \
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(amlibdir)"; \

View file

@ -1,11 +0,0 @@
--- xfer-src/Makefile.in.orig 2010-10-16 14:38:56.304820189 +0900
+++ xfer-src/Makefile.in 2010-10-16 14:40:42.063983713 +0900
@@ -1176,7 +1176,7 @@
AM_CFLAGS = $(AMANDA_WARNING_CFLAGS)
AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS)
-amlib_LTLIBRARIES = libamxfer.la
+@WANT_CLIENT_TRUE@amlib_LTLIBRARIES = libamxfer.la
LINT = $(AMLINT)
LINTFLAGS = $(AMLINTFLAGS)
libamxfer_la_SOURCES = \

View file

@ -1,9 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
if [ "$2" != "DEINSTALL" ]; then
exit 0
fi
%%PERL%% -i -pe "s|\" server restore client amrecover ndmp\"|\" client amrecover ndmp\"|" ${PKG_PREFIX}/%%SITE_PERL_REL%%/Amanda/Constants.pm

View file

@ -1,9 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
if [ "$2" != "POST-INSTALL" ]; then
exit 0
fi
%%PERL%% -i -pe "s|\" client amrecover ndmp\"|\" server restore client amrecover ndmp\"|" ${PKG_PREFIX}/%%SITE_PERL_REL%%/Amanda/Constants.pm

View file

@ -1,3 +0,0 @@
Please install these ports (they are only on-demand runtime dependencies):
- %%PORTSDIR%%/misc/mtx if you want chg-robot changer.
- %%PORTSDIR%%/security/aespipe if you want amcrypt(8).

View file

@ -1,19 +0,0 @@
WHAT IS AMANDA?
---------------
This is a release of Amanda, the Advanced Maryland Automatic
Network Disk Archiver. Amanda is a backup system designed to archive many
computers on a network to a single large-capacity tape drive.
Here are some features of Amanda:
* written in C, freely distributable.
* built on top of standard backup software: Unix dump/restore, and
later GNU Tar and others.
* will back up multiple machines in parallel to a holding disk, blasting
finished dumps one by one to tape as fast as we can write files to
tape. For example, a ~2 Gb 8mm tape on a ~240K/s interface to a host
with a large holding disk can be filled by Amanda in under 4 hours.
* does simple tape management: will not overwrite the wrong tape.
WWW: http://sourceforge.net/projects/amanda/

View file

@ -1,114 +0,0 @@
lib/amanda/libamdevice-%%SHLIBVER%%.so
lib/amanda/libamdevice.a
lib/amanda/libamdevice.la
lib/amanda/libamdevice.so
lib/amanda/libamserver-%%SHLIBVER%%.so
lib/amanda/libamserver.a
lib/amanda/libamserver.la
lib/amanda/libamserver.so
%%SITE_PERL%%/Amanda/Changer.pm
%%SITE_PERL%%/Amanda/Changer/compat.pm
%%SITE_PERL%%/Amanda/Changer/disk.pm
%%SITE_PERL%%/Amanda/Changer/multi.pm
%%SITE_PERL%%/Amanda/Changer/ndmp.pm
%%SITE_PERL%%/Amanda/Changer/null.pm
%%SITE_PERL%%/Amanda/Changer/rait.pm
%%SITE_PERL%%/Amanda/Changer/robot.pm
%%SITE_PERL%%/Amanda/Changer/single.pm
%%SITE_PERL%%/Amanda/Cmdline.pm
%%SITE_PERL%%/Amanda/Curinfo.pm
%%SITE_PERL%%/Amanda/Curinfo/Info.pm
%%SITE_PERL%%/Amanda/DB/Catalog.pm
%%SITE_PERL%%/Amanda/Device.pm
%%SITE_PERL%%/Amanda/Disklist.pm
%%SITE_PERL%%/Amanda/Holding.pm
%%SITE_PERL%%/Amanda/Interactive.pm
%%SITE_PERL%%/Amanda/Interactive/stdin.pm
%%SITE_PERL%%/Amanda/Logfile.pm
%%SITE_PERL%%/Amanda/Recovery/Clerk.pm
%%SITE_PERL%%/Amanda/Recovery/Planner.pm
%%SITE_PERL%%/Amanda/Recovery/Scan.pm
%%SITE_PERL%%/Amanda/Report.pm
%%SITE_PERL%%/Amanda/Report/human.pm
%%SITE_PERL%%/Amanda/Report/postscript.pm
%%SITE_PERL%%/Amanda/Report/xml.pm
%%SITE_PERL%%/Amanda/Tapelist.pm
%%SITE_PERL%%/Amanda/Taper/Controller.pm
%%SITE_PERL%%/Amanda/Taper/Protocol.pm
%%SITE_PERL%%/Amanda/Taper/Scan.pm
%%SITE_PERL%%/Amanda/Taper/Scan/traditional.pm
%%SITE_PERL%%/Amanda/Taper/Scribe.pm
%%SITE_PERL%%/Amanda/Taper/Worker.pm
%%SITE_PERL%%/Amanda/XferServer.pm
%%SITE_PERL%%/auto/Amanda/Cmdline/libCmdline.la
%%SITE_PERL%%/auto/Amanda/Cmdline/libCmdline.so
%%SITE_PERL%%/auto/Amanda/Device/libDevice.la
%%SITE_PERL%%/auto/Amanda/Device/libDevice.so
%%SITE_PERL%%/auto/Amanda/Disklist/libDisklist.la
%%SITE_PERL%%/auto/Amanda/Disklist/libDisklist.so
%%SITE_PERL%%/auto/Amanda/Logfile/libLogfile.la
%%SITE_PERL%%/auto/Amanda/Logfile/libLogfile.so
%%SITE_PERL%%/auto/Amanda/Tapelist/libTapelist.la
%%SITE_PERL%%/auto/Amanda/Tapelist/libTapelist.so
%%SITE_PERL%%/auto/Amanda/XferServer/libXferServer.la
%%SITE_PERL%%/auto/Amanda/XferServer/libXferServer.so
%%PLOT%%libexec/amanda/amcat.awk
libexec/amanda/amcheck-device
libexec/amanda/amcleanupdisk
libexec/amanda/amindexd
libexec/amanda/amlogroll
%%PLOT%%libexec/amanda/amplot.awk
%%PLOT%%libexec/amanda/amplot.g
%%PLOT%%libexec/amanda/amplot.gp
libexec/amanda/amtrmidx
libexec/amanda/amtrmlog
libexec/amanda/chg-disk
libexec/amanda/chg-lib.sh
libexec/amanda/chg-manual
libexec/amanda/chg-multi
libexec/amanda/chg-zd-mtx
libexec/amanda/chunker
libexec/amanda/amidxtaped
libexec/amanda/driver
libexec/amanda/dumper
libexec/amanda/planner
libexec/amanda/taper
%%S3DEVICE%%sbin/activate-devpay
sbin/amaddclient
sbin/amadmin
sbin/amcheck
sbin/amcheckdb
sbin/amcheckdump
sbin/amcleanup
sbin/amdevcheck
sbin/amdump
sbin/amfetchdump
sbin/amflush
sbin/amlabel
sbin/amoverview
%%PLOT%%sbin/amplot
sbin/amreport
sbin/amrestore
sbin/amrmtape
sbin/amserverconfig
sbin/amservice
sbin/amstatus
sbin/amtape
sbin/amtapetype
sbin/amtoc
sbin/amvault
@dirrm %%SITE_PERL%%/auto/Amanda/XferServer
@dirrm %%SITE_PERL%%/auto/Amanda/Tapelist
@dirrm %%SITE_PERL%%/auto/Amanda/Logfile
@dirrm %%SITE_PERL%%/auto/Amanda/Disklist
@dirrm %%SITE_PERL%%/auto/Amanda/Device
@dirrm %%SITE_PERL%%/auto/Amanda/Cmdline
@dirrm %%SITE_PERL%%/Amanda/Taper/Scan
@dirrm %%SITE_PERL%%/Amanda/Taper
@dirrm %%SITE_PERL%%/Amanda/Report
@dirrm %%SITE_PERL%%/Amanda/Recovery
@dirrm %%SITE_PERL%%/Amanda/Interactive
@dirrm %%SITE_PERL%%/Amanda/DB
@dirrm %%SITE_PERL%%/Amanda/Curinfo
@dirrm %%SITE_PERL%%/Amanda/Changer
@dirrm include/amanda

View file

@ -1,167 +0,0 @@
lib/amanda/libamanda-%%SHLIBVER%%.so
lib/amanda/libamanda.a
lib/amanda/libamanda.la
lib/amanda/libamanda.so
lib/amanda/libamandad-%%SHLIBVER%%.so
lib/amanda/libamandad.a
lib/amanda/libamandad.la
lib/amanda/libamandad.so
lib/amanda/libamar-%%SHLIBVER%%.so
lib/amanda/libamar.a
lib/amanda/libamar.la
lib/amanda/libamar.so
lib/amanda/libamclient-%%SHLIBVER%%.so
lib/amanda/libamclient.a
lib/amanda/libamclient.la
lib/amanda/libamclient.so
lib/amanda/libamglue-%%SHLIBVER%%.so
lib/amanda/libamglue.a
lib/amanda/libamglue.la
lib/amanda/libamglue.so
lib/amanda/libamxfer-%%SHLIBVER%%.so
lib/amanda/libamxfer.a
lib/amanda/libamxfer.la
lib/amanda/libamxfer.so
lib/amanda/libndmjob-%%SHLIBVER%%.so
lib/amanda/libndmjob.a
lib/amanda/libndmjob.la
lib/amanda/libndmjob.so
lib/amanda/libndmlib-%%SHLIBVER%%.so
lib/amanda/libndmlib.a
lib/amanda/libndmlib.la
lib/amanda/libndmlib.so
libexec/amanda/amanda-sh-lib.sh
libexec/amanda/amandad
libexec/amanda/amndmjob
libexec/amanda/application/amgtar
libexec/amanda/application/amlog-script
libexec/amanda/application/ampgsql
libexec/amanda/application/amraw
libexec/amanda/application/amsamba
libexec/amanda/application/amstar
libexec/amanda/application/amsuntar
libexec/amanda/application/amzfs-sendrecv
libexec/amanda/application/amzfs-snapshot
libexec/amanda/application/script-email
libexec/amanda/calcsize
libexec/amanda/killpgrp
libexec/amanda/ndmjob
libexec/amanda/noop
libexec/amanda/patch-system
libexec/amanda/rundump
libexec/amanda/runtar
libexec/amanda/selfcheck
libexec/amanda/sendbackup
libexec/amanda/sendsize
libexec/amanda/teecount
%%SITE_PERL%%/Amanda/Application.pm
%%SITE_PERL%%/Amanda/Application/Zfs.pm
%%SITE_PERL%%/Amanda/Archive.pm
%%SITE_PERL%%/Amanda/BigIntCompat.pm
%%SITE_PERL%%/Amanda/ClientService.pm
%%SITE_PERL%%/Amanda/Config.pm
%%SITE_PERL%%/Amanda/Config/FoldingHash.pm
%%SITE_PERL%%/Amanda/Constants.pm
%%SITE_PERL%%/Amanda/Debug.pm
%%SITE_PERL%%/Amanda/Feature.pm
%%SITE_PERL%%/Amanda/Header.pm
%%SITE_PERL%%/Amanda/IPC/Binary.pm
%%SITE_PERL%%/Amanda/IPC/LineProtocol.pm
%%SITE_PERL%%/Amanda/MainLoop.pm
%%SITE_PERL%%/Amanda/NDMP.pm
%%SITE_PERL%%/Amanda/Paths.pm
%%SITE_PERL%%/Amanda/Process.pm
%%SITE_PERL%%/Amanda/Script.pm
%%SITE_PERL%%/Amanda/Script_App.pm
%%SITE_PERL%%/Amanda/Tests.pm
%%SITE_PERL%%/Amanda/Util.pm
%%SITE_PERL%%/Amanda/Xfer.pm
%%SITE_PERL%%/auto/Amanda/Application/libApplication.la
%%SITE_PERL%%/auto/Amanda/Application/libApplication.so
%%SITE_PERL%%/auto/Amanda/Archive/libArchive.la
%%SITE_PERL%%/auto/Amanda/Archive/libArchive.so
%%SITE_PERL%%/auto/Amanda/Config/libConfig.la
%%SITE_PERL%%/auto/Amanda/Config/libConfig.so
%%SITE_PERL%%/auto/Amanda/Debug/libDebug.la
%%SITE_PERL%%/auto/Amanda/Debug/libDebug.so
%%SITE_PERL%%/auto/Amanda/Feature/libFeature.la
%%SITE_PERL%%/auto/Amanda/Feature/libFeature.so
%%SITE_PERL%%/auto/Amanda/Header/libHeader.la
%%SITE_PERL%%/auto/Amanda/Header/libHeader.so
%%SITE_PERL%%/auto/Amanda/IPC/Binary/libBinary.la
%%SITE_PERL%%/auto/Amanda/IPC/Binary/libBinary.so
%%SITE_PERL%%/auto/Amanda/MainLoop/libMainLoop.la
%%SITE_PERL%%/auto/Amanda/MainLoop/libMainLoop.so
%%SITE_PERL%%/auto/Amanda/NDMP/libNDMP.la
%%SITE_PERL%%/auto/Amanda/NDMP/libNDMP.so
%%SITE_PERL%%/auto/Amanda/Tests/libTests.la
%%SITE_PERL%%/auto/Amanda/Tests/libTests.so
%%SITE_PERL%%/auto/Amanda/Util/libUtil.la
%%SITE_PERL%%/auto/Amanda/Util/libUtil.so
%%SITE_PERL%%/auto/Amanda/Xfer/libXfer.la
%%SITE_PERL%%/auto/Amanda/Xfer/libXfer.so
sbin/amaespipe
sbin/amarchiver
sbin/amcrypt
sbin/amcrypt-ossl
sbin/amcrypt-ossl-asym
sbin/amcryptsimple
sbin/amgetconf
sbin/amgpgcrypt
sbin/amoldrecover
sbin/amrecover
%%DATADIR%%/COPYRIGHT
%%DATADIR%%/ChangeLog
%%DATADIR%%/NEWS
%%DATADIR%%/ReleaseNotes
%%DATADIR%%/example/amanda-client-postgresql.conf
%%DATADIR%%/example/amanda-client.conf
%%DATADIR%%/example/amanda.conf
%%DATADIR%%/example/chg-multi.conf
%%DATADIR%%/example/chg-scsi.conf
%%DATADIR%%/example/disklist
%%DATADIR%%/example/inetd.conf.amandaclient
%%DATADIR%%/example/inetd.conf.amandaserver
%%DATADIR%%/example/label-templates/3hole.ps
%%DATADIR%%/example/label-templates/8.5x11.ps
%%DATADIR%%/example/label-templates/DIN-A4.ps
%%DATADIR%%/example/label-templates/DLT-A4.ps
%%DATADIR%%/example/label-templates/DLT.ps
%%DATADIR%%/example/label-templates/EXB-8500.ps
%%DATADIR%%/example/label-templates/HP-DAT.ps
%%DATADIR%%/example/xinetd.amandaclient
%%DATADIR%%/example/xinetd.amandaserver
%%DATADIR%%/template.d/advanced.conf
%%DATADIR%%/template.d/amanda-harddisk.conf
%%DATADIR%%/template.d/amanda-single-tape.conf
%%DATADIR%%/template.d/amanda-tape-changer.conf
%%DATADIR%%/template.d/amanda-S3.conf
%%DATADIR%%/template.d/dumptypes
%%DATADIR%%/template.d/tapetypes
%%DATADIR%%/template.d/README
%%DATADIR%%/template.d/chg-manual.conf
@dirrm %%SITE_PERL%%/auto/Amanda/Xfer
@dirrm %%SITE_PERL%%/auto/Amanda/Util
@dirrm %%SITE_PERL%%/auto/Amanda/Tests
@dirrm %%SITE_PERL%%/auto/Amanda/NDMP
@dirrm %%SITE_PERL%%/auto/Amanda/MainLoop
@dirrm %%SITE_PERL%%/auto/Amanda/IPC/Binary
@dirrm %%SITE_PERL%%/auto/Amanda/IPC
@dirrm %%SITE_PERL%%/auto/Amanda/Header
@dirrm %%SITE_PERL%%/auto/Amanda/Feature
@dirrm %%SITE_PERL%%/auto/Amanda/Debug
@dirrm %%SITE_PERL%%/auto/Amanda/Config
@dirrm %%SITE_PERL%%/auto/Amanda/Archive
@dirrm %%SITE_PERL%%/auto/Amanda/Application
@dirrm %%SITE_PERL%%/auto/Amanda
@dirrm %%SITE_PERL%%/Amanda/IPC
@dirrm %%SITE_PERL%%/Amanda/Config
@dirrm %%SITE_PERL%%/Amanda/Application
@dirrm %%SITE_PERL%%/Amanda
@dirrm %%DATADIR%%/template.d
@dirrm %%DATADIR%%/example/label-templates
@dirrm %%DATADIR%%/example
@dirrm %%DATADIR%%
@dirrm libexec/amanda/application
@dirrm libexec/amanda
@dirrm lib/amanda

View file

@ -1,58 +0,0 @@
# Created by: M. Possamai
# $FreeBSD$
PORTNAME= callid
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://possamai.home.xs4all.nl/callid/
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility to log incoming calls using ISDN and output to MySQL/PHP
USES= perl5
USE_MYSQL= yes
USE_PHP= yes
WANT_PHP_WEB= yes
NO_BUILD= yes
PORTDOCS= CHANGES README TODO make-db.mysql
RUN_DEPENDS+= p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
pre-everything::
@${ECHO} ""
@${ECHO} "You have to configure PHP with MYSQL support."
@${ECHO} ""
@${ECHO} "If you have already compiled PHP without MYSQL,"
@${ECHO} "press CTRL+C now and rebuild it before installing callid."
@${ECHO} ""
do-install:
@${MKDIR} ${PREFIX}/www/callid
@${INSTALL_DATA} ${WRKSRC}/src/*.php ${PREFIX}/www/callid
@${INSTALL_DATA} ${WRKSRC}/src/*.html ${PREFIX}/www/callid
@${MKDIR} ${PREFIX}/www/callid/images
@${INSTALL_DATA} ${WRKSRC}/src/images/*.jpg ${PREFIX}/www/callid/images
@${INSTALL_DATA} -m 550 ${WRKSRC}/sbin/call-logd ${PREFIX}/sbin
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
.endfor
.endif
post-install:
@if [ ! -f ${PREFIX}/etc/rc.d/callid.sh ]; then \
${ECHO} "Installing ${PREFIX}/etc/rc.d/callid.sh startup file."; \
${INSTALL_SCRIPT} -m 751 ${WRKSRC}/etc/rc.d/callid.sh ${PREFIX}/etc/rc.d/callid.sh; \
fi
.include <bsd.port.mk>

View file

@ -1,2 +0,0 @@
SHA256 (callid-1.2.tar.gz) = da4e18900c50f3ccd6e58c1ec1bdd4e490b6dbf097d28471f091d2f26549dc07
SIZE (callid-1.2.tar.gz) = 71456

View file

@ -1,27 +0,0 @@
--- sbin/call-logd.orig Tue Jan 3 22:45:53 2006
+++ sbin/call-logd Tue Jan 3 22:51:33 2006
@@ -33,13 +33,14 @@
else{
@cpn = split(' ', $grepS);
- if ($phonenr eq ''){
- $phonenr = "$cpn[3]";
- }#end if phonenr
-
- else{
- $msnnr = "$cpn[3]";
- }#end else
+ if ($cpn[0] eq "[calling") {
+ if ($cpn[3] ne "(type=national,") {
+ $phonenr = "$cpn[3]";
+ }
+ }
+ if ($cpn[0] eq "[called") {
+ $msnnr = "$cpn[3]";
+ }
if ($msnnr eq ''){

View file

@ -1,2 +0,0 @@
Callid is a tool to be able to show incoming calls in a web-based interface.
the calls are logged through the ISDN D-Channel.

View file

@ -1,20 +0,0 @@
etc/rc.d/callid.sh
sbin/call-logd
www/callid/index.html
www/callid/config.php
www/callid/names-add.php
www/callid/names-del.php
www/callid/names-menu.php
www/callid/names.php
www/callid/phone-menu.php
www/callid/phone.php
www/callid/top.php
www/callid/images/add-name.jpg
www/callid/images/call-log.jpg
www/callid/images/callid.jpg
www/callid/images/delete-name.jpg
www/callid/images/list-names.jpg
www/callid/images/names-menu.jpg
www/callid/images/phone-menu.jpg
@dirrm www/callid/images
@dirrm www/callid

View file

@ -1,40 +0,0 @@
# Created by: Denis Shaposhnikov <dsh@vlink.ru>
# $FreeBSD$
PORTNAME= color-theme.el
PORTVERSION= 6.6.0
PORTREVISION= 12
CATEGORIES= misc elisp
MASTER_SITES= http://download.gna.org/color-theme/
PKGNAMESUFFIX= -${EMACS_NAME}
DISTNAME= color-theme-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Emacs-Lisp package with more than 50 color themes
USE_EMACS= yes
PORTDOCS= AUTHORS BUGS COPYING ChangeLog README
ELISPDIR= ${PREFIX}/${EMACS_SITE_LISPDIR}/color-theme
ELISPFILES= color-theme.el color-theme.elc themes
NO_STAGE= yes
do-build:
(cd ${WRKSRC}; \
${EMACS_CMD} -batch -q -f batch-byte-compile color-theme.el)
do-install:
${MKDIR} ${ELISPDIR}
(cd ${WRKSRC} && \
${COPYTREE_SHARE} "${ELISPFILES}" ${ELISPDIR})
(cd ${ELISPDIR}/themes; \
${EMACS_CMD} -batch -q -f batch-byte-compile *.el)
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
. for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
. endfor
.endif
.include <bsd.port.mk>

View file

@ -1,2 +0,0 @@
SHA256 (color-theme-6.6.0.tar.gz) = 56d35f02dc4c8dd386a7242007432adc458466c8a48d0d680eda1826197ca17b
SIZE (color-theme-6.6.0.tar.gz) = 124858

View file

@ -1,4 +0,0 @@
Color theme is an Emacs-Lisp package with more than 50 color themes
for your use.
WWW: http://www.emacswiki.org/cgi-bin/wiki?ColorTheme

View file

@ -1,8 +0,0 @@
%%EMACS_SITE_LISPDIR%%/color-theme/color-theme.el
%%EMACS_SITE_LISPDIR%%/color-theme/color-theme.elc
%%EMACS_SITE_LISPDIR%%/color-theme/themes/color-theme-example.el
%%EMACS_SITE_LISPDIR%%/color-theme/themes/color-theme-example.elc
%%EMACS_SITE_LISPDIR%%/color-theme/themes/color-theme-library.el
%%EMACS_SITE_LISPDIR%%/color-theme/themes/color-theme-library.elc
@dirrm %%EMACS_SITE_LISPDIR%%/color-theme/themes
@dirrm %%EMACS_SITE_LISPDIR%%/color-theme

View file

@ -1,61 +0,0 @@
# Created by: oly@world.std.com
# $FreeBSD$
PORTNAME= dotfile
PORTVERSION= 2.4.1
PORTREVISION= 2
CATEGORIES= misc tk
MASTER_SITES= http://www.blackie.dk/dotfile/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= GUI dotfile generator program to create .config files
BUILD_DEPENDS= formail:${PORTSDIR}/mail/procmail
GNU_CONFIGURE= yes
PLIST_SUB= DISTNAME="${DISTNAME}"
NO_BUILD= yes
USES= tk
MAN1= dotfile.1
OPTIONS_DEFINE= JAPANESE
JAPANESE_DESC= Use Japanese as default language
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MJAPANESE}
CONFIGURE_ENV+= LANGUAGE="japanese"
.endif
post-patch:
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g; s|%%WISH%%|wish${TK_VER}|g; \
s|%%TCLSH%%|tclsh${TCL_VER}|g" ${WRKSRC}/${CONFIGURE_SCRIPT} \
${WRKSRC}/Generator/makeHelp ${WRKSRC}/Modules/english/procmail/${CONFIGURE_SCRIPT}
${FIND} ${WRKSRC} \( -name "*.orig" -o -name "*.bak" \) -delete
post-configure:
@(cd ${WRKSRC}/Modules/english/procmail && CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \
INSTALL="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
do-install:
cd ${WRKSRC} && ${SETENV} LC_ALL=C ${MAKE} install
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}/dotfile
@${MKDIR} ${DOCSDIR}/procmail
@${MKDIR} ${DOCSDIR}/tcsh
@${INSTALL_DATA} ${WRKSRC}/Doc/index.html ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/Doc/dotfile/* ${DOCSDIR}/dotfile
@${INSTALL_DATA} ${WRKSRC}/Doc/tcsh/* ${DOCSDIR}/tcsh
@${INSTALL_DATA} ${WRKSRC}/Doc/procmail/* ${DOCSDIR}/procmail
@${ECHO_CMD} ""
@${ECHO_CMD} "Documentation is installed in ${DOCSDIR}"
@${ECHO_CMD} ""
.endif
.include <bsd.port.post.mk>

View file

@ -1,2 +0,0 @@
SHA256 (dotfile-2.4.1.tar.gz) = 549adcdf10652661cf24b55bd28c983eda1668a34b16db85e9d5c93f239c0f00
SIZE (dotfile-2.4.1.tar.gz) = 1015756

View file

@ -1,13 +0,0 @@
--- Generator/types.tcl.orig 2012-09-13 17:01:08.000000000 +0200
+++ Generator/types.tcl 2012-09-13 17:01:48.000000000 +0200
@@ -1540,7 +1540,9 @@
}
}
line -
- header {} ;# please ignore.
+ header {
+ ;# please ignore.
+ }
default {
warning "setVariable: unknow widget type: \"$type\""
}

View file

@ -1,11 +0,0 @@
--- Modules/english/procmail/configure.orig 2012-09-18 19:44:28.000000000 +0200
+++ Modules/english/procmail/configure 2012-09-18 19:44:42.000000000 +0200
@@ -534,7 +534,7 @@
echo "----------------------------------------------------------------------"
-for ac_prog in tclsh7.6 tclsh7.5 tclsh7.4 tclsh
+for ac_prog in %%TCLSH%%
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2

View file

@ -1,29 +0,0 @@
--- Makefile.in.orig Sat Feb 19 14:15:49 2000
+++ Makefile.in Sat Jul 13 01:15:12 2002
@@ -23,26 +23,11 @@
SHELL = /bin/sh
### Tell the user that there is nothing to be compiled.
-.PHONY: nothing
-nothing:
- @echo ----------------------------------------------------------------------
- @echo ----------------------------------------------------------------------
- @echo "The Dotfile Generator does not contain any files which has to be compiled!"
- @echo "On the other hand, during installation, all the modules need to be"
- @echo "bytecompiled, so now it's time to type: make install"
- @echo ----------------------------------------------------------------------
- @echo ----------------------------------------------------------------------
-#
# install all the files in the corect places.
#
.PHONY: install
install: copydirs bytecompile
- @echo "**********************************************************************"
- @echo In the directory Doc, three articles in HTML format, concerning
- @echo The Dotfile Generator is located. If you want these to be installed
- @echo on your system, please do it manually.
- @echo "**********************************************************************"
.PHONY: copydirs
copydirs:

View file

@ -1,8 +0,0 @@
--- Generator/makeHelp.orig Sun Dec 21 05:40:27 1997
+++ Generator/makeHelp Sun Jan 30 19:31:42 2000
@@ -3,4 +3,4 @@
cp $1/help.html helpfile.data
echo "\n\n<h1>---------------</h1>" >> helpfile.data
cat $2 >> helpfile.data
-wish $1/makeHelp.tcl helpfile.data generatedHelp $1
+%%WISH%% $1/makeHelp.tcl helpfile.data generatedHelp $1

View file

@ -1,58 +0,0 @@
--- configure.orig Sat Feb 19 20:15:36 2000
+++ configure Tue Mar 13 12:56:59 2007
@@ -541,7 +541,14 @@
echo "######################################################################"
echo "######################################################################"
-for ac_prog in wish8.2jp wish8.2 wish8.1jp wish8.1 wish8.0jp wish8.0 wish4.2jp wish4.2 wish4.1jp wish4.1 wish4.0jp wish4.0
+#### Which language should TDG use?
+if test "x$LANGUAGE" = "xjapanese" ; then
+ LANGUAGE="japanese";
+else
+ LANGUAGE="english";
+fi
+
+for ac_prog in %%WISH%%
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@@ -679,7 +686,7 @@
if test "$WISH" = ""; then
- for ac_prog in wish8.2jp wish8.2 wish8.1jp wish8.1 wish8.0jp wish8.0 wish4.2jp wish4.2 wish4.1jp wish4.1 wish4.0jp wish4.0 wish
+ for ac_prog in %%WISH%%
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@@ -733,7 +740,7 @@
echo "####################################################################"
fi
fi
-for ac_prog in tclsh8.2jp tclsh8.2 tclsh8.1jp tclsh8.1 tclsh8.0jp tclsh8.0 tclsh7.6jp tclsh7.6 tclsh7.5jp tclsh7.5 tclsh7.4jp tclsh7.4 tclsh
+for ac_prog in %%TCLSH%%
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@@ -1222,18 +1229,12 @@
{ echo "configure: error: I couldn't find 'ln'" 1>&2; exit 1; }
fi
-
#### Which language should TDG use?
-$TCLSH language.tcl
-res=$?
-if test "$res" = "1" ; then
- LANGUAGE=english;
-elif test "$res" = "2" ; then
- LANGUAGE=japanese;
+if test "x$LANGUAGE" = "xjapanese" ; then
+ LANGUAGE="japanese";
else
- { echo "configure: error: Internal error" 1>&2; exit 1; }
+ LANGUAGE="english";
fi
-
trap '' 1 2 15
cat > confcache <<\EOF

View file

@ -1,9 +0,0 @@
This is a port of the dotfile generator program. It creates
configuration files for many popular programs.
The dotfile generator provides a handy way to create user-
configuration files for many programs. Modules are used
to define the configuration options. A sample template is
provided to aid in creating new modules.
WWW: http://www.blackie.dk/dotfile/

View file

@ -1,399 +0,0 @@
bin/dotfile
bin/%%DISTNAME%%
lib/%%DISTNAME%%/Generator/Copying
lib/%%DISTNAME%%/Generator/TAGS
lib/%%DISTNAME%%/Generator/TODO
lib/%%DISTNAME%%/Generator/Warranty
lib/%%DISTNAME%%/Generator/bitmaps/ComboBox.xbm
lib/%%DISTNAME%%/Generator/bitmaps/Down
lib/%%DISTNAME%%/Generator/bitmaps/GeneratorLogo.gif
lib/%%DISTNAME%%/Generator/bitmaps/Left
lib/%%DISTNAME%%/Generator/bitmaps/Right
lib/%%DISTNAME%%/Generator/bitmaps/Up
lib/%%DISTNAME%%/Generator/bitmaps/act_folder.xbm
lib/%%DISTNAME%%/Generator/bitmaps/file.xbm
lib/%%DISTNAME%%/Generator/bitmaps/folder.xbm
lib/%%DISTNAME%%/Generator/bitmaps/folder_center.xbm
lib/%%DISTNAME%%/Generator/bitmaps/idx.xbm
lib/%%DISTNAME%%/Generator/bitmaps/new.xbm
lib/%%DISTNAME%%/Generator/bitmaps/scissors.xbm
lib/%%DISTNAME%%/Generator/browser.tcl
lib/%%DISTNAME%%/Generator/bytecompile.tcl
lib/%%DISTNAME%%/Generator/color.tcl
lib/%%DISTNAME%%/Generator/combo.tcl
lib/%%DISTNAME%%/Generator/command-japanese.tcl
lib/%%DISTNAME%%/Generator/details.tcl
lib/%%DISTNAME%%/Generator/dialog.tcl
lib/%%DISTNAME%%/Generator/dotfile.tcl
lib/%%DISTNAME%%/Generator/edit.tcl
lib/%%DISTNAME%%/Generator/export.tcl
lib/%%DISTNAME%%/Generator/extOptMenu.tcl
lib/%%DISTNAME%%/Generator/fillouts.tcl
lib/%%DISTNAME%%/Generator/functions.tcl
lib/%%DISTNAME%%/Generator/generate.tcl
lib/%%DISTNAME%%/Generator/generatedHelp.english
lib/%%DISTNAME%%/Generator/generatedHelp.japanese
lib/%%DISTNAME%%/Generator/help.english.html
lib/%%DISTNAME%%/Generator/help.japanese.html
lib/%%DISTNAME%%/Generator/help.tcl
lib/%%DISTNAME%%/Generator/helpfile.data
lib/%%DISTNAME%%/Generator/import.tcl
lib/%%DISTNAME%%/Generator/language.tcl
lib/%%DISTNAME%%/Generator/load.tcl
lib/%%DISTNAME%%/Generator/mail.tcl
lib/%%DISTNAME%%/Generator/makeHelp
lib/%%DISTNAME%%/Generator/makeHelp.tcl
lib/%%DISTNAME%%/Generator/menus.tcl
lib/%%DISTNAME%%/Generator/parse.tcl
lib/%%DISTNAME%%/Generator/save.tcl
lib/%%DISTNAME%%/Generator/setPages.tcl
lib/%%DISTNAME%%/Generator/setup.el
lib/%%DISTNAME%%/Generator/setup.tcl
lib/%%DISTNAME%%/Generator/system.tcl
lib/%%DISTNAME%%/Generator/system.tcl.in
lib/%%DISTNAME%%/Generator/text-english.tcl
lib/%%DISTNAME%%/Generator/text-japanese.tcl
lib/%%DISTNAME%%/Generator/types.tcl
lib/%%DISTNAME%%/Generator/util.tcl
lib/%%DISTNAME%%/english/bash/README
lib/%%DISTNAME%%/english/bash/TODO
lib/%%DISTNAME%%/english/bash/alias.template
lib/%%DISTNAME%%/english/bash/bindKey.template
lib/%%DISTNAME%%/english/bash/bytecompile
lib/%%DISTNAME%%/english/bash/commHist.template
lib/%%DISTNAME%%/english/bash/commLine.template
lib/%%DISTNAME%%/english/bash/completion.template
lib/%%DISTNAME%%/english/bash/errorHandling.template
lib/%%DISTNAME%%/english/bash/exports/author-export-1.export
lib/%%DISTNAME%%/english/bash/exports/author-export-2.export
lib/%%DISTNAME%%/english/bash/exports/contents
lib/%%DISTNAME%%/english/bash/fileDir.template
lib/%%DISTNAME%%/english/bash/generatedHelp.english
lib/%%DISTNAME%%/english/bash/help.html
lib/%%DISTNAME%%/english/bash/info
lib/%%DISTNAME%%/english/bash/job.template
lib/%%DISTNAME%%/english/bash/logo1.gif
lib/%%DISTNAME%%/english/bash/logo8.gif
lib/%%DISTNAME%%/english/bash/mail.template
lib/%%DISTNAME%%/english/bash/main.template
lib/%%DISTNAME%%/english/bash/path.template
lib/%%DISTNAME%%/english/bash/promptWidget.template
lib/%%DISTNAME%%/english/bash/prompting.template
lib/%%DISTNAME%%/english/bash/save-files/author-export-1.save
lib/%%DISTNAME%%/english/bash/save-files/author-export-2.save
lib/%%DISTNAME%%/english/bash/sysLimits.template
lib/%%DISTNAME%%/english/bash/ttyApp.template
lib/%%DISTNAME%%/english/bash/version
lib/%%DISTNAME%%/english/bash/version.template
lib/%%DISTNAME%%/english/elm/README
lib/%%DISTNAME%%/english/elm/aliasmenu.template
lib/%%DISTNAME%%/english/elm/behavior.template
lib/%%DISTNAME%%/english/elm/bytecompile
lib/%%DISTNAME%%/english/elm/editingheaders.template
lib/%%DISTNAME%%/english/elm/editor.template
lib/%%DISTNAME%%/english/elm/elm-parser.tcl
lib/%%DISTNAME%%/english/elm/foldercommunication.template
lib/%%DISTNAME%%/english/elm/folderdecision.template
lib/%%DISTNAME%%/english/elm/generel.template
lib/%%DISTNAME%%/english/elm/info
lib/%%DISTNAME%%/english/elm/layout.template
lib/%%DISTNAME%%/english/elm/main.template
lib/%%DISTNAME%%/english/elm/navigation.template
lib/%%DISTNAME%%/english/elm/optionmenu.template
lib/%%DISTNAME%%/english/elm/quoting.template
lib/%%DISTNAME%%/english/elm/signature.template
lib/%%DISTNAME%%/english/elm/textencoding.template
lib/%%DISTNAME%%/english/elm/version
lib/%%DISTNAME%%/english/elm/version.template
lib/%%DISTNAME%%/english/elm/viewer.template
lib/%%DISTNAME%%/english/elm/viewingcharset.template
lib/%%DISTNAME%%/english/elm/viewingheaders.template
lib/%%DISTNAME%%/english/fvwm1/README
lib/%%DISTNAME%%/english/fvwm1/colors.template
lib/%%DISTNAME%%/english/fvwm1/exports/contents
lib/%%DISTNAME%%/english/fvwm1/exports/system.export
lib/%%DISTNAME%%/english/fvwm1/fonts.template
lib/%%DISTNAME%%/english/fvwm1/info
lib/%%DISTNAME%%/english/fvwm1/main.template
lib/%%DISTNAME%%/english/fvwm1/menus.template
lib/%%DISTNAME%%/english/fvwm1/modes.template
lib/%%DISTNAME%%/english/fvwm1/paths.template
lib/%%DISTNAME%%/english/fvwm1/ressources.template
lib/%%DISTNAME%%/english/fvwm1/save-files/system.save
lib/%%DISTNAME%%/english/fvwm1/tools.tcl
lib/%%DISTNAME%%/english/fvwm1/version
lib/%%DISTNAME%%/english/fvwm2/FvwmAudio.template
lib/%%DISTNAME%%/english/fvwm2/FvwmAuto.template
lib/%%DISTNAME%%/english/fvwm2/FvwmBacker.template
lib/%%DISTNAME%%/english/fvwm2/FvwmBanner.template
lib/%%DISTNAME%%/english/fvwm2/FvwmButtons.template
lib/%%DISTNAME%%/english/fvwm2/FvwmIconBox.template
lib/%%DISTNAME%%/english/fvwm2/FvwmIconMan.template
lib/%%DISTNAME%%/english/fvwm2/FvwmIdent.template
lib/%%DISTNAME%%/english/fvwm2/FvwmPager.template
lib/%%DISTNAME%%/english/fvwm2/FvwmScroll.template
lib/%%DISTNAME%%/english/fvwm2/FvwmTalk.template
lib/%%DISTNAME%%/english/fvwm2/FvwmWinList.template
lib/%%DISTNAME%%/english/fvwm2/README
lib/%%DISTNAME%%/english/fvwm2/buttons.template
lib/%%DISTNAME%%/english/fvwm2/colorsfonts.template
lib/%%DISTNAME%%/english/fvwm2/decor.template
lib/%%DISTNAME%%/english/fvwm2/exports/contents
lib/%%DISTNAME%%/english/fvwm2/exports/distrib.export
lib/%%DISTNAME%%/english/fvwm2/exports/imada.export
lib/%%DISTNAME%%/english/fvwm2/font.tcl
lib/%%DISTNAME%%/english/fvwm2/functions.template
lib/%%DISTNAME%%/english/fvwm2/fvwm2parser.tcl
lib/%%DISTNAME%%/english/fvwm2/fvwmrc_convert
lib/%%DISTNAME%%/english/fvwm2/fvwmrc_convert.in
lib/%%DISTNAME%%/english/fvwm2/fvwmrc_convert.in.44
lib/%%DISTNAME%%/english/fvwm2/generatedHelp.english
lib/%%DISTNAME%%/english/fvwm2/help.html
lib/%%DISTNAME%%/english/fvwm2/info
lib/%%DISTNAME%%/english/fvwm2/keys.template
lib/%%DISTNAME%%/english/fvwm2/main.template
lib/%%DISTNAME%%/english/fvwm2/menus.template
lib/%%DISTNAME%%/english/fvwm2/miscellaneous.template
lib/%%DISTNAME%%/english/fvwm2/mouse.template
lib/%%DISTNAME%%/english/fvwm2/patch
lib/%%DISTNAME%%/english/fvwm2/paths.template
lib/%%DISTNAME%%/english/fvwm2/save-files/distrib.save
lib/%%DISTNAME%%/english/fvwm2/save-files/imada.save
lib/%%DISTNAME%%/english/fvwm2/style.template
lib/%%DISTNAME%%/english/fvwm2/tools.tcl
lib/%%DISTNAME%%/english/fvwm2/version
lib/%%DISTNAME%%/english/fvwm2/virtual.template
lib/%%DISTNAME%%/english/ipfwadm/allowhost.template
lib/%%DISTNAME%%/english/ipfwadm/allowlocalfirewall.template
lib/%%DISTNAME%%/english/ipfwadm/allowlocalhost.template
lib/%%DISTNAME%%/english/ipfwadm/allowptp.template
lib/%%DISTNAME%%/english/ipfwadm/allowserviceglobal.template
lib/%%DISTNAME%%/english/ipfwadm/defaultinetpolicy.template
lib/%%DISTNAME%%/english/ipfwadm/denyhost.template
lib/%%DISTNAME%%/english/ipfwadm/denylocalhost.template
lib/%%DISTNAME%%/english/ipfwadm/denyptp.template
lib/%%DISTNAME%%/english/ipfwadm/denyserviceglobal.template
lib/%%DISTNAME%%/english/ipfwadm/general.template
lib/%%DISTNAME%%/english/ipfwadm/info
lib/%%DISTNAME%%/english/ipfwadm/iputil.tcl
lib/%%DISTNAME%%/english/ipfwadm/isp.template
lib/%%DISTNAME%%/english/ipfwadm/main.template
lib/%%DISTNAME%%/english/ipfwadm/masq.template
lib/%%DISTNAME%%/english/ipfwadm/md5sums.asc
lib/%%DISTNAME%%/english/ipfwadm/version
lib/%%DISTNAME%%/english/procmail/ChangeLog
lib/%%DISTNAME%%/english/procmail/Makefile
lib/%%DISTNAME%%/english/procmail/TDG-advertisment
lib/%%DISTNAME%%/english/procmail/TODO
lib/%%DISTNAME%%/english/procmail/backup.template
lib/%%DISTNAME%%/english/procmail/bytecompile
lib/%%DISTNAME%%/english/procmail/config.log
lib/%%DISTNAME%%/english/procmail/config.status
lib/%%DISTNAME%%/english/procmail/configure
lib/%%DISTNAME%%/english/procmail/configure.in
lib/%%DISTNAME%%/english/procmail/exports/contents
lib/%%DISTNAME%%/english/procmail/exports/examples.export
lib/%%DISTNAME%%/english/procmail/exports/filter.export
lib/%%DISTNAME%%/english/procmail/files.template
lib/%%DISTNAME%%/english/procmail/filter
lib/%%DISTNAME%%/english/procmail/filter.in
lib/%%DISTNAME%%/english/procmail/general.template
lib/%%DISTNAME%%/english/procmail/generatedHelp.english
lib/%%DISTNAME%%/english/procmail/help.html
lib/%%DISTNAME%%/english/procmail/info
lib/%%DISTNAME%%/english/procmail/logcheck
lib/%%DISTNAME%%/english/procmail/logcheck.in
lib/%%DISTNAME%%/english/procmail/main.template
lib/%%DISTNAME%%/english/procmail/mkdirhier
lib/%%DISTNAME%%/english/procmail/mkdirhier.in
lib/%%DISTNAME%%/english/procmail/recipes-save.template
lib/%%DISTNAME%%/english/procmail/recipes.template
lib/%%DISTNAME%%/english/procmail/save-files/examples.save
lib/%%DISTNAME%%/english/procmail/save-files/filter.save
lib/%%DISTNAME%%/english/procmail/system.tcl
lib/%%DISTNAME%%/english/procmail/system.tcl.in
lib/%%DISTNAME%%/english/procmail/util.tcl
lib/%%DISTNAME%%/english/procmail/version
lib/%%DISTNAME%%/english/rtin/bytecompile
lib/%%DISTNAME%%/english/rtin/exports/contents
lib/%%DISTNAME%%/english/rtin/exports/rtin.export
lib/%%DISTNAME%%/english/rtin/generatedHelp.english
lib/%%DISTNAME%%/english/rtin/help.html
lib/%%DISTNAME%%/english/rtin/info
lib/%%DISTNAME%%/english/rtin/main.template
lib/%%DISTNAME%%/english/rtin/rtin-mod.template
lib/%%DISTNAME%%/english/rtin/rtinparser.tcl
lib/%%DISTNAME%%/english/rtin/save-files/rtin.save
lib/%%DISTNAME%%/english/rtin/version
lib/%%DISTNAME%%/english/tcsh/TCSH.NOTE
lib/%%DISTNAME%%/english/tcsh/addset.template
lib/%%DISTNAME%%/english/tcsh/alias.template
lib/%%DISTNAME%%/english/tcsh/bindings.template
lib/%%DISTNAME%%/english/tcsh/bytecompile
lib/%%DISTNAME%%/english/tcsh/completion_misc.template
lib/%%DISTNAME%%/english/tcsh/completion_user.template
lib/%%DISTNAME%%/english/tcsh/dirs.template
lib/%%DISTNAME%%/english/tcsh/editor.template
lib/%%DISTNAME%%/english/tcsh/exports/complete.export
lib/%%DISTNAME%%/english/tcsh/exports/contents
lib/%%DISTNAME%%/english/tcsh/exports/standard.export
lib/%%DISTNAME%%/english/tcsh/files.template
lib/%%DISTNAME%%/english/tcsh/generatedHelp.english
lib/%%DISTNAME%%/english/tcsh/help.html
lib/%%DISTNAME%%/english/tcsh/history.template
lib/%%DISTNAME%%/english/tcsh/info
lib/%%DISTNAME%%/english/tcsh/jobs.template
lib/%%DISTNAME%%/english/tcsh/limit.template
lib/%%DISTNAME%%/english/tcsh/logout.template
lib/%%DISTNAME%%/english/tcsh/main.template
lib/%%DISTNAME%%/english/tcsh/misc.template
lib/%%DISTNAME%%/english/tcsh/path.template
lib/%%DISTNAME%%/english/tcsh/prompt.template
lib/%%DISTNAME%%/english/tcsh/promptWidget.template
lib/%%DISTNAME%%/english/tcsh/save-files/complete.save
lib/%%DISTNAME%%/english/tcsh/save-files/standard.save
lib/%%DISTNAME%%/english/tcsh/time.template
lib/%%DISTNAME%%/english/tcsh/util.tcl
lib/%%DISTNAME%%/english/tcsh/version
lib/%%DISTNAME%%/english/tcsh/watch.template
lib/%%DISTNAME%%/japanese/canna/bytecompile
lib/%%DISTNAME%%/japanese/canna/dic.template
lib/%%DISTNAME%%/japanese/canna/generatedHelp.japanese
lib/%%DISTNAME%%/japanese/canna/help.html
lib/%%DISTNAME%%/japanese/canna/info
lib/%%DISTNAME%%/japanese/canna/key.template
lib/%%DISTNAME%%/japanese/canna/main.template
lib/%%DISTNAME%%/japanese/canna/main.template.in
lib/%%DISTNAME%%/japanese/canna/menu.template
lib/%%DISTNAME%%/japanese/canna/mode.template
lib/%%DISTNAME%%/japanese/canna/symbol.template
lib/%%DISTNAME%%/japanese/canna/tab.template
lib/%%DISTNAME%%/japanese/canna/version
lib/%%DISTNAME%%/japanese/fvwm1/CAUTION.for.japanese
lib/%%DISTNAME%%/japanese/fvwm1/README
lib/%%DISTNAME%%/japanese/fvwm1/TRANSLATOR
lib/%%DISTNAME%%/japanese/fvwm1/about.Japanese.template
lib/%%DISTNAME%%/japanese/fvwm1/colors.template
lib/%%DISTNAME%%/japanese/fvwm1/exports/contents
lib/%%DISTNAME%%/japanese/fvwm1/exports/system.export
lib/%%DISTNAME%%/japanese/fvwm1/fonts.template
lib/%%DISTNAME%%/japanese/fvwm1/generatedHelp.japanese
lib/%%DISTNAME%%/japanese/fvwm1/help.html
lib/%%DISTNAME%%/japanese/fvwm1/info
lib/%%DISTNAME%%/japanese/fvwm1/main.template
lib/%%DISTNAME%%/japanese/fvwm1/main.template.in
lib/%%DISTNAME%%/japanese/fvwm1/menus.template
lib/%%DISTNAME%%/japanese/fvwm1/modes.template
lib/%%DISTNAME%%/japanese/fvwm1/paths.template
lib/%%DISTNAME%%/japanese/fvwm1/ressources.template
lib/%%DISTNAME%%/japanese/fvwm1/save-files/system.save
lib/%%DISTNAME%%/japanese/fvwm1/tools.tcl
lib/%%DISTNAME%%/japanese/fvwm1/trace
lib/%%DISTNAME%%/japanese/fvwm1/version
lib/%%DISTNAME%%/japanese/fvwm2/CAUTION.for.japanese
lib/%%DISTNAME%%/japanese/fvwm2/FvwmAudio.template
lib/%%DISTNAME%%/japanese/fvwm2/FvwmAuto.template
lib/%%DISTNAME%%/japanese/fvwm2/FvwmBacker.template
lib/%%DISTNAME%%/japanese/fvwm2/FvwmBanner.template
lib/%%DISTNAME%%/japanese/fvwm2/FvwmButtons.template
lib/%%DISTNAME%%/japanese/fvwm2/FvwmIconBox.template
lib/%%DISTNAME%%/japanese/fvwm2/FvwmIconMan.template
lib/%%DISTNAME%%/japanese/fvwm2/FvwmIdent.template
lib/%%DISTNAME%%/japanese/fvwm2/FvwmPager.template
lib/%%DISTNAME%%/japanese/fvwm2/FvwmScroll.template
lib/%%DISTNAME%%/japanese/fvwm2/FvwmTalk.template
lib/%%DISTNAME%%/japanese/fvwm2/FvwmWinList.template
lib/%%DISTNAME%%/japanese/fvwm2/README
lib/%%DISTNAME%%/japanese/fvwm2/TODO.japanese
lib/%%DISTNAME%%/japanese/fvwm2/TRANSLATER
lib/%%DISTNAME%%/japanese/fvwm2/TRANSLATOR
lib/%%DISTNAME%%/japanese/fvwm2/about.Japanese.template
lib/%%DISTNAME%%/japanese/fvwm2/buttons.template
lib/%%DISTNAME%%/japanese/fvwm2/colorsfonts.template
lib/%%DISTNAME%%/japanese/fvwm2/decor.template
lib/%%DISTNAME%%/japanese/fvwm2/exports/contents
lib/%%DISTNAME%%/japanese/fvwm2/exports/distrib.export
lib/%%DISTNAME%%/japanese/fvwm2/exports/imada.export
lib/%%DISTNAME%%/japanese/fvwm2/font.tcl
lib/%%DISTNAME%%/japanese/fvwm2/functions.template
lib/%%DISTNAME%%/japanese/fvwm2/fvwm2parser.tcl
lib/%%DISTNAME%%/japanese/fvwm2/fvwmrc_convert
lib/%%DISTNAME%%/japanese/fvwm2/fvwmrc_convert.in
lib/%%DISTNAME%%/japanese/fvwm2/fvwmrc_convert.in.44
lib/%%DISTNAME%%/japanese/fvwm2/generatedHelp.japanese
lib/%%DISTNAME%%/japanese/fvwm2/help.html
lib/%%DISTNAME%%/japanese/fvwm2/info
lib/%%DISTNAME%%/japanese/fvwm2/keys.template
lib/%%DISTNAME%%/japanese/fvwm2/main.template
lib/%%DISTNAME%%/japanese/fvwm2/menus.template
lib/%%DISTNAME%%/japanese/fvwm2/miscellaneous.template
lib/%%DISTNAME%%/japanese/fvwm2/mouse.template
lib/%%DISTNAME%%/japanese/fvwm2/patch
lib/%%DISTNAME%%/japanese/fvwm2/paths.template
lib/%%DISTNAME%%/japanese/fvwm2/save-files/distrib.save
lib/%%DISTNAME%%/japanese/fvwm2/save-files/imada.save
lib/%%DISTNAME%%/japanese/fvwm2/style.template
lib/%%DISTNAME%%/japanese/fvwm2/tools.tcl
lib/%%DISTNAME%%/japanese/fvwm2/version
lib/%%DISTNAME%%/japanese/fvwm2/virtual.template
%%PORTDOCS%%%%DOCSDIR%%/dotfile/config_page.jpg
%%PORTDOCS%%%%DOCSDIR%%/dotfile/extentry1.jpg
%%PORTDOCS%%%%DOCSDIR%%/dotfile/extentry2.jpg
%%PORTDOCS%%%%DOCSDIR%%/dotfile/index.html
%%PORTDOCS%%%%DOCSDIR%%/dotfile/job_control.gif
%%PORTDOCS%%%%DOCSDIR%%/dotfile/logo.gif
%%PORTDOCS%%%%DOCSDIR%%/dotfile/menu_window.jpg
%%PORTDOCS%%%%DOCSDIR%%/dotfile/prompt.jpg
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/procmail/backup.jpg
%%PORTDOCS%%%%DOCSDIR%%/procmail/general.jpg
%%PORTDOCS%%%%DOCSDIR%%/procmail/gray-g3.gif
%%PORTDOCS%%%%DOCSDIR%%/procmail/header.jpg
%%PORTDOCS%%%%DOCSDIR%%/procmail/index.html
%%PORTDOCS%%%%DOCSDIR%%/procmail/main.jpg
%%PORTDOCS%%%%DOCSDIR%%/procmail/recipes-with-numbers.jpg
%%PORTDOCS%%%%DOCSDIR%%/procmail/recipes.jpg
%%PORTDOCS%%%%DOCSDIR%%/tcsh/index.html
%%PORTDOCS%%%%DOCSDIR%%/tcsh/lil2cent.gif
%%PORTDOCS%%%%DOCSDIR%%/tcsh/pattern.gif
%%PORTDOCS%%%%DOCSDIR%%/tcsh/pattern2.gif
%%PORTDOCS%%%%DOCSDIR%%/tcsh/posdef.gif
%%PORTDOCS%%%%DOCSDIR%%/tcsh/prompt.gif
%%PORTDOCS%%%%DOCSDIR%%/tcsh/time.gif
%%PORTDOCS%%%%DOCSDIR%%/tcsh/userdef.gif
%%PORTDOCS%%@dirrm %%DOCSDIR%%/tcsh
%%PORTDOCS%%@dirrm %%DOCSDIR%%/procmail
%%PORTDOCS%%@dirrm %%DOCSDIR%%/dotfile
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/%%DISTNAME%%/japanese/fvwm2/save-files
@dirrm lib/%%DISTNAME%%/japanese/fvwm2/exports
@dirrm lib/%%DISTNAME%%/japanese/fvwm2
@dirrm lib/%%DISTNAME%%/japanese/fvwm1/save-files
@dirrm lib/%%DISTNAME%%/japanese/fvwm1/exports
@dirrm lib/%%DISTNAME%%/japanese/fvwm1
@dirrm lib/%%DISTNAME%%/japanese/canna
@dirrm lib/%%DISTNAME%%/japanese
@dirrm lib/%%DISTNAME%%/english/tcsh/save-files
@dirrm lib/%%DISTNAME%%/english/tcsh/exports
@dirrm lib/%%DISTNAME%%/english/tcsh
@dirrm lib/%%DISTNAME%%/english/rtin/save-files
@dirrm lib/%%DISTNAME%%/english/rtin/exports
@dirrm lib/%%DISTNAME%%/english/rtin
@dirrm lib/%%DISTNAME%%/english/procmail/save-files
@dirrm lib/%%DISTNAME%%/english/procmail/exports
@dirrm lib/%%DISTNAME%%/english/procmail
@dirrm lib/%%DISTNAME%%/english/ipfwadm
@dirrm lib/%%DISTNAME%%/english/fvwm2/save-files
@dirrm lib/%%DISTNAME%%/english/fvwm2/exports
@dirrm lib/%%DISTNAME%%/english/fvwm2
@dirrm lib/%%DISTNAME%%/english/fvwm1/save-files
@dirrm lib/%%DISTNAME%%/english/fvwm1/exports
@dirrm lib/%%DISTNAME%%/english/fvwm1
@dirrm lib/%%DISTNAME%%/english/elm
@dirrm lib/%%DISTNAME%%/english/bash/save-files
@dirrm lib/%%DISTNAME%%/english/bash/exports
@dirrm lib/%%DISTNAME%%/english/bash
@dirrm lib/%%DISTNAME%%/english
@dirrm lib/%%DISTNAME%%/Generator/bitmaps
@dirrm lib/%%DISTNAME%%/Generator
@dirrm lib/%%DISTNAME%%

View file

@ -1,93 +0,0 @@
# Created by: Xavier Beaudouin <kiwi@oav.net>
# $FreeBSD$
PORTNAME= libhome
PORTVERSION= 0.10.2
PORTREVISION= 4
CATEGORIES= misc
MASTER_SITES= ftp://ftp.oav.net/pll/ SF/pll/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library providing a getpwname() emulation
OPTIONS_DEFINE= LDAP MYSQL BDB PAM PGSQL
OPTIONS_DEFAULT= LDAP MYSQL BDB
LDAP_DESC= Support for LDAP queries
MYSQL_DESC= Support for MySQL queries
BDB_DESC= Support for Berkeley DB
PAM_DESC= Support for PAM (Experimental)
PGSQL_DESC= Support for PostgreSQL (Experimental)
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if defined(LIBHOME_WITH_BDB_VER)
WITH_BDB_VER= ${LIBHOME_WITH_BDB_VER}
.endif
CONFIGURE_ARGS+= --with-proxy --with-nss
.if ${PORT_OPTIONS:MLDAP}
USE_OPENLDAP= yes
CONFIGURE_ARGS+= --with-ldap=${LOCALBASE}/include
.else
CONFIGURE_ARGS+= --without-ldap
.endif
.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}/include/mysql
.else
CONFIGURE_ARGS+= --without-mysql
.endif
.if defined(WITH_MDB3) || defined(WITH_DB4)
WITH_BDB= yes
OBSOLETE_BDB_VAR= WITH_DB3 WITH_DB4
IGNORE= Use 'make config' to select Berkeley DB.
.endif
.if ${PORT_OPTIONS:MBDB}
USE_BDB= yes
INVALID_BDB_VER= 2
. if defined(WITH_BDB_VER) && ${WITH_BDB_VER} == 3
CONFIGURE_ARGS+= --with-db3=${BDB_INCLUDE_DIR} --without-db4
. else
CONFIGURE_ARGS+= --without-db3 --with-db4=${BDB_INCLUDE_DIR}
. endif
CONFIGURE_ARGS+= --with-db-libdir=${BDB_LIB_DIR}
.else
CONFIGURE_ARGS+= --without-db3 --without-db4
.endif
.if ${PORT_OPTIONS:MPAM}
CONFIGURE_ARGS+= --with-pam
.else
CONFIGURE_ARGS+= --without-pam
.endif
.if ${PORT_OPTIONS:MPGSQL}
CONFIGURE_ARGS+= --with-pgsql
USE_PGSQL= YES
.else
CONFIGURE_ARGS+= --without-pgsql
.endif
MAN5= home.conf.5
MAN8= home_proxy.8
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/ltconfig ${WRKSRC}/configure
.if ${PORT_OPTIONS:MBDB}
@${REINPLACE_CMD} -e 's;db-4.3 db-4.2;${BDB_LIB_NAME};g' \
${WRKSRC}/configure
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/home.conf ${PREFIX}/etc/home.conf.dist
${INSTALL_SCRIPT} ${WRKSRC}/rc/freebsd/home_proxy.sh ${PREFIX}/etc/rc.d/home_proxy.sh
.include <bsd.port.post.mk>

View file

@ -1,2 +0,0 @@
SHA256 (libhome-0.10.2.tar.gz) = a099e61e83c140d74e3515135881903f26358bc32ce97292c8a8c673e7c0de13
SIZE (libhome-0.10.2.tar.gz) = 286453

View file

@ -1,22 +0,0 @@
--- Makefile.in.orig 2009-05-21 13:55:18.000000000 +0200
+++ Makefile.in 2009-05-21 13:57:01.000000000 +0200
@@ -100,16 +100,16 @@
home_finger: home_finger.c libhome.la compat
- ${LINK} -o home_finger -Icompat home_finger.c libhome.la
+ ${LINK} -o home_finger -Icompat home_finger.c libhome.la -lcrypt
home_su: home_su.c libhome.la compat
- ${LINK} -o home_su -Icompat home_su.c libhome.la
+ ${LINK} -o home_su -Icompat home_su.c libhome.la -lcrypt
home_expire_cache: home_expire_cache.o libhome.a
${LINK} -o home_expire_cache home_expire_cache.o libhome.la
@DO_PROXY@home_proxy: home_proxy.c libhome.la
-@DO_PROXY@ ${LINK} -o home_proxy ${CPPFLAGS} -I. home_proxy.c libhome.la
+@DO_PROXY@ ${LINK} -o home_proxy ${CPPFLAGS} -I. home_proxy.c libhome.la -lcrypt
install:: install-man install-lib

View file

@ -1,9 +0,0 @@
bhome is a library providing a getpwnam() emulation.
It support MySQL (3.23), Open LDAP 2 or system /etc/passwd
frontend.
It's intended to replace getpwnam within a system daemons who needs
user authentification or identification when the users are listed on
foreign servers.
WWW: http://pll.sourceforge.net/

View file

@ -1,23 +0,0 @@
bin/home_finger
bin/home_su
bin/libhome.sh
sbin/home_proxy
etc/home.conf.dist
etc/rc.d/home_proxy.sh
include/home/home_version.h
include/home/hparam.h
include/home/hpwd.h
include/home/pwd.h
@dirrm include/home
lib/libhome.a
lib/libhome.la
lib/libhome.so
lib/libhome.so.1
lib/libhome-preload.a
lib/libhome-preload.la
lib/libhome-preload.so
lib/libhome-preload.so.1
lib/nss_home_proxy.a
lib/nss_home_proxy.la
lib/nss_home_proxy.so
lib/nss_home_proxy.so.1

View file

@ -1,31 +0,0 @@
# Created by: jmz
# $FreeBSD$
PORTNAME= mshell
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jmz
DISTFILES= 7432.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Unix menuing shell
NO_WRKSUBDIR= yes
MAN1= mshell.1
NO_STAGE= yes
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
zcat ${DISTDIR}/${DISTFILES} |(cd ${WRKDIR}; \
${AWK} '{if (/^#!/) x++} {if(x) print $$0'}| ${SH})
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 900000
BROKEN= does not build
.endif
.include <bsd.port.post.mk>

View file

@ -1,2 +0,0 @@
SHA256 (7432.Z) = fadf902b67bcc4ec117ba0e64557e43697b77a4544fd25426a74a546383a01c1
SIZE (7432.Z) = 26827

View file

@ -1,62 +0,0 @@
*** Makefile.orig Tue May 27 00:29:12 1997
--- Makefile Tue May 27 02:13:51 1997
***************
*** 8,21 ****
#
# Check mshell.h for other options, e.g., max menu sizes.
! CFLAGS = -O -DBSD -DMENUDIR='"/nyx/lib/menus"' -DLOGDIR='"/nyx/lib/logs"'
OBJS = mshell.o main.o string.o functions1.o functions2.o chdir.o mail.o \
settatr.o setenv.o xsystem.o dl.o macro.o
mshell: $(OBJS)
! cc $(CFLAGS) $(OBJS) -lcurses -ltermcap -o mshell
$(OBJS) : mshell.h
clean:
! rm *.o mshell
--- 8,50 ----
#
# Check mshell.h for other options, e.g., max menu sizes.
! CFLAGS = -O -DBSD -DMENUDIR=\"${PREFIX}/lib/menus\" -DMAILDIR='"/var/mail/"' \
! -DGLOBAL_MACRO_FILE=\"${PREFIX}/lib/menus/macros\" \
! -DCOMMAND_LIST=\"${PREFIX}/lib/menus/commands\"
OBJS = mshell.o main.o string.o functions1.o functions2.o chdir.o mail.o \
settatr.o setenv.o xsystem.o dl.o macro.o
+ all: mshell
+
mshell: $(OBJS)
! cc $(CFLAGS) $(OBJS) -lncurses -o mshell
$(OBJS) : mshell.h
clean:
! rm -f *.o mshell
!
! install: mshell
! mkdir -p ${PREFIX}/bin
! install -c -o bin mshell ${PREFIX}/bin
! mkdir -p ${PREFIX}/lib/menus
! sed -e s/dldir/HOME/g < sample.men > ${PREFIX}/lib/menus/sample.men
! install -c -m 644 menulogin ${PREFIX}/lib/menus
! mkdir -p ${PREFIX}/man/man1
! echo .Dd `/bin/date` > mshell.1
! echo .Dt MSHELL 1 >> mshell.1
! echo .Sh NAME >> mshell.1
! echo .Nm mshell >> mshell.1
! echo .Nd a Unix menuing shell >> mshell.1
! echo .Sh SYNOPSIS >> mshell.1
! echo .Nm mshell >> mshell.1
! echo .Op Fl s >> mshell.1
! echo .Ar menuname >> mshell.1
! echo .Sh DESCRIPTION >> mshell.1
! cat mshell.doc >>mshell.1
! echo >>mshell.1
! cat menu.doc >>mshell.1
! echo >>mshell.1
! echo .Sh AUTHOR >>mshell.1
! echo Andrew Burt, aburt@du.edu >>mshell.1
! install -m 644 mshell.1 ${PREFIX}/man/man1

View file

@ -1,37 +0,0 @@
--- settatr.c.orig Mon Mar 26 14:59:01 2007
+++ settatr.c Mon Mar 26 15:00:41 2007
@@ -4,7 +4,7 @@
set_terminal_attributes()
{
-#ifdef BSD
+#if 0
struct sgttyb sg;
struct tchars tc;
struct ltchars lt;
@@ -33,20 +33,19 @@
lt.t_rprntc = '';
ioctl ( 0, TIOCSLTC, &lt );
#endif
-#ifdef SYSV
- struct termio t;
+#if 1
+ struct termios t;
- ioctl ( 0, TCGETA, &t );
+ tcgetattr(0, &t);
t.c_cc[VINTR] = '\003';
t.c_cc[VERASE] = '\b';
t.c_cc[VKILL] = '\025';
t.c_iflag = IGNBRK | IGNPAR | ICRNL | IXON ;
- t.c_oflag = OPOST | ONLCR ;
+ t.c_oflag = OPOST | ONLCR | OXTABS;
t.c_lflag = ISIG | ICANON | ECHO | ECHOE | ECHOK ;
- t.c_cflag |= TAB3;
- ioctl ( 0, TCSETA, &t );
+ tcsetattr(0, TCSANOW, &t);
#endif
}
set_resource_limits()

View file

@ -1,19 +0,0 @@
*** functions1.c.orig Sat Sep 24 00:51:45 1994
--- functions1.c Sat Sep 24 00:52:03 1994
***************
*** 15,21 ****
FILE * fp;
char record [DESCLEN];
if (( fp = fopen (filename, "r")) == NULL ) {
! printf ("\tNo such helpfile as %s\!\!\n", filename);
return;
}
--- 15,21 ----
FILE * fp;
char record [DESCLEN];
if (( fp = fopen (filename, "r")) == NULL ) {
! printf ("\tNo such helpfile as %s!!\n", filename);
return;
}

View file

@ -1,76 +0,0 @@
--- mshell.c.orig Sun Oct 20 16:13:17 2002
+++ mshell.c Sun Oct 20 16:13:45 2002
@@ -1,5 +1,6 @@
#include "mshell.h"
#include <setjmp.h>
+#include <stdlib.h>
char * index ();
@@ -26,8 +27,7 @@
exec_string [DESCLEN],
*args [MAXARGS],
*menu_array [LINES],
- tmpword [WORDLEN],
- *malloc();
+ tmpword [WORDLEN];
int i,
idx,
@@ -35,8 +35,7 @@
firsttime = TRUE,
dontdisplay = FALSE,
unix_flag,
- menu_flag,
- exit();
+ menu_flag;
static jmp_buf topenv;
static int topenvset;
@@ -49,7 +48,7 @@
signal (SIGPIPE, SIG_IGN); /* ignore dead pipes */
log("enter", m);
- while TRUE {
+ while (TRUE) {
if (!topenvset) {
topenvset = TRUE;
@@ -142,7 +141,7 @@
if ( strcmp (action_string, NULLSTR) == 0 ) {
invalid_option = TRUE;
- printf ("\tNo such help option name as: %s\!\!\n", opt2);
+ printf ("\tNo such help option name as: %s!!\n", opt2);
}
else {
tmpword[0] = EOS;
--- mshell.c~ Tue Aug 19 16:42:36 2003
+++ mshell.c Tue Aug 19 16:47:53 2003
@@ -46,7 +46,7 @@
signal (SIGQUIT, SIG_IGN); /* ignore all ^\ interrupts */
signal (SIGTSTP, SIG_IGN); /* ignore all ^Z interrupts */
signal (SIGPIPE, SIG_IGN); /* ignore dead pipes */
- log("enter", m);
+ Log("enter", m);
while (TRUE) {
@@ -85,7 +85,7 @@
printf ("\tSelect choice [or help, x, top, bye]: ");
opt[0] = 0;
read_input_line (opt);
- log(" ", opt);
+ Log(" ", opt);
invalid_option = FALSE;
putchar('\n');
@@ -170,7 +170,7 @@
for (i = 0; i < LINES; i++)
if (menu_array[i])
free(menu_array[i]);
- log("exit", m);
+ Log("exit", m);
return;
}
else if (strcmp(opt, "T") == 0 || strcmp(opt, "top") == 0) {

View file

@ -1,30 +0,0 @@
--- string.c~ Tue Aug 17 03:06:07 2004
+++ string.c Tue Aug 17 03:06:28 2004
@@ -4,6 +4,19 @@
#define strchr index
#endif
+char * strsave(char *);
+
+char *
+gets (char *s)
+{
+ char *x = fgets (s, WORDLEN, stdin);
+ if (x) {
+ char *p = strchr (x, '\n');
+ if (p)
+ *p = 0;
+ }
+ return x;
+}
/* function to find the position of sub_string in main_string
* ---------------------------------------------------------- */
@@ -260,7 +273,6 @@
/* if it has a multi-command delim, save rest for next time */
#define MULTI_CMD_DELIM ','
if (p = index(string, MULTI_CMD_DELIM)) {
- char *strsave();
struct inp_link *l;
*p++ = EOS;
if ((l=getnode(sizeof(*l))) && (l->input=strsave(p)))

View file

@ -1,13 +0,0 @@
--- mshell.h.orig Sun Oct 20 16:15:25 2002
+++ mshell.h Sun Oct 20 16:14:30 2002
@@ -5,8 +5,8 @@
#include <sys/types.h>
#include <sys/stat.h>
#ifdef BSD
-#include <sys/dir.h> /* accessing the directory structure */
-#include <sgtty.h> /* struct for terminal attributes */
+#include <dirent.h> /* accessing the directory structure */
+#include <termios.h> /* struct for terminal attributes */
#endif
#ifdef SYSV
#define index strchr

View file

@ -1,11 +0,0 @@
--- main.c~ Tue Aug 19 16:42:36 2003
+++ main.c Tue Aug 19 16:46:48 2003
@@ -98,7 +98,7 @@
chmod(fn, 0600);
}
-log(s1, s2)
+Log(s1, s2)
char *s1, *s2;
{
if (logfp)

View file

@ -1,9 +0,0 @@
Mshell was written to shield users (and other non-Unix gurus, like
mathematicians and secretaries in the department) from "raw" Unix. It
is as flexible as you can get (supports full shell capabilities like
pipes, etc. inside the menu commands) but simple to write menus for.
It is was developed for Nyx, a free, public access Unix system.
Indeed, you're welcome to try Nyx -- log into Nyx as:
- telnet to nyx.nyx.net (206.124.29.1), user 'new'.
- call 303-381-9840

View file

@ -1,4 +0,0 @@
bin/mshell
lib/menus/menulogin
lib/menus/sample.men
@dirrm lib/menus

Some files were not shown because too many files have changed in this diff Show more