Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1 @@
List/set the BIOS VESA resolution for 855/865/915 Intel graphics chips.

View File

@@ -0,0 +1,30 @@
# $NetBSD: Makefile,v 1.10 2012/10/23 19:50:50 asau Exp $
#
DISTNAME= 855resolution-0.4
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://perso.orange.fr/apoirier/
COMMENT= BIOS VESA resolution utility for 855/865/915 Intel chips
ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-x86_64 Linux-*-i386
WRKSRC= ${WRKDIR}/855resolution
USE_TOOLS+= gmake
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
MAKE_ENV+= EXTRA_LIBS=-l${MACHINE_ARCH}
.endif
INSTALLATION_DIRS= sbin share/doc/855resolution
post-install:
${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/855resolution
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.4 2009/06/14 18:16:00 joerg Exp $
sbin/855resolution
share/doc/855resolution/README.txt

View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.5 2008/08/25 14:46:29 joerg Exp $
SHA1 (855resolution-0.4.tgz) = aabba504d0592cac676188f1ce73bd25389d8fda
RMD160 (855resolution-0.4.tgz) = d075d239257b778f509c8fd96619bfd810194d3b
Size (855resolution-0.4.tgz) = 6740 bytes
SHA1 (patch-aa) = 130589b5a08f13fa1186e6b3ed95203f69e5b6f0
SHA1 (patch-ab) = 0b7dfd0889d5070d21c8a7ce64cfd2ebaecb5435
SHA1 (patch-ac) = 189eb0b045caeb0389b5d8dfc099d76b9692ef5b
SHA1 (patch-ad) = f81a001140a0439502fcc274974829bc145e0f76

View File

@@ -0,0 +1,51 @@
$NetBSD: patch-aa,v 1.4 2008/08/25 14:46:29 joerg Exp $
--- 855resolution.c 2005-05-08 15:46:02.000000000 -0400
+++ 855resolution.c 2005-10-11 17:24:05.000000000 -0400
@@ -15,7 +15,6 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <sys/io.h>
#include "vbios.h"
#include "plugin.h"
@@ -169,7 +168,7 @@
modes = find_modes(&plugin);
if(plugin == NULL)
{
- fprintf(stderr, "Unknow VBIOS structure\n");
+ fprintf(stderr, "Unknown VBIOS structure\n");
close_bios();
return 2;
}
--- plugins/plugin1.c 2005-05-08 15:56:35.000000000 -0400
+++ plugins/plugin1.c 2005-10-11 17:22:30.000000000 -0400
@@ -12,7 +12,6 @@
*/
#include <stdio.h>
-#include <sys/io.h>
#include "../plugin.h"
--- plugins/plugin2.c 2005-05-08 15:55:57.000000000 -0400
+++ plugins/plugin2.c 2005-10-11 17:22:34.000000000 -0400
@@ -14,7 +14,6 @@
/* VBIOS as found on the Dell 510m */
#include <stdio.h>
-#include <sys/io.h>
#include "../plugin.h"
--- plugins/plugin3.c 2005-05-08 15:55:55.000000000 -0400
+++ plugins/plugin3.c 2005-10-11 17:22:38.000000000 -0400
@@ -12,7 +12,6 @@
*/
#include <stdio.h>
-#include <sys/io.h>
#include "../plugin.h"

View File

@@ -0,0 +1,31 @@
$NetBSD: patch-ab,v 1.3 2008/08/25 14:46:29 joerg Exp $
--- Makefile.orig 2005-05-08 11:27:59.000000000 -0400
+++ Makefile 2005-10-11 18:12:19.000000000 -0400
@@ -3,14 +3,15 @@
# Uncomment this line if you want to test with a VBIOS image file
# VBIOS_FILE:=-DVBIOS_FILE='"../dump/vbios-865.dmp"'
+PREFIX?=/usr
PLUGINS_SRCS:=${shell ls plugins/*.c}
SRCS=855resolution.c vbios.c plugin.c ${PLUGINS_SRCS}
OBJS=${SRCS:.c=.o}
-PLUGINS_LIST:=${shell cd plugins;ls -x *.c | sed -e 's/.c//g' -e 's/ */,/g' }
+PLUGINS_LIST:=${shell cd plugins;ls -x *.c | sed -e 's/.c/,/g' -e 's/,[ ]*$$//g' }
PLUGINS_ADDR:=${shell echo ${PLUGINS_LIST} | sed -e 's/^/\&/g' -e 's/,/,\&/g' }
VERSION:=${shell cat VERSION.txt}
-LDLIBS:=-lm
+LDLIBS:=-lm ${EXTRA_LIBS}
CFLAGS:=-Wall -I`pwd` -DVERSION='"${VERSION}"' -DPLUGINS='${PLUGINS_LIST}' -DREF_PLUGINS='${PLUGINS_ADDR}' ${VBIOS_FILE}
LDFLAGS:=-s
@@ -23,7 +24,7 @@
rm -f ${OBJS} ${PRG} *~ plugins/*~
install: ${PRG}
- cp ${PRG} /usr/sbin
+ ${BSD_INSTALL_PROGRAM} ${PRG} ${DESTDIR}${PREFIX}/sbin
distrib: clean
tar -C .. -zcvf /tmp/${PRG}-`cat VERSION.txt`.tgz --exclude '.*' ${PRG}

View File

@@ -0,0 +1,25 @@
$NetBSD: patch-ac,v 1.1 2008/08/25 14:46:29 joerg Exp $
--- vbios.h.orig 2005-05-08 19:47:45.000000000 +0000
+++ vbios.h
@@ -16,6 +16,20 @@
#define VBIOS_SIZE 0x10000
+#include <sys/types.h>
+#ifdef __linux__
+#include <sys/io.h>
+#endif
+#ifdef __NetBSD__
+#include <machine/pio.h>
+#include <machine/sysarch.h>
+# if defined(__i386__)
+#define iopl(a) i386_iopl(a)
+# elif defined(__x86_64__)
+#define iopl(a) x86_64_iopl(a)
+# endif
+#endif
+
struct vbios_mode {
unsigned char mode;
unsigned char bits_per_pixel;

View File

@@ -0,0 +1,56 @@
$NetBSD: patch-ad,v 1.1 2008/08/25 14:46:29 joerg Exp $
--- vbios.c.orig 2005-05-08 19:47:08.000000000 +0000
+++ vbios.c
@@ -18,7 +18,6 @@
#include <string.h>
#include <sys/mman.h>
#include <fcntl.h>
-#include <sys/io.h>
#include "vbios.h"
@@ -34,6 +33,43 @@
#define VBIOS_OFFSET_IN_FILE 0
#endif
+static uint8_t
+asm_inb(unsigned port)
+{
+ uint8_t data;
+ __asm volatile("inb %w1,%0" : "=a" (data) : "d" (port));
+ return data;
+}
+
+static __inline void
+asm_outb(uint8_t data, unsigned port)
+{
+ __asm volatile("outb %0,%w1" : : "a" (data), "d" (port));
+}
+
+static uint32_t
+asm_inl(unsigned port)
+{
+ uint32_t data;
+ __asm volatile("inl %w1,%0" : "=a" (data) : "d" (port));
+ return data;
+}
+
+static __inline void
+asm_outl(uint32_t data, unsigned port)
+{
+ __asm volatile("outl %0,%w1" : : "a" (data), "d" (port));
+}
+
+#undef inb
+#undef outb
+#define inb asm_inb
+#define outb asm_outb
+#undef inl
+#undef outl
+#define inl asm_inl
+#define outl asm_outl
+
unsigned char *bios = 0;
static int biosfd = 0;

View File

@@ -0,0 +1,12 @@
915resolution is a tool to modify the video BIOS of the 800 and 900 series
Intel graphics chipsets. This includes the 845G, 855G, and 865G chipsets,
as well as 915G, 915GM, and 945G chipsets. This modification is neccessary
to allow the display of certain graphics resolutions for an Xorg or XFree86
graphics server.
915resolution's modifications of the BIOS are transient. There is no risk
of permanent modification of the BIOS. This also means that 915resolution
must be run every time the computer boots in order for it's changes to
take effect.
915resolution is derived from the tool 855resolution. However, the code
differs substantially. 915resolution's code base is much simpler.
915resolution also allows the modification of bits per pixel.

View File

@@ -0,0 +1,29 @@
# $NetBSD: Makefile,v 1.7 2012/10/23 19:50:50 asau Exp $
#
DISTNAME= 915resolution-0.5.3
CATEGORIES= sysutils
MASTER_SITES= ${HOMEPAGE:Q}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://915resolution.mango-lang.org/
COMMENT= BIOS VESA resolution utility for 8XX/9XX Intel chips
LICENSE= public-domain
ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-x86_64 Linux-*-i386
ONLY_FOR_PLATFORM+= FreeBSD-*-i386 FreeBSD-*-x86_64 DragonFly-*-i386
USE_TOOLS+= gmake
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
MAKE_ENV+= LDLIBS=-l${MACHINE_ARCH}
.endif
INSTALLATION_DIRS= sbin share/doc/915resolution
post-install:
${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/915resolution
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:16:00 joerg Exp $
sbin/915resolution
share/doc/915resolution/README.txt

View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.5 2010/06/20 11:06:03 wiz Exp $
SHA1 (915resolution-0.5.3.tar.gz) = 377a32d33f1987adf372341c8c6664d5673da9b8
RMD160 (915resolution-0.5.3.tar.gz) = a406c6810bbfcf94c5352ea1b1e9178af4078589
Size (915resolution-0.5.3.tar.gz) = 22583 bytes
SHA1 (patch-aa) = 63c4cb0a697e18c29129fd1fab6cde8844e69108
SHA1 (patch-ab) = 5e6a865e4f0707390bf0c602aed9f7fc3c2284b4

View File

@@ -0,0 +1,75 @@
$NetBSD: patch-aa,v 1.4 2010/06/20 11:06:03 wiz Exp $
--- 915resolution.c.orig 2007-04-15 10:46:56.000000000 +0000
+++ 915resolution.c
@@ -22,11 +22,57 @@
#include <string.h>
#include <sys/mman.h>
#include <fcntl.h>
+#ifdef __linux__
#include <sys/io.h>
+#endif
+#ifdef __NetBSD__
+#include <machine/pio.h>
+#include <machine/sysarch.h>
+# if defined(__i386__)
+#define iopl(a) i386_iopl(a)
+# elif defined(__x86_64__)
+#define iopl(a) x86_64_iopl(a)
+# endif
+#endif
#include <unistd.h>
#include <assert.h>
+static uint8_t
+asm_inb(unsigned port)
+{
+ uint8_t data;
+ __asm volatile("inb %w1,%0" : "=a" (data) : "d" (port));
+ return data;
+}
+
+static __inline void
+asm_outb(uint8_t data, unsigned port)
+{
+ __asm volatile("outb %0,%w1" : : "a" (data), "d" (port));
+}
+
+static uint32_t
+asm_inl(unsigned port)
+{
+ uint32_t data;
+ __asm volatile("inl %w1,%0" : "=a" (data) : "d" (port));
+ return data;
+}
+static __inline void
+asm_outl(uint32_t data, unsigned port)
+{
+ __asm volatile("outl %0,%w1" : : "a" (data), "d" (port));
+}
+
+#undef inb
+#undef outb
+#define inb asm_inb
+#define outb asm_outb
+#undef inl
+#undef outl
+#define inl asm_inl
+#define outl asm_outl
#define NEW(a) ((a *)(calloc(1, sizeof(a))))
#define FREE(a) (free(a))
@@ -165,7 +211,12 @@ typedef struct {
void initialize_system(char * filename) {
if (!filename) {
+#if !defined(__FreeBSD__) & !defined(__DragonFly__)
if (iopl(3) < 0) {
+#else
+ FILE *iof = fopen("/dev/io", "r");
+ if(iof == NULL) {
+#endif
perror("Unable to obtain the proper IO permissions");
exit(2);
}

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-ab,v 1.3 2008/08/25 15:11:47 joerg Exp $
--- Makefile.orig 2006-02-02 23:01:38.000000000 +0900
+++ Makefile
@@ -1,9 +1,10 @@
PRG=915resolution
+PREFIX?=/usr
SRCS=915resolution.c
OBJS=${SRCS:.c=.o}
-CFLAGS:=-s -Wall -ggdb
+all: ${PRG}
${PRG}: ${OBJS}
@@ -11,5 +12,5 @@ clean:
rm -f ${OBJS} ${PRG} *~
install: ${PRG}
- cp ${PRG} /usr/sbin
+ ${BSD_INSTALL_PROGRAM} ${PRG} ${DESTDIR}${PREFIX}/sbin

6
sysutils/9base/DESCR Normal file
View File

@@ -0,0 +1,6 @@
This is a port of various original plan9 tools to Unix based on
plan9ports [1], mk-with-libs.tgz [2] and wmii [3].
[1] http://www.swtch.com/plan9port/
[2] http://swtch.com/plan9port/unix/
[3] http://wmii.de/index.php/WMII/9base

57
sysutils/9base/Makefile Normal file
View File

@@ -0,0 +1,57 @@
# $NetBSD: Makefile,v 1.17 2012/10/23 19:50:50 asau Exp $
#
DISTNAME= 9base-6
PKGREVISION= 2
PKGNAME= 9base-20100604
CATEGORIES= sysutils shells
MASTER_SITES= http://dl.suckless.org/tools/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://tools.suckless.org/9base
COMMENT= Port of various original plan9 tools
#LICENSE= lucent-public-v1.02 AND mit
MAKE_JOBS_SAFE= no
CONFLICTS= rc-[0-9]*
PKG_SHELL= bin/rc
.include "../../mk/bsd.prefs.mk"
# Darwin doesn't support static link.
# See http://developer.apple.com/library/mac/#qa/qa1118/_index.html
.if ${OPSYS} == "Darwin"
BUILDLINK_TRANSFORM+= rm:-static
.else
LDFLAGS+= -static
.endif
#XXX see http://gnats.netbsd.org/43228
.if !empty(MACHINE_PLATFORM:MNetBSD-5.[0-8]*)
BUILDLINK_TRANSFORM+= rm:-static
.endif
PREFIX9P= ${PREFIX}/9base
MAKE_FLAGS+= PREFIX=${PREFIX9P} \
MANPREFIX=${PREFIX9P}/${PKGMANDIR}
SUBST_CLASSES+= shebang
SUBST_STAGE.shebang= pre-configure
SUBST_MESSAGE.shebang= Fixing shebang
SUBST_FILES.shebang= troff/tmac/sendcover
SUBST_FILES.shebang+= troff/font/devutf/mkMAP
SUBST_SED.shebang= -e 's,/bin/rc,${PREFIX9P}/bin/rc,'
INSTALLATION_DIRS= ${PREFIX9P}/share/examples/9base
MAKE_DIRS+= ${PREFIX9P}/etc
EGDIR= ${PREFIX9P}/share/examples/9base
CONF_FILES= ${EGDIR}/rcmain ${PREFIX9P}/etc/rcmain
post-extract:
${LN} -s getcallerpc-x86_64.c ${WRKSRC}/lib9/getcallerpc-amd64.c
.include "../../mk/bsd.pkg.mk"

291
sysutils/9base/PLIST Normal file
View File

@@ -0,0 +1,291 @@
@comment $NetBSD: PLIST,v 1.4 2012/10/01 21:19:44 cheusov Exp $
9base/bin/ascii
9base/bin/awk
9base/bin/basename
9base/bin/bc
9base/bin/cal
9base/bin/cat
9base/bin/cleanname
9base/bin/cmp
9base/bin/date
9base/bin/dc
9base/bin/dd
9base/bin/diff
9base/bin/du
9base/bin/echo
9base/bin/ed
9base/bin/factor
9base/bin/fmt
9base/bin/fortune
9base/bin/freq
9base/bin/getflags
9base/bin/grep
9base/bin/hoc
9base/bin/join
9base/bin/look
9base/bin/ls
9base/bin/mk
9base/bin/mkdir
9base/bin/mtime
9base/bin/pbd
9base/bin/primes
9base/bin/rc
9base/bin/read
9base/bin/sam
9base/bin/sed
9base/bin/seq
9base/bin/sha1sum
9base/bin/sleep
9base/bin/sort
9base/bin/split
9base/bin/strings
9base/bin/tail
9base/bin/tee
9base/bin/test
9base/bin/touch
9base/bin/tr
9base/bin/troff
9base/bin/unicode
9base/bin/uniq
9base/bin/unutf
9base/bin/yacc
9base/lib/troff/font/devutf/0100to25ff
9base/lib/troff/font/devutf/AB
9base/lib/troff/font/devutf/AI
9base/lib/troff/font/devutf/AR
9base/lib/troff/font/devutf/AX
9base/lib/troff/font/devutf/B
9base/lib/troff/font/devutf/BI
9base/lib/troff/font/devutf/C
9base/lib/troff/font/devutf/CB
9base/lib/troff/font/devutf/CI
9base/lib/troff/font/devutf/CO
9base/lib/troff/font/devutf/CW
9base/lib/troff/font/devutf/CX
9base/lib/troff/font/devutf/CY
9base/lib/troff/font/devutf/DESC
9base/lib/troff/font/devutf/DejaVuCondensedSans
9base/lib/troff/font/devutf/DejaVuCondensedSansBold
9base/lib/troff/font/devutf/DejaVuCondensedSansBoldOblique
9base/lib/troff/font/devutf/DejaVuCondensedSansOblique
9base/lib/troff/font/devutf/DejaVuCondensedSerif
9base/lib/troff/font/devutf/DejaVuCondensedSerifBold
9base/lib/troff/font/devutf/DejaVuCondensedSerifBoldOblique
9base/lib/troff/font/devutf/DejaVuCondensedSerifOblique
9base/lib/troff/font/devutf/DejaVuMonoSans
9base/lib/troff/font/devutf/DejaVuMonoSansBold
9base/lib/troff/font/devutf/DejaVuMonoSansBoldOblique
9base/lib/troff/font/devutf/DejaVuMonoSansOblique
9base/lib/troff/font/devutf/DejaVuSans
9base/lib/troff/font/devutf/DejaVuSansBold
9base/lib/troff/font/devutf/DejaVuSansBoldOblique
9base/lib/troff/font/devutf/DejaVuSansOblique
9base/lib/troff/font/devutf/DejaVuSerif
9base/lib/troff/font/devutf/DejaVuSerifBold
9base/lib/troff/font/devutf/DejaVuSerifBoldOblique
9base/lib/troff/font/devutf/DejaVuSerifOblique
9base/lib/troff/font/devutf/GR
9base/lib/troff/font/devutf/H
9base/lib/troff/font/devutf/HB
9base/lib/troff/font/devutf/HI
9base/lib/troff/font/devutf/HK
9base/lib/troff/font/devutf/HL
9base/lib/troff/font/devutf/HM
9base/lib/troff/font/devutf/HX
9base/lib/troff/font/devutf/Helvetica-Narrow
9base/lib/troff/font/devutf/Helvetica-Narrow-Bold
9base/lib/troff/font/devutf/Helvetica-Narrow-BoldOblique
9base/lib/troff/font/devutf/Helvetica-Narrow-Oblique
9base/lib/troff/font/devutf/I
9base/lib/troff/font/devutf/Jp
9base/lib/troff/font/devutf/KB
9base/lib/troff/font/devutf/KI
9base/lib/troff/font/devutf/KR
9base/lib/troff/font/devutf/KX
9base/lib/troff/font/devutf/LINKFILE
9base/lib/troff/font/devutf/LucidaCW
9base/lib/troff/font/devutf/LucidaSans
9base/lib/troff/font/devutf/LucidaSansB
9base/lib/troff/font/devutf/LucidaSansCW
9base/lib/troff/font/devutf/LucidaSansCW83
9base/lib/troff/font/devutf/LucidaSansI
9base/lib/troff/font/devutf/LuxiMono
9base/lib/troff/font/devutf/LuxiMono-Bold
9base/lib/troff/font/devutf/LuxiMono-BoldOblique
9base/lib/troff/font/devutf/LuxiMono-Oblique
9base/lib/troff/font/devutf/LuxiSans
9base/lib/troff/font/devutf/LuxiSans-Bold
9base/lib/troff/font/devutf/LuxiSans-BoldOblique
9base/lib/troff/font/devutf/LuxiSans-Oblique
9base/lib/troff/font/devutf/LuxiSerif
9base/lib/troff/font/devutf/LuxiSerif-Bold
9base/lib/troff/font/devutf/LuxiSerif-BoldOblique
9base/lib/troff/font/devutf/LuxiSerif-Oblique
9base/lib/troff/font/devutf/NB
9base/lib/troff/font/devutf/NI
9base/lib/troff/font/devutf/NR
9base/lib/troff/font/devutf/NX
9base/lib/troff/font/devutf/PA
9base/lib/troff/font/devutf/PB
9base/lib/troff/font/devutf/PI
9base/lib/troff/font/devutf/PX
9base/lib/troff/font/devutf/R
9base/lib/troff/font/devutf/R.nomath
9base/lib/troff/font/devutf/S
9base/lib/troff/font/devutf/S1
9base/lib/troff/font/devutf/Syntax
9base/lib/troff/font/devutf/SyntaxB
9base/lib/troff/font/devutf/SyntaxI
9base/lib/troff/font/devutf/UnivMath1
9base/lib/troff/font/devutf/UnivMath2
9base/lib/troff/font/devutf/UnivMath3
9base/lib/troff/font/devutf/UnivMath4
9base/lib/troff/font/devutf/UnivMath5
9base/lib/troff/font/devutf/UnivMath6
9base/lib/troff/font/devutf/ZD
9base/lib/troff/font/devutf/ZI
9base/lib/troff/font/devutf/charlib/#263a
9base/lib/troff/font/devutf/charlib/12
9base/lib/troff/font/devutf/charlib/14
9base/lib/troff/font/devutf/charlib/34
9base/lib/troff/font/devutf/charlib/DG
9base/lib/troff/font/devutf/charlib/FA
9base/lib/troff/font/devutf/charlib/F_i
9base/lib/troff/font/devutf/charlib/F_l
9base/lib/troff/font/devutf/charlib/L1
9base/lib/troff/font/devutf/charlib/LA
9base/lib/troff/font/devutf/charlib/LH
9base/lib/troff/font/devutf/charlib/LH.example
9base/lib/troff/font/devutf/charlib/LV
9base/lib/troff/font/devutf/charlib/PC
9base/lib/troff/font/devutf/charlib/RC
9base/lib/troff/font/devutf/charlib/README
9base/lib/troff/font/devutf/charlib/S_l
9base/lib/troff/font/devutf/charlib/_b_x
9base/lib/troff/font/devutf/charlib/_c_i
9base/lib/troff/font/devutf/charlib/_f_f
9base/lib/troff/font/devutf/charlib/_lH
9base/lib/troff/font/devutf/charlib/_l_c
9base/lib/troff/font/devutf/charlib/_l_f
9base/lib/troff/font/devutf/charlib/_l_h
9base/lib/troff/font/devutf/charlib/_o_b
9base/lib/troff/font/devutf/charlib/_p_w
9base/lib/troff/font/devutf/charlib/_rH
9base/lib/troff/font/devutf/charlib/_r_c
9base/lib/troff/font/devutf/charlib/_r_f
9base/lib/troff/font/devutf/charlib/_r_h
9base/lib/troff/font/devutf/charlib/_s_q
9base/lib/troff/font/devutf/charlib/~=
9base/lib/troff/font/devutf/mkMAP
9base/lib/troff/font/devutf/shell.lib
9base/lib/troff/font/devutf/utfmap
9base/lib/troff/hyphen.tex
9base/lib/troff/term/tab.37
9base/lib/troff/term/tab.450
9base/lib/troff/term/tab.450-12
9base/lib/troff/term/tab.dumb
9base/lib/troff/term/tab.i300
9base/lib/troff/term/tab.lp
9base/lib/troff/term/tab.post
9base/lib/troff/term/tab.think
9base/lib/troff/term/tab.thinkbold
9base/lib/troff/term/tab.thinksmall
9base/lib/troff/term/tab.utf
9base/lib/troff/tmac/complet.1127
9base/lib/troff/tmac/cover.1127
9base/lib/troff/tmac/me/acm.me
9base/lib/troff/tmac/me/chars.me
9base/lib/troff/tmac/me/deltext.me
9base/lib/troff/tmac/me/eqn.me
9base/lib/troff/tmac/me/float.me
9base/lib/troff/tmac/me/footnote.me
9base/lib/troff/tmac/me/index.me
9base/lib/troff/tmac/me/local.me
9base/lib/troff/tmac/me/null.me
9base/lib/troff/tmac/me/revisions
9base/lib/troff/tmac/me/sh.me
9base/lib/troff/tmac/me/tbl.me
9base/lib/troff/tmac/me/thesis.me
9base/lib/troff/tmac/mmn
9base/lib/troff/tmac/mmt
9base/lib/troff/tmac/name.sed
9base/lib/troff/tmac/sendcover
9base/lib/troff/tmac/strings.mm
9base/lib/troff/tmac/tmac.an
9base/lib/troff/tmac/tmac.anhtml
9base/lib/troff/tmac/tmac.antimes
9base/lib/troff/tmac/tmac.bits
9base/lib/troff/tmac/tmac.cs
9base/lib/troff/tmac/tmac.e
9base/lib/troff/tmac/tmac.html
9base/lib/troff/tmac/tmac.jsdisp
9base/lib/troff/tmac/tmac.m
9base/lib/troff/tmac/tmac.mcs
9base/lib/troff/tmac/tmac.nihongo
9base/lib/troff/tmac/tmac.org
9base/lib/troff/tmac/tmac.pictures
9base/lib/troff/tmac/tmac.pm
9base/lib/troff/tmac/tmac.psychrefs
9base/lib/troff/tmac/tmac.ptx
9base/lib/troff/tmac/tmac.rscover
9base/lib/troff/tmac/tmac.s
9base/lib/troff/tmac/tmac.scover
9base/lib/troff/tmac/tmac.sdisp
9base/lib/troff/tmac/tmac.skeep
9base/lib/troff/tmac/tmac.soft
9base/lib/troff/tmac/tmac.spe
9base/lib/troff/tmac/tmac.srefs
9base/lib/troff/tmac/tmac.twb
9base/lib/troff/tmac/tmac.uni
9base/lib/troff/tmac/tmac.v
9base/man/man1/ascii.1
9base/man/man1/awk.1
9base/man/man1/basename.1
9base/man/man1/bc.1
9base/man/man1/cal.1
9base/man/man1/cat.1
9base/man/man1/cleanname.1
9base/man/man1/cmp.1
9base/man/man1/date.1
9base/man/man1/dc.1
9base/man/man1/dd.1
9base/man/man1/diff.1
9base/man/man1/du.1
9base/man/man1/echo.1
9base/man/man1/ed.1
9base/man/man1/factor.1
9base/man/man1/fmt.1
9base/man/man1/fortune.1
9base/man/man1/freq.1
9base/man/man1/getflags.1
9base/man/man1/grep.1
9base/man/man1/hoc.1
9base/man/man1/join.1
9base/man/man1/look.1
9base/man/man1/ls.1
9base/man/man1/mk.1
9base/man/man1/mkdir.1
9base/man/man1/mtime.1
9base/man/man1/pbd.1
9base/man/man1/primes.1
9base/man/man1/rc.1
9base/man/man1/read.1
9base/man/man1/sam.1
9base/man/man1/sed.1
9base/man/man1/seq.1
9base/man/man1/sha1sum.1
9base/man/man1/sleep.1
9base/man/man1/sort.1
9base/man/man1/split.1
9base/man/man1/strings.1
9base/man/man1/tail.1
9base/man/man1/tee.1
9base/man/man1/test.1
9base/man/man1/touch.1
9base/man/man1/tr.1
9base/man/man1/troff.1
9base/man/man1/unicode.1
9base/man/man1/uniq.1
9base/man/man1/unutf.1
9base/man/man1/yacc.1
9base/share/examples/9base/rcmain

10
sysutils/9base/distinfo Normal file
View File

@@ -0,0 +1,10 @@
$NetBSD: distinfo,v 1.7 2011/10/26 11:31:12 ryoon Exp $
SHA1 (9base-6.tar.gz) = f349d696859db9a0ff9823cb053f54cf7501ec42
RMD160 (9base-6.tar.gz) = 7a3686ac1630c52810eebca91b2e49a935dd0812
Size (9base-6.tar.gz) = 1045868 bytes
SHA1 (patch-bb) = 4e277a72fc2552c177ade11f5ee14570a2b2650f
SHA1 (patch-bc) = 204d78f2861d0d35b1817d630e58ca5a4b8acf16
SHA1 (patch-ed_ed.c) = c9f3c08efc2cf2e15922b4f359da4915ec967d48
SHA1 (patch-lib9_dirread.c) = a2e06bdb794a67f8b454e18f377f32e87098c70a
SHA1 (patch-rc_Makefile) = 20b65f190fd96cd31870b01b98dfa09e87a8f3d2

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-bb,v 1.2 2011/10/25 16:28:17 ryoon Exp $
--- lib9/dirfwstat.c.orig 2010-06-04 10:46:05.000000000 +0000
+++ lib9/dirfwstat.c
@@ -4,7 +4,7 @@
#include <sys/time.h>
#include <sys/stat.h>
-#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__OpenBSD__) || defined(__linux__)
+#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__OpenBSD__) || defined(__linux__) || defined(__NetBSD__)
/* do nothing -- futimes exists and is fine */
#elif defined(__SunOS5_9__)

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-bc,v 1.3 2011/10/26 11:31:13 ryoon Exp $
--- lib9/u.h.orig 2010-06-04 10:46:05.000000000 +0000
+++ lib9/u.h
@@ -17,7 +17,7 @@ extern "C" {
#define _BSD_SOURCE 1
#define _NETBSD_SOURCE 1 /* NetBSD */
#define _SVID_SOURCE 1
-#if !defined(__APPLE__) && !defined(__OpenBSD__)
+#if !defined(__APPLE__) && !defined(__OpenBSD__) || !defined(__NetBSD__)
# define _XOPEN_SOURCE 1000
# define _XOPEN_SOURCE_EXTENDED 1
#endif

View File

@@ -0,0 +1,33 @@
$NetBSD: patch-ed_ed.c,v 1.1 2011/10/25 16:28:17 ryoon Exp $
* Support DragonFly
--- ed/ed.c.orig 2010-06-04 10:46:05.000000000 +0000
+++ ed/ed.c
@@ -121,7 +121,7 @@ void setnoaddr(void);
void setwide(void);
void squeeze(int);
void substitute(int);
-char* _mktemp(char *as);
+char* my_mktemp(char *as);
Rune La[] = { 'a', 0 };
Rune Lr[] = { 'r', 0 };
@@ -162,7 +162,7 @@ main(int argc, char *argv[])
globp = Lr;
}
zero = malloc((nlall+5)*sizeof(int*));
- tfname = _mktemp(tmp);
+ tfname = my_mktemp(tmp);
init();
setjmp(savej);
commands();
@@ -1584,7 +1584,7 @@ putchr(int ac)
}
char*
-_mktemp(char *as)
+my_mktemp(char *as)
{
char *s;
unsigned pid;

View File

@@ -0,0 +1,62 @@
$NetBSD: patch-lib9_dirread.c,v 1.1 2011/10/25 16:28:17 ryoon Exp $
* DragonFly support
--- lib9/dirread.c.orig 2010-06-04 10:46:05.000000000 +0000
+++ lib9/dirread.c
@@ -25,7 +25,7 @@ mygetdents(int fd, struct dirent *buf, i
long off;
return getdirentries(fd, (void*)buf, n, &off);
}
-#elif defined(__sun__) || defined(__NetBSD__)
+#elif defined(__sun__) || defined(__NetBSD__) || defined(__DragonFly__)
static int
mygetdents(int fd, struct dirent *buf, int n)
{
@@ -50,14 +50,22 @@ countde(char *p, int n)
m = 0;
while(p < e){
de = (struct dirent*)p;
+#if defined(__DragonFly__)
+ if (p + _DIRENT_DIRSIZ(de) > e)
+#else
if(de->d_reclen <= 4+2+2+1 || p+de->d_reclen > e)
+#endif
break;
if(de->d_name[0]=='.' && de->d_name[1]==0)
de->d_name[0] = 0;
else if(de->d_name[0]=='.' && de->d_name[1]=='.' && de->d_name[2]==0)
de->d_name[0] = 0;
m++;
+#if defined(__DragonFly__)
+ p += _DIRENT_DIRSIZ(de);
+#else
p += de->d_reclen;
+#endif
}
return m;
}
@@ -97,7 +105,11 @@ dirpackage(int fd, char *buf, int n, Dir
stat(de->d_name, &st);
nstr += _p9dir(&lst, &st, de->d_name, nil, nil, nil);
}
+#if defined(__DragonFly__)
+ p += _DIRENT_DIRSIZ(de);
+#else
p += de->d_reclen;
+#endif
}
d = malloc(sizeof(Dir)*n+nstr);
@@ -119,7 +131,11 @@ dirpackage(int fd, char *buf, int n, Dir
stat(de->d_name, &st);
_p9dir(&lst, &st, de->d_name, &d[m++], &str, estr);
}
+#if defined(__DragonFly__)
+ p += _DIRENT_DIRSIZ(de);
+#else
p += de->d_reclen;
+#endif
}
fchdir(oldwd);

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-rc_Makefile,v 1.1 2011/10/25 16:28:17 ryoon Exp $
* CONF_FILES support
--- rc/Makefile.orig 2010-06-04 10:46:05.000000000 +0000
+++ rc/Makefile
@@ -33,8 +33,8 @@ install: ${TARG}
@cp -f ${MANFILES} ${DESTDIR}${MANPREFIX}/man1
@chmod 444 ${DESTDIR}${MANPREFIX}/man1/${MANFILES}
@mkdir -p ${DESTDIR}${PREFIX}/etc
- @cp -f rcmain ${DESTDIR}${PREFIX}/etc
- @chmod 755 ${DESTDIR}${PREFIX}/etc/rcmain
+ @cp -f rcmain ${DESTDIR}${PREFIX}/share/examples/9base
+ @chmod 755 ${DESTDIR}${PREFIX}/share/examples/9base
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/${TARG}

