head	1.9;
access;
symbols
	perseant-exfatfs-base-20250801:1.9
	perseant-exfatfs-base-20240630:1.9
	perseant-exfatfs:1.9.0.36
	perseant-exfatfs-base:1.9
	cjep_sun2x:1.9.0.34
	cjep_sun2x-base:1.9
	cjep_staticlib_x-base1:1.9
	cjep_staticlib_x:1.9.0.32
	cjep_staticlib_x-base:1.9
	phil-wifi-20200421:1.9
	phil-wifi-20200411:1.9
	phil-wifi-20200406:1.9
	pgoyette-compat-merge-20190127:1.9
	pgoyette-compat-20190127:1.9
	pgoyette-compat-20190118:1.9
	pgoyette-compat-1226:1.9
	pgoyette-compat-1126:1.9
	pgoyette-compat-1020:1.9
	pgoyette-compat-0930:1.9
	pgoyette-compat-0906:1.9
	pgoyette-compat-0728:1.9
	pgoyette-compat-0625:1.9
	pgoyette-compat-0521:1.9
	pgoyette-compat-0502:1.9
	pgoyette-compat-0422:1.9
	pgoyette-compat-0415:1.9
	pgoyette-compat-0407:1.9
	pgoyette-compat-0330:1.9
	pgoyette-compat-0322:1.9
	pgoyette-compat-0315:1.9
	pgoyette-compat:1.9.0.30
	pgoyette-compat-base:1.9
	perseant-stdc-iso10646:1.9.0.28
	perseant-stdc-iso10646-base:1.9
	prg-localcount2-base3:1.9
	prg-localcount2-base2:1.9
	prg-localcount2-base1:1.9
	prg-localcount2:1.9.0.26
	prg-localcount2-base:1.9
	pgoyette-localcount-20170426:1.9
	bouyer-socketcan-base1:1.9
	pgoyette-localcount-20170320:1.9
	bouyer-socketcan:1.9.0.24
	bouyer-socketcan-base:1.9
	pgoyette-localcount-20170107:1.9
	pgoyette-localcount-20161104:1.9
	localcount-20160914:1.9
	pgoyette-localcount-20160806:1.9
	pgoyette-localcount-20160726:1.9
	pgoyette-localcount:1.9.0.22
	pgoyette-localcount-base:1.9
	netbsd-5-2-3-RELEASE:1.9
	netbsd-5-1-5-RELEASE:1.9
	yamt-pagecache-base9:1.9
	yamt-pagecache-tag8:1.9
	tls-earlyentropy:1.9.0.18
	tls-earlyentropy-base:1.9
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.9
	riastradh-drm2-base3:1.9
	netbsd-5-2-2-RELEASE:1.9
	netbsd-5-1-4-RELEASE:1.9
	netbsd-5-2-1-RELEASE:1.9
	netbsd-5-1-3-RELEASE:1.9
	agc-symver:1.9.0.20
	agc-symver-base:1.9
	tls-maxphys-base:1.9
	yamt-pagecache-base8:1.9
	netbsd-5-2:1.9.0.16
	yamt-pagecache-base7:1.9
	netbsd-5-2-RELEASE:1.9
	netbsd-5-2-RC1:1.9
	yamt-pagecache-base6:1.9
	yamt-pagecache-base5:1.9
	yamt-pagecache-base4:1.9
	netbsd-5-1-2-RELEASE:1.9
	netbsd-5-1-1-RELEASE:1.9
	yamt-pagecache-base3:1.9
	yamt-pagecache-base2:1.9
	yamt-pagecache:1.9.0.14
	yamt-pagecache-base:1.9
	bouyer-quota2-nbase:1.9
	bouyer-quota2:1.9.0.12
	bouyer-quota2-base:1.9
	matt-nb5-pq3:1.9.0.10
	matt-nb5-pq3-base:1.9
	netbsd-5-1:1.9.0.8
	netbsd-5-1-RELEASE:1.9
	netbsd-5-1-RC4:1.9
	netbsd-5-1-RC3:1.9
	netbsd-5-1-RC2:1.9
	netbsd-5-1-RC1:1.9
	netbsd-5-0-2-RELEASE:1.9
	netbsd-5-0-1-RELEASE:1.9
	jym-xensuspend-nbase:1.9
	netbsd-5-0:1.9.0.6
	netbsd-5-0-RELEASE:1.9
	netbsd-5-0-RC4:1.9
	netbsd-5-0-RC3:1.9
	netbsd-5-0-RC2:1.9
	jym-xensuspend:1.9.0.4
	jym-xensuspend-base:1.9
	netbsd-5-0-RC1:1.9
	netbsd-5:1.9.0.2
	netbsd-5-base:1.9
	matt-mips64:1.8.0.16
	mjf-devfs2:1.8.0.14
	mjf-devfs2-base:1.8
	netbsd-4-0-1-RELEASE:1.7
	wrstuden-revivesa-base-3:1.8
	wrstuden-revivesa-base-2:1.8
	wrstuden-fixsa-newbase:1.7
	wrstuden-revivesa-base-1:1.8
	yamt-pf42-base4:1.8
	yamt-pf42-base3:1.8
	hpcarm-cleanup-nbase:1.8
	yamt-pf42-baseX:1.8
	yamt-pf42-base2:1.8
	wrstuden-revivesa:1.8.0.12
	wrstuden-revivesa-base:1.8
	yamt-pf42:1.8.0.10
	yamt-pf42-base:1.8
	keiichi-mipv6-nbase:1.8
	keiichi-mipv6:1.8.0.8
	keiichi-mipv6-base:1.8
	matt-armv6-nbase:1.8
	matt-armv6-prevmlocking:1.8
	wrstuden-fixsa-base-1:1.7
	netbsd-4-0:1.7.0.8
	netbsd-4-0-RELEASE:1.7
	cube-autoconf:1.8.0.6
	cube-autoconf-base:1.8
	netbsd-4-0-RC5:1.7
	netbsd-4-0-RC4:1.7
	netbsd-4-0-RC3:1.7
	netbsd-4-0-RC2:1.7
	netbsd-4-0-RC1:1.7
	matt-armv6:1.8.0.4
	matt-armv6-base:1.8
	matt-mips64-base:1.8
	hpcarm-cleanup:1.8.0.2
	hpcarm-cleanup-base:1.8
	netbsd-3-1-1-RELEASE:1.6
	netbsd-3-0-3-RELEASE:1.6
	wrstuden-fixsa:1.7.0.6
	wrstuden-fixsa-base:1.7
	abandoned-netbsd-4-base:1.7
	abandoned-netbsd-4:1.7.0.2
	netbsd-3-1:1.6.0.12
	netbsd-3-1-RELEASE:1.6
	netbsd-3-0-2-RELEASE:1.6
	netbsd-3-1-RC4:1.6
	netbsd-3-1-RC3:1.6
	netbsd-3-1-RC2:1.6
	netbsd-3-1-RC1:1.6
	netbsd-4:1.7.0.4
	netbsd-4-base:1.7
	netbsd-3-0-1-RELEASE:1.6
	netbsd-3-0:1.6.0.10
	netbsd-3-0-RELEASE:1.6
	netbsd-3-0-RC6:1.6
	netbsd-3-0-RC5:1.6
	netbsd-3-0-RC4:1.6
	netbsd-3-0-RC3:1.6
	netbsd-3-0-RC2:1.6
	netbsd-3-0-RC1:1.6
	netbsd-2-0-3-RELEASE:1.6
	netbsd-2-1:1.6.0.8
	netbsd-2-1-RELEASE:1.6
	netbsd-2-1-RC6:1.6
	netbsd-2-1-RC5:1.6
	netbsd-2-1-RC4:1.6
	netbsd-2-1-RC3:1.6
	netbsd-2-1-RC2:1.6
	netbsd-2-1-RC1:1.6
	netbsd-2-0-2-RELEASE:1.6
	netbsd-3:1.6.0.6
	netbsd-3-base:1.6
	netbsd-2-0-1-RELEASE:1.6
	netbsd-2:1.6.0.4
	netbsd-2-base:1.6
	netbsd-2-0-RELEASE:1.6
	netbsd-2-0-RC5:1.6
	netbsd-2-0-RC4:1.6
	netbsd-2-0-RC3:1.6
	netbsd-2-0-RC2:1.6
	netbsd-2-0-RC1:1.6
	netbsd-2-0:1.6.0.2
	netbsd-2-0-base:1.6
	netbsd-1-6-PATCH002-RELEASE:1.5
	netbsd-1-6-PATCH002:1.5
	netbsd-1-6-PATCH002-RC4:1.5
	netbsd-1-6-PATCH002-RC3:1.5
	netbsd-1-6-PATCH002-RC2:1.5
	netbsd-1-6-PATCH002-RC1:1.5
	netbsd-1-6-PATCH001:1.5
	netbsd-1-6-PATCH001-RELEASE:1.5
	netbsd-1-6-PATCH001-RC3:1.5
	netbsd-1-6-PATCH001-RC2:1.5
	netbsd-1-6-PATCH001-RC1:1.5
	fvdl_fs64_base:1.5
	netbsd-1-6-RELEASE:1.5
	netbsd-1-6-RC3:1.5
	netbsd-1-6-RC2:1.5
	netbsd-1-6-RC1:1.5
	pkgviews:1.5.0.4
	pkgviews-base:1.5
	netbsd-1-6:1.5.0.2
	netbsd-1-6-base:1.5
	netbsd-1-5-PATCH003:1.4.12.1
	netbsd-1-5-PATCH002:1.4
	netbsd-1-5-PATCH001:1.4
	netbsd-1-5-RELEASE:1.4
	netbsd-1-5-BETA2:1.4
	netbsd-1-5-BETA:1.4
	netbsd-1-4-PATCH003:1.4
	netbsd-1-5-ALPHA2:1.4
	netbsd-1-5:1.4.0.12
	netbsd-1-5-base:1.4
	minoura-xpg4dl-base:1.4
	minoura-xpg4dl:1.4.0.10
	netbsd-1-4-PATCH002:1.4
	wrstuden-devbsize-19991221:1.4
	wrstuden-devbsize:1.4.0.8
	wrstuden-devbsize-base:1.4
	comdex-fall-1999:1.4.0.6
	comdex-fall-1999-base:1.4
	netbsd-1-4-PATCH001:1.4
	netbsd-1-4-RELEASE:1.4
	netbsd-1-4:1.4.0.4
	netbsd-1-4-base:1.4
	netbsd-1-3-PATCH003:1.4
	netbsd-1-3-PATCH003-CANDIDATE2:1.4
	netbsd-1-3-PATCH003-CANDIDATE1:1.4
	netbsd-1-3-PATCH003-CANDIDATE0:1.4
	netbsd-1-3-PATCH002:1.4
	netbsd-1-3-PATCH001:1.4
	netbsd-1-3-RELEASE:1.4
	netbsd-1-3-BETA:1.4
	netbsd-1-3:1.4.0.2
	netbsd-1-3-base:1.4
	FreeBSD-current-05-Jun-1997:1.1.1.1
	FREEBSD:1.1.1;
