Version bumped Bug 89021.
authorMatsuu Takuto <matsuu@gentoo.org>
Mon, 19 Sep 2005 23:11:36 +0000 (23:11 +0000)
committerMatsuu Takuto <matsuu@gentoo.org>
Mon, 19 Sep 2005 23:11:36 +0000 (23:11 +0000)
Package-Manager: portage-2.0.51.22-r2

net-misc/scponly/ChangeLog
net-misc/scponly/Manifest
net-misc/scponly/files/digest-scponly-4.1 [new file with mode: 0644]
net-misc/scponly/files/scponly-4.1-gentoo.patch [new file with mode: 0644]
net-misc/scponly/scponly-4.1.ebuild [new file with mode: 0644]

index 418b1fea8ae5a3c2ac3ec1116fb289119bb693fc..610b947f00f236e6a8ee264593138e112c583716 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for net-misc/scponly
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/scponly/ChangeLog,v 1.13 2004/12/02 15:30:22 matsuu Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/scponly/ChangeLog,v 1.14 2005/09/19 23:11:36 matsuu Exp $
+
+*scponly-4.1 (19 Sep 2005)
+
+  19 Sep 2005; MATSUU Takuto <matsuu@gentoo.org>
+  +files/scponly-4.1-gentoo.patch, +scponly-4.1.ebuild:
+  Version bumped. Bug 89021.
+  Removed setting up chroot in pkg_postinst.
 
 *scponly-4.0 (03 Dec 2004)
 
index 02cddb34da19e713cdafeeba54492819a3d67de7..bb28c04daefbd372c3829e5ddf2ad775c1a6324f 100644 (file)
@@ -1,4 +1,7 @@
 MD5 48f3604e22751295c07e471844ade2bb scponly-4.0.ebuild 3067
-MD5 fbaae0854d8aa8a9a93d0f6ad1795856 ChangeLog 2031
+MD5 dadf22d4d802d59445e6a28a7f7fc934 scponly-4.1.ebuild 1124
+MD5 7810621f18a870c71aa97d3a543f9710 ChangeLog 2239
 MD5 e10a0da4fac2882942ffa8360ccdd921 metadata.xml 201
 MD5 a1f6bee0be7b749e155d9ec945ce31a4 files/digest-scponly-4.0 59
