@@ -32,6 +32,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="13">
|
||||
<Date>2016-03-09</Date>
|
||||
<Version>1.4</Version>
|
||||
<Comment>Rebuild with new toolchain.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="12">
|
||||
<Date>2016-01-16</Date>
|
||||
<Version>1.4</Version>
|
||||
|
||||
@@ -51,6 +51,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2016-03-09</Date>
|
||||
<Version>2.09</Version>
|
||||
<Comment>Rebuild with new toolchain.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2015-04-12</Date>
|
||||
<Version>2.09</Version>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<IsA>data</IsA>
|
||||
<Summary>Helper application and MIME type associations for file types</Summary>
|
||||
<Description>mailcap file is used by the metamail program. Metamail reads the mailcap file to determine how it should display non-text or multimedia material.</Description>
|
||||
<Archive sha1sum="ba0a0bbfda225a27629c5570ade6a8a0bd592de9" type="tarxz">https://fedorahosted.org/released/mailcap/mailcap-2.1.42.tar.xz</Archive>
|
||||
<Archive sha1sum="49cb70119c55b78a67131c259c88a2ccb43417d1" type="tarxz">https://fedorahosted.org/released/mailcap/mailcap-2.1.45.tar.xz</Archive>
|
||||
<Patches>
|
||||
<!--<Patch level="1">sync-with-git-20110601.patch</Patch>-->
|
||||
<Patch level="1">extend-mailcap.patch</Patch>
|
||||
@@ -30,6 +30,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2016-03-06</Date>
|
||||
<Version>2.1.45</Version>
|
||||
<Comment>Verison bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>2.1.42</Version>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<Dependency>gdbm-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>gettext-devel</Dependency>
|
||||
<Dependency versionFrom="1.4.0">libpipeline-devel</Dependency>
|
||||
<Dependency versionFrom="1.4.1">libpipeline-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--<Patch level="1">man-db-2.5.9-sgr.patch</Patch>
|
||||
@@ -39,7 +39,7 @@
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gdbm</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency versionFrom="1.4.0">libpipeline</Dependency>
|
||||
<Dependency versionFrom="1.4.1">libpipeline</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
@@ -59,6 +59,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="10">
|
||||
<Date>2016-03-09</Date>
|
||||
<Version>2.7.5</Version>
|
||||
<Comment>Rebuild with new toolchain.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2015-11-29</Date>
|
||||
<Version>2.7.5</Version>
|
||||
|
||||
@@ -32,6 +32,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="11">
|
||||
<Date>2016-03-09</Date>
|
||||
<Version>4.04</Version>
|
||||
<Comment>Rebuild with new toolchain.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2016-01-03</Date>
|
||||
<Version>4.04</Version>
|
||||
|
||||
@@ -0,0 +1,158 @@
|
||||
diff -Nru mingetty-1.07.orig/mingetty.c mingetty-1.07/mingetty.c
|
||||
--- mingetty-1.07.orig/mingetty.c 2004-01-03 15:15:56.000000000 +0200
|
||||
+++ mingetty-1.07/mingetty.c 2006-11-22 22:13:26.967910100 +0200
|
||||
@@ -16,10 +16,15 @@
|
||||
* - autologin only at first login
|
||||
* - /etc/mingetty.conf that can be used instead of /etc/inittab for
|
||||
* command line options
|
||||
- * - Can UTF-8 setup be done within mingetty?
|
||||
+ * - Can UTF-8 setup be done within mingetty? Let's try now :-) (VinzC)
|
||||
* - Also add /bin/login-type functionality in here?
|
||||
*/
|
||||
|
||||
+/* Additional comments: Vincent Cadet <vcadet@hotmail.com> (2006-11-21)
|
||||
+ * - Attempt to make mingetty support UTF-8. Modifications were imported
|
||||
+ * from Suse migetty.c 0.9.6s.
|
||||
+ */
|
||||
+
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
@@ -39,6 +44,19 @@
|
||||
#include <syslog.h>
|
||||
#include <sys/utsname.h>
|
||||
#include <time.h>
|
||||
+#include <locale.h>
|
||||
+#include <iconv.h>
|
||||
+#include <wctype.h>
|
||||
+#include <sys/kd.h>
|
||||
+#include <sys/ttydefaults.h>
|
||||
+
|
||||
+#ifndef IUTF8
|
||||
+# ifndef ASM_IUTF8
|
||||
+# error ASM_IUTF8 input flag not defined - Cannot define IUTF8
|
||||
+# else
|
||||
+# define IUTF8 ASM_IUTF8
|
||||
+# endif
|
||||
+#endif
|
||||
|
||||
/* name of this program (argv[0]) */
|
||||
static char *progname;
|
||||
@@ -74,6 +92,8 @@
|
||||
static char *autologin = NULL;
|
||||
/* try to read a char before dropping to login prompt */
|
||||
static int loginpause = 0;
|
||||
+/* terminal mode */
|
||||
+static int mode = K_RAW;
|
||||
|
||||
/* error() - output error messages */
|
||||
static void error (const char *fmt, ...)
|
||||
@@ -187,10 +207,21 @@
|
||||
if (fd > 2)
|
||||
close (fd);
|
||||
|
||||
+ /* Detect mode of current keyboard setup, e.g. for UTF-8 */
|
||||
+ if (ioctl(0, KDGKBMODE, &mode) < 0)
|
||||
+ mode = K_RAW;
|
||||
+
|
||||
/* Write a reset string to the terminal. This is very linux-specific
|
||||
and should be checked for other systems. */
|
||||
if (noclear == 0)
|
||||
- write (0, "\033c", 2);
|
||||
+ /* don't write a full reset (ESC c) because this leaves the
|
||||
+ unicode mode again if the terminal was in unicode mode
|
||||
+ and also undos the ESC sequences in CONSOLE_MAGIC which
|
||||
+ are needed for some languages/console-fonts.
|
||||
+ Just put the cursor to the home position (ESC [ H),
|
||||
+ erase everything below the cursor (ESC [ J), and set the
|
||||
+ scrolling region to the full window (ESC [ r) */
|
||||
+ write (0, "\033[r\033[H\033[J", 9);
|
||||
|
||||
sigaction (SIGHUP, &sa_old, NULL);
|
||||
}
|
||||
@@ -292,32 +323,75 @@
|
||||
|
||||
static char *get_logname (void)
|
||||
{
|
||||
- static char logname[40];
|
||||
+ static char logname[4*UT_NAMESIZE];
|
||||
char *bp;
|
||||
unsigned char c;
|
||||
+ int ascii;
|
||||
+ iconv_t ic;
|
||||
|
||||
tcflush (0, TCIFLUSH); /* flush pending input */
|
||||
+
|
||||
+ /* Check for UTF-8 mode */
|
||||
+ switch(mode) {
|
||||
+ case K_UNICODE:
|
||||
+ ascii = 0;
|
||||
+ setlocale(LC_CTYPE, "en_US.UTF-8");
|
||||
+ break;
|
||||
+ case K_RAW:
|
||||
+ case K_MEDIUMRAW:
|
||||
+ case K_XLATE:
|
||||
+ default:
|
||||
+ ascii = 1;
|
||||
+ setlocale(LC_CTYPE, "POSIX");
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
for (*logname = 0; *logname == 0;) {
|
||||
do_prompt (1);
|
||||
for (bp = logname;;) {
|
||||
if (read (0, &c, 1) < 1) {
|
||||
- if (errno == EINTR || errno == EIO
|
||||
- || errno == ENOENT)
|
||||
+ if (errno == EINTR || errno == EAGAIN) {
|
||||
+ usleep(1000);
|
||||
+ continue;
|
||||
+ }
|
||||
+ if (errno == EIO || errno == ENOENT)
|
||||
exit (EXIT_SUCCESS);
|
||||
error ("%s: read: %s", tty, strerror (errno));
|
||||
}
|
||||
if (c == '\n' || c == '\r') {
|
||||
*bp = 0;
|
||||
break;
|
||||
- } else if (!isprint (c))
|
||||
- error ("%s: invalid character 0x%x in login"
|
||||
- " name", tty, c);
|
||||
+ }
|
||||
+
|
||||
+ if (ascii && !isprint (c))
|
||||
+ error ("%s: invalid character 0x%x in login name", tty, c);
|
||||
else if ((size_t)(bp - logname) >= sizeof (logname) - 1)
|
||||
error ("%s: too long login name", tty);
|
||||
- else
|
||||
- *bp++ = c;
|
||||
+
|
||||
+ *bp++ = c;
|
||||
}
|
||||
}
|
||||
+
|
||||
+ if (!ascii && (ic = iconv_open("WCHAR_T", "UTF-8"))) {
|
||||
+ char tmpbuf[4*sizeof(logname)], *op, *lp;
|
||||
+ size_t len = bp - logname;
|
||||
+ size_t out = sizeof(tmpbuf) - 1;
|
||||
+ size_t wcl;
|
||||
+ wint_t *wcp;
|
||||
+
|
||||
+ op = tmpbuf;
|
||||
+ lp = logname;
|
||||
+ if ((wcl = iconv(ic , &lp, &len, &op, &out)) == (size_t)-1)
|
||||
+ error ("%s: invalid character conversion for login name", tty);
|
||||
+ iconv_close(ic);
|
||||
+
|
||||
+ wcp = (wint_t*)tmpbuf;
|
||||
+ wcp[wcl] = (wint_t)0;
|
||||
+ while (*wcp) {
|
||||
+ if (!iswprint(*wcp++))
|
||||
+ error ("%s: invalid character for login name found", tty);
|
||||
+ }
|
||||
+ }
|
||||
return logname;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<Patches>
|
||||
<!--<Patch level="1">gettext.patch</Patch>-->
|
||||
<Patch>tr.patch</Patch>
|
||||
|
||||
<Patch level="1">mingetty-utf8.patch</Patch>
|
||||
<!-- Fixes the translation issues mentioned in # 5856 -->
|
||||
<!--<Patch level="1">login-locale.patch</Patch>-->
|
||||
|
||||
@@ -42,6 +42,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2016-03-09</Date>
|
||||
<Version>1.0.8</Version>
|
||||
<Comment>Rebuild with new toolchain.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>1.0.8</Version>
|
||||
|
||||
@@ -30,6 +30,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2016-03-09</Date>
|
||||
<Version>4.2.4.4</Version>
|
||||
<Comment>Rebuild with new toolchain.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>4.2.4.4</Version>
|
||||
|
||||
@@ -60,6 +60,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2016-03-09</Date>
|
||||
<Version>1.60</Version>
|
||||
<Comment>Rebuild with new toolchain.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>1.60</Version>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<IsA>library</IsA>
|
||||
<Summary>The Nettle package contains the low-level cryptographic library</Summary>
|
||||
<Description>The Nettle package contains the low-level cryptographic library that is designed to fit easily in many contexts.</Description>
|
||||
<Archive sha1sum="1836601393522124787e029466935408e22dd204" type="targz">ftp://ftp.gnu.org/gnu/nettle/nettle-3.1.1.tar.gz</Archive>
|
||||
<Archive sha1sum="b2eb5b36e65a8d3ed60ff81ec897044dead6dae0" type="targz">ftp://ftp.gnu.org/gnu/nettle/nettle-3.2.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gmp-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
@@ -58,7 +58,7 @@
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">nettle</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency>gmp</Dependency>
|
||||
<Dependency>gmp-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32/</Path>
|
||||
@@ -66,6 +66,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="7">
|
||||
<Date>2016-03-09</Date>
|
||||
<Version>3.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2015-07-05</Date>
|
||||
<Version>3.1.1</Version>
|
||||
|
||||
@@ -31,6 +31,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2016-03-09</Date>
|
||||
<Version>0.10</Version>
|
||||
<Comment>Rebuild with new toolchain.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>0.10</Version>
|
||||
|
||||
@@ -34,6 +34,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2016-03-09</Date>
|
||||
<Version>018</Version>
|
||||
<Comment>Rebuild with new toolchain.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>018</Version>
|
||||
|
||||
@@ -37,6 +37,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2016-03-09</Date>
|
||||
<Version>3.3.11</Version>
|
||||
<Comment>Rebuild with new toolchain.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2015-08-25</Date>
|
||||
<Version>3.3.11</Version>
|
||||
|
||||
@@ -37,6 +37,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2016-03-09</Date>
|
||||
<Version>22.21</Version>
|
||||
<Comment>Rebuild with new toolchain.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2015-05-03</Date>
|
||||
<Version>22.21</Version>
|
||||
|
||||
@@ -44,6 +44,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2016-03-06</Date>
|
||||
<Version>2.1.0</Version>
|
||||
<Comment>Rebuild with new toolchain.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>2.1.0</Version>
|
||||
|
||||
Reference in New Issue
Block a user