parent
0c7880d368
commit
974a8bb30f
@ -1,3 +1 @@
|
||||
DIST tar-1.27.1.tar.bz2 2573070 SHA256 9b0fb3ce8512059337add0da5f8f0f7d7647f2201f5ece24581d620ea60337c6 SHA512 f14a0a58e574db3aeec0914621aff2f0518b8d8acce81106b8219b36b3fed47349d6cb802c51a836a5e6889529337434d83b3c50cd7fc1801b9b3944eecc695b WHIRLPOOL fd44ee747f44febc9dd4b0e1a532c38a835fcb55967143a1ab29b29dfc27316de76dfa1d23438f1843bb0a7962eb0b59c3ec75041cc0fbe879b02af292ebc6e9
|
||||
DIST tar-1.28.tar.bz2 2693989 SHA256 60e4bfe0602fef34cd908d91cf638e17eeb09394d7b98c2487217dc4d3147562 SHA512 4f66a236a2d9185114e2b358a09f3d38c3c38e984e5fca4bedc4d7eb461bdaace6a7a9fc62aafb70428b1f3dc617fb0d0553558fb29cad33f0cb53ba081521c4 WHIRLPOOL 54ad7b73e973d436cff853fda267d21ab22139f53d18f6870c7a53cf74e53ec8735022b6d3c503504ee416f1b9f9d43ca1af60d2fedb5d852766cb8dd2ac72d0
|
||||
DIST tar-1.29.tar.bz2 2715993 SHA256 236b11190c0a3a6885bdb8d61424f2b36a5872869aa3f7f695dea4b4843ae2f2 SHA512 d2cea9892892dfa0c8efd390303b75dccc085c4895e07ced684074592d69729916d6ea12475aa6aff873d076a729bb7dc2499c233edcfb9c7e8e8995481eef3b WHIRLPOOL fa5f66a7bb7698c35ad842bc4900a62997da5eb2f3cd6154391b88505a581078a64a8399bb5976d4723d90951d34c084e00d17908d90792bb5139184e8b92a94
|
||||
|
@ -1,25 +0,0 @@
|
||||
From 2bd9c15391b0bd6ef0bff76aebf09cfb53003199 Mon Sep 17 00:00:00 2001
|
||||
From: Sergey Poznyakoff <gray@gnu.org>
|
||||
Date: Thu, 09 Jan 2014 22:13:15 +0000
|
||||
Subject: Fix the use of --no-recursion and --recursion options.
|
||||
|
||||
Each option remains in effect until cancelled by the next ocurrence
|
||||
of its counterpart, as stated in the documentation.
|
||||
|
||||
* src/names.c (name_next_elt): Restore recursion_option from the
|
||||
value of matching_flags.
|
||||
---
|
||||
diff --git a/src/names.c b/src/names.c
|
||||
index fc9841e..7777dc1 100644
|
||||
--- a/src/names.c
|
||||
+++ b/src/names.c
|
||||
@@ -570,6 +570,7 @@ name_next_elt (int change_dirs)
|
||||
|
||||
case NELT_FMASK:
|
||||
matching_flags = ep->v.matching_flags;
|
||||
+ recursion_option = matching_flags & FNM_LEADING_DIR;
|
||||
name_list_advance ();
|
||||
continue;
|
||||
|
||||
--
|
||||
cgit v0.9.0.2
|
@ -1,196 +0,0 @@
|
||||
http://lists.gnu.org/archive/html/bug-tar/2013-12/msg00023.html
|
||||
https://bugs.gentoo.org/489170
|
||||
|
||||
--- tar-1.27.1/configure 2013-11-17 17:18:39.000000000 +0100
|
||||
+++ tar-1.27.1/configure 2013-11-17 17:18:39.000000000 +0100
|
||||
@@ -33619,19 +33619,20 @@
|
||||
fi
|
||||
|
||||
|
||||
- for ac_header in attr/xattr.h
|
||||
+ for ac_header in sys/xattr.h attr/xattr.h
|
||||
do :
|
||||
- ac_fn_c_check_header_mongrel "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
|
||||
-if test "x$ac_cv_header_attr_xattr_h" = xyes; then :
|
||||
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
||||
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
-#define HAVE_ATTR_XATTR_H 1
|
||||
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
- if test "$ac_cv_header_attr_xattr_h" = yes; then
|
||||
+ if test "$ac_cv_header_sys_xattr_h" = yes -o "$ac_cv_header_attr_xattr_h" = yes; then
|
||||
TAR_COND_XATTR_H_TRUE=
|
||||
TAR_COND_XATTR_H_FALSE='#'
|
||||
else
|
||||
@@ -33639,30 +33640,130 @@
|
||||
TAR_COND_XATTR_H_FALSE=
|
||||
fi
|
||||
|
||||
- if test "$ac_cv_header_attr_xattr_h" = yes; then
|
||||
- for ac_func in getxattr fgetxattr lgetxattr \
|
||||
- setxattr fsetxattr lsetxattr \
|
||||
- listxattr flistxattr llistxattr
|
||||
-do :
|
||||
- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
||||
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
||||
+
|
||||
+ if test "$with_xattrs" != no; then
|
||||
+ # If <sys/xattr.h> doesn't exist and <attr/xattr.h> does,
|
||||
+ # then link against libattr.so and not libc
|
||||
+ if test "$ac_cv_header_sys_xattr_h" = no -a "$ac_cv_header_attr_xattr_h" = yes; then
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgetxattr in -lattr" >&5
|
||||
+$as_echo_n "checking for fgetxattr in -lattr... " >&6; }
|
||||
+if ${ac_cv_lib_attr_fgetxattr+:} false; then :
|
||||
+ $as_echo_n "(cached) " >&6
|
||||
+else
|
||||
+ ac_check_lib_save_LIBS=$LIBS
|
||||
+LIBS="-lattr $LIBS"
|
||||
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
+/* end confdefs.h. */
|
||||
+
|
||||
+/* Override any GCC internal prototype to avoid an error.
|
||||
+ Use char because int might match the return type of a GCC
|
||||
+ builtin and then its argument prototype would still apply. */
|
||||
+#ifdef __cplusplus
|
||||
+extern "C"
|
||||
+#endif
|
||||
+char fgetxattr ();
|
||||
+int
|
||||
+main ()
|
||||
+{
|
||||
+return fgetxattr ();
|
||||
+ ;
|
||||
+ return 0;
|
||||
+}
|
||||
+_ACEOF
|
||||
+if ac_fn_c_try_link "$LINENO"; then :
|
||||
+ ac_cv_lib_attr_fgetxattr=yes
|
||||
+else
|
||||
+ ac_cv_lib_attr_fgetxattr=no
|
||||
+fi
|
||||
+rm -f core conftest.err conftest.$ac_objext \
|
||||
+ conftest$ac_exeext conftest.$ac_ext
|
||||
+LIBS=$ac_check_lib_save_LIBS
|
||||
+fi
|
||||
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_attr_fgetxattr" >&5
|
||||
+$as_echo "$ac_cv_lib_attr_fgetxattr" >&6; }
|
||||
+if test "x$ac_cv_lib_attr_fgetxattr" = xyes; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
||||
+#define HAVE_LIBATTR 1
|
||||
_ACEOF
|
||||
- # only when functions are present
|
||||
|
||||
-$as_echo "#define HAVE_ATTR_XATTR_H 1" >>confdefs.h
|
||||
+ LIBS="-lattr $LIBS"
|
||||
|
||||
- if test "$with_xattrs" != no; then
|
||||
+fi
|
||||
|
||||
-$as_echo "#define HAVE_XATTRS /**/" >>confdefs.h
|
||||
+ fi
|
||||
+ have_functions=yes
|
||||
+ for xattr_func in getxattr fgetxattr lgetxattr \
|
||||
+ setxattr fsetxattr lsetxattr \
|
||||
+ listxattr flistxattr llistxattr; do \
|
||||
+ as_ac_Search=`$as_echo "ac_cv_search_$xattr_func" | $as_tr_sh`
|
||||
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing $xattr_func" >&5
|
||||
+$as_echo_n "checking for library containing $xattr_func... " >&6; }
|
||||
+if eval \${$as_ac_Search+:} false; then :
|
||||
+ $as_echo_n "(cached) " >&6
|
||||
+else
|
||||
+ ac_func_search_save_LIBS=$LIBS
|
||||
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
+/* end confdefs.h. */
|
||||
+
|
||||
+/* Override any GCC internal prototype to avoid an error.
|
||||
+ Use char because int might match the return type of a GCC
|
||||
+ builtin and then its argument prototype would still apply. */
|
||||
+#ifdef __cplusplus
|
||||
+extern "C"
|
||||
+#endif
|
||||
+char $xattr_func ();
|
||||
+int
|
||||
+main ()
|
||||
+{
|
||||
+return $xattr_func ();
|
||||
+ ;
|
||||
+ return 0;
|
||||
+}
|
||||
+_ACEOF
|
||||
+for ac_lib in '' attr; do
|
||||
+ if test -z "$ac_lib"; then
|
||||
+ ac_res="none required"
|
||||
+ else
|
||||
+ ac_res=-l$ac_lib
|
||||
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
||||
+ fi
|
||||
+ if ac_fn_c_try_link "$LINENO"; then :
|
||||
+ eval "$as_ac_Search=\$ac_res"
|
||||
+fi
|
||||
+rm -f core conftest.err conftest.$ac_objext \
|
||||
+ conftest$ac_exeext
|
||||
+ if eval \${$as_ac_Search+:} false; then :
|
||||
+ break
|
||||
+fi
|
||||
+done
|
||||
+if eval \${$as_ac_Search+:} false; then :
|
||||
|
||||
- fi
|
||||
+else
|
||||
+ eval "$as_ac_Search=no"
|
||||
+fi
|
||||
+rm conftest.$ac_ext
|
||||
+LIBS=$ac_func_search_save_LIBS
|
||||
+fi
|
||||
+eval ac_res=\$$as_ac_Search
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
||||
+$as_echo "$ac_res" >&6; }
|
||||
+eval ac_res=\$$as_ac_Search
|
||||
+if test "$ac_res" != no; then :
|
||||
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
||||
|
||||
+else
|
||||
+ have_functions=no
|
||||
fi
|
||||
-done
|
||||
|
||||
+ test $have_functions = no && break
|
||||
+ done
|
||||
+ if test $have_functions = yes; then
|
||||
+
|
||||
+$as_echo "#define HAVE_XATTRS 1" >>confdefs.h
|
||||
+
|
||||
+ else
|
||||
+ test "$with_xattrs" = yes && as_fn_error $? "xattr support requested but not found." "$LINENO" 5
|
||||
+ fi
|
||||
fi
|
||||
|
||||
|
||||
--- tar-1.27.1/lib/xattr-at.h 2013-03-14 21:18:10.000000000 +0100
|
||||
+++ tar-1.27.1/lib/xattr-at.h 2013-03-14 21:18:10.000000000 +0100
|
||||
@@ -20,7 +20,15 @@
|
||||
#define XATTRS_AT_H
|
||||
|
||||
#include <sys/types.h>
|
||||
-#include <attr/xattr.h>
|
||||
+#if defined(HAVE_SYS_XATTR_H)
|
||||
+# include <sys/xattr.h>
|
||||
+#elif defined(HAVE_ATTR_XATTR_H)
|
||||
+# include <attr/xattr.h>
|
||||
+#endif
|
||||
+
|
||||
+#ifndef ENOATTR
|
||||
+# define ENOATTR ENODATA /* No such attribute */
|
||||
+#endif
|
||||
|
||||
/* These are the dir-fd-relative variants of the functions without the
|
||||
"at" suffix. For example, setxattrat (AT_FDCWD, path, name, value, size,
|
@ -1,117 +0,0 @@
|
||||
https://bugs.gentoo.org/546294
|
||||
https://lists.gnu.org/archive/html/bug-tar/2015-04/msg00006.html
|
||||
|
||||
From 15c02c2b9d383446b3ea35dbea5a048e136b020d Mon Sep 17 00:00:00 2001
|
||||
From: Sergey Poznyakoff <gray@gnu.org.ua>
|
||||
Date: Thu, 16 Apr 2015 13:02:10 +0300
|
||||
Subject: [PATCH] Fix extraction from concatenated incremental archives.
|
||||
|
||||
* src/common.h (remove_delayed_set_stat): New proto.
|
||||
* src/extract.c (free_delayed_set_stat)
|
||||
(remove_delayed_set_stat): New function.
|
||||
(apply_nonancestor_delayed_set_stat): Use free_delayed_set_stat.
|
||||
* src/misc.c (safer_rmdir): Remove delayed_set_stat entry
|
||||
corresponding to the removed directory.
|
||||
* tests/incr10.at: New test case.
|
||||
* tests/Makefile.am: Add new test.
|
||||
* tests/testsuite.at: Likewise.
|
||||
---
|
||||
src/common.h | 2 ++
|
||||
src/extract.c | 38 +++++++++++++++++++++++++++-----
|
||||
src/misc.c | 7 +++++-
|
||||
tests/Makefile.am | 1 +
|
||||
tests/incr10.at | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
tests/testsuite.at | 1 +
|
||||
6 files changed, 107 insertions(+), 6 deletions(-)
|
||||
create mode 100644 tests/incr10.at
|
||||
|
||||
diff --git a/src/common.h b/src/common.h
|
||||
index 20cbb64..2904183 100644
|
||||
--- a/src/common.h
|
||||
+++ b/src/common.h
|
||||
@@ -523,6 +523,8 @@ void extract_archive (void);
|
||||
void extract_finish (void);
|
||||
bool rename_directory (char *src, char *dst);
|
||||
|
||||
+void remove_delayed_set_stat (const char *fname);
|
||||
+
|
||||
/* Module delete.c. */
|
||||
|
||||
void delete_archive_members (void);
|
||||
diff --git a/src/extract.c b/src/extract.c
|
||||
index ca25603..5aaeb1b 100644
|
||||
--- a/src/extract.c
|
||||
+++ b/src/extract.c
|
||||
@@ -537,6 +537,38 @@ repair_delayed_set_stat (char const *dir,
|
||||
quotearg_colon (dir)));
|
||||
}
|
||||
|
||||
+static void
|
||||
+free_delayed_set_stat (struct delayed_set_stat *data)
|
||||
+{
|
||||
+ xheader_xattr_free (data->xattr_map, data->xattr_map_size);
|
||||
+ free (data->cntx_name);
|
||||
+ free (data->acls_a_ptr);
|
||||
+ free (data->acls_d_ptr);
|
||||
+ free (data);
|
||||
+}
|
||||
+
|
||||
+void
|
||||
+remove_delayed_set_stat (const char *fname)
|
||||
+{
|
||||
+ struct delayed_set_stat *data, *next, *prev = NULL;
|
||||
+ for (data = delayed_set_stat_head; data; data = next)
|
||||
+ {
|
||||
+ next = data->next;
|
||||
+ if (chdir_current == data->change_dir
|
||||
+ && strcmp (data->file_name, fname) == 0)
|
||||
+ {
|
||||
+ free_delayed_set_stat (data);
|
||||
+ if (prev)
|
||||
+ prev->next = next;
|
||||
+ else
|
||||
+ delayed_set_stat_head = next;
|
||||
+ return;
|
||||
+ }
|
||||
+ else
|
||||
+ prev = data;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
/* After a file/link/directory creation has failed, see if
|
||||
it's because some required directory was not present, and if so,
|
||||
create all required directories. Return zero if all the required
|
||||
@@ -846,11 +878,7 @@ apply_nonancestor_delayed_set_stat (char const *file_name, bool after_links)
|
||||
}
|
||||
|
||||
delayed_set_stat_head = data->next;
|
||||
- xheader_xattr_free (data->xattr_map, data->xattr_map_size);
|
||||
- free (data->cntx_name);
|
||||
- free (data->acls_a_ptr);
|
||||
- free (data->acls_d_ptr);
|
||||
- free (data);
|
||||
+ free_delayed_set_stat (data);
|
||||
}
|
||||
}
|
||||
|
||||
diff --git a/src/misc.c b/src/misc.c
|
||||
index 8e66643..d263c07 100644
|
||||
--- a/src/misc.c
|
||||
+++ b/src/misc.c
|
||||
@@ -586,7 +586,12 @@ safer_rmdir (const char *file_name)
|
||||
return -1;
|
||||
}
|
||||
|
||||
- return unlinkat (chdir_fd, file_name, AT_REMOVEDIR);
|
||||
+ if (unlinkat (chdir_fd, file_name, AT_REMOVEDIR) == 0)
|
||||
+ {
|
||||
+ remove_delayed_set_stat (file_name);
|
||||
+ return 0;
|
||||
+ }
|
||||
+ return -1;
|
||||
}
|
||||
|
||||
/* Remove FILE_NAME, returning 1 on success. If FILE_NAME is a directory,
|
||||
--
|
||||
2.3.5
|
||||
|
@ -1,36 +0,0 @@
|
||||
https://bugs.gentoo.org/548024
|
||||
|
||||
From 9c2b57232e3bc2e5ba85387560bcdd851849a128 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Eggert <eggert@cs.ucla.edu>
|
||||
Date: Mon, 5 Jan 2015 20:24:18 -0800
|
||||
Subject: [PATCH] tar: port xattr-at.c to Solaris 10
|
||||
|
||||
* lib/xattr-at.c (setxattrat, lsetxattrat, getxattrat, lgetxattrat)
|
||||
(listxattrat, llistxattrat): Compile only if HAVE_XATTRS, so that
|
||||
the code doesn't call functions that are not declared.
|
||||
---
|
||||
lib/xattr-at.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/lib/xattr-at.c b/lib/xattr-at.c
|
||||
index 443ccae..66427e9 100644
|
||||
--- a/lib/xattr-at.c
|
||||
+++ b/lib/xattr-at.c
|
||||
@@ -31,6 +31,8 @@
|
||||
|
||||
#include "openat-priv.h"
|
||||
|
||||
+#ifdef HAVE_XATTRS
|
||||
+
|
||||
/* setxattrat */
|
||||
#define AT_FUNC_NAME setxattrat
|
||||
#define AT_FUNC_F1 setxattr
|
||||
@@ -108,3 +110,5 @@
|
||||
#undef AT_FUNC_RESULT
|
||||
#undef AT_FUNC_POST_FILE_PARAM_DECLS
|
||||
#undef AT_FUNC_POST_FILE_ARGS
|
||||
+
|
||||
+#endif /* HAVE_XATTRS */
|
||||
--
|
||||
2.4.0
|
||||
|
@ -1,388 +0,0 @@
|
||||
.\" generated by script on Mon Oct 21 08:29:21 2013
|
||||
.Dd Oct 21, 2013
|
||||
.Dt TAR 1
|
||||
.Sh NAME
|
||||
.Nm tar
|
||||
.Nd The GNU version of the tar archiving utility
|
||||
.Sh SYNOPSIS
|
||||
.Nm tar
|
||||
.Oo Fl Oc Cm A Fl \-catenate \-concatenate Cm \||\| c Fl \-create Cm \||\| d Fl \-diff \-compare Cm \||\| Fl \-delete Cm \||\| r Fl \-append Cm \||\| t Fl \-list Cm \||\| Fl \-test\-label Cm \||\| u Fl \-update Cm \||\| x Fl \-extract \-get
|
||||
.Op Ar options
|
||||
.Op Ar pathname ...
|
||||
.Sh DESCRIPTION
|
||||
.Nm Tar
|
||||
stores and extracts files from a tape or disk archive.
|
||||
.Pp
|
||||
The first argument to
|
||||
tar
|
||||
should be a function; either one of the letters
|
||||
.Cm Acdrtux ,
|
||||
or one of the long function names.
|
||||
A function letter need not be prefixed with ``\-'', and may be combined
|
||||
with other single-letter options.
|
||||
A long function name must be prefixed with
|
||||
.Cm \\-\\- .
|
||||
Some options take a parameter; with the single-letter form
|
||||
these must be given as separate arguments.
|
||||
With the long form, they may be given by appending
|
||||
.Cm = Ns Ar value
|
||||
to the option.
|
||||
.Sh FUNCTION LETTERS
|
||||
Main operation mode:
|
||||
.Bl -tag -width flag
|
||||
.It Fl A , Fl \-catenate , Fl \-concatenate
|
||||
append tar files to an archive
|
||||
.It Fl c , Fl \-create
|
||||
create a new archive
|
||||
.It Fl d , Fl \-diff , Fl \-compare
|
||||
find differences between archive and file system
|
||||
.It Fl \-delete
|
||||
delete from the archive (not on mag tapes!)
|
||||
.It Fl r , Fl \-append
|
||||
append files to the end of an archive
|
||||
.It Fl t , Fl \-list
|
||||
list the contents of an archive
|
||||
.It Fl \-test\-label
|
||||
test the archive volume label and exit
|
||||
.It Fl u , Fl \-update
|
||||
only append files newer than copy in archive
|
||||
.It Fl x , Fl \-extract , Fl \-get
|
||||
extract files from an archive
|
||||
.El
|
||||
.Sh OTHER OPTIONS
|
||||
Operation modifiers:
|
||||
.Bl -tag -width flag
|
||||
.It \-[0\-7][lmh]
|
||||
specify drive and density
|
||||
.It Fl a , Fl \-auto\-compress
|
||||
use archive suffix to determine the compression program
|
||||
.It Fl \-acls
|
||||
Enable the POSIX ACLs support
|
||||
.It Fl \-no\-acls
|
||||
Disable the POSIX ACLs support
|
||||
.It Fl \-add\-file Ns \= Ns Ar FILE
|
||||
add given FILE to the archive (useful if its name starts with a dash)
|
||||
.It Fl \-anchored
|
||||
patterns match file name start
|
||||
.It Fl \-no\-anchored
|
||||
patterns match after any '/' (default for exclusion)
|
||||
.It Fl \-atime\-preserve
|
||||
preserve access times on dumped files, either by restoring the times
|
||||
.It Fl \-no\-auto\-compress
|
||||
do not use archive suffix to determine the compression program
|
||||
.It Fl b , Fl \-blocking\-factor Ar BLOCKS
|
||||
BLOCKS x 512 bytes per record
|
||||
.It Fl B , Fl \-read\-full\-records
|
||||
reblock as we read (for 4.2BSD pipes)
|
||||
.It Fl \-backup
|
||||
backup before removal, choose version CONTROL
|
||||
.It Fl C , Fl \-directory Ar DIR
|
||||
change to directory DIR
|
||||
.It Fl \-check\-device
|
||||
check device numbers when creating incremental archives (default)
|
||||
.It Fl \-no\-check\-device
|
||||
do not check device numbers when creating incremental archives
|
||||
.It Fl \-checkpoint
|
||||
display progress messages every NUMBERth record (default 10)
|
||||
.It Fl \-checkpoint\-action Ns \= Ns Ar ACTION
|
||||
execute ACTION on each checkpoint
|
||||
.It Fl \-delay\-directory\-restore
|
||||
delay setting modification times and permissions of extracted
|
||||
.It Fl \-no\-delay\-directory\-restore
|
||||
cancel the effect of --delay-directory-restore option
|
||||
.It Fl \-exclude Ns \= Ns Ar PATTERN
|
||||
exclude files, given as a PATTERN
|
||||
.It Fl \-exclude\-backups
|
||||
exclude backup and lock files
|
||||
.It Fl \-exclude\-caches
|
||||
exclude contents of directories containing CACHEDIR.TAG,
|
||||
.It Fl \-exclude\-caches\-all
|
||||
exclude directories containing CACHEDIR.TAG
|
||||
.It Fl \-exclude\-caches\-under
|
||||
exclude everything under directories containing CACHEDIR.TAG
|
||||
.It Fl \-exclude\-tag Ns \= Ns Ar FILE
|
||||
exclude contents of directories containing FILE, except
|
||||
.It Fl \-exclude\-tag\-all Ns \= Ns Ar FILE
|
||||
exclude directories containing FILE
|
||||
.It Fl \-exclude\-tag\-under Ns \= Ns Ar FILE
|
||||
exclude everything under directories containing FILE
|
||||
.It Fl \-exclude\-vcs
|
||||
exclude version control system directories
|
||||
.It Fl f , Fl \-file Ar ARCHIVE
|
||||
use archive file or device ARCHIVE
|
||||
.It Fl F , Fl \-info\-script , Fl \-new\-volume\-script Ar NAME
|
||||
run script at end of each tape (implies -M)
|
||||
.It Fl \-force\-local
|
||||
archive file is local even if it has a colon
|
||||
.It Fl \-full\-time
|
||||
print file time to its full resolution
|
||||
.It Fl g , Fl \-listed\-incremental Ar FILE
|
||||
handle new GNU-format incremental backup
|
||||
.It Fl G , Fl \-incremental
|
||||
handle old GNU-format incremental backup
|
||||
.It Fl \-group Ns \= Ns Ar NAME
|
||||
force NAME as group for added files
|
||||
.It Fl h , Fl \-dereference
|
||||
follow symlinks; archive and dump the files they point to
|
||||
.It Fl H , Fl \-format Ar FORMAT
|
||||
create archive of the given formatFORMAT is one of the following:
|
||||
.Bl -tag -width flag
|
||||
.It Fl \-format=gnu
|
||||
GNU tar 1.13.x format
|
||||
.It Fl \-format=oldgnu
|
||||
GNU format as per tar <= 1.12
|
||||
.It Fl \-format=pax
|
||||
POSIX 1003.1-2001 (pax) format
|
||||
.It Fl \-format=posix
|
||||
same as pax
|
||||
.It Fl \-format=ustar
|
||||
POSIX 1003.1-1988 (ustar) format
|
||||
.It Fl \-format=v7
|
||||
old V7 tar format
|
||||
.El
|
||||
.It Fl \-hard\-dereference
|
||||
follow hard links; archive and dump the files they refer to
|
||||
.It Fl i , Fl \-ignore\-zeros
|
||||
ignore zeroed blocks in archive (means EOF)
|
||||
.It Fl I , Fl \-use\-compress\-program Ar PROG
|
||||
filter through PROG (must accept -d)
|
||||
.It Fl \-ignore\-case
|
||||
ignore case
|
||||
.It Fl \-no\-ignore\-case
|
||||
case sensitive matching (default)
|
||||
.It Fl \-ignore\-command\-error
|
||||
ignore exit codes of children
|
||||
.It Fl \-no\-ignore\-command\-error
|
||||
treat non-zero exit codes of children as error
|
||||
.It Fl \-ignore\-failed\-read
|
||||
do not exit with nonzero on unreadable files
|
||||
.It Fl \-index\-file Ns \= Ns Ar FILE
|
||||
send verbose output to FILE
|
||||
.It Fl j , Fl \-bzip2
|
||||
|
||||
.It Fl J , Fl \-xz
|
||||
|
||||
.It Fl k , Fl \-keep\-old\-files
|
||||
don't replace existing files when extracting,
|
||||
.It Fl K , Fl \-starting\-file Ar MEMBER-NAME
|
||||
begin at member MEMBER-NAME when reading the archive
|
||||
.It Fl \-keep\-directory\-symlink
|
||||
preserve existing symlinks to directories when extracting
|
||||
.It Fl \-keep\-newer\-files
|
||||
don't replace existing files that are newer than their archive copies
|
||||
.It Fl l , Fl \-check\-links
|
||||
print a message if not all links are dumped
|
||||
.It Fl L , Fl \-tape\-length Ar NUMBER
|
||||
change tape after writing NUMBER x 1024 bytes
|
||||
.It Fl \-level Ns \= Ns Ar NUMBER
|
||||
dump level for created listed-incremental archive
|
||||
.It Fl \-lzip
|
||||
|
||||
.It Fl \-lzma
|
||||
|
||||
.It Fl \-lzop
|
||||
|
||||
.It Fl m , Fl \-touch
|
||||
don't extract file modified time
|
||||
.It Fl M , Fl \-multi\-volume
|
||||
create/list/extract multi-volume archive
|
||||
.It Fl \-mode Ns \= Ns Ar CHANGES
|
||||
force (symbolic) mode CHANGES for added files
|
||||
.It Fl \-mtime Ns \= Ns Ar DATE-OR-FILE
|
||||
set mtime for added files from DATE-OR-FILE
|
||||
.It Fl n , Fl \-seek
|
||||
archive is seekable
|
||||
.It Fl N , Fl \-newer , Fl \-after\-date Ar DATE-OR-FILE
|
||||
only store files newer than DATE-OR-FILE
|
||||
.It Fl \-newer\-mtime Ns \= Ns Ar DATE
|
||||
compare date and time when data changed only
|
||||
.It Fl \-null
|
||||
-T reads null-terminated names, disable -C
|
||||
.It Fl \-no\-null
|
||||
disable the effect of the previous --null option
|
||||
.It Fl \-numeric\-owner
|
||||
always use numbers for user/group names
|
||||
.It Fl O , Fl \-to\-stdout
|
||||
extract files to standard output
|
||||
.It Fl \-occurrence
|
||||
process only the NUMBERth occurrence of each file in the archive;
|
||||
.It Fl \-old\-archive , Fl \-portability
|
||||
same as --format=v7
|
||||
.It Fl \-one\-file\-system
|
||||
stay in local file system when creating archive
|
||||
.It Fl \-overwrite
|
||||
overwrite existing files when extracting
|
||||
.It Fl \-overwrite\-dir
|
||||
overwrite metadata of existing directories when extracting (default)
|
||||
.It Fl \-no\-overwrite\-dir
|
||||
preserve metadata of existing directories
|
||||
.It Fl \-owner Ns \= Ns Ar NAME
|
||||
force NAME as owner for added files
|
||||
.It Fl p , Fl \-preserve\-permissions , Fl \-same\-permissions
|
||||
extract information about file permissions (default for superuser)
|
||||
.It Fl P , Fl \-absolute\-names
|
||||
don't strip leading '/'s from file names
|
||||
.It Fl \-pax\-option Ns \= Ns Ar keyword[[:]=value][,keyword[[:]=value]]...
|
||||
control pax keywords
|
||||
.It Fl \-posix
|
||||
same as --format=posix
|
||||
.It Fl \-preserve
|
||||
same as both -p and -s
|
||||
.It Fl \-quote\-chars Ns \= Ns Ar STRING
|
||||
additionally quote characters from STRING
|
||||
.It Fl \-no\-quote\-chars Ns \= Ns Ar STRING
|
||||
disable quoting for characters from STRING
|
||||
.It Fl \-quoting\-style Ns \= Ns Ar STYLE
|
||||
set name quoting style; see below for valid STYLE values
|
||||
.It Fl R , Fl \-block\-number
|
||||
show block number within archive with each message
|
||||
.It Fl \-record\-size Ns \= Ns Ar NUMBER
|
||||
NUMBER of bytes per record, multiple of 512
|
||||
.It Fl \-recursion
|
||||
recurse into directories (default)
|
||||
.It Fl \-no\-recursion
|
||||
avoid descending automatically in directories
|
||||
.It Fl \-recursive\-unlink
|
||||
empty hierarchies prior to extracting directory
|
||||
.It Fl \-remove\-files
|
||||
remove files after adding them to the archive
|
||||
.It Fl \-restrict
|
||||
disable use of some potentially harmful options
|
||||
.It Fl \-rmt\-command Ns \= Ns Ar COMMAND
|
||||
use given rmt COMMAND instead of rmt
|
||||
.It Fl \-rsh\-command Ns \= Ns Ar COMMAND
|
||||
use remote COMMAND instead of rsh
|
||||
.It Fl s , Fl \-preserve\-order , Fl \-same\-order
|
||||
member arguments are listed in the same order as the
|
||||
.It Fl S , Fl \-sparse
|
||||
handle sparse files efficiently
|
||||
.It Fl \-same\-owner
|
||||
try extracting files with the same ownership as exists in the archive (default for superuser)
|
||||
.It Fl \-no\-same\-owner
|
||||
extract files as yourself (default for ordinary users)
|
||||
.It Fl \-no\-same\-permissions
|
||||
apply the user's umask when extracting permissions from the archive (default for ordinary users)
|
||||
.It Fl \-no\-seek
|
||||
archive is not seekable
|
||||
.It Fl \-selinux
|
||||
Enable the SELinux context support
|
||||
.It Fl \-no\-selinux
|
||||
Disable the SELinux context support
|
||||
.It Fl \-show\-defaults
|
||||
show tar defaults
|
||||
.It Fl \-show\-omitted\-dirs
|
||||
when listing or extracting, list each directory that does not match search criteria
|
||||
.It Fl \-show\-snapshot\-field\-ranges
|
||||
show valid ranges for snapshot-file fields
|
||||
.It Fl \-show\-transformed\-names , Fl \-show\-stored\-names
|
||||
show file or archive names after transformation
|
||||
.It Fl \-skip\-old\-files
|
||||
don't replace existing files when extracting, silently skip over them
|
||||
.It Fl \-sparse\-version Ns \= Ns Ar MAJOR[.MINOR]
|
||||
set version of the sparse format to use (implies --sparse)
|
||||
.It Fl \-strip\-components Ns \= Ns Ar NUMBER
|
||||
strip NUMBER leading components from file names on extraction
|
||||
.It Fl \-suffix Ns \= Ns Ar STRING
|
||||
backup before removal, override usual suffix ('~' unless overridden by environment variable SIMPLE_BACKUP_SUFFIX)
|
||||
.It Fl T , Fl \-files\-from Ar FILE
|
||||
get names to extract or create from FILE
|
||||
.It Fl \-to\-command Ns \= Ns Ar COMMAND
|
||||
pipe extracted files to another program
|
||||
.It Fl \-totals
|
||||
print total bytes after processing the archive;
|
||||
.It Fl \-transform , Fl \-xform Ar EXPRESSION
|
||||
use sed replace EXPRESSION to transform file names
|
||||
.It Fl U , Fl \-unlink\-first
|
||||
remove each file prior to extracting over it
|
||||
.It Fl \-unquote
|
||||
unquote filenames read with -T (default)
|
||||
.It Fl \-no\-unquote
|
||||
do not unquote filenames read with -T
|
||||
.It Fl \-utc
|
||||
print file modification times in UTC
|
||||
.It Fl v , Fl \-verbose
|
||||
verbosely list files processed
|
||||
.It Fl V , Fl \-label Ar TEXT
|
||||
create archive with volume name TEXT; at list/extract time, use TEXT as a globbing pattern for volume name
|
||||
.It Fl \-volno\-file Ns \= Ns Ar FILE
|
||||
use/update the volume number in FILE
|
||||
.It Fl w , Fl \-interactive , Fl \-confirmation
|
||||
ask for confirmation for every action
|
||||
.It Fl W , Fl \-verify
|
||||
attempt to verify the archive after writing it
|
||||
.It Fl \-warning Ns \= Ns Ar KEYWORD
|
||||
warning control
|
||||
.It Fl \-wildcards
|
||||
use wildcards (default for exclusion)
|
||||
.It Fl \-wildcards\-match\-slash
|
||||
wildcards match '/' (default for exclusion)
|
||||
.It Fl \-no\-wildcards\-match\-slash
|
||||
wildcards do not match '/'
|
||||
.It Fl \-no\-wildcards
|
||||
verbatim string matching
|
||||
.It Fl X , Fl \-exclude\-from Ar FILE
|
||||
exclude patterns listed in FILE
|
||||
.It Fl \-xattrs
|
||||
Enable extended attributes support
|
||||
.It Fl \-xattrs\-exclude Ns \= Ns Ar MASK
|
||||
specify the exclude pattern for xattr keys
|
||||
.It Fl \-xattrs\-include Ns \= Ns Ar MASK
|
||||
specify the include pattern for xattr keys
|
||||
.It Fl \-no\-xattrs
|
||||
Disable extended attributes support
|
||||
.It Fl z , Fl \-gzip , Fl \-gunzip Fl \-ungzip
|
||||
|
||||
.It Fl Z , Fl \-compress , Fl \-uncompress
|
||||
|
||||
.El
|
||||
.Sh ENVIRONMENT
|
||||
The behavior of tar is controlled by the following environment variables,
|
||||
among others:
|
||||
.Bl -tag -width Ds
|
||||
.It Ev SIMPLE_BACKUP_SUFFIX
|
||||
Backup prefix to use when extracting, if
|
||||
.Fl \-suffix
|
||||
is not specified.
|
||||
The backup suffix defaults to `~' if neither is specified.
|
||||
.It Ev TAR_OPTIONS
|
||||
Options to prepend to those specified on the command line, separated by
|
||||
whitespace. Embedded backslashes may be used to escape whitespace or
|
||||
backslashes within an option.
|
||||
.It Ev TAPE
|
||||
Device or file to use for the archive if
|
||||
.Fl \-file
|
||||
is not specified.
|
||||
If this environment variable is unset, use stdin or stdout instead.
|
||||
.El
|
||||
.Sh EXAMPLES
|
||||
Create archive.tar from files foo and bar.
|
||||
.Bd -literal -offset indent -compact
|
||||
tar \-cf archive.tar foo bar
|
||||
.Ed
|
||||
List all files in archive.tar verbosely.
|
||||
.Bd -literal -offset indent -compact
|
||||
tar \-tvf archive.tar
|
||||
.Ed
|
||||
Extract all files from archive.tar.
|
||||
.Bd -literal -offset indent -compact
|
||||
tar \-xf archive.tar
|
||||
.Ed
|
||||
.Sh SEE ALSO
|
||||
.\" libarchive
|
||||
.Xr tar 5 ,
|
||||
.\" man-pages
|
||||
.Xr symlink 7 ,
|
||||
.Xr rmt 8
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm tar
|
||||
command appeared in
|
||||
.At v7 .
|
||||
.Sh BUGS
|
||||
The GNU folks, in general, abhor man pages, and create info documents instead.
|
||||
Unfortunately, the info document describing tar is licensed under the GFDL with
|
||||
invariant cover texts, which makes it impossible to include any text
|
||||
from that document in this man page.
|
||||
Most of the text in this document was automatically extracted from the usage
|
||||
text in the source.
|
||||
It may not completely describe all features of the program.
|
@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Use this to make tarballs :)"
|
||||
HOMEPAGE="https://www.gnu.org/software/tar/"
|
||||
SRC_URI="mirror://gnu/tar/${P}.tar.bz2
|
||||
mirror://gnu-alpha/tar/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="acl minimal nls selinux static userland_GNU xattr"
|
||||
|
||||
RDEPEND="acl? ( virtual/acl )
|
||||
selinux? ( sys-libs/libselinux )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( >=sys-devel/gettext-0.10.35 )
|
||||
xattr? ( sys-apps/attr )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_OPTS="-Z" \
|
||||
epatch "${FILESDIR}/${P}-xattr_build_fix.patch"
|
||||
epatch "${FILESDIR}/${P}-recursion_norecursion.patch"
|
||||
if ! use userland_GNU ; then
|
||||
sed -i \
|
||||
-e 's:/backup\.sh:/gbackup.sh:' \
|
||||
scripts/{backup,dump-remind,restore}.in \
|
||||
|| die "sed non-GNU"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
FORCE_UNSAFE_CONFIGURE=1 \
|
||||
econf \
|
||||
--enable-backup-scripts \
|
||||
--bindir="${EPREFIX}"/bin \
|
||||
--libexecdir="${EPREFIX}"/usr/sbin \
|
||||
$(usex userland_GNU "" "--program-prefix=g") \
|
||||
$(use_with acl posix-acls) \
|
||||
$(use_enable nls) \
|
||||
$(use_with selinux) \
|
||||
$(use_with xattr xattrs)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
local p=$(usex userland_GNU "" "g")
|
||||
if [[ -z ${p} ]] ; then
|
||||
# a nasty yet required piece of baggage
|
||||
exeinto /etc
|
||||
doexe "${FILESDIR}"/rmt
|
||||
fi
|
||||
|
||||
# autoconf looks for gtar before tar (in configure scripts), hence
|
||||
# in Prefix it is important that it is there, otherwise, a gtar from
|
||||
# the host system (FreeBSD, Solaris, Darwin) will be found instead
|
||||
# of the Prefix provided (GNU) tar
|
||||
if use prefix ; then
|
||||
dosym tar /bin/gtar
|
||||
fi
|
||||
|
||||
dodoc AUTHORS ChangeLog* NEWS README* THANKS
|
||||
newman "${FILESDIR}"/tar.1-1.27 ${p}tar.1
|
||||
mv "${ED}"/usr/sbin/${p}backup{,-tar} || die
|
||||
mv "${ED}"/usr/sbin/${p}restore{,-tar} || die
|
||||
|
||||
if use minimal ; then
|
||||
find "${ED}"/etc "${ED}"/*bin/ "${ED}"/usr/*bin/ \
|
||||
-type f -a '!' '(' -name tar -o -name ${p}tar ')' \
|
||||
-delete || die
|
||||
fi
|
||||
}
|
@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Use this to make tarballs :)"
|
||||
HOMEPAGE="https://www.gnu.org/software/tar/"
|
||||
SRC_URI="mirror://gnu/tar/${P}.tar.bz2
|
||||
mirror://gnu-alpha/tar/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="acl elibc_glibc minimal nls selinux static userland_GNU xattr"
|
||||
|
||||
RDEPEND="acl? ( virtual/acl )
|
||||
selinux? ( sys-libs/libselinux )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( >=sys-devel/gettext-0.10.35 )
|
||||
xattr? ( elibc_glibc? ( sys-apps/attr ) )"
|
||||
|
||||
src_prepare() {
|
||||
if ! use userland_GNU ; then
|
||||
sed -i \
|
||||
-e 's:/backup\.sh:/gbackup.sh:' \
|
||||
scripts/{backup,dump-remind,restore}.in \
|
||||
|| die "sed non-GNU"
|
||||
fi
|
||||
epatch "${FILESDIR}"/${P}-concat-listed.patch #546294
|
||||
epatch "${FILESDIR}"/${P}-xattr.patch #548024
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
FORCE_UNSAFE_CONFIGURE=1 \
|
||||
econf \
|
||||
--enable-backup-scripts \
|
||||
--bindir="${EPREFIX}"/bin \
|
||||
--libexecdir="${EPREFIX}"/usr/sbin \
|
||||
$(usex userland_GNU "" "--program-prefix=g") \
|
||||
$(use_with acl posix-acls) \
|
||||
$(use_enable nls) \
|
||||
$(use_with selinux) \
|
||||
$(use_with xattr xattrs)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
local p=$(usex userland_GNU "" "g")
|
||||
if [[ -z ${p} ]] ; then
|
||||
# a nasty yet required piece of baggage
|
||||
exeinto /etc
|
||||
doexe "${FILESDIR}"/rmt
|
||||
fi
|
||||
|
||||
# autoconf looks for gtar before tar (in configure scripts), hence
|
||||
# in Prefix it is important that it is there, otherwise, a gtar from
|
||||
# the host system (FreeBSD, Solaris, Darwin) will be found instead
|
||||
# of the Prefix provided (GNU) tar
|
||||
if use prefix ; then
|
||||
dosym tar /bin/gtar
|
||||
fi
|
||||
|
||||
mv "${ED}"/usr/sbin/${p}backup{,-tar} || die
|
||||
mv "${ED}"/usr/sbin/${p}restore{,-tar} || die
|
||||
|
||||
if use minimal ; then
|
||||
find "${ED}"/etc "${ED}"/*bin/ "${ED}"/usr/*bin/ \
|
||||
-type f -a '!' '(' -name tar -o -name ${p}tar ')' \
|
||||
-delete || die
|
||||
fi
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Use this to make tarballs :)"
|
||||
HOMEPAGE="https://www.gnu.org/software/tar/"
|
||||
SRC_URI="mirror://gnu/tar/${P}.tar.bz2
|
||||
mirror://gnu-alpha/tar/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="acl elibc_glibc minimal nls selinux static userland_GNU xattr"
|
||||
|
||||
RDEPEND="acl? ( virtual/acl )
|
||||
selinux? ( sys-libs/libselinux )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( >=sys-devel/gettext-0.10.35 )
|
||||
xattr? ( elibc_glibc? ( sys-apps/attr ) )"
|
||||
|
||||
src_prepare() {
|
||||
if ! use userland_GNU ; then
|
||||
sed -i \
|
||||
-e 's:/backup\.sh:/gbackup.sh:' \
|
||||
scripts/{backup,dump-remind,restore}.in \
|
||||
|| die "sed non-GNU"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
FORCE_UNSAFE_CONFIGURE=1 \
|
||||
econf \
|
||||
--enable-backup-scripts \
|
||||
--bindir="${EPREFIX}"/bin \
|
||||
--libexecdir="${EPREFIX}"/usr/sbin \
|
||||
$(usex userland_GNU "" "--program-prefix=g") \
|
||||
$(use_with acl posix-acls) \
|
||||
$(use_enable nls) \
|
||||
$(use_with selinux) \
|
||||
$(use_with xattr xattrs)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
local p=$(usex userland_GNU "" "g")
|
||||
if [[ -z ${p} ]] ; then
|
||||
# a nasty yet required piece of baggage
|
||||
exeinto /etc
|
||||
doexe "${FILESDIR}"/rmt
|
||||
fi
|
||||
|
||||
# autoconf looks for gtar before tar (in configure scripts), hence
|
||||
# in Prefix it is important that it is there, otherwise, a gtar from
|
||||
# the host system (FreeBSD, Solaris, Darwin) will be found instead
|
||||
# of the Prefix provided (GNU) tar
|
||||
if use prefix ; then
|
||||
dosym tar /bin/gtar
|
||||
fi
|
||||
|
||||
mv "${ED}"/usr/sbin/${p}backup{,-tar} || die
|
||||
mv "${ED}"/usr/sbin/${p}restore{,-tar} || die
|
||||
|
||||
if use minimal ; then
|
||||
find "${ED}"/etc "${ED}"/*bin/ "${ED}"/usr/*bin/ \
|
||||
-type f -a '!' '(' -name tar -o -name ${p}tar ')' \
|
||||
-delete || die
|
||||
fi
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST obnam-1.18.2.tar.gz 361576 SHA256 515aa3eaf9946f5f7beee1e3285d2822e67a43d209b34e57bf0e1ea809551895 SHA512 f375a3e8769775b2b3d5679d68d031f13d950ac6b2d50231b791f9625384f830ccaee3434f18eacdbc95ed6de2d1e4b33b1adac39ad8b8f96842ecc8e4664f91 WHIRLPOOL 17afe8d35f455decb0bcec3f1708e4f74cf6d14ee8a60bb6f9c53d17341d8d298d042c769571f458093d994053a5a293356716e423844c3bd69356ae4838cf73
|
||||
DIST obnam-1.19.1.tar.gz 372739 SHA256 e4210d12e0126f14bc788ccb0c443362eb5f9419ab7ae84a22ff108d269e1819 SHA512 9ed9632eaa23fec5cc1fb39ea51825480cc9b39109fb3c7e6135ef90156d15e3555aaea910714ede94d93fc897ca04bfefae0487629fbf9fe149c5a0ddc74a5e WHIRLPOOL 04b1d072a31de70712438a2314e86c5cdd6c3bc49f655209876834e21f746770a63094a7d48b4be0e17ba928fb3b172787c31bb8dc17bea88d293ec631e6e0ab
|
||||
DIST obnam-1.20.tar.gz 396452 SHA256 edd0ed36ca6e9f8f294a6ec8217a925fd3646bbc9025e6c10d3136861b0fef08 SHA512 7d98750f1a3ea8f3be961c1359473c12425da4028793d2fca1aec199309aa66c1639bc77d328c5d8713d73882400b5f9cf8b4a263d19e0a355448e87ce837021 WHIRLPOOL b9af5e410eb5ffbfadac79b16f2661794f2602e4b06967eb25cf6c5029161ac91d85ae2b727e661012fcc6e6301e384b8733efbc8acd4507cf16465e240d371d
|
||||
|
@ -1,31 +0,0 @@
|
||||
From 738e9291ed15980bdac568fc5f9507a43897ba52 Mon Sep 17 00:00:00 2001
|
||||
From: Kyle Manna <kyle@kylemanna.com>
|
||||
Date: Fri, 6 Nov 2015 08:12:50 -0800
|
||||
Subject: [PATCH] obnamlib: sftp: Add prefetch size argument
|
||||
|
||||
Paramiko made this argument required in v1.16. Details at
|
||||
https://github.com/paramiko/paramiko/commit/49072f3537a8981e9d448c22481a1d2b92c03643
|
||||
|
||||
Attempt to fetch the entire file. I'm unsure if this is the original
|
||||
intent. If the entire file isn't to be fetched, then the prefetch() is
|
||||
probably not needed.
|
||||
---
|
||||
obnamlib/plugins/sftp_plugin.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/obnamlib/plugins/sftp_plugin.py b/obnamlib/plugins/sftp_plugin.py
|
||||
index c4d5c2f..a5bc72b 100644
|
||||
--- a/obnamlib/plugins/sftp_plugin.py
|
||||
+++ b/obnamlib/plugins/sftp_plugin.py
|
||||
@@ -555,7 +555,7 @@ class SftpFS(obnamlib.VirtualFileSystem):
|
||||
def cat(self, pathname):
|
||||
self._delay()
|
||||
f = self.open(pathname, 'rb')
|
||||
- f.prefetch()
|
||||
+ f.prefetch(self.lstat(pathname).st_size)
|
||||
chunks = []
|
||||
while True:
|
||||
chunk = f.read(self.chunk_size)
|
||||
--
|
||||
2.6.2
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A backup program that supports encryption and deduplication"
|
||||
HOMEPAGE="http://obnam.org/"
|
||||
SRC_URI="http://git.liw.fi/cgi-bin/cgit/cgit.cgi/obnam/snapshot/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
dev-python/cliapp[${PYTHON_USEDEP}]
|
||||
dev-python/fuse-python[${PYTHON_USEDEP}]
|
||||
dev-python/larch[${PYTHON_USEDEP}]
|
||||
<dev-python/paramiko-1.16.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/tracing[${PYTHON_USEDEP}]
|
||||
dev-python/ttystatus[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
addwrite /proc/self/comm
|
||||
distutils-r1_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
find "${D}" -name "obnam-viewprof*" -delete
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/obnam.conf
|
||||
keepdir /var/log/obnam
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST heimdal-1.5.3.tar.gz 6798305 SHA256 aac27bedb33c341b6aed202af07ccc816146a893148721f8123abbbf93bbfea5 SHA512 5c7890f60d6fe6b5034fca204eb7cdb33fdc397fe09b169212b6267310b83bb0b3b06a4c2888841be34c92cbd701bd95734b4019c33c147459c4a449861c4431 WHIRLPOOL 8202b1bdf76e84b4a0fea1aa89935dfb3fbcceca38c84ffb3e3e8454691398c9a7cecfad40c6661426be5e82f4e3f43b6d6494cf287900ff958e06603b602e19
|
||||
DIST heimdal-7.0.1.tar.gz 8030155 SHA256 85971537cd439082437234172ec2da11f6601730233b204724d9d8c0a3b42af7 SHA512 f711f8d29d843286a2a513587c17eb8dabae5e3068a0181f33e4133e3f756d01d534add4e33e82e73d27628a13d7625dc87e5bea5b4068d205d13da926380508 WHIRLPOOL e3aed7536c104288898d1506928ff263ba00f9c33110b2af7243a2fc632217c0da672050d8fb20e1947cf87c371efda8b8da0a74d1f73f3085621472d5a024df
|
||||
DIST heimdal-7.1.0.tar.gz 9925587 SHA256 cee58ab3a4ce79f243a3e73f465dac19fe2b93ef1c5ff244d6f1d689fedbde2d SHA512 5afc9d183ff0db6e82e83d47955cc77e775bc60569e2905f9106c31b8a33e8d67fbc042dd4836ebae094db38bf70ba858c224189fed8d55f277738ee6e76352e WHIRLPOOL cd6507c5f6a800e645a146d94fac41d1fbf4c3283c5c4ab4a40bd2229efa4f1a16be71aa74fc5d8f41023bdff8ff141419ce0b99f5cb7aaf09f22824db1d2df8
|
||||
|
@ -0,0 +1,45 @@
|
||||
Adds support for --(enable|disable)-nls configure option.
|
||||
|
||||
This enables\disables the generation of language files and
|
||||
sets the ENABLE_NLS define appropriately.
|
||||
|
||||
Default value is enabled to preserve current behavior.
|
||||
|
||||
Patch by Zentaro Kavanagh <zentaro@google.com>
|
||||
https://crbug.com/654842
|
||||
|
||||
https://github.com/krb5/krb5/pull/584
|
||||
|
||||
--- src/configure.in
|
||||
+++ src/configure.in
|
||||
@@ -118,15 +118,22 @@
|
||||
])
|
||||
AC_SUBST(LIBUTIL)
|
||||
|
||||
-AC_CHECK_HEADER(libintl.h, [
|
||||
- AC_SEARCH_LIBS(dgettext, intl, [
|
||||
- AC_DEFINE(ENABLE_NLS, 1,
|
||||
- [Define if translation functions should be used.])])])
|
||||
-
|
||||
-AC_CHECK_PROG(MSGFMT,msgfmt,msgfmt)
|
||||
+# Determine if NLS is desired and supported.
|
||||
po=
|
||||
-if test x"$MSGFMT" != x; then
|
||||
- po=po
|
||||
+AC_ARG_ENABLE([nls],
|
||||
+AC_HELP_STRING([--disable-nls],
|
||||
+ [Disable Native Language Support(NLS).]), ,
|
||||
+ enableval=yes)
|
||||
+if test "$enableval" = yes ; then
|
||||
+ AC_CHECK_HEADER(libintl.h, [
|
||||
+ AC_SEARCH_LIBS(dgettext, intl, [
|
||||
+ AC_DEFINE(ENABLE_NLS, 1,
|
||||
+ [Define if translation functions should be used.])])])
|
||||
+
|
||||
+ AC_CHECK_PROG(MSGFMT,msgfmt,msgfmt)
|
||||
+ if test x"$MSGFMT" != x; then
|
||||
+ po=po
|
||||
+ fi
|
||||
fi
|
||||
AC_SUBST(po)
|
||||
|
@ -1,138 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
ROOT_PN="root"
|
||||
ROOFIT_DOC_PV=2.91-33
|
||||
ROOFIT_QS_DOC_PV=3.00
|
||||
TMVA_DOC_PV=4.2.0
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EVCS_OFFLINE=yes # we need exactly the same checkout as root itself
|
||||
EGIT_REPO_URI="http://root.cern.ch/git/root.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://root.cern.ch/download/${ROOT_PN}_v${PV}.source.tar.gz"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
||||
S="${WORKDIR}/${ROOT_PN}"
|
||||
fi
|
||||
|
||||
inherit eutils multilib virtualx
|
||||
|
||||
DESCRIPTION="Documentation for ROOT Data Analysis Framework"
|
||||
HOMEPAGE="https://root.cern.ch"
|
||||
SRC_URI="${SRC_URI}
|
||||
math? (
|
||||
http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf
|
||||
https://root.cern.ch/download/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf
|
||||
http://root.cern.ch/drupal/sites/default/files/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf )
|
||||
api? (
|
||||
${HOMEPAGE}/sites/all/themes/newsflash/images/blue/root-banner.png
|
||||
${HOMEPAGE}/sites/all/themes/newsflash/images/info.png )"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE="api +math +metric http"
|
||||
|
||||
VIRTUALX_REQUIRED="api"
|
||||
|
||||
DEPEND="
|
||||
app-text/pandoc
|
||||
dev-haskell/pandoc-citeproc[bibutils]
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-latexrecommended
|
||||
virtual/pkgconfig
|
||||
api? (
|
||||
media-fonts/dejavu
|
||||
~sci-physics/root-${PV}[X,graphviz,opengl]
|
||||
)"
|
||||
RDEPEND=""
|
||||
|
||||
DOC_DIR="/usr/share/doc/${ROOT_PN}-${PV}"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
# we need to force sci-physics/root checkout here
|
||||
git-r3_checkout "${EGIT_REPO_URI}" "${WORKDIR}/${P}" "sci-physics/root/0"
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use api && epatch \
|
||||
"${FILESDIR}/${PN}-6.00.01-makehtml.patch" \
|
||||
"${FILESDIR}/${PN}-6.00.01-fillpatterns.patch"
|
||||
# prefixify the configure script
|
||||
sed -i \
|
||||
-e "s:/usr:${EPREFIX}/usr:g" \
|
||||
configure || die "prefixify configure failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# we need only to setup paths here, html docs doesn't depend on USE flags
|
||||
if use api; then
|
||||
./configure \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--etcdir="${EPREFIX}/etc/root" \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)/${PN}" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--tutdir="${EPREFIX}/usr/share/doc/${PF}/examples/tutorials" \
|
||||
--testdir="${EPREFIX}/usr/share/doc/${PF}/examples/tests" \
|
||||
--with-llvm-config="${EPREFIX}/usr/bin/llvm-config" \
|
||||
--with-sys-iconpath="${EPREFIX}/usr/share/pixmaps" \
|
||||
--nohowto
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pdf_target=( primer users-guide )
|
||||
local pdf_size=pdfa4
|
||||
use metric || pdf_size=pdfletter
|
||||
use math && pdf_target+=( minuit2 spectrum )
|
||||
use http && pdf_target+=( HttpServer JSROOT )
|
||||
|
||||
local i
|
||||
for (( i=0; i<${#pdf_target[@]}; i++ )); do
|
||||
emake -C documentation/"${pdf_target[i]}" "${pdf_size}"
|
||||
done
|
||||
|
||||
if use api; then
|
||||
# video drivers may want to access hardware devices
|
||||
cards=$(echo -n /dev/dri/card* /dev/ati/card* /dev/nvidiactl* | sed 's/ /:/g')
|
||||
[[ -n "${cards}" ]] && addpredict "${cards}"
|
||||
|
||||
ROOTSYS="${S}" Xemake html
|
||||
# if root.exe crashes, return code will be 0 due to gdb attach,
|
||||
# so we need to check if last html file was generated;
|
||||
# this check is volatile and can't catch crash on the last file.
|
||||
[[ -f htmldoc/tableDescriptor_st.html ]] || die "html doc generation crashed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "${DOC_DIR}"
|
||||
|
||||
local i
|
||||
for (( i=0; i<${#pdf_target[@]}; i++ )); do
|
||||
doins documentation/"${pdf_target[i]}"/*.pdf
|
||||
done
|
||||
unset pdf_target
|
||||
|
||||
use math && doins \
|
||||
"${DISTDIR}/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf" \
|
||||
"${DISTDIR}/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf" \
|
||||
"${DISTDIR}/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf"
|
||||
|
||||
if use api; then
|
||||
# Install offline replacements for online messages
|
||||
cp "${DISTDIR}"/{root-banner.png,info.png} htmldoc/ || die "cp failed"
|
||||
# too large data to copy
|
||||
dodir "${DOC_DIR}/html"
|
||||
mv htmldoc/* "${ED}${DOC_DIR}/html/" || die
|
||||
docompress -x ${DOC_DIR}/html
|
||||
fi
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST susv3.tar.bz2 2212995 SHA256 f7760775114833d79869f08e97a001e61609710417e64c4be4e2e784616658a1 SHA512 b1b8a79112d3f41a3d2951341cd9220566f551e5750378bba5cf786a0c381b064fa1a1cfeb6e76e9c6beb85a893cbb6f90879203e9931e9043bcb95b032def40 WHIRLPOOL 00173ff6a59e7b215f73b12a2c62b55f8655ce1564084323d8882870df050a6faa748ca7b874ee0957a9aced79c6c20f25e1627fb7b353c963a068cf84191315
|
||||
DIST susv4.tar.bz2 2983431 SHA256 315657e697618f759c1e43934c08e5887b29dc7f1f75dd2aa49738efd7ac10bb SHA512 7fd005c25b97d6fd864436c6537f347edfa4ab215114296f2d2ba58aee1552502601b778dec7eb0e8baeea417929cfd72b3b9727237106125326e32a424cf575 WHIRLPOOL b57143d06c19c74996aa59b0da305e6ef0088a2237226777551c982e7f48091878a50476393fb4330e1f51f5a6ef55229940497e70f3a50acdf2efeee2a24803
|
||||
DIST susv4tc1.tgz 5435884 SHA256 49c411571d0dd55d36258dea945385590f5ccb63d9d5b38050a283a41c0bcefa SHA512 7e9741bc6377beda88ade34bd965ee0098953ec6fb5ae67aaafa726a94fe570ac6fadf1675420805f176222c0d9177bc2206584cad8b73a02649d47765312d9f WHIRLPOOL 1edb2ff726b43f108209ef51bb21d88374d81486f8b4aaf50ec71cebf405ddfa53f9e55039f513ef91652f7a664868504453c2c27731d1d97b61b97867d204a0
|
||||
DIST susv4tc2.tar.bz2 3649434 SHA256 9b50e290912dff356687b7585ea2d7a7e746231e1dd4adcb20833fa54e1f4d35 SHA512 cc86b2b4860b1069cb8712ef7b5a9702510f48d6585b5414ff561f85677974c156d8cc95cf29dfdab360c13ecb884e19e2112fe5c6bc49666417c9a744a816ad WHIRLPOOL 002ad7ebb50b041d337ff135ce6f361b9ccca89d0a31687e4b169153f15268dd80c3b6d7efb0be741bda496ea61ab46e8c83c8f0631c7beffe14750cab7659ea
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DESCRIPTION="The Single UNIX Specification, Version 4, 2008 Edition (8 Volumes)"
|
||||
HOMEPAGE="http://www.opengroup.org/bookstore/catalog/c082.htm"
|
||||
SRC_URI="http://www.opengroup.org/onlinepubs/9699919799/download/susv4.tar.bz2"
|
||||
|
||||
LICENSE="sus4-copyright"
|
||||
SLOT="4"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~x64-macos"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/susv4
|
||||
|
||||
src_install() {
|
||||
dohtml -r * || die "dohtml"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Open /usr/share/doc/${PF}/html/index.html in a browser to access these docs."
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="The Single UNIX Specification, Version 4, 2013 Edition"
|
||||
HOMEPAGE="https://www2.opengroup.org/ogsys/catalog/T101"
|
||||
SRC_URI="http://pubs.opengroup.org/onlinepubs/9699919799/download/susv4tc1.tgz"
|
||||
|
||||
LICENSE="sus4-copyright"
|
||||
SLOT="4"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/susv4tc1"
|
||||
|
||||
src_install() {
|
||||
dodoc -r *
|
||||
}
|
@ -1,347 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="https://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}.tar.xz
|
||||
https://dev.gentoo.org/~ulm/emacs/${P}-patches-1.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="24"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="acl alsa aqua athena dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0
|
||||
>=app-eselect/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
||||
net-libs/liblockfile
|
||||
acl? ( virtual/acl )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gfile? ( >=dev-libs/glib-2.28.6 )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
gpm? ( sys-libs/gpm )
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
zlib? ( sys-libs/zlib )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||
gif? ( media-libs/giflib:0= )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
png? ( >=media-libs/libpng-1.4:0= )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? (
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
!gtk3? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? (
|
||||
sys-apps/attr
|
||||
sys-apps/paxctl
|
||||
)"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-editors/emacs-vcs-${PV}"
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX=patch epatch
|
||||
epatch_user
|
||||
|
||||
# Fix filename reference in redirected man page
|
||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
||||
|| die "unable to sed ctags.1"
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
filter-flags -pie #526948
|
||||
|
||||
if use sh; then
|
||||
replace-flags "-O[1-9]" -O0 #262359
|
||||
elif use ia64; then
|
||||
replace-flags "-O[2-9]" -O1 #325373
|
||||
else
|
||||
replace-flags "-O[3-9]" -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa; then
|
||||
use sound || ewarn \
|
||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
||||
myconf+=" --with-sound=alsa"
|
||||
else
|
||||
myconf+=" --with-sound=$(usex sound oss)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf+=" --with-x --without-ns"
|
||||
myconf+=" $(use_with gconf)"
|
||||
myconf+=" $(use_with gsettings)"
|
||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||
myconf+=" $(use_with gif)"
|
||||
myconf+=" $(use_with jpeg)"
|
||||
myconf+=" $(use_with png)"
|
||||
myconf+=" $(use_with svg rsvg)"
|
||||
myconf+=" $(use_with tiff)"
|
||||
myconf+=" $(use_with xpm)"
|
||||
myconf+=" $(use_with imagemagick)"
|
||||
|
||||
if use xft; then
|
||||
myconf+=" --with-xft"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
myconf+=" --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
local f
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
while read line; do ewarn "${line}"; done <<-EOF
|
||||
Your version of GTK+ will have problems with closing open
|
||||
displays. This is no problem if you just use one display, but
|
||||
if you use more than one and close one of them Emacs may crash.
|
||||
See <https://bugzilla.gnome.org/show_bug.cgi?id=85715>.
|
||||
If you intend to use more than one display, then it is strongly
|
||||
recommended that you compile Emacs with the Athena/Lucid or the
|
||||
Motif toolkit instead.
|
||||
EOF
|
||||
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
||||
myconf+=" --with-ns --disable-ns-self-contained"
|
||||
myconf+=" --without-x"
|
||||
else
|
||||
myconf+=" --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# Save version information in the Emacs binary. It will be available
|
||||
# in variable "system-configuration-options".
|
||||
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||
|
||||
econf \
|
||||
--program-suffix="-${EMACS_SUFFIX}" \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-gameuser=":gamestat" \
|
||||
--without-compress-install \
|
||||
--with-file-notification=$(usev gfile || usev inotify || echo no) \
|
||||
$(use_enable acl) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with gpm) \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
$(use_with wide-int) \
|
||||
$(use_with zlib) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
||||
|
||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|
||||
|| die "moving emacs executable failed"
|
||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|
||||
|| die "moving emacs man page failed"
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{applications,icons}
|
||||
rm -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
|
||||
|
||||
if use gzip-el; then
|
||||
# compress .el files when a corresponding .elc exists
|
||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
||||
assert "gzip .el failed"
|
||||
fi
|
||||
|
||||
local cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
||||
through the Emacs eselect module, which also redirects man and info
|
||||
pages. Therefore, several Emacs versions can be installed at the
|
||||
same time. \"man emacs.eselect\" for details.
|
||||
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
|
||||
strongly recommended that you use app-admin/emacs-updater to rebuild
|
||||
all byte-compiled elisp files of the installed Emacs packages."
|
||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||
machine would satisfy basic Emacs requirements under X11.
|
||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
for how to enable anti-aliased fonts."
|
||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
||||
it into /Applications by yourself."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
|
||||
local pvr
|
||||
for pvr in ${REPLACING_VERSIONS}; do
|
||||
[[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
|
||||
done
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
||||
# refresh symlinks in case any installed files have changed
|
||||
eselect emacs set ${EMACS_SUFFIX}
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -0,0 +1,124 @@
|
||||
--- hunspell-1.6.0/src/tools/chmorph.cxx
|
||||
+++ hunspell-1.6.0/src/tools/chmorph.cxx
|
||||
@@ -58,11 +58,11 @@
|
||||
if (!argv[i]) {
|
||||
fprintf(
|
||||
stderr,
|
||||
- "chmorph - change affixes by morphological analysis and generation\n"
|
||||
- "correct syntax is:\nchmorph affix_file "
|
||||
+ "hunspell-chmorph - change affixes by morphological analysis and generation\n"
|
||||
+ "correct syntax is:\nhunspell-chmorph affix_file "
|
||||
"dictionary_file file_to_convert STRING1 STRING2\n"
|
||||
"STRINGS may be arbitrary parts of the morphological descriptions\n"
|
||||
- "example: chmorph hu.aff hu.dic hu.txt SG_2 SG_3 "
|
||||
+ "example: hunspell-chmorph hu.aff hu.dic hu.txt SG_2 SG_3 "
|
||||
" (convert informal Hungarian second person texts to formal third "
|
||||
"person texts)\n");
|
||||
exit(1);
|
||||
--- hunspell-1.6.0/src/tools/example.cxx
|
||||
+++ hunspell-1.6.0/src/tools/example.cxx
|
||||
@@ -53,9 +53,9 @@
|
||||
/* first parse the command line options */
|
||||
|
||||
if (argc < 4) {
|
||||
- fprintf(stderr, "example (now it works with more dictionary files):\n");
|
||||
+ fprintf(stderr, "hunspell-example (now it works with more dictionary files):\n");
|
||||
fprintf(stderr,
|
||||
- "example affix_file dictionary_file(s) file_of_words_to_check\n");
|
||||
+ "hunspell-example affix_file dictionary_file(s) file_of_words_to_check\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
--- hunspell-1.6.0/src/tools/Makefile.am
|
||||
+++ hunspell-1.6.0/src/tools/Makefile.am
|
||||
@@ -1,4 +1,4 @@
|
||||
-bin_PROGRAMS=analyze chmorph hunspell munch unmunch hzip hunzip
|
||||
+bin_PROGRAMS=hunspell-analyze hunspell-chmorph hunspell hunspell-munch hunspell-unmunch hzip hunzip
|
||||
|
||||
INCLUDES=-I${top_builddir}/src/hunspell -I${top_srcdir}/src/hunspell -I${top_srcdir}/src/parsers
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
hunzip_SOURCES=hunzip.cxx
|
||||
hunzip_LDADD = ../hunspell/libhunspell-1.6.la
|
||||
|
||||
-munch_SOURCES=munch.cxx munch.h
|
||||
-unmunch_SOURCES=unmunch.cxx unmunch.h
|
||||
+hunspell_munch_SOURCES=munch.cxx munch.h
|
||||
+hunspell_unmunch_SOURCES=unmunch.cxx unmunch.h
|
||||
|
||||
example_SOURCES=example.cxx
|
||||
example_LDADD = ../hunspell/libhunspell-1.6.la
|
||||
@@ -16,11 +16,11 @@
|
||||
hunspell_LDADD = @LIBINTL@ @LIBICONV@ ../parsers/libparsers.a \
|
||||
../hunspell/libhunspell-1.6.la @CURSESLIB@ @READLINELIB@
|
||||
|
||||
-analyze_SOURCES=analyze.cxx
|
||||
-analyze_LDADD = ../hunspell/libhunspell-1.6.la
|
||||
+hunspell_analyze_SOURCES=analyze.cxx
|
||||
+hunspell_analyze_LDADD = ../hunspell/libhunspell-1.6.la
|
||||
|
||||
-chmorph_SOURCES=chmorph.cxx
|
||||
-chmorph_LDADD = ../parsers/libparsers.a ../hunspell/libhunspell-1.6.la
|
||||
+hunspell_chmorph_SOURCES=chmorph.cxx
|
||||
+hunspell_chmorph_LDADD = ../parsers/libparsers.a ../hunspell/libhunspell-1.6.la
|
||||
|
||||
noinst_PROGRAMS=example
|
||||
|
||||
--- hunspell-1.6.0/src/tools/munch.cxx
|
||||
+++ hunspell-1.6.0/src/tools/munch.cxx
|
||||
@@ -81,14 +81,14 @@
|
||||
wf = mystrdup(argv[1]);
|
||||
} else {
|
||||
fprintf(stderr, "correct syntax is:\n");
|
||||
- fprintf(stderr, "munch word_list_file affix_file\n");
|
||||
+ fprintf(stderr, "hunspell-munch word_list_file affix_file\n");
|
||||
exit(1);
|
||||
}
|
||||
if (argv[2]) {
|
||||
af = mystrdup(argv[2]);
|
||||
} else {
|
||||
fprintf(stderr, "correct syntax is:\n");
|
||||
- fprintf(stderr, "munch word_list_file affix_file\n");
|
||||
+ fprintf(stderr, "hunspell-munch word_list_file affix_file\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
--- hunspell-1.6.0/src/tools/unmunch.cxx
|
||||
+++ hunspell-1.6.0/src/tools/unmunch.cxx
|
||||
@@ -76,14 +76,14 @@
|
||||
wf = mystrdup(argv[1]);
|
||||
} else {
|
||||
fprintf(stderr, "correct syntax is:\n");
|
||||
- fprintf(stderr, "unmunch dic_file affix_file\n");
|
||||
+ fprintf(stderr, "hunspell-unmunch dic_file affix_file\n");
|
||||
exit(1);
|
||||
}
|
||||
if (argv[2]) {
|
||||
af = mystrdup(argv[2]);
|
||||
} else {
|
||||
fprintf(stderr, "correct syntax is:\n");
|
||||
- fprintf(stderr, "unmunch dic_file affix_file\n");
|
||||
+ fprintf(stderr, "hunspell-unmunch dic_file affix_file\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
--- hunspell-1.6.0/tests/test.sh
|
||||
+++ hunspell-1.6.0/tests/test.sh
|
||||
@@ -74,7 +74,7 @@
|
||||
shopt -s expand_aliases
|
||||
|
||||
alias hunspell='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/hunspell'
|
||||
-alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/analyze'
|
||||
+alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/hunspell-analyze'
|
||||
|
||||
if [ "$VALGRIND" != "" ]; then
|
||||
rm -f $TEMPDIR/test.pid*
|
||||
@@ -83,7 +83,7 @@
|
||||
fi
|
||||
|
||||
alias hunspell='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/hunspell'
|
||||
- alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/analyze'
|
||||
+ alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/hunspell-analyze'
|
||||
fi
|
||||
|
||||
# Tests good words
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit eutils multilib autotools flag-o-matic versionator
|
||||
|
||||
MY_P=${PN}-${PV/_beta/b}
|
||||
|
||||
DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
HOMEPAGE="http://hunspell.sourceforge.net/"
|
||||
|
||||
SLOT="0/$(get_version_component_range 1-2)"
|
||||
LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
|
||||
IUSE="ncurses nls readline static-libs"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND="
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
readline? ( sys-libs/readline:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext"
|
||||
|
||||
LANGS="af bg ca cs cy da de de-1901 el en eo es et fo fr ga gl he hr hu ia id
|
||||
is it km ku lt lv mi mk ms nb nl nn pl pt pt-BR ro ru sk sl sq sv sw tn uk zu"
|
||||
|
||||
PDEPEND="app-dicts/myspell-en"
|
||||
for lang in ${LANGS}; do
|
||||
IUSE+=" l10n_${lang}"
|
||||
case ${lang} in
|
||||
de-1901) dict="de_1901" ;;
|
||||
pt-BR) dict="pt-br" ;;
|
||||
*) dict="${lang}" ;;
|
||||
esac
|
||||
PDEPEND+=" l10n_${lang}? ( app-dicts/myspell-${dict} )"
|
||||
done
|
||||
unset dict lang LANGS
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=(
|
||||
AUTHORS ChangeLog NEWS README THANKS TODO license.hunspell
|
||||
AUTHORS.myspell README.myspell license.myspell
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
# Upstream package creates some executables which names are too generic
|
||||
# to be placed in /usr/bin - this patch prefixes them with 'hunspell-'.
|
||||
# It modifies a Makefile.am file, hence eautoreconf.
|
||||
"${FILESDIR}/${PN}-1.5.0-renameexes.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# missing somehow, and I am too lazy to fix it properly
|
||||
[[ ${CHOST} == *-darwin* ]] && append-libs -liconv
|
||||
|
||||
# I wanted to put the include files in /usr/include/hunspell.
|
||||
# You can do that, libreoffice can find them anywhere, just
|
||||
# ping me when you do so ; -- scarabeus
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_with ncurses ui) \
|
||||
$(use_with readline readline) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
einstalldocs
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
#342449
|
||||
pushd "${ED}"/usr/$(get_libdir)/ >/dev/null
|
||||
ln -s lib${PN}{-$(get_major_version).$(get_version_component_range 2).so.0.0.0,.so}
|
||||
popd >/dev/null
|
||||
}
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit eutils multilib autotools flag-o-matic versionator
|
||||
|
||||
MY_P=${PN}-${PV/_beta/b}
|
||||
|
||||
DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
HOMEPAGE="http://hunspell.sourceforge.net/"
|
||||
|
||||
SLOT="0/$(get_version_component_range 1-2)"
|
||||
LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
|
||||
IUSE="ncurses nls readline static-libs"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND="
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
readline? ( sys-libs/readline:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext"
|
||||
|
||||
LANGS="af bg ca cs cy da de de-1901 el en eo es et fo fr ga gl he hr hu ia id
|
||||
is it km ku lt lv mi mk ms nb nl nn pl pt pt-BR ro ru sk sl sq sv sw tn uk zu"
|
||||
|
||||
PDEPEND="app-dicts/myspell-en"
|
||||
for lang in ${LANGS}; do
|
||||
IUSE+=" l10n_${lang}"
|
||||
case ${lang} in
|
||||
de-1901) dict="de_1901" ;;
|
||||
pt-BR) dict="pt-br" ;;
|
||||
*) dict="${lang}" ;;
|
||||
esac
|
||||
PDEPEND+=" l10n_${lang}? ( app-dicts/myspell-${dict} )"
|
||||
done
|
||||
unset dict lang LANGS
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=(
|
||||
AUTHORS ChangeLog NEWS README THANKS TODO license.hunspell
|
||||
AUTHORS.myspell README.myspell license.myspell README.md
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
# Upstream package creates some executables which names are too generic
|
||||
# to be placed in /usr/bin - this patch prefixes them with 'hunspell-'.
|
||||
# It modifies a Makefile.am file, hence eautoreconf.
|
||||
"${FILESDIR}/${PN}-1.6.0-renameexes.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# missing somehow, and I am too lazy to fix it properly
|
||||
[[ ${CHOST} == *-darwin* ]] && append-libs -liconv
|
||||
|
||||
# I wanted to put the include files in /usr/include/hunspell.
|
||||
# You can do that, libreoffice can find them anywhere, just
|
||||
# ping me when you do so ; -- scarabeus
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_with ncurses ui) \
|
||||
$(use_with readline readline) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
einstalldocs
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
#342449
|
||||
pushd "${ED}"/usr/$(get_libdir)/ >/dev/null
|
||||
ln -s lib${PN}{-$(get_major_version).$(get_version_component_range 2).so.0.0.0,.so}
|
||||
popd >/dev/null
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils java-pkg-2
|
||||
|
||||
MY_PV_1="${PV/_beta/b}"
|
||||
MY_PV="${MY_PV_1/_rc/}"
|
||||
MY_URI_PV_1="${PV/rc/}"
|
||||
MY_URI_PV="${MY_URI_PV_1//_/%20}"
|
||||
|
||||
DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
|
||||
HOMEPAGE="http://www.jabref.org/"
|
||||
# SRC_URI="mirror://sourceforge/jabref/JabRef-${MY_PV}.jar"
|
||||
SRC_URI="https://github.com/JabRef/jabref/releases/download/v${PV}/JabRef-${MY_PV}.jar"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
app-arch/unzip
|
||||
"
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp -v "${DISTDIR}/${A}" . || die
|
||||
unzip ${A} images/icons/JabRef-icon-48.png || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "JabRef-${MY_PV}.jar"
|
||||
java-pkg_dolauncher "${PN}" --jar "${PN}.jar"
|
||||
newicon images/icons/JabRef-icon-48.png JabRef-bin-icon.png
|
||||
make_desktop_entry "${PN}" JabRef-bin JabRef-bin-icon Office
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST freemarker-2.3.13.tar.gz 2136791 SHA256 00b43c28bc5b141e53ad9e56c472f40774b5638f96fc29f3d7cfa97048830eb5 SHA512 9216bc97e74779617ec91916842185472c3cfd4c5625168ddd2f4404237767df44c62d8308af8bed0ab10d72c8835c97daab7fbc1efa80c3e01c861dd334ec3b WHIRLPOOL f46ae311feb122e7ce52d2f4b518216c72135e5e6491d02cbef177fd76b798e7b7fa883a22067225e5a4de2163066696fb34f21708a5d821daf0d82c1460d9cc
|
||||
DIST freemarker-2.3.25.tar.gz 1873971 SHA256 4864ac056ea801e78c1f0d76080fc2d079a6979573208a0760f6dd60746278b0 SHA512 32a41a73a2f71a4e0ae8829da2c09e07204aa2b4a6899e2c7a3db0bde5d3e129ec7b44b7299a20165d7eb88f4f7d1bd9f0b7a1fd116dc11493134bec2306d1ac WHIRLPOOL f057bd1c50eb4e0aa359b1d429690fd5acef13b2f9534ec0b3060da72cadd3f4bfecbcc49d7eadbcc348748343b3e30a5b315ca75c03e19e9f9877d8156cbccc
|
||||
|
@ -0,0 +1,60 @@
|
||||
diff -Naur a/build.xml b/build.xml
|
||||
--- a/build.xml 2016-06-14 19:48:01.000000000 +0100
|
||||
+++ b/build.xml 2016-12-22 22:41:41.988262564 +0000
|
||||
@@ -27,6 +27,10 @@
|
||||
xmlns:u="http://freemarker.org/util"
|
||||
>
|
||||
|
||||
+ <path id="gentoo.classpath">
|
||||
+ <pathelement path="${gentoo.classpath}/"/>
|
||||
+ </path>
|
||||
+
|
||||
<!-- ================================================================== -->
|
||||
<!-- Properties -->
|
||||
<!-- ================================================================== -->
|
||||
@@ -143,13 +147,11 @@
|
||||
/>
|
||||
|
||||
<mkdir dir="${_javaccOutputDir}" />
|
||||
- <ivy:retrieve conf="parser" pattern="build/javacc-home.tmp/[artifact].[ext]" />
|
||||
<javacc:generate
|
||||
target="src/main/javacc/FTL.jj"
|
||||
outputdirectory="${_javaccOutputDir}"
|
||||
javacchome="build/javacc-home.tmp"
|
||||
/>
|
||||
- <delete dir="build/javacc-home.tmp" />
|
||||
|
||||
<replace
|
||||
file="${_javaccOutputDir}/FMParser.java"
|
||||
@@ -271,6 +273,7 @@
|
||||
verify="yes" stubversion="1.2"
|
||||
/>
|
||||
|
||||
+<!--
|
||||
<ivy:cachepath conf="build.jsp2.0" pathid="ivy.dep.jsp2.0" />
|
||||
<javac srcdir="build/src-main-java-filtered" destdir="build/classes" deprecation="off"
|
||||
debug="on" optimize="off" target="1.5" source="1.5" encoding="utf-8"
|
||||
@@ -286,6 +289,7 @@
|
||||
freemarker/ext/jsp/FreeMarkerJspFactory21.java,
|
||||
freemarker/ext/jsp/FreeMarkerJspApplicationContext.java"
|
||||
/>
|
||||
+!-->
|
||||
|
||||
<!-- There's no build.jsp2.0, as those classes are part of the common build subset. -->
|
||||
|
||||
@@ -301,6 +305,7 @@
|
||||
freemarker/ext/jsp/FreeMarkerJspApplicationContext.java"
|
||||
/>
|
||||
|
||||
+<!--
|
||||
<ivy:cachepath conf="build.jython2.0" pathid="ivy.dep.jython2.0" />
|
||||
<javac srcdir="build/src-main-java-filtered" destdir="build/classes" deprecation="off"
|
||||
debug="on" optimize="off" target="1.5" source="1.5" encoding="utf-8"
|
||||
@@ -325,6 +330,7 @@
|
||||
includes="
|
||||
freemarker/ext/jython/_Jython22VersionAdapter.java"
|
||||
/>
|
||||
+!-->
|
||||
|
||||
<ivy:cachepath conf="build.jython2.5" pathid="ivy.dep.jython2.5" />
|
||||
<javac srcdir="build/src-main-java-filtered" destdir="build/classes" deprecation="off"
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="incubator-${PN}"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A Java tool to generate text output based on templates"
|
||||
HOMEPAGE="http://freemarker.org/"
|
||||
SRC_URI="https://github.com/apache/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2.3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
CP_DEPEND="dev-java/avalon-logkit:2.0
|
||||
dev-java/commons-logging:0
|
||||
dev-java/dom4j:1
|
||||
dev-java/jaxen:1.1
|
||||
dev-java/jython:2.7
|
||||
dev-java/log4j:0
|
||||
dev-java/rhino:1.6
|
||||
dev-java/slf4j-api:0
|
||||
dev-java/xalan:0
|
||||
java-virtuals/servlet-api:2.5"
|
||||
|
||||
RDEPEND="${CP_DEPEND}
|
||||
>=virtual/jre-1.7"
|
||||
|
||||
DEPEND="${CP_DEPEND}
|
||||
>=virtual/jdk-1.7
|
||||
dev-java/javacc:0"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/build.xml.patch
|
||||
)
|
||||
|
||||
EANT_BUILD_TARGET="compile"
|
||||
EANT_EXTRA_ARGS="-Ddeps.available=true"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm -rv \
|
||||
src/main/java/freemarker/ext/jdom \
|
||||
src/main/java/freemarker/ext/xml/_JdomNavigator.java \
|
||||
src/main/java/freemarker/ext/beans/JRebelClassChangeNotifier.java || die
|
||||
|
||||
sed -i \
|
||||
-e '/<ivy:cachepath/d' \
|
||||
-e 's/"ivy\.dep[^"]*"/"gentoo.classpath"/g' \
|
||||
-e "s:javacchome=\"[^\"]*\":javacchome=\"${EROOT}usr/share/javacc/lib\":g" \
|
||||
build.xml || die
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
jar cf ${PN}.jar -C build/classes . || die
|
||||
java-pkg_dojar ${PN}.jar
|
||||
|
||||
dodoc README
|
||||
use doc && java-pkg_dojavadoc build/api
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!---
|
||||
@author: Saleem Abdulrasool <compnerd@gentoo.org>
|
||||
@date: 5/9/2005
|
||||
@revision: 1.0_alpha
|
||||
|
||||
@notes: Call using the following: ant -f build.xml -Dproject.name=${project name} -Dpackage.name=${package name}
|
||||
-->
|
||||
|
||||
<project name="Gentoo_Builder" default="jar" basedir=".">
|
||||
<property name="src" value="src"/>
|
||||
<property name="build" value="build"/>
|
||||
<property name="dist" value="dist"/>
|
||||
<property name="dist.docs" value="${dist}/doc/api"/>
|
||||
|
||||
<property name="libdir" value="lib"/>
|
||||
|
||||
<property name="pkg" value="${package.name}"/>
|
||||
<property name="jar" value="${project.name}.jar"/>
|
||||
|
||||
<path id="lib.classpath">
|
||||
<fileset dir="${libdir}">
|
||||
<include name="**/*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
<!-- Override any defined properties -->
|
||||
<property file="build.properties"/>
|
||||
|
||||
<target name="init">
|
||||
<tstamp/>
|
||||
<mkdir dir="${build}"/>
|
||||
<mkdir dir="${dist}"/>
|
||||
<mkdir dir="${dist}/doc"/>
|
||||
</target>
|
||||
|
||||
<target name="compile" depends="init">
|
||||
<javac srcdir="${src}" destdir="${build}" classpathref="lib.classpath"/>
|
||||
</target>
|
||||
|
||||
<target name="manifest" depends="init">
|
||||
<manifest file="${build}/MANIFEST.MF" mode="update">
|
||||
<attribute name="Built-By" value="Gentoo Portage"/>
|
||||
</manifest>
|
||||
</target>
|
||||
|
||||
<target name="jar" depends="compile,manifest">
|
||||
<jar jarfile="${dist}/${jar}" manifest="${build}/MANIFEST.MF">
|
||||
<fileset dir="${build}"/>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<target name="javadoc" depends="compile">
|
||||
<javadoc sourcepath="${src}" destdir="${dist.docs}" packagenames="*" classpathref="lib.classpath"/>
|
||||
</target>
|
||||
|
||||
<target name="clean">
|
||||
<delete dir="${build}"/>
|
||||
<delete dir="${dist}"/>
|
||||
</target>
|
||||
</project>
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Library for parsing and writing XML"
|
||||
HOMEPAGE="http://dev2dev.bea.com/xml/stax.html"
|
||||
SRC_URI="http://ftpna2.bea.com/pub/downloads/${PN}.jar"
|
||||
|
||||
LICENSE="bea.ri.jsr173"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/jaxme:0"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.6"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cd "${S}" || die
|
||||
|
||||
jar xvf "${DISTDIR}/${A}" || die "failed to unpack"
|
||||
jar xvf ${P//-/_}_src.jar || die "failed to unpack"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cd "${S}" || die
|
||||
java-pkg_clean
|
||||
cp "${FILESDIR}/${P}-build.xml" build.xml || die
|
||||
java-pkg_jarfrom jaxme
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local antflags="-Dproject.name=${PN} jar"
|
||||
eant ${antflags} "$(use_doc)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "dist/${PN}.jar"
|
||||
|
||||
use doc && java-pkg_dojavadoc dist/doc/api
|
||||
use source && java-pkg_dosrc src/*
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST js_of_ocaml-2.8.3.tar.gz 1335811 SHA256 a77e9d4896431742604cba69fb87f9022587de86f2c6d41a6b58e9c24b103c77 SHA512 89908f3da1846f4fe24e1109ba262507221ed67d58bec1d8b7c53ec82438febbab66bdb3bec697e2880842253777167ef1563687cae414426e8ea1dcc00a323a WHIRLPOOL b299214ed367f7aa2252a76a7d49f68f219aaf3ab9901eafa354e937a7dbe4913657a6c1c6fdc85337d63c04b90a5f835b3cf9c321840528188a496f6bfc3d37
|
||||
DIST js_of_ocaml-2.8.4.tar.gz 1344082 SHA256 74edd38a964fcee930778a908c896b5c9795f64fc34a3c58361ccfa441811725 SHA512 8dc65bac7d60f2d3534e31e0fddb061f1b97bfd8146b1a34b4a1a516574c6a39f66d115646aa9767b7e24a51ec76949b05841088601f97d76972c8899a50c4fd WHIRLPOOL bc444184519ae90d308ae4675078e1d5fd461ea32f4dccf5e74bab25f0a0e8ba49d229f951205effd676b337656633fb7046cd908c2167799253dcee0a61f20f
|
||||
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit findlib eutils
|
||||
|
||||
DESCRIPTION="A compiler from OCaml bytecode to javascript"
|
||||
HOMEPAGE="http://ocsigen.org/js_of_ocaml/"
|
||||
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://github.com/ocsigen/js_of_ocaml"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/ocsigen/js_of_ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1-with-linking-exception"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="+async +ocamlopt doc +deriving +ppx +ppx-deriving +react +xml X"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-3.12:=[ocamlopt?,X?]
|
||||
>=dev-ml/lwt-2.4.4:=[camlp4(+)]
|
||||
async? ( dev-ml/async_kernel:= )
|
||||
react? ( dev-ml/react:= dev-ml/reactiveData:= )
|
||||
xml? ( >=dev-ml/tyxml-4:= )
|
||||
ppx? ( dev-ml/ppx_tools:= )
|
||||
ppx-deriving? ( dev-ml/ppx_deriving:= )
|
||||
dev-ml/cmdliner:=
|
||||
dev-ml/menhir:=
|
||||
dev-ml/ocaml-base64:=
|
||||
dev-ml/camlp4:=
|
||||
dev-ml/cppo:=
|
||||
dev-ml/uchar:=
|
||||
dev-ml/ocamlbuild:=
|
||||
dev-ml/yojson:=
|
||||
deriving? ( >=dev-ml/deriving-0.6:= )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
printf "\n\n" >> Makefile.conf
|
||||
use ocamlopt || echo "BEST := byte" >> Makefile.conf
|
||||
use ocamlopt || echo "NATDYNLINK := NO" >> Makefile.conf
|
||||
use deriving || echo "WITH_DERIVING := NO" >> Makefile.conf
|
||||
use X || echo "WITH_GRAPHICS := NO" >> Makefile.conf
|
||||
use react || echo "WITH_REACT := NO" >> Makefile.conf
|
||||
use ppx || echo "WITH_PPX := NO" >> Makefile.conf
|
||||
use ppx-deriving || echo "WITH_PPX_PPX_DERIVING := NO" >> Makefile.conf
|
||||
use async || echo "WITH_ASYNC := NO" >> Makefile.conf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
use doc && emake doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
findlib_src_preinst
|
||||
emake BINDIR="${ED}/usr/bin/" install
|
||||
dodoc CHANGES README.md
|
||||
use doc && dohtml -r doc/api/html/
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST Net_SmartIRC-1.1.4.tgz 163494 SHA256 a853622ca4b8cb0224d81d11f0308d8d9f1d0d2326fe65f259fb60b7f66b6484 SHA512 58bea369e7f43094cb4b3d0354cb82afb2842ca21fd83409e683fbecda590f6dc02594e20897acbd6de6f3b60c9122daafd01ab86af270c5ec8a1b4a5ed47afe WHIRLPOOL 812cfe224c8e2fcdddb26615fce538492dfe4e5a8e58f17c8d843af533e913bcc6a561cfaf02fe448cc1785e55e0e8cff1dbb8cc4bdc64a803444bdd2442fac1
|
||||
DIST Net_SmartIRC-1.1.9.tgz 168069 SHA256 b3d272221543b8866879ab1d2548b2bca34e14bb8f5e791066e2dcce723b59e1 SHA512 161fb4cbe8443e0e793ce70fcdcb839eee4268be2592dadde23832b54703503c8a57bb7b4819ef023617a256aa2474fceccff58454fb496cb6e52018d0064e35 WHIRLPOOL 09f8affc5e3ea865da784e8ed89de09b818a5460fcbdbe80966f21d51bdcdcfd24bec3c05c42cedcddf65e03047dc56144e1768705560051a82691b409ef839c
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="${PN/PEAR-/}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
HOMEPAGE="http://pear.php.net/package/${MY_PN}"
|
||||
SRC_URI="http://pear.php.net/get/${MY_P}.tgz"
|
||||
DESCRIPTION="Net_SmartIRC is a PHP class for communication with IRC networks"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-php/PEAR-PEAR >=dev-lang/php-5.3:*"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
local DOCS=( README.md CREDITS FEATURES )
|
||||
insinto /usr/share/php
|
||||
doins -r Net
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Register the package from the package.xml file
|
||||
"${EROOT}usr/bin/peardev" install -nrO --force "${WORKDIR}/package.xml" 2> /dev/null || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Uninstall known dependency
|
||||
"${EROOT}usr/bin/peardev" uninstall -nrO "pear.php.net/${MY_PN}"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST PySocks-1.5.6.tar.gz 9189 SHA256 a62b35b13968ba3642a973d115ae6a11be886b5f5ae0841a3ecad4b4f1d7deb1 SHA512 3255591864c532f9ce3c0304d7b33165bb09c0a332fb0d126f61315e98f50e1af0f792517533166558fe457dce2d08f2b320adf9dd87b58618e0941d72daee49 WHIRLPOOL fd2b797c863aef1258b7f3e9f8e1abfa83df8d9387274f084cf731e5ae7b5d01230eb793d5d0f60734bdf178761eaec47a6c87634943c90f6a1fab7cca9d82df
|
||||
DIST PySocks-1.5.7.tar.gz 32480 SHA256 e51c7694b10288e6fd9a28e15c0bcce9aca0327e7b32ebcd9af05fcd56f38b88 SHA512 adcb504b938dacb3c5bd5bd28a9f2cd8311bb188dea1a1b65de13ef0b2b00af498a0e44280fff1ceaca4fed95281c070a13866cf13ee898cb564b4ef215ac4a4 WHIRLPOOL 57c9ebc6577b6fdcf883fed8cc5957330eb6848ec7c1bf164a34829832e17492bb9df433bacd9852ea4003d509c19108d5b540db918cf30322e2511fc567b336
|
||||
DIST PySocks-1.6.4.tar.gz 17172 SHA256 07f25f0720983462d5992c44a8288b54261e0055317535fbd8d96fe0c391817e SHA512 54992bb489ea8b559a3a844da1bd0a2b772ab84361f9f466e5b7cc8bc566ae9a01e8c9c0cc6ce914fb63b24d822aab8842cf10ad51d4c6233a5433d4a353b335 WHIRLPOOL 0f5d0255df3a1fa8a330f87fea0d546fc0b6d2554a9f5061dad349e5029ed4f1d4608860433bc353df07632467a298474cdf2418839b68d59376ec22a3c91176
|
||||
DIST PySocks-1.6.5.tar.gz 17212 SHA256 7962f4d7c76e8414ae168c677a77f19cf8926143911f7e8d37a5d4c4eb910c6f SHA512 19f0822afba1635d68cce327e1cd13203e3a2c39f92ae3817759de22ce3154899b97abe4760a3f0315b6af7757e116c8f7717b7948de179b16c065f743c845e2 WHIRLPOOL dea78f04e04006b691ad7f31af593076489c929fffeb5d6d631bfd69dd8e848936bb006eac1e32655bcbc84ec7ef18036d26716011552865abe279ae5b56ea9d
|
||||
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy{,3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="SOCKS client module"
|
||||
HOMEPAGE="https://github.com/Anorov/PySocks http://pypi.python.org/pypi/PySocks"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
@ -1,2 +1,3 @@
|
||||
DIST hypothesis-1.19.0.tar.gz 86227 SHA256 0e977a3492f5488ed9dd4a872cefae0934ad4ccd0229a6c483ef5ca0aaaddd6d SHA512 3b2cd671498bd0bc88c93b2753f35b02f737533dd8dbc786420a37a417d145e4f1c579741966394f85b7df4939e61f77315e6158b29e22f9bde07d31e161e009 WHIRLPOOL 52b444e6e3fa0c514ebb9816cd489b2441b213581e241f76ab5aa5c410ca08bedef92f0b608c32c421f74ba84a0e26850a2aaf9f2d9f7229aa176d9e501175a0
|
||||
DIST hypothesis-3.6.0.tar.gz 73586 SHA256 ecb0e711ab83032c54605d88fda1e07ca5c6025bdb5e91deab96eca29491f678 SHA512 cb885628e5c38ab9312cfb177ebc3c014617d21031737f5fba343ba485c1b8ff82b1302e7bc1d3e79192bfd8324fd0501498c968f3ac8343829f8965f6354389 WHIRLPOOL 189c788fdd0a326879a468061c271b14056da5f7dc1d5975e8f360cd5a91957eb8f79c26a045fbe49d7b11f7cc09024d3d09a353321b1dda1d4d96b452fd9e7b
|
||||
DIST hypothesis-3.6.1.tar.gz 75106 SHA256 d4a0aa584ee4654819b8bfc8b5791669ad229eb1db949716543d7c31219cb35b SHA512 89a884cfc147b09e6356ea1f2272784b256065a7ff86584c133c00d11cb0fda0a8463e347c15698c605f6c2d8fc7aa09cd4c216849cb2b851566bdf4268c28c4 WHIRLPOOL 1a65ad7442ba457390414c3117fdcde6981adb6e7cd0269b47ac7ec63e60393af386518f4ca79410222ff7533b12f87a99705f22fd9b20befdcf6a6a4a422e12
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy{,3} )
|
||||
PYTHON_REQ_USE="threads(+),sqlite"
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="A library for property based testing"
|
||||
HOMEPAGE="https://github.com/DRMacIver/hypothesis https://pypi.python.org/pypi/hypothesis"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*')"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "datetime support" dev-python/pytz
|
||||
optfeature "numpy support" dev-python/numpy
|
||||
optfeature "django support" dev-python/django dev-python/pytz
|
||||
optfeature "pytest support" dev-python/pytest
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST idna-1.1.tar.gz 99242 SHA256 3dab514abd255ada7994a57161750e8f054b938bf7adb8b40b96f13df54efaed SHA512 eb7a3673641827899ab9a4ba56f214e1fd3d17370d05bb04464664c2752ba7636507c3f6a64c9e24d44a1dd566842ffc86ce01351c1bfcebc3248baab786b99c WHIRLPOOL 90c1e03b23f3765749778f41ad7eac5befd5122f0552cf1616c7e4f53ae1d3f68f964753bf050956d773b720d608479830d72eb0a94d62848eab86ab4491326e
|
||||
DIST idna-2.0.tar.gz 135150 SHA256 16199aad938b290f5be1057c0e1efc6546229391c23cea61ca940c115f7d3d3b SHA512 005f88e954f13ace584ced510752da58d1cb16ebfbeee10aeef5bec57b3c61a3a5d7ce0bb50deba6dc90b412607727bf94a95a785e91d6528cd8633961c142dc WHIRLPOOL d865420f1c5f648d12480af93a52e0b2d463064c34c57ce56022f6965c2e4f6a49244e7798b9fcc18a7c6517b98e88bf84dc52e0050abe2ce504365b5579d2b6
|
||||
DIST idna-2.1.tar.gz 128996 SHA256 ed36f281aebf3cd0797f163bb165d84c31507cedd15928b095b1675e2d04c676 SHA512 b275f48f46694d54915cb48fcc65b683895ff9834bb267c77535aba0c9c6d8ca10dc207cf5ec53c167e66e236d943a3ec577c140aa5cfc8ad286800b7c67b63b WHIRLPOOL aedc489c61a97d5a736fcacf11636277e21d08fa14f3738d2aa68e8b9ffc3f0fae47163fa88b2bc2b1ba87e9a805511a73c5f32158779ea5eb9dcfa95d0d7f29
|
||||
DIST idna-2.2.tar.gz 130203 SHA256 0ac27740937d86850010e035c6a10a564158a5accddf1aa24df89b0309252426 SHA512 affd8738e78ee0db7e44e508bab2a2223e9d1991711a4930ce820354e2c348f92502bd27fb6a93a25300ce78bac444b808143f2754b44720c19d4707e60d56ae WHIRLPOOL b88e5ae0104a9c2a3cfe7650f62f814618f8dba636894890a22294cc01cc5b2d349889f822481e2575a57632cfb3e0bd8dba9fd2594146f0390ac4139be36c2c
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Internationalized Domain Names in Applications (IDNA)"
|
||||
HOMEPAGE="https://github.com/kjd/idna"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST irc-11.0.1.zip 120409 SHA256 25d818003780fd6d62e93d3ff32580e74c0e527c6290ae14b47af50b58339233 SHA512 fca2fe653d921c9ec65dfb2b072c16658d88d4a22ae91568b1eaf722a90179920808db157f587afe6de0055af3a04a528eb9022122e539150e5635f05b58f466 WHIRLPOOL dd9b9e8624e6bd86d27fead1f3006a2b80832d236ad21f50c147c07a27b2cc4933d68efd951dece44398dbc0299b73ba7a98e4eff2061d0e3a8a01833518113b
|
||||
DIST irc-15.0.2.tar.gz 81790 SHA256 23893c1fb21826fd9b3edf6ef49b0e1080c846761900ab06b4f1980f5cb8e2e3 SHA512 5f6daa539a9ae665b0153d97ab11f246040963d9109d84efde0a92cbe200c2a6e8126120eee11b4bc92d65d415946627116b62cde07bebeb68a7105af40f98ab WHIRLPOOL 1f28b3e343328a2c78af406944fcfac4be25a61834e1807d7a1636834a2ea9fa9775856380e8ea75df7917913756a4b971e76ab47a06e0379304dfd2e5d81e61
|
||||
DIST irc-15.0.5.tar.gz 82138 SHA256 f4ac9678e7e9b451d7852dd67ee216ca9debec7004b16c9708e83137142b30cf SHA512 d9e5eadd02aba00262fee5fc67d52e1caebfcf715466bc104df76e5deee5559692436517b21c08918cb41fbf172bb81c11147f86c488da3441a72efd2c6832b9 WHIRLPOOL 85f5c479c6047e1cb85056489aee0e5e96148865a34a6c31bf8aeddd16ed7f07328efe53bd44327be8f74bc913d039472c01ea922d81e1447194643103a0d348
|
||||
DIST irc-15.0.6.tar.gz 81996 SHA256 986706eb76da86f14ebd69f7955a2ae132fe45dde60e67ddd9c6c50b7dc914ee SHA512 48240eb496a3c88310f02cf092b8e19e4aa8d8dc165a9a8a39c313490a69ecc29ac67db297436df5e86e7253e2481bd19bc0429ea9cc359089a5cd6179125c0f WHIRLPOOL 33dbe34c49027d3dad6d1b3b322713185ebabb1607dde8a4f53ab9f48294dd5d592cffb98e66572d33e0e68a5a394eab2c2d3a5021af2ffa7b761792774bab5f
|
||||
|
@ -1,4 +1,3 @@
|
||||
DIST lxml-3.4.4.tar.gz 3537508 SHA256 b3d362bac471172747cda3513238f115cbd6c5f8b8e6319bf6a97a7892724099 SHA512 94453ff0562fc18a4b43555271e2469556255b69daf5f801d1a0f1ff29fd73f4b46d4faba9bfe86b42cfdac31005a0d3cfcbf230e0c7593dd5fc6461afcad906 WHIRLPOOL 6debafb391c94bd57510498c8261a511759f52feb3065c8bdf3103b177b1ddcbad54968f1eceac07b97e42087a1c59a060a3719f9ea9d25a662da34bf314b89e
|
||||
DIST lxml-3.5.0.tar.gz 3810202 SHA256 349f93e3a4b09cc59418854ab8013d027d246757c51744bf20069bc89016f578 SHA512 9b728642bec22be39aef603050121715521603a50bc01d3851e1eb7bfc6302c991da3a3bdebfdeaa9038e19fe39d8286f60851fecf1c4e85469f0ed8fa6e9368 WHIRLPOOL 50b9d3767377a5dee7359e4651bb91bc84539cbc18b552f07b9cf9b9f3f263c8cc3aae64adafb88a78776235a5f3780342d7b29cd369b77e8dc9ef8f8739a290
|
||||
DIST lxml-3.6.0.tar.gz 3693901 SHA256 9c74ca28a7f0c30dca8872281b3c47705e21217c8bc63912d95c9e2a7cac6bdf SHA512 2dd25a4f51e3e71b78e82e32f3838137d8b21936c23c16f901f4180277c4d4b7f14e1f47d306022cc1d13dc2e0b7f405319632e554aa989f551f424cc423d60d WHIRLPOOL 081c97bca209bc234dfb4e439da45ecde1cfd4c2da31384601c96293a5ab5def9d713bee612b4c84a5372d5b9035126ff6cbc496bd56b141f89b6a4fe916540b
|
||||
DIST lxml-3.6.4.tar.gz 3707675 SHA256 61d5d3e00b5821e6cda099b3b4ccfea4527bf7c595e0fb3a7a760490cedd6172 SHA512 0412b266d7a70af21f2e4e05d63c3ce63049661ef27e2bf190cbfe1e982b6980fe980a998a360796b958fa9e148ae5bb48136354d4b0bb042055340e37f61e1e WHIRLPOOL b9cd81c885a1b12c36b50f4d616214f1912baed7991a3178e9415bffff74277c849b2e7c82fd7f27fb984148267348f5a72088d0b175ebf2731a16b876988255
|
||||
DIST lxml-3.7.0.tar.gz 3788603 SHA256 9c62eb2a1862e1ae285d7e7e3b7dc8772d387b19258086afcec143c6b7b8a5c9 SHA512 c34081332bcb911fb3be820300ec78e1e310fcef8b44d1b1ae28424de7f29b215b1266b1bc0ee50696b989b258e1af2774980c5bea96b403151596407522bdc8 WHIRLPOOL 050336ad26a7addeae34648fa9a30eabce4cf5b79bf84967f25854eb60ba8182b5ce21986fa4cb92081068c9561e9c4b00fde4e0f9c5929b25b5c7f0d3422bf2
|
||||
|
@ -1,36 +0,0 @@
|
||||
use pkg-config to find libxml2/libxslt details rather than xxx-config scripts
|
||||
|
||||
--- a/setupinfo.py
|
||||
+++ b/setupinfo.py
|
||||
@@ -87,19 +87,6 @@ def ext_modules(static_include_dirs, static_library_dirs,
|
||||
source_extension = ".c"
|
||||
print("Building without Cython.")
|
||||
|
||||
- lib_versions = get_library_versions()
|
||||
- versions_ok = True
|
||||
- if lib_versions[0]:
|
||||
- print("Using build configuration of libxml2 %s and libxslt %s" %
|
||||
- lib_versions)
|
||||
- versions_ok = check_min_version(lib_versions[0], (2, 7, 0), 'libxml2')
|
||||
- else:
|
||||
- print("Using build configuration of libxslt %s" %
|
||||
- lib_versions[1])
|
||||
- versions_ok |= check_min_version(lib_versions[1], (1, 1, 23), 'libxslt')
|
||||
- if not versions_ok:
|
||||
- raise RuntimeError("Dependency missing")
|
||||
-
|
||||
_include_dirs = include_dirs(static_include_dirs)
|
||||
_library_dirs = library_dirs(static_library_dirs)
|
||||
_cflags = cflags(static_cflags)
|
||||
@@ -310,8 +297,9 @@ def get_library_versions():
|
||||
|
||||
|
||||
def flags(option):
|
||||
- xml2_flags = run_command(find_xml2_config(), "--%s" % option)
|
||||
- xslt_flags = run_command(find_xslt_config(), "--%s" % option)
|
||||
+ pkg_config = os.environ.get('PKG_CONFIG', 'pkg-config')
|
||||
+ xml2_flags = run_command(pkg_config, 'libxml-2.0', '--%s' % option)
|
||||
+ xslt_flags = run_command(pkg_config, 'libxslt', '--%s' % option)
|
||||
|
||||
flag_list = xml2_flags.split()
|
||||
for flag in xslt_flags.split():
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
||||
|
||||
inherit distutils-r1 eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
|
||||
HOMEPAGE="http://lxml.de/ https://pypi.python.org/pypi/lxml/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD ElementTree GPL-2 PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples +threads test"
|
||||
|
||||
# Note: lib{xml2,xslt} are used as C libraries, not Python modules.
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.7.2
|
||||
>=dev-libs/libxslt-1.1.23"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/cssselect[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-cross-compile.patch
|
||||
|
||||
# This patch removes a testcase that fails because of issues
|
||||
# in libxml2.
|
||||
#
|
||||
# Upstream bug: https://bugs.launchpad.net/lxml/+bug/1608479
|
||||
"${FILESDIR}"/${PN}-3.6.4-fix-test_xmlschema.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# avoid replacing PYTHONPATH in tests.
|
||||
sed -i '/sys\.path/d' test.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} != python3* ]]; then
|
||||
local -x CFLAGS="${CFLAGS}"
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
tc-export PKG_CONFIG
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die
|
||||
cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die
|
||||
ln -s "${S}"/doc "${BUILD_DIR}"/ || die
|
||||
|
||||
"${EPYTHON}" test.py -vv --all-levels -p || die "Test ${test} fails with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
local DOCS=( *.txt doc/*.txt )
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r samples/.
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup
|
||||
optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
||||
|
||||
inherit distutils-r1 eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
|
||||
HOMEPAGE="http://lxml.de/ https://pypi.python.org/pypi/lxml/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD ElementTree GPL-2 PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples +threads test"
|
||||
|
||||
# Note: lib{xml2,xslt} are used as C libraries, not Python modules.
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.7.2
|
||||
>=dev-libs/libxslt-1.1.23"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/cssselect[${PYTHON_USEDEP}] )
|
||||
"
|
||||
# lxml tarball contains files pregenerated by Cython.
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
epatch "${FILESDIR}"/${P}-cross-compile.patch
|
||||
|
||||
# avoid replacing PYTHONPATH in tests.
|
||||
sed -i '/sys\.path/d' test.py || die
|
||||
|
||||
# seems to be broken
|
||||
rm src/lxml/tests/test_elementpath.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} != python3* ]]; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
tc-export PKG_CONFIG
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die
|
||||
cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die
|
||||
ln -s "${S}"/doc "${BUILD_DIR}"/ || die
|
||||
|
||||
local test
|
||||
for test in test.py selftest.py selftest2.py; do
|
||||
einfo "Running ${test}"
|
||||
"${PYTHON}" ${test} -vv -p || die "Test ${test} fails with ${EPYTHON}"
|
||||
done
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
local DOCS=( *.txt doc/*.txt )
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
use examples && local EXAMPLES=( samples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup
|
||||
optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
||||
|
||||
inherit distutils-r1 eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
|
||||
HOMEPAGE="http://lxml.de/ https://pypi.python.org/pypi/lxml/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD ElementTree GPL-2 PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples +threads test"
|
||||
|
||||
# Note: lib{xml2,xslt} are used as C libraries, not Python modules.
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.9.2
|
||||
>=dev-libs/libxslt-1.1.28"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/cssselect[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-cross-compile.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
# avoid replacing PYTHONPATH in tests.
|
||||
sed -i '/sys\.path/d' test.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} != python3* ]]; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
tc-export PKG_CONFIG
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die
|
||||
cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die
|
||||
ln -s "${S}"/doc "${BUILD_DIR}"/ || die
|
||||
|
||||
"${PYTHON}" test.py -vv --all-levels -p || die "Test ${test} fails with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
local DOCS=( *.txt doc/*.txt )
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
use examples && local EXAMPLES=( samples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup
|
||||
optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST paramiko-1.15.1.tar.gz 1219256 SHA256 6ed97e2281bb48728692cdc621f6b86a65fdc1d46b178ce250cfec10b977a04c SHA512 146076792e42965aaca08e74630c18422ed767a3da64c63fa63da9a464e1dade5a3f77635a5aae569e5a382d9a31eb4ee738399cd93895e355b4a57119c99f1c WHIRLPOOL 4f4bb6276363130d14c80e55d5c6858712a25404735e9671969d79ff1d1b1399918e24b6c80b275bbf76373a95cb407ca34fba5da8bc92bcd1322e4651ad1354
|
||||
DIST paramiko-1.16.0.tar.gz 1335094 SHA256 3297ebd3cd072f573772f7c7426939a443c62c458d54bb632ff30fd6ecf96892 SHA512 d75ed591c12898bab7d3e64b7281c9054ad49d00b6dba9e51826cca43ce30ae7c089ead0c3396f7542c2635183637e00a16f0b3d57360c0f65ec93d081489962 WHIRLPOOL 10053403a526e11d2e300cfccb8bb95889ee4424621853f8b20f42257c71fdb01aba6358c3fd9dd3ede2aa8d7291affac56582abbb3d9888dc1c217d3757c3f3
|
||||
DIST paramiko-2.0.2.tar.gz 1190464 SHA256 411bf90fa22b078a923ff19ef9772c1115a0953702db93549a2848acefd141dc SHA512 6e96a67fb496990967641c53a616f0d774716f1969b0e4f290815776d61071804d8c606c3cefadc010a95ce926ab05bad201233210f9bed772dcee377b336bb6 WHIRLPOOL 379d53534d098a0b0aa30d9ec41e9b6cba9789db0db111be4cf45b1dc3c538dc17618eed173602538bf8365f8fbe730cdc03c38488badc6c580e45f2faf06d14
|
||||
DIST paramiko-2.1.1.tar.gz 1196454 SHA256 d51dada7ad0736c116f8bfe3263627925947e4a50e61436a83d58bfe7055b575 SHA512 8352688eff78aa6e15ee12572851462aea538d2d00cbc392d5cd7e4eda9536e95d3e3dfca6c85b5e5ea18262e9796a323224da4ced0474692996d8b45558f128 WHIRLPOOL cb49ccdadf4e359963e378970c1a7912cf567862b442de905c1e396c5f374748a38ce6ec8f9353528448c3f750059023a61dc8a096cb906670fd200c7adb346c
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Retrieve information on running processes and system utilization"
|
||||
HOMEPAGE="https://github.com/giampaolo/psutil https://pypi.python.org/pypi/psutil/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
${PYTHON} psutil/tests/runner.py || die
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST pytz-2015.6.tar.bz2 156925 SHA256 01eed1b2226dc386d8e467a2ff8c4f1aa08c65d5d7e7c43aa094bd45d5bd68ba SHA512 e6e117d85c0a0310b115cfaae2b9d5957641f8367a7890f4e1afed8129e77c6a08b733b985c06d5f3fe5bbfa565387826883864b79dd4946065561a60ad24f35 WHIRLPOOL 255684e9f24353aeda2f26fc89216aef3b34a87a74df4dc758f87da31cedce6d372d405d37e8c538b786324c6ce03da177d3429438999ecfd744009fd7bbbbe9
|
||||
DIST pytz-2016.10.tar.bz2 172920 SHA256 7016b2c4fa075c564b81c37a252a5fccf60d8964aa31b7f5eae59aeb594ae02b SHA512 a571dc035d713b05e1fe5760ddbb7701492c78b2faf38455ffc147c1d68fcee8d6f2d43a9d12724561ee2b1ddd83526d6ac44629c35899080f22a13abe854346 WHIRLPOOL a896e2c46e17891ab7455082003716e891e8916b5a3e3c0d776b4af7e17479c861537c4ae3a232f3288bd3302bd556261e4c81fe2ce72e0bcd179dd187722145
|
||||
DIST pytz-2016.3.tar.bz2 170906 SHA256 c193dfa167ac32c8cb96f26cbcd92972591b22bda0bac3effdbdb04de6cc55d6 SHA512 8d91a84500257327361a8ccd19ce2d2e5848c10c7d4105ec1be012be592ec38113611558c7894c1825cc1967303901fce35079fc799cc10e84216864cd00266f WHIRLPOOL b2af20a788fa70c23b04cda3acdff812c30713f00a9aaf2144d85c64341f6fe4e365b558f3f0b5491c6c99ebf633d2d3910c95f7a6ae1f9c53b40da6bcbc23af
|
||||
DIST pytz-2016.6.1.tar.bz2 172223 SHA256 b5aff44126cf828537581e534cc94299b223b945a2bb3b5434d37bf8c7f3a10c SHA512 89a1e19861a15884aa0ddc68ad7221e362994a0457e2e178e80fee539bd52dd9dcdf94a5bb3aa33e60e7523b803860f8fe01f90236f2a8f0c2a8da0a62bb61b2 WHIRLPOOL b8f6de9065fce0b34a6aca21f3f2625d2e077f705ccd80baaec92e70e51960e0a88edb0611a18197612f4b359720cd34994d14cf2327cb9871e98f78035ff6d9
|
||||
DIST pytz-2016.7.tar.bz2 170973 SHA256 6eab31709e3a4aea748457707da45e805b650cbb352583805d2417de2a1dd71e SHA512 2c7d4691a0f49c732c8fe97f0df70b7ce4d7b8bb6c1d3db590dce78152cac46443cf5900d38d35472d92b2b8ef3654e0f67066279a7a1d357eac24d334501f3b WHIRLPOOL f286cd1cf735f1fe12aadafd4567ba037d81a88749fbf34d78052d20c80b5d6fca676fc43c35250bb935b3c3a5497d64ac1bc9af99d86bd2f911874d807bd2e7
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST requests-2.11.1.tar.gz 485936 SHA256 5acf980358283faba0b897c73959cecf8b841205bb4b2ad3ef545f46eae1a133 SHA512 135cbab1e279ebf314bffca01bc4d9f9e71963c67069e330e78fbe06c4294031d1d616bc5d5e104161c8696b408887053bdd65351f85e9ff34646368c88852e5 WHIRLPOOL 838e3074f56a87766ebeb04eb75fdd6f5c83da7448b5e9297be8143330acaeae540d10939b7118cbd9e86c1749c8db5c6c22d50064e704b9c1d7278a37a48af4
|
||||
DIST requests-2.12.1.tar.gz 545246 SHA256 2109ecea94df90980be040490ff1d879971b024861539abb00054062388b612e SHA512 e4da2ef674bcddd96bad91b0b06d4736270a348b740e7006537bc1c27704e1fe2592e1c8b0440c8e1c9a765eefcaf254952bfe5f2871c4ae4bd17962b33fcb00 WHIRLPOOL 6ab1c7e94069ba0ed9509d5706a5498a393e0fcdb5baca9dc1c05a40623c044afc927339ea407b067e563e99556402aae4938a6e382a55e639fa4ca77e1498e4
|
||||
DIST requests-2.12.3.tar.gz 546994 SHA256 de5d266953875e9647e37ef7bfe6ef1a46ff8ddfe61b5b3652edf7ea717ee2b2 SHA512 24a918f102784681ae395394c53cfddc6423e83613b955071e546343063107b8ec282441810c9efd5d591b7199b7a3e4c6a3608d42a4e1ca25502704e34d7347 WHIRLPOOL c9ae9f0d9e7d19014c4ef6df261b5254be6d3c315a12850a86aae06ee4dd33bd2e890ba9554d4ecb0668b93fe5ab67298254882a54d72be8ac6f50d98c42e5e8
|
||||
DIST requests-2.12.4.tar.gz 547650 SHA256 ed98431a0631e309bb4b63c81d561c1654822cb103de1ac7b47e45c26be7ae34 SHA512 100a38ad4bfe5c02c44ccfa75473da4b58416690985117750a0c2e1851e98267df740f578f6a5ad27d0a5b9de2954988f832ea1a169fffc82e8e2da15742f855 WHIRLPOOL b7e1ef3357edb36e7f9c1baee342706f8ed85b2a24d15bba9b48caf023ef10a43f43102be17e5e29cb6bfe3754d9f5f9ddb6d9fd3ad6bae11e249cd066759bb8
|
||||
DIST requests-2.7.0.tar.gz 451723 SHA256 398a3db6d61899d25fd4a06c6ca12051b0ce171d705decd7ed5511517b4bb93d SHA512 a93223c3fd21c58f7c0c901b17be17c23dba4efeed8c4347da9d4e04d96a6698e08e01482205661cb7757cc7560d9ae2e62b18f2b422af0cb90fd998fe963ff2 WHIRLPOOL b805d76ad747fc8a754fb0ca0439e8f303df057c2b256ed7f57533b311322e4e28b0d8f22111a3c5ad283823c1256cd24c93fec2aeabc6946013c17ab3540dd9
|
||||
DIST requests-2.8.1.tar.gz 480803 SHA256 84fe8d5bf4dcdcc49002446c47a146d17ac10facf00d9086659064ac43b6c25b SHA512 bccec89165596df3af3f46eb43b5b28b595752485b00ed73978ef76fa6b8a8961c3db046c3f91ff34fa390f037322f6e13b141ba9b600a836a6d798086bd13fb WHIRLPOOL 445e0e12f5900c3396ae7a76d0010b9c4a4ff2c79c51dfc88f117918e436a4d67ea25de39f252cacaabd737b7b1542374172a2b6f482d7ffe1f7514d1cb4a06b
|
||||
DIST requests-2.9.1.tar.gz 484252 SHA256 c577815dd00f1394203fc44eb979724b098f88264a9ef898ee45b8e5e9cf587f SHA512 0b2b64b2ebb68703f2a222a3e5d0227cf15250319195a13497e38959c64b82359b70221157eab2ab828dfc79bcfec13ede4d6272f0202ae1b22ae79d5810adb9 WHIRLPOOL 9d942b97168c8a869b703db324a263ed3f5279a17e18444f7311e3d3a06aac99ef939c1d3f966025d6ac9e2967415880669b3bac6766c2d39c2faee43cb146c3
|
||||
|
@ -1,21 +0,0 @@
|
||||
--- requests-2.2.0/requests/compat.py
|
||||
+++ requests-2.2.0/requests/compat.py
|
||||
@@ -4,7 +4,7 @@
|
||||
pythoncompat
|
||||
"""
|
||||
|
||||
-from .packages import chardet
|
||||
+import chardet
|
||||
|
||||
import sys
|
||||
|
||||
--- requests-2.2.0/setup.py
|
||||
+++ requests-2.2.0/setup.py
|
||||
@@ -17,7 +17,6 @@
|
||||
packages = [
|
||||
'requests',
|
||||
'requests.packages',
|
||||
- 'requests.packages.chardet',
|
||||
'requests.packages.urllib3',
|
||||
'requests.packages.urllib3.packages',
|
||||
'requests.packages.urllib3.contrib',
|
@ -1,22 +0,0 @@
|
||||
--- Makefile.in
|
||||
+++ Makefile.in
|
||||
@@ -58,5 +58,11 @@
|
||||
endif
|
||||
|
||||
+inst_bindir:=$(DESTDIR)$(inst_bindir)
|
||||
+inst_includedir:=$(DESTDIR)$(inst_includedir)
|
||||
+inst_libdir:=$(DESTDIR)$(inst_libdir)
|
||||
+inst_docdir:=$(DESTDIR)$(inst_docdir)
|
||||
+mandir:=$(DESTDIR)$(mandir)
|
||||
+
|
||||
# The Mingw headers are installed under a subdirectory of
|
||||
# $(tooldir)/include when configuring in Cygwin.
|
||||
HEADER_SUBDIR = @HEADER_SUBDIR@
|
||||
@@ -199,6 +199,6 @@
|
||||
all_dlls_host: $(DLLS)
|
||||
|
||||
-install_dlls_host:
|
||||
+install_dlls_host: install-dirs
|
||||
for i in $(DLLS); do \
|
||||
$(INSTALL_PROGRAM) $$i $(inst_bindir)/$$i ; \
|
||||
done
|
@ -1,14 +0,0 @@
|
||||
--- lxdm-0.3.0-old/src/lxdm.c
|
||||
+++ lxdm-0.3.0/src/lxdm.c
|
||||
@@ -1332,4 +1332,5 @@
|
||||
if(option)
|
||||
s->option=g_strdup(option);
|
||||
+#if HAVE_LIBCK_CONNECTOR
|
||||
if(s->ckc)
|
||||
{
|
||||
@@ -1337,4 +1338,5 @@
|
||||
s->ckc=NULL;
|
||||
}
|
||||
+#endif
|
||||
#if HAVE_LIBPAM
|
||||
setup_pam_session(s,pw,session_name);
|
@ -1,8 +0,0 @@
|
||||
--- lxdm-0.2.0.a/pam/lxdm
|
||||
+++ lxdm-0.2.0.b/pam/lxdm
|
||||
@@ -4,4 +4,4 @@
|
||||
session optional pam_keyinit.so force revoke
|
||||
session include system-auth
|
||||
session required pam_loginuid.so
|
||||
-session optional pam_console.so
|
||||
+# session optional pam_console.so
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue