head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.58 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.56 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.54 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.52 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.50 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.48 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.46 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.44 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.42 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.40 cwrapper-base:1.6 pkg_install-renovation:1.6.0.38 pkg_install-renovation-base:1.6 pkgsrc-2008Q1:1.6.0.36 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.34 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.32 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.30 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.28 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.26 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.24 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.22 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.20 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.18 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.16 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.14 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.12 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.10 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.8 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.6 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.6.0.4 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.6.0.2 pkgsrc-2003Q4-base:1.6 netbsd-1-6:1.5.0.4 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.4.0.2 pkgviews-base:1.4 buildlink2:1.3.0.2 buildlink2-base:1.5 netbsd-1-5-PATCH003:1.3; locks; strict; comment @# @; 1.6 date 2002.12.20.18.15.53; author schmonz; state dead; branches; next 1.5; 1.5 date 2002.08.01.09.31.16; author martti; state Exp; branches; next 1.4; 1.4 date 2002.07.03.22.43.40; author abs; state Exp; branches; next 1.3; 1.3 date 2002.03.04.13.48.31; author seb; state Exp; branches 1.3.2.1; next 1.2; 1.2 date 2001.12.17.21.23.42; author agc; state Exp; branches; next 1.1; 1.1 date 2001.10.30.14.17.03; author agc; state Exp; branches; next ; 1.3.2.1 date 2002.08.23.05.09.13; author jlam; state Exp; branches; next ; desc @@ 1.6 log @As the sources are now in ${FILESDIR}, there's no distfile to fetch, and the "do-extract" target copies the sources into ${WRKSRC}. We automagically determine VERSION by inspecting ${FILESDIR}/lib/version.h. Thanks to autoconf, all the patches and almost all of the cruftulent ${OPSYS}-specific stuff in the Makefile are gone. @ text @$NetBSD: patch-ac,v 1.5 2002/08/01 09:31:16 martti Exp $ --- add/perform.c.orig Thu Aug 1 10:46:30 2002 +++ add/perform.c Thu Aug 1 10:56:47 2002 @@@@ -182,7 +182,11 @@@@ goto bomb; } } +#ifdef TAR_MISSING_FAST_READ + (void) snprintf(extract_contents, sizeof(extract_contents), "%s", CONTENTS_FNAME); +#else (void) snprintf(extract_contents, sizeof(extract_contents), "--fast-read %s", CONTENTS_FNAME); +#endif extract = extract_contents; } else { /* some values for stdin */ @ 1.5 log @Updated pkg_install to 20020723 - remove handling of PKG_ADD_BASE. - don't search current directory if PKG_PATH is set. - don't prefer local directories. - constify and cleanup. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.4 2002/07/03 22:43:40 abs Exp $ @ 1.4 log @Compile and run under Linux. We're still missing pax and mtree, but using the Darwin bootstrap kit everything else now works. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- add/perform.c.orig Tue Apr 2 16:08:33 2002 +++ add/perform.c @@@@ -347,7 +347,11 @@@@ @ 1.3 log @Update the pkg_* tools to version 20020218. Changes summary: - Support digital signatures in binary packages. - Use full path name to tar. - Fix ``pkg_add -u'' for packages without dependencies. - Add ``-U'' and ``-I'' options to pkg_create. - Close some memory leaks. - Add ``-n'' argument to pkg_info to show needed packages. - Fix pkg_info to not FTP unneccessarily - Improve version number handling: - recognition of "pl" ("patchlevel") and "rc" ("release candidate") strings - recognition of '_' and "pl" as pseudonyms for '.' (1.2pl2 == 1.2.2) - handle alphabetic characters properly (1.2e == 1.2.5) - 64-bit integers are used internally for each component of the version number. - Various internal cleanups, bugfixes, and API tweaks. @ text @d3 14 a16 30 --- lib/Makefile.orig Sat Jan 5 17:36:57 2002 +++ lib/Makefile @@@@ -5,13 +5,27 @@@@ SRCS+= exec.c file.c ftpio.c global.c lpkg.c pen.c pkgdb.c \ plist.c str.c version.c +OPSYS!= uname -s + +.if ${OPSYS} == "Darwin" +SRCS+= md5c.c md5hl.c +.endif + NOLINT= # defined NOMAN= # defined NOPIC= # defined NOPROFILE= # defined +MKLINT= no +MKMAN= no +MKPIC= no +MKPROFILE= no # only needed during build - prevent installation of library +.if ${OPSYS} == "Darwin" +install:: +.else libinstall:: +.endif version.o: version.h version.c @ 1.3.2.1 log @Merge changes from HEAD of pkgsrc/pkgtools to buildlink2 branch. @ text @d3 30 a32 14 --- add/perform.c.orig Thu Aug 1 10:46:30 2002 +++ add/perform.c Thu Aug 1 10:56:47 2002 @@@@ -182,7 +182,11 @@@@ goto bomb; } } +#ifdef TAR_MISSING_FAST_READ + (void) snprintf(extract_contents, sizeof(extract_contents), "%s", CONTENTS_FNAME); +#else (void) snprintf(extract_contents, sizeof(extract_contents), "--fast-read %s", CONTENTS_FNAME); +#endif extract = extract_contents; } else { /* some values for stdin */ @ 1.2 log @Patches from Yuji Yamano to make this compile properly on Darwin. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2001/10/30 14:17:03 agc Exp $ d3 3 a5 5 On Darwin, grab the md5 files and headers from the digest package --- lib/Makefile 2001/10/29 21:07:57 1.1 +++ lib/Makefile 2001/10/29 21:08:11 @@@@ -5,13 +5,23 @@@@ d9 1 a9 1 +OPSYS!= uname -s d15 8 a22 4 MKLINT= no MKMAN= no MKPIC= no MKPROFILE= no @ 1.1 log @Add patches for Darwin @ text @d1 1 a1 1 $NetBSD$ d7 1 a7 1 @@@@ -5,13 +5,25 @@@@ a13 1 +.PATH: ${DIGESTDIR} a14 1 +CPPFLAGS+= -I${DIGESTDIR} @