+MD5 43e0a1f99fd0eb893cf3608c3f1a236d files/digest-scponly-4.1 59
+MD5 686ea1fd09ee5c0522217845d6bc33cb files/scponly-4.1-gentoo.patch 4634
diff --git a/net-misc/scponly/files/digest-scponly-4.1 b/net-misc/scponly/files/digest-scponly-4.1
new file mode 100644 (file)
index 0000000..83b4f15
--- /dev/null
@@ -0,0 +1 @@
+MD5 32e4b87dc46c78573010c1146e9744f0 scponly-4.1.tgz 93138
diff --git a/net-misc/scponly/files/scponly-4.1-gentoo.patch b/net-misc/scponly/files/scponly-4.1-gentoo.patch
new file mode 100644 (file)
index 0000000..09dd08f
--- /dev/null
@@ -0,0 +1,168 @@
+diff -Naur scponly-4.1.orig/configure scponly-4.1/configure
+--- scponly-4.1.orig/configure 2005-04-13 14:29:53.000000000 +0900
++++ scponly-4.1/configure      2005-04-17 17:18:00.000000000 +0900
+@@ -1,6 +1,8 @@
+ #! /bin/sh
+ # Guess values for system-dependent variables and create Makefiles.
+-# Generated by GNU Autoconf 2.59.
++# Generated by GNU Autoconf 2.59 for scponly 4.1.
++#
++# Report bugs to <joe@sublimitation.org>.
+ #
+ # Copyright (C) 2003 Free Software Foundation, Inc.
+ # This configure script is free software; the Free Software Foundation
+@@ -265,13 +267,12 @@
+ : ${ac_max_here_lines=38}
+ 
+ # Identity of this package.
+-PACKAGE_NAME=
+-PACKAGE_TARNAME=
+-PACKAGE_VERSION=
+-PACKAGE_STRING=
+-PACKAGE_BUGREPORT=
++PACKAGE_NAME='scponly'
++PACKAGE_TARNAME='scponly'
++PACKAGE_VERSION='4.1'
++PACKAGE_STRING='scponly 4.1'
++PACKAGE_BUGREPORT='joe@sublimitation.org'
+ 
+-ac_unique_file="scponly.c"
+ # Factoring default headers for most tests.
+ ac_includes_default="\
+ #include <stdio.h>
+@@ -778,7 +779,7 @@
+   # Omit some internal or obsolete options to make the list less imposing.
+   # This message is too long to be a string in the A/UX 3.1 sh.
+   cat <<_ACEOF
+-\`configure' configures this package to adapt to many kinds of systems.
++\`configure' configures scponly 4.1 to adapt to many kinds of systems.
+ 
+ Usage: $0 [OPTION]... [VAR=VALUE]...
+ 
+@@ -838,7 +839,9 @@
+ fi
+ 
+ if test -n "$ac_init_help"; then
+-
++  case $ac_init_help in
++     short | recursive ) echo "Configuration of scponly 4.1:";;
++   esac
+   cat <<\_ACEOF
+ 
+ Optional Features:
+@@ -879,6 +882,7 @@
+ Use these variables to override the choices made by `configure' or to help
+ it to find libraries and programs with nonstandard names/locations.
+ 
++Report bugs to <joe@sublimitation.org>.
+ _ACEOF
+ fi
+ 
+@@ -974,6 +978,8 @@
+ test -n "$ac_init_help" && exit 0
+ if $ac_init_version; then
+   cat <<\_ACEOF
++scponly configure 4.1
++generated by GNU Autoconf 2.59
+ 
+ Copyright (C) 2003 Free Software Foundation, Inc.
+ This configure script is free software; the Free Software Foundation
+@@ -986,7 +992,7 @@
+ This file contains any messages produced by compilers while
+ running configure, to aid debugging if configure makes a mistake.
+ 
+-It was created by $as_me, which was
++It was created by scponly $as_me 4.1, which was
+ generated by GNU Autoconf 2.59.  Invocation command line was
+ 
+   $ $0 $@
+@@ -1314,25 +1320,13 @@
+ 
+ 
+ 
+-PACKAGE=scponly
+-cat >>confdefs.h <<\_ACEOF
+-#define PACKAGE 1
+-_ACEOF
+ 
+-PACKAGE_NAME=scponly
+-cat >>confdefs.h <<\_ACEOF
+-#define PACKAGE_NAME 1
+-_ACEOF
+ 
+-PACKAGE_VERSION=4.1
+-cat >>confdefs.h <<\_ACEOF
+-#define PACKAGE_VERSION 1
+-_ACEOF
+ 
+-PACKAGE_BUGREPORT=joe@sublimation.org
+-cat >>confdefs.h <<\_ACEOF
+-#define PACKAGE_BUGREPORT 1
+-_ACEOF
++
++
++
++
+ 
+           ac_config_headers="$ac_config_headers config.h"
+ 
+@@ -4803,9 +4797,9 @@
+ echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+     (
+       cat <<\_ASBOX
+-## ------------------------------------------ ##
+-## Report this to the AC_PACKAGE_NAME lists.  ##
+-## ------------------------------------------ ##
++## ------------------------------------ ##
++## Report this to joe@sublimitation.org ##
++## ------------------------------------ ##
+ _ASBOX
+     ) |
+       sed "s/^/$as_me: WARNING:     /" >&2
+@@ -5844,7 +5838,7 @@
+ } >&5
+ cat >&5 <<_CSEOF
+ 
+-This file was extended by $as_me, which was
++This file was extended by scponly $as_me 4.1, which was
+ generated by GNU Autoconf 2.59.  Invocation command line was
+ 
+   CONFIG_FILES    = $CONFIG_FILES
+@@ -5904,7 +5898,7 @@
+ 
+ cat >>$CONFIG_STATUS <<_ACEOF
+ ac_cs_version="\\
+-config.status
++scponly config.status 4.1
+ configured by $0, generated by GNU Autoconf 2.59,
+   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
+ 
+diff -Naur scponly-4.1.orig/configure.in scponly-4.1/configure.in
+--- scponly-4.1.orig/configure.in      2005-04-13 14:29:44.000000000 +0900
++++ scponly-4.1/configure.in   2005-04-17 17:17:40.000000000 +0900
+@@ -9,15 +9,16 @@
+ 
+ dnl
+ dnl Say what we are:
+-AC_INIT([scponly.c])
+-PACKAGE=scponly
+-AC_DEFINE(PACKAGE)
+-PACKAGE_NAME=scponly
+-AC_DEFINE(PACKAGE_NAME)
+-PACKAGE_VERSION=4.1
+-AC_DEFINE(PACKAGE_VERSION)
+-PACKAGE_BUGREPORT=joe@sublimation.org
+-AC_DEFINE(PACKAGE_BUGREPORT)
++dnl AC_INIT([scponly.c])
++AC_INIT([scponly],[4.1],[joe@sublimitation.org])
++dnl PACKAGE=scponly
++dnl AC_DEFINE(PACKAGE)
++dnl PACKAGE_NAME=scponly
++dnl AC_DEFINE(PACKAGE_NAME)
++dnl PACKAGE_VERSION=4.1
++dnl AC_DEFINE(PACKAGE_VERSION)
++dnl PACKAGE_BUGREPORT=joe@sublimation.org
++dnl AC_DEFINE(PACKAGE_BUGREPORT)
+ dnl AC_CONFIG_SRCDIR([helper.c])
+ AC_CONFIG_HEADER([config.h])
+ 
diff --git a/net-misc/scponly/scponly-4.1.ebuild b/net-misc/scponly/scponly-4.1.ebuild
new file mode 100644 (file)
index 0000000..37b07b2
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/scponly/scponly-4.1.ebuild,v 1.1 2005/09/19 23:11:36 matsuu Exp $
+
+inherit eutils
+
+DESCRIPTION="A tiny pseudoshell which only permits scp and sftp"
+HOMEPAGE="http://www.sublimation.org/scponly/"
+SRC_URI="http://www.sublimation.org/scponly/${P}.tgz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="virtual/libc
+       net-misc/openssh"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+
+       epatch ${FILESDIR}/${P}-gentoo.patch
+}
+
+src_compile() {
+       PATH="${PATH}:/usr/$(get_libdir)/misc" \
+       econf \
+               --enable-rsync-compat \
+               --enable-chrooted-binary \
+               || die "./configure failed"
+#              --enable-svn-compat\ # subversion SCS cli compatibility
+#              --enable-svnserv-compat\ # subversion SCS svnserve compatibility
+       emake || die
+}
+
+src_install() {
+       make DESTDIR=${D} install || die
+
+       dodoc AUTHOR BUILDING-JAILS.TXT CHANGELOG CONTRIB README TODO
+       dodoc setup_chroot.sh
+}
+
+pkg_postinst() {
+       einfo "Setting up chroot in pkg_postinst was removed. Please setup manually."
+}