diff options
author | Pacho Ramos <pacho@gentoo.org> | 2013-12-01 22:10:12 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2013-12-01 22:10:12 +0000 |
commit | c4de30adb0780535d836d7bfce86c730b5374b85 (patch) | |
tree | f9a4631b216a2e1e8b25344d1987a8cbca06ca73 /net-ftp | |
parent | Mask recent nvidia drivers in KDE profiles because of sigprocmask corruption,... (diff) | |
download | historical-c4de30adb0780535d836d7bfce86c730b5374b85.tar.gz historical-c4de30adb0780535d836d7bfce86c730b5374b85.tar.bz2 historical-c4de30adb0780535d836d7bfce86c730b5374b85.zip |
Add unit file, bug #492698 by Christian Strahl
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/atftp/ChangeLog | 10 | ||||
-rw-r--r-- | net-ftp/atftp/Manifest | 43 | ||||
-rw-r--r-- | net-ftp/atftp/atftp-0.7-r3.ebuild | 72 | ||||
-rw-r--r-- | net-ftp/atftp/files/atftp.service | 9 | ||||
-rw-r--r-- | net-ftp/atftp/files/atftp.service.conf | 2 |
5 files changed, 119 insertions, 17 deletions
diff --git a/net-ftp/atftp/ChangeLog b/net-ftp/atftp/ChangeLog index 29fce8c79466..d0fafb1b5bc4 100644 --- a/net-ftp/atftp/ChangeLog +++ b/net-ftp/atftp/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-ftp/atftp -# Copyright 1999-2012 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 $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-ftp/atftp/ChangeLog,v 1.31 2013/12/01 22:10:08 pacho Exp $ + +*atftp-0.7-r3 (01 Dec 2013) + + 01 Dec 2013; Pacho Ramos <pacho@gentoo.org> +atftp-0.7-r3.ebuild, + +files/atftp.service, +files/atftp.service.conf: + Add unit file, bug #492698 by Christian Strahl 13 May 2012; <swift@gentoo.org> atftp-0.7-r1.ebuild, atftp-0.7-r2.ebuild: SELinux policy module for TFTP is provided by selinux-tftp diff --git a/net-ftp/atftp/Manifest b/net-ftp/atftp/Manifest index 4776c164b16a..99a81f1b7da4 100644 --- a/net-ftp/atftp/Manifest +++ b/net-ftp/atftp/Manifest @@ -1,15 +1,28 @@ -AUX atftp-0.7-blockno.patch 5686 RMD160 1ca48d473ce1a8dc2f9690e7b29ae2d68990c2eb SHA1 85c73268e7bb11925275fa05b35df97f0106d1f2 SHA256 f77661c92a66b95773a81f895e982ae65acbbef84c75b1ab8021e4dfb1bb64d1 -AUX atftp-0.7-glibc24.patch 778 RMD160 753a813c7ac9cbf7a28f4d7af98f11c986d008b4 SHA1 b34c7b216b5ec5ecdb55e42e4ac2f47b26bc09f9 SHA256 d2bec90943b330db84cd6af089a67e476f45271d9f33095ef3fc281c83eb7ed5 -AUX atftp-0.7-illreply.patch 362 RMD160 f5b17d9a577d331640143682b3ba66b800af34be SHA1 4034963f5f492af6d13538adf1c1b0a3df69081a SHA256 db1bbc6c40ccfa12ea6e283f35368cfdb47c05c5ad54dd26a9ff9693807e78d5 -AUX atftp-0.7-password.patch 3906 RMD160 c637ec04fe4940fd84d27787ab6174d14daae5ff SHA1 f5fc938e0ff7762999f1d446b73ebb344c2ed71b SHA256 e56637318c9baa9e85525dc92c6be170713529af834a5bb6871238d374c0a365 -AUX atftp-0.7-pcre.patch 661 RMD160 28f934bf041339487998f3d49f505f6ced10f409 SHA1 a1cd8f0387691336fe924f1b6302b95b2d6d19df SHA256 53cb989038e1c5520104c837cb086ffbb20afb6555f42782f78fd05bcea9f304 -AUX atftp-0.7-spaced_filename.patch 2395 RMD160 3dc796286d20d03ef6a6774433be8aa38d35b32e SHA1 bd42961c630e6aefc3fc146bfa59fcf406e3411e SHA256 0d93d85295d5e5ad79783b7e45e8c7f5ee061956adf1f160f5647fcb418bdac7 -AUX atftp-0.7-tests.patch 582 RMD160 104c31709aeead26d9d7e8c1e61f316911b3c72e SHA1 d562036b5cc429437585d33b0a31a91de513c42d SHA256 00e04546214265b0e9d03a0f8182837909825fef111e53a7b23d9e6a382a9d54 -AUX atftp.confd 105 RMD160 9c0b9cc23e749e95dc1b19375860e15e14d3004c SHA1 f8e2d6b120ff3302334c01d35a0ed2fc5c6dd742 SHA256 a2dc012a0ecd94f27950901b18a54ecc744630da4c7cd8939b3f11be07685645 -AUX atftp.init 437 RMD160 83808c852164b4d368da5c9da95474dbbcd1e651 SHA1 8f8d7fac163aabec794acb12bd59162547aeb8ee SHA256 4970eb720ab838c1855b33b2437e0f8f44356e9b6f5a7225c99e2a29d6311b34 -DIST atftp-0.7.tar.gz 202234 RMD160 06bd2ba663a87fabb79e1536275ad23f60c68636 SHA1 83726e552ca10a164f1a7b344b0c51ca33423fe9 SHA256 9c548c44d3cfdf259118d9fd4e468e1fe4567456dbff8ff59838c5f70ef62ea3 -DIST atftp_0.7-11.diff.gz 26055 RMD160 b078ce6715faec118b9524be67b9ed1fa6bb9fc2 SHA1 76d8cae2c0744298649c66cafa24afd977ef9643 SHA256 77accd1f5b5d4759fe9572f7a917c629e35692e484ac4dc6fd4415fe745036ff -EBUILD atftp-0.7-r1.ebuild 1767 RMD160 04c76b2dab52c863fc65283ecb79f15f9fd0dd28 SHA1 caf5dca000140e52668d63bcb7fe9371f2435f71 SHA256 82d4559c4c907505c47a3c40cf0ac96855ba44cb24fffadf4f7e5651a81c9efd -EBUILD atftp-0.7-r2.ebuild 1902 RMD160 f6300bb28970afcb0302ba867c9317afe969019e SHA1 aba764b3f858e97fa61d631f97ced5f2c3e7059b SHA256 d14a1b7ed13cc1f5d9530b756c981b311f826d159924e785c4b01813cbe095ba -MISC ChangeLog 5242 RMD160 9ecdbde953eaa1e741999795a705e299155236f6 SHA1 63f1402734e45b1c1374cd27499ea0ca9d93ca56 SHA256 24ec1bdb63aafeb7bbaa06d416a7a52c0421252dbf1b24eca6fadee75fd4fb1e -MISC metadata.xml 201 RMD160 68a852837c2bce8a00abc335d4cd70184b2e96a4 SHA1 e9517b19b741580ef75ba0bcda279960d3a15d5d SHA256 8f40014a5a33302eb2f72fa5e8a7493829fedfc9801fb6366b13066d9b4e51b6 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX atftp-0.7-blockno.patch 5686 SHA256 f77661c92a66b95773a81f895e982ae65acbbef84c75b1ab8021e4dfb1bb64d1 SHA512 f91e7a7811a1a08268f2ca378eb4e473838e0c07c3cb8c6e6fec1e0e4e9068705451d8d0ae5f3d184a9455d5035bb656176fa3ed09b50fecb6c2d42e8dc73e1d WHIRLPOOL 99e2af2b35263131f0bc3d2a795e99ade0bd20000107931a512c84ea0029f98deb62f08392039c8d24cad88603a15bd55959883e189011248ee1c8092152a5c5 +AUX atftp-0.7-glibc24.patch 778 SHA256 d2bec90943b330db84cd6af089a67e476f45271d9f33095ef3fc281c83eb7ed5 SHA512 1000972a84d3462a0924a4189b240160a9ae5e1429365b329e0be582fdd6593611a59d3f7f955956269144f4c764bb378e04aecc5c18405d340f7cd60efb4e5a WHIRLPOOL cb0a9f32ca7a061683ad7d92dc4ee14d6aaed260b0071942bc6fb932640b8c2e8b5f04dccf9f8b7c87e26458da2980523db5be1eda9fe1d894548170e48f1bde +AUX atftp-0.7-illreply.patch 362 SHA256 db1bbc6c40ccfa12ea6e283f35368cfdb47c05c5ad54dd26a9ff9693807e78d5 SHA512 56a99a23fe928e89d6064ddba2e63c9065215c13ecf1f5228e447eeebeb98c521dc541ca7fda3d95f91ed8f9d13dec32eac1da42f8d37e326ee100c57b15316b WHIRLPOOL 68a368444232756af2e409e2b9bce28bf3a972865aca286d931c2522c51e573317236fc11a895776ee63d05f0e4dcdb048ccf032b001e9f16c126381efb8f09b +AUX atftp-0.7-password.patch 3906 SHA256 e56637318c9baa9e85525dc92c6be170713529af834a5bb6871238d374c0a365 SHA512 5f04d4d54aaf5f459e1aa87f56b3920fc039303f6c1c6d0f205bc1937b9c5263e5a51224838ee7aab1b73e0df6c312620caeba9dd2388e1b5b7bdf8253a56fc0 WHIRLPOOL b3d34b6168f381121e49dc918258695fa1e36c10fb82f495fb9d6f57e2659a71eccc42481deaf0cb9c1e5ef236d367d6a79676fa5251533b283a79e8073c4710 +AUX atftp-0.7-pcre.patch 661 SHA256 53cb989038e1c5520104c837cb086ffbb20afb6555f42782f78fd05bcea9f304 SHA512 773ecc9aa63a9ffb2774ca5454daf573813f988defa6e6f8e9f99cfcc88c7984632b6d1944994c2dd6426200057a552743b9c30d5c158f469a9a74b3cd0c5dff WHIRLPOOL c2a7a02db827070c98c013e7d380b6cb08a7ce87a4549bc8989e75dfc225dae054665354158eaca7ead1eecf9a3e12dcf55527bd185ead32f35732414945e6fb +AUX atftp-0.7-spaced_filename.patch 2395 SHA256 0d93d85295d5e5ad79783b7e45e8c7f5ee061956adf1f160f5647fcb418bdac7 SHA512 f6b352105d40fd4de2b079e847c7e6230ebeef3d2c5568aa260f7c74b22962c168928b38a244e3784e6ba282b47ae09d28b572c36944360f5bf8d880d16aeb64 WHIRLPOOL e5726c0aaae31085099bf7bc33597732100d02e9bff390de2a1b51d7d2b8b6c4dff179ed1352199be4b748edfe08bd3dacbdc068ab34b68c82e21b22cb5832f6 +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 atftp-0.7.tar.gz 202234 SHA256 9c548c44d3cfdf259118d9fd4e468e1fe4567456dbff8ff59838c5f70ef62ea3 SHA512 81c51b613a640f7db4d26da0fb891bda345d11d3f39e0af37f393d2abf619094c1de83f92f04ac75367f546cc70e37d7d47c1535c241c941036fd4df7863a440 WHIRLPOOL 6af7ae6603ce44a17d5368c794c9e01b1bb03baa0406926ef35d9083dc77c57f9a7f3cfb9a5fb9231330f739f417c06a81089dd58f33c5d06682cdbef4be42bd +DIST atftp_0.7-11.diff.gz 26055 SHA256 77accd1f5b5d4759fe9572f7a917c629e35692e484ac4dc6fd4415fe745036ff SHA512 28747f8f3ef2fc3b122361f682fe26ba93acf09b190f61efb3cfcbb6bdeef78cfe1348aeaf1699003a7e02586579be670d85b65baad1b1165a4bec9a9279adb5 WHIRLPOOL 9dc3678862d994810bdbfae2189c074345fa895dd8d2612dea155774abb804a3d7dee1465e4b0a2beec7a429440d0d971a3d67db57d43341b87f3533b72bea8a +EBUILD atftp-0.7-r1.ebuild 1767 SHA256 82d4559c4c907505c47a3c40cf0ac96855ba44cb24fffadf4f7e5651a81c9efd SHA512 d50ab69a49148a2575191a745f77f92de8dc995db0cacf12a4338e9940721535f5bfd3abc646b64e69924b7d606c6ccbe3488347ac17435aed080ef620590832 WHIRLPOOL 06625940cb10d9168e3ccaf5cb43b1391bef75f3b6f519cf0acdac90e7e7d8ac77a77db44b065db6812943af243f3be54bf7d60d55301419f30513d3bed1227a +EBUILD atftp-0.7-r2.ebuild 1902 SHA256 d14a1b7ed13cc1f5d9530b756c981b311f826d159924e785c4b01813cbe095ba SHA512 eb44f3d6bd9c9d7cfa3ac29a902ba3d55c75acbf92e296fef5c95e90dd629545ea7f3bccf712c81b174c7a925c97a224a6a5fdd675415376c38820da3964747e WHIRLPOOL 5de492613bd2ac22e4c3eb509efe1a3ad99feacd78b8520125b1725b97cbd0cab5c4d664973d78eb346f1b641dfc74bc64a0c10f56b0e125a76edadcc7866029 +EBUILD atftp-0.7-r3.ebuild 1947 SHA256 79d1038e072b19073ad3a5e1d5bb1b540571eec1aeb128bea6f2619dd1086710 SHA512 83a41756a2e3da7204ec9e19f6d76e1006e6fda82bff750aff3058c5917e7e58eca30d4b235087b089ea347b8ad690db445f06c328cd4ced0d05282be2993053 WHIRLPOOL 526e3a934a6c983538034251cdfffa21435043d39b4004fecdccf55fe960a5e805a60c3e2cebb26cdeb558e487a019d30d519eb18d3579af11463e855fb38944 +MISC ChangeLog 5440 SHA256 4d8f8d24b7c2a5301d8ffd70389fd6074abd6165527bb9d9f51f419081e1c102 SHA512 7086fee91b6071fa82f382cc73003671cf177f0b0abfe5ffdd904ae9930dec769cd3cbc8403fb8b5b851f4e9d38056933b0f6069d659c9a33695a848d7c837f3 WHIRLPOOL 5cbeef3ef4ae20988c47b6f2b082df6f3abedda87f2234e7a905f6f047e160d60eb48c82a716cff960a1c72f4dd2efe8456dc355786a62a2dc9ea8d59080883a +MISC metadata.xml 201 SHA256 8f40014a5a33302eb2f72fa5e8a7493829fedfc9801fb6366b13066d9b4e51b6 SHA512 b17338d3905aed8473593db886d7f6eaa9b1a4447268ae003980aa54586d5507befe01db504140e760ba3b36fb0fc3ebd246b234f3e33dd964bdf121aa525d2d WHIRLPOOL 5d2ea7d5b0350de6243f6039cc5036580f25b98f27967f11337c9d3c6506c0e23e1aea4dae82bbdb5b5c2bc32b240b2836f49f2fea8aef0b900b6c30ba183e15 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iEYEAREIAAYFAlKbs8EACgkQCaWpQKGI+9SyMACeK+jVtYEJobWO3KP0XnRpisfY +YoYAn36J6tItgutKNbHqM5Y04dP9BECc +=CUYZ +-----END PGP SIGNATURE----- diff --git a/net-ftp/atftp/atftp-0.7-r3.ebuild b/net-ftp/atftp/atftp-0.7-r3.ebuild new file mode 100644 index 000000000000..da9493396466 --- /dev/null +++ b/net-ftp/atftp/atftp-0.7-r3.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-ftp/atftp/atftp-0.7-r3.ebuild,v 1.1 2013/12/01 22:10:08 pacho Exp $ + +EAPI=5 +inherit eutils flag-o-matic systemd + +DEBIAN_PV="11" +DEBIAN_A="${PN}_${PV}-${DEBIAN_PV}.diff.gz" + +DESCRIPTION="Advanced TFTP implementation client/server" +HOMEPAGE="ftp://ftp.mamalinux.com/pub/atftp/" +SRC_URI="ftp://ftp.mamalinux.com/pub/atftp/${P}.tar.gz + mirror://debian/pool/main/a/${PN}/${DEBIAN_A}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="selinux tcpd readline pcre" + +DEPEND="tcpd? ( sys-apps/tcp-wrappers ) + selinux? ( sec-policy/selinux-tftp ) + readline? ( sys-libs/readline ) + pcre? ( dev-libs/libpcre )" +RDEPEND="${DEPEND} + !net-ftp/netkit-tftp + !net-ftp/tftp-hpa" + +src_prepare() { + epatch "${DISTDIR}"/${DEBIAN_A} + epatch "${FILESDIR}"/${P}-pcre.patch + epatch "${FILESDIR}"/${P}-password.patch + epatch "${FILESDIR}"/${P}-tests.patch + epatch "${FILESDIR}"/${P}-glibc24.patch + epatch "${FILESDIR}"/${P}-blockno.patch + epatch "${FILESDIR}"/${P}-spaced_filename.patch + epatch "${FILESDIR}"/${P}-illreply.patch + # remove upstream's broken CFLAGS + sed -i.orig -e \ + '/^CFLAGS="-g -Wall -D_REENTRANT"/s,".*","",g' \ + "${S}"/configure +} + +src_configure() { + append-flags -D_REENTRANT -DRATE_CONTROL + econf \ + $(use_enable tcpd libwrap) \ + $(use_enable readline libreadline) \ + $(use_enable pcre libpcre) \ + --enable-mtftp +} + +src_compile() { + emake CFLAGS="${CFLAGS}" +} + +src_install() { + emake install DESTDIR="${D}" + + newinitd "${FILESDIR}"/atftp.init atftp + newconfd "${FILESDIR}"/atftp.confd atftp + + systemd_dounit "${FILESDIR}"/atftp.service + systemd_install_serviced "${FILESDIR}"/atftp.service.conf + + dodoc README* BUGS FAQ Changelog INSTALL TODO + dodoc "${S}"/docs/* + + docinto test + cd "${S}"/test + dodoc load.sh mtftp.conf pcre_pattern.txt test.sh test_suite.txt +} diff --git a/net-ftp/atftp/files/atftp.service b/net-ftp/atftp/files/atftp.service new file mode 100644 index 000000000000..e6570f63445c --- /dev/null +++ b/net-ftp/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/atftp/files/atftp.service.conf b/net-ftp/atftp/files/atftp.service.conf new file mode 100644 index 000000000000..d8aa19abe32f --- /dev/null +++ b/net-ftp/atftp/files/atftp.service.conf @@ -0,0 +1,2 @@ +[Service] +Environment="TFTPD_ROOT=/tftproot" |