From ebcac3eb80df6350f6e753dd5623f13ebec7e718 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Mon, 14 Jul 2014 14:23:08 +0200 Subject: [PATCH] Bump ebauild to g.o latest Package-Manager: portage-2.2.8-r1 RepoMan-Options: --force --- net-ftp/opsi-atftp/ChangeLog | 4 ++++ net-ftp/opsi-atftp/Manifest | 6 ++++-- net-ftp/opsi-atftp/files/atftp.service | 9 +++++++++ net-ftp/opsi-atftp/files/atftp.service.conf | 2 ++ net-ftp/opsi-atftp/opsi-atftp-0.7.4.1.ebuild | 21 +++++++++++--------- 5 files changed, 31 insertions(+), 11 deletions(-) create mode 100644 net-ftp/opsi-atftp/files/atftp.service create mode 100644 net-ftp/opsi-atftp/files/atftp.service.conf diff --git a/net-ftp/opsi-atftp/ChangeLog b/net-ftp/opsi-atftp/ChangeLog index 5956860..16b31f3 100644 --- a/net-ftp/opsi-atftp/ChangeLog +++ b/net-ftp/opsi-atftp/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/net-ftp/atftp/ChangeLog,v 1.30 2012/05/13 11:13:32 swift Exp $ + 14 Jul 2014; Mario Fetka +files/atftp.service, + +files/atftp.service.conf, opsi-atftp-0.7.4.1.ebuild: + Bump ebauild to g.o latest + *opsi-atftp-0.7.4.1 (22 Jan 2014) 22 Jan 2014; Mario Fetka +opsi-atftp-0.7.4.1.ebuild, diff --git a/net-ftp/opsi-atftp/Manifest b/net-ftp/opsi-atftp/Manifest index 4611076..a943b50 100644 --- a/net-ftp/opsi-atftp/Manifest +++ b/net-ftp/opsi-atftp/Manifest @@ -9,7 +9,9 @@ AUX atftp-0.7-spaced_filename.patch 2395 SHA256 0d93d85295d5e5ad79783b7e45e8c7f5 AUX atftp-0.7-tests.patch 582 SHA256 00e04546214265b0e9d03a0f8182837909825fef111e53a7b23d9e6a382a9d54 SHA512 93863aed523c9787f37b671caa894a92e864b009dd5c028066f7e10e50cefce955f3cf9a24ecc702c3ce572bd88fa6a47d524af08ecbaa6ff116487a68393ea8 WHIRLPOOL 001b1d907dc6d0a03a70d6e4c0a0f4f698098a02cc441bde1c7a18d13eae59bbce76727b5dffbe83222611636fe7d7fd550c0c98107717c441afc540c278dde5 AUX atftp.confd 105 SHA256 a2dc012a0ecd94f27950901b18a54ecc744630da4c7cd8939b3f11be07685645 SHA512 cdbd63df16c2cee7491209de8ec44e05e10beccc6286cf7cb1c5dc7731c616d41bc94ce4d6c020b4ac8bb77b27956e9ee36d9b5703dcd3477e8b14927d154b91 WHIRLPOOL 85ea4d5e802b503740c6220c57dcc4c104d9015818f2a487e0e02338c634a3132134243273911615d3c7583a7bae3d2d24a77b866b1ee6ad0f34dd2e3d9b7db3 AUX atftp.init 437 SHA256 4970eb720ab838c1855b33b2437e0f8f44356e9b6f5a7225c99e2a29d6311b34 SHA512 418c81e6616cfa9283cf0de87fa62c8947576f257473c6385ebcad4ba0c6fa0def15320180f28899e56595b46790aff296c396dc3229ba43d0ac50b0b3854ccd WHIRLPOOL 13cdec052bae0fbfd61f3543e408391d80435d6463fdf5b231d4584ff2e6fdb22714798d1572227d6d53d1c9a5e895136fe5041b5cf6f6b45d49229f26b09d2c +AUX atftp.service 233 SHA256 f7b7a98fa22df5b991efdb47cfc4ebd9e22e94d189a168143b7be6093a7249fb SHA512 533372c4863e39d6139ddc491c2b2b2051f1094a90d9854879f28bae7975c8dc997696318794cd1136f9cc542a8f418ad8361b87dd6b3455445d8528d2cc993a WHIRLPOOL e6bb1033fede9ac9dbb9f61af399f14a61b1c8cd7e7d6dad22618f55f8c2110e08792305a0dc476a73d8ce988841bd88426adf5ada03bee5eed7e241b3df93fc +AUX atftp.service.conf 45 SHA256 a33d187f60ab600e78b88b9198096a4638b6216226a286a013a2731e7ad0d1fc SHA512 661befb6873eee6c0ed25fd5cb156e3d7c4ef801d2f58cda8df0f0c5fd851c7eb28089a9399529164c61505963e9d10143df2195d57ff66f85ad0e2750fbbd57 WHIRLPOOL cecfa44b85c55281b2f729b505f1bcc900345c1906872cc947a4bd540e5c09e5f7fcc6dd84004edc4434158747af56403fb1e50a965ff7ecc14a6400c222a19b DIST opsi-atftp-0.7.dfsg-4.1.src.rpm 221958 SHA256 d5b87bcce69dd4a39fdd68c58d16be48b613ded3bd6fc3d063a4f3b5c9d6a62e SHA512 b2fc2661920b55de0ead6a38b418e73ee83e01bd1866e355f2be4f1a03eadde2d3a70294bbffb14fca9484dacd05841c30527ba2967cf4a0a2d0bd3ee95f4f1d WHIRLPOOL b86e678e669dd8d98c425a763efa3f66c1e5a3c250f16c8fbd388dd4be2dc28b3e95fa01eaa1e65cd1a7fea6d434f5e4fc20fea6b55ad03ac22aff02333a0f8a -EBUILD opsi-atftp-0.7.4.1.ebuild 2178 SHA256 e92d8a3e471c909742bf5cb943842d95b42f18e3cc04f747ab6cdaee20de3239 SHA512 6871b75a5bd373270fe3a85a44c52d51a3d41a2ad0806967de37478f5ff02c00befa10cfa884d37061bebb57f5f54339f84dac68f88525ade6ec1da8e76b4a65 WHIRLPOOL 4f121fcaa10435245058d75cad6a0777fe16a8140c90b3d1d739fc47078363ff32520d93dff5e2da3befd54f61390fcf4d5d9286c8e3bb0cd9aa07f5e117af00 -MISC ChangeLog 5661 SHA256 fee8e7aad2e936df53f6f405980a0da8c696c6437fc8f450ed7d7b4cdd2d1f33 SHA512 7fca4b48e48172633b37ad1cee36caa14c364e6817bbf967b641cda231655f07489f8234c00ba9f55198af742a56891e8ea497c745afd66dd85f2bff3b053a36 WHIRLPOOL 1a5ba6ca77b06ef54d0b468feeb7a1a7c386d48d3c04bca848bac7bfd770ea8b8695eefa51d85712f44fd646c80707d558493d9f18c3639ae4af8d3de1a96a2d +EBUILD opsi-atftp-0.7.4.1.ebuild 2312 SHA256 29a0e3608ae57e4a3bbad1c69b9ea83bdc3eea663cd0c641171cc4cc1fb96036 SHA512 efd25a46e7a157f680e328c2273a348988d8b95913bb4289ac0bc6898497712f30ff0f25f8d1c1451e96decda4869f0c54ac26b19e1533df58d9390e1464ff28 WHIRLPOOL be5f16a18c1cdcf072b57de206c12a5beea320b4b1e7db9840d6f97ea185bcb1b67e0feebc9bdc9ade54ac61af12814cdbcaa0c44cfcd512ebaac15661737471 +MISC ChangeLog 5820 SHA256 cd852ad428b03783994cada9dc2db01de6899966c325b51f113ffbecd1c46b1f SHA512 d7d7a93021f9936f3466579d20237fb9a697a3490212e9c48b898d032cf986242b4c7ac291005d9ee972e79017bb1085abf76df1cc531b6d80674d5ba021faa7 WHIRLPOOL 47df0165014439d7fd99fc647134308ae811b415ef7da66d7d25313dfb5f12b3e63bba85c0e374515bcb4f5f43f37afc389736c17b58f8b1dd82e3decfff8abe MISC metadata.xml 201 SHA256 8f40014a5a33302eb2f72fa5e8a7493829fedfc9801fb6366b13066d9b4e51b6 SHA512 b17338d3905aed8473593db886d7f6eaa9b1a4447268ae003980aa54586d5507befe01db504140e760ba3b36fb0fc3ebd246b234f3e33dd964bdf121aa525d2d WHIRLPOOL 5d2ea7d5b0350de6243f6039cc5036580f25b98f27967f11337c9d3c6506c0e23e1aea4dae82bbdb5b5c2bc32b240b2836f49f2fea8aef0b900b6c30ba183e15 diff --git a/net-ftp/opsi-atftp/files/atftp.service b/net-ftp/opsi-atftp/files/atftp.service new file mode 100644 index 0000000..e6570f6 --- /dev/null +++ b/net-ftp/opsi-atftp/files/atftp.service @@ -0,0 +1,9 @@ +[Unit] +Description=Advanced TFTP implementation client/server +After=syslog.target network.target + +[Service] +ExecStart=/usr/sbin/atftpd --daemon --no-fork --user nobody --group nobody $TFTPD_ROOT + +[Install] +WantedBy=multi-user.target diff --git a/net-ftp/opsi-atftp/files/atftp.service.conf b/net-ftp/opsi-atftp/files/atftp.service.conf new file mode 100644 index 0000000..d8aa19a --- /dev/null +++ b/net-ftp/opsi-atftp/files/atftp.service.conf @@ -0,0 +1,2 @@ +[Service] +Environment="TFTPD_ROOT=/tftproot" diff --git a/net-ftp/opsi-atftp/opsi-atftp-0.7.4.1.ebuild b/net-ftp/opsi-atftp/opsi-atftp-0.7.4.1.ebuild index 649f1ec..0d0562f 100644 --- a/net-ftp/opsi-atftp/opsi-atftp-0.7.4.1.ebuild +++ b/net-ftp/opsi-atftp/opsi-atftp-0.7.4.1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/atftp/atftp-0.7-r3.ebuild,v 1.6 2014/01/26 12:19:45 ago Exp $ -EAPI=4 -inherit eutils flag-o-matic versionator rpm +EAPI=5 +inherit eutils flag-o-matic systemd versionator rpm MY_PV=$(replace_version_separator 2 '.dfsg-' ) MY_PVV=$(replace_version_separator 3 'beta' $MY_PV ) @@ -11,14 +11,14 @@ MY_PVM=$(get_version_component_range 1-2 ) MY_PVR=$(get_version_component_range 1-3 ) OPSI="opsi40-testing" SUSE="openSUSE_13.1" - + DESCRIPTION="Advanced TFTP implementation client/server" HOMEPAGE="ftp://ftp.mamalinux.com/pub/atftp/" SRC_URI="http://download.opensuse.org/repositories/home:/uibmz:/opsi:/${OPSI}/${SUSE}/src/opsi-atftp-${MY_PV}.src.rpm" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~s390 ~sparc x86" +KEYWORDS="amd64 arm ppc ppc64 ~s390 sparc x86" IUSE="selinux tcpd readline pcre" DEPEND="tcpd? ( sys-apps/tcp-wrappers ) @@ -53,19 +53,22 @@ src_configure() { $(use_enable tcpd libwrap) \ $(use_enable readline libreadline) \ $(use_enable pcre libpcre) \ - --enable-mtftp \ - || die "./configure failed" + --enable-mtftp } src_compile() { - emake CFLAGS="${CFLAGS}" || die + emake CFLAGS="${CFLAGS}" } src_install() { - emake install DESTDIR="${D}" || die "Installation failed" + emake install DESTDIR="${D}" + newinitd "${FILESDIR}"/atftp.init opsi-atftp newconfd "${FILESDIR}"/atftp.confd opsi-atftp + systemd_dounit "${FILESDIR}"/atftp.service + systemd_install_serviced "${FILESDIR}"/atftp.service.conf + dodoc README* BUGS FAQ Changelog INSTALL TODO dodoc "${S}"/docs/*