summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibrerelease18
-rw-r--r--libretools.conf4
2 files changed, 15 insertions, 7 deletions
diff --git a/librerelease b/librerelease
index 836cdfc..01d8d81 100755
--- a/librerelease
+++ b/librerelease
@@ -68,20 +68,26 @@ for _arch in ${arch[@]}; do
for pkg in ${pkgname[@]}; do
pkgfile="$PKGDEST/$pkg-$pkgver-$pkgrel-$_arch$PKGEXT"
if [ -e "$pkgfile" ]; then
-# Move out the old packages
-# This has to be moved to repo-maintainer
- ssh ${PARABOLAHOST} mv ${LIBREDESTDIR}/$repo/os/$_arch/$pkg-*-*-$_arch$PKGEXT ${LIBREDESTDIR}/old/
-
- to_sftp "put $pkgfile ${LIBREDESTDIR}/$repo/os/$_arch/"
+ to_sftp "put $pkgfile ${LIBREDESTDIR}/$repo/"
fi
done
done
# Use pkgbase for the finding the sources tar
[[ -z ${pkgbase} ]] && pkgbase=${pkgname}
-makepkg --source
+
+# Upload the build scripts
+makepkg -f --source
to_sftp "put $SRCPKGDEST/$pkgbase-$pkgver-$pkgrel$SRCEXT ${LIBRESRCDIR}/$repo"
sftp -b ${batchfile} ${PARABOLAHOST}
+cat <<EOM
+From: you
+To: packages@list.parabolagnulinux.org
+Subject: [$pkgbase] $pkgver-$pkgrel released on [$repo]
+
+:)
+EOM
+
exit 0
diff --git a/libretools.conf b/libretools.conf
index 1c575f1..47f268a 100644
--- a/libretools.conf
+++ b/libretools.conf
@@ -1,3 +1,5 @@
+## Blacklist URL
+BLACKLIST=http://repo.parabolagnulinux.org/docs/blacklist.txt
## The directory where the chroots are stored
CHROOTDIR=/home/chroot
@@ -17,7 +19,7 @@ PATCHDIR=
PARABOLAHOST=parabola
## Server destination of libre packages
-LIBREDESTDIR=parabolagnulinux.org/repo/free
+LIBREDESTDIR=parabolagnulinux.org/repo/staging
LIBRESRCDIR=parabolagnulinux.org/repo/pkgbuilds
# Recommended SSH Config