locks; strict;
comment	@# @;


1.9
date	2008.10.07.16.06.12;	author joerg;	state dead;
branches;
next	1.8;

1.8
date	2007.07.16.19.33.02;	author joerg;	state Exp;
branches;
next	1.7;

1.7
date	2006.05.11.23.16.30;	author mrg;	state Exp;
branches;
next	1.6;

1.6
date	2004.01.13.08.30.34;	author grant;	state Exp;
branches;
next	1.5;

1.5
date	2001.09.25.10.28.16;	author agc;	state Exp;
branches;
next	1.4;

1.4
date	97.10.17.14.53.27;	author lukem;	state Exp;
branches
	1.4.12.1;
next	1.3;

1.3
date	97.10.17.12.03.52;	author lukem;	state Exp;
branches;
next	1.2;

1.2
date	97.06.05.12.59.22;	author agc;	state Exp;
branches;
next	1.1;

1.1
date	97.06.05.08.54.23;	author agc;	state Exp;
branches
	1.1.1.1;
next	;

1.4.12.1
date	2002.02.23.17.57.16;	author he;	state Exp;
branches;
next	;

1.1.1.1
date	97.06.05.08.54.23;	author agc;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Finish moving pkg_install to src/external/bsd/pkg_install.
@
text
@# $NetBSD: Makefile,v 1.8 2007/07/16 19:33:02 joerg Exp $
# Original from FreeBSD, no rcs id.

