Commit graph

3538 commits

Author SHA1 Message Date
joerg
d66a067120 Fix setting of PKG_METADATA_DIR. 2009-02-12 22:23:06 +00:00
joerg
601eb83a16 Don't check for tgetent or curses, it is never used. 2009-02-12 00:14:48 +00:00
joerg
f6da77786c Don't segfault if running pkg_info on a binary package without
+BUILD_INFO (or installed without +INSTALLED_INFO). Second half of
PR 30276.
2009-02-11 23:51:30 +00:00
joerg
52e03c25de pkg_install-20090212:
Print the error about missing build information even when the
+BUILD_INFO file is missing instead of segfaulting. The problem is from
PR 30276, a solution in the form of just installing it will not be
implemented.
2009-02-11 23:42:42 +00:00
joerg
d82a0be2f2 Restore ONLY_FOR_*. 2009-02-10 00:26:26 +00:00
joerg
f147bc5cc4 DESTDIR support. 2009-02-10 00:25:00 +00:00
joerg
de7d5abdaa DESTDIR support 2009-02-10 00:15:20 +00:00
joerg
4beb0d6f99 DESTDIR support. 2009-02-10 00:13:34 +00:00
joerg
6bf251943f DESTDIR support. 2009-02-09 23:53:00 +00:00
joerg
3c645bb7fc Switch to Python 2.5 as default. Bump revision of all packages that have
changed runtime dependencies now.
2009-02-09 22:56:21 +00:00
joerg
e2107c85f6 Remove Python 2.1 support. 2009-02-09 21:09:20 +00:00
joerg
051e2fcd6a Only use issetugid if it exists. Fixes reported build issues on QNX and
AIX.
2009-02-09 20:35:21 +00:00
joerg
99269d29a5 Regen with autoconf 2.63. The endian macro issues on Mac OS X have been
addressed according to PR 38625.
2009-02-09 19:18:42 +00:00
joerg
a5ef458265 Fix !OpenSSL build/bootstrap. 2009-02-09 16:54:08 +00:00
wiz
677c83584c regen. 2009-02-08 23:14:14 +00:00
wiz
9db60ccb61 Spelling fixes. 2009-02-08 23:12:10 +00:00
wiz
5db37a19b0 Use more markup. 2009-02-08 23:12:05 +00:00
wiz
200c1b97c9 New sentence, new line. 2009-02-08 23:11:56 +00:00
joerg
60289b484d pkg_install-20090205:
- Restrict audit related commands to the documented set and/or fix the
  documention.
- Add support for conditional fetch-pkg-vulnerabilities via -u option.
2009-02-05 17:22:19 +00:00
joerg
0ffd57fde6 Don't chdir back to the original directory at the end of make_dist,
pkg_create is about to exit() anyway.
2009-02-05 16:06:55 +00:00
joerg
d33d3af1f8 Include fcntl.h. 2009-02-03 19:47:37 +00:00
joerg
97f4088f5d Remove the remaining trails of HAVE_DBLIB. 2009-02-03 13:49:56 +00:00
joerg
4835ef2879 Fix PR 40456: Mac OS X can't deal well with BSS in static libraries. 2009-02-03 13:44:34 +00:00
joerg
2b915dcf8f If no db.h or variant exists, use the one from nbcompat.
For PR 40544.
2009-02-03 13:18:03 +00:00
joerg
c5349bbb20 Include fcntl.h for O_RDONLY, it is included indirectly on NetBSD, but
not on Solaris. Part of PR 40544.
2009-02-03 13:15:34 +00:00
joerg
42be515354 Merge x509 setup and documentation from pkg_install-renovation. 2009-02-02 12:49:16 +00:00
joerg
d7cc6db11b Merge pkg_install-20090201 from pkg_install-renovation branch.
- DB support is always included from libnbcompat if needed
- pkg_view and linkfarm are not installed any more; they are not moved
into the attic yet, so they can easily be installed as separte package
- common configuration file to customise the behavior of various
components; this supersedes the old audit-packages.conf
- support for PKSC7 signatures (using X509 certs) and GPG signatures for
packages in a secure way. See pkg_admin(8) for how to create them and
pkg_install.conf(5) for the options to use them
- audit-packages and download-vulnerability-list are wrapper scripts
  around pkg_admin. They try to mimic the classic options if used sanely.
  "pkg_admin audit" is now an order of magnitude faster than before
- pkg_add uses libarchive and libfetch instead of external ftp and tar:
  - progress bar is currently missing for downloads
  - "pkg_add -" is no longer supported
  - no adhoc check for conficts between dependencies and already
    installed packages
  - "pkg_add -s" has been replaced with an option in pkg_install.conf,
    verification of plain detached GPG signatures is no longer supported
  - optional check for vulnerabilities before adding a package
  - if /var and /usr/pkg are on different fileystems it is twice as fast
    now
  - conflicts due to overlapping plists are checked before installation
  - pkg_add no longer plays with the process limits
- pkg_add and pkg_delete have a new destdir option; scripts have to
  either be modified to use PKG_DESTDIR or should be disabled
- pkg_add -u for now can't be used to update to the exact same version
- internal "rm -rf" and "mkdir_p" code
- all memory allocation failures are not explicitly fatal
- if a file is not removed due to a failed checksum, still remove the
  entry from pkgdb
2009-02-02 12:34:59 +00:00
joerg
360471cf79 pbulk-0.37:
- replace libevent dependency with internal event loop to make the pbulk
  core standalone
- open success and error log with O_APPEND, which allows e.g. cleaning
  up the error build during build without breaking it if done with care.
