summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-09-14 13:13:27 +0000
committerPacho Ramos <pacho@gentoo.org>2013-09-14 13:13:27 +0000
commit897fb5c6ddc5cf99eb28bb2c5345f6e2c28dd4ac (patch)
treea23cc96a35a4c468e86c142252da7fe274d9c026 /net-ftp
parentrevbump -> EAPI 5 (diff)
downloadhistorical-897fb5c6ddc5cf99eb28bb2c5345f6e2c28dd4ac.tar.gz
historical-897fb5c6ddc5cf99eb28bb2c5345f6e2c28dd4ac.tar.bz2
historical-897fb5c6ddc5cf99eb28bb2c5345f6e2c28dd4ac.zip
Install unit file (#482712)
Package-Manager: portage-2.2.4/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/tftp-hpa/ChangeLog10
-rw-r--r--net-ftp/tftp-hpa/Manifest13
-rw-r--r--net-ftp/tftp-hpa/files/tftp.service6
-rw-r--r--net-ftp/tftp-hpa/files/tftp.socket8
-rw-r--r--net-ftp/tftp-hpa/tftp-hpa-5.2-r1.ebuild53
5 files changed, 83 insertions, 7 deletions
diff --git a/net-ftp/tftp-hpa/ChangeLog b/net-ftp/tftp-hpa/ChangeLog
index fb2584d4509a..f5b19211f629 100644
--- a/net-ftp/tftp-hpa/ChangeLog
+++ b/net-ftp/tftp-hpa/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-ftp/tftp-hpa
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/ChangeLog,v 1.65 2012/09/15 18:50:46 armin76 Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/ChangeLog,v 1.66 2013/09/14 13:13:23 pacho Exp $
+
+*tftp-hpa-5.2-r1 (14 Sep 2013)
+
+ 14 Sep 2013; Pacho Ramos <pacho@gentoo.org> +files/tftp.service,
+ +files/tftp.socket, +tftp-hpa-5.2-r1.ebuild:
+ Install unit file (#482712)
15 Sep 2012; Raúl Porcel <armin76@gentoo.org> tftp-hpa-5.2.ebuild:
alpha/ia64/s390/sh/sparc/x86 stable wrt #429164
diff --git a/net-ftp/tftp-hpa/Manifest b/net-ftp/tftp-hpa/Manifest
index d3235ead1fad..1e27ee79b661 100644
--- a/net-ftp/tftp-hpa/Manifest
+++ b/net-ftp/tftp-hpa/Manifest
@@ -3,6 +3,8 @@ Hash: SHA256
AUX in.tftpd.confd-0.44 576 SHA256 55e67f871f070db2b7fa1428dabf55777ca87fecdbba7fa3b03e63c63734f977 SHA512 2aa2f69a6cc86cd0b0ac9dd3c06bb271e3085eb5d44b74edf1b33a9723ba172b0cd0aa92dc0224de52e0572deb9f855e725ed076d8f57c86b509b2fbc03f5075 WHIRLPOOL 583852aea654171bc74d8fd431ef93ddca6d818285a4864b7e6a2fbc6a53c1f71452bcc9eaecfde5165c567430d7c6af05aaed52ade40492315e78a4c479731d
AUX in.tftpd.rc6 443 SHA256 3bceb3446bbebfae60d5276a2481c4311270d2e33c46e73a8bea66e330244ae0 SHA512 3efbb4044da000180855fa4cd49b3886f67fb36b8b42a5d5c9bcb278b2ebab9b3771c9ea4e44716fd6233dc5c62e6173fc0e429b892c65b798c0a8dfc69313dc WHIRLPOOL be33498f9e91d5f2723ea1a5a4b5ff296fb2368c8b5a7c8b76a4347aaf1fafaea980b1be8e8389769edabb5d3828495e59ee36b7414ce56bcd361264528e69e2
+AUX tftp.service 119 SHA256 a3eea8222b6e1f6a5ee9548635f1702ab7ef20db7537c270568d4b8487279a28 SHA512 e6be243fb28d014d7492b64cc9e72a29f0d2fcf7cf403f0b41998483c298bc39e83be2d0a6d0b7604d4da71fcb48ad0aabbfd0fa1620597883e66d5a6df222d8 WHIRLPOOL fc6bdf933717fb55a158cfb2a4993f27c86d6602c1681bab1bc00047d9f3e60f0be97be5c27c3af13b8f2fe0d5eeb6b65aba5956b680ad6121b09096192cb84c
+AUX tftp.socket 112 SHA256 7cf8fd4d11d478436f99ca5e16ab6fe985208d52609874ee1f617a180c4e028f SHA512 d49cdbb7e265aa98d989f8ae96e2c80bfd5887ae0efc6bfcd726d5fa4d83ffc480f5f374e30b8564b05d9690eb2a0c0ed0077982a74946edfbce5d19066d0564 WHIRLPOOL 4b05a93b25f88b8cf7438f5fad94b73b51e59fa2c877cf19b7fee0342b8c2e93ea6c3e7a492b1ef69f4ee4a88b10e544dbc9d9134d0849678c075d474dcb7e7c
AUX tftp.xinetd 219 SHA256 044c1c262cbeddbcddf449a694c5c472cc236aba87ea89b5a4dc7a76a1bf90a5 SHA512 26883a4feffe8f66fe2c21c05892beeb93fa4511ca5ce18e92273badd4b93afefb0d9cef48e07503037ca37b2ff0cdb24d35e5c24d2e32d8027a5e74c49426f5 WHIRLPOOL 43a0883338b74f18b63afde21e881932e83017aa47f28240f33eed25426705ac7d545b7220245c2a47785c53d4ebc23ce171667ccbabc7e8d94ff7ff8ea82407
DIST tftp-hpa-0.49.tar.bz2 91829 SHA256 9055064ea0aea223e82e99cbdead970dc46fa9456c91a7b3d6c0b37b62b6dd8c
DIST tftp-hpa-5.0.tar.bz2 93039 SHA256 96309871519efcab829fdfcc1cca546d772ed6a0e214c9e99e77ca7aea29f734
@@ -11,13 +13,14 @@ DIST tftp-hpa-5.2.tar.xz 89564 SHA256 afee361df96a2f88344e191f6a25480fd714e1d28d
EBUILD tftp-hpa-0.49-r1.ebuild 1261 SHA256 de05b0f5149324c2f4f25521b1b811fee64734b080a4c17b60c1bdfee659603a SHA512 b77acc8c566570a0ed99af7cc20a11014d12f4c296cfa8c1f1faf7c2f1ac46ac962389d12f2343efc1ed50a42c5abdd491e7f53c181e7a81191bdefacc6431a4 WHIRLPOOL 771b6e5c9f2f28bc7dca256a62aa05dcbef6c5ead439ada683ed1e1f70c7f15e9a606a80512aff204aff834e5bc902d6042195b991c9b4a062063db63ffea16d
EBUILD tftp-hpa-5.0.ebuild 1172 SHA256 599bdb601356ded7f415de8a7569c10677179eadf7df0589c7e59ac3313f2d3a SHA512 80277b16d9bed9960dba726beb3a61d578eae328ef24fa31c0f1dd7cc2fdda3dfd333b3c92c07282b585b1781bd3000b3a2fcfcdbf3ed8b46355698709d53a8e WHIRLPOOL 906763468dec740ac67cf12dc5f543394576f2dbb7853d9a15372f209e0211bd48067aa8b3a19715a0c63151db379f8b500047f5c58e6bd1acda8f57633bd3ca
EBUILD tftp-hpa-5.1.ebuild 1261 SHA256 56e70983dae8e8792850a2e354f358dceb84251e36d9683e99c02b59949a5b03 SHA512 9612a4a74f12dc9a89c18fe7f1dcdbb7bda2bbc741bd1904fa23e78d69e7aa11451d85d7c76aaacbd82d03b009c9c9f941e5ac338d66a39d054e2da9f0d69dc4 WHIRLPOOL 2185178fb361cf0d289457540ec6d1c3c57a8f13e43f9628095fca51eac01bb1f8472bb7705c551010d39d97091d3b634ec844868039427683150acb134d67fe
+EBUILD tftp-hpa-5.2-r1.ebuild 1398 SHA256 677554bc490fdcdc4ee8128a65f9914a5d122b16c58596b70f03cc661688d184 SHA512 56488569c34a46d961b193a295f6724d0b999376c4ea7eff52134b184754b9c8073104cbc99b59f32a2ead9cd3308e616f3c5102f7ca9aa1b5e0cfab9211c62c WHIRLPOOL 3f73dbb52c2331a5157471d59d2479b460df441339f44ade56441cbf807d90cf6a815e8ef350f7f2a308ef6c5c987e0c21f308aa8f953a8d269f892f9e6b568b
EBUILD tftp-hpa-5.2.ebuild 1274 SHA256 7d9327d0eb3256dc49503bfdf9c41663a2c045869b61a3ca39af0ae5a3ff0c0d SHA512 9f4b680e13590e684588aedd89cc98c223dba2138978896e1596dcd955e5486310cc982d7195350b7953298ffb47ce28995f3e130b98ffafb0a5aee4e852ec2b WHIRLPOOL 21576388e65fd75cf76267d8678eedc58a0e4e5f1c86cfbdcf00165246e36213f9cc8ad5a2cd4d032352b53f943de5f6f88cd92cd1f8a352b00c4472fef35539
-MISC ChangeLog 10815 SHA256 cd8e9b9263411feae659d47d5851216850f7d6d6c64ef5d01b41f665903fdea2 SHA512 34317d643861696c962f2fbceb561a72dd5a261a2d4352dca755d659e0f7bdc2c4d6fa75269fc9e7be7e19363ba94221e1bec291e9a0e281324e74ad4c753b7a WHIRLPOOL 5e69eb33f6e15df7ac973705f427a6d9b380b4022599325404f7717407719e698025e12a7e43f57413a240f3df7505fde2d4f74822ee72649a0910d9e6b842ff
+MISC ChangeLog 10990 SHA256 e412f66f4e6d68d880bcaab80d3160265489bc375c0e3916ee5548f2969872d1 SHA512 08d12430519710c369957fb651dd2aa9c758aa23b48d016e6ecdee6eda90a8e4fd8d2e363c3c3aee8e014be8b6d1a00cb6fa74c03f87b35888ee22b35e6e0a10 WHIRLPOOL 830df645f5a7bfe4497ef5d05231972efd0737dafcc9a64568b5f547194d2953020b93d49ca7c3fed1af0aeb5cc726a5eb020de11525d946b53c6125a94465e1
MISC metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 SHA512 8eb0d5153d388f6ea069c64b93882244816a0a09aecc0d73cb872121ce0eb24c5ccafa96aad0b620b2300f319e1af101fa7fa6c5d0d561719d49bb07da0a2eca WHIRLPOOL 11a1441bddb7a6c69653c663902b7da5767ae6ad515ac2aabfc42fe37927a1ccc21472deeee454009ff720201a41c3e4a912df42661a0a87150fb46126da2d52
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iEYEAREIAAYFAlBUzgwACgkQuQc30/atMkCFGgCeOY0MZf1NE7ncL7i8C/xL4fmo
-KRcAniPtT+atkJ0IXry9lvmgJwO5fjZ0
-=2CJJ
+iEYEAREIAAYFAlI0YPQACgkQCaWpQKGI+9T3YwCeNo5CxI6MGhe2//LARGq7X53+
+hHIAnjWC5bwrU0Uy7G2Qdxd5XSsjrqFs
+=jdPX
-----END PGP SIGNATURE-----
diff --git a/net-ftp/tftp-hpa/files/tftp.service b/net-ftp/tftp-hpa/files/tftp.service
new file mode 100644
index 000000000000..f43937875409
--- /dev/null
+++ b/net-ftp/tftp-hpa/files/tftp.service
@@ -0,0 +1,6 @@
+[Unit]
+Description=Tftp Server
+
+[Service]
+ExecStart=/usr/sbin/in.tftpd -R 4096:32767 -s /tftproot
+StandardInput=socket
diff --git a/net-ftp/tftp-hpa/files/tftp.socket b/net-ftp/tftp-hpa/files/tftp.socket
new file mode 100644
index 000000000000..8764c1de349c
--- /dev/null
+++ b/net-ftp/tftp-hpa/files/tftp.socket
@@ -0,0 +1,8 @@
+[Unit]
+Description=Tftp Server Activation Socket
+
+[Socket]
+ListenDatagram=69
+
+[Install]
+WantedBy=sockets.target
diff --git a/net-ftp/tftp-hpa/tftp-hpa-5.2-r1.ebuild b/net-ftp/tftp-hpa/tftp-hpa-5.2-r1.ebuild
new file mode 100644
index 000000000000..30661b19bb2a
--- /dev/null
+++ b/net-ftp/tftp-hpa/tftp-hpa-5.2-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/tftp-hpa-5.2-r1.ebuild,v 1.1 2013/09/14 13:13:23 pacho Exp $
+
+EAPI="4"
+
+inherit systemd toolchain-funcs
+
+DESCRIPTION="port of the OpenBSD TFTP server"
+HOMEPAGE="http://www.kernel.org/pub/software/network/tftp/"
+SRC_URI="mirror://kernel/software/network/tftp/${PN}/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~ppc-macos"
+IUSE="ipv6 readline selinux tcpd"
+
+RDEPEND="selinux? ( sec-policy/selinux-tftp )
+ readline? ( sys-libs/readline )
+ tcpd? ( sys-apps/tcp-wrappers )
+ !net-ftp/atftp
+ !net-ftp/netkit-tftp"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils"
+
+src_prepare() {
+ sed -i "/^AR/s:ar:$(tc-getAR):" MCONFIG.in || die
+}
+
+src_configure() {
+ econf \
+ $(use_with ipv6) \
+ $(use_with tcpd tcpwrappers) \
+ $(use_with readline)
+}
+
+src_install() {
+ emake INSTALLROOT="${D}" install
+ dodoc README* CHANGES tftpd/sample.rules
+
+ # iputils installs this
+ rm "${ED}"/usr/share/man/man8/tftpd.8 || die
+
+ newconfd "${FILESDIR}"/in.tftpd.confd-0.44 in.tftpd
+ newinitd "${FILESDIR}"/in.tftpd.rc6 in.tftpd
+
+ dodir /tftproot
+ systemd_dounit "${FILESDIR}"/tftp.service
+ systemd_dounit "${FILESDIR}"/tftp.socket
+
+ insinto /etc/xinetd.d
+ newins "${FILESDIR}"/tftp.xinetd tftp
+}