PROG= pkg_add
SRCS= main.c perform.c futil.c extract.c verify.c

.include <bsd.init.mk>

.PATH:	${DIST}/add

CPPFLAGS+=	-DMACHINE_ARCH=\"${MACHINE_ARCH}\"

.include <bsd.prog.mk>
@


1.8
log
@Switch to src/dist as primary src location of pkg_install.
Adjust the Makefiles to be reachover Makefiles and remove
some unnecessary warning exceptions.

audit-packages.conf is stored redundantly in src/etc, not changed yet.
pkgsrc.7 is also kept in share/man/man7.

Add a comment in lib/nbcompat.h to make the file non-empty.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2006/05/11 23:16:30 mrg Exp $
@


1.7
log
@sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2004/01/13 08:30:34 grant Exp $
d7 4
a13 5

.if ${HAVE_GCC} == 4
COPTS.extract.c+=	-Wno-pointer-sign
.endif

@


1.6
log
@use ${MACHINE_ARCH} instead of what uname() puts into utsname.machine.
the former represents the CPU architecture, which is what is recorded
in binary packages.

also allow the OS name to be overridden, as pkgsrc doesn't always use
the value of utsname.sysname.

bump version to 20030113.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2001/09/25 10:28:16 agc Exp $
d10 5
@