555
sysutils/Makefile Normal file
View File

@@ -0,0 +1,555 @@
# $NetBSD: Makefile,v 1.579 2013/06/10 12:05:08 obache Exp $
#
COMMENT= System utilities
SUBDIR+= 855resolution
SUBDIR+= 915resolution
SUBDIR+= 9base
SUBDIR+= acpica-utils
SUBDIR+= acpidump
SUBDIR+= adtool
SUBDIR+= afbinit
SUBDIR+= agedu
SUBDIR+= amanda
SUBDIR+= amanda-client
SUBDIR+= amanda-common
SUBDIR+= amanda-plot
SUBDIR+= amanda-server
SUBDIR+= amtterm
SUBDIR+= ansible
SUBDIR+= apcupsd
SUBDIR+= aperture
SUBDIR+= asapm
SUBDIR+= atitvout
SUBDIR+= bacula
SUBDIR+= bacula-clientonly
SUBDIR+= bacula-doc
SUBDIR+= bacula-qt-console
SUBDIR+= bacula-tray-monitor
SUBDIR+= bacula-wx-console
SUBDIR+= bbsload
SUBDIR+= bchunk
SUBDIR+= bcmfw
SUBDIR+= bcollect
SUBDIR+= bkpupsd
SUBDIR+= boxbackup-client
SUBDIR+= boxbackup-server
SUBDIR+= brasero
SUBDIR+= brasero-nautilus
SUBDIR+= bsign
SUBDIR+= btpin-qt
SUBDIR+= bubblemon
SUBDIR+= bup
SUBDIR+= burn
SUBDIR+= capistrano
SUBDIR+= ccd2iso
SUBDIR+= ccze
SUBDIR+= cdbkup
SUBDIR+= cdrdao
SUBDIR+= cdrkit
SUBDIR+= cdrtools
SUBDIR+= cfengine2
SUBDIR+= cfengine3
SUBDIR+= checkpassword
SUBDIR+= checkpassword-pam
SUBDIR+= checkperms
SUBDIR+= clex
SUBDIR+= conky
SUBDIR+= consolekit
SUBDIR+= coreutils
SUBDIR+= cpmtools
SUBDIR+= cpogm
SUBDIR+= cpuburn
SUBDIR+= cpuid
SUBDIR+= crashme
SUBDIR+= cuisine
SUBDIR+= cvsreport
SUBDIR+= daemond
SUBDIR+= daemontools
SUBDIR+= dbus
SUBDIR+= dbus-glib
SUBDIR+= dbus-python-common
SUBDIR+= dbus-qt3
SUBDIR+= dbus-sharp
SUBDIR+= dbus-sharp-glib
SUBDIR+= dc-tools
SUBDIR+= dd_rescue
SUBDIR+= dd_rhelp
SUBDIR+= ddrescue
SUBDIR+= deforaos-browser
SUBDIR+= deforaos-terminal
SUBDIR+= depot
SUBDIR+= desktop-file-utils
SUBDIR+= detox
SUBDIR+= devkitd
SUBDIR+= di
SUBDIR+= dirsize
SUBDIR+= dirvish
SUBDIR+= diskscrub
SUBDIR+= dmassage
SUBDIR+= dmesg2gif
SUBDIR+= dmg2img
SUBDIR+= dmidecode
SUBDIR+= dmsdos
SUBDIR+= dog
SUBDIR+= dptutil
SUBDIR+= dtpstree
SUBDIR+= duplicity
SUBDIR+= dvd+rw-tools
SUBDIR+= dvdisaster
SUBDIR+= dvdrecord
SUBDIR+= e2fsprogs
SUBDIR+= easydiskpasswd
SUBDIR+= edbus
SUBDIR+= efreet
SUBDIR+= eggdbus
SUBDIR+= entr
SUBDIR+= estd
SUBDIR+= etckeeper
SUBDIR+= etcmanage
SUBDIR+= etcutils
SUBDIR+= euca2ools
SUBDIR+= eventlog
SUBDIR+= extipl
SUBDIR+= fabric
SUBDIR+= fakeroot
SUBDIR+= fam
SUBDIR+= fastfs
SUBDIR+= fatback
SUBDIR+= fdupes
SUBDIR+= file
SUBDIR+= filelight
SUBDIR+= filelight-kde3
SUBDIR+= findutils
SUBDIR+= fix4SA110rev2
SUBDIR+= fixelfprot
SUBDIR+= flashrom
SUBDIR+= foremost
SUBDIR+= free
SUBDIR+= fs-kit
SUBDIR+= fscd
SUBDIR+= fsviewer
SUBDIR+= ftwin
SUBDIR+= gamin
SUBDIR+= gcdmaster
SUBDIR+= gcombust
SUBDIR+= genpasswd
SUBDIR+= gentoo
SUBDIR+= gfm
SUBDIR+= gio-fam
SUBDIR+= gkrellm
SUBDIR+= gkrellm-est
SUBDIR+= gkrellm-server
SUBDIR+= gkrellm-share
SUBDIR+= gnome-commander
SUBDIR+= gnome-device-manager
SUBDIR+= gnome-menus
SUBDIR+= gnome-mount
SUBDIR+= gnome-nds-thumbnailer
SUBDIR+= gnome-pkgview
SUBDIR+= gnome-power-manager
SUBDIR+= gnome-settings-daemon
SUBDIR+= gnome-system-monitor
SUBDIR+= gnome-system-tools
SUBDIR+= gnome-vfs
SUBDIR+= gnome-vfs-monikers
SUBDIR+= gnome-vfsmm
SUBDIR+= gnome-volume-manager
SUBDIR+= gnometoaster
SUBDIR+= gnuit
SUBDIR+= gpart
SUBDIR+= grub
SUBDIR+= grub2
SUBDIR+= grun
SUBDIR+= gsettings-desktop-schemas
SUBDIR+= gst-plugins0.10-gio
SUBDIR+= gst-plugins0.10-gnomevfs
SUBDIR+= gst-plugins1-gio
SUBDIR+= gtk-send-pr
SUBDIR+= gvfs
SUBDIR+= gworkspace
SUBDIR+= hal
SUBDIR+= hal-info
SUBDIR+= hddtemp
SUBDIR+= heirloom-basename
SUBDIR+= heirloom-cat
SUBDIR+= heirloom-chmod
SUBDIR+= heirloom-chown
SUBDIR+= heirloom-cksum
SUBDIR+= heirloom-cmp
SUBDIR+= heirloom-copy
SUBDIR+= heirloom-cp
SUBDIR+= heirloom-csplit
SUBDIR+= heirloom-dd
SUBDIR+= heirloom-dirname
SUBDIR+= heirloom-doc
SUBDIR+= heirloom-du
SUBDIR+= heirloom-env
SUBDIR+= heirloom-file
SUBDIR+= heirloom-find
SUBDIR+= heirloom-getconf
SUBDIR+= heirloom-groups
SUBDIR+= heirloom-hostname
SUBDIR+= heirloom-id
SUBDIR+= heirloom-listusers
SUBDIR+= heirloom-ln
SUBDIR+= heirloom-logins
SUBDIR+= heirloom-logname
SUBDIR+= heirloom-ls
SUBDIR+= heirloom-mesg
SUBDIR+= heirloom-mkdir
SUBDIR+= heirloom-mkfifo
SUBDIR+= heirloom-mknod
SUBDIR+= heirloom-nice
SUBDIR+= heirloom-nohup
SUBDIR+= heirloom-pathchk
SUBDIR+= heirloom-pgrep
SUBDIR+= heirloom-priocntl
SUBDIR+= heirloom-ps
SUBDIR+= heirloom-psrinfo
SUBDIR+= heirloom-pwd
SUBDIR+= heirloom-renice
SUBDIR+= heirloom-rm
SUBDIR+= heirloom-rmdir
SUBDIR+= heirloom-setpgrp
SUBDIR+= heirloom-shl
SUBDIR+= heirloom-sort
SUBDIR+= heirloom-split
SUBDIR+= heirloom-stty
SUBDIR+= heirloom-sync
SUBDIR+= heirloom-tapecntl
SUBDIR+= heirloom-tee
SUBDIR+= heirloom-touch
SUBDIR+= heirloom-tsort
SUBDIR+= heirloom-tty
SUBDIR+= heirloom-uname
SUBDIR+= heirloom-users
SUBDIR+= heirloom-who
SUBDIR+= heirloom-whoami
SUBDIR+= heirloom-whodo
SUBDIR+= heirloom-xargs
SUBDIR+= heirloom-yes
SUBDIR+= hfsutils
SUBDIR+= htop
SUBDIR+= i2ocfg
SUBDIR+= i810switch
SUBDIR+= iat
SUBDIR+= idesk
SUBDIR+= install-sh
SUBDIR+= intel-microcode-netbsd
SUBDIR+= ipa
SUBDIR+= ipmitool
SUBDIR+= ipw-firmware
SUBDIR+= ir-account
SUBDIR+= isapnptools
SUBDIR+= iwi-firmware
SUBDIR+= iwi-firmware3
SUBDIR+= iwn-firmware
SUBDIR+= k3b
SUBDIR+= k3b-kde3
SUBDIR+= k4dirstat
SUBDIR+= kdf
SUBDIR+= kdirstat
SUBDIR+= kfloppy
SUBDIR+= krusader
SUBDIR+= lambd
SUBDIR+= lavaps
SUBDIR+= libdevkit-gobject
SUBDIR+= libgamin
SUBDIR+= libgksu
SUBDIR+= libgtop
SUBDIR+= libirman
SUBDIR+= libnotify
SUBDIR+= libnotify07
SUBDIR+= libol
SUBDIR+= liboobs
SUBDIR+= libpciaccess
SUBDIR+= libvirt
SUBDIR+= lilo
SUBDIR+= lockf
SUBDIR+= logfinder
SUBDIR+= logrider
SUBDIR+= logrot
SUBDIR+= logrotate
SUBDIR+= lsof
SUBDIR+= magicrescue
SUBDIR+= mbmon
SUBDIR+= mc
SUBDIR+= mc46
SUBDIR+= mcollective
SUBDIR+= mdf2iso
SUBDIR+= memconf
SUBDIR+= memtest86
SUBDIR+= memtester
SUBDIR+= memtestplus
SUBDIR+= mencvcd
SUBDIR+= menu-cache
SUBDIR+= mesure
SUBDIR+= mgm
SUBDIR+= mklivecd
SUBDIR+= mkmemstick
SUBDIR+= mksunbootcd
SUBDIR+= mktemp
SUBDIR+= monit
SUBDIR+= monitoring
SUBDIR+= mrsync
SUBDIR+= mtools
SUBDIR+= mtoolsfm
SUBDIR+= mtscan
SUBDIR+= munin-doc
SUBDIR+= munin-node
SUBDIR+= munin-server
SUBDIR+= nautilus
SUBDIR+= nautilus-sendto
SUBDIR+= ndesk-dbus
SUBDIR+= ndesk-dbus-glib
SUBDIR+= neb-wipe
SUBDIR+= netbsd-kmod-tools
SUBDIR+= netbt-hcidump
SUBDIR+= news
SUBDIR+= notification-daemon
SUBDIR+= nrg2iso
SUBDIR+= ntfsprogs
SUBDIR+= nvnet
SUBDIR+= nvramtool
SUBDIR+= oak
SUBDIR+= open-vm-tools
SUBDIR+= openxenmanager
SUBDIR+= osname
SUBDIR+= p5-File-Copy-Recursive
SUBDIR+= p5-File-Remove
SUBDIR+= p5-File-chmod
SUBDIR+= p5-Filesys-Df
SUBDIR+= p5-Filesys-DfPortable
SUBDIR+= p5-Filesys-Statvfs
SUBDIR+= p5-GTop
SUBDIR+= p5-Gnome2-VFS
SUBDIR+= p5-IO-BufferedSelect
SUBDIR+= p5-IO-KQueue
SUBDIR+= p5-Lchown
SUBDIR+= p5-Linux-Inotify2
SUBDIR+= p5-Mac-AppleScript
SUBDIR+= p5-Mac-AppleScript-Glue
SUBDIR+= p5-Parse-Syslog
SUBDIR+= p5-Quota
SUBDIR+= p5-SSH-Batch
SUBDIR+= p5-Server-Starter
SUBDIR+= p5-Sys-CpuLoad
SUBDIR+= p5-Sys-Filesystem
SUBDIR+= p5-Sys-Hostname-Long
SUBDIR+= p5-Sys-SigAction
SUBDIR+= p5-Sys-Syslog
SUBDIR+= p5-Sys-Utmp
SUBDIR+= p5-UPS-Nut
SUBDIR+= p5-Unix-ConfigFile
SUBDIR+= p5-Unix-Syslog
SUBDIR+= pciutils
SUBDIR+= pcmanfm
SUBDIR+= pcvt-utils
SUBDIR+= pdumpfs
SUBDIR+= pear-Log
SUBDIR+= pflogsumm
SUBDIR+= pfstat
SUBDIR+= pftop
SUBDIR+= pluged
SUBDIR+= polysh
SUBDIR+= pscpug
SUBDIR+= psftools
SUBDIR+= psmisc
SUBDIR+= pstree
SUBDIR+= puppet
SUBDIR+= pv
SUBDIR+= pwgen
SUBDIR+= py-dbus
SUBDIR+= py-gnome-menus
SUBDIR+= py-notify
SUBDIR+= py-notify-python
SUBDIR+= qlogtools
SUBDIR+= radeontool
SUBDIR+= radmind
SUBDIR+= rconfig
SUBDIR+= rdiff-backup
SUBDIR+= rename
SUBDIR+= rfstool
SUBDIR+= roller
SUBDIR+= rox
SUBDIR+= rsnapshot
SUBDIR+= rtty
SUBDIR+= ruby-activesambaldap
SUBDIR+= ruby-directory-watcher
SUBDIR+= ruby-facter
SUBDIR+= ruby-fssm
SUBDIR+= ruby-notify
SUBDIR+= ruby-quota
SUBDIR+= ruby-rb-appscript
SUBDIR+= safetynet
SUBDIR+= salt
SUBDIR+= salt-docs
SUBDIR+= same
SUBDIR+= sarah
SUBDIR+= screentest
SUBDIR+= scsiinfo
SUBDIR+= service-config
SUBDIR+= setquota
SUBDIR+= sformat
SUBDIR+= shc
SUBDIR+= shelldap
SUBDIR+= shmux
SUBDIR+= skill
SUBDIR+= slay
SUBDIR+= slocate
SUBDIR+= smartmontools
SUBDIR+= smbldap-tools
SUBDIR+= socket
SUBDIR+= spice-protocol
SUBDIR+= sredird
SUBDIR+= sshsh
SUBDIR+= storage-manager
SUBDIR+= stow
SUBDIR+= strace
SUBDIR+= strigi
SUBDIR+= su2
SUBDIR+= sux
SUBDIR+= swapd
SUBDIR+= swatch
SUBDIR+= sysbuild
SUBDIR+= sysbuild-user
SUBDIR+= sysgen
SUBDIR+= sysinfo
SUBDIR+= syslog-ng
SUBDIR+= system-tools-backends
SUBDIR+= sysupgrade
SUBDIR+= tarsnap
SUBDIR+= tcx
SUBDIR+= tdir
SUBDIR+= testdisk
SUBDIR+= tits
SUBDIR+= tkcron
SUBDIR+= tkdesk
SUBDIR+= tload
SUBDIR+= tob
SUBDIR+= top
SUBDIR+= torsmo
SUBDIR+= toshutils
SUBDIR+= tpb
SUBDIR+= tphdisk
SUBDIR+= tree
SUBDIR+= ts
SUBDIR+= ups-nut
SUBDIR+= ups-nut-cgi
SUBDIR+= ups-nut-snmp
SUBDIR+= ups-nut-usb
SUBDIR+= usbutil
SUBDIR+= user_cygwin
SUBDIR+= user_darwin
SUBDIR+= user_interix
SUBDIR+= user_irix
SUBDIR+= vbetool
SUBDIR+= vcdimager
SUBDIR+= vcdimager-devel
SUBDIR+= vidc-tools
SUBDIR+= vifm
SUBDIR+= vip
SUBDIR+= virt-manager
SUBDIR+= virtinst
SUBDIR+= vobcopy
SUBDIR+= vxargs
SUBDIR+= wbm-apache
SUBDIR+= wbm-at
SUBDIR+= wbm-bandwidth
SUBDIR+= wbm-bind8
SUBDIR+= wbm-change-user
SUBDIR+= wbm-cluster-copy
SUBDIR+= wbm-cluster-cron
SUBDIR+= wbm-cluster-passwd
SUBDIR+= wbm-cluster-shell
SUBDIR+= wbm-cluster-useradmin
SUBDIR+= wbm-cluster-webmin
SUBDIR+= wbm-custom
SUBDIR+= wbm-cyrus-imapd
SUBDIR+= wbm-dhcpd
SUBDIR+= wbm-dovecot
SUBDIR+= wbm-fetchmail
SUBDIR+= wbm-file
SUBDIR+= wbm-htaccess-htpasswd
SUBDIR+= wbm-inetd
SUBDIR+= wbm-ipfilter
SUBDIR+= wbm-ldap-useradmin
SUBDIR+= wbm-lpadmin
SUBDIR+= wbm-mailboxes
SUBDIR+= wbm-mount
SUBDIR+= wbm-mysql
SUBDIR+= wbm-net
SUBDIR+= wbm-openslp
SUBDIR+= wbm-passwd
SUBDIR+= wbm-postfix
SUBDIR+= wbm-postgresql
SUBDIR+= wbm-qmailadmin
SUBDIR+= wbm-quota
SUBDIR+= wbm-sendmail
SUBDIR+= wbm-shell
SUBDIR+= wbm-sshd
SUBDIR+= wbm-status
SUBDIR+= wbm-syslog
SUBDIR+= wbm-telnet
SUBDIR+= wbm-time
SUBDIR+= wbm-tunnel
SUBDIR+= wbm-useradmin
SUBDIR+= wbm-virtual-server
SUBDIR+= webmin
SUBDIR+= whowatch
SUBDIR+= wipe
SUBDIR+= wmSMPmon
SUBDIR+= wmcpuload
SUBDIR+= wmmemmon
SUBDIR+= wpi-firmware
SUBDIR+= wpi-firmware2
SUBDIR+= wtail
SUBDIR+= xapply
SUBDIR+= xbatt
SUBDIR+= xbattbar
SUBDIR+= xc3028l-firmware
SUBDIR+= xc5k-firmware
SUBDIR+= xcdroast
SUBDIR+= xdu
SUBDIR+= xe-guest-utilities
SUBDIR+= xenkernel20
SUBDIR+= xenkernel3
SUBDIR+= xenkernel33
SUBDIR+= xenkernel41
SUBDIR+= xenkernel42
SUBDIR+= xenstoretools
SUBDIR+= xentools20
SUBDIR+= xentools3
SUBDIR+= xentools3-hvm
SUBDIR+= xentools33
SUBDIR+= xentools41
SUBDIR+= xentools42
SUBDIR+= xenvstat
SUBDIR+= xfce4-appfinder
SUBDIR+= xfce4-battery-plugin
SUBDIR+= xfce4-cpugraph-plugin
SUBDIR+= xfce4-diskperf-plugin
SUBDIR+= xfce4-fsguard-plugin
SUBDIR+= xfce4-genmon-plugin
SUBDIR+= xfce4-netload-plugin
SUBDIR+= xfce4-quicklauncher-plugin
SUBDIR+= xfce4-systemload-plugin
SUBDIR+= xfce4-thunar
SUBDIR+= xfce4-volman
SUBDIR+= xfce4-xarchiver
SUBDIR+= xfce4-xkb-plugin
SUBDIR+= xfe
SUBDIR+= xfm
SUBDIR+= xfsprogs
SUBDIR+= xhfs
SUBDIR+= xmbmon
SUBDIR+= xmeter
SUBDIR+= xnc
SUBDIR+= xosview
SUBDIR+= xps
SUBDIR+= xuvmstat
SUBDIR+= zidrav
.include "../mk/misc/category.mk"

