mpack: drop package

The package is ancient, old and not developed anymore.
Project URL on GitLab shows 404, I could find it on Debian GitLab [1].

[1] https://salsa.debian.org/debian/mpack

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
Josef Schlehofer
2025-09-24 21:17:27 +02:00
parent 2a8fdf37dc
commit 90d29954df
2 changed files with 0 additions and 75 deletions

View File

@@ -1,45 +0,0 @@
#
# Copyright (C) 2007-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=mpack
PKG_VERSION:=1.6
PKG_RELEASE:=1
PKG_LICENSE:=NLPL
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://fossies.org/linux/misc/old
PKG_HASH:=274108bb3a39982a4efc14fb3a65298e66c8e71367c3dabf49338162d207a94c
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/mpack
SECTION:=utils
CATEGORY:=Utilities
TITLE:=mpack/munpack MIME format mail messages
URL:=https://gitlab.com/osdp/mpack
MAINTAINER:=Dmitry V. Zimin <pfzim@mail.ru>
endef
define Package/mpack/description
Mpack and munpack are utilities for encoding and decoding
(respectively) binary files in MIME (Multipurpose Internet Mail
Extensions) format mail messages. For compatibility with older forms
of transferring binary files, the munpack program can also decode
messages in split-uuencoded format.
endef
define Package/mpack/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
endef
$(eval $(call BuildPackage,mpack))

View File

@@ -1,30 +0,0 @@
--- a/unixos.c
+++ b/unixos.c
@@ -25,6 +25,7 @@
#include <stdio.h>
#include <ctype.h>
#include <string.h>
+#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/param.h>
@@ -39,8 +40,6 @@
#endif
extern int errno;
-extern char *malloc();
-extern char *getenv();
int overwrite_files = 0;
int didchat;
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -24,7 +24,7 @@
*/
#include <stdio.h>
#include <string.h>
-extern char *malloc(), *realloc();
+#include <stdlib.h>
char *xmalloc (int size)
{