aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-01-12 22:00:54 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2008-01-12 22:00:54 +0000
commitd7543964301f4d3a5f8627e266c106e59557caf6 (patch)
tree790b48703e6c2b1794c328fff51fed8b8b783fe1
parent724e79dec195aaeea8b32a0b2a5c4f7009b5a4d9 (diff)
downloadpaludis-d7543964301f4d3a5f8627e266c106e59557caf6.tar.gz
paludis-d7543964301f4d3a5f8627e266c106e59557caf6.tar.xz
Add ecompress stubs for compatibility with ebuilds that use it. Fixes: ticket:472
-rw-r--r--paludis/repositories/e/ebuild/utils/Makefile.am2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/ecompress26
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/ecompressdir21
-rw-r--r--paludis/repositories/e/ebuild/utils/exheres-0/Makefile.am5
4 files changed, 53 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild/utils/Makefile.am b/paludis/repositories/e/ebuild/utils/Makefile.am
index 56e2e30..9c260ed 100644
--- a/paludis/repositories/e/ebuild/utils/Makefile.am
+++ b/paludis/repositories/e/ebuild/utils/Makefile.am
@@ -25,6 +25,8 @@ libexecprog_SCRIPTS = \
dosbin \
dosed \
dosym \
+ ecompress \
+ ecompressdir \
emake \
fowners \
fperms \
diff --git a/paludis/repositories/e/ebuild/utils/ecompress b/paludis/repositories/e/ebuild/utils/ecompress
new file mode 100755
index 0000000..96a6047
--- /dev/null
+++ b/paludis/repositories/e/ebuild/utils/ecompress
@@ -0,0 +1,26 @@
+#!/bin/bash
+# vim: set sw=4 sts=4 et :
+
+# Copyright (c) 2008 David Leverton
+#
+# This file is part of the Paludis package manager. Paludis is free software;
+# you can redistribute it and/or modify it under the terms of the GNU General
+# Public License as published by the Free Software Foundation; either version
+# 2 of the License, or (at your option) any later version.
+#
+# Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+# details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place, Suite 330, Boston, MA 02111-1307 USA
+
+case ${1} in
+ --suffix) echo ;;
+ --bin) echo true ;;
+esac
+
+exit 0
+
diff --git a/paludis/repositories/e/ebuild/utils/ecompressdir b/paludis/repositories/e/ebuild/utils/ecompressdir
new file mode 100755
index 0000000..1e0734a
--- /dev/null
+++ b/paludis/repositories/e/ebuild/utils/ecompressdir
@@ -0,0 +1,21 @@
+#!/bin/bash
+# vim: set sw=4 sts=4 et :
+
+# Copyright (c) 2008 David Leverton
+#
+# This file is part of the Paludis package manager. Paludis is free software;
+# you can redistribute it and/or modify it under the terms of the GNU General
+# Public License as published by the Free Software Foundation; either version
+# 2 of the License, or (at your option) any later version.
+#
+# Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+# details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place, Suite 330, Boston, MA 02111-1307 USA
+
+exit 0
+
diff --git a/paludis/repositories/e/ebuild/utils/exheres-0/Makefile.am b/paludis/repositories/e/ebuild/utils/exheres-0/Makefile.am
index 45e8f6f..23505f6 100644
--- a/paludis/repositories/e/ebuild/utils/exheres-0/Makefile.am
+++ b/paludis/repositories/e/ebuild/utils/exheres-0/Makefile.am
@@ -18,6 +18,8 @@ libexecprog_SCRIPTS = \
prepinfo \
prepdocs \
prepalldocs \
+ ecompress \
+ ecompressdir \
unpack \
emake \
banned_in_eapi_exheres-0
@@ -41,7 +43,8 @@ EXTRA_DIST = $(libexecprog_SCRIPTS) $(check_SCRIPTS) \
banned_in_eapi_exheres-0 $(TESTS)
bannedscripts = prepall prepallstrip prepstrip prepallman prepman prepallinfo \
- prepinfo prepdocs prepalldocs dohard donewins dosed dohtml
+ prepinfo prepdocs prepalldocs dohard donewins dosed dohtml \
+ ecompress ecompressdir
CLEANFILES = *~ $(bannedscripts)