create_primative.c

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
use the fake destdir when generating file path so we can create the package correctly when an absolute path is used.

add additional fields and bump both version fields

  1. … 4 more files in changeset.
fix another typo

Add partial support for multi argument sample syntax. @sample src dest. Does not remove the created file on uninstall.

  1. … 1 more file in changeset.
include asset file owner mode files in archive.

ws

write owner, group, mode for @() syntax

use sync for now as the pointer is getting messed up and we need to refactor this. stops crash with CONFLICTS in package

wtf

  1. … 2 more files in changeset.
init the queues

use the sql queue

  1. … 1 more file in changeset.
teach libmport about @shell. We want to take this a step farther and "register" the shell next.

  1. … 4 more files in changeset.
add preliminary support for sample files aka @sample in the plist. This currently only installs the sample file, but eventually will do some additional steps.

  1. … 6 more files in changeset.
if cpe isnt defined by mport.create, use alloca to create a null terminated string to appese sqlite

add CPE column to mport bundles and the master list. bump the MPORT database version to 3 as well as the bundle version

  1. … 5 more files in changeset.
remove cvs2svn prop

  1. … 38420 more files in changeset.
reset props for svn keywords

  1. … 30226 more files in changeset.
Start populating os_release. needs more work

  1. … 5 more files in changeset.
add error handling

Add new mport_setting_get and mport_setting_set functions to allow users to customize settings. The sqlite3 master database now contains a settings table with name and val fields.

There are two obvious uses for this:

1. defining the country the user is in to pick the nearest mirror list.

2. storing the last time we fetched an index so it doesn't try to do it all the time when it's out of date and we haven't generated one on stargazer yet.

  1. … 24 more files in changeset.
spelling time

Don't free node name twice.

  1. … 1 more file in changeset.
Import OpenBSD's sysctl sensors framework. This is based on work by Constantine A. Murenin for the 2007 Google summer of code for FreeBSD.

Includes:

sample config file for sensord

rc scripts

documentation fixes and updates

sys/kern/kern_sensors.c

sys/sensors.h

This is compatible with OpenBSD 4.1 and 4.2 in terms of the userland bits.

  1. … 56 more files in changeset.
Upgrade to latest snap from github.

  1. … 23 more files in changeset.
Sync with the current devel version of libmport.

  1. … 20 more files in changeset.
Next developement snapshot.

Many bug fixes: hardlinks work correctly, exec/unxec parsing, etc...

Packages now have a status, on install it starts as 'dirty', and is set to

'clean' if the install succeeds. Similar logic is used in package deletion,

which now tries harder to keep going after errors.

  1. … 11 more files in changeset.
Latest developement version of libmport.

Changes:

It is now possible to create, install, and delete packages from a system

with the library.

The install primative now uses the progress callback system to give the user

feedback during the install.

Support for installing into a chroot envirement is included at the library

level. This is useful if you have a GUI app and you don't want your entire

process stuck in the chroot.

Many function names have been changed in an effort to improve the library's

orginization.

Many bug fixes and subtle changes.

Todo:

Docs:

library overview.

function reference.

mport bundle specification.

The merge primative.

The fetch primative.

The update primative.

Top level functions to do things like "fetch this bundle, its depends, and

then install them all."

Some of the sematics are still up in the air. For example, gtk12 and

gtk2 both have a pkgname of gtk. libmport doesn't allow two package with

the same name to be installed.

Hard links are not implemented in a mport bundle.

Much more testing and bug fixing is needed.

    • -0
    • +432
    ./create_primative.c
  1. … 16 more files in changeset.