summaryrefslogtreecommitdiff
path: root/system/mailx/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 17:58:37 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 17:58:37 -0500
commit20e0165b2a1d6bb917edd17008b168c6a4d7ede8 (patch)
tree9723641c799b3955ac7a0ae4c4a6001cc3cd133b /system/mailx/APKBUILD
parent7e28ff0568c9eadf9464e770a2501e1400f3bebf (diff)
downloadpackages-20e0165b2a1d6bb917edd17008b168c6a4d7ede8.tar.gz
packages-20e0165b2a1d6bb917edd17008b168c6a4d7ede8.tar.bz2
packages-20e0165b2a1d6bb917edd17008b168c6a4d7ede8.tar.xz
packages-20e0165b2a1d6bb917edd17008b168c6a4d7ede8.zip
{user => system}/mailx: move for POSIX
Diffstat (limited to 'system/mailx/APKBUILD')
-rw-r--r--system/mailx/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/system/mailx/APKBUILD b/system/mailx/APKBUILD
new file mode 100644
index 000000000..062b40286
--- /dev/null
+++ b/system/mailx/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=mailx
+pkgver=12.4
+pkgrel=0
+pkgdesc="Send and receive Internet mail"
+url="http://heirloom.sourceforge.net/mailx.html"
+arch="all"
+options="!check" # No test suite.
+license="BSD-4-Clause AND MIT AND MPL-1.1"
+depends=""
+makedepends="openssl-dev"
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/heirloom/$pkgname-$pkgver.tar.bz2
+ Mail
+ mailx-12.4-openssl.patch
+ mailx-12.4-cve.patch"
+
+build() {
+ cd "$builddir"
+ make PREFIX="/usr" SYSCONFDIR="/etc" STRIP=":"
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" PREFIX="/usr" SYSCONFDIR="/etc" STRIP=":" UCBINSTALL="`command -v install`" install
+ install -m 755 "$srcdir"/Mail "$pkgdir"/usr/bin/Mail
+}
+
+sha512sums="a0e29972f552bd630ce1a14f70e61661815118520bcd4a00b6cad53f3270d3d08c835ff6982ba8800eb380a5b46f54eb6e60fb7533b5f41c916af45d29605af8 mailx-12.4.tar.bz2
+8715bcdbcc5170f406df2a78dc9bac144c5d73eb90ba4832162cd3c5d72c938a32a86e622e64c7e786c05343a37d7b94245cc636511261d1d4f817def04087d2 Mail
+a74f85b5a4a9f9cd9a38e244498a11394c42189bbd0601656b6ed56fa55bf596820ef2f995c6878d322a1eca135bd1b1822467c4086adb849c81d65229845663 mailx-12.4-openssl.patch
+1e77cd6ea251793ca48ae86b265580cd70fe33838b0b4e1f522af07f4f34bc909e1bab52dc0180516d44399c4227a54be7718c76ebbc4f886f372fdc5c19278f mailx-12.4-cve.patch"