The NetBSD Project

CVS log for pkgsrc/pkgtools/pkg_install/files/create/Makefile.in

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkg_install / files / create

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.30 / (download) - annotate - [select for diffs], Wed Oct 28 16:52:43 2020 UTC (3 years, 5 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, HEAD
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Bootstrap: Fix bootstrap on FreeBSD 12.1, likely broken by an issue in lld.

It looks like lld doesn't want to statically link a libarchive without
resolving all of the symbols, even if only a few symbols are used.

In order to resolve all of the symbols, we need to also link with -lmd.
One generic way to do so is inspect Libs.private in the pkgconfig file.

While pkgsrc is likely not at fault here, having a dysfunctional bootstrap
is bad. We should check again in the future to see if this can be removed.

Actually fixes PR pkg/55400.

Revision 1.29 / (download) - annotate - [selected], Sun Dec 27 12:36:42 2015 UTC (8 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.28: +3 -4 lines
Diff to previous 1.28 (colored)

Include basic package creation logic in the bootstrap version of
pkg_install. Use this with PKG_COMPRESSION=none to convert all of the
bootstrap to USE_DESTDIR=yes.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Dec 27 12:18:20 2015 UTC (8 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored) to selected 1.29 (colored)

Refactor Makefiles slightly to remove redundancy between normal and
bootstrap build.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Sep 7 09:06:05 2015 UTC (8 years, 7 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) to selected 1.29 (colored)

Explicitly link against -lbz2 and -lz to satisfy libnetpgpverify
dependencies, we can no longer rely on implicit linking from libarchive
on certain platforms.  Fixes build on FreeBSD and DragonFlyBSD.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Sep 1 12:14:06 2015 UTC (8 years, 7 months ago) by jperkin
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) to selected 1.29 (colored)

Implement inline package signature verification.

This replaces calling out to an external gpg command for verification
with inline verification using the security/netpgpverify library.

Bump version to 20150901.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jan 22 09:19:47 2015 UTC (9 years, 2 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) to selected 1.29 (colored)

Move -larchive from the general LIBS variable to each program that needs it,
prevents us from attempting to link the inplace libarchive against itself.
Fixes build on systems which do not include a native libarchive, and avoids
possible issues on systems which do.

Tested on SmartOS (no native libarchive) and OS X in both builtin and pkgsrc
configurations.  Ok joerg@.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Sep 12 11:03:10 2013 UTC (10 years, 7 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.23: +5 -1 lines
Diff to previous 1.23 (colored) to selected 1.29 (colored)

Add CATMAN_SECTION_SUFFIX support.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Oct 21 09:08:56 2012 UTC (11 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.22: +6 -1 lines
Diff to previous 1.22 (colored) to selected 1.29 (colored)

Deal with messed up linkage on Linux by always linking against libcrypto
and libssl when linking against libfetch, if the latter is built with
SSL support.

Revision 1.22 / (download) - annotate - [select for diffs], Tue May 15 16:43:53 2012 UTC (11 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored) to selected 1.29 (colored)

Check for defined before checking for empty, otherwise old make(1) fails
to build during bootstrap.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Mar 1 21:40:00 2012 UTC (12 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.29 (colored)

Revert last. Don't hide issues. Pass down MANINSTALL via MAKE_ENV to get
the correct value.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Mar 1 20:13:43 2012 UTC (12 years, 1 month ago) by jklos
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.29 (colored)

Don't fail if MANINSTALL is not defined.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Feb 28 18:15:25 2012 UTC (12 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.18: +4 -2 lines
Diff to previous 1.18 (colored) to selected 1.29 (colored)

Honour MANINSTALL.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Apr 20 00:39:13 2010 UTC (14 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.29 (colored)

pkg_install-20100420:
Extract dependencies of libarchive from the pkgconfig file and thereby
drop knowledge of the needed libraries.

At least some versions of HP-UX are known to not support %zu, add a
workaround. This is using the black list approach for now.

Recognize xz as compression type for pkg_create.

The first time an error is hit while fetching packages, try to reget
from the same position. This works around the server closing the
connection while fetching dependencies.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 23 11:02:58 2010 UTC (14 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) to selected 1.29 (colored)

Fix linkage for create/delete.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jan 22 13:30:41 2010 UTC (14 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.29 (colored)

pkg_install-20100122:
- Refactor man pages:
  - Move description of environmental variables into pkg_install.conf(5)
  - Remove a bunch of dead references
  - Avoid using hard-coded path names that can easily be overridden by
    the user.
- Refactor pkgdb related logic, so that -K behaves consistently.
- Add some helper functions to isolate more places from the pkgdb
  layout.
- Sync license list.
- Handle PKG_REFCOUNT_DBDIR consistently as option too.
- Utilize connection cache from libfetch.
- Add helper target for cat pages updates.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Mar 10 12:14:32 2008 UTC (16 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkg_install-renovation-base, pkg_install-renovation, cwrapper-base, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored) to selected 1.29 (colored)

Add datarootdir to shut up configure.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Aug 3 13:15:59 2007 UTC (16 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.13: +12 -7 lines
Diff to previous 1.13 (colored) to selected 1.29 (colored)

- only build pkg_admin, pkg_create and pkg_info for --enable-bootstrap
- for pkg_create, split-off the package creation from the plist
  processing. package creation is disabled for --enable-bootstrap
- change package creation to use libarchive
- add two options (-u and -g) to override file system ownership
- pkg_create now creates files in the tarball with correct owner/group
  based on -u/-g or @owner/@group
- add a function to compute the +CONTENTS file in memory

Bump version to 20070802.
Review of a slightly older version by jlam@

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 16 09:57:58 2007 UTC (16 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.12: +7 -7 lines
Diff to previous 1.12 (colored) to selected 1.29 (colored)

Merge remaining small changes from NetBSD, most of all the pkgsrc.7 man
page. Fix build on !NetBSD. Rebuild man pages with nroff -mandoc on
NetBSD current for consistency. Make it DESTDIR safe. Remove the note
that src/usr.sbin/pkg_install is the authoritive version, it won't be
any longer.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Nov 22 15:44:59 2005 UTC (18 years, 5 months ago) by ben
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored) to selected 1.29 (colored)

Reduce the use of the system() function in pkg_install to avoid quoting
problems.  Instead, use exec*() functions.

Replace PUSHOUT() macro and string buffers with a function that
operates on data structures.

If it is necessary to copy files into place from staging area, then use
pax to copy them.

Add functions in pexec.c to create a pipe for sending data to a child
process.  Replace pipe code in create/perform.c with these functions.
Use these functions instead of command-line arguments when copying files
into place from staging area.

Three system() references remain: @exec, @unexec, and vsystem().

Revision 1.11 / (download) - annotate - [select for diffs], Sat Aug 21 06:33:40 2004 UTC (19 years, 8 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.10: +3 -6 lines
Diff to previous 1.10 (colored) to selected 1.29 (colored)

Fix the version number of the package in the configure script, and modify
the Makefiles so that they can be built by really basic make programs.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Sep 23 07:44:51 2003 UTC (20 years, 7 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.9: +4 -2 lines
Diff to previous 1.9 (colored) to selected 1.29 (colored)

add --with-{ftp,mtree,pax,tar} to allow overriding the commands that
pkg_install calls, and pass the full path for each from the pkg Makefile.

fixes issue with pkg_add and pkg_create calling non-existent or
less-than-functional tools since it relied on $PATH.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Sep 23 06:36:20 2003 UTC (20 years, 7 months ago) by grant
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) to selected 1.29 (colored)

no need to pass $(DEFS) to $(CC) twice.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Sep 2 22:06:28 2003 UTC (20 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) to selected 1.29 (colored)

The *.0 files belong in $(mandir)/cat1.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 1 16:27:12 2003 UTC (20 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.6: +28 -23 lines
Diff to previous 1.6 (colored) to selected 1.29 (colored)

Update pkg_install to 20030823, which has the changes to support
package views.  Pkgsrc changes include:

* Convert to use pkgtools/libnbcompat so that it's easier to keep
  this in sync with src/usr.sbin/pkg_install.

* Add a src2nbcompat script that converts src/usr.sbin/pkg_install
  into an appropriate start for pkgtools/pkg_install.  The script
  removes the Makefiles, adds CPP inclusion guards around each
  #include <...> line, and includes <nbcompat.h> at the top of each
  *.c file.  This should make it even easier to keep sources in
  sync with the HEAD.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jul 31 09:51:02 2003 UTC (20 years, 8 months ago) by grant
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored) to selected 1.29 (colored)

also install man page source, no version bump as this is not yet in
sync with -current, and no functionality change.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 20 20:34:06 2003 UTC (21 years ago) by grant
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) to selected 1.29 (colored)

sync with bootstrap:

make sure man pages get installed into a sane location if --mandir is
not specified.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 11 16:48:23 2003 UTC (21 years, 2 months ago) by grant
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored) to selected 1.29 (colored)

Fix some RCS ids.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jan 11 07:52:18 2003 UTC (21 years, 3 months ago) by schmonz
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.29 (colored)

On NetBSD, man pages were getting installed into /usr/man. That's,
like, so 80's! Pass a value more appropriate for the current decade
to --mandir via CONFIGURE_ARGS, and let ./configure set this in
the Makefiles.

Install catted man pages with the suffix ".0" rather than ".1".

Bump PKGTOOLS_VERSION.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Dec 22 13:10:13 2002 UTC (21 years, 4 months ago) by grant
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored) to selected 1.29 (colored)

reorder libraries passed to ld(1) so that this works if libdb1 is
present.

From Frank Cusack in PR pkg/19494.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Dec 20 18:14:09 2002 UTC (21 years, 4 months ago) by schmonz
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.29 (colored)

Import autoconf'd pkg_install source from
othersrc/bootstrap-pkgsrc/pkg_install into ${FILESDIR}.

Using autoconf greatly simplifies maintenance of this package across
multiple platforms. Placing the extracted source under ${FILESDIR}
will eventually let us use the same source for bootstrapping as
well, though we're not ready for this yet.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Dec 20 18:14:09 2002 UTC (21 years, 4 months ago) by schmonz
Branch: MAIN
Diff to selected 1.29 (colored)

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>