2009-01-31 23:25:37 +00:00
rillig
115f8bca6b Packages that install *.desktop files should include
sysutils/desktop-file-utils/desktopdb.mk. Suggested by Matthias
Drochner.
2009-01-26 16:14:45 +00:00
rillig
21cac04813 Added but disabled a check that tests whether the PKGNAME and the
package directory match. There is much work to do until this can be
enabled.
2009-01-26 15:44:15 +00:00
sketch
cce651087b Change to WRKSRC before compiling, fixes builds with read-only pkgsrc tree. 2009-01-23 11:27:16 +00:00
shattered
02dcf45d24 On some operating systems (Linux, FreeBSD -- see their problem report
82430) ps might list process names in square brackets.  Fix regex in
_find_processes() accordingly.

OK by wiz@.
2009-01-18 22:35:35 +00:00
dsainty
c417193ec6 Yet Another Groff Version (1.17.2), allows successful bootstrapping on an
extremely crufty old Linux box of unclear parentage (but it might be a RedHat
3.0 installation).
2009-01-14 23:16:54 +00:00
jmcneill
ba0d4a12c7 Build and install libpk-gtk-module. From the README:
The GTK+ module is designed to be loaded using gnome-settings-daemon by the
gnome-packagekit package.

It can however be launched for testing using:

GTK_MODULES="$GTK_MODULES:/usr/lib/gtk-2.0/modules/pk-gtk-module.so" application

The module installs a custom default pangocairo font map during gtk_init().
Pango will then call back with any languages which need installing, and these
are queued up. In an idle callback these are emitted as an asyncronous D-BUS
method to the session PackageKit InstallFonts() method.

If configured to do so, this will prompt the user to install new fonts.
2009-01-11 04:22:10 +00:00
jmcneill
9f88852e13 + packagekit gnome-packagekit 2009-01-08 00:26:05 +00:00
jmcneill
603077989c Import gnome-packagekit version 0.4.0.
PackageKit is a system designed to make installing and updating software on
your computer easier. The primary design goal is to unify all the software
graphical tools used in different distributions, and use some of the latest
technology like PolicyKit to make the process suck less.

The actual nuts-and-bolts distro tool (yum, apt, conary, etc) is used by
PackageKit using compiled and scripted helpers. PackageKit isn't meant to
replace these tools, instead providing a common set of abstractions that can
be used by standard GUI and text mode package managers.

PackageKit itself is a system activated daemon called packagekitd. Being
system activated means that it's only being run when the user is using a text
mode or graphical tool, and quits when it's no longer being used. This means
we don't delay the boot sequence or session startup and don't consume memory
when not being used.

gnome-packagekit is the name of the collection of graphical tools for
PackageKit to be used in the GNOME desktop.
2009-01-08 00:22:45 +00:00
jmcneill
43e73f96b4 Import packagekit version 0.4.0. Much work to do.
PackageKit is a system designed to make installing and updating software on
your computer easier. The primary design goal is to unify all the software
graphical tools used in different distributions, and use some of the latest
technology like PolicyKit to make the process suck less.

The actual nuts-and-bolts distro tool (yum, apt, conary, etc) is used by
PackageKit using compiled and scripted helpers. PackageKit isn't meant to
replace these tools, instead providing a common set of abstractions that can
be used by standard GUI and text mode package managers.

PackageKit itself is a system activated daemon called packagekitd. Being
system activated means that it's only being run when the user is using a text
mode or graphical tool, and quits when it's no longer being used. This means
we don't delay the boot sequence or session startup and don't consume memory
when not being used.
2009-01-08 00:21:00 +00:00
tnn
5531fbc2c5 fix typos 2009-01-06 16:40:19 +00:00
adrianp
0f5bb1b8ae Update to 0.02
Check for PATCHFILES as well
2009-01-06 10:28:38 +00:00
wiz
1c2d59c2d6 Recognize CMAKE_ARGS. 2009-01-04 20:28:51 +00:00
adrianp
398d830fd7 +pkg_distinst 2009-01-04 00:45:37 +00:00
adrianp
a88f7c13cd This is a simple script that will synchronise the content of your ${DISTDIR}
directory with currently installed packages.

This script will delete any ${DISTFILE} in ${DISTDIR} that does not currently
have an installed package as an owner.

If you play with packages a fair bit and download some just to have a play with
and delete the package later your ${DISTDIR} can end up with a lot of orphaned
${DISTFILES}.  While lintpkgsrc will help you remove outdated ${DISTFILES} it
does not do any corealtion with installed packakges which is the gap this
script aims to fill.

With "lintpkgsrc -or && pkg_distinst --delete" you can and up with a fairly
lean and current ${DISTDIR}.
2009-01-04 00:44:38 +00:00
rillig
ea2694451d Warn about missing PKG_DESTDIR_SUPPORT definition. Every package should
have one.
2008-12-21 10:34:59 +00:00
adrianp
9e164864f6 Make this work on OpenSolaris 2008-12-21 00:03:32 +00:00
abs
d84ad5c936 Updated pkgtools/pkg_chk to 1.96
Handle unset PKGSRCDIR - from Taylor R Campbell in PR/39306
2008-12-20 09:50:59 +00:00
rillig
03b5233b74 TOOLS_DEPENDS.* names a dependency, and all the directories that are
mentioned in it must actually contain a Makefile.
2008-12-15 12:47:31 +00:00
rillig
41f53c4dd5 Changed one of the explanations to be more permissive. Fixed a
grammatical mistake in the same sentence.
2008-12-14 18:46:58 +00:00
rillig
f772ef6398 An int is not guaranteed to be 64bit and in fact isn't on most
platforms.
2008-12-14 10:18:16 +00:00
obache
9244674af5 Need to include stdint.h for unit64_t on SUA 6.0. 2008-12-14 07:50:49 +00:00
adrianp
40abbe86e4 +audit-packages
+download-vulnerability-list
2008-12-10 22:02:18 +00:00