View File

@@ -0,0 +1,7 @@
This package provides the ACPICA user-space utilities built upon
the same kernel code. The ACPI Component Architecture is used for
managing hardware and events. The following utilities are provided:
* ASL Compiler & Disassembler
* ACPI Simulator (AcpiExec)
* ACPI Table Extractor

View File

@@ -0,0 +1,55 @@
# $NetBSD: Makefile,v 1.7 2012/10/23 19:50:50 asau Exp $
#
DISTNAME= acpica-unix-${ACPICA_UTILS_VERSION}
PKGNAME= acpica-utils-${ACPICA_UTILS_VERSION}
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.acpica.org/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.acpica.org/
COMMENT= Intel ACPI CA Unix utilities
ACPICA_UTILS_VERSION= 20090625
PKG_INSTALLATION_TYPES= overwrite pkgviews
INSTALLATION_DIRS= bin share/doc/acpica-utils
USE_TOOLS+= bison flex gm4 gmake
LICENSE= gnu-gpl-v2 # OR intel-acpica-license
# According to http://www.acpica.org/documentation/faq.php:
# "Under what licensing is the ACPICA source released?
# ACPICA can be licensed under the GNU General Public License or via a
# separate license that may be more favorable to commercial OSVs. Please
# see the source code license header for specifics.
# Don't have sem_timedwait()
CFLAGS.NetBSD+= -DACPI_USE_ALTERNATE_TIMEOUT
CFLAGS.DragonFly+= -DACPI_USE_ALTERNATE_TIMEOUT
do-build:
cd ${WRKSRC}/tools/acpiexec && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
cp -f ${WRKSRC}/tools/acpiexec/acpiexec ${WRKSRC}
cd ${WRKSRC}/tools/acpiexec && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} clean
cd ${WRKSRC}/compiler && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
cd ${WRKSRC}/tools/acpisrc && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
cd ${WRKSRC}/tools/acpixtract && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/compiler/iasl \
${DESTDIR}${PREFIX}/bin/iasl
ln -s iasl ${DESTDIR}${PREFIX}/bin/acpi-iasl
${INSTALL_PROGRAM} ${WRKSRC}/acpiexec ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/tools/acpixtract/acpixtract \
${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/tools/acpisrc/acpisrc \
${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/acpica-utils
${INSTALL_DATA} ${FILESDIR}/LICENSE \
${DESTDIR}${PREFIX}/share/doc/acpica-utils
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,8 @@
@comment $NetBSD: PLIST,v 1.3 2010/10/19 14:33:19 jakllsch Exp $
bin/acpiexec
bin/acpi-iasl
bin/acpisrc
bin/acpixtract
bin/iasl
share/doc/acpica-utils/LICENSE
share/doc/acpica-utils/README

View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.6 2009/07/14 18:13:48 tnn Exp $
SHA1 (acpica-unix-20090625.tar.gz) = d5906ce8695173916c1c586111fcc6b40ade60c2
RMD160 (acpica-unix-20090625.tar.gz) = 5e5299f3d93e0259e16346861f0c66651f6fbfd9
Size (acpica-unix-20090625.tar.gz) = 933277 bytes

View File

@@ -0,0 +1,104 @@
1. Copyright Notice
Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp.
All rights reserved.
2. License
2.1. This is your license from Intel Corp. under its intellectual property
rights. You may have additional license terms from the party that provided
you this software, covering your right to use that party's intellectual
property rights.
2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
copy of the source code appearing in this file ("Covered Code") an
irrevocable, perpetual, worldwide license under Intel's copyrights in the
base code distributed originally by Intel ("Original Intel Code") to copy,
make derivatives, distribute, use and display any portion of the Covered
Code in any form, with the right to sublicense such rights; and
2.3. Intel grants Licensee a non-exclusive and non-transferable patent
license (with the right to sublicense), under only those claims of Intel
patents that are infringed by the Original Intel Code, to make, use, sell,
offer to sell, and import the Covered Code and derivative works thereof
solely to the minimum extent necessary to exercise the above copyright
license, and in no event shall the patent license extend to any additions
to or modifications of the Original Intel Code. No other license or right
is granted directly or by implication, estoppel or otherwise;
The above copyright and patent license is granted only if the following
conditions are met:
3. Conditions
3.1. Redistribution of Source with Rights to Further Distribute Source.
Redistribution of source code of any substantial portion of the Covered
Code or modification with rights to further distribute source must include
the above Copyright Notice, the above License, this list of Conditions,
and the following Disclaimer and Export Compliance provision. In addition,
Licensee must cause all Covered Code to which Licensee contributes to
contain a file documenting the changes Licensee made to create that Covered
Code and the date of any change. Licensee must include in that file the
documentation of any changes made by any predecessor Licensee. Licensee
must include a prominent statement that the modification is derived,
directly or indirectly, from Original Intel Code.
3.2. Redistribution of Source with no Rights to Further Distribute Source.
Redistribution of source code of any substantial portion of the Covered
Code or modification without rights to further distribute source must
include the following Disclaimer and Export Compliance provision in the
documentation and/or other materials provided with distribution. In
addition, Licensee may not authorize further sublicense of source of any
portion of the Covered Code, and must include terms to the effect that the
license from Licensee to its licensee is limited to the intellectual
property embodied in the software Licensee provides to its licensee, and
not to intellectual property embodied in modifications its licensee may
make.
3.3. Redistribution of Executable. Redistribution in executable form of any
substantial portion of the Covered Code or modification must reproduce the
above Copyright Notice, and the following Disclaimer and Export Compliance
provision in the documentation and/or other materials provided with the
distribution.
3.4. Intel retains all right, title, and interest in and to the Original
Intel Code.
3.5. Neither the name Intel nor any other trademark owned or controlled by
Intel shall be used in advertising or otherwise to promote the sale, use or
other dealings in products derived from or relating to the Covered Code
without prior written authorization from Intel.
4. Disclaimer and Export Compliance
4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
PARTICULAR PURPOSE.
4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
LIMITED REMEDY.
4.3. Licensee shall not export, either directly or indirectly, any of this
software or system incorporating such software without first obtaining any
required license or other approval from the U. S. Department of Commerce or
any other agency or department of the United States Government. In the
event Licensee exports any such software from the United States or
re-exports any such software from a foreign destination, Licensee shall
ensure that the distribution and export/re-export of the software is in
compliance with all laws, regulations, orders, or other restrictions of the
U.S. Export Administration Regulations. Licensee agrees that neither it nor
any of its subsidiaries will export/re-export any technical data, process,
software, or service, directly or indirectly, to any country for which the
United States government or any agency thereof requires an export license,
other governmental approval, or letter of assurance, without first obtaining
such license, approval or letter.

4
sysutils/acpidump/DESCR Normal file
View File

@@ -0,0 +1,4 @@
The acpidump utility analyzes ACPI tables in physical memory and dumps
them to standard output. In addition, acpidump can disassemble AML
(ACPI Machine Language) found in these tables and dump them as ASL
(ACPI Source Language).

View File

@@ -0,0 +1,23 @@
# $NetBSD: Makefile,v 1.8 2012/10/23 19:50:50 asau Exp $
#
DISTNAME= pacpidump
PKGNAME= acpidump-20020711
PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://people.freebsd.org/~takawata/
MAINTAINER= uebayasi@NetBSD.org
HOMEPAGE= ${MASTER_SITES} # Just a directory list. :-)
COMMENT= Portable ACPI table dumper
USE_TOOLS+= gmake
BUILD_TARGET= # null
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/acpidump ${DESTDIR}${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/acpidump.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
.include "../../mk/bsd.pkg.mk"

3
sysutils/acpidump/PLIST Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/29 05:57:44 uebayasi Exp $
bin/acpidump
man/man8/acpidump.8

View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.2 2005/02/24 13:40:50 agc Exp $
SHA1 (pacpidump.tar.gz) = 55cea53b1824f9df3b43c08c749bf584b567cd69
RMD160 (pacpidump.tar.gz) = bd68bcea754e677c032d40a3f8e0c2fdbfacf476
Size (pacpidump.tar.gz) = 45281 bytes
SHA1 (patch-aa) = 79450add2824f292f6c8bd08a3ee55aaa2d363c5
SHA1 (patch-ab) = a283ba41370a24c452581a78dbc16d6ee7eb30cb
SHA1 (patch-ac) = f9deae2aa1939aa951cca51e678fd459038bf2d6

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-aa,v 1.1.1.1 2004/02/29 05:57:44 uebayasi Exp $
--- acpi.c.orig Tue Oct 23 16:36:26 2001
+++ acpi.c
@@ -72,12 +72,12 @@ acpi_print_dsdt_definition(void)
strncpy(oemtblid, dsdt_header.oemtblid, 8);
oemtblid[8] = '\0';
- printf("DefinitionBlock (
- \"acpi_dsdt.aml\", //Output filename
- \"DSDT\", //Signature
- 0x%x, //DSDT Revision
- \"%s\", //OEMID
- \"%s\", //TABLE ID
+ printf("DefinitionBlock (\n\
+ \"acpi_dsdt.aml\", //Output filename\n\
+ \"DSDT\", //Signature\n\
+ 0x%x, //DSDT Revision\n\
+ \"%s\", //OEMID\n\
+ \"%s\", //TABLE ID\n\
0x%x //OEM Revision\n)\n",
dsdt_header.rev, oemid, oemtblid, dsdt_header.oemrev);
}

View File

@@ -0,0 +1,8 @@
$NetBSD: patch-ab,v 1.1.1.1 2004/02/29 05:57:44 uebayasi Exp $
--- config.h.orig Tue Oct 23 16:22:09 2001
+++ config.h
@@ -1,2 +1,2 @@
#define HAVE_QUEUE_H
-#define HAVE_VM_OFFSET_T
+#undef HAVE_VM_OFFSET_T

View File

@@ -0,0 +1,25 @@
$NetBSD: patch-ac,v 1.1.1.1 2004/02/29 05:57:44 uebayasi Exp $
--- aml/aml_parse.c.orig Wed Oct 24 01:02:48 2001
+++ aml/aml_parse.c
@@ -708,7 +708,7 @@ aml_parse_field(struct aml_environ *env,
width = aml_parse_pkglength(env);
template->bitlen = width;
aml_print_namestring(name);
- AML_CREATE_NAME(aname, env, name, NULL);
+ AML_CREATE_NAME(aname, env, name, 0);
/* Allignment */
if (width == 16) {
template->bitoffset += 15;
@@ -726,9 +726,9 @@ aml_parse_field(struct aml_environ *env,
if (aname->property != NULL) {
env->stat = aml_stat_panic;
AML_DEBUGPRINT("Already Defined \n");
- return (NULL);
+ return (0);
}
- AML_ALLOC_OBJECT(aname->property, env, aml_t_field, NULL);
+ AML_ALLOC_OBJECT(aname->property, env, aml_t_field, 0);
prop = &aname->property->field;
*prop = *template;
template->bitoffset += width;

4
sysutils/adtool/DESCR Normal file
View File

@@ -0,0 +1,4 @@
adtool is a Unix command line utility for Active Directory
administration. Features include user and group creation, deletion,
modification, password setting and directory query and search
capabilities.

28
sysutils/adtool/Makefile Normal file
View File

@@ -0,0 +1,28 @@
# $NetBSD: Makefile,v 1.15 2013/02/06 23:23:47 jperkin Exp $
#
DISTNAME= adtool-1.2
PKGREVISION= 6
CATEGORIES= sysutils
MASTER_SITES= http://gp2x.org/adtool/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gp2x.org/adtool/
COMMENT= Active Directory administration utility for Unix
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
PTHREAD_OPTS+= require
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
EGDIR= ${PREFIX}/share/examples/adtool
CONF_FILES= ${EGDIR}/adtool.cfg.dist ${PKG_SYSCONFDIR}/adtool.cfg
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

4
sysutils/adtool/PLIST Normal file
View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:16:00 joerg Exp $
bin/adtool
man/man1/adtool.1
share/examples/adtool/adtool.cfg.dist

7
sysutils/adtool/distinfo Normal file
View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.3 2006/01/30 16:17:06 joerg Exp $
SHA1 (adtool-1.2.tar.gz) = fab5a640c8fe60a10c916e3f1c0d1d0a3ba2c974
RMD160 (adtool-1.2.tar.gz) = 1afa9f6955c8b2b10f1cd2f73952aeb83d5af979
Size (adtool-1.2.tar.gz) = 202328 bytes
SHA1 (patch-aa) = e2dc489cfd6cc67da2782d134d331521bb2ba581
SHA1 (patch-ab) = f594933de70a596f3ea711175cc1577c0805d4a2

View File

@@ -0,0 +1,19 @@
$NetBSD: patch-aa,v 1.1.1.1 2004/10/30 21:11:56 minskim Exp $
--- src/etc/Makefile.in.orig 2003-09-30 15:33:27.000000000 +0200
+++ src/etc/Makefile.in 2003-09-30 15:34:45.000000000 +0200
@@ -147,12 +147,12 @@
sysconfDATA_INSTALL = $(INSTALL_DATA)
install-sysconfDATA: $(sysconf_DATA)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
+ $(mkinstalldirs) $(DESTDIR)$(prefix)/share/examples/adtool
@list='$(sysconf_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$p | sed -e 's|^.*/||'`"; \
echo " $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f"; \
- $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \
+ $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(prefix)/share/examples/adtool/$$f; \
done
uninstall-sysconfDATA:

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-ab,v 1.1 2006/01/30 16:17:06 joerg Exp $
--- src/tools/Makefile.in.orig 2006-01-30 16:12:37.000000000 +0000
+++ src/tools/Makefile.in
@@ -119,7 +119,10 @@ target_alias = @target_alias@
INCLUDES = -I@top_srcdir@/src/lib
AM_CFLAGS = @CFLAGS@
-AM_LDFLAGS = -lldap -llber -lldap_r -lpthread -lresolv @LDFLAGS@
+AM_LDFLAGS = -lldap -llber -lldap_r ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} @LDFLAGS@
+.if ${OPSYS} != "DragonFly"
+AM_LDFLAGS += -lresolv
+.endif
bin_PROGRAMS = adtool

6
sysutils/afbinit/DESCR Normal file
View File

@@ -0,0 +1,6 @@
This pkg provides a program that loads the microcode firmware onto Sun
Microsystems AFB Graphics Accelerators aka Sun Microsystems Elite 3D
found in many UltraSPARC systems. The microcode is necessary if you want
to run XFree86 with acceleration on these cards.
The microcode in itself has to be obtained from an existing SunOS/Solaris
installation.

10
sysutils/afbinit/MESSAGE Normal file
View File

@@ -0,0 +1,10 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2005/06/02 15:10:52 martin Exp $
In order to use afbinit(8) you have to manually copy /usr/lib/afb.ucode
from a SunOS/Solaris installation. You might find it on Sun's website, too.
To load the micrcocode into the first AFB card, use this command:
afbinit /dev/fb0 afb.ucode
===========================================================================

20
sysutils/afbinit/Makefile Normal file
View File

@@ -0,0 +1,20 @@
# $NetBSD: Makefile,v 1.4 2012/10/23 19:50:50 asau Exp $
DISTNAME= afbinit_1.0.orig
PKGNAME= afbinit-1.0
CATEGORIES= sysutils graphics
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/contrib/a/afbinit/}
MAINTAINER= macallan@NetBSD.org
COMMENT= Firmware download tool for Sun AFB graphic cards
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
BUILD_TARGET= afbinit
ONLY_FOR_PLATFORM= *-*-sparc64 *-*-sparc
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/afbinit ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"

2
sysutils/afbinit/PLIST Normal file
View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2005/06/02 15:10:52 martin Exp $
bin/afbinit

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1.1.1 2005/06/02 15:10:52 martin Exp $
SHA1 (afbinit_1.0.orig.tar.gz) = bb02434819301bb55e1d7f984540868353bd6153
RMD160 (afbinit_1.0.orig.tar.gz) = a56f33696865fbc77b4b27f10b680b3d9a359635
Size (afbinit_1.0.orig.tar.gz) = 2979 bytes
SHA1 (patch-aa) = ea57e2ca73123f3e71bb733d84fe5dc6d7db501e

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-aa,v 1.1.1.1 2005/06/02 15:10:52 martin Exp $
--- afbinit.c.orig 2001-11-30 03:04:21.000000000 +0100
+++ afbinit.c 2005-06-02 15:22:11.000000000 +0200
@@ -13,6 +13,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
+#include <stdlib.h>
/* Define this to debug the microcode loading procedure. */
#undef DEBUG_UCODE_LOAD
@@ -193,7 +194,7 @@
struct afb_ucode_header {
char ident[8];
unsigned int ucode_words;
- unsigned int __unused[2];
+ unsigned int unused[2];
} ucheader;
unsigned int *ucode;
int afb_fd, ucode_fd, ucode_version;

24
sysutils/agedu/DESCR Normal file
View File

@@ -0,0 +1,24 @@
Suppose you're running low on disk space. You need to free some up, by finding
something that's a waste of space and deleting it (or moving it to an archive
medium). How do you find the right stuff to delete, that saves you the maximum
space at the cost of minimum inconvenience?
Unix provides the standard du utility, which scans your disk and tells you which
directories contain the largest amounts of data. That can help you narrow your
search to the things most worth deleting.
However, that only tells you what's big. What you really want to know is what's
too big. By itself, du won't let you distinguish between data that's big because
you're doing something that needs it to be big, and data that's big because you
unpacked it once and forgot about it.
Most Unix file systems, in their default mode, helpfully record when a file was
last accessed. Not just when it was written or modified, but when it was even
read. So if you generated a large amount of data years ago, forgot to clean it
up, and have never used it since, then it ought in principle to be possible to
use those last-access time stamps to tell the difference between that and a
large amount of data you're still using regularly.
agedu does same disk scan as du, but also records the last-access times of
everything. Then it builds an index that lets it efficiently generate reports
giving a summary of the results for each subdirectory.

16
sysutils/agedu/Makefile Normal file
View File

@@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.2 2012/10/23 19:50:50 asau Exp $
#
DISTNAME= agedu-r8590
PKGNAME= ${DISTNAME:S/-r/-/}
CATEGORIES= sysutils
MASTER_SITES= http://www.chiark.greenend.org.uk/~sgtatham/agedu/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.chiark.greenend.org.uk/~sgtatham/agedu/
COMMENT= Utility for tracking down wasted disk space
LICENSE= mit
GNU_CONFIGURE= yes
.include "../../mk/bsd.pkg.mk"

3
sysutils/agedu/PLIST Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2009/06/07 13:48:20 wiz Exp $
bin/agedu
man/man1/agedu.1

5
sysutils/agedu/distinfo Normal file
View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2009/06/07 13:48:20 wiz Exp $
SHA1 (agedu-r8590.tar.gz) = ee27d6b2514083dace34e452070762eb33c2af55
RMD160 (agedu-r8590.tar.gz) = b1b6d560f5cb71fca9e6be0d7c4070b4ca802377
Size (agedu-r8590.tar.gz) = 124908 bytes

View File

@@ -0,0 +1,6 @@
AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
backup system that allows the administrator of a LAN to set up a single
master backup server to back up multiple hosts to a single large capacity
tape or disk drive. Amanda uses native tools (such as GNUtar, dump) for
backup and can back up a large number of workstations running multiple
versions of Unix/Mac OS X/Linux/Windows.

View File

@@ -0,0 +1,61 @@
# $NetBSD: Makefile,v 1.57 2012/10/23 19:50:51 asau Exp $
#
PKGNAME= amanda-client-${AMANDA_VERSION}
PKGREVISION= 1
SVR4_PKGNAME= amacl
COMMENT= Client part of Amanda, a network backup system
CONFIGURE_ARGS+= --without-server --without-gnuplot
BUILD_DIRS= gnulib
BUILD_DIRS+= client-src application-src
BUILD_DIRS+= recover-src oldrecover-src
MANPAGES+= amanda-applications.7
MANPAGES+= amdump_client.8
MANPAGES+= amgtar.8
MANPAGES+= ampgsql.8
MANPAGES+= amraw.8
MANPAGES+= amrecover.8
MANPAGES+= amsamba.8
MANPAGES+= amstar.8
MANPAGES+= amsuntar.8
MANPAGES+= amzfs-snapshot.8
MANPAGES+= amzfs-sendrecv.8
PERL5_MODS+= Amanda/Application.pm
PERL5_MODS+= Amanda/Application/Zfs.pm
PERL5_LIBS+= Application
.include "../../sysutils/amanda-common/Makefile.common"
.if !empty(PKG_OPTIONS:Mamanda-smb)
CONFIGURE_ARGS+= --with-smbclient
DEPENDS+= {samba>=2.0,ja-samba>=2.0}:../../net/samba
.endif
.if !empty(PKG_OPTIONS:Mamanda-dump-snap)
CONFIGURE_ARGS+= --with-dump-use-snapshot --with-rundump
.endif
SPECIAL_PERMS+= libexec/amanda/application/amgtar ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/application/amstar ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/calcsize ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/killpgrp ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/rundump ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/runtar ${AM_PROG_PERMS}
post-build:
${RUN}${_ULIMIT_CMD} cd ${WRKSRC}/amandad-src && \
${BUILD_MAKE_CMD} amandad
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/amandad-src/amandad \
${DESTDIR}${PREFIX}/libexec/amanda
.include "../../sysutils/amanda-common/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,40 @@
@comment $NetBSD: PLIST,v 1.6 2012/07/30 07:21:10 sbd Exp $
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Application.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Application/Zfs.pm
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/Application/libApplication.la
lib/amanda/libamclient.la
libexec/amanda/amandad
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/noop
libexec/amanda/patch-system
libexec/amanda/rundump
libexec/amanda/runtar
libexec/amanda/selfcheck
libexec/amanda/sendbackup
libexec/amanda/sendsize
libexec/amanda/teecount
man/man7/amanda-applications.7
man/man8/amdump_client.8
man/man8/amgtar.8
man/man8/ampgsql.8
man/man8/amraw.8
man/man8/amrecover.8
man/man8/amsamba.8
man/man8/amstar.8
man/man8/amsuntar.8
man/man8/amzfs-sendrecv.8
man/man8/amzfs-snapshot.8
sbin/amdump_client
sbin/amoldrecover
sbin/amrecover

View File

@@ -0,0 +1,6 @@
AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
backup system that allows the administrator of a LAN to set up a single
master backup server to back up multiple hosts to a single large capacity
tape or disk drive. Amanda uses native tools (such as GNUtar, dump) for
backup and can back up a large number of workstations running multiple
versions of Unix/Mac OS X/Linux/Windows.

View File

@@ -0,0 +1,9 @@
# $NetBSD: INSTALL,v 1.3 2012/07/30 07:21:11 sbd Exp $
case ${STAGE} in
POST-INSTALL)
if ${TEST} ! -f @AMANDA_VAR@/amandates ;then
${TOUCH} @AMANDA_VAR@/amandates
fi
;;
esac

View File

@@ -0,0 +1,37 @@
# $NetBSD: Makefile,v 1.61 2013/05/31 12:41:59 wiz Exp $
PKGNAME= amanda-common-${AMANDA_VERSION}
PKGREVISION= 3
SVR4_PKGNAME= amaco
COMMENT= Common libraries and binaries for Amanda
.include "../../sysutils/amanda-common/Makefile.common"
.if ${OPSYS} == "SunOS"
CPPFLAGS+= -D_LARGEFILE64_SOURCE
.endif
CONFIGURE_ARGS+= --without-server --without-client --without-gnuplot
PKG_GROUPS= ${AMANDA_GROUP}
PKG_USERS= ${AMANDA_USER}:${AMANDA_GROUP}
PKG_GECOS.${AMANDA_USER}= Amanda backup user
PKG_SHELL.${AMANDA_USER}= ${SH}
PKG_HOME.${AMANDA_USER}= ${AMANDA_VAR}
OWN_DIRS+= ${PKG_SYSCONFDIR}/amanda
OWN_DIRS_PERMS= ${AMANDA_VAR} ${AMANDA_USER} ${AMANDA_GROUP} 0750
OWN_DIRS_PERMS+= ${AMANDA_VAR}/gnutar-lists ${AMANDA_USER} ${AMANDA_GROUP} 0750
OWN_DIRS_PERMS+= ${VARBASE}/log/amanda ${AMANDA_USER} ${AMANDA_GROUP} 0750
CONF_FILES_PERMS= ${PREFIX}/share/doc/amanda/example/amanda-client.conf \
${PKG_SYSCONFDIR}/amanda/amanda-client.conf \
${AMANDA_USER} ${AMANDA_GROUP} 0600
REQD_FILES_PERMS+= /dev/null ${AMANDA_VAR}/amandates ${AMANDA_USER} ${AMANDA_GROUP} 0640
SPECIAL_PERMS+= sbin/amservice ${AM_PROG_PERMS}
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,130 @@
# $NetBSD: Makefile.common,v 1.38 2013/01/23 17:58:19 wiz Exp $
# used by sysutils/amanda-common/Makefile
# used by sysutils/amanda-client/Makefile
# used by sysutils/amanda-server/Makefile
# used by sysutils/amanda-plot/Makefile
COMMONDIR= ../../sysutils/amanda-common
.include "${COMMONDIR}/version.mk"
DISTNAME= amanda-${AMANDA_VERSION}
CATEGORIES= sysutils
MASTER_SITES?= ${MASTER_SITE_SOURCEFORGE:=amanda/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.amanda.org/
LICENSE= modified-bsd AND gnu-gpl-v3
DISTINFO_FILE= ${.CURDIR}/${COMMONDIR}/distinfo
PATCHDIR= ${.CURDIR}/${COMMONDIR}/patches
CHECK_PORTABILITY_SKIP+= configure # It gets regend
CHECK_PORTABILITY_SKIP+= packaging/deb/amanda-backup-server.postinst
CHECK_PORTABILITY_SKIP+= packaging/common/post_inst_functions.sh
CHECK_PORTABILITY_SKIP+= packaging/common/test_sh_libs.sh
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
AMANDA_GROUP?= sysadmin
.else
# NetBSD, Linux and Darwin
AMANDA_GROUP?= operator
.endif
AMANDA_USER?= amandabackup
AMANDA_TMP?= /tmp/amanda
AMANDA_VAR?= ${VARBASE}/amanda
PKG_GROUPS_VARS+= AMANDA_GROUP
PKG_USERS_VARS+= AMANDA_USER
BUILD_DEFS+= AMANDA_TMP AMANDA_USER AMANDA_GROUP AMANDA_VAR VARBASE
FILES_SUBST+= AMANDA_VAR=${AMANDA_VAR:Q}
AM_PROG_PERMS= ${REAL_ROOT_USER} ${AMANDA_GROUP} 4510
USE_LIBTOOL= yes
USE_TOOLS+= gzip:run gtar:run perl:run
USE_TOOLS+= gmake pkg-config autoconf automake
# for autopoint
BUILD_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools
PERL5_CONFIGURE= no
AUTO_MKDIRS= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= ac_cv_path_GZIP=${TOOLS_GZIP_CMD:Q}
CONFIGURE_ENV+= GNUTAR=${TOOLS_GTAR:Q}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --localstatedir=${AMANDA_VAR:Q}
CONFIGURE_ARGS+= --with-tmpdir=${AMANDA_TMP:Q}
CONFIGURE_ARGS+= --with-gnutar-listdir=${AMANDA_VAR:Q}/gnutar-lists
CONFIGURE_ARGS+= --with-amperldir=${AMPERLDIR:Q}
CONFIGURE_ARGS+= --with-debugging=${VARBASE:Q}/log/amanda
CONFIGURE_ARGS+= --with-user=${AMANDA_USER:Q}
CONFIGURE_ARGS+= --with-group=${AMANDA_GROUP:Q}
CONFIGURE_ARGS+= --with-owner=${REAL_ROOT_USER:Q}
CONFIGURE_ARGS+= --with-index-server=localhost
CONFIGURE_ARGS+= --with-tape-server=localhost
CONFIGURE_ARGS+= --with-assertions
CONFIGURE_ARGS+= --with-amandahosts
CONFIGURE_ARGS+= --with-bsd-security
CONFIGURE_ARGS+= --with-bsdtcp-security
CONFIGURE_ARGS+= --with-bsdudp-security
CONFIGURE_ARGS+= --with-dump-honor-nodump
CONFIGURE_ARGS+= --disable-installperms
INSTALL_MAKE_FLAGS+= SETUID_GROUP=${ROOT_GROUP}
AMPERLDIR= ${PERLDIR:Q}/${PERL5_SUB_INSTALLVENDORLIB}
.include "../../sysutils/amanda-common/options.mk"
.PHONY: autogen
pre-configure: autogen
autogen:
${RUN}${_ULIMIT_CMD} cd ${WRKSRC} && \
${PKGSRC_SETENV} ${_CONFIGURE_SCRIPT_ENV} \
autoreconf -fi
.PHONY: build-perl
post-build: build-perl
build-perl:
.if defined(PERL5_LIBS) && !empty(PERL5_LIBS)
${RUN}${_ULIMIT_CMD} cd ${WRKSRC}/perl && \
${BUILD_MAKE_CMD} ${PERL5_LIBS:@lib@lib${lib}.la@}
.endif
.if defined(PERL5_MODS) && !empty(PERL5_MODS)
INSTALLATION_DIRS+= ${PERL5_MODS:H:@_t_@${PERL5_SUB_INSTALLVENDORLIB}/${_t_}@}
.endif
.if defined(PERL5_LIBS) && !empty(PERL5_LIBS)
INSTALLATION_DIRS+= ${PERL5_LIBS:@_t_@${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/${_t_}@}
.endif
.PHONY: post-install-extra
post-install: post-install-extra
post-install-extra:
.if defined(PERL5_MODS) && !empty(PERL5_MODS)
. for mod in ${PERL5_MODS}
${INSTALL_DATA} ${WRKSRC}/perl/${mod} \
${DESTDIR}${PERLDIR}/${PERL5_SUB_INSTALLVENDORLIB}/${mod}
. endfor
.endif
.if defined(PERL5_LIBS) && !empty(PERL5_LIBS)
. for lib in ${PERL5_LIBS}
${RUN}${_ULIMIT_CMD} ${PKGSRC_SETENV} ${MAKE_ENV} \
${WRAPPER_BINDIR}/libtool --mode=install ${INSTALL_LIB} \
${WRKSRC}/perl/lib${lib}.la \
${DESTDIR}${PERLDIR}/${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/${lib}
. endfor
.endif
.if defined(MANPAGES) && !empty(MANPAGES)
. for manpage in ${MANPAGES}
${INSTALL_MAN} ${WRKSRC}/man/${manpage} \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man${manpage:E}
. endfor
.endif
.include "../../lang/perl5/module.mk"
.include "../../devel/glib2/buildlink3.mk"

View File

@@ -0,0 +1,91 @@
@comment $NetBSD: PLIST,v 1.7 2012/07/30 07:21:11 sbd Exp $
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Archive.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/BigIntCompat.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/ClientService.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Config.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Config/FoldingHash.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Constants.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Debug.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Feature.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Header.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/IPC/Binary.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/IPC/LineProtocol.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/MainLoop.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/NDMP.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Paths.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Process.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Script.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Script_App.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Tests.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Util.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Xfer.pm
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/Archive/libArchive.la
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/Config/libConfig.la
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/Debug/libDebug.la
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/Feature/libFeature.la
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/Header/libHeader.la
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/IPC/Binary/libBinary.la
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/MainLoop/libMainLoop.la
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/NDMP/libNDMP.la
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/Tests/libTests.la
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/Util/libUtil.la
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/Xfer/libXfer.la
lib/amanda/libamanda.la
lib/amanda/libamandad.la
lib/amanda/libamar.la
lib/amanda/libamglue.la
lib/amanda/libamxfer.la
lib/amanda/libndmjob.la
lib/amanda/libndmlib.la
libexec/amanda/amanda-sh-lib.sh
libexec/amanda/amndmjob
libexec/amanda/ndmjob
man/man5/amanda-archive-format.5
man/man5/amanda-client.conf.5
man/man5/amanda.conf.5
man/man7/amanda-auth.7
man/man7/amanda-match.7
man/man7/amanda-scripts.7
man/man8/amanda.8
man/man8/amarchiver.8
man/man8/amservice.8
man/man8/script-email.8
sbin/amaespipe
sbin/amarchiver
sbin/amcrypt
sbin/amcrypt-ossl
sbin/amcrypt-ossl-asym
sbin/amcryptsimple
sbin/amgetconf
sbin/amgpgcrypt
sbin/amservice
share/doc/amanda/COPYRIGHT
share/doc/amanda/ChangeLog
share/doc/amanda/NEWS
share/doc/amanda/ReleaseNotes
share/doc/amanda/example/amanda-client-postgresql.conf
share/doc/amanda/example/amanda-client.conf
share/doc/amanda/example/amanda.conf
share/doc/amanda/example/chg-multi.conf
share/doc/amanda/example/chg-scsi.conf
share/doc/amanda/example/disklist
share/doc/amanda/example/inetd.conf.amandaclient
share/doc/amanda/example/inetd.conf.amandaserver
share/doc/amanda/example/label-templates/3hole.ps
share/doc/amanda/example/label-templates/8.5x11.ps
share/doc/amanda/example/label-templates/DIN-A4.ps
share/doc/amanda/example/label-templates/DLT-A4.ps
share/doc/amanda/example/label-templates/DLT.ps
share/doc/amanda/example/label-templates/EXB-8500.ps
share/doc/amanda/example/label-templates/HP-DAT.ps
share/doc/amanda/example/xinetd.amandaclient
share/doc/amanda/example/xinetd.amandaserver
share/doc/amanda/template.d/README
share/doc/amanda/template.d/advanced.conf
share/doc/amanda/template.d/amanda-S3.conf
share/doc/amanda/template.d/amanda-harddisk.conf
share/doc/amanda/template.d/amanda-single-tape.conf
share/doc/amanda/template.d/amanda-tape-changer.conf
share/doc/amanda/template.d/chg-manual.conf
share/doc/amanda/template.d/dumptypes
share/doc/amanda/template.d/tapetypes

View File

@@ -0,0 +1,23 @@
# $NetBSD: buildlink3.mk,v 1.14 2012/07/30 07:21:11 sbd Exp $
BUILDLINK_TREE+= amanda-common
.if !defined(AMANDA_COMMON_BUILDLINK3_MK)
AMANDA_COMMON_BUILDLINK3_MK:=
.include "version.mk"
BUILDLINK_API_DEPENDS.amanda-common+= amanda-common>=${AMANDA_VERSION}
BUILDLINK_ABI_DEPENDS.amanda-common+= amanda-common>=${AMANDA_VERSION}
BUILDLINK_PKGSRCDIR.amanda-common?= ../../sysutils/amanda-common
BUILDLINK_LIBDIRS.amanda-common= lib/amanda
pkgbase := amanda-common
.include "../../mk/pkg-build-options.mk"
. if !empty(PKG_BUILD_OPTIONS.amanda-common:Mamanda-krb5)
CONFIGURE_ARGS+= --with-krb5-security=${KRB5BASE:Q}
. include "../../mk/krb5.buildlink3.mk"
. endif
.endif # AMANDA_COMMON_BUILDLINK3_MK
BUILDLINK_TREE+= -amanda-common

View File

@@ -0,0 +1,24 @@
$NetBSD: distinfo,v 1.12 2012/09/25 05:04:36 sbd Exp $
SHA1 (amanda-3.3.1.tar.gz) = 22273381f61319e46e1da9d7029ca2b3991eee98
RMD160 (amanda-3.3.1.tar.gz) = 0d66ad25fd905901a1afd3651bd6c1e00db9af8d
Size (amanda-3.3.1.tar.gz) = 4328574 bytes
SHA1 (patch-Makefile.am) = 005201b7a9b4e875c45362456e100c57fcf700f3
SHA1 (patch-amandad-src_Makefile.am) = bdff2c06da0ee6c88237c56568fe20c5cefedd7a
SHA1 (patch-application-src_Makefile.am) = 3a5f256ab7e2439c2e19c4f75234d3a677707cc2
SHA1 (patch-client-src_Makefile.am) = 641ef76fd1ea413b416704e1e52e25a93a596442
SHA1 (patch-client-src_sendbackup-dump.c) = aea1aca0bbcdab0c393b012a592cbc5ca458acec
SHA1 (patch-client-src_sendsize.c) = 32a1627c250b6413e4695a610bba59796c6e7ed6
SHA1 (patch-common-src_glib-util.c) = 8b62499f6730843fbf9e872adc80978b77b5573f
SHA1 (patch-common-src_glib-util.h) = 6d5b14acd7a44b17a52ebc697f5354db2a4b04f9
SHA1 (patch-common-src_security-util.h) = c628cc19a624da2cfabdb7d488bc2cd2d4b955a4
SHA1 (patch-config_amanda_dumpers.m4) = 3d0cf6133b003de53e05929d2ce04eaa0f614819
SHA1 (patch-config_amanda_krb5-security.m4) = c82af0e106e49b59994b40f12ed5b1c165a8497f
SHA1 (patch-config_macro-archive_xsltproc.m4) = 20324db1ce3db016fa89fe39df5a8133c7766693
SHA1 (patch-device-src_Makefile.am) = 29fd554033ff0ff7b1d98a08306f157ced7324c5
SHA1 (patch-example_Makefile.am) = 8d2dac1abdc473fbf94489bcb620a42a665fd27a
SHA1 (patch-oldrecover-src_Makefile.am) = 9127c1523937da3955662cc0b0921d05bca75248
SHA1 (patch-perl_Makefile.am) = 7b09e5cc30c9b441dae03b06bef5c757c93ff9f7
SHA1 (patch-perl_amglue_Makefile.am) = 051e456a5d34dd19a11ccd45c32f078e72d16e6f
SHA1 (patch-recover-src_Makefile.am) = cd2ee55a0b285a33903e6157260cf167a1c79249
SHA1 (patch-server-src_Makefile.am) = d1a4546a8ae55b86040d423bd1bde7b5de5f03aa

View File

@@ -0,0 +1,42 @@
# $NetBSD: options.mk,v 1.9 2012/07/30 07:21:11 sbd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.amanda
# Common options.
PKG_SUPPORTED_OPTIONS+= inet6 amanda-fqdn amanda-ssh kerberos
PKG_SUGGESTED_OPTIONS+= inet6 amanda-fqdn amanda-ssh kerberos
# Client options.
PKG_SUPPORTED_OPTIONS+= amanda-smb amanda-dump-snap
PKG_SUGGESTED_OPTIONS+= amanda-dump-snap
PKG_OPTIONS_LEGACY_VARS+= AMANDA_FQDN:amanda-fqdn
PKG_OPTIONS_LEGACY_VARS+= AMANDA_SSH:amanda-ssh
PKG_OPTIONS_LEGACY_VARS+= AMANDA_SMB:amanda-smb
PKG_OPTIONS_LEGACY_VARS+= AMANDA_DUMP_SNAP:amanda-dump-snap
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --with-ipv6
.else
CONFIGURE_ARGS+= --without-ipv6
.endif
.if !empty(PKG_OPTIONS:Mamanda-fqdn)
CONFIGURE_ARGS+= --with-fqdn
.endif
.if !empty(PKG_OPTIONS:Mamanda-ssh)
CONFIGURE_ARGS+= --with-ssh-security
. if !exists(/usr/bin/ssh)
DEPENDS+= openssh-[0-9]*:../../security/openssh
FIND_PREFIX:= SSHPREFIX=openssh
.include "../../mk/find-prefix.mk"
CONFIGURE_ENV+= ac_cv_path_SSH=${SSHPREFIX}/bin/ssh
. endif
.endif
.if !empty(PKG_OPTIONS:Mkerberos)
CONFIGURE_ARGS+= --with-krb5-security=${KRB5BASE:Q}
. include "../../mk/krb5.buildlink3.mk"
.endif

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-Makefile.am,v 1.1 2012/07/30 07:21:11 sbd Exp $
--- Makefile.am.orig 2012-02-21 11:36:51.000000000 +0000
+++ Makefile.am
@@ -43,7 +43,7 @@ SUBDIRS = . \
packaging \
installcheck
-pkgdata_DATA = \
+doc_DATA = \
ReleaseNotes \
COPYRIGHT \
NEWS \

View File

@@ -0,0 +1,27 @@
$NetBSD: patch-amandad-src_Makefile.am,v 1.1 2012/07/30 07:21:11 sbd Exp $
Don't install amandad by default (it get manualy install in amanda-client).
--- amandad-src/Makefile.am.orig 2012-02-21 11:36:42.000000000 +0000
+++ amandad-src/Makefile.am
@@ -16,7 +16,7 @@ LINTFLAGS=$(AMLINTFLAGS)
amlib_LTLIBRARIES = libamandad.la
-amlibexec_PROGRAMS = amandad
+EXTRA_PROGRAMS = amandad
libamandad_la_SOURCES= amandad_util.c
libamandad_la_LDFLAGS = -release $(VERSION) $(AS_NEEDED_FLAGS)
@@ -31,9 +31,8 @@ noinst_HEADERS = amandad.h
# routines, and second to pick up any references in the other libraries.
###
-LDADD = ../common-src/libamanda.la \
- libamandad.la \
- ../common-src/libamanda.la \
+LDADD = -lamanda \
+ -lamandad \
../gnulib/libgnu.la
lint:

View File

@@ -0,0 +1,20 @@
$NetBSD: patch-application-src_Makefile.am,v 1.1 2012/07/30 07:21:11 sbd Exp $
Link with installed librarys from amanda-common.
--- application-src/Makefile.am.orig 2012-02-21 11:36:45.000000000 +0000
+++ application-src/Makefile.am
@@ -42,10 +42,10 @@ applicationdir = $(APPLICATION_DIR)
applicationexec_PROGRAMS = amgtar amstar
applicationexec_SCRIPTS = $(SCRIPTS_PERL)
-LDADD = ../common-src/libamanda.la \
+LDADD = -lamanda \
../client-src/libamclient.la \
- ../amandad-src/libamandad.la \
- ../common-src/libamanda.la \
+ -lamandad \
+ -lamanda \
../gnulib/libgnu.la
if WANT_SETUID_CLIENT

View File

@@ -0,0 +1,29 @@
$NetBSD: patch-client-src_Makefile.am,v 1.1 2012/07/30 07:21:11 sbd Exp $
Link with installed librarys from amanda-common.
--- client-src/Makefile.am.orig 2012-02-21 11:36:41.000000000 +0000
+++ client-src/Makefile.am
@@ -36,7 +36,7 @@ libamclient_la_SOURCES += findpass.c
endif
libamclient_la_LDFLAGS = -release $(VERSION) $(AS_NEEDED_FLAGS)
-libamclient_la_LIBADD = ../common-src/libamanda.la
+libamclient_la_LIBADD = -lamanda
###
# Because libamanda includes routines (e.g. regex) provided by some system
@@ -45,10 +45,10 @@ libamclient_la_LIBADD = ../common-src/l
# routines, and second to pick up any references in the other libraries.
###
-LDADD = ../common-src/libamanda.la \
+LDADD = -lamanda \
libamclient.la \
- ../amandad-src/libamandad.la \
- ../common-src/libamanda.la \
+ -lamandad \
+ -lamanda \
../gnulib/libgnu.la
# these are used for testing only:

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-client-src_sendbackup-dump.c,v 1.1 2012/07/30 07:21:11 sbd Exp $
Add dump-use-snapshot code.
--- client-src/sendbackup-dump.c.orig 2012-02-21 11:36:41.000000000 +0000
+++ client-src/sendbackup-dump.c
@@ -391,6 +391,9 @@ start_backup(
FREEBSD_EXTRA_KEYS,
"s",
PARAM_HONOR_NODUMP,
+#ifdef HAVE_DUMP_SNAPSHOT
+ "X",
+#endif
"f",
NULL);

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-client-src_sendsize.c,v 1.1 2012/07/30 07:21:11 sbd Exp $
Add dump-use-snapshot code.
--- client-src/sendsize.c.orig 2012-02-21 11:36:41.000000000 +0000
+++ client-src/sendsize.c
@@ -1492,6 +1492,9 @@ getsize_dump(
dumpkeys = vstralloc(level_str,
PARAM_DUMP_ESTIMATE,
PARAM_HONOR_NODUMP,
+# ifdef HAVE_DUMP_SNAPSHOT
+ "X",
+# endif
"s", "f", NULL);
# ifdef HAVE_DUMP_ESTIMATE

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-common-src_glib-util.c,v 1.1 2012/07/30 07:21:11 sbd Exp $
Rename g_queue_free_full to stop conflict with newer glib.
--- common-src/glib-util.c.orig 2012-02-21 11:36:51.000000000 +0000
+++ common-src/glib-util.c
@@ -120,7 +120,7 @@ void slist_free_full(GSList * list, GDes
}
#endif
-void g_queue_free_full(GQueue * queue) {
+void am_g_queue_free_full(GQueue * queue) {
while (!g_queue_is_empty(queue)) {
gpointer data;
data = g_queue_pop_head(queue);

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-common-src_glib-util.h,v 1.1 2012/07/30 07:21:11 sbd Exp $
Rename g_queue_free_full to stop conflict with newer glib.
--- common-src/glib-util.h.orig 2012-02-21 11:36:51.000000000 +0000
+++ common-src/glib-util.h
@@ -72,7 +72,7 @@ void slist_free_full(GSList * list, GDes
/* 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 am_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

@@ -0,0 +1,17 @@
$NetBSD: patch-common-src_security-util.h,v 1.1 2012/09/09 22:21:54 spz Exp $
--- common-src/security-util.h.orig 2012-02-21 11:36:51.000000000 +0000
+++ common-src/security-util.h
@@ -52,7 +52,11 @@
#define H_EOF -2 /* this connection has been shut down */
#ifdef KRB5_SECURITY
-# define KRB5_DEPRECATED 1
+# if !defined(__NetBSD__) /* expecting more OSes to need this */
+# define KRB5_DEPRECATED 1
+# else
+# define KRB5_DEPRECATED
+# endif __NetBSD__
# ifndef KRB5_HEIMDAL_INCLUDES
# include <gssapi/gssapi_generic.h>
# else

View File

@@ -0,0 +1,62 @@
$NetBSD: patch-config_amanda_dumpers.m4,v 1.1 2012/07/30 07:21:11 sbd Exp $
* Fix shell portability problem.
* Add '--with-dump-use-snapshot' code.
--- config/amanda/dumpers.m4.orig 2012-02-21 11:36:49.000000000 +0000
+++ config/amanda/dumpers.m4
@@ -166,7 +166,7 @@ AC_DEFUN([AMANDA_PROG_SUNTAR],
# done
],
[
- if test "x$SUNTAR" == "x"; then
+ if test "x$SUNTAR" = "x"; then
SUNTAR="/usr/sbin/tar"
fi
]
@@ -484,6 +484,44 @@ AC_DEFUN([AMANDA_PROG_DUMP_RESTORE],
[Define this if dump accepts -h for honoring nodump. ])
fi
])
+ AC_ARG_WITH(dump-use-snapshot,
+ [ --with-dump-use-snapshot if dump supports -X, use it],
+ [ if test -x $DUMP; then
+ AC_CACHE_CHECK(
+ [whether $DUMP supports -X (use filesystem snapshot)],
+ amanda_cv_use_snapshot,
+ [ case "$DUMP" in
+ *dump)
+ AC_TRY_COMMAND($DUMP 9Xf /dev/null /dev/null/invalid/fs 2>&1
+ | $GREP -v Dumping
+ | $GREP -v Date
+ | $GREP -v Label >conftest.d-x 2>&1)
+ cat conftest.d-x >&AS_MESSAGE_LOG_FD()
+ AC_TRY_COMMAND($DUMP 9f /dev/null /dev/null/invalid/fs 2>&1
+ | $GREP -v Dumping
+ | $GREP -v Date
+ | $GREP -v Label >conftest.d 2>&1)
+ cat conftest.d >&AS_MESSAGE_LOG_FD()
+ if AC_TRY_COMMAND(diff conftest.d-x conftest.d 1>&2); then
+ amanda_cv_use_snapshot=yes
+ else
+ amanda_cv_use_snapshot=no
+ fi
+ rm -f conftest.d conftest.d-x
+ ;;
+ *) amanda_cv_use_snapshot=no
+ ;;
+ esac
+ ])
+ else
+ AC_MSG_WARN([*** $DUMP is not executable, cannot run -X test])
+ amanda_cv_use_snapshot=no
+ fi
+ if test "$amanda_cv_use_snapshot" = yes; then
+ AC_DEFINE(HAVE_DUMP_SNAPSHOT,1,[Define this if dump accepts -X for using snapshots. ])
+ fi
+ ])
+
fi
AC_SUBST(AIX_BACKUP)

View File

@@ -0,0 +1,25 @@
$NetBSD: patch-config_amanda_krb5-security.m4,v 1.1 2012/07/30 07:21:11 sbd Exp $
* Make passing the krb5 location to '--with-krb5-security=' work.
* Make building with Heimdal work
--- config/amanda/krb5-security.m4.orig 2012-02-21 11:36:49.000000000 +0000
+++ config/amanda/krb5-security.m4
@@ -27,7 +27,7 @@ AC_DEFUN([AMANDA_KRB5_SECURITY],
case "$withval" in
n | no) KRB5_SECURITY=no ;;
y | ye | yes) KRB5_SECURITY=yes ;;
- *) KRB5_SPOTS="$KRB5_SECURITY"
+ *) KRB5_SPOTS="$withval"
KRB5_SECURITY=yes
;;
esac
@@ -61,6 +61,8 @@ AC_DEFUN([AMANDA_KRB5_SECURITY],
AMANDA_ADD_LIBS([-lgssapi_krb5 -lkrb5 $K5CRYPTO $K5SUPPORT -lcom_err])
break
elif test \( -f ${k5libdir}/libkrb5.a -o -f ${k5libdir}/libkrb5.so \) -a \( -f ${k5libdir}/libasn1.a -o -f ${k5libdir}/libasn1.so \) -a \( -f ${k5libdir}/libgssapi.a -o -f ${k5libdir}/libgssapi.so \); then
+ KRB5_DIR_FOUND=$dir
+ KRB5_LIBDIR_FOUND=$k5libdir
AMANDA_ADD_LIBS([-lgssapi -lkrb5 -lasn1])
AMANDA_ADD_CPPFLAGS([-DKRB5_HEIMDAL_INCLUDES])
break

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-config_macro-archive_xsltproc.m4,v 1.1 2012/07/30 07:21:11 sbd Exp $
Fix shell portability problem.
--- config/macro-archive/xsltproc.m4.orig 2012-02-21 11:36:49.000000000 +0000
+++ config/macro-archive/xsltproc.m4
@@ -67,7 +67,7 @@ AS_HELP_STRING([--with-xsltproc[[[[[=PAT
AC_ARG_WITH(xsltproc-flags,
AS_HELP_STRING([ --with-xsltproc-flags=FLAGS],
[Flags to pass to xsltproc (default $1)]),
- [ if test "x$withval" == "xno"; then
+ [ if test "x$withval" = "xno"; then
XSLTPROC_FLAGS=''
else
if test "x$withval" != "xyes"; then

View File

@@ -0,0 +1,26 @@
$NetBSD: patch-device-src_Makefile.am,v 1.1 2012/07/30 07:21:11 sbd Exp $
Link with installed librarys from amanda-common.
--- device-src/Makefile.am.orig 2012-02-21 11:36:44.000000000 +0000
+++ device-src/Makefile.am
@@ -43,8 +43,8 @@ libamdevice_la_SOURCES = \
xfer-dest-taper-splitter.c \
xfer-source-recovery.c
libamdevice_la_LIBADD = \
- ../common-src/libamanda.la \
- ../xfer-src/libamxfer.la
+ -lamanda \
+ -lamxfer
if WANT_TAPE_DEVICE
libamdevice_la_SOURCES += tape-device.c
@@ -60,7 +60,7 @@ endif
if WANT_NDMP_DEVICE
libamdevice_la_SOURCES += ndmp-device.c
-libamdevice_la_LIBADD += ../ndmp-src/libndmlib.la
+libamdevice_la_LIBADD += -lndmlib
endif
## automake-style tests

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-example_Makefile.am,v 1.1 2012/07/30 07:21:11 sbd Exp $
--- example/Makefile.am.orig 2012-02-21 11:36:41.000000000 +0000
+++ example/Makefile.am
@@ -3,7 +3,7 @@
include $(top_srcdir)/config/automake/vars.am
include $(top_srcdir)/config/automake/installperms.am
-amanda_dir = $(amdatadir)
+amanda_dir = $(docdir)
templatedir = $(amanda_dir)/template.d
server_exampledir = $(amanda_dir)/example
client_exampledir = $(amanda_dir)/example

View File

@@ -0,0 +1,20 @@
$NetBSD: patch-oldrecover-src_Makefile.am,v 1.1 2012/07/30 07:21:11 sbd Exp $
Link with installed librarys from amanda-common.
--- oldrecover-src/Makefile.am.orig 2012-02-21 11:36:41.000000000 +0000
+++ oldrecover-src/Makefile.am
@@ -24,11 +24,11 @@ sbin_PROGRAMS = amoldrecover
# routines, and second to pick up any references in the other libraries.
###
-LDADD = ../common-src/libamanda.la \
+LDADD = -lamanda \
@LEXLIB@ \
$(READLINE_LIBS) \
../client-src/libamclient.la \
- ../common-src/libamanda.la
+ -lamanda
amoldrecover_CSRC = amrecover.c \
display_commands.c extract_list.c \

View File

@@ -0,0 +1,216 @@
$NetBSD: patch-perl_Makefile.am,v 1.3 2012/09/25 05:04:36 sbd Exp $
--- perl/Makefile.am.orig 2012-02-21 11:36:47.000000000 +0000
+++ perl/Makefile.am
@@ -118,9 +118,9 @@ libArchivedir = $(amperldir)/auto/Amanda
libArchive_LTLIBRARIES = libArchive.la
libArchive_la_SOURCES = Amanda/Archive.c $(AMGLUE_SWG)
libArchive_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libArchive_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/amar-src/libamar.la \
- $(top_builddir)/common-src/libamanda.la
+libArchive_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/amar-src -lamar \
+ -L$(top_builddir)/common-src -lamanda
Amanda_DATA += Amanda/Archive.pm
EXTRA_DIST += Amanda/Archive.swg Amanda/Archive.pm Amanda/Archive.pod
MAINTAINERCLEANFILES += Amanda/Archive.c Amanda/Archive.pm
@@ -135,9 +135,9 @@ libDevicedir = $(amperldir)/auto/Amanda/
libDevice_LTLIBRARIES = libDevice.la
libDevice_la_SOURCES = Amanda/Device.c $(AMGLUE_SWG)
libDevice_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libDevice_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/device-src/libamdevice.la \
- $(top_builddir)/common-src/libamanda.la
+libDevice_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/device-src -lamdevice \
+ -L$(top_builddir)/common-src -lamanda
Amanda_DATA += Amanda/Device.pm
MAINTAINERCLEANFILES += Amanda/Device.c Amanda/Device.pm
endif
@@ -149,9 +149,9 @@ libLogfiledir = $(amperldir)/auto/Amanda
libLogfile_LTLIBRARIES = libLogfile.la
libLogfile_la_SOURCES = Amanda/Logfile.c $(AMGLUE_SWG)
libLogfile_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libLogfile_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/server-src/libamserver.la \
- $(top_builddir)/common-src/libamanda.la
+libLogfile_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/server-src -lamserver \
+ -L$(top_builddir)/common-src -lamanda
Amanda_DATA += Amanda/Logfile.pm
MAINTAINERCLEANFILES += Amanda/Logfile.c Amanda/Logfile.pm
endif
@@ -163,9 +163,9 @@ libCmdlinedir = $(amperldir)/auto/Amanda
libCmdline_LTLIBRARIES = libCmdline.la
libCmdline_la_SOURCES = Amanda/Cmdline.c $(AMGLUE_SWG)
libCmdline_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libCmdline_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/server-src/libamserver.la \
- $(top_builddir)/common-src/libamanda.la
+libCmdline_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/server-src -lamserver \
+ -L$(top_builddir)/common-src -lamanda
Amanda_DATA += Amanda/Cmdline.pm
MAINTAINERCLEANFILES += Amanda/Cmdline.c Amanda/Cmdline.pm
endif
@@ -177,9 +177,9 @@ libTapelistdir = $(amperldir)/auto/Amand
libTapelist_LTLIBRARIES = libTapelist.la
libTapelist_la_SOURCES = Amanda/Tapelist.c $(AMGLUE_SWG)
libTapelist_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libTapelist_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/server-src/libamserver.la \
- $(top_builddir)/common-src/libamanda.la
+libTapelist_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/server-src -lamserver \
+ -L$(top_builddir)/common-src -lamanda
Amanda_DATA += Amanda/Tapelist.pm
MAINTAINERCLEANFILES += Amanda/Tapelist.c Amanda/Tapelist.pm
endif
@@ -191,9 +191,9 @@ libDisklistdir = $(amperldir)/auto/Amand
libDisklist_LTLIBRARIES = libDisklist.la
libDisklist_la_SOURCES = Amanda/Disklist.c $(AMGLUE_SWG)
libDisklist_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libDisklist_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/server-src/libamserver.la \
- $(top_builddir)/common-src/libamanda.la
+libDisklist_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/server-src -lamserver \
+ -L$(top_builddir)/common-src -lamanda
Amanda_DATA += Amanda/Disklist.pm
MAINTAINERCLEANFILES += Amanda/Disklist.c Amanda/Disklist.pm
endif
@@ -205,8 +205,8 @@ libFeaturedir = $(amperldir)/auto/Amanda
libFeature_LTLIBRARIES = libFeature.la
libFeature_la_SOURCES = Amanda/Feature.c $(AMGLUE_SWG)
libFeature_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libFeature_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+libFeature_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/common-src -lamanda
Amanda_DATA += Amanda/Feature.pm
MAINTAINERCLEANFILES += Amanda/Feature.c Amanda/Feature.pm
EXTRA_DIST += Amanda/Feature.swg Amanda/Feature.pm Amanda/Feature.pod
@@ -333,8 +333,8 @@ libXferdir = $(amperldir)/auto/Amanda/Xf
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
+libXfer_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/common-src -lamxfer
Amanda_DATA += Amanda/Xfer.pm
MAINTAINERCLEANFILES += Amanda/Xfer.c Amanda/Xfer.pm
EXTRA_DIST += Amanda/Xfer.swg Amanda/Xfer.pm Amanda/Xfer.pod
@@ -345,9 +345,9 @@ libNDMPdir = $(amperldir)/auto/Amanda/ND
libNDMP_LTLIBRARIES = libNDMP.la
libNDMP_la_SOURCES = Amanda/NDMP.c $(AMGLUE_SWG)
libNDMP_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libNDMP_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/common-src/libamanda.la \
- $(top_builddir)/ndmp-src/libndmlib.la
+libNDMP_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/common-src -lamanda \
+ -L$(top_builddir)/ndmp-src -lndmlib
Amanda_DATA += Amanda/NDMP.pm
MAINTAINERCLEANFILES += Amanda/NDMP.c Amanda/NDMP.pm
EXTRA_DIST += Amanda/NDMP.swg Amanda/NDMP.pm Amanda/NDMP.pod
@@ -359,8 +359,8 @@ libXferServerdir = $(amperldir)/auto/Ama
libXferServer_LTLIBRARIES = libXferServer.la
libXferServer_la_SOURCES = Amanda/XferServer.c $(AMGLUE_SWG)
libXferServer_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libXferServer_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/server-src/libamserver.la
+libXferServer_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/server-src -lamserver
Amanda_DATA += Amanda/XferServer.pm
MAINTAINERCLEANFILES += Amanda/XferServer.c Amanda/XferServer.pm
EXTRA_DIST += Amanda/XferServer.swg Amanda/XferServer.pm Amanda/XferServer.pod
@@ -392,8 +392,8 @@ libDebugdir = $(amperldir)/auto/Amanda/D
libDebug_LTLIBRARIES = libDebug.la
libDebug_la_SOURCES = Amanda/Debug.c $(AMGLUE_SWG)
libDebug_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libDebug_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+libDebug_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/common-src -lamanda
Amanda_DATA += Amanda/Debug.pm
EXTRA_DIST += Amanda/Debug.swg Amanda/Debug.pm Amanda/Debug.pod
MAINTAINERCLEANFILES += Amanda/Debug.c Amanda/Debug.pm
@@ -403,8 +403,8 @@ libConfigdir = $(amperldir)/auto/Amanda/
libConfig_LTLIBRARIES = libConfig.la
libConfig_la_SOURCES = Amanda/Config.c $(AMGLUE_SWG)
libConfig_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libConfig_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+libConfig_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/common-src -lamanda
Amanda_DATA += Amanda/Config.pm
EXTRA_DIST += Amanda/Config.swg Amanda/Config.pm Amanda/Config.pod
MAINTAINERCLEANFILES += Amanda/Config.c Amanda/Config.pm
@@ -419,8 +419,8 @@ libUtildir = $(amperldir)/auto/Amanda/Ut
libUtil_LTLIBRARIES = libUtil.la
libUtil_la_SOURCES = Amanda/Util.c $(AMGLUE_SWG)
libUtil_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libUtil_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+libUtil_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/common-src -lamanda
Amanda_DATA += Amanda/Util.pm
EXTRA_DIST += Amanda/Util.swg Amanda/Util.pm Amanda/Util.pod
MAINTAINERCLEANFILES += Amanda/Util.c Amanda/Util.pm
@@ -430,8 +430,8 @@ libHeaderdir = $(amperldir)/auto/Amanda/
libHeader_LTLIBRARIES = libHeader.la
libHeader_la_SOURCES = Amanda/Header.c $(AMGLUE_SWG)
libHeader_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libHeader_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+libHeader_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/common-src -lamanda
Amanda_DATA += Amanda/Header.pm
EXTRA_DIST += Amanda/Header.swg Amanda/Header.pm Amanda/Header.pod
MAINTAINERCLEANFILES += Amanda/Header.c Amanda/Header.pm
@@ -441,8 +441,8 @@ libTestsdir = $(amperldir)/auto/Amanda/T
libTests_LTLIBRARIES = libTests.la
libTests_la_SOURCES = Amanda/Tests.c $(AMGLUE_SWG)
libTests_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libTests_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+libTests_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/common-src -lamanda
Amanda_DATA += Amanda/Tests.pm
EXTRA_DIST += Amanda/Tests.swg Amanda/Tests.pm Amanda/Tests.pod
MAINTAINERCLEANFILES += Amanda/Tests.c Amanda/Tests.pm
@@ -452,8 +452,8 @@ libMainLoopdir = $(amperldir)/auto/Amand
libMainLoop_LTLIBRARIES = libMainLoop.la
libMainLoop_la_SOURCES = Amanda/MainLoop.c $(AMGLUE_SWG)
libMainLoop_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libMainLoop_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+libMainLoop_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/common-src -lamanda
Amanda_DATA += Amanda/MainLoop.pm
EXTRA_DIST += Amanda/MainLoop.swg Amanda/MainLoop.pm Amanda/MainLoop.pod
MAINTAINERCLEANFILES += Amanda/MainLoop.c Amanda/MainLoop.pm
@@ -469,8 +469,8 @@ libIPCBinarydir = $(amperldir)/auto/Aman
libIPCBinary_LTLIBRARIES = libBinary.la
libBinary_la_SOURCES = Amanda/IPC/Binary.c $(AMGLUE_SWG)
libBinary_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libBinary_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/common-src/libamanda.la
+libBinary_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/common-src -lamanda
AmandaIPC_DATA += Amanda/IPC/Binary.pm
EXTRA_DIST += Amanda/IPC/Binary.swg Amanda/IPC/Binary.pm Amanda/IPC/Binary.pod
MAINTAINERCLEANFILES += Amanda/IPC/Binary.c Amanda/IPC/Binary.pm
@@ -502,8 +502,8 @@ libApplicationdir = $(amperldir)/auto/Am
libApplication_LTLIBRARIES = libApplication.la
libApplication_la_SOURCES = Amanda/Application.c $(AMGLUE_SWG)
libApplication_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libApplication_la_LIBADD = amglue/libamglue.la \
- $(top_builddir)/client-src/libamclient.la
+libApplication_la_LIBADD = -Lamglue -lamglue \
+ -L$(top_builddir)/client-src -lamclient
Amanda_DATA += Amanda/Application.pm
MAINTAINERCLEANFILES += Amanda/Application.c Amanda/Application.pm
endif

View File

@@ -0,0 +1,11 @@
$NetBSD: patch-perl_amglue_Makefile.am,v 1.2 2012/09/25 05:04:36 sbd Exp $
--- perl/amglue/Makefile.am.orig 2012-02-21 11:36:47.000000000 +0000
+++ perl/amglue/Makefile.am
@@ -31,5 +31,5 @@ libamglue_la_SOURCES = \
amglue.h
libamglue_la_LDFLAGS = $(PERL_EXT_LDFLAGS) -release $(VERSION)
libamglue_la_LIBADD = \
- $(top_builddir)/xfer-src/libamxfer.la
+ -L$(top_builddir)/xfer-src -lamxfer
EXTRA_DIST += $(libamglue_la_SOURCES)

View File

@@ -0,0 +1,20 @@
$NetBSD: patch-recover-src_Makefile.am,v 1.1 2012/07/30 07:21:11 sbd Exp $
Link with installed librarys from amanda-common.
--- recover-src/Makefile.am.orig 2012-02-21 11:36:45.000000000 +0000
+++ recover-src/Makefile.am
@@ -25,11 +25,11 @@ sbin_PROGRAMS = amrecover
# routines, and second to pick up any references in the other libraries.
###
-LDADD = ../common-src/libamanda.la \
+LDADD = -lamanda \
@LEXLIB@ \
$(READLINE_LIBS) \
../client-src/libamclient.la \
- ../common-src/libamanda.la
+ -lamanda
amrecover_CSRC = amrecover.c \
display_commands.c extract_list.c \

View File

@@ -0,0 +1,32 @@
$NetBSD: patch-server-src_Makefile.am,v 1.1 2012/07/30 07:21:11 sbd Exp $
Link with installed librarys from amanda-common.
--- server-src/Makefile.am.orig 2012-02-21 11:36:46.000000000 +0000
+++ server-src/Makefile.am
@@ -78,10 +78,10 @@ INSTALLPERMS_exec = \
# routines, and second to pick up any references in the other libraries.
###
-LDADD = ../common-src/libamanda.la \
+LDADD = -lamanda \
libamserver.la \
../device-src/libamdevice.la \
- ../common-src/libamanda.la
+ -lamanda
libamserver_la_SOURCES= amindex.c \
diskfile.c driverio.c cmdline.c \
@@ -91,10 +91,10 @@ libamserver_la_SOURCES= amindex.c \
libamserver_la_LDFLAGS= -release $(VERSION) $(AS_NEEDED_FLAGS)
libamserver_la_LIBADD= ../device-src/libamdevice.la \
- ../common-src/libamanda.la
+ -lamanda
amindexd_LDADD = $(LDADD) \
- ../amandad-src/libamandad.la
+ -lamandad
# there are used for testing only:
TEST_PROGS = diskfile infofile

View File

@@ -0,0 +1,3 @@
# $NetBSD: version.mk,v 1.4 2012/09/24 05:12:54 sbd Exp $
AMANDA_VERSION= 3.3.1
# Do NOT set PKGREVISION in this file!

View File

@@ -0,0 +1,6 @@
AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
backup system that allows the administrator of a LAN to set up a single
master backup server to back up multiple hosts to a single large capacity
tape or disk drive. Amanda uses native tools (such as GNUtar, dump) for
backup and can back up a large number of workstations running multiple
versions of Unix/Mac OS X/Linux/Windows.

View File

@@ -0,0 +1,27 @@
# $NetBSD: Makefile,v 1.33 2012/10/23 19:50:51 asau Exp $
#
PKGNAME= amanda-plot-${AMANDA_VERSION}
PKGREVISION= 1
SVR4_PKGNAME= amapl
COMMENT= Visualizes the behavior of Amanda, a network backup system
DEPENDS+= gnuplot>=3.7:../../graphics/gnuplot
DEPENDS+= amanda-server-${AMANDA_VERSION}{,nb[0-9]*}:../../sysutils/amanda-server
MANPAGES+= amplot.8
.include "../../sysutils/amanda-common/Makefile.common"
FIND_PREFIX:= GNUPLOT_PREFIX=gnuplot
.include "../../mk/find-prefix.mk"
CONFIGURE_ARGS+= --without-client
CONFIGURE_ARGS+= --without-restore
CONFIGURE_ARGS+= --without-amrecover
CONFIGURE_ENV+= GNUPLOT="${GNUPLOT_PREFIX}/bin/gnuplot"
BUILD_DIRS= amplot
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,7 @@
@comment $NetBSD: PLIST,v 1.2 2012/07/30 07:21:11 sbd Exp $
libexec/amanda/amcat.awk
libexec/amanda/amplot.awk
libexec/amanda/amplot.g
libexec/amanda/amplot.gp
sbin/amplot
man/man8/amplot.8

View File

@@ -0,0 +1,6 @@
AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
backup system that allows the administrator of a LAN to set up a single
master backup server to back up multiple hosts to a single large capacity
tape or disk drive. Amanda uses native tools (such as GNUtar, dump) for
backup and can back up a large number of workstations running multiple
versions of Unix/Mac OS X/Linux/Windows.

View File

@@ -0,0 +1,109 @@
# $NetBSD: Makefile,v 1.55 2012/10/23 19:50:51 asau Exp $
PKGNAME= amanda-server-${AMANDA_VERSION}
PKGREVISION= 1
SVR4_PKGNAME= amase
COMMENT= Server part of Amanda, a network backup system
USE_TOOLS+= awk:run mail:run
CONFIGURE_ENV+= MAILER=${TOOLS_PATH.mail}
CONFIGURE_ARGS+= --without-client --without-gnuplot
BUILD_DIRS= device-src server-src changer-src
MANPAGES+= amanda-devices.7
MANPAGES+= amanda-compatibility.7
MANPAGES+= amanda-changers.7
MANPAGES+= amanda-interactivity.7
MANPAGES+= amanda-taperscan.7
MANPAGES+= amaddclient.8
MANPAGES+= amadmin.8
MANPAGES+= amaespipe.8
MANPAGES+= amcheck.8
MANPAGES+= amcheckdb.8
MANPAGES+= amcheckdump.8
MANPAGES+= amcleanup.8
MANPAGES+= amcleanupdisk.8
MANPAGES+= amcrypt-ossl-asym.8
MANPAGES+= amcrypt-ossl.8
MANPAGES+= amcrypt.8
MANPAGES+= amcryptsimple.8
MANPAGES+= amdevcheck.8
MANPAGES+= amdump.8
MANPAGES+= amflush.8
MANPAGES+= amgetconf.8
MANPAGES+= amgpgcrypt.8
MANPAGES+= amlabel.8
MANPAGES+= amoverview.8
MANPAGES+= amreport.8
MANPAGES+= amrmtape.8
MANPAGES+= amserverconfig.8
MANPAGES+= amstatus.8
MANPAGES+= amtape.8
MANPAGES+= amtapetype.8
MANPAGES+= amtoc.8
MANPAGES+= amvault.8
MANPAGES+= disklist.5
MANPAGES+= tapelist.5
MANPAGES+= amrestore.8
MANPAGES+= amfetchdump.8
PERL5_MODS+= Amanda/Changer.pm
PERL5_MODS+= Amanda/Changer/aggregate.pm
PERL5_MODS+= Amanda/Changer/compat.pm
PERL5_MODS+= Amanda/Changer/disk.pm
PERL5_MODS+= Amanda/Changer/multi.pm
PERL5_MODS+= Amanda/Changer/ndmp.pm
PERL5_MODS+= Amanda/Changer/null.pm
PERL5_MODS+= Amanda/Changer/rait.pm
PERL5_MODS+= Amanda/Changer/robot.pm
PERL5_MODS+= Amanda/Changer/single.pm
PERL5_MODS+= Amanda/Cmdline.pm
PERL5_MODS+= Amanda/Curinfo.pm
PERL5_MODS+= Amanda/Curinfo/Info.pm
PERL5_MODS+= Amanda/DB/Catalog.pm
PERL5_MODS+= Amanda/Device.pm
PERL5_MODS+= Amanda/Disklist.pm
PERL5_MODS+= Amanda/Holding.pm
PERL5_MODS+= Amanda/Interactivity.pm
PERL5_MODS+= Amanda/Interactivity/email.pm
PERL5_MODS+= Amanda/Interactivity/stdin.pm
PERL5_MODS+= Amanda/Interactivity/tty.pm
PERL5_MODS+= Amanda/Interactivity/tty_email.pm
PERL5_MODS+= Amanda/Logfile.pm
PERL5_MODS+= Amanda/Recovery/Clerk.pm
PERL5_MODS+= Amanda/Recovery/Planner.pm
PERL5_MODS+= Amanda/Recovery/Scan.pm
PERL5_MODS+= Amanda/Report.pm
PERL5_MODS+= Amanda/Report/human.pm
PERL5_MODS+= Amanda/Report/postscript.pm
PERL5_MODS+= Amanda/Report/xml.pm
PERL5_MODS+= Amanda/ScanInventory.pm
PERL5_MODS+= Amanda/Tapelist.pm
PERL5_MODS+= Amanda/Taper/Controller.pm
PERL5_MODS+= Amanda/Taper/Protocol.pm
PERL5_MODS+= Amanda/Taper/Scan.pm
PERL5_MODS+= Amanda/Taper/Scan/lexical.pm
PERL5_MODS+= Amanda/Taper/Scan/oldest.pm
PERL5_MODS+= Amanda/Taper/Scan/traditional.pm
PERL5_MODS+= Amanda/Taper/Scribe.pm
PERL5_MODS+= Amanda/Taper/Worker.pm
PERL5_MODS+= Amanda/XferServer.pm
PERL5_LIBS+= Cmdline
PERL5_LIBS+= Device
PERL5_LIBS+= Disklist
PERL5_LIBS+= Logfile
PERL5_LIBS+= Tapelist
PERL5_LIBS+= XferServer
.include "../../sysutils/amanda-common/Makefile.common"
SPECIAL_PERMS+= sbin/amcheck ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/planner ${AM_PROG_PERMS}
SPECIAL_PERMS+= libexec/amanda/dumper ${AM_PROG_PERMS}
.include "../../sysutils/amanda-common/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,125 @@
@comment $NetBSD: PLIST,v 1.8 2012/07/30 07:21:12 sbd Exp $
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Changer.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Changer/aggregate.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Changer/compat.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Changer/disk.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Changer/multi.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Changer/ndmp.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Changer/null.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Changer/rait.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Changer/robot.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Changer/single.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Cmdline.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Curinfo.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Curinfo/Info.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/DB/Catalog.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Device.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Disklist.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Holding.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Interactivity.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Interactivity/email.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Interactivity/stdin.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Interactivity/tty.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Interactivity/tty_email.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Logfile.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Recovery/Clerk.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Recovery/Planner.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Recovery/Scan.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Report.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Report/human.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Report/postscript.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Report/xml.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/ScanInventory.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Tapelist.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Taper/Controller.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Taper/Protocol.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Taper/Scan.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Taper/Scan/lexical.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Taper/Scan/oldest.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Taper/Scan/traditional.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Taper/Scribe.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/Taper/Worker.pm
${PERL5_SUB_INSTALLVENDORLIB}/Amanda/XferServer.pm
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/Cmdline/libCmdline.la
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/Device/libDevice.la
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/Disklist/libDisklist.la
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/Logfile/libLogfile.la
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/Tapelist/libTapelist.la
${PERL5_SUB_INSTALLVENDORLIB}/auto/Amanda/XferServer/libXferServer.la
sbin/amcleanupdisk
sbin/amfetchdump
sbin/amdump
sbin/amcheckdb
sbin/amaddclient
sbin/amtapetype
sbin/amvault
sbin/amstatus
sbin/amdevcheck
sbin/amrestore
sbin/amoverview
sbin/amreport
sbin/amcheck
sbin/amrmtape
sbin/amlabel
sbin/amflush
sbin/amserverconfig
sbin/amcleanup
sbin/amcheckdump
sbin/amtape
sbin/amadmin
sbin/amtoc
libexec/amanda/amcheck-device
libexec/amanda/taper
libexec/amanda/amtrmidx
libexec/amanda/chg-lib.sh
libexec/amanda/amidxtaped
libexec/amanda/chg-manual
libexec/amanda/planner
libexec/amanda/chg-zd-mtx
libexec/amanda/amindexd
libexec/amanda/driver
libexec/amanda/chg-multi
libexec/amanda/dumper
libexec/amanda/amtrmlog
libexec/amanda/amlogroll
libexec/amanda/chg-disk
libexec/amanda/chunker
libexec/amanda/amdumpd
lib/amanda/libamserver.la
lib/amanda/libamdevice.la
man/man5/disklist.5
man/man5/tapelist.5
man/man7/amanda-changers.7
man/man7/amanda-compatibility.7
man/man7/amanda-devices.7
man/man7/amanda-interactivity.7
man/man7/amanda-taperscan.7
man/man8/amaddclient.8
man/man8/amadmin.8
man/man8/amaespipe.8
man/man8/amcheck.8
man/man8/amcheckdb.8
man/man8/amcheckdump.8
man/man8/amcleanup.8
man/man8/amcleanupdisk.8
man/man8/amcrypt-ossl-asym.8
man/man8/amcrypt-ossl.8
man/man8/amcrypt.8
man/man8/amcryptsimple.8
man/man8/amdevcheck.8
man/man8/amdump.8
man/man8/amfetchdump.8
man/man8/amflush.8
man/man8/amgetconf.8
man/man8/amgpgcrypt.8
man/man8/amlabel.8
man/man8/amoverview.8
man/man8/amreport.8
man/man8/amrestore.8
man/man8/amrmtape.8
man/man8/amserverconfig.8
man/man8/amstatus.8
man/man8/amtape.8
man/man8/amtapetype.8
man/man8/amtoc.8
man/man8/amvault.8

6
sysutils/amanda/DESCR Normal file
View File

@@ -0,0 +1,6 @@
AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
backup system that allows the administrator of a LAN to set up a single
master backup server to back up multiple hosts to a single large capacity
tape or disk drive. Amanda uses native tools (such as GNUtar, dump) for
backup and can back up a large number of workstations running multiple
versions of Unix/Mac OS X/Linux/Windows.

21
sysutils/amanda/Makefile Normal file
View File

@@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.47 2012/10/23 19:50:50 asau Exp $
#
.include "../../sysutils/amanda-common/version.mk"
DISTNAME= amanda-${AMANDA_VERSION}
CATEGORIES= sysutils
MASTER_SITES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
# MAINTAINER sort-of gdt@NetBSD.org
HOMEPAGE= http://www.amanda.org/
COMMENT= The "meta-package" for Amanda, a network backup system
META_PACKAGE= yes
DEPENDS+= amanda-client-${AMANDA_VERSION}{,nb[0-9]*}:../../sysutils/amanda-client
DEPENDS+= amanda-server-${AMANDA_VERSION}{,nb[0-9]*}:../../sysutils/amanda-server
DEPENDS+= amanda-plot-${AMANDA_VERSION}{,nb[0-9]*}:../../sysutils/amanda-plot
.include "../../mk/bsd.pkg.mk"

20
sysutils/amtterm/DESCR Normal file
View File

@@ -0,0 +1,20 @@
Active Management Technology (AMT) tools
descriptions from man pages:
amttool - remotely control Intel AMT managed machines.
amtterm - Intel AMT serial-over-lan (sol) client.
from amt-howto(7):
What is AMT and why I should care?
AMT stands for "Active Management Technology". It provides some remote
management facilities. They are handled by the hardware and firmware,
thus they work independant from the operation system. Means: It works
before Linux bootet up to the point where it activated the network
interface. It works even when your most recent test kernel deadlocked
the machine. Which makes it quite useful for development machines ...
Intel AMT is part of the vPro Platform. Recent intel-chipset based
business machines should have it. My fairly new Intel SDV machine has
it too.

25
sysutils/amtterm/Makefile Normal file
View File

@@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.16 2013/06/06 12:55:02 wiz Exp $
#
DISTNAME= amtterm-1.3
PKGREVISION= 11
CATEGORIES= sysutils
MASTER_SITES= http://www.kraxel.org/releases/amtterm/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= # empty
COMMENT= Active Management Technology (AMT) tools
LICENSE= gnu-gpl-v2
DEPENDS+= p5-SOAP-Lite-[0-9]*:../../net/p5-SOAP-Lite
USE_TOOLS+= gmake pkg-config perl:run
MAKE_FILE= GNUmakefile
MAKE_FLAGS+= prefix=${PREFIX}
REPLACE_PERL+= amttool
.include "options.mk"
.include "../../mk/bsd.pkg.mk"

9
sysutils/amtterm/PLIST Normal file
View File

@@ -0,0 +1,9 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/13 13:24:01 obache Exp $
bin/amtterm
${PLIST.gamt}bin/gamt
bin/amttool
man/man1/amtterm.1
man/man1/amttool.1
${PLIST.gamt}man/man1/gamt.1
man/man7/amt-howto.7
${PLIST.gamt}share/applications/gamt.desktop

View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.2 2012/08/07 19:21:22 msaitoh Exp $
SHA1 (amtterm-1.3.tar.gz) = cfd199cc870f48a59caa89408b039239eab85322
RMD160 (amtterm-1.3.tar.gz) = 382f9869b849f7cf6180b68f2a2481225ca575af
Size (amtterm-1.2.tar.gz) = 37671 bytes
SHA1 (patch-GNUmakefile) = f0ff91d80b01ea9d4b42ea752b786ce16a698c7d
SHA1 (patch-mk_Variables.mk) = cb2d2fae3c0e650386308bd9290fa62c64a137f7
SHA1 (patch-redir.c) = 862935d9e74a9df791eb5b22baf0cc1ac4b7ffb6

View File

@@ -0,0 +1,16 @@
# $NetBSD: options.mk,v 1.1.1.1 2011/05/13 13:24:01 obache Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.amtterm
PKG_SUPPORTED_OPTIONS= amtterm-gamt
.include "../../mk/bsd.options.mk"
PLIST_VARS+= gamt
.if !empty(PKG_OPTIONS:Mamtterm-gamt)
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/vte/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
PLIST.gamt= yes
.endif

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-GNUmakefile,v 1.1.1.1 2011/05/13 13:24:01 obache Exp $
* not to install gamt related files if it is off.
--- GNUmakefile.orig 2008-10-30 09:59:57.000000000 +0000
+++ GNUmakefile
@@ -43,8 +43,10 @@ install: build
$(INSTALL_DIR) $(bindir) $(appdir) $(mandir)/man1 $(mandir)/man7
$(INSTALL_BINARY) $(TARGETS) $(bindir)
$(INSTALL_SCRIPT) amttool $(bindir)
+ifeq ($(HAVE_GTK)$(HAVE_VTE),yesyes)
$(INSTALL_DATA) $(DESKTOP) $(appdir)
$(INSTALL_DATA) gamt.man $(mandir)/man1/gamt.1
+endif
$(INSTALL_DATA) amtterm.man $(mandir)/man1/amtterm.1
$(INSTALL_DATA) amttool.man $(mandir)/man1/amttool.1
$(INSTALL_DATA) amt-howto.man $(mandir)/man7/amt-howto.7

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-mk_Variables.mk,v 1.1.1.1 2011/05/13 13:24:01 obache Exp $
* honor PKGMANDIR
--- mk/Variables.mk.orig 2008-10-30 09:29:19.000000000 +0000
+++ mk/Variables.mk
@@ -9,7 +9,7 @@ bindir = $(DESTDIR)$(prefix)/bin
sbindir = $(DESTDIR)$(prefix)/sbin
libdir = $(DESTDIR)$(prefix)/$(LIB)
shrdir = $(DESTDIR)$(prefix)/share
-mandir = $(shrdir)/man
+mandir = $(DESTDIR)$(prefix)/${PKGMANDIR}
locdir = $(shrdir)/locale
appdir = $(shrdir)/applications

View File

@@ -0,0 +1,16 @@
--- redir.c.orig 2011-05-26 18:19:45.000000000 +0900
+++ redir.c 2012-08-07 13:08:49.000000000 +0900
@@ -281,8 +281,11 @@
switch (count) {
case -1:
- snprintf(r->err, sizeof(r->err), "read(socket): %s", strerror(errno));
- return -1;
+ if (errno != EAGAIN) {
+ snprintf(r->err, sizeof(r->err), "read(socket): %s", strerror(errno));
+ return -1;
+ }
+ break;
case 0:
snprintf(r->err, sizeof(r->err), "EOF from socket");
return -1;

5
sysutils/ansible/DESCR Normal file
View File

@@ -0,0 +1,5 @@
Ansible is a radically simple model-driven configuration management,
multi-node deployment, and remote task execution system. Ansible works
over SSH and does not require any software or daemons to be installed
on remote nodes. Extension modules can be written in any language and
are transferred to managed machines automatically.

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