summaryrefslogtreecommitdiff
path: root/pkg-get
diff options
context:
space:
mode:
authorJose V Beneyto <sepen@crux.nu>2010-09-01 07:11:01 +0000
committerJose V Beneyto <sepen@crux.nu>2010-09-01 07:11:01 +0000
commit9bddffcc91c15c37b82818510e5466dc6e636682 (patch)
treee8828d6408292c9613c76743eea74dcf1daa911f /pkg-get
parent50d1790732eb2b65f0de1d181fa8de1a57a53410 (diff)
downloadopt-9bddffcc91c15c37b82818510e5466dc6e636682.tar.gz
opt-9bddffcc91c15c37b82818510e5466dc6e636682.tar.xz
Revert "pkg-get: removed."
This reverts commit d001c86a1e27377d995389a0d529355cb2f53773.
Diffstat (limited to 'pkg-get')
-rw-r--r--pkg-get/.footprint10
-rw-r--r--pkg-get/.md5sum2
-rw-r--r--pkg-get/Pkgfile17
-rw-r--r--pkg-get/README15
-rw-r--r--pkg-get/pkg-get.patch12
5 files changed, 56 insertions, 0 deletions
diff --git a/pkg-get/.footprint b/pkg-get/.footprint
new file mode 100644
index 000000000..21ec495b2
--- /dev/null
+++ b/pkg-get/.footprint
@@ -0,0 +1,10 @@
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/pkg-get.conf
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/pkg-get
+-rwxr-xr-x root/root usr/bin/pkg-repgen
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man8/
+-rw-r--r-- root/root usr/man/man8/pkg-get.8.gz
+-rw-r--r-- root/root usr/man/man8/pkg-repgen.8.gz
diff --git a/pkg-get/.md5sum b/pkg-get/.md5sum
new file mode 100644
index 000000000..320335415
--- /dev/null
+++ b/pkg-get/.md5sum
@@ -0,0 +1,2 @@
+5ee169f2f99fc501387219b6b96ca9ef pkg-get-0.4.5.tar.gz
+c3fb4f7ca868903da78d316be77cca16 pkg-get.patch
diff --git a/pkg-get/Pkgfile b/pkg-get/Pkgfile
new file mode 100644
index 000000000..1ad90c0f2
--- /dev/null
+++ b/pkg-get/Pkgfile
@@ -0,0 +1,17 @@
+# Description: Package management tool for CRUX Linux
+# URL: http://www.varlock.com
+# Maintainer: Simone Rota, sip at crux dot nu
+# Packager: Simone Rota, sip at crux dot nu
+# Depends on:
+
+name=pkg-get
+version=0.4.5
+release=2
+source=(http://www.varlock.com/files/$name-$version.tar.gz \
+ $name.patch)
+
+build() {
+ cd $name-$version
+ patch -p1 < ../$name.patch
+ make PREFIX=$PKG/usr CFGDIR=$PKG/etc install
+}
diff --git a/pkg-get/README b/pkg-get/README
new file mode 100644
index 000000000..c9838cb59
--- /dev/null
+++ b/pkg-get/README
@@ -0,0 +1,15 @@
+IMPORTANT
+
+the PKGREPO file format chaged a bit from 0.3.3,
+please regenerate your repositories with pkg-repgen
+
+the /etc/pkg-get.conf options slightly changed
+in version 0.3.0 in order to handle multiple
+repositories.
+
+pkg-get is beta software. I did not have much
+time to test it, expecially latest features
+added (locking, pre-post install scripts, printf).
+
+Comments and contributions are welcome.
+Simone Rota
diff --git a/pkg-get/pkg-get.patch b/pkg-get/pkg-get.patch
new file mode 100644
index 000000000..a323c6427
--- /dev/null
+++ b/pkg-get/pkg-get.patch
@@ -0,0 +1,12 @@
+diff -Nru pkg-get-0.4.5.orig/scripts/pkg-get.pl pkg-get-0.4.5/scripts/pkg-get.pl
+--- pkg-get-0.4.5.orig/scripts/pkg-get.pl 2006-07-13 05:04:11.000000000 +0200
++++ pkg-get-0.4.5/scripts/pkg-get.pl 2006-07-17 13:01:37.524719500 +0200
+@@ -943,7 +943,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";

Generated by cgit