1.5
log
@Add a "-s verification-type" argument to pkg_add, which adds a callout
to a verification program for a binary package. The following callouts
are defined: "none", "gpg" and "pgp5".

This feature allows you to verify a binary package against a detached
signature file, and to proceed with the installation or not, depending
upon the level of trust you place in the signatory of the binary
package.

Digital signatures will be checked in a recursive manner (i.e. if
pkg_add is called with a verification type which is not "none", the
verification type will be passed to subsequent invocations of pkg_add
for the dependent packages).

At the current time, digital signatures cannot be used with the URL
form of pkg_add(1) - the detached signature file must be in the same
directory as the binary package, either locally or mounted by NFS.

If no -s argument is given, pkg_add(1) retains its current behaviour -
the package will not be verified before installation takes place.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1997/10/17 14:53:27 lukem Exp $
d7 2
@


1.4
log
@WARNSify, cleanup Makefiles
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1997/10/17 12:03:52 lukem Exp $
d5 1
a5 1
SRCS= main.c perform.c futil.c extract.c
@


1.4.12.1
log
@Pull up revision 1.5 (requested by seb):
  Synchronize with recent developments:
   o Support digital signatures in binary packages
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1997/10/17 14:53:27 lukem Exp $
d5 1
a5 1
SRCS= main.c perform.c futil.c extract.c verify.c
@


1.3
log
@fix make -j race condition building lib/ , use ../Makefile.inc for BINDIR
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1997/06/05 12:59:22 agc Exp $
a4 6

CFLAGS+=	${DEBUG} -I${.CURDIR}/../lib

LDADD+=		-L${INSTALLOBJDIR} -linstall
DPADD+=		${INSTALLOBJDIR}/libinstall.a

@


1.2
log
@Add NetBSD Ids
Un-munge pkg_install/lib/Makefile which I'd overwritten on libftpio commit.
Make it compile on NetBSD.
Install pkg_* programs in /usr/sbin

XXX agc - Still to do XXX
Cleanup call to mktemp (for a tmp dir) in pkg_install/lib/pen.c
Create ftperr.c in the correct directory.
@
text
@d1 1
a1 1
# $NetBSD$
a9 2

BINDIR=		/usr/sbin
@


1.1
log
@Initial revision
@
text
@d1 3
d8 2
a9 7
.if exists(${.OBJDIR}/../lib)
LDADD+=		-L${.OBJDIR}/../lib -linstall
DPADD+=		${.OBJDIR}/../lib/libinstall.a
.else
LDADD+=		-L${.CURDIR}/../lib -linstall
DPADD+=		${.CURDIR}/../lib/libinstall.a
.endif
d11 1
a11 2
LDADD+=		-lftpio -lmd
DPADD+=		${LIBFTPIO} ${LIBMD}
@


1.1.1.1
log
@Initial import of FreeBSD packaging tool.
@
text
@@
