Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Chakra
Packages
core
Commits
10a55456
Commit
10a55456
authored
May 07, 2013
by
Manuel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update
parent
689f0983
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
59 additions
and
74 deletions
+59
-74
heirloom-mailx/PKGBUILD
heirloom-mailx/PKGBUILD
+59
-0
mailx/PKGBUILD
mailx/PKGBUILD
+0
-30
mailx/mailx-8.1.1.patch
mailx/mailx-8.1.1.patch
+0
-32
mailx/mailx-gcc4.patch
mailx/mailx-gcc4.patch
+0
-12
No files found.
heirloom-mailx/PKGBUILD
0 → 100644
View file @
10a55456
pkgname
=
heirloom-mailx
pkgver
=
12.5
pkgrel
=
1
pkgdesc
=
"A commandline utility for sending and receiving email"
arch
=(
'x86_64'
)
url
=
"http://heirloom.sourceforge.net/mailx.html"
license
=(
'custom'
)
groups
=(
'base'
)
depends
=(
'openssl'
'krb5'
)
optdepends
=(
'smtp-forwarder: for sending mail'
)
replaces
=(
'mailx'
)
provides
=(
'mailx'
)
conflicts
=(
'mailx'
)
backup
=(
etc/mail.rc
)
source
=(
ftp://ftp.archlinux.org/other/
${
pkgname
}
/
${
pkgname
}
-
${
pkgver
}
.tar.xz
)
sha1sums
=(
'1998dd6168a68400e533712ae7163c72b6a7c056'
)
options
=(
'!makeflags'
)
# Does not build with MAKEFLAGS=-jX, X>1
# source PKGBUILD && mksource
mksource
()
{
export
CVSROOT
=
:pserver:anonymous@nail.cvs.sourceforge.net:/cvsroot/nail
D
=
nail
[
-d
"
${
D
}
"
]
&&
cvs up
"
${
D
}
"
||
cvs co
"
${
D
}
"
_dirname
=
${
pkgname
}
-
${
pkgver
}
mv
$D
${
_dirname
}
tar
-cJv
--exclude
=
CVS
-f
${
_dirname
}
.tar.xz
${
_dirname
}
rm
-rf
${
_dirname
}
}
build
()
{
cd
"
${
srcdir
}
/
${
pkgname
}
-
${
pkgver
}
"
sed
-i
's|/etc/nail.rc|/etc/mail.rc|g'
mailx.1
# For Linux and BSD, this should be set.
echo
"set bsdcompat"
>>
nail.rc
sed
-i
"s/pg/less/"
cmd1.c
echo
PREFIX
=
/usr
\
MAILRC
=
/etc/mail.rc
\
SENDMAIL
=
/usr/sbin/sendmail
\
MAILSPOOL
=
/var/spool/mail
\
UCBINSTALL
=
/usr/bin/install
>
makeflags
make
`
cat
makeflags
`
IPv6
=
-DHAVE_IPv6_FUNCS
}
package
()
{
cd
"
${
srcdir
}
/
${
pkgname
}
-
${
pkgver
}
"
make
DESTDIR
=
"
${
pkgdir
}
"
`
cat
makeflags
`
install
# For compatibility with the old mailx program
ln
-sf
mailx
"
${
pkgdir
}
"
/usr/bin/mail
ln
-sf
mailx.1.gz
"
${
pkgdir
}
"
/usr/share/man/man1/mail.1.gz
install
-D
-m0644
COPYING
"
${
pkgdir
}
"
/usr/share/licenses/
${
pkgname
}
/LICENSE
}
mailx/PKGBUILD
deleted
100644 → 0
View file @
689f0983
# $Id: PKGBUILD 33080 2009-04-04 07:02:59Z allan $
# Maintainer: judd <jvinet@zeroflux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>
pkgname
=
mailx
pkgver
=
8.1.1
pkgrel
=
8
pkgdesc
=
"A commandline utility for sending email"
arch
=(
'i686'
'x86_64'
)
url
=
"http://www.opengroup.org/onlinepubs/007908799/xcu/mailx.html"
license
=(
'BSD'
)
groups
=(
'base'
)
depends
=(
'glibc'
)
optdepends
=(
'smtp-forwarder: for sending mail'
)
backup
=(
'etc/mail.rc'
)
source
=(
ftp://ftp.archlinux.org/other/mailx/
$pkgname
-
$pkgver
-fixed
.tar.gz
\
mailx-
$pkgver
.patch mailx-gcc4.patch
)
md5sums
=(
'63cad526ac64b57bcba2c0daaa1f3048'
'905cfa35b5131524bfec0c677d456bd3'
\
'8716c7c7b3f5d348443230e2fe543bf6'
)
build
()
{
cd
$srcdir
/
$pkgname
-
$pkgver
-fixed
patch
-Np1
-i
$srcdir
/mailx-
$pkgver
.patch
||
return
1
patch
-Np0
-i
$srcdir
/mailx-gcc4.patch
||
return
1
sed
-i
's#/man/#/share/man/#'
Makefile
make all
||
return
1
make
DESTDIR
=
$pkgdir
install
install
-dm755
$pkgdir
/usr/share/licenses/mailx/
head
-35
main.c
>
$pkgdir
/usr/share/licenses/mailx/LICENSE
}
mailx/mailx-8.1.1.patch
deleted
100644 → 0
View file @
689f0983
diff -Naur mailx-8.1.1-fixed-orig/Makefile mailx-8.1.1-fixed/Makefile
--- mailx-8.1.1-fixed-orig/Makefile Thu Mar 16 09:30:36 2000
+++ mailx-8.1.1-fixed/Makefile Wed Feb 27 12:50:09 2002
@@ -7,18 +7,20 @@
BINOWN = root
BINGRP = mail
+DESTDIR =
+
all:
gcc $(SRCS) -o $(PROG)
install:
- mkdir -p /usr/share/misc
- mkdir -p /usr/share/man/man1
- mkdir -p /etc
- mkdir -p /usr/bin
- install -o $(BINOWN) -g $(BINGRP) -m 2755 $(PROG) /usr/bin
- install -o root -g root -m 644 mail.1 /usr/share/man/man1
+ mkdir -p $(DESTDIR)/usr/share/misc
+ mkdir -p $(DESTDIR)/usr/man/man1
+ mkdir -p $(DESTDIR)/etc
+ mkdir -p $(DESTDIR)/usr/bin
+ install -o $(BINOWN) -g $(BINGRP) -m 2755 $(PROG) $(DESTDIR)/usr/bin
+ install -o root -g root -m 644 mail.1 $(DESTDIR)/usr/man/man1
cd misc; install -c -o ${BINOWN} -g ${BINGRP} \
- -m 444 ${SFILES} /usr/share/misc
+ -m 444 ${SFILES} $(DESTDIR)/usr/share/misc
cd misc; install -c -o root -g root \
- -m 644 ${EFILES} /etc
+ -m 644 ${EFILES} $(DESTDIR)/etc
mailx/mailx-gcc4.patch
deleted
100644 → 0
View file @
689f0983
K. Piche: Unofficial patch for mailx.
--- dotlock.c.orig 2005-09-18 20:28:20.000000000 -0400
+++ dotlock.c 2005-09-18 20:26:59.000000000 -0400
@@ -47,6 +47,7 @@
#include <errno.h>
#include <signal.h>
+#include "def.h"
#include "extern.h"
#ifndef O_SYNC
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment