summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS31
-rw-r--r--configure.ac2
-rw-r--r--lib/profile/proteanos.sh28
3 files changed, 43 insertions, 18 deletions
diff --git a/NEWS b/NEWS
index 748b7c0..4e0b2bb 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,34 @@
+ProteanOS Development Kit version 1.2.0
+---------------------------------------
+
+Released: ????-??-??
+
+Changes in this release:
+
+ * A basic "/etc/group" file is now generated on ProteanOS systems.
+ * "prokit install" now only throws a "Directory ... exists" error if
+ the specified root directory is not empty.
+ * "prokit install" in the ProteanOS profile now only copies
+ "/etc/resolv.conf" and "/etc/hostname" from the host system if the
+ platform is "dev". It also now does not enable system services on
+ the "dev" platform. On other platforms, it enables services and
+ sets the hostname to "proteanos".
+ * "prokit install", "prokit shell", "prokit opkg", and "prokit build"
+ now accept either a block device file name or a directory name
+ (previously only accepting the latter). A block device is
+ automatically mounted and unmounted on a mount point managed by
+ prokit.
+ * Two bugs related to gzip-compressed package feed index files have
+ been fixed.
+ * ProteanOS package feed index files are now downloaded in compressed
+ form.
+ * A list of valid ProteanOS architectures and platforms is no longer
+ hardcoded. This list could become outdated between prokit versions
+ or even ProteanOS suites.
+ * A list of ProteanOS package archive mirrors is no longer hardcoded.
+ Instead, the list is fetched from the ProteanOS files site as
+ needed.
+
ProteanOS Development Kit version 1.1.0
---------------------------------------
diff --git a/configure.ac b/configure.ac
index 01d7dc1..b0e27e1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,7 @@
# along with the ProteanOS Development Kit. If not, see
# <http://www.gnu.org/licenses/>.
-AC_INIT([ProteanOS Development Kit], [1.1.0],
+AC_INIT([ProteanOS Development Kit], [1.2.0],
[mailto:proteanos-dev@lists.proteanos.com], [prokit],
[http://www.proteanos.com/dev/prokit/])
AC_CONFIG_AUX_DIR([build-aux])
diff --git a/lib/profile/proteanos.sh b/lib/profile/proteanos.sh
index b78c5e8..272282a 100644
--- a/lib/profile/proteanos.sh
+++ b/lib/profile/proteanos.sh
@@ -18,6 +18,7 @@
# along with the ProteanOS Development Kit. If not, see
# <http://www.gnu.org/licenses/>.
+use rand
use opkg
prof_proteanos_fstab_linux="\
@@ -81,24 +82,17 @@ prof_proteanos_default_plat()
prof_proteanos_select_mirror()
{
- local rand=
- local mirror=
-
- rand=$(date '+%S')
- rand=$(($rand % 3))
- case ${rand} in
- 0)
- mirror='http://us.mirror.gnu.dk/pub/proteanos'
- ;;
- 1)
- mirror='http://eu.mirror.gnu.dk/pub/proteanos'
- ;;
- 2)
- mirror='http://mirror.oss.maxcdn.com/proteanos'
- ;;
- esac
+ local mirrors=
+ local mirrors_count=
+ local mirror_num=
+
+ mirrors="$(wget -q -O - \
+ 'http://files.proteanos.com/pub/proteanos-mirrors-http')"
+ mirrors_count=$(printf '%s\n' "${mirrors}" | wc -l)
+ rand
+ mirror_num=$(($rand_x % $mirrors_count + 1))
- printf '%s\n' "${mirror}"
+ printf '%s\n' "${mirrors}" | sed -n "${mirror_num}p"
}
prof_proteanos_validate_archplat()