summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorWayne Cuddy <wcuddy@gmail.com>2021-03-18 21:20:35 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-03-20 11:00:41 +0700
commit96305397b25b45ebc96bdabc249d5b2b6f818430 (patch)
treed9612eac6ffac09506060f6e58beb1c66ca7c759 /system
parente91c0048a076bda20ae751234167828404546380 (diff)
downloadslackbuilds-96305397b25b45ebc96bdabc249d5b2b6f818430.tar.gz
system/mpack: Updated upstream URL.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/mpack/mpack.SlackBuild12
-rw-r--r--system/mpack/mpack.info6
-rw-r--r--system/mpack/mpack.patch (renamed from system/mpack/mpack.diff)0
3 files changed, 13 insertions, 5 deletions
diff --git a/system/mpack/mpack.SlackBuild b/system/mpack/mpack.SlackBuild
index 9bd52bc85f..8c6319c70b 100644
--- a/system/mpack/mpack.SlackBuild
+++ b/system/mpack/mpack.SlackBuild
@@ -21,10 +21,16 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# 2021-03-18
+# - Inc'd BUILD value to 2
+# - Added comments about patch usage.
+# - Legacy upstream URL is gone, migrated to gitlab site.
+#
PRGNAM=mpack
VERSION=${VERSION:-1.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,7 +75,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < $CWD/mpack.diff
+# The following patch corrects a number of warnings and build errors in
+# order to compile on a modern (Slackware 14.2+) Linux system.
+patch -p1 < $CWD/mpack.patch
CFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/system/mpack/mpack.info b/system/mpack/mpack.info
index fd50ec744e..e017fc5020 100644
--- a/system/mpack/mpack.info
+++ b/system/mpack/mpack.info
@@ -1,8 +1,8 @@
PRGNAM="mpack"
VERSION="1.6"
-HOMEPAGE="http://ftp.andrew.cmu.edu/pub/mpack"
-DOWNLOAD="http://ftp.andrew.cmu.edu/pub/mpack/mpack-1.6.tar.gz"
-MD5SUM="a70fa5afa76539a9afb70b9d81568fe8"
+HOMEPAGE="https://gitlab.com/osdp/mpack"
+DOWNLOAD="https://gitlab.com/osdp/mpack/-/archive/1.6/mpack-1.6.tar.gz"
+MD5SUM="3528459d2b45225d18a25359112b2b45"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/mpack/mpack.diff b/system/mpack/mpack.patch
index e00b92f25e..e00b92f25e 100644
--- a/system/mpack/mpack.diff
+++ b/system/mpack/mpack.patch