diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/file/.md5sum | 2 | ||||
-rw-r--r-- | base/glib/.footprint | 278 | ||||
-rw-r--r-- | base/glib/.md5sum | 1 | ||||
-rwxr-xr-x | base/glib/Pkgfile | 23 | ||||
-rw-r--r-- | base/glib/README | 2 | ||||
-rw-r--r-- | base/initrd/.md5sum | 6 | ||||
-rw-r--r-- | base/initrd/Pkgfile | 6 | ||||
-rwxr-xr-x | base/libarchive/Pkgfile | 6 | ||||
-rw-r--r-- | base/p7zip/.footprint | 20 | ||||
-rw-r--r-- | base/p7zip/.md5sum | 1 | ||||
-rw-r--r-- | base/p7zip/Pkgfile | 27 | ||||
-rw-r--r-- | base/pkg-get/.md5sum | 6 | ||||
-rw-r--r-- | base/pkg-get/Pkgfile | 22 | ||||
-rw-r--r-- | base/pkg-get/pkg-get | 1208 | ||||
-rw-r--r-- | base/pkg-get/pkg-get-0.4.5-NuTyX-02.patch | 287 | ||||
-rw-r--r-- | base/pkg-get/pkg-repgen.patch | 11 | ||||
-rw-r--r-- | base/pkg-get/syn | 2 | ||||
-rw-r--r-- | base/pkgutils/.md5sum | 4 | ||||
-rw-r--r-- | base/pkgutils/Pkgfile | 9 | ||||
-rw-r--r-- | base/pkgutils/nutyx-attapu.1.patch (renamed from base/pkgutils/nutyx-2009.2.patch) | 81 | ||||
-rw-r--r-- | base/prt-get/.md5sum | 4 | ||||
-rw-r--r-- | base/prt-get/Pkgfile | 9 | ||||
-rw-r--r-- | base/prt-get/prt-get.diff | 13 | ||||
-rw-r--r-- | base/xz-utils/.footprint | 4 | ||||
-rw-r--r-- | base/xz-utils/.md5sum | 2 | ||||
-rw-r--r-- | base/xz-utils/Pkgfile | 7 |
26 files changed, 435 insertions, 1606 deletions
diff --git a/base/file/.md5sum b/base/file/.md5sum index 8b820ed1f..cd5480d0c 100644 --- a/base/file/.md5sum +++ b/base/file/.md5sum @@ -1 +1 @@ -accade81ff1cc774904b47c72c8aeea0 file-5.04.tar.gz +d41fdbedc74656d601b5681c5c928204 file-5.04.tar.gz diff --git a/base/glib/.footprint b/base/glib/.footprint new file mode 100644 index 000000000..89fdb5366 --- /dev/null +++ b/base/glib/.footprint @@ -0,0 +1,278 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/gdbus +-rwxr-xr-x root/root usr/bin/gio-querymodules +-rwxr-xr-x root/root usr/bin/glib-compile-schemas +-rwxr-xr-x root/root usr/bin/glib-genmarshal +-rwxr-xr-x root/root usr/bin/glib-gettextize +-rwxr-xr-x root/root usr/bin/glib-mkenums +-rwxr-xr-x root/root usr/bin/gobject-query +-rwxr-xr-x root/root usr/bin/gsettings +-rwxr-xr-x root/root usr/bin/gsettings-schema-convert +-rwxr-xr-x root/root usr/bin/gtester +-rw-r--r-- root/root usr/bin/gtester-report +drwxr-xr-x root/root usr/etc/ +drwxr-xr-x root/root usr/etc/bash_completion.d/ +-rwxr-xr-x root/root usr/etc/bash_completion.d/gdbus-bash-completion.sh +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/gio-unix-2.0/ +drwxr-xr-x root/root usr/include/gio-unix-2.0/gio/ +-rw-r--r-- root/root usr/include/gio-unix-2.0/gio/gdesktopappinfo.h +-rw-r--r-- root/root usr/include/gio-unix-2.0/gio/gfiledescriptorbased.h +-rw-r--r-- root/root usr/include/gio-unix-2.0/gio/gunixconnection.h +-rw-r--r-- root/root usr/include/gio-unix-2.0/gio/gunixcredentialsmessage.h +-rw-r--r-- root/root usr/include/gio-unix-2.0/gio/gunixfdlist.h +-rw-r--r-- root/root usr/include/gio-unix-2.0/gio/gunixfdmessage.h +-rw-r--r-- root/root usr/include/gio-unix-2.0/gio/gunixinputstream.h +-rw-r--r-- root/root usr/include/gio-unix-2.0/gio/gunixmounts.h +-rw-r--r-- root/root usr/include/gio-unix-2.0/gio/gunixoutputstream.h +-rw-r--r-- root/root usr/include/gio-unix-2.0/gio/gunixsocketaddress.h +drwxr-xr-x root/root usr/include/glib-2.0/ +drwxr-xr-x root/root usr/include/glib-2.0/gio/ +-rw-r--r-- root/root usr/include/glib-2.0/gio/gappinfo.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gapplication.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gasyncinitable.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gasyncresult.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gbufferedinputstream.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gbufferedoutputstream.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gcancellable.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gcharsetconverter.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gcontenttype.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gconverter.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gconverterinputstream.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gconverteroutputstream.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gcredentials.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gdatainputstream.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gdataoutputstream.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gdbusaddress.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gdbusauthobserver.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gdbusconnection.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gdbuserror.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gdbusintrospection.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gdbusmessage.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gdbusmethodinvocation.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gdbusnameowning.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gdbusnamewatching.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gdbusproxy.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gdbusproxywatching.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gdbusserver.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gdbusutils.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gdrive.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gemblem.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gemblemedicon.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gfile.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gfileattribute.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gfileenumerator.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gfileicon.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gfileinfo.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gfileinputstream.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gfileiostream.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gfilemonitor.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gfilenamecompleter.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gfileoutputstream.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gfilterinputstream.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gfilteroutputstream.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gicon.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/ginetaddress.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/ginetsocketaddress.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/ginitable.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/ginputstream.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gio.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gioenums.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gioenumtypes.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gioerror.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/giomodule.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gioscheduler.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/giostream.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/giotypes.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gloadableicon.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gmemoryinputstream.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gmemoryoutputstream.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gmount.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gmountoperation.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gnativevolumemonitor.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gnetworkaddress.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gnetworkservice.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/goutputstream.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gpermission.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gresolver.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gseekable.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gsettings.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gsettingsbackend.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gsimpleasyncresult.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gsimplepermission.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gsocket.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gsocketaddress.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gsocketaddressenumerator.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gsocketclient.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gsocketconnectable.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gsocketconnection.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gsocketcontrolmessage.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gsocketlistener.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gsocketservice.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gsrvtarget.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gtcpconnection.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gthemedicon.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gthreadedsocketservice.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gvfs.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gvolume.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gvolumemonitor.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gzlibcompressor.h +-rw-r--r-- root/root usr/include/glib-2.0/gio/gzlibdecompressor.h +-rw-r--r-- root/root usr/include/glib-2.0/glib-object.h +-rw-r--r-- root/root usr/include/glib-2.0/glib.h +drwxr-xr-x root/root usr/include/glib-2.0/glib/ +-rw-r--r-- root/root usr/include/glib-2.0/glib/galloca.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/garray.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gasyncqueue.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gatomic.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gbacktrace.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gbase64.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gbitlock.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gbookmarkfile.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gcache.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gchecksum.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gcompletion.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gconvert.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gdataset.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gdate.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gdir.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gerror.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gfileutils.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/ghash.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/ghook.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/ghostutils.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gi18n-lib.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gi18n.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/giochannel.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gkeyfile.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/glist.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gmacros.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gmain.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gmappedfile.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gmarkup.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gmem.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gmessages.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gnode.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/goption.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gpattern.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gpoll.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gprimes.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gprintf.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gqsort.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gquark.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gqueue.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/grand.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gregex.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/grel.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gscanner.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gsequence.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gshell.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gslice.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gslist.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gspawn.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gstdio.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gstrfuncs.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gstring.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gtestutils.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gthread.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gthreadpool.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gtimer.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gtree.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gtypes.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gunicode.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gurifuncs.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gutils.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gvariant.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gvarianttype.h +-rw-r--r-- root/root usr/include/glib-2.0/glib/gwin32.h +-rw-r--r-- root/root usr/include/glib-2.0/gmodule.h +drwxr-xr-x root/root usr/include/glib-2.0/gobject/ +-rw-r--r-- root/root usr/include/glib-2.0/gobject/gboxed.h +-rw-r--r-- root/root usr/include/glib-2.0/gobject/gclosure.h +-rw-r--r-- root/root usr/include/glib-2.0/gobject/genums.h +-rw-r--r-- root/root usr/include/glib-2.0/gobject/gmarshal.h +-rw-r--r-- root/root usr/include/glib-2.0/gobject/gobject.h +-rw-r--r-- root/root usr/include/glib-2.0/gobject/gobjectnotifyqueue.c +-rw-r--r-- root/root usr/include/glib-2.0/gobject/gparam.h +-rw-r--r-- root/root usr/include/glib-2.0/gobject/gparamspecs.h +-rw-r--r-- root/root usr/include/glib-2.0/gobject/gsignal.h +-rw-r--r-- root/root usr/include/glib-2.0/gobject/gsourceclosure.h +-rw-r--r-- root/root usr/include/glib-2.0/gobject/gtype.h +-rw-r--r-- root/root usr/include/glib-2.0/gobject/gtypemodule.h +-rw-r--r-- root/root usr/include/glib-2.0/gobject/gtypeplugin.h +-rw-r--r-- root/root usr/include/glib-2.0/gobject/gvalue.h +-rw-r--r-- root/root usr/include/glib-2.0/gobject/gvaluearray.h +-rw-r--r-- root/root usr/include/glib-2.0/gobject/gvaluecollector.h +-rw-r--r-- root/root usr/include/glib-2.0/gobject/gvaluetypes.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/gio/ +drwxr-xr-x root/root usr/lib/gio/modules/ +drwxr-xr-x root/root usr/lib/glib-2.0/ +drwxr-xr-x root/root usr/lib/glib-2.0/include/ +-rw-r--r-- root/root usr/lib/glib-2.0/include/glibconfig.h +-rwxr-xr-x root/root usr/lib/libgio-2.0.la +lrwxrwxrwx root/root usr/lib/libgio-2.0.so -> libgio-2.0.so.0.2508.0 +lrwxrwxrwx root/root usr/lib/libgio-2.0.so.0 -> libgio-2.0.so.0.2508.0 +-rwxr-xr-x root/root usr/lib/libgio-2.0.so.0.2508.0 +-rwxr-xr-x root/root usr/lib/libglib-2.0.la +lrwxrwxrwx root/root usr/lib/libglib-2.0.so -> libglib-2.0.so.0.2508.0 +lrwxrwxrwx root/root usr/lib/libglib-2.0.so.0 -> libglib-2.0.so.0.2508.0 +-rwxr-xr-x root/root usr/lib/libglib-2.0.so.0.2508.0 +-rwxr-xr-x root/root usr/lib/libgmodule-2.0.la +lrwxrwxrwx root/root usr/lib/libgmodule-2.0.so -> libgmodule-2.0.so.0.2508.0 +lrwxrwxrwx root/root usr/lib/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.2508.0 +-rwxr-xr-x root/root usr/lib/libgmodule-2.0.so.0.2508.0 +-rwxr-xr-x root/root usr/lib/libgobject-2.0.la +lrwxrwxrwx root/root usr/lib/libgobject-2.0.so -> libgobject-2.0.so.0.2508.0 +lrwxrwxrwx root/root usr/lib/libgobject-2.0.so.0 -> libgobject-2.0.so.0.2508.0 +-rwxr-xr-x root/root usr/lib/libgobject-2.0.so.0.2508.0 +-rwxr-xr-x root/root usr/lib/libgthread-2.0.la +lrwxrwxrwx root/root usr/lib/libgthread-2.0.so -> libgthread-2.0.so.0.2508.0 +lrwxrwxrwx root/root usr/lib/libgthread-2.0.so.0 -> libgthread-2.0.so.0.2508.0 +-rwxr-xr-x root/root usr/lib/libgthread-2.0.so.0.2508.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/gio-2.0.pc +-rw-r--r-- root/root usr/lib/pkgconfig/gio-unix-2.0.pc +-rw-r--r-- root/root usr/lib/pkgconfig/glib-2.0.pc +-rw-r--r-- root/root usr/lib/pkgconfig/gmodule-2.0.pc +-rw-r--r-- root/root usr/lib/pkgconfig/gmodule-export-2.0.pc +-rw-r--r-- root/root usr/lib/pkgconfig/gmodule-no-export-2.0.pc +-rw-r--r-- root/root usr/lib/pkgconfig/gobject-2.0.pc +-rw-r--r-- root/root usr/lib/pkgconfig/gthread-2.0.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/aclocal/ +-rw-r--r-- root/root usr/share/aclocal/glib-2.0.m4 +-rw-r--r-- root/root usr/share/aclocal/glib-gettext.m4 +-rw-r--r-- root/root usr/share/aclocal/gsettings.m4 +drwxr-xr-x root/root usr/share/gdb/ +drwxr-xr-x root/root usr/share/gdb/auto-load/ +-rwxr-xr-x root/root usr/share/gdb/auto-load/libglib-2.0.so.0.2508.0-gdb.py +-rwxr-xr-x root/root usr/share/gdb/auto-load/libgobject-2.0.so.0.2508.0-gdb.py +drwxr-xr-x root/root usr/share/glib-2.0/ +drwxr-xr-x root/root usr/share/glib-2.0/gdb/ +-rwxr-xr-x root/root usr/share/glib-2.0/gdb/glib.py +-rwxr-xr-x root/root usr/share/glib-2.0/gdb/gobject.py +drwxr-xr-x root/root usr/share/glib-2.0/gettext/ +-rwxr-xr-x root/root usr/share/glib-2.0/gettext/mkinstalldirs +drwxr-xr-x root/root usr/share/glib-2.0/gettext/po/ +-rw-r--r-- root/root usr/share/glib-2.0/gettext/po/Makefile.in.in +drwxr-xr-x root/root usr/share/glib-2.0/schemas/ +-rw-r--r-- root/root usr/share/glib-2.0/schemas/gschema.dtd +drwxr-xr-x root/root usr/share/locale/ +drwxr-xr-x root/root usr/share/locale/fr/ +drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/ +-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/glib20.mo +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/gdbus.1.gz +-rw-r--r-- root/root usr/share/man/man1/gio-querymodules.1.gz +-rw-r--r-- root/root usr/share/man/man1/glib-compile-schemas.1.gz +-rw-r--r-- root/root usr/share/man/man1/glib-genmarshal.1.gz +-rw-r--r-- root/root usr/share/man/man1/glib-gettextize.1.gz +-rw-r--r-- root/root usr/share/man/man1/glib-mkenums.1.gz +-rw-r--r-- root/root usr/share/man/man1/gobject-query.1.gz +-rw-r--r-- root/root usr/share/man/man1/gsettings-schema-convert.1.gz +-rw-r--r-- root/root usr/share/man/man1/gsettings.1.gz +-rw-r--r-- root/root usr/share/man/man1/gtester-report.1.gz +-rw-r--r-- root/root usr/share/man/man1/gtester.1.gz diff --git a/base/glib/.md5sum b/base/glib/.md5sum new file mode 100644 index 000000000..7cb7caea3 --- /dev/null +++ b/base/glib/.md5sum @@ -0,0 +1 @@ +1cfd889de35414b898b68ee94ba8420f glib-2.25.8.tar.bz2 diff --git a/base/glib/Pkgfile b/base/glib/Pkgfile new file mode 100755 index 000000000..587dc7b41 --- /dev/null +++ b/base/glib/Pkgfile @@ -0,0 +1,23 @@ +# Description: Librairie de bas niveau utilisée par de nombreux paquets gtk et autres +# URL: http://www.gtk.org/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: pcre + +name=glib +version=2.25.8 +release=2 +source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2) + +build () { + cd $name-$version + ./configure --prefix=/usr \ + --with-pcre=system \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-pcre=system \ + --disable-fam + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/share/gtk-doc +} diff --git a/base/glib/README b/base/glib/README new file mode 100644 index 000000000..852f39d83 --- /dev/null +++ b/base/glib/README @@ -0,0 +1,2 @@ +Toujours mettre glib à jour depuis la base sinon, des fichiers seront +créés et provoqueront une erreur de footprint diff --git a/base/initrd/.md5sum b/base/initrd/.md5sum index d6061c962..b1a874cb6 100644 --- a/base/initrd/.md5sum +++ b/base/initrd/.md5sum @@ -1,4 +1,4 @@ -e717f17580b8601a390fa82b960be596 install-attapu.ash -53f1e5a36aa4355d40b49f0410cf8582 installtools-08082010.tar.gz -99910b32dc8a8721a8a9c5daa7957ec8 kernel%232.6.34.2-1.pkg.tar.gz +2a134eaac350d854e3b7310ffc905f6c install-attapu.ash +e540cb5fbac8d5a2a02374e3ef3168f2 installtools-20082010.tar.gz +c508bb5eed042ac980440986b9539929 kernel%232.6.34.2-1.pkg.tar.xz dbac11e990e860699518954af68d1980 nutyx-initrd-extra-08082010.tar.bz2 diff --git a/base/initrd/Pkgfile b/base/initrd/Pkgfile index 441187bc0..7f260208a 100644 --- a/base/initrd/Pkgfile +++ b/base/initrd/Pkgfile @@ -5,13 +5,13 @@ name=initrd version=2.6.34.2 -release=2 -_tools=08082010 +release=3 +_tools=20082010 _extra=08082010 _baseversion=2.6.34 SCRIPT_VERSION="attapu" source=(http://kiao.no-ip.info/NuTyX/tools/install-${SCRIPT_VERSION}.ash\ - http://kiao.no-ip.info/NuTyX/attapu/`uname -m`/release/kernel%23$version-1.pkg.tar.gz\ + http://kiao.no-ip.info/NuTyX/attapu/`uname -m`/release/kernel%23$version-1.pkg.tar.xz\ http://kiao.no-ip.info/NuTyX/tools/nutyx-initrd-extra-${_extra}.tar.bz2 http://kiao.no-ip.info/NuTyX/tools/installtools-${_tools}.tar.gz) build(){ diff --git a/base/libarchive/Pkgfile b/base/libarchive/Pkgfile index 44d5e9504..c6d066622 100755 --- a/base/libarchive/Pkgfile +++ b/base/libarchive/Pkgfile @@ -5,7 +5,7 @@ name=libarchive version=2.8.3 -release=1 +release=2 source=( http://$name.googlecode.com/files/$name-$version.tar.gz) @@ -15,7 +15,9 @@ cd $name-$version ./configure --prefix=/usr\ --mandir=/usr/share/man\ --infodir=/usr/share/info \ - --disable-xattr --without-lzmadec + --disable-xattr --without-lzmadec \ + --without-xml2 --without-expat \ + --without-openssl make make DESTDIR=$PKG install } diff --git a/base/p7zip/.footprint b/base/p7zip/.footprint new file mode 100644 index 000000000..e74d07174 --- /dev/null +++ b/base/p7zip/.footprint @@ -0,0 +1,20 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-r-xr-xr-x root/root usr/bin/7z +-r-xr-xr-x root/root usr/bin/7za +-r-xr-xr-x root/root usr/bin/7zr +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/p7zip/ +-r-xr-xr-x root/root usr/lib/p7zip/7z +-r-xr-xr-x root/root usr/lib/p7zip/7z.so +-r-xr-xr-x root/root usr/lib/p7zip/7zCon.sfx +-r-xr-xr-x root/root usr/lib/p7zip/7za +-r-xr-xr-x root/root usr/lib/p7zip/7zr +drwxr-xr-x root/root usr/lib/p7zip/Codecs/ +-r-xr-xr-x root/root usr/lib/p7zip/Codecs/Rar29.so +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-r--r--r-- root/root usr/share/man/man1/7z.1.gz +-r--r--r-- root/root usr/share/man/man1/7za.1.gz +-r--r--r-- root/root usr/share/man/man1/7zr.1.gz diff --git a/base/p7zip/.md5sum b/base/p7zip/.md5sum new file mode 100644 index 000000000..fde42a1a5 --- /dev/null +++ b/base/p7zip/.md5sum @@ -0,0 +1 @@ +8ddb5053db3b1f2696407d01be145779 p7zip_9.13_src_all.tar.bz2 diff --git a/base/p7zip/Pkgfile b/base/p7zip/Pkgfile new file mode 100644 index 000000000..2a44be021 --- /dev/null +++ b/base/p7zip/Pkgfile @@ -0,0 +1,27 @@ +# Description: Utilitaire de compression en ligne dérivé de 7zip +# URL: http://p7zip.sourceforge.net +# Maintainer: NuTyX packager team +# Packager: lesibel at free dot fr +# Depends on: + +name=p7zip +version=9.13 +#4.65 +release=1 +source=(http://downloads.sourceforge.net/sourceforge/$name/${name}_${version}_src_all.tar.bz2) + +build() { + cd ${name}_$version + sed -i "s|usr/local|usr|g" makefile + sed -i "s|-O1|$CXXFLAGS|g" makefile.machine + make all3 + sed -i "s|DEST_HOME=|DEST_HOME=$PKG/usr # |g" install.sh + ./install.sh + install -m555 bin/7z.so $PKG/usr/lib/p7zip/ + + sed -i "s|$PKG/usr|/usr|g" $PKG/usr/bin/7z + sed -i "s|$PKG/pkg/usr|/usr|g" $PKG/usr/bin/7za + sed -i "s|$PKG/usr|/usr|g" $PKG/usr/bin/7zr + mv $PKG/usr/man $PKG/usr/share/ + rm -rf $PKG/usr/share/doc +} diff --git a/base/pkg-get/.md5sum b/base/pkg-get/.md5sum index afee64b02..87ec09358 100644 --- a/base/pkg-get/.md5sum +++ b/base/pkg-get/.md5sum @@ -1,5 +1,3 @@ -638354d5e6acbd9143efafcf03c54acf pkg-get-0.4.5-NuTyX-02.patch -5ee169f2f99fc501387219b6b96ca9ef pkg-get-0.4.5.tar.gz +8480d62c05191ecd44249fe583bcc70c pkg-get-0.5.0.tar.gz a28fcf9580524d8865e05b223afa738f pkg-get.conf -c4cca630bfcc85a3f3b13497aff01310 pkg-repgen.patch -ecdd60fc1c1e3d725402dc271885689a syn +1d8f66bd8d6ff3ac4f3486efdbc453dd syn diff --git a/base/pkg-get/Pkgfile b/base/pkg-get/Pkgfile index 4281addb7..bf2384cd2 100644 --- a/base/pkg-get/Pkgfile +++ b/base/pkg-get/Pkgfile @@ -1,29 +1,21 @@ # Description: Outil de gestion de paquets binaires pour NuTyX -# URL: http://www.varlock.com -# Maintainer: Simone Rota, sip at crux dot nu -# Packager: Simone Rota, sip at crux dot nu +# URL: http://www.varlock.com et nutyx.org +# Maintainer: thierryn1 at hispeed dot ch +# Packager: thierryn1 at hispeed dot ch name=pkg-get -version=0.4.5 -release=13 -source=(http://www.varlock.com/files/$name-$version.tar.gz \ - pkg-get-0.4.5-NuTyX-02.patch pkg-get.conf pkg-repgen.patch syn) +version=0.5.0 +release=1 +source=(http://kiao.no-ip.info/NuTyX/files/$name-$version.tar.gz \ + pkg-get.conf syn) build() { ARCH_=`uname -m` cd $name-$version - patch -Np1 -i ../pkg-repgen.patch - patch -Np1 -i ../pkg-get-$version-NuTyX-02.patch make PREFIX=$PKG/usr CFGDIR=$PKG/etc install mkdir -p $PKG/usr/share mv $PKG/usr/{man,share/man} install -m 755 ../syn $PKG/usr/bin/syn - sed -i "s|CRUX Packages|Paquets NuTyX Architecture $ARCH_|g" $PKG/usr/bin/pkg-repgen - sed -i "s|Generated by|Généré par|g" $PKG/usr/bin/pkg-repgen - sed -i "s|Port|Nom|" $PKG/usr/bin/pkg-repgen - sed -i "s|Last modified|Dernière compilation|" $PKG/usr/bin/pkg-repgen - sed -i "s| package| paquet|g" $PKG/usr/bin/pkg-repgen - sed -i "s| on | le |" $PKG/usr/bin/pkg-repgen install -m644 ../pkg-get.conf $PKG/etc/pkg-get.conf sed -i "s/uname-m/$ARCH_/" $PKG/etc/pkg-get.conf sed -i "s/uname-m/$ARCH_/" $PKG/usr/bin/syn diff --git a/base/pkg-get/pkg-get b/base/pkg-get/pkg-get deleted file mode 100644 index a9ffe3384..000000000 --- a/base/pkg-get/pkg-get +++ /dev/null @@ -1,1208 +0,0 @@ -#!/usr/bin/env perl -# -*- coding: utf-8 -*- -# -# pkg-get - A binary package management utility for CRUX Linux -# Copyright (C) 2004-06 Simone Rota <sip@varlock.com> -# Modified by Arnaud Fernandés <ferarduansednan@laposte.net> 2009-10 -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. - -use warnings; -use strict; -use Getopt::Long; - -my $VERSION = "0.4.5"; -my $CFGFILE = "/etc/pkg-get.conf"; -my $LOCKFILE = "/var/lib/pkg/pkg-get.locker"; -my $PKGDB = "/var/lib/pkg/db" ; - -$SIG{HUP} = \&trap; $SIG{INT} = \&trap; $SIG{QUIT} = \&trap; $SIG{TERM} = \&trap; - -# Global vars -my @repos = (); # package repositories -my @donetasks; my @failtasks; my @prevtasks; my %pptasks; my %readmetasks; -my $curraction = ""; my %installed; my %deps; my @dependencies; my %missingdeps; - -# CL Options -my $download_only; my $pre_install; my $post_install; -my $install_scripts; my $filter = ""; my $all; my $unused; -my $aargs=""; my $ignore_md5sum; my $force; my $root; -GetOptions("do"=>\$download_only, - "pre-install"=>\$pre_install, "post-install"=>\$post_install, - "install-scripts"=>\$install_scripts, "all"=>\$all, - "filter=s"=>\$filter, "config=s"=>\$CFGFILE, "aargs=s"=>\$aargs, - "f"=>\$force, "im"=>\$ignore_md5sum, "margs=s"=>\$unused, - "rargs=s"=>\$unused, "r=s"=>\$root); - -if ($root) { - $LOCKFILE = $root.$LOCKFILE ; - $PKGDB = $root.$PKGDB; -} - -# Get command, verify it's valid -my $command = getcommand(@ARGV); -if (index($command,"Error: ") eq 0 ) { - $command =~ s/Error\: //; - exiterr($command); -} -readconfig(); - -my $exitcode = 0; # 2009-10 - -SWITCH: { - if ($command eq "version") { version(); last SWITCH; } - if ($command eq "sync") { sync(); last SWITCH; } - if ($command eq "info") { info(); last SWITCH; } - if ($command eq "help") { help(); last SWITCH; } - if ($command eq "readme") { readme(); last SWITCH; } - if ($command eq "search") { search(); last SWITCH; } - if ($command eq "dsearch") { dsearch(); last SWITCH; } - if ($command eq "list") { list(); last SWITCH; } - if ($command eq "path") { path(); last SWITCH; } - if ($command eq "remove") { remove(); last SWITCH; } - if ($command eq "listinst") { listinst(); last SWITCH; } - if ($command eq "lock") { dolock(); last SWITCH; } - if ($command eq "unlock") { unlock(); last SWITCH; } - if ($command eq "listlocked") { listlocked(); last SWITCH; } - if ($command eq "printf") { doprintf(); last SWITCH; } - if ($command eq "isinst") { isinst(); last SWITCH; } - if ($command eq "diff") { diff(); last SWITCH; } - if ($command eq "quickdiff") { quickdiff(); last SWITCH; } - if ($command eq "dup") { dup(); last SWITCH; } - if ($command eq "depends") { depends(); last SWITCH; } - if ($command eq "quickdep") { quickdep(); last SWITCH; } - if ($command eq "install") { install(@ARGV); last SWITCH; } - if ($command eq "update") { update(@ARGV); last SWITCH; } - if ($command eq "sysup") { sysup(); last SWITCH; } - if ($command eq "dependent") { dependent(); last SWITCH; } - if ($command eq "depinst") { $exitcode = depinst(); last SWITCH; } # 2009-10 - if ($command eq "current") { current(); last SWITCH; } -} - -exit($exitcode); # 2009-10 - -############################################################################ -# Support functions -############################################################################ - -# Exit with error -sub exiterr { - my ($msg) = @_; - print "pkg-get: $msg\n"; - exit 1; -} - -sub trap { - printresults(1); - die("\npkg-get: interrupted\n"); -} - -# Get command, return an error if not in the list of allowed commands -sub getcommand { - my @args = @_; - my $givencmd = $args[0]; - my $givenarg = $args[1]; - if (not $givenarg){$givenarg = ""}; - if (not $givencmd){$givencmd = ""}; - my @allowed = ("depinst:", "install:", "sysup", "diff", "update:", "depends:", "info:", "sync", - "version", "help", "quickdep:", "dependent:", "list", "listinst", "isinst:", - "search:", "dsearch:", "lock:", "unlock:", "listlocked", "quickdiff", "printf:", - "remove:", "readme:", "dup", "path:", "current:"); - - foreach my $valid(@allowed) { - if ($givencmd eq ""){ - return "Error: no command given. try pkg-get help for more information"; - } - if ($givencmd eq $valid) { - return $givencmd; - } elsif ($givencmd.":" eq $valid) { - if ($givenarg ne "") { - return $givencmd; - } else { - return "Error: '$givencmd' requires an argument"; - } - } - } - return "Error: unknown command '$givencmd'. try pkg-get help for more information"; -} - -# Parses the configuration file -sub readconfig { - open(CFG, $CFGFILE) - or exiterr("could not open $CFGFILE"); - while (<CFG>) { - chomp; - if ( /^pkgdir\s+/ ) { - my $repo = $_; - $repo =~ s/^pkgdir\s+//; - $repo =~ s/#(.*)$//; - $repo =~ s/\s+$//; - push @repos, $repo; - } elsif (/^runscripts\s+/) { - my $rs = $_; - $rs =~ s/^runscripts\s+//; - $rs =~ s/#(.*)$//; - $rs =~ s/\s+$//; - if ($rs eq "yes") {$install_scripts = 1}; - } - } - close(CFG); -} - -# Parse a line describing a package -sub parsepackage { - my @p = split(/\:/, $_[0]); - if ($#p != 6) {exiterr("$_[1]/PKGREPO appears to be in wrong format!\nAborting.")}; - my %pkg; - my $name = $p[0]; - $name =~ s/\#.*$//; - my $version = $p[0]; - $version =~ s/^.*\#//; - $version =~ s/-\w*\.pkg\.tar\.gz//; - my $release = $p[0]; - $release =~ s/^.*-//; - $release =~ s/\.pkg\.tar\.gz//; - if (not $_[2]) {$_[2] = $_[1]}; - $pkg{'name'} = $name; - $pkg{'version'} = $version; - $pkg{'release'} = $release; - $pkg{'path'} = $_[1]; - $pkg{'url'} = $_[2] . "/$p[0]"; - $pkg{'size'} = $p[1]; - $pkg{'md5sum'} = $p[2]; - $pkg{'description'} = $p[3]; - $pkg{'pre_install'} = $p[4]; - $pkg{'post_install'} = $p[5]; - $pkg{'readme'} = $p[6]; - if ($_[3] == 1) { - getinstalled(); - $pkg{'instversion'} = $installed{$name}; - } - return %pkg; -} - -# Parse a line describing a package (just the name) -sub parsepackagelight { - my @p = split(/\:/, $_[0]); - if ($#p != 6) {exiterr("$_[1]/PKGREPO appears to be in wrong format!\nAborting.")}; - my %pkg; - my $name = $p[0]; - $name =~ s/\#.*$//; - $pkg{'name'} = $name; - return %pkg; -} - -# Print info about the given package -sub printinfo { - my %pkg = @_; - print "Name : " . $pkg{'name'} . "\n"; - print "Version : " . $pkg{'version'} . "\n"; - print "Release : " . $pkg{'release'} . "\n"; - print "Description : " . $pkg{'description'} . "\n"; - print "URL : " . $pkg{'url'} . "\n"; - print "Md5sum : " . $pkg{'md5sum'} . "\n"; - print "Size : " . $pkg{'size'} . "\n"; - my $deps = getdirectdeps($pkg{'name'}, $pkg{'path'}); - if ($deps ne "") { print "Depends on : $deps\n";}; - my $files = ""; - if ($pkg{'readme'} eq "yes") {$files .= "README,"}; - if ($pkg{'pre_install'} eq "yes") {$files .= "pre-install,"}; - if ($pkg{'post_install'} eq "yes") {$files .= "post-install,"}; - $files =~ s/\,$//; - if ($files ne "") { print "Files : $files\n";}; -} - -# Get direct dependencies for package -sub getdirectdeps { - my $pkgname = $_[0]; - my $dir = $_[1]; - open(DEPS, "$dir/PKGDEPS") - or exiterr("could not open $dir/PKGDEPS"); - while (<DEPS>) { - chomp; - if ( /^\Q$pkgname\E\s+/ ) { - my $dep = $_; - $dep =~ s/^.*\: //; - close(DEPS); - return $dep; - } - } - close(DEPS); - return ""; -} - -# Prints the README file to stdout -sub printreadme { - my %pkg = @_; - my $dir = $pkg{'path'}; - my $pkgname = $pkg{'name'}; - my $found = 0; - my $finished = 0; - open(READ, "$dir/PKGREAD") - or exiterr("could not open $dir/PKGREAD"); - while (<READ>) { - if ($finished eq 1) {return;}; - chomp; - if ($found eq 1) { - if ( /PKGREADME\:/ ) { - $finished = 1; - close(READ); - return; - } else { - print "$_\n"; - } - } - if ($finished eq 0) { - if ( /PKGREADME: $pkgname$/ ) { - $found = 1; - } - } - } - close(READ); -} - -# Print results for multiple package operations -sub printresults { - my $okaction = $curraction; - my $curr = ""; - my $action; - my $pkg; - my @t; - my @readme; - my $goterror = 0; - if (@donetasks) { - print "\n-- Packages $okaction\n"; - foreach my $task(@donetasks) { - if ($readmetasks{$task}) {push(@readme, $task)} - print "$task" . $pptasks{$task}."\n"; - } - } - if (@prevtasks) { - if ($okaction eq "installed") { - print "\n-- Packages installed before this run (ignored)\n"; - } else { - print "\n-- Packages not previously installed (ignored)\n"; - } - foreach my $task(@prevtasks) { - print "$task\n"; - } - } - if (@failtasks) { - @failtasks = sort(@failtasks); - foreach my $task(@failtasks) { - @t = split(/,/,$task); - $action = $t[0]; - $pkg = $t[1]; - if ($curr ne $action) { - print "\n-- Packages $action\n"; - $curr = $action; - } - print "$pkg\n"; - } - } - if (@readme) { - print "\n-- $okaction packgages with README file\n"; - foreach my $task(@readme) { - print "$task" . $pptasks{$task}."\n"; - } - } - if(@donetasks and not @failtasks and not $_[0]) { - print "\npkg-get: $okaction successfully\n" - } -} - -# Get the list of installed packages -sub getinstalled { - if (%installed) { - return; - } - my $name; - my $version; - my $sec = 0; - open(DB, $PKGDB) - or exiterr("could not open ".$PKGDB); - while (<DB>) { - chomp; - if ($_ ne "") { - if ($sec == 0) { - $name = $_; - $sec = 1; - } elsif ($sec == 1) { - $version = $_; - $sec = 3; - } - } - if ($sec == 3) { - if ($_ eq "") { - $sec = 0; - $installed{$name} = $version; - } - } - } - close(DB); -} - -# Lock the given pkgname -sub lockadd { - my $pkg = $_[0]; - my @locked = (); - if (not -e $LOCKFILE) { - open(LCK, "+>> $LOCKFILE") or exiterr("could not write to lock file"); - close(LCK); - } - open(LCK, $LOCKFILE); - while (<LCK>) { - chomp; - if ($_ eq $pkg) { - print "Already locked: $pkg\n"; - close(LCK); - return; - } else { - push (@locked, $_); - } - } - close(LCK); - push(@locked, $pkg); - @locked = sort(@locked); - open(LCK, "> $LOCKFILE") or exiterr("could not write to lock file"); - foreach my $lock(@locked) { - print LCK "$lock\n"; - } - close(LCK); -} - -# Rrint formatted info for given package -sub formattedprint { - my %pkg = @_; - my $fmt = $ARGV[1]; - $fmt =~ s|%n|$pkg{'name'}|; - $fmt =~ s|%p|$pkg{'path'}|; - $fmt =~ s|%v|$pkg{'version'}|; - $fmt =~ s|%r|$pkg{'release'}|; - $fmt =~ s|%d|$pkg{'description'}|; - $fmt =~ s|%u|$pkg{'url'}|; - $fmt =~ s|%R|$pkg{'readme'}|; - $fmt =~ s|%E|$pkg{'pre_install'}|; - $fmt =~ s|%O|$pkg{'post_install'}|; - $fmt =~ s|%M|Nobody|; # for prt-get compatibility - $fmt =~ s|%P|Nobody|; # for prt-get compatibility - $fmt =~ s|\\n|\n|; - $fmt =~ s|\\t|\t|; - if (index($fmt,"%e") >=0) { - my $deps = getdirectdeps($pkg{'name'}, $pkg{'path'}); - $fmt =~ s|%e|$deps|; - } - if (index($fmt,"%l") >=0) { - my $locked = islocked($pkg{'name'}); - $fmt =~ s|%l|$locked|; - } - if (index($fmt,"%i") >=0) { - my $inst = "no"; - if ($pkg{'instversion'}) { - if ($pkg{'instversion'} eq $pkg{'version'}."-".$pkg{'release'}) { - $inst = "yes"; - } else { - $inst = "diff"; - } - } - $fmt =~ s|%i|$inst|; - } - print "$fmt"; -} - -# See if package is currently locked -sub islocked { - my $pkg = $_[0]; - open(LCK, $LOCKFILE) or return "no"; - while (<LCK>) { - chomp; - if ($_ eq $pkg) { - close(LCK); - return "yes"; - } - } - close(LCK); - return "no"; -} - -# Get package from the repo(s) -sub getpackage { - my $pkgname = $_[0]; - my $checkver = $_[1]; - my %found; - my %res; - foreach my $repo(@repos) { - my @r = split(/\|/, $repo); - my $dir = $r[0]; - my $url = $r[1]; - open(REPO, "$dir/PKGREPO") or exiterr("could not open $dir/PKGREPO"); - while (<REPO>) { - chomp; - my %pkg = parsepackage($_, $dir, $url, $checkver); - if ($pkg{'name'} eq $pkgname) { - close (REPO); - return %pkg; - } - } - close (REPO); - } - return %res; -} - -# Get short status for package, ie [i] -sub getshortstatus { - my %pkg = @_; - if ($pkg{'instversion'}) { - if ($pkg{'instversion'} eq $pkg{'version'}."-".$pkg{'release'}) { - return "[i]"; - } else { - return "[u]"; - } - } - return "[ ]"; -} - -# Get (recursive) dependencies for pkgname -sub getdependencies { - my $pkgname = $_[0]; - my $checkver = $_[1]; - my $pkgparent = $_[2]; - my $depstring = ""; - if ($pkgparent eq "") { - #%deps = (); - }; - if (not $deps{$pkgname}) { - my %pkg = getpackage($pkgname, 1); - if (%pkg) { - my $ddeps = getdirectdeps($pkg{'name'}, $pkg{'path'}); - my @d = split(/,/, $ddeps); - foreach my $dep(@d) { - getdependencies($dep, $checkver, $pkgname); - } - if ($checkver) { - $depstring = getshortstatus(%pkg) . " $pkgname"; - } else { - $depstring = $pkgname; - } - $deps{$pkgname} = $depstring; - push(@dependencies, $depstring); - } else { - if ($pkgparent eq "") { - return 0; - } else { - $missingdeps{$pkgname} = $pkgparent; - } - } - } -} - -# Download given package (if needed), check md5sum -sub downloadpkg { - my %pkg = @_; - my $fullpath = $pkg{'path'}."/".$pkg{'name'}."#".$pkg{'version'}."-".$pkg{'release'}.".pkg.tar.gz"; - if (-f $fullpath) { - my $md5 = `md5sum $fullpath`; chomp; - $md5 =~ s/\s+.*$//; - $md5 =~ chop($md5); - if ($md5 ne $pkg{'md5sum'} and not $ignore_md5sum) { - print STDERR "=======> ERROR: md5sum mismatch for $pkg{'name'}:\n"; - print STDERR "required : $pkg{'md5sum'}\n"; - print STDERR "found : $md5\n"; - return 0; - } - return 1; - } else { - if ($pkg{'url'} eq "") {return 1}; # repo is local and pkg does not exist. - my $url = $pkg{'url'}; - $url =~ s/\#/\%23/; - system ("wget --no-directories --tries=3 --waitretry=3 --directory-prefix=$pkg{'path'} $url") == 0 or return 0; - my $md5 = `md5sum $fullpath`; chomp; - $md5 =~ s/\s+.*$//; - $md5 =~ chop($md5); - if ($md5 ne $pkg{'md5sum'} and not $ignore_md5sum) { - print STDERR "=======> ERROR: md5sum mismatch for $pkg{'name'}:\n"; - print STDERR "required : $pkg{'md5sum'}\n"; - print STDERR "found : $md5\n"; - return 0; - } - } - return 1; -} - -# Install given package -sub installpkg { - my $upgrade = shift(@_); - my %pkg = @_; - my $aa = $aargs." "; - if ($pkg{'readme'} eq "yes") {$readmetasks{$pkg{'name'}} = 1}; - $pptasks{$pkg{'name'}} = ""; - if ($download_only) {return 1}; - if ($force){$aa = $aa."-f "}; - if ($root) {$aa = $aa."-r ".$root." "}; - if ($pkg{'pre_install'} eq "yes" and ($install_scripts or $pre_install)) {dopre(%pkg)}; - my $fullpath = $pkg{'path'}."/".$pkg{'name'}."#".$pkg{'version'}."-".$pkg{'release'}.".pkg.tar.gz"; - print "pkg-get: /usr/bin/pkgadd $upgrade$aa$fullpath\n"; - system ("/usr/bin/pkgadd $upgrade$aa$fullpath") == 0 or return 0; - if ($pkg{'post_install'} eq "yes" and ($install_scripts or $post_install)) {dopost(%pkg)}; - return 1; -} - -# Execute pre-install script -sub dopre { - my %pkg = @_; - my $cmd = "/bin/bash $pkg{'path'}/PKGINST $pkg{name}_pre_install"; - if (system($cmd) == 0){ - $pptasks{$pkg{'name'}} .= " [pre: ok]"; - } else { - $pptasks{$pkg{'name'}} .= " [pre: failed]"; - } -} - -# Execute post-install script -sub dopost { - my %pkg = @_; - my $cmd = "/bin/bash $pkg{'path'}/PKGINST $pkg{name}_post_install"; - if (system($cmd) == 0){ - $pptasks{$pkg{'name'}} .= " [post: ok]"; - } else { - $pptasks{$pkg{'name'}} .= " [post: failed]"; - } -} - -############################################################################ -# Main functions (commands) -############################################################################ - -# No pun intended ########################################################## -sub version { - print "pkg-get $VERSION "; - print "by Simone Rota <sip\@varlock.com>\n"; -} - -# Show brief help ########################################################## -sub help { - print "Usage: pkg-get command <package1> [package2 ... packageN] [options] - -Some command: - sync synchronize with the repository - depinst install package and its dependencies; - info info about package - sysup updates all outdated packages - diff list all outdated packages - -Some option: - -do download only - --install-scripts use install scripts - -r <root> use <root> for pkgadd - -Example: - pkg-get install sqlite pysqlite - -For other commands and samples, see the pkg-get(8) man page\n"; -} - -# Sync with the remote server(s) ########################################### -sub sync { - my @r; - my $dir; - my $url; - my $dlerror = 0; - foreach my $repo(@repos) { - @r = split(/\|/, $repo); - $dir = $r[0]; - $url = $r[1]; - if (not $url){$url = ""}; - print "Updating collection $dir\n"; - if (not -d $dir) { - mkdir($dir) or exiterr("cannot create $dir"); - } - if ($url ne "") { - for my $f ("PKGREPO", "PKGDEPS", "PKGREAD", "PKGINST") { - if (-f "$dir/$f") {rename("$dir/$f", "$dir/$f.old") or exiterr("cannot write to $dir")}; - if (system("wget -q -P $dir $url/$f") != 0) { - print " cannot retrieve $f\n"; - $dlerror=1; - } - } - if ($dlerror) { # restore backup repo - for my $f ("PKGREPO", "PKGDEPS", "PKGREAD", "PKGINST") { - if (-f "$dir/$f.old") {rename("$dir/$f.old", "$dir/$f") or exiterr("cannot write to $dir")};}; - } else { # remove backup repo - for my $f ("PKGREPO", "PKGDEPS", "PKGREAD", "PKGINST") { - if (-f "$dir/$f.old") {unlink("$dir/$f.old") or exiterr("cannot write to $dir")};}; - } - } - } -} - -# Show info about the package ############################################## -sub info { - my $arg = $ARGV[1]; - foreach my $repo(@repos) { - my @r = split(/\|/, $repo); - my $dir = $r[0]; - my $url = $r[1]; - open(REPO, "$dir/PKGREPO") or exiterr("could not open $dir/PKGREPO"); - while (<REPO>) { - chomp; - my %pkg = parsepackage($_, $dir, $url, 0); - if ($pkg{'name'} eq $arg) { - printinfo(%pkg); - close(REPO); - return; - } - } - close(REPO); - } - print "Package '$arg' not found\n"; -} - -# List packages containing given string in their name ###################### -sub search { - my $arg = $ARGV[1]; - my %found; - foreach my $repo(@repos) { - my @r = split(/\|/, $repo); - my $dir = $r[0]; - my $url = $r[1]; - open(REPO, "$dir/PKGREPO") or exiterr("could not open $dir/PKGREPO"); - while (<REPO>) { - chomp; - my %pkg = parsepackage($_, $dir, $url, 0); - if (index($pkg{'name'}, $arg) > -1 and not $found{$pkg{'name'}}) { - $found{$pkg{'name'}} = 1; - } - } - close(REPO); - } - foreach my $key (sort keys %found) { - print "$key\n"; - } - if (not %found) {print "No matching packages found\n"}; -} - -# List packages containing given string (name / description) ############### -sub dsearch { - my $arg = $ARGV[1]; - my %found; - foreach my $repo(@repos) { - my @r = split(/\|/, $repo); - my $dir = $r[0]; - my $url = $r[1]; - open(REPO, "$dir/PKGREPO") or exiterr("could not open $dir/PKGREPO"); - while (<REPO>) { - chomp; - my %pkg = parsepackage($_, $dir, $url, 0); - if ((index($pkg{'name'}, $arg) > -1 or index($pkg{'description'}, $arg) > -1) - and not $found{$pkg{'name'}}) { - $found{$pkg{'name'}} = 1; - } - } - close(REPO); - } - foreach my $key (sort keys %found) { - print "$key\n"; - } - if (not %found) {print "No matching packages found\n";}; -} - -# List all available packages ############################################## -sub list { - my $arg = $ARGV[1]; - my %found; - foreach my $repo(@repos) { - my @r = split(/\|/, $repo); - my $dir = $r[0]; - my $url = $r[1]; - open(REPO, "$dir/PKGREPO") or exiterr("could not open $dir/PKGREPO"); - while (<REPO>) { - chomp; - my %pkg = parsepackage($_, $dir, $url, 0); - $found{$pkg{'name'}} = 1; - } - close(REPO); - } - foreach my $key (sort keys %found) { - print "$key\n"; - } -} - -# Show path for a package ################################################## -sub path { - my $arg = $ARGV[1]; - foreach my $repo(@repos) { - my @r = split(/\|/, $repo); - my $dir = $r[0]; - my $url = $r[1]; - open(REPO, "$dir/PKGREPO") or exiterr("could not open $dir/PKGREPO"); - while (<REPO>) { - chomp; - my %pkg = parsepackage($_, $dir, $url, 0); - if ($pkg{'name'} eq $arg) { - print $pkg{'path'} . "\n"; - close(REPO); - return; - } - } - close(REPO); - } - print "Package '$arg' not found\n"; -} - -# Show current installed version of a package ############################## -sub current { - my $pkgname = $ARGV[1]; - getinstalled(); - if ($installed{$pkgname}) { - print "$installed{$pkgname}\n"; - } else { - print "Package $pkgname not installed\n"; - } -} - -# Print the README file for a package ###################################### -sub readme { - my $arg = $ARGV[1]; - foreach my $repo(@repos) { - my @r = split(/\|/, $repo); - my $dir = $r[0]; - my $url = $r[1]; - open(REPO, "$dir/PKGREPO") or exiterr("could not open $dir/PKGREPO"); - while (<REPO>) { - chomp; - my %pkg = parsepackage($_, $dir, $url, 0); - if ($pkg{'name'} eq $arg) { - printreadme(%pkg); - close(REPO); - return; - } - } - close(REPO); - } - print "Package '$arg' not found\n"; -} - -# Remove given packages #################################################### -sub remove { - $curraction = "removed"; - shift(@ARGV); - foreach my $pkg(@ARGV) { - $pptasks{$pkg} = ""; - if (system("/usr/bin/pkgrm $pkg") ==0) { - push(@donetasks, $pkg); - } else { - push(@failtasks, "where removal failed,$pkg"); - } - } - printresults(); -} - -# List installed packages ################################################## -sub listinst { - getinstalled(); - foreach my $key (sort keys %installed) { - print "$key\n"; - } -} - -# Print if package is installed ########################################### -sub isinst { - getinstalled(); - shift(@ARGV); - foreach my $pkg(@ARGV) { - if ($installed{$pkg}) { - print "package $pkg is installed\n"; - } else { - print "package $pkg is not installed\n"; - } - } -} - - -# Lock given packages ###################################################### -sub dolock { - shift(@ARGV); - foreach my $arg(@ARGV) { - my $found = 0; - foreach my $repo(@repos) { - if ($found == 0) { - my @r = split(/\|/, $repo); - my $dir = $r[0]; - my $url = $r[1]; - open(REPO, "$dir/PKGREPO") or exiterr("could not open $dir/PKGREPO"); - while (<REPO>) { - chomp; - my %pkg = parsepackagelight($_); - if ($pkg{'name'} eq $arg) { - $found = 1; - lockadd($arg); - } - } - close(REPO); - } - } - if ($found == 0) {print "Package '$arg' not found\n"}; - } -} - -# Unlock given packages #################################################### -sub unlock { - shift(@ARGV); - my @locked; - my $found; - foreach my $arg(@ARGV) { - $found = 0; - @locked = (); - open(LCK, $LOCKFILE) or exiterr("could not open lock file"); - while (<LCK>) { - chomp; - if ($_ eq $arg) { - push (@locked, "-"); - $found = 1; - } else { - push (@locked, $_); - } - } - close(LCK); - if ($found == 1) { - @locked = sort(@locked); - open(LCK, ">$LOCKFILE") or exiterr("could not write to lock file"); - foreach my $lock(@locked) { - if ($lock ne "-") {print LCK "$lock\n"}; - } - close(LCK); - } else { - print "Not locked previously: $arg\n"; - } - } -} - -# List locked packages ##################################################### -sub listlocked { - open(LCK, $LOCKFILE) - or exit; - while (<LCK>) { - chomp; - print "$_\n"; - } - close(LCK); -} - -# Print formatted info ##################################################### -sub doprintf { - my %found; - foreach my $repo(@repos) { - my @r = split(/\|/, $repo); - my $dir = $r[0]; - my $url = $r[1]; - open(REPO, "$dir/PKGREPO") or exiterr("could not open $dir/PKGREPO"); - while (<REPO>) { - chomp; - my %pkg; - if (index($ARGV[1], "%i") >=0 ) { - %pkg = parsepackage($_, $dir, $url, 1); - } else { - %pkg = parsepackage($_, $dir, $url, 0); - } - if (not $found{$pkg{'name'}}) { - if ($filter ne "") { - my $match = $pkg{'name'}; - my $cfilter = $filter; - $cfilter =~ s/\*/\.\*/; - if ($match =~ /^$cfilter$/) { - formattedprint(%pkg); - $found{$pkg{'name'}} = 1; - } - } else { - formattedprint(%pkg); - $found{$pkg{'name'}} = 1; - } - } - } - close(REPO); - } -} - -# Show differences between installed and available packages ################ -sub diff { - my %found; - my $gotdiff = 0; - foreach my $repo(@repos) { - my @r = split(/\|/, $repo); - my $dir = $r[0]; - my $url = $r[1]; - open(REPO, "$dir/PKGREPO") or exiterr("could not open $dir/PKGREPO"); - while (<REPO>) { - chomp; - my %pkg; - %pkg = parsepackage($_, $dir, $url, 1); - if (not $found{$pkg{'name'}}) { - if ($pkg{'instversion'}) { - if ($pkg{'instversion'} ne $pkg{'version'}."-".$pkg{'release'}) { - if (islocked($pkg{'name'}) eq "no") { - if ($gotdiff == 0){ - print "Differences between installed packages and packages repo:\n\n"; - printf("%-19s %-19s %-19s\n\n","Package","Installed","Available in the repositories"); - $gotdiff = 1; - } - printf("%-19s %-19s %-19s\n", $pkg{'name'}, $pkg{'instversion'}, $pkg{'version'}."-".$pkg{'release'}); - } elsif ($all) { # yeah, it blows, at least avoid to read the locked state twice. - if ($gotdiff == 0){ - print "Differences between installed packages and packages repo:\n\n"; - printf("%-19s %-19s %-19s\n\n","Package","Installed","Available in the repositories"); - $gotdiff = 1; - } - printf("%-19s %-19s %-19s %-19s\n", $pkg{'name'}, $pkg{'instversion'}, $pkg{'version'}."-".$pkg{'release'}, "locked"); - } - } - } - $found{$pkg{'name'}} = 1; - } - } - close(REPO); - } - if ($gotdiff ==0) {print "No differences found\n"}; -} - -# Show differences between installed and available packages ################ -sub quickdiff { - my %found; - my $gotdiff = 0; - foreach my $repo(@repos) { - my @r = split(/\|/, $repo); - my $dir = $r[0]; - my $url = $r[1]; - open(REPO, "$dir/PKGREPO") or exiterr("could not open $dir/PKGREPO"); - while (<REPO>) { - chomp; - my %pkg; - %pkg = parsepackage($_, $dir, $url, 1); - if (not $found{$pkg{'name'}}) { - if ($pkg{'instversion'}) { - if ($pkg{'instversion'} ne $pkg{'version'}."-".$pkg{'release'} and islocked($pkg{'name'}) eq "no") { - if ($gotdiff == 0){ - print $pkg{'name'}; - $gotdiff = 1; - } else { - print " " . $pkg{'name'}; - } - } - } - $found{$pkg{'name'}} = 1; - } - } - close(REPO); - } - if ($gotdiff != 0) {print "\n"}; -} - -# Display duplicate packages (found in more than one repo) ################# -sub dup { - my %found; - foreach my $repo(@repos) { - my @r = split(/\|/, $repo); - my $dir = $r[0]; - my $url = $r[1]; - open(REPO, "$dir/PKGREPO") or exiterr("could not open $dir/PKGREPO"); - while (<REPO>) { - chomp; - my %pkg; - %pkg = parsepackage($_, $dir, $url, 0); - $found{$pkg{'name'}} .= "###" . $pkg{'path'}."/". $pkg{'name'}.$pkg{'version'}."-".$pkg{'release'}; - } - close(REPO); - } - my $curr = ""; - foreach my $key (sort keys %found) { - my $value = $found{$key}; - $value =~ s/^\#\#\#//; - if (rindex($value, "###") >=0){ - print "* $key\n"; - my @d = split(/\#\#\#/, $value); - foreach my $dup(@d){ - print " $dup\n"; - } - } - } -} - -# Show list of dependencies for package #################################### -sub depends { - getdependencies($ARGV[1], 1, "") or exiterr("package '$ARGV[1]' not found"); - if (@dependencies) {print "-- dependencies ([i] = installed, [u] = updatable)\n"} - foreach my $dep(@dependencies) { - print "$dep\n"; - } - if (%missingdeps) { - print "\n-- missing packages\n"; - foreach my $dep(sort keys %missingdeps) { - print "$dep from $missingdeps{$dep}\n"; - } - } -} - -# Show compact list of dependencies for package ############################ -sub quickdep { - getdependencies($ARGV[1], 0, "") or exiterr("package '$ARGV[1]' not found"); - foreach my $dep(@dependencies) { - print "$dep "; - } - print "\n"; -} - -# Show packages directly depending from given package ###################### -sub dependent { - my $arg = $ARGV[1]; - my %dp; - if (not $all) { getinstalled(); } - foreach my $repo(@repos) { - my @r = split(/\|/, $repo); - my $dir = $r[0]; - my $url = $r[1]; - open(DEPS, "$dir/PKGDEPS") - or exiterr("could not open $dir/PKGDEPS"); - while (<DEPS>) { - chomp; - my $dep = $_; - $dep =~ s/\s+\:.*$//; - s/^.*\: /\,/; - s/$/\,\$/; - if ( /\,\Q$arg\E\,/ ) { - if (not $all) { - if ($installed{$dep}) { - $dp{$dep} = 1; - } - } else { - $dp{$dep} = 1; - } - } - } - close(DEPS); - } - foreach my $res(keys %dp) { - print "$res\n"; - } -} - -# Install given package #################################################### -sub install { - $curraction = "installed"; - my @args = @_; shift(@args); - getinstalled(); - foreach my $pkgname(@args) { - my %pkg = getpackage($pkgname, 1); - if (not %pkg ) { - push(@failtasks, "not found,$pkgname"); - } elsif (getshortstatus(%pkg) ne "[ ]") { - push(@prevtasks, "$pkgname"); - } elsif (downloadpkg(%pkg) and installpkg("", %pkg)) { - push(@donetasks, $pkgname); - } else { - push(@failtasks, "where install failed,$pkgname"); - } - } - printresults(); -} - -# Update given package ##################################################### -sub update { - $curraction = "updated"; - my @args = @_; shift(@args); - getinstalled(); - foreach my $pkgname(@args) { - my %pkg = getpackage($pkgname, 1); - if (not %pkg) { - push(@failtasks, "not found,$pkgname"); - } elsif (getshortstatus(%pkg) eq "[ ]") { - push(@prevtasks, "$pkgname"); - } elsif (downloadpkg(%pkg) and installpkg("-u ", %pkg)) { - push(@donetasks, $pkgname); - } else { - push(@failtasks, "where update failed,$pkgname"); - } - } - printresults(); -} - -# Update out of date packages ############################################## -sub sysup { - my %found; - my @diff; - foreach my $repo(@repos) { - my @r = split(/\|/, $repo); - my $dir = $r[0]; - my $url = $r[1]; - open(REPO, "$dir/PKGREPO") or exiterr("could not open $dir/PKGREPO"); - while (<REPO>) { - chomp; - my %pkg; - %pkg = parsepackage($_, $dir, $url, 1); - if (not $found{$pkg{'name'}}) { - if ($pkg{'instversion'}) { - if ($pkg{'instversion'} ne $pkg{'version'}."-".$pkg{'release'} and islocked($pkg{'name'}) eq "no") { - push(@diff, $pkg{'name'}); - } - } - $found{$pkg{'name'}} = 1; - } - } - close(REPO); - } - if (@diff) { - unshift(@diff, "dummy"); # is shifted later in update sub; - update(@diff); - } -} - -# 2009-10 -sub depinst { - my @toinst; my %seen; - $curraction = "installed"; - my @args = @ARGV; shift(@args); - getinstalled(); - - #~ Pour chaque paquet dans les arguments - foreach my $pkgname(@args) { - - #~ Si déjà installé retourne la valeur 55 - if($installed{$pkgname}){ - print "pkg-get : Le paquet $pkgname est déjà installé.\n"; - return 55; - } - #~ Si n'est pas dans les dépots, retourne la valeur 56 - if(not getpackage($pkgname, 1)){ - print "pkg-get : Le paquet $pkgname n'est pas disponible en binaire.\n"; - return 56; - } - - #~ Recherche des dépendances (tableau associatif @dependencies) - getdependencies($pkgname, 0, ""); - - #~ Pour chaque dépendances - foreach my $dep(@dependencies) { - - #~ Si on ne l'a pas déjà traitée - if (not $seen{$dep}) { - - #~ Prends le paquet des dépots - my %pkg = getpackage($dep, 1); - if (%pkg) { - #~ L'ajoute à la liste des paquets à installer - if (getshortstatus(%pkg) eq "[ ]"){ - push(@toinst, $pkg{'name'}); - } - } - #~ Marque la dépendance comme déjà traitée - $seen{$dep} = 1; - } - } - } - #~ Si des paquets sont marqués comme étant à installer, on lance l'installation - if (@toinst) { - unshift(@toinst, "dummy"); # is shifted later in install sub; - install(@toinst); - } -} diff --git a/base/pkg-get/pkg-get-0.4.5-NuTyX-02.patch b/base/pkg-get/pkg-get-0.4.5-NuTyX-02.patch deleted file mode 100644 index 465dafd24..000000000 --- a/base/pkg-get/pkg-get-0.4.5-NuTyX-02.patch +++ /dev/null @@ -1,287 +0,0 @@ ---- pkg-get-0.4.5/scripts/pkg-get.pl 2009-10-17 20:20:51.000000000 +0000 -+++ /usr/ports/base/pkg-get/pkg-get 2009-10-17 16:42:23.000000000 +0000 -@@ -1,7 +1,9 @@ - #!/usr/bin/env perl -+# -*- coding: utf-8 -*- - # - # pkg-get - A binary package management utility for CRUX Linux - # Copyright (C) 2004-06 Simone Rota <sip@varlock.com> -+# Modified by Arnaud Fernandés <ferarduansednan@laposte.net> 2009-10 - # - # This program is free software; you can redistribute it and/or modify - # it under the terms of the GNU General Public License as published by -@@ -48,6 +50,8 @@ - } - readconfig(); - -+my $exitcode = 0; # 2009-10 -+ - SWITCH: { - if ($command eq "version") { version(); last SWITCH; } - if ($command eq "sync") { sync(); last SWITCH; } -@@ -74,10 +78,11 @@ - if ($command eq "update") { update(@ARGV); last SWITCH; } - if ($command eq "sysup") { sysup(); last SWITCH; } - if ($command eq "dependent") { dependent(); last SWITCH; } -- if ($command eq "depinst") { depinst(); last SWITCH; } -+ if ($command eq "depinst") { $exitcode = depinst(); last SWITCH; } # 2009-10 - if ($command eq "current") { current(); last SWITCH; } - } - -+exit($exitcode); # 2009-10 - - ############################################################################ - # Support functions -@@ -104,7 +109,7 @@ - if (not $givencmd){$givencmd = ""}; - my @allowed = ("depinst:", "install:", "sysup", "diff", "update:", "depends:", "info:", "sync", - "version", "help", "quickdep:", "dependent:", "list", "listinst", "isinst:", -- "search:", "dsearch:", "lock:", "unlock:", "listlocked", "quickdiff", "printf:", -+ "search:", "dsearch:", "lock:", "unlock:", "listlocked", "quickdiff", "printf:", - "remove:", "readme:", "dup", "path:", "current:"); - - foreach my $valid(@allowed) { -@@ -126,7 +131,7 @@ - - # Parses the configuration file - sub readconfig { -- open(CFG, $CFGFILE) -+ open(CFG, $CFGFILE) - or exiterr("could not open $CFGFILE"); - while (<CFG>) { - chomp; -@@ -160,7 +165,7 @@ - my $release = $p[0]; - $release =~ s/^.*-//; - $release =~ s/\.pkg\.tar\.gz//; -- if (not $_[2]) {$_[2] = $_[1]}; -+ if (not $_[2]) {$_[2] = $_[1]}; - $pkg{'name'} = $name; - $pkg{'version'} = $version; - $pkg{'release'} = $release; -@@ -214,7 +219,7 @@ - sub getdirectdeps { - my $pkgname = $_[0]; - my $dir = $_[1]; -- open(DEPS, "$dir/PKGDEPS") -+ open(DEPS, "$dir/PKGDEPS") - or exiterr("could not open $dir/PKGDEPS"); - while (<DEPS>) { - chomp; -@@ -236,7 +241,7 @@ - my $pkgname = $pkg{'name'}; - my $found = 0; - my $finished = 0; -- open(READ, "$dir/PKGREAD") -+ open(READ, "$dir/PKGREAD") - or exiterr("could not open $dir/PKGREAD"); - while (<READ>) { - if ($finished eq 1) {return;}; -@@ -312,12 +317,12 @@ - # Get the list of installed packages - sub getinstalled { - if (%installed) { -- return; -+ return; - } - my $name; - my $version; - my $sec = 0; -- open(DB, $PKGDB) -+ open(DB, $PKGDB) - or exiterr("could not open ".$PKGDB); - while (<DB>) { - chomp; -@@ -447,7 +452,7 @@ - return %res; - } - --# Get short status for package, ie [i] -+# Get short status for package, ie [i] - sub getshortstatus { - my %pkg = @_; - if ($pkg{'instversion'}) { -@@ -503,9 +508,9 @@ - $md5 =~ s/\s+.*$//; - $md5 =~ chop($md5); - if ($md5 ne $pkg{'md5sum'} and not $ignore_md5sum) { -- print STDERR "=======> ERROR: md5sum mismatch for $pkg{'name'}:\n"; -- print STDERR "required : $pkg{'md5sum'}\n"; -- print STDERR "found : $md5\n"; -+ print STDERR "=======> ERROR: md5sum mismatch for $pkg{'name'}:\n"; -+ print STDERR "required : $pkg{'md5sum'}\n"; -+ print STDERR "found : $md5\n"; - return 0; - } - return 1; -@@ -518,9 +523,9 @@ - $md5 =~ s/\s+.*$//; - $md5 =~ chop($md5); - if ($md5 ne $pkg{'md5sum'} and not $ignore_md5sum) { -- print STDERR "=======> ERROR: md5sum mismatch for $pkg{'name'}:\n"; -- print STDERR "required : $pkg{'md5sum'}\n"; -- print STDERR "found : $md5\n"; -+ print STDERR "=======> ERROR: md5sum mismatch for $pkg{'name'}:\n"; -+ print STDERR "required : $pkg{'md5sum'}\n"; -+ print STDERR "found : $md5\n"; - return 0; - } - } -@@ -537,11 +542,11 @@ - if ($download_only) {return 1}; - if ($force){$aa = $aa."-f "}; - if ($root) {$aa = $aa."-r ".$root." "}; -- if ($pkg{'pre_install'} eq "yes" and ($install_scripts or $pre_install)) {dopre(%pkg)}; -+ if ($pkg{'pre_install'} eq "yes" and ($install_scripts or $pre_install)) {dopre(%pkg)}; - my $fullpath = $pkg{'path'}."/".$pkg{'name'}."#".$pkg{'version'}."-".$pkg{'release'}.".pkg.tar.gz"; - print "pkg-get: /usr/bin/pkgadd $upgrade$aa$fullpath\n"; - system ("/usr/bin/pkgadd $upgrade$aa$fullpath") == 0 or return 0; -- if ($pkg{'post_install'} eq "yes" and ($install_scripts or $post_install)) {dopost(%pkg)}; -+ if ($pkg{'post_install'} eq "yes" and ($install_scripts or $post_install)) {dopost(%pkg)}; - return 1; - } - -@@ -675,7 +680,7 @@ - } - foreach my $key (sort keys %found) { - print "$key\n"; -- } -+ } - if (not %found) {print "No matching packages found\n"}; - } - -@@ -691,7 +696,7 @@ - while (<REPO>) { - chomp; - my %pkg = parsepackage($_, $dir, $url, 0); -- if ((index($pkg{'name'}, $arg) > -1 or index($pkg{'description'}, $arg) > -1) -+ if ((index($pkg{'name'}, $arg) > -1 or index($pkg{'description'}, $arg) > -1) - and not $found{$pkg{'name'}}) { - $found{$pkg{'name'}} = 1; - } -@@ -700,7 +705,7 @@ - } - foreach my $key (sort keys %found) { - print "$key\n"; -- } -+ } - if (not %found) {print "No matching packages found\n";}; - } - -@@ -722,7 +727,7 @@ - } - foreach my $key (sort keys %found) { - print "$key\n"; -- } -+ } - } - - # Show path for a package ################################################## -@@ -800,7 +805,7 @@ - getinstalled(); - foreach my $key (sort keys %installed) { - print "$key\n"; -- } -+ } - } - - # Print if package is installed ########################################### -@@ -877,7 +882,7 @@ - - # List locked packages ##################################################### - sub listlocked { -- open(LCK, $LOCKFILE) -+ open(LCK, $LOCKFILE) - or exit; - while (<LCK>) { - chomp; -@@ -1021,7 +1026,7 @@ - print " $dup\n"; - } - } -- } -+ } - } - - # Show list of dependencies for package #################################### -@@ -1057,7 +1062,7 @@ - my @r = split(/\|/, $repo); - my $dir = $r[0]; - my $url = $r[1]; -- open(DEPS, "$dir/PKGDEPS") -+ open(DEPS, "$dir/PKGDEPS") - or exiterr("could not open $dir/PKGDEPS"); - while (<DEPS>) { - chomp; -@@ -1089,7 +1094,7 @@ - getinstalled(); - foreach my $pkgname(@args) { - my %pkg = getpackage($pkgname, 1); -- if (not %pkg) { -+ if (not %pkg ) { - push(@failtasks, "not found,$pkgname"); - } elsif (getshortstatus(%pkg) ne "[ ]") { - push(@prevtasks, "$pkgname"); -@@ -1152,25 +1157,50 @@ - } - } - -+# 2009-10 - sub depinst { - my @toinst; my %seen; - $curraction = "installed"; - my @args = @ARGV; shift(@args); - getinstalled(); -+ -+ #~ Pour chaque paquet dans les arguments - foreach my $pkgname(@args) { -+ -+ #~ Si déjà installé retourne la valeur 55 -+ if($installed{$pkgname}){ -+ print "pkg-get : Le paquet $pkgname est déjà installé.\n"; -+ return 55; -+ } -+ #~ Si n'est pas dans les dépots, retourne la valeur 56 -+ if(not getpackage($pkgname, 1)){ -+ print "pkg-get : Le paquet $pkgname n'est pas disponible en binaire.\n"; -+ return 56; -+ } -+ -+ #~ Recherche des dépendances (tableau associatif @dependencies) - getdependencies($pkgname, 0, ""); -- foreach my $dep(@dependencies) { -+ -+ #~ Pour chaque dépendances -+ foreach my $dep(@dependencies) { -+ -+ #~ Si on ne l'a pas déjà traitée - if (not $seen{$dep}) { -+ -+ #~ Prends le paquet des dépots - my %pkg = getpackage($dep, 1); - if (%pkg) { -+ #~ L'ajoute à la liste des paquets à installer - if (getshortstatus(%pkg) eq "[ ]"){ - push(@toinst, $pkg{'name'}); - } - } -+ #~ Marque la dépendance comme déjà traitée - $seen{$dep} = 1; - } - } - } -+ #~ Si des paquets sont marqués comme étant à installer, on lance l'installation - if (@toinst) { - unshift(@toinst, "dummy"); # is shifted later in install sub; - install(@toinst); ---- pkg-get-0.4.5/scripts/pkg-get.pl.orig 2009-10-17 20:20:51.000000000 +0000 -+++ pkg-get-0.4.5/scripts/pkg-get.pl 2009-10-17 16:42:23.000000000 +0000 -@@ -948,7 +948,7 @@ - printf("%-19s %-19s %-19s\n\n","Package","Installed","Available in the repositories"); - $gotdiff = 1; - } -- printf("%-19s %-19s %-19s %-19s\n", $pkg{'name'}, $pkg{'instversion'}, $pkg{'version'}."-".$pkg{'release'}); -+ printf("%-19s %-19s %-19s\n", $pkg{'name'}, $pkg{'instversion'}, $pkg{'version'}."-".$pkg{'release'}); - } elsif ($all) { # yeah, it blows, at least avoid to read the locked state twice. - if ($gotdiff == 0){ - print "Differences between installed packages and packages repo:\n\n"; diff --git a/base/pkg-get/pkg-repgen.patch b/base/pkg-get/pkg-repgen.patch deleted file mode 100644 index 8fd93c56b..000000000 --- a/base/pkg-get/pkg-repgen.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- pkg-get-0.4.5/scripts/pkg-repgen.pl.original 2009-08-19 11:44:55.000000000 +0000 -+++ pkg-get-0.4.5/scripts/pkg-repgen.pl 2009-08-19 11:47:59.000000000 +0000 -@@ -198,7 +198,7 @@ - my $path = `prt-get path $package`; - $path =~ s/\n//g; - my $normal= $package; -- $normal =~ s/[^[:alnum:]]/_/g; -+ $normal =~ s/[^[:alnum:]]/-/g; - if (-f "$path/pre-install"){ - print $fh "${normal}_pre_install() {\n"; - open(my $pre, "$path/pre-install"); diff --git a/base/pkg-get/syn b/base/pkg-get/syn index 6f2eb78f8..70beace61 100644 --- a/base/pkg-get/syn +++ b/base/pkg-get/syn @@ -34,7 +34,7 @@ if [ ! -L /depot ]; then else for i in `cat /etc/pkg-get.conf |grep -v ^#|grep http|cut -d "|" -f 1|cut -d" " -f2|cut -d"/" -f4` do - rsync -avuz --delete-before rsync://nutyx.meticul.eu/nutyx/2009.3/i686/$i/ $Depot/$i/ + rsync -avuz --delete-before rsync://nutyx.meticul.eu/nutyx/attapu/i686/$i/ $Depot/$i/ done fi diff --git a/base/pkgutils/.md5sum b/base/pkgutils/.md5sum index 32edcd588..98be821fc 100644 --- a/base/pkgutils/.md5sum +++ b/base/pkgutils/.md5sum @@ -1,2 +1,2 @@ -0698e4a88025eb5ad3558cee4963e6a3 nutyx-2009.2.patch -0fdbc780f6c7d70f36ebea85e84bb669 pkgutils-5.34.0.tar.gz +00e6658a19d7b8192b8b4cd81a315b13 nutyx-attapu.1.patch +edbe9ace5fb6e9a2cae806d2eabf62f1 pkgutils-5.35.0.tar.gz diff --git a/base/pkgutils/Pkgfile b/base/pkgutils/Pkgfile index 52be3e2af..7dd02602f 100644 --- a/base/pkgutils/Pkgfile +++ b/base/pkgutils/Pkgfile @@ -2,17 +2,16 @@ # URL: http://www.fukt.bsnet.se/~per/pkgutils/ # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: name=pkgutils -version=5.34.0 -release=2 +version=5.35.0 +release=1 source=(http://crux.nu/files/$name-$version.tar.gz \ -nutyx-2009.2.patch) +nutyx-attapu.1.patch) build () { cd $name-$version mkdir -p $PKG/usr/share -patch -Np1 -i ../nutyx-2009.2.patch +patch -Np1 -i ../nutyx-attapu.1.patch make DESTDIR=$PKG install case `uname -m` in x86_64) diff --git a/base/pkgutils/nutyx-2009.2.patch b/base/pkgutils/nutyx-attapu.1.patch index ecf0a438d..df13057cd 100644 --- a/base/pkgutils/nutyx-2009.2.patch +++ b/base/pkgutils/nutyx-attapu.1.patch @@ -1,42 +1,26 @@ ---- pkgutils-5.34.0/pkgmk.in 2009-07-15 18:10:36.000000000 +0000 -+++ pkgutils-5.34.0/pkgmk.in.new 2009-07-19 09:29:56.000000000 +0000 +--- pkgutils-5.35.0-original/pkgmk.in 2010-06-26 18:46:59.000000000 +0200 ++++ pkgutils-5.35.0/pkgmk.in 2010-08-21 16:20:34.000000000 +0200 @@ -20,6 +20,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, # USA. # +# Adjusted for NuTyX 2009.1 by thierryn1 at hispeed dot ch - info() { - echo "=======> $1" -@@ -162,8 +163,13 @@ - for FILE in ${source[@]}; do - LOCAL_FILENAME=`get_filename $FILE` - case $LOCAL_FILENAME in -- *.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.tar.xz|*.zip) -- COMMAND="bsdtar -C $SRC -xf $LOCAL_FILENAME" ;; -+ *.tar.gz|*.tar.Z|*.tgz) -+ COMMAND="tar -C $SRC --use-compress-program=gzip -xf $LOCAL_FILENAME" ;; -+ *.tar.bz2) -+ COMMAND="tar -C $SRC --use-compress-program=bzip2 -xf $LOCAL_FILENAME" ;; -+ *.zip) -+ COMMAND="unzip -qq -o -d $SRC $LOCAL_FILENAME" ;; -+ - *) - COMMAND="cp $LOCAL_FILENAME $SRC" ;; - esac -@@ -282,13 +288,30 @@ + ## + # error codes +@@ -294,13 +295,30 @@ cd $PKG - find . -type f -path "*/man/man*/*" | while read FILE; do -+ find . -type f -path "*/share/man/*" | while read FILE; do ++ find . -type f -path "*/share/man*/*" | while read FILE; do if [ "$FILE" = "${FILE%%.gz}" ]; then gzip -9 "$FILE" fi done - find . -type l -path "*/man/man*/*" | while read FILE; do -+ find . -type l -path "*/share/man/*" | while read FILE; do ++ find . -type l -path "*/share/man*/*" | while read FILE; do + TARGET=`readlink -n "$FILE"` + TARGET="${TARGET##*/}" + TARGET="${TARGET%%.gz}.gz" @@ -57,18 +41,20 @@ TARGET=`readlink -n "$FILE"` TARGET="${TARGET##*/}" TARGET="${TARGET%%.gz}.gz" -@@ -375,6 +398,10 @@ +@@ -392,7 +410,11 @@ + fi compress_manpages - +- ++ + if [ "$PKGMK_KEEP_LOCALES" == "no" ]; then + remove_locale + fi -+ ++ cd $PKG info "Build result:" - tar czvvf $TARGET * -@@ -505,27 +532,44 @@ + +@@ -529,28 +551,45 @@ print_help() { echo "usage: `basename $PKGMK_COMMAND` [options]" echo "options:" @@ -81,6 +67,7 @@ - echo " -utd, --up-to-date do not build, only check if package is up to date" - echo " -uf, --update-footprint update footprint using result from last build" - echo " -if, --ignore-footprint build package without checking footprint" +- echo " -in, --ignore-new build package, ignore new files in a footprint missmatch" - echo " -um, --update-md5sum update md5sum" - echo " -im, --ignore-md5sum build package without checking md5sum" - echo " -cm, --check-md5sum do not build, only check md5sum" @@ -96,10 +83,11 @@ + echo " -r, --recursive recherche et compile les paquets de façon récursive" + echo " -d, --download télécharge les fichiers sources manquants" + echo " -do, --download-only télécharge uniquement les fichiers sources sans compiler" -+ echo " -eo, --extract-only extrait uniquement les sources sans contruire" -+ echo " -utd, --up-to-date vérifie uniquement si le paquet est à jour" -+ echo " -uf, --update-footprint met à jour la signature du paquet résultant de la dernière compilation" ++ echo " -eo, --extract-only extrait uniquement les source sans construire le paquet" ++ echo " -utd, --up-to-date véridie uniquement si le paquet est à jour" ++ echo " -uf, --update-footprint met à jour la signature du paquet résultant de la dernière compilation" + echo " -if, --ignore-footprint compile le paquet en ignorant la signature" ++ echo " -in, --ignore-new compile le paquet en ignorant la nouvelle signature" + echo " -um, --update-md5sum met à jour le md5sum" + echo " -im, --ignore-md5sum compile le paquet en ignorant le md5sum" + echo " -cm, --check-md5sum vérifie seulement le md5sum" @@ -111,7 +99,7 @@ + echo " -cf, --config-file <file> utiliser un fichier de configuration spécifique" + echo " -v, --version affiche uniquement la version " + echo " -h, --help affiche uniquement l'aide" - } ++} +remove_locale() { +local DIR FILE + cd $PKG @@ -126,13 +114,14 @@ + else + rm -rf $FILE + fi - ++ + done -+} + } +- parse_options() { while [ "$1" ]; do case $1 in -@@ -562,6 +606,8 @@ +@@ -589,6 +628,8 @@ PKGMK_CLEAN="yes" ;; -kw|--keep-work) PKGMK_KEEP_WORK="yes" ;; @@ -141,18 +130,7 @@ -cf|--config-file) if [ ! "$2" ]; then echo "`basename $PKGMK_COMMAND`: option $1 requires an argument" -@@ -679,9 +725,8 @@ - - PKGMK_SOURCE_MIRRORS=() - PKGMK_SOURCE_DIR="$PWD" --PKGMK_PACKAGE_DIR="$PWD" - PKGMK_WORK_DIR="$PWD/work" -- -+PKGMK_PACKAGE_DIR="$PWD" - PKGMK_INSTALL="no" - PKGMK_RECURSIVE="no" - PKGMK_DOWNLOAD="no" -@@ -697,6 +742,8 @@ +@@ -735,6 +776,8 @@ PKGMK_CHECK_MD5SUM="no" PKGMK_NO_STRIP="no" PKGMK_CLEAN="no" @@ -161,9 +139,9 @@ main "$@" ---- pkgutils-5.34.0/pkgmk.conf 2009-07-15 18:10:36.000000000 +0000 -+++ pkgutils-5.34.0/pkgmk.conf.new 2009-07-21 14:33:06.000000000 +0000 -@@ -2,16 +2,17 @@ +--- pkgutils-5.35.0-original/pkgmk.conf 2010-06-26 18:46:59.000000000 +0200 ++++ pkgutils-5.35.0/pkgmk.conf 2010-08-21 16:31:12.000000000 +0200 +@@ -2,18 +2,19 @@ # /etc/pkgmk.conf: pkgmk(8) configuration # @@ -181,8 +159,11 @@ +PKGMK_WORK_DIR="/tmp/work" # PKGMK_DOWNLOAD="no" # PKGMK_IGNORE_FOOTPRINT="no" + # PKGMK_IGNORE_NEW="no" # PKGMK_NO_STRIP="no" # PKGMK_WGET_OPTS="" +-# PKGMK_COMPRESSION_MODE="gz" ++PKGMK_COMPRESSION_MODE="xz" +PKGMK_LOCALES="fr" # End of file diff --git a/base/prt-get/.md5sum b/base/prt-get/.md5sum index 2df1d5653..89bb0163d 100644 --- a/base/prt-get/.md5sum +++ b/base/prt-get/.md5sum @@ -1,4 +1,4 @@ -66120551b450566a225623a52beff8f7 prt-get-5.16-printf_regex.diff -83d41c0297e21383ed3e4f4f7530ca7c prt-get-5.16.tar.gz +d0abf2a28823f9527c36832d5cbb8257 prt-get-5.18.tar.gz 84bd5457f322042c96a25836584485b2 prt-get.aliases 446f79cb11a3082bc0d7ef5f418aa6d0 prt-get.conf +b4eeea27244550754219801bcf29c5e3 prt-get.diff diff --git a/base/prt-get/Pkgfile b/base/prt-get/Pkgfile index 0d42246d9..d87b37f66 100644 --- a/base/prt-get/Pkgfile +++ b/base/prt-get/Pkgfile @@ -4,15 +4,14 @@ # Packager: thierryn1 at hispeed dot ch name=prt-get -version=5.16 -release=4 +version=5.18 +release=1 source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz - prt-get-$version-printf_regex.diff - prt-get.conf prt-get.aliases) + prt-get.diff prt-get.conf prt-get.aliases) build() { cd ${name}-${version} - patch -p1 -i $SRC/prt-get-$version-printf_regex.diff + patch -p1 -i $SRC/$name.diff ./configure \ --prefix=/usr \ diff --git a/base/prt-get/prt-get.diff b/base/prt-get/prt-get.diff new file mode 100644 index 000000000..f5412dfcd --- /dev/null +++ b/base/prt-get/prt-get.diff @@ -0,0 +1,13 @@ +diff --git a/src/installtransaction.cpp b/src/installtransaction.cpp +index 849931a..70e5e37 100644 +--- a/src/installtransaction.cpp ++++ b/src/installtransaction.cpp +@@ -658,5 +658,7 @@ string InstallTransaction::getPkgmkPackageDir() + + string InstallTransaction::getPkgmkCompressionMode() + { +- return getPkgmkSetting("PKGMK_COMPRESSION_MODE"); ++ string value = getPkgmkSetting("PKGMK_COMPRESSION_MODE"); ++ ++ return value.size() ? value : "gz"; + } diff --git a/base/xz-utils/.footprint b/base/xz-utils/.footprint index 43fd341ee..c70f4495c 100644 --- a/base/xz-utils/.footprint +++ b/base/xz-utils/.footprint @@ -33,14 +33,15 @@ drwxr-xr-x root/root usr/include/lzma/ -rw-r--r-- root/root usr/include/lzma/container.h -rw-r--r-- root/root usr/include/lzma/delta.h -rw-r--r-- root/root usr/include/lzma/filter.h +-rw-r--r-- root/root usr/include/lzma/hardware.h -rw-r--r-- root/root usr/include/lzma/index.h -rw-r--r-- root/root usr/include/lzma/index_hash.h -rw-r--r-- root/root usr/include/lzma/lzma.h -rw-r--r-- root/root usr/include/lzma/stream_flags.h --rw-r--r-- root/root usr/include/lzma/subblock.h -rw-r--r-- root/root usr/include/lzma/version.h -rw-r--r-- root/root usr/include/lzma/vli.h drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/liblzma.a -rwxr-xr-x root/root usr/lib/liblzma.la lrwxrwxrwx root/root usr/lib/liblzma.so -> liblzma.so.0.0.0 lrwxrwxrwx root/root usr/lib/liblzma.so.0 -> liblzma.so.0.0.0 @@ -61,6 +62,7 @@ drwxr-xr-x root/root usr/share/doc/xz/ -rw-r--r-- root/root usr/share/doc/xz/history.txt -rw-r--r-- root/root usr/share/doc/xz/lzma-file-format.txt -rw-r--r-- root/root usr/share/doc/xz/xz-file-format.txt +drwxr-xr-x root/root usr/share/locale/ drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/man1/ lrwxrwxrwx root/root usr/share/man/man1/lzcat.1.gz -> xz.1.gz diff --git a/base/xz-utils/.md5sum b/base/xz-utils/.md5sum index 886a5cdfb..a3f934def 100644 --- a/base/xz-utils/.md5sum +++ b/base/xz-utils/.md5sum @@ -1 +1 @@ -f2073579b6da2fe35d453adee1aaf1b2 xz-4.999.9beta.tar.gz +9e5a42d2b5277d8d71405d065120bd4e xz-4.999.9beta-143-g3e49.tar.gz diff --git a/base/xz-utils/Pkgfile b/base/xz-utils/Pkgfile index 27ab18a21..259aade1d 100644 --- a/base/xz-utils/Pkgfile +++ b/base/xz-utils/Pkgfile @@ -5,19 +5,16 @@ # Depends on: name=xz-utils -version=4.999.9beta +version=4.999.9beta-143-g3e49 release=1 source=(http://tukaani.org/xz/xz-$version.tar.gz) build() { cd xz-$version ./configure --prefix=/usr \ - --disable-static \ - --disable-rpath \ + --enable-dynamic \ --sysconfdir=/etc \ --mandir=/usr/share/man - sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool - sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make make DESTDIR=$PKG install } |