parent
1e0b8ab07a
commit
f5608c83b6
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 28843 BLAKE2B d4cfdc9b45274a458c62fab95db138be8a375b54fb4b8fcd1bb77924e1d590d8638170856d8eef3f77e0ec7c1c7c2bd4782c5690ac6e379a1838a190cd9e9922 SHA512 7cdda9f1b4f07a40667707638c7712e7c59eb2b786d68e192e431b2255f4b42151579fe567972935b9c351b6ff728905ffea6a7837083d4954b81867bff0e239
|
||||
TIMESTAMP 2018-10-18T22:08:38Z
|
||||
MANIFEST Manifest.files.gz 28844 BLAKE2B fc1890f500d601dafd5e4958718c624970b8e58576d33cddfacde6771ab349d78daf517ee3ae9625459240334e72a4c116ff86daf125d44c1cb04bb616d65caa SHA512 da03c71ba52d46046908febe5c889cbf84da89a172d5e8438b32c491e5474eaf3a79f5f4869c5b75cabdb56d119e72c18dc72e69b392a36075b00a87ebe3e02f
|
||||
TIMESTAMP 2018-10-20T19:08:40Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlvJBGZfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlvLfThfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klCZlxAAgCILt/tMQgnBqTrmwAo0qiQCwgYRNDNiJNocIbO247tYMNR+TCEcDDKM
|
||||
SuT+j9BdSvhXWc8uPjrZz9V+dBly+lQnYlT9h6oeYolmxOl+UQc5qSQ0lM5nDJYO
|
||||
ajeNy/f/kz1V2md1LXV2iPfkHAgTsGnQ6Sje4TZIEm/IYEyKwbqB7WgoWJsC3tBw
|
||||
EZ3u8ezWdFNmjewYg9/vIHGMdy2omQ++yueEaXQLh+xce/x566dEINjutcp8kMB2
|
||||
aZ2syflkWb4XWCNFw6zQIMd8Ko5AilHMfjC5Bi045ZA1hAzgV7/Wod7E3PJzRsji
|
||||
du0grTX5IFk9+vee6017dVGIwX1EpX2KkBP2kGhLPpS2Zo+mwV7UvCAiQo+rttV1
|
||||
m8eIEJAHUwNVOIkOiwAHvBxPqVyulw2Lev07M7jOzdgZNlPqgCEfHpRDef7LRSPV
|
||||
2PMkuWHflN9B+fBfcsu9MT68NCFJ9QyT0/xjiVDqUjLlbfIxNg30XdOUE73ivmip
|
||||
GaNp8JHZbhgMSMnX16TorU7HzOcxU9IJ0QTZsYG9M/XWgLJbKidHAcARyOuAIFZA
|
||||
AHlTJYXRci6Fx00A7NBeg6O/4troM96D0GLEdhDRRuQpbXskftzlxmlrI+e96efL
|
||||
Zn88fnI+oEeKsWbB3KUOY/AwpU0+aGh111t2YbjDr5PpdK/uH0w=
|
||||
=bup0
|
||||
klCkKw/9G3r/FgMpUMM7t9jelRT67300O1ETj294w7IyY2S74PRe1yYBZytnZpX0
|
||||
HnXPPa5wN5eBNQuBCsBvHr6X7ngB1iYUrkmQCUVYapBOqVY2/51TfQOGzftPPMo2
|
||||
bU2nXJ1sITx04pDORy/lczKg4RLiwTaeGSaYjcJL6CbS94BTX2i1IpILXG4R1+sV
|
||||
o1yApfyQHGuydbAWDWFGzpDILopWvg0bemiYNi4EbFz8x9pDCte0x74IE6CAAw0f
|
||||
r84ADawbY3pBflBweWrxzSaPs/kScitnFg4TRNBf9ucLamobqxOxMCVUeIoXqisr
|
||||
wmohmO3VSsgtqExag0f+VzMAl23N4YUj9Bb+ciD8I7x5MeVgmfOauqNlSNm5wlWK
|
||||
3o3C5IYKkgp6Vh3Me7YY17rdEXwOdOji3w2rpUOsZcvG9Tu4m4D4PFCtfXnRQ4k+
|
||||
QWyyEDjtaYsbSxmnNPEYxKxGs/aKVqwOaV3CCSsdCnAun4oevfLRhHmbinzKScDg
|
||||
RGEjPNahDv6k/+bGKVDqr4LN252s58xcq5drAG6d7Q87zh1knBKQ5uqEr6FMAo55
|
||||
QjPUzLTdrmCM3ak2gq2xaadREStdG9i7ZBRrMNJKkRNd5Pfyy4ftuHF87JiU3YBT
|
||||
hmd6M55nuC3sYpDfa4DojWVpUNgC/sCWgTpWCAwXEtuY4PMsLss=
|
||||
=SlHN
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,12 +1,12 @@
|
||||
DIST ansible-2.5.10.tar.gz 10167484 BLAKE2B 0c60758d54fabef8037ce7e79d86c1508786a3e8cfe2cb1cc9d09cc24ece107414793f4dd12013dbc4c9a1354669288e0989374a20b7ebc035115dfd907c7279 SHA512 911f1f616206136708ceb4f9955e8bf309d7b506fcca9e0f31d770ead0a47c803d670909b6fe10b0d26056d3fd5c140e144132284ad5dbb618d3b013abc9385f
|
||||
DIST ansible-2.5.8.tar.gz 10169397 BLAKE2B 7cb0abb168af25a3cd7b94880309cf19f018a68277472afb24811bb4ccc329c129f754d2b97626f71052712690e372856bfb62345cdae74165eca38066e86779 SHA512 8de8ddf1925ef1465654f4bc1d54fd9f5f9d700ef2c5a4982684f3a4560ac933b05ff0661c34e61235006abc64fd6acf299d0c45f7b5796c3a89dda5382099ed
|
||||
DIST ansible-2.6.4.tar.gz 10751810 BLAKE2B 16a01b76387b6fb0c6554861fd02a57858cf2623ea89e55c0940589b69a6589d4db00bdf87f1e51ab64e638c187657f66ebb5af33a6fa008b7f1dba1e853b3f3 SHA512 b3dc3469dd7e34e3b39b3382df65c3684a44be0515f68861997a4d0e5fce44d64000bc0da0b38fd3d27b45aa1ec3973da581482e0de54c5cc41eb761b230b116
|
||||
DIST ansible-2.6.5.tar.gz 10757800 BLAKE2B 2389dfdbdf731382643227cb3a0df501d7b756d81dbddfe9b5ce609086eb04073441c01ed6f49480628fa2a2b3556e07c1b4588cb5df96a072d72c9a09fe2739 SHA512 3cab1d14abb3d173722ee76699ac778188481d575d589fb9e85541689a806b6f3eece9b1c5122cd863b46da56ed5cc3c32faaa143826ab3bd3e7a6cc06cbe2fe
|
||||
DIST ansible-2.6.6.tar.gz 10707168 BLAKE2B be41ee9b314a669069d4e8578baefdaa3e12864d132320ecad1cb539ae34d048a4f95b44c995f4695911f652064ef343ca35d9864326fd951e4e389088266505 SHA512 0fd8f208479bde3f9fa957c488abce17e6e7c492e6016a9acd88a11db44f777d148d451a4a246d2b55c6de85b9178e8127908e1fe36e490f7bbef350246ba716
|
||||
DIST ansible-2.7.0.tar.gz 11773769 BLAKE2B 00df537d2a8c6d76c7b4c4a424ff3c33a8a69d77ecdd741fe6ec4c6b30c7b136e28e644a488b6b49a305a454d1a923bd92d3b78be79a816fea6c127f4c2aa6da SHA512 a5e0e0b87bb2fa8fbc76825733a5c6afe642d4602be80466e5f28324e90be4487fd1c300e567a164222f171bd9eac65b7b36ca9b6fe4bebfcbd2c24dd60049ad
|
||||
EBUILD ansible-2.5.10.ebuild 1621 BLAKE2B 7374dd46389da290959d922ea41086b94dc1c15ae17cffcbb211f1415acaeecc3d5be1f5c4c27ce5ee60454a49b453cca06587a64259e7091d9242d8f7e07cf8 SHA512 641a4babfab26eced6fabc54587d77b5e750c8b0af3e024a493f55444585167bb4e21aa9eae77ea5322d3c9071ea3097c3d79343bdc3854c372d9a944f7dbf18
|
||||
EBUILD ansible-2.5.8.ebuild 1624 BLAKE2B 406259cdee18b3b47e523252906b28e2480e51d0522fd14bcf7905938a737de5895b972ea51f0309105555b6475f966473f223f0ee7112f6a3ec910a0afd8697 SHA512 1f964bda9e7b54c0810d338c2fd474cff966a79285762d6bce3dfb1210cffa0a4a1d015f46bf59ff9c6463a63319386fb6e4d2bdc3ad9ebf2b9ba53bcff57669
|
||||
EBUILD ansible-2.6.4.ebuild 1621 BLAKE2B 7374dd46389da290959d922ea41086b94dc1c15ae17cffcbb211f1415acaeecc3d5be1f5c4c27ce5ee60454a49b453cca06587a64259e7091d9242d8f7e07cf8 SHA512 641a4babfab26eced6fabc54587d77b5e750c8b0af3e024a493f55444585167bb4e21aa9eae77ea5322d3c9071ea3097c3d79343bdc3854c372d9a944f7dbf18
|
||||
EBUILD ansible-2.6.5.ebuild 1621 BLAKE2B 7374dd46389da290959d922ea41086b94dc1c15ae17cffcbb211f1415acaeecc3d5be1f5c4c27ce5ee60454a49b453cca06587a64259e7091d9242d8f7e07cf8 SHA512 641a4babfab26eced6fabc54587d77b5e750c8b0af3e024a493f55444585167bb4e21aa9eae77ea5322d3c9071ea3097c3d79343bdc3854c372d9a944f7dbf18
|
||||
EBUILD ansible-2.6.6.ebuild 1623 BLAKE2B 28e5e0c4e05904fa61ccb810b8ab546a41824c52a6d1246d9f9ae6e3d60d6d6c99ef91fda9aa304d0dda7fc3afcaf78e38731a189ca5fd5ccd1cf3e7dd7a0dc6 SHA512 44fe0eb5c7b0fe17db4e42abdb0c1294769527cdd724929799d517e1b21ce4a75ccdfa1a8099aee75bbd579f3cb820b00ac41ecc6903c18f03ea3a3ac31956bd
|
||||
EBUILD ansible-2.7.0.ebuild 1623 BLAKE2B 28e5e0c4e05904fa61ccb810b8ab546a41824c52a6d1246d9f9ae6e3d60d6d6c99ef91fda9aa304d0dda7fc3afcaf78e38731a189ca5fd5ccd1cf3e7dd7a0dc6 SHA512 44fe0eb5c7b0fe17db4e42abdb0c1294769527cdd724929799d517e1b21ce4a75ccdfa1a8099aee75bbd579f3cb820b00ac41ecc6903c18f03ea3a3ac31956bd
|
||||
EBUILD ansible-9999.ebuild 1639 BLAKE2B 363a22df345822cd047685b7cdf7114e5e1a1276bf90463799712ee90f751deea4c487f9c96a807558428d3e5993f4fded0017fb5d37b75ff6e550a6ccc32b2b SHA512 10d18db06a345555299b342eb01c7f3355f9f71d70f0ac6b3f2fc3837859161821c8c5771bec3d943647cb1c5ba8abae8c4febdccbbc4f2d747aa0f848682b46
|
||||
MISC metadata.xml 952 BLAKE2B 53640d081ebb558274f8c10095aa6e477820e28a7fdf62c169f5fb3b82153223a7f8ecd1807d14646eae2ec2262b50341919bbb13255293d379ba017b30b20bd SHA512 03b75d65cd0a4b32021b34d9f7ba21b6c4c6893cf185a36dbe6fc10728e0f18c65fc5b6a4c197be8c2b1dadb7243ddce02dbe2f504034a2df1c621f8ba6e26a7
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST ec2-ami-tools-1.5.7.zip 156611 BLAKE2B f3e4c05a1f25e1d47a6981981b92db551953028f0621e3f175e3ab5db8823d72f56d2145376c52dc6d134ec2a167c14d64997e969785991589f9c97b93277f78 SHA512 2754ded47cbe842f58e12207c4bb7f81c8cd366dc506cbadfa9bda74d91fd5f8e1cafbb117612b14833368ff5943c4943a072d1679f23f591c15f2f49b61b4c2
|
||||
EBUILD ec2-ami-tools-1.5.7.ebuild 1185 BLAKE2B f059d766b02cbfd94a8cb3aa02d32a5c214a89a23a15fd8d7443a874c70071d1f3f33251db415b10942d6f7c9e68d02a7f063bd972934cffe4b322abaf4d8319 SHA512 262a8bf922813cdbbcbbf22ba7456ef9e9f3829c73ebd36b2de481014280414612abf00ceb03485ac80d944559426b5c2d2350ab32a59c9856c599f3ea55564f
|
||||
EBUILD ec2-ami-tools-1.5.7.ebuild 1128 BLAKE2B f5d009ec1a67703ac2d93b25bd476c22bb47160531553184a936885c1d91f1608f180fe093f5ea9d61796094b14657f14c0226e52dcc41e6c3f6aa1d87f7b385 SHA512 777d350d9a0d17ec8b2acdbe37ec4b6a71a7801f54dad99c408c8b2bf199bcabb67f62067f562b6c9f5bf3f6d06269cf983667ef8ef7d14b1af6278b5204ef48
|
||||
MISC metadata.xml 299 BLAKE2B 3fb7a374afb6ce5b06c3272f2cb25ef4f05614ed59835b4d28b8e9f97a8027a349779215c26c6bccc1d26ef0413d9b662eddb9ba1e0b7dc6085818994fa72ac6 SHA512 32d0280896d9452574a1ca6ef923aee59cf559e2b9023a4b6986c735bc327df57eb2c73183f5cb660a991e2f41268f0477b24a7e68a81d283fd68c1d2a6ff6a8
|
||||
|
@ -0,0 +1,114 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit autotools readme.gentoo-r1 systemd
|
||||
|
||||
MY_P=${P/_beta/-beta}
|
||||
DBV="20080531"
|
||||
DEB_PATCH="53"
|
||||
|
||||
DESCRIPTION="A simple utility to read the temperature of SMART capable hard drives"
|
||||
HOMEPAGE="https://savannah.nongnu.org/projects/hddtemp/"
|
||||
SRC_URI="
|
||||
http://download.savannah.gnu.org/releases/hddtemp/${MY_P}.tar.bz2
|
||||
mirror://gentoo/hddtemp-${DBV}.db.bz2
|
||||
mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_/-}-${DEB_PATCH}.diff.gz
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="network-cron nls selinux"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="selinux? ( sec-policy/selinux-hddtemp )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="In order to update your hddtemp database, run:
|
||||
emerge --config =${CATEGORY}/${PF} or update-hddtemp.db (if USE
|
||||
network-cron is enabled)
|
||||
|
||||
If your hard drive is not recognized by hddtemp, please consider
|
||||
submitting your HDD info for inclusion into the Gentoo hddtemp
|
||||
database by filing a bug at https://bugs.gentoo.org/
|
||||
|
||||
If hddtemp complains but finds your HDD temperature sensor, use the
|
||||
--quiet option to suppress the warning.
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${WORKDIR}"/${PN}_${PV/_/-}-${DEB_PATCH}.diff
|
||||
"${FILESDIR}"/${P}-nls.patch
|
||||
"${FILESDIR}"/${P}-iconv.patch
|
||||
"${FILESDIR}"/${P}-dontwake.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mv "${S}"/configure.{in,ac} || die
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
myconf="--with-db-path=/usr/share/hddtemp/hddtemp.db"
|
||||
# disabling nls breaks compiling
|
||||
use nls || myconf="--disable-nls ${myconf}"
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
insinto /usr/share/hddtemp
|
||||
newins "${WORKDIR}/hddtemp-${DBV}.db" hddtemp.db
|
||||
doins "${FILESDIR}"/hddgentoo.db
|
||||
|
||||
update_db "${ED}/usr/share/hddtemp/hddgentoo.db" "${ED}/usr/share/hddtemp/hddtemp.db"
|
||||
newconfd "${FILESDIR}"/hddtemp-conf.d hddtemp
|
||||
newinitd "${FILESDIR}"/hddtemp-init hddtemp
|
||||
systemd_newunit "${FILESDIR}"/hddtemp.service-r1 "${PN}.service"
|
||||
systemd_install_serviced "${FILESDIR}"/hddtemp.service.conf
|
||||
|
||||
readme.gentoo_create_doc
|
||||
|
||||
if use network-cron; then
|
||||
dosbin "${FILESDIR}"/update-hddtemp.db
|
||||
exeinto /etc/cron.monthly
|
||||
echo -e "#!/bin/sh\n/usr/sbin/update-hddtemp.db" > "${T}"/hddtemp.cron
|
||||
newexe "${T}"/hddtemp.cron update-hddtemp.db
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
||||
|
||||
update_db() {
|
||||
local src=$1
|
||||
local dst=$2
|
||||
|
||||
while read line ; do
|
||||
if [[ -z $(echo "${line}" | sed -re 's/(^#.*|^\w*$)//') ]]; then
|
||||
echo "${line}" >> "${dst}"
|
||||
fi
|
||||
|
||||
id=$(echo "${line}" | grep -o '"[^"]*"')
|
||||
|
||||
grep "${id}" "${dst}" 2>&1 >/dev/null || echo "${line}" >> "${dst}"
|
||||
done < "${src}"
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
cd "${ROOT}"/usr/share/hddtemp || die
|
||||
|
||||
einfo "Trying to download the latest hddtemp.db file"
|
||||
wget http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db -O hddtemp.db \
|
||||
|| die "failed to download hddtemp.db"
|
||||
|
||||
update_db "hddgentoo.db" "hddtemp.db"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST testdisk-6837474129968d7de13d91e5454bd824c9136e73.tar.gz 637265 BLAKE2B 7d7a2c875db9d34ad5be687ef0ccc8122759c645b30faf6eed7967747e69ac988078ab6c1909007c32c6bf5a879a5bfd00dff3d2d268e5b50e3b60a8b660c636 SHA512 b494e23ccd8f913a9b22f4b803b02af66e94f6971f45e6aea8a0e1dd8549996e7bdd3fafcf70078ebc242f262d064cdc5674d99cb7a367b810c45c0b1c40336d
|
||||
DIST testdisk-7.1_pre20180322.tar.gz 632598 BLAKE2B 741610622c9afa2c41d14e8eb391cbe629a5f7ac102cf4cbf446b0c0d7330cb8482a17c1ce8470aa9d1b0578aac254cf17aa061e21dd831a803152514fab5422 SHA512 fbe699ccfbe31be636d71eda5d1fccb8efb16788bf664e048ee16344c3d3689961aaa7ef4c9123690db695bb7ae3439440bd775ab8b8455500232b2fc6048ebc
|
||||
EBUILD testdisk-7.1_pre20180322-r1.ebuild 2512 BLAKE2B cb68ae32f495fb7ff57c9dbbd3cb63d9c826cfb34e58cd053c32d6797b3632227ad71caf62ea7899bb292c48849a0f6ac5da339cea1242b488ab8485226ac790 SHA512 bf6ccce7c91035b45dda4dcc5f651d783600de40a4df78e8ee39f0f0543e8049ec90ec875dd4ced6cb760faa1f8a9eb80da5b23b352f01d208d49c686f3fcd79
|
||||
EBUILD testdisk-7.1_pre20180922.ebuild 2515 BLAKE2B 81cc356d19a748ce835e05fe66a425feaf6b5df216ca74df8e1df9bf3bbbfb9ae3f8bba584dd19869dbaa5120a872ae9f18e4210f657d2875d8dd1fac3a9d1fe SHA512 eb575cac363ad016c9049585d1a78a426297b264c976281a6748d232047283d9716beb73b5c8db447b0ae08b410b0ff5fc7bc2069900e4917a8c02a827ea07fa
|
||||
EBUILD testdisk-7.1_pre20180922.ebuild 2510 BLAKE2B a97d78ddb4fab305cff0a51af1da64e64b0eac1e0811240a67931c0a1b6ffea5d9616f0a57d04495871f1a4d210bd056a363b85c0b91e17eb9f524f5f943ad71 SHA512 7f9f35932b002e410242d3cede3d8e129830c431784ee052a03de3c74ebf1d516c107d3483bf0a8c911f08cd79d2c15431e304cd15711bda67bcbc1791d26e15
|
||||
MISC metadata.xml 555 BLAKE2B 4b56bad0ebd1af77d90c4fa650adba5ae59d06940dff5aa346cb0e9dc9ebfad5324f774cb1afa646e15731b41cb09d7020ee3b6a5a0d941452099b6b7884da75 SHA512 3c47ad35d151d92e4be40cd91c7f0ced271f7b61a00280f536cc70a700d25ae36426593fcb8aec76e9cf1c24ae76dc8290b00bbcb73fa4d95182210fa680562e
|
||||
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
AUX afio-2.5.1-control-file-warning-fix.patch 776 BLAKE2B 6502ffa8200ef12394fe68678b7dd0ed8d61c8ab326eae660cfd1ea91d8c031dd8fe0895dfe41917add268ea3be2d053a5f132dd0033898eab8b606d346b407d SHA512 842c9bac9af3e5ece8c4bab55d5c1fd8f43585eb69e3f689d124e92e1972c5259510a206ba8c34d70f49f8e191ad1ad9b09a1b25efb63ed870c3322d00d6d249
|
||||
AUX afio-2.5.1-fix-build-system.patch 725 BLAKE2B 3ec8c1068d60db73727fabb02eae50005c1aef8db39df977add2ab312d627fbc16b107b1f007fad9be5b97d1afe02ec0fd38c97c80a804464f1e3985868a3f67 SHA512 ccf6af4e1591d9c8e519dcb9016c49c0a8601f2a03949270b205560bb13e90bdbd50079c4e0abcc3e6290a809ffb24455c00ee5cd70c0168b31b1c01b9bfc093
|
||||
DIST afio-2.5.1.tgz 191765 BLAKE2B 48a590c1180942444eb8fc17701563ee822cad9d0ae423e12996e7b3dff16ab7ba13d8041b78fb6415d1a422d14be8ba3443910ae1a57290dca801334ced7ffe SHA512 afa4e01cc9e7da5bff7c96d2da9a41c296e7b89c50484f58a8b011173a99a144a9e77d3ee8136622e490287b99a7ae76c6eba901a2186b5a3a6bab164a37c864
|
||||
EBUILD afio-2.5.1-r1.ebuild 687 BLAKE2B 8c2a97cccf64764bffcb2bc2f48f427f31d66b8a866629ec0e37f96196799bdf818c4afbd631a3d7caed2025d6a98b5897598b0f1afed133113e11d1453d4208 SHA512 f7a87a25cb38074faee92f6a6952b7060d73dd2311c7792f459b45419a995490a8686666525576c0a53300a003d51142fc50295ef105841369c2657cdd07c77e
|
||||
EBUILD afio-2.5.1-r2.ebuild 747 BLAKE2B f0e15e42aea6cde81bbec46cedff260505c10939d6710973cafe6733090790ba6336b591662bf46928ad8daedce763c56ddc8db99a629210a3f26073b0c78d5c SHA512 2c4e948401e1db29a8f80443a1c39941ec236db5c702f49d2621d107ea7953d2d3b2c84872f9525990dcf36b41d41141b5d9c1e17436fb1d945014652567fd00
|
||||
MISC metadata.xml 591 BLAKE2B 1f4dfca240f8986aba12ac0ee887fc49ccb50248c300d318e09807aa2552f6dc642f0f8a629fd34f1156b9e8407f7a429245893f999afc87db90cb9860329fc7 SHA512 ecde4bb37f668f30eedbb5b07a648fa23183d64593595948e6caf575fa78f8c666a406ed33b4d590190203920e1db7368dfc99b95948a7ab7896d12490f50760
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Afio creates cpio-format archives."
|
||||
HOMEPAGE="http://members.chello.nl/k.holtman/afio.html https://github.com/kholtman/afio"
|
||||
SRC_URI="http://members.chello.nl/k.holtman/${P}.tgz"
|
||||
|
||||
LICENSE="Artistic LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.5.1-fix-build-system.patch
|
||||
"${FILESDIR}"/${PN}-2.5.1-control-file-warning-fix.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${PN}"
|
||||
doman "${PN}.1"
|
||||
dodoc ANNOUNCE-* HISTORY README SCRIPTS
|
||||
|
||||
local i
|
||||
for i in {1..4}; do
|
||||
docinto "script${i}"
|
||||
dodoc -r "script${i}"/.
|
||||
done
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
Only in b: 1
|
||||
diff -ubBr a/afio.c b/afio.c
|
||||
--- a/afio.c 2018-03-23 09:16:07.230401966 -0400
|
||||
+++ b/afio.c 2018-03-23 09:20:05.614421756 -0400
|
||||
@@ -3724,7 +3724,8 @@
|
||||
|
||||
/* ASX check if file changed between the begining
|
||||
and end of the backup */
|
||||
- if (*fsname)
|
||||
+ /* if *fsname==0, it was a control file, so do not check then */
|
||||
+ if (*fsname!=0)
|
||||
{
|
||||
struct stat st;
|
||||
/* I must check fsname !
|
||||
@@ -3739,13 +3740,10 @@
|
||||
if (st.st_mtime!=sb.sb_mtime)
|
||||
{
|
||||
warn (fsname, "File was modified during its backup");
|
||||
+ if(index(ignorewarnings,(int)'d')) warnings--;
|
||||
}
|
||||
}
|
||||
}
|
||||
- else
|
||||
- {
|
||||
- warn (name, "ASX no fsname for this name ??");
|
||||
- }
|
||||
|
||||
if(aflag && *fsname && ((sb.sb_mode & S_IFMT)==S_IFREG))
|
||||
{
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-multilib
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/lz4/lz4.git"
|
||||
EGIT_BRANCH=dev
|
||||
else
|
||||
SRC_URI="https://github.com/Cyan4973/lz4/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~x64-macos"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Extremely Fast Compression algorithm"
|
||||
HOMEPAGE="https://github.com/lz4/lz4"
|
||||
|
||||
LICENSE="BSD-2 GPL-2"
|
||||
# https://abi-laboratory.pro/tracker/timeline/lz4/
|
||||
# 1.7.5->1.8.0 has some minor changes; the only really incompatible
|
||||
# would be removing 'const' from LZ4F_freeDecompressionContext() arg
|
||||
# however, it is extremely unlikely that this 'const' would actually
|
||||
# be relied on
|
||||
SLOT="0/r131"
|
||||
IUSE="static-libs"
|
||||
|
||||
CMAKE_USE_DIR=${S}/contrib/cmake_unofficial
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC_LIBS=$(usex static-libs)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,9 +1,7 @@
|
||||
AUX rpm-4.11.0-autotools.patch 503 BLAKE2B e95c7d3b550f24310dd21c6cfd78785017ebaffbad9c2a14947c43e784ddaa349cc77da9ee7fb9e1ce4ee2dec296b57234a74d56c9e08449e067bca403fa7ee6 SHA512 fdec043c3db2315aaabd3da91067a8d299ba564eaf53ba6465840352586f0660a5216cfd291b19398a53b2646f4a0b312076e14e56004d8e941d4ae279d54305
|
||||
AUX rpm-4.8.1-db-path.patch 628 BLAKE2B 69ac0d4541c4d6e74fd716529c4cfd482432d400f84f39775bd585931e786acf45ab7a1da617f0214dcba90c78511ca22fc556896ae1963ec9160787fdaab902 SHA512 12539bbeda99d261890d50304945c7f022681ca0a283c70f17a6b1f188e9e24e9ce05b71d541ed6d951f94576b5183c49c4db784d5016d075a859c1e4dcb9005
|
||||
AUX rpm-4.9.1.2-libdir.patch 1056 BLAKE2B 5be54a8109c2c24fcd0c197c0a62e433047ac4f84c7239fed6ee9830611de98b7a0bf0e7675b861c27a436b73dad64dee674e2780644ad712164beafbfa2276e SHA512 505faa54ccf196891f1e2231c776f8eadf547bf2003a495c90a2e5e4c93e31aadae5bac70541d316643a8aca85a1b2a3dc6b0ae2601834534ccded06a4a5fabc
|
||||
DIST rpm-4.11.0.1.tar.bz2 3670158 BLAKE2B 8190cd760ce86275a27a64aca7622340a2894f4f7aad0171425c7f5d3cfcf58e82c2a792f7d4687fff9270fe3f9c861027b6eea43f3602be8b12098dbccf408f SHA512 72bd3054b2d0def1e25fba7113eda14def38baef62b558e65cafaf3b374823d0905d982772cffddfd9dc6698eff293251acb2ace7dfda0964085669caa88d535
|
||||
DIST rpm-4.14.1.tar.bz2 4103880 BLAKE2B 3fa7579a251b02ec89943b5505ad9ca7303a444eb64b1018fc74bc6dfb1c19d4f30d96189172c4450925f3357174cde70b298116b53b9155223b52a593a67aea SHA512 29e95eaaf40a6ddf7f23446ea6cb8a1dcd12a45d4965595a705cb9130890d772a40ecfa475b189865da51248b3d2414e4f4b1a40cbfd7ca538c482d87c50a218
|
||||
EBUILD rpm-4.11.0.1.ebuild 2739 BLAKE2B 80664cf24466365a81eb4774a49a146327367b20c26fabc11c872ad8c4c22079235ae9dc0ece0956478668fcf47caca1215fe77674f7f06e778eea7003502ef6 SHA512 ecade45798b73e1a573edac06b60dbe0d0e2d4915a13beb41bbdfdc2596e208899bf6b7a36ad1144d65ebf1c186889c6f9928575ff7f5f14516deb5687b2d83a
|
||||
EBUILD rpm-4.14.1-r1.ebuild 3325 BLAKE2B 2fee8b954de059fce00922e09c1da37f4e32da8c7333d8032fc31c9a6a2b978a61c40c4833c723b58c10db6a75e676c1be1c838084409e09c1075e076e050bf6 SHA512 9b991624f7def19b2e06b03a938930239c339fa411662577b20ed4ee744fc750c67fa5c22cc521dbd1c0931778ea9a6d5905db93922830769ab5c179a017383e
|
||||
EBUILD rpm-4.14.1-r1.ebuild 3381 BLAKE2B 2879ce331def5838c70d1103afb61b3ed033f30b90538d0455f27e314d89627b9ac293aaddb1ccd29893118b18ed1eb7e23f8f1386cf8b408847388457e1f648 SHA512 bef11e5de295892100f8005739550960c73c2d6f31f56eaca404761c90f7bfb9eae675b0d97bc465548d049ecee6e241875b703940f43b1d02aa97d133b5ec8c
|
||||
EBUILD rpm-4.14.1.ebuild 3239 BLAKE2B c1067b0afa91bc5902c1f9b0390e5234fb2af252c31ee90a841cfd2cb6b498d7af7dfc438f963fdfb1d6b5fc8f516d7562fd0e3d6d2005edc723098268363a59 SHA512 8f9f4cf67e8b4a389cbe9d78b2a7fea004f96f8e1b15e0243df2d51a5a0c61ba0f356d0c36ea06c8e01e230a171f3e4efdb344253a80358d2a826bbc756b9408
|
||||
MISC metadata.xml 446 BLAKE2B 7d96be70d67580be8b2f1726dc905d9ff4a6d291c6fe72e52bd5c7a4614cc0b61bc3c6dfe12c715558a89554878b20a5df7cd02414275728be15e3bb6f0eec66 SHA512 9a426e6ce042ecd050c19adadfe10c53d72c1ecbf313673c8a5cd66096aa05bf54d0f67b9659ec07be2367f90f9b43028d3b3302fead2fe8f8f55764e17d9dc6
|
||||
|
@ -1,117 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils autotools flag-o-matic perl-module python-single-r1 versionator
|
||||
|
||||
DESCRIPTION="Red Hat Package Management Utils"
|
||||
HOMEPAGE="http://www.rpm.org"
|
||||
SRC_URI="http://rpm.org/releases/rpm-$(get_version_component_range 1-2).x/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
IUSE="nls python doc caps lua acl selinux"
|
||||
|
||||
CDEPEND="!app-arch/rpm5
|
||||
>=sys-libs/db-4.5:*
|
||||
>=sys-libs/zlib-1.2.3-r1
|
||||
>=app-arch/bzip2-1.0.1
|
||||
>=dev-libs/popt-1.7
|
||||
>=app-crypt/gnupg-1.2
|
||||
dev-libs/elfutils
|
||||
virtual/libintl
|
||||
>=dev-lang/perl-5.8.8
|
||||
dev-libs/nss
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
nls? ( virtual/libintl )
|
||||
lua? ( >=dev-lang/lua-5.1.0:*[deprecated] )
|
||||
acl? ( virtual/acl )
|
||||
caps? ( >=sys-libs/libcap-2.0 )"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
doc? ( app-doc/doxygen )"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-rpm )"
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-4.11.0-autotools.patch \
|
||||
"${FILESDIR}"/${PN}-4.8.1-db-path.patch \
|
||||
"${FILESDIR}"/${PN}-4.9.1.2-libdir.patch
|
||||
|
||||
# fix #356769
|
||||
sed -i 's:%{_var}/tmp:/var/tmp:' macros.in || die "Fixing tmppath failed"
|
||||
|
||||
eautoreconf
|
||||
|
||||
# Prevent automake maintainer mode from kicking in (#450448).
|
||||
touch -r Makefile.am preinstall.am
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cppflags -I"${EPREFIX}/usr/include/nss" -I"${EPREFIX}/usr/include/nspr"
|
||||
econf \
|
||||
--without-selinux \
|
||||
--with-external-db \
|
||||
--without-beecrypt \
|
||||
$(use_enable python) \
|
||||
$(use_with doc hackingdocs) \
|
||||
$(use_enable nls) \
|
||||
$(use_with lua) \
|
||||
$(use_with caps cap) \
|
||||
$(use_with acl)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# remove la files
|
||||
prune_libtool_files --all
|
||||
|
||||
mv "${ED}"/bin/rpm "${ED}"/usr/bin
|
||||
rmdir "${ED}"/bin
|
||||
# fix symlinks to /bin/rpm (#349840)
|
||||
for binary in rpmquery rpmverify;do
|
||||
ln -sf rpm "${ED}"/usr/bin/${binary}
|
||||
done
|
||||
|
||||
use nls || rm -rf "${ED}"/usr/share/man/??
|
||||
|
||||
keepdir /usr/src/rpm/{SRPMS,SPECS,SOURCES,RPMS,BUILD}
|
||||
|
||||
dodoc CHANGES CREDITS GROUPS README*
|
||||
if use doc; then
|
||||
pushd doc/hacking/html
|
||||
dohtml -p hacking -r .
|
||||
popd
|
||||
pushd doc/librpm/html
|
||||
dohtml -p librpm -r .
|
||||
popd
|
||||
fi
|
||||
|
||||
# Fix perllocal.pod file collision
|
||||
perl_delete_localpod
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -f "${EROOT}"/var/lib/rpm/Packages ]] ; then
|
||||
einfo "RPM database found... Rebuilding database (may take a while)..."
|
||||
"${EROOT}"/usr/bin/rpmdb --rebuilddb --root="${EROOT}"
|
||||
else
|
||||
einfo "No RPM database found... Creating database..."
|
||||
"${EROOT}"/usr/bin/rpmdb --initdb --root="${EROOT}"
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST dumpet-2.1-15.fc27.src.rpm 25268 BLAKE2B ae80875f08211a825bbc357e4051bf6fcd26d2726b9fc477b61593155080fb460ea3cb6b7c5af519a740436313fa588cfffda7afdba41179a620702693e82ff2 SHA512 bf4b7f2de48590f5ff71ec17a05e331def234a1e57e7e06254c00eb60e44ae8c712e33515e01c6f5fe0bcecbea6e596e4e452ad192823b81dfb7de781d0d4e55
|
||||
EBUILD dumpet-2.1.ebuild 709 BLAKE2B 6cb0812b34c3ee6176400444444441ec9b4160ce77ae401d112e3a0a3713750b28477b2f5fa529a8577667b7b016344e725822646b53a7cb45307beafd4e63e0 SHA512 2a8d8664fb613f5ceefeb5c1ac8b0d5f18970664219a22e7c8133209ae17fd19b78cb4087d5ad03c736ce8b413106cdf1916b152648928a9e08aa6f4ae4a0f98
|
||||
DIST dumpet-2.1_p20140601.tar.gz 20140 BLAKE2B def3e7948096e2543bf24324b17c3b3123b867e750971858cb403732efde6c217fcf1c04955a0dd4ed2f99fdaedecab1becdcc1027645e7a955ed1addf11daa1 SHA512 161911ae136aa81abff5a591593acf421a4101e3f80cb259c5b2190581d5cbd06641eefe4c873d40d1b2adabedb2e42ef7fdd0a6e39ec98e1927550ae8960eda
|
||||
EBUILD dumpet-2.1.ebuild 658 BLAKE2B e58cd552a6a7aad3d24884bcf8021b6fd37f8c95ac53737f35487b9d46ecdb17f802b884d220610a5711d588254b4937d296fa4c14e4fd59abd5cdcec6f344f8 SHA512 e50a277d307c664b440f72d46ed814631144bb7525542b1149730cab1ced4e9d67471dd7bd0e149678b212e64ee7b8bd7ebaad07208dbf56244e268239f3542e
|
||||
EBUILD dumpet-2.1_p20140601.ebuild 706 BLAKE2B 9eb5f6314866107958522a66f8f2543f2f0b2514dfabac5d532c7af7d252a3d309c48feda8628b415b5b49593c1b595cbefcd466a831fda06e1276912b38a5aa SHA512 aa2fa60b30fc95218eaf4b97b629c2e8d06d0642a5188ac884097e61c260adeb96e669eb49109f82ab844d31fb043fe9df9210649c249757cadf3a32213c3423
|
||||
MISC metadata.xml 240 BLAKE2B 5caea4abbcf161615353b1f5ec499ae37ae67f08f6f1d48829d145694359169508d62173c091700e9a65d8ed461216caf12cc6728760784aa364d610250369ca SHA512 ee5c2cad860daff025c5d2bbc7e210767432dd09d1a74fc7b1d5994686d48739b9bfd446bf1ab7b1b92532f82767e722ea3e38d7a502a7a941f6ac5028000ce8
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rpm vcs-snapshot
|
||||
|
||||
COMMIT="8f47670dd582c96ad1b6dd3c9b9da0acebded5d8"
|
||||
|
||||
DESCRIPTION="A tool to dump and debug bootable CD-like images"
|
||||
HOMEPAGE="https://github.com/rhboot/dumpet"
|
||||
SRC_URI="https://github.com/rhboot/dumpet/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/libxml2
|
||||
dev-libs/popt"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
sed -i Makefile \
|
||||
-e "s/^CFLAGS:/#CFLAGS:/" \
|
||||
-e "s/^install : all$/install :/" \
|
||||
|| die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake dumpet
|
||||
}
|
||||
|
||||
pkg_setup(){
|
||||
tc-export CC
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST dvdisaster-0.79.5.tar.bz2 8224726 BLAKE2B 443816b550a627ce1998eae71c6524c17105c7253af1e1591eae06055d342afc4457b847c53bfb857793676fc50ca9c5c7f33dafaf541c92e84f149a2987d632 SHA512 8630d4389983307afc3faa5b4256f531ded370f84ec35d4a363853dc7d79e5e15ee0b81bf64f4b88f57fe6176537df8195f83acf23e770d991c700b7408dd1f5
|
||||
DIST dvdisaster_0.72.4.orig.tar.bz2 5097738 BLAKE2B 77027d8f5c329525c69acccb0a1c780edc2abaae577473442259bfc3650a78d1443a30793c3fd9bbefe4d542bd7f77edaaf35f11d5285832405cdfeb9e8c225c SHA512 aa0a9f3040d45b16a9117b2b6756d2423cf55db4a00e8314a164f6dc32863cd4e5a5b5ec009a56782aa2afe6031e3a32954014101abc67291428e9edea1b5272
|
||||
EBUILD dvdisaster-0.72.4.ebuild 1787 BLAKE2B ad76b0d46ec89a633409c0c058292f6fd3d0f314d193aeda5aa3b002746b36d2e2e5567af667d52acaf75f393e833bc457a59b069ca3244e18aef36bb4c9c23f SHA512 76413a25bf5acfb4258b7dcf554c743ff96810e1abaec34f0436e0d0ef739cca776d35e16228fc380d1cb54ca641d461365e24d71e40619ca88de1f535473fd4
|
||||
EBUILD dvdisaster-0.79.5.ebuild 1729 BLAKE2B 3de1b513d0a2774f72677812f80b8c2dca818594b98c917554269720910278ecd7e3391665817f9f507025eb1f46d1dde15bd25303ae2f98659d4c6b4b817299 SHA512 cd90ffadc743ce63364b11bb0a2b40b780ee8bd22e145918d2bdc61b08b05e99f792910f73337a96cbb38d12e091220e4e83a03e490ac5c10a42fb41c1af58f9
|
||||
EBUILD dvdisaster-0.79.5.ebuild 1728 BLAKE2B 5b2e6687ec1f3771b567bb6105cfb87a25f0d8d9e3a25188f76756fb97a55578f83d9d684536a3b8a3dbd27b005d30cb58357bfaa2f58272f27efa7c0239c2df SHA512 c18c942b7b23403942784c2184e65ec7362a4ca4a564f40fc31e7faa73e5144632844d4b79853ac58c2715345650c885ccbebd826035330959fc8cc9a854135e
|
||||
MISC metadata.xml 533 BLAKE2B 9db837ca6d8d637bd17eec18ae9f395d5217ca63455d90d1615bffe4a8cf858aa502b144ff9132853895d995db4776d2c9f2108ac3dcc0d6c451b0ad7d82e91f SHA512 d554061a440ce135ad7a799cc9717885f22d2da11bab7c7a755654e93aefa9404d80ed628d669473c411d3f6710eec6149ff2716075f02b99e4cc53f219a8716
|
||||
|
Binary file not shown.
@ -0,0 +1,6 @@
|
||||
AUX 99acme-sh 62 BLAKE2B b9542b99b2e720e0930139f7dd56efc63e596156dca1649624f6f4c27a7d57555bb13deb3b5714aa06477e9ca79996b5f891c8a91ea808d853cc7e5d5655b0a0 SHA512 b7fc9402e3bea3ca846bdb82d6f21d1b7023bb2ace8d5ffd146959cd12e3270243fd22e3a7dde9b6cefae8f2cbca369b35d2da4ea9f1e60a2f61ae81612d8bc5
|
||||
AUX acme.sh 63 BLAKE2B 50c3284c0172ff0a0dc57fcfbaba57a6518d7c043b5d052f2710b28229b9b13313e7ca7c8b644ea273eb2f4991246631e70e6184fb5489005be12b77b8efa229 SHA512 7ec0764c86db5c68c42189a8af708e769189df201fdf017bd0d8d9e322ab71c2f422be382d170a1f4b876a1e5a6629eb55df0c564abfebab665e27e58660ff6e
|
||||
DIST acme.sh-2.7.9.tar.gz 110323 BLAKE2B 244afad17ddf17fa95a11d5af7943a153ed37e67ef304511787767a5d769f9cd22fb66875d637f2d536cce8942e4feee0c442af8349a32a91940b1fbbc2e879c SHA512 24374783ca52835b400b84316ffab5e9066805362f02082f8ef409e21ca590d837b3dd11401633947f9fcc98dc977b0e8b6076d5deecd02b38478f257500a052
|
||||
EBUILD acme-sh-2.7.9.ebuild 1044 BLAKE2B f64a6b2dd8e6f71dafbd4179d7fb2841c282e7dabe857c4d23948e832508ef44a3169e42844804fbbe121ab8dec4e05524dd48cf672de9b41c134bd5816060db SHA512 942ab62d93e3209d2e104b8e851fda138ca88788e477994bc1ca90dbccd1bc550cadb5f5163542ea65226e3e57088004a198d838097f9d757acccb98b4c19575
|
||||
EBUILD acme-sh-9999.ebuild 968 BLAKE2B 8145bf971f9d990d0c861870132c2a34d196819682f4378ad5edef0d3cbfb96200824990db9b3c1ed57a5736381260220ccaff07b04a58f734807a56d109b2ec SHA512 6c24d8e509392cf9b1c25b56d4be8cff9b478e0f4eb9c4f57b49deb7fce8c1726b750c86e87fe9ceaf79f11bf12417f2f7abfd4042dcc44843e21229e49e3a11
|
||||
MISC metadata.xml 597 BLAKE2B abf8574531170e1bf807d45682c5a394e3ef11880b23a297b3a440ab1b3eaf2c283d5afac51ef7fb8726203b6303f626e5883f4a258897794a3848e4ade5980d SHA512 f45386c5ef271f698ce540ae61b9dad4ae6d7c624d13310daa2adc353a6145f4abdf19f7a0fc5120ca661668673efa6536297e25a374b65ec06dd8b41a7ebbb6
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="${PN/-/.}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="An ACME Shell script"
|
||||
HOMEPAGE="https://github.com/Neilpang/acme.sh"
|
||||
SRC_URI="https://github.com/Neilpang/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-misc/curl
|
||||
|| ( dev-libs/libressl dev-libs/openssl:0 )
|
||||
|| ( net-analyzer/netcat6 net-analyzer/openbsd-netcat )
|
||||
|| ( net-misc/socat www-servers/apache:2 www-servers/nginx:0 )
|
||||
virtual/cron"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
newdoc dnsapi/README.md README-dnsapi.md
|
||||
newdoc deploy/README.md README-deploy.md
|
||||
|
||||
keepdir /etc/acme-sh
|
||||
doenvd "${FILESDIR}"/99acme-sh
|
||||
insinto /etc/bash/bashrc.d
|
||||
doins "${FILESDIR}"/acme.sh
|
||||
|
||||
exeinto /usr/share/acme.sh
|
||||
doexe acme.sh
|
||||
insinto /usr/share/acme.sh/dnsapi
|
||||
doins -r dnsapi/*.sh
|
||||
insinto /usr/share/acme.sh/deploy
|
||||
doins -r deploy/*.sh
|
||||
|
||||
dosym ../share/acme.sh/acme.sh usr/bin/acme.sh
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
EGIT_REPO_URI="https://github.com/Neilpang/${PN/-/.}.git"
|
||||
|
||||
inherit git-r3
|
||||
|
||||
DESCRIPTION="An ACME Shell script"
|
||||
HOMEPAGE="https://github.com/Neilpang/acme.sh"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-misc/curl
|
||||
|| ( dev-libs/libressl dev-libs/openssl:0 )
|
||||
|| ( net-analyzer/netcat6 net-analyzer/openbsd-netcat )
|
||||
|| ( net-misc/socat www-servers/apache:2 www-servers/nginx:0 )
|
||||
virtual/cron"
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
newdoc dnsapi/README.md README-dnsapi.md
|
||||
newdoc deploy/README.md README-deploy.md
|
||||
|
||||
keepdir /etc/acme-sh
|
||||
doenvd "${FILESDIR}"/99acme-sh
|
||||
insinto /etc/bash/bashrc.d
|
||||
doins "${FILESDIR}"/acme.sh
|
||||
|
||||
exeinto /usr/share/acme.sh
|
||||
doexe acme.sh
|
||||
insinto /usr/share/acme.sh/dnsapi
|
||||
doins -r dnsapi/*.sh
|
||||
insinto /usr/share/acme.sh/deploy
|
||||
doins -r deploy/*.sh
|
||||
|
||||
dosym ../share/acme.sh/acme.sh usr/bin/acme.sh
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
LE_WORKING_DIR="/etc/acme-sh/"
|
||||
LE_CONFIG_HOME="/etc/acme-sh/"
|
@ -0,0 +1 @@
|
||||
alias acme.sh="/usr/bin/acme.sh --config-home '/etc/acme-sh/'"
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>spiderx@spiderx.dp.ua</email>
|
||||
<name>Vladimir Pavljuchenkov</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
A shell script to automatically issue and renew the free certificates
|
||||
from Let's Encrypt
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">Neilpang/acme.sh</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,4 +1,4 @@
|
||||
DIST libmd-1.0.0.tar.xz 254852 BLAKE2B af0d3c645a18262965e708d678cb30c7ed168af8055885b08084fafd7299e9aaea95efb8437ffa756e43c5bb75fac99af067c6a560f3bb2b8b93ee889d5e664b SHA512 54c3cae1308f7686a1f642d25ae5d8cfb0fce2b98b33cf5e2891682893715c7de7e9700c70a6bd7e4ab4cf7f54c87643b259319e09e03f529b70d273477fc8be
|
||||
EBUILD libmd-1.0.0-r1.ebuild 595 BLAKE2B 0a4485c00fb5c200cc0e6931378b644f7225c3f9b28c91e3113b257ba0169301f1a7643901b25b39f1fca299edacdefd434ab9cc1a01f0f6719540fbc1fadd7a SHA512 6dd7ea76c925d659279b373f985f295d47ec302640176a4528bef3edce09e8140945f2ca66b43f2b5f28387a114cc8cc89ad198d5540f23cdd900ee44f0300a9
|
||||
EBUILD libmd-1.0.0-r1.ebuild 602 BLAKE2B d32db5fd5e30d1631edd14ba23e3acd42d372a1155b1539d15a7b1876ca80ea3692aa7af0b04bb8d811c80bb8371d047d4ec6d41a799b04304961ce76b4f2c55 SHA512 7be5cad811559162ea98e7e40fca972491d14d03fa3312356f0f80902a1bcdace2168f0ff12d762effb7ad31a786edd4b36dad0d48da6b3e38270fe635f12a4e
|
||||
EBUILD libmd-1.0.0.ebuild 386 BLAKE2B 03798470d2403edab2cb52c6dd7f36abf86ae1590642b7a46c5166adac60e272fae28f72f0384a2bf80763f2d814211b0aa4d562a43829a9236b1a47f4637107 SHA512 6a7cdfc8a8a1a271e328d03f60634b94e3901684af86659996b082a3ecdc858c7b8345d66edfcd0667863bb964f61d116ceb5e9850599409d362906692762b74
|
||||
MISC metadata.xml 217 BLAKE2B db2fea1f008893d22d3d43f938c7b7fc7c035cfe58b04e1652b74e3c6a6f35754cfee5351ab5cfbfe286f03ff558b83167764305186d6a15ff10dfa29639011e SHA512 d1543d516a9e55d1985a460e7b21735cb30b977ba2ee097a43bd220c1bdab573baba004968a2d027d99f1222d3fc06931154e70e47b60a61869da05137af20ce
|
||||
|
@ -1,4 +1,4 @@
|
||||
AUX ssdeep-2.10-shared.patch 174 BLAKE2B fff5447389ca80a63bf8ac422ca8c06aa1d17715bde05e00e9922b57004f807a435cef58d2d32af269eb39c764ba53b81daae4b745f69f74754f83f13923ee21 SHA512 9429c38e22cf100809062818c286419d141089e0dd081c11034d7f62143ef9fe2d2bac0ad67104d448c387b7bd4b84ff364933f363faae3dda527e5e8390ad1f
|
||||
DIST ssdeep-2.14.1.tar.gz 408831 BLAKE2B 7e0709a18876a192568e37d1deb63df11f2feadaff7b53c3bcb3a9f2566b18897e50b7543a29ec5cd3132981bcaf4609615793f31fa9cf654334e8fc5a90afac SHA512 a8f87e21f654d482a67709da273cf58808af377cfcb20f189986bad58530e382f8f1d3a5eaf33aa02284015a6fa7ccfc7fc383e487de6e0e4f57405a16537217
|
||||
EBUILD ssdeep-2.14.1.ebuild 765 BLAKE2B 535dc796288c48c225446abbbb0550d406233b4e682334d7ba33c48d61e5128c0faece59e4aa9daafdd7c82cfb77203b65c6be699aa495e434f842b856de01c8 SHA512 afd4903e5d3a6a1edb6eb0470ed4bf31d8a393fb104ebcb5b61e2986fefd86a47cbbede37905d0ddb73d154fca16911f998502a1df4159da183b266c77b38a3d
|
||||
EBUILD ssdeep-2.14.1.ebuild 764 BLAKE2B 2c00880ebae052c3fd6663147e44060beeacf9274b8fb24b2d7b1be57bd925daabe7e9796259b5b14fa14830d80d6086b6d9650f1e104e2b7a013afac1a1f20b SHA512 ecbb7c3a599fc47751a3b7cac607b2c4f9b2e4d272005310f7a226300082c564575a6ddcfaa765f8cf12d9c73fe6b7ad458f92ca59b4d27940c168a5f1142bf4
|
||||
MISC metadata.xml 316 BLAKE2B 1916bbf9c489db6a30a7ee238630b4c5b137c1d795ab18183761dd49a5d7bdd40c970c916201c6e217435569f35e7e74ade29f1c3b65b43997dcc0f0f9625d4a SHA512 3fd64f3472e5d036fb4617b2f44d074eff34eeb940cc90c55334712f745b5f4abe02939f423fbf5e28ab6b4eddea2655016711efeffd4707932fe136b0562707
|
||||
|
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
AUX leafpad-0.8.18.1-fdo.patch 557 BLAKE2B be91b5e3c6159701303254d6c7c753dce3b19eb05046f097470b83ac0f21c52bc05da4862dedb05f658fd47efa8d349a4ee5b3361192076abe6ed451497ae7e3 SHA512 db3badb11cb1244035f988c7a512a0fc2559fdd0afa4c7fe432e3d600648526f9f19d42c939466325931819e229eecafb49b4c75837a01d122eac214fd66de32
|
||||
AUX leafpad-0.8.18.1-format-security.patch 821 BLAKE2B 2b26cdc2ddc6cd0047c40fcf0b4c1f4bab4aedd422169ccfcf88c58db60320f7fa75367ba6a6d46ba9fa28c6d7275f79dbadafb393e0e7e8f78352ebc7574c03 SHA512 d8a39dc2412055a41eeb7966ff7e3884489d584726501233f67d8d56bded6e50467bcc60a4c2d0be972c0eb6732d9bdc7d00f69845737b049e8b0cc046f87a64
|
||||
AUX leafpad-0.8.18.1-truncate.patch 590 BLAKE2B e12eec5436ba8bf2972a8e0bd09fff7a762e14a9a6a5ffc12817e6c051e6b702c8fa0c0b3fcc554759e4f88d58614f63956d3f4cd9580c7ba09d9a8f65892c2a SHA512 f2c3fcaeeeec9eee0dac5088c40c675deb2b01f313125443f76a869741dab5f88ea181a6b29b8f6ad1f8bbb708887cd10ee1162e121ef5029a4a43eacf14a7fa
|
||||
DIST leafpad-0.8.18.1.tar.gz 289117 BLAKE2B 41f01f9b9e031c749a4b1a06d32edbcf9b0f0a694141c79bb462fce29d59f87efa52bc4a7faf270ce28f04697deb6350fe4e26317d28450d7d785a01007c06c2 SHA512 1caad712967f634f585ab32e406534b5ce2c5621008c1eb5b2b48f17ca0f48cd834ea2ea1c67eda4053fa84e8727ff0e708e99d3b5dad838dcf0701389788257
|
||||
EBUILD leafpad-0.8.18.1-r1.ebuild 898 BLAKE2B 5ce31f8a162e5b56b9bef2045fb09f325aa401200d27be22aead77cbfaf42e0638f3e5f5407edfb5c0464b6f528ef4d5bd66892a804f9290a92d1f04e86a57bd SHA512 cf295724965db1a6da2852bb2ab3337c866e6da35638899b2eb0131b2033e92b83ad7b853d824d5098bfe7f7d4f639772a57cf4ba78cf2198c035924fae6f63a
|
||||
EBUILD leafpad-0.8.18.1.ebuild 826 BLAKE2B 51a19dda328c9d214a88a45f1df00462730fcfc758cf29650c4e587d2e8b2e0c6371f556f2aec9150ad6eb2dec2d6534122d63cfeed4701d7e9a0c2e9cef075b SHA512 08dc550cdec48dc11200f548341120674c6f81c17808dd99792f14d9b67191335a60d6b28b7ef80b86434d11fc3dbc7a7382944228bfed678e74f1b769a6e840
|
||||
MISC metadata.xml 205 BLAKE2B 14c07c010c87fb27c21a84c8c1a03a4f7a145a8de84571b9a112a7bbf9f0677a8cb7e02a61d9d9dc322174839e0f5e6c721a07988a835b189ac6fb97c39527ce SHA512 e94eb3d2eec0ffa8543112e75899eb7f2c582d2e5615a82b568e907e488f0a8b400946550ae39c7d278a8fa8c8912e6221e3013868ce7e218abbcf76b57cb693
|
||||
|
@ -0,0 +1,20 @@
|
||||
diff --git a/src/file.c b/src/file.c
|
||||
index 5e44a43..4c90a37 100644
|
||||
--- a/src/file.c
|
||||
+++ b/src/file.c
|
||||
@@ -190,6 +190,7 @@ gint file_save_real(GtkWidget *view, FileInfo *fi)
|
||||
gtk_text_buffer_get_start_iter(buffer, &start);
|
||||
gtk_text_buffer_get_end_iter(buffer, &end);
|
||||
str = gtk_text_buffer_get_text(buffer, &start, &end, FALSE);
|
||||
+ gtk_text_buffer_set_modified(buffer, FALSE);
|
||||
|
||||
switch (fi->lineend) {
|
||||
case CR:
|
||||
@@ -229,7 +230,6 @@ gint file_save_real(GtkWidget *view, FileInfo *fi)
|
||||
return -1;
|
||||
}
|
||||
|
||||
- gtk_text_buffer_set_modified(buffer, FALSE);
|
||||
fclose(fp);
|
||||
g_free(cstr);
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit gnome2-utils xdg-utils
|
||||
|
||||
DESCRIPTION="A simple GTK2 text editor"
|
||||
HOMEPAGE="http://tarot.freeshell.org/leafpad/"
|
||||
SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="emacs"
|
||||
|
||||
RDEPEND="
|
||||
virtual/libintl
|
||||
x11-libs/gtk+:2
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-fdo.patch
|
||||
"${FILESDIR}"/${P}-format-security.patch
|
||||
|
||||
# https://bugs.gentoo.org/657462
|
||||
"${FILESDIR}"/${P}-truncate.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-chooser \
|
||||
--enable-print \
|
||||
$(use_enable emacs)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
AUX xmlcopyeditor-1.2.1.3-no-automagic-enchant.patch 597 BLAKE2B fe33a2ca16954fbfad90b19edb6c9e161fda4fc26650a4cccbe717bc23143dc54fe5689b83e135f16d1e3fc57c8794eb01e2760db927917fd1f858140d712d5b SHA512 e859277afe276a2e358a011a7c1a9d61e554463ebbe79985bcc159b49495eec076f24595b3b43ae3a3210797f59a92b9944f1a59754556a8322a9ec1d0d5d7d3
|
||||
DIST xmlcopyeditor-1.2.1.3.tar.gz 4266907 BLAKE2B 52e8c27a37edbcc0da46b52443f5b6754252a62f1abb7746e724270dd5cd9a2db4de60e68d495008ef55a18e9c25149825c9b26c5fd6e20d8e3937931de64e74 SHA512 1adda58bc262cd22898ba22eed3cad9f4a51f199e779172af2d51c5d7bf6dac072b9015b90906236de83d7acebe29d0aae6ae73998ec9d9b3c58b02f081e0b4d
|
||||
EBUILD xmlcopyeditor-1.2.1.3.ebuild 921 BLAKE2B 1011f90af104285a39642c5d8d04f8dcef32d7523f4fcd07f8c39b887aed86bd5547173aed2a700b528089df8b97e3bdc0f42f62d7ee00dfd927dfebc9418e76 SHA512 c226e815d601d6551bc97a85d731379fb627d64a49f0e8a6e3993b4667968604fa3882b7a94b75713f0ff4f417038f71ddd92a3f34e0c0abc824aa242cc0e3c2
|
||||
EBUILD xmlcopyeditor-1.2.1.3-r1.ebuild 946 BLAKE2B f14b5b0458bd945036024ba1e60e6cdd93657e89c2f8c6f9c9dfc1121b83ac84acec69a9313223942571258cc9b8376641dcd40cd67f1709ea6ddca2aa280130 SHA512 7ce718160893430a6bc75e5a052798013964f28b15409f08e4d499068b58199c208292e6b6c9fe042dcadb9a17ca1cad62edcaa488ae0e3438243ced97be60a8
|
||||
MISC metadata.xml 299 BLAKE2B d4eb8befeca3801e2b1c8762bc4fca6556be50259e1147ceb1f69ea9d952415e608c5c8bd117947cf1a67420ffa9a86dde85c1d1d3b388f59634764702b909e4 SHA512 8dd8d77282bf225c1d1f040808c10b766a361ac70d0c27a643d1c7a8654e2737570bd3f58238c907047decfa88ccb904ba2399d700fbbe04409c2269b89d9ef9
|
||||
|
@ -0,0 +1,19 @@
|
||||
--- xmlcopyeditor-1.2.1.3.orig/configure.ac
|
||||
+++ xmlcopyeditor-1.2.1.3/configure.ac
|
||||
@@ -139,13 +139,9 @@
|
||||
AC_CHECK_HEADER(expat.h, ,
|
||||
AC_MSG_ERROR([Expat headers not found]))
|
||||
|
||||
-# Check enchant is available
|
||||
-PKG_CHECK_MODULES(ENCHANT, [enchant], [CXXFLAGS="$CXXFLAGS -DUSE_ENCHANT"],
|
||||
- # otherwise Check ASPELL is available
|
||||
- [AC_CHECK_HEADER(aspell.h, [ASPELL_LIBS="-laspell"],
|
||||
- AC_MSG_ERROR([Aspell headers not found]))]
|
||||
-)
|
||||
-
|
||||
+# Check Aspell is available
|
||||
+AC_CHECK_HEADER(aspell.h, [ASPELL_LIBS="-laspell"],
|
||||
+ AC_MSG_ERROR([Aspell headers not found]))
|
||||
AC_SUBST(ASPELL_LIBS)
|
||||
|
||||
# Check gtk
|
Binary file not shown.
@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils systemd udev python-any-r1
|
||||
|
||||
MY_PN="qemu"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
SRC_URI="http://wiki.qemu.org/download/${MY_P}.tar.bz2"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
|
||||
|
||||
DESCRIPTION="QEMU Guest Agent (qemu-ga) for use when running inside a VM"
|
||||
HOMEPAGE="https://wiki.qemu.org/Features/GuestAgent"
|
||||
|
||||
LICENSE="GPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/glib
|
||||
x11-libs/pixman"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.5.0-sysmacros.patch #580924
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
tc-export AR LD OBJCOPY
|
||||
|
||||
local myconf=(
|
||||
--prefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--libdir="/usr/$(get_libdir)"
|
||||
--localstatedir=/
|
||||
--disable-bsd-user
|
||||
--disable-linux-user
|
||||
--disable-system
|
||||
--disable-strip
|
||||
--disable-tools
|
||||
--disable-werror
|
||||
--enable-guest-agent
|
||||
--python="${PYTHON}"
|
||||
--cc="$(tc-getCC)"
|
||||
--cxx="$(tc-getCXX)"
|
||||
--host-cc="$(tc-getBUILD_CC)"
|
||||
)
|
||||
echo "./configure ${myconf[*]}"
|
||||
./configure "${myconf[@]}" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 qemu-ga
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin qemu-ga
|
||||
|
||||
# Normal init stuff
|
||||
newinitd "${FILESDIR}/qemu-ga.init-r1" qemu-guest-agent
|
||||
newconfd "${FILESDIR}/qemu-ga.conf-r1" qemu-guest-agent
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/qemu-ga.logrotate" qemu-guest-agent
|
||||
|
||||
# systemd stuff
|
||||
udev_newrules "${FILESDIR}/qemu-ga-systemd.udev" 99-qemu-guest-agent.rules
|
||||
|
||||
systemd_newunit "${FILESDIR}/qemu-ga-systemd.service" \
|
||||
qemu-guest-agent.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You should add 'qemu-guest-agent' to the default runlevel."
|
||||
elog "e.g. rc-update add qemu-guest-agent default"
|
||||
}
|
Binary file not shown.
@ -1,10 +1,12 @@
|
||||
DIST libpinyin-2.1.0.tar.gz 246219 BLAKE2B cae5b41faeb2e0eedc2ae2c098b2db04b22e36d0bd9fd222a4516f71ab9b3e8ade7fa96e0d6d898e197bf91c1cb6a0b98a9fff97e7be31bb4f901400c87bfea7 SHA512 e6aa3998ac466cb155750b574140dd43673bfeb4f13d1b88c4892b61bb773aee84610dd67ad17871961d51a48067c535eab33a6fb6c9ac28179a9958c4e9b518
|
||||
DIST libpinyin-2.1.91.tar.gz 256045 BLAKE2B 148a2617cbe335ebda5b9fb26f63f7c75f06d2dfd3fb950f60b4db37762a5bb3a91459dba0759abd33fbc01d38fe26d7cce92dfaaa2c6e45c80552f0bbeb3d27 SHA512 568b263726a022bdca52fd54c7583a36a31385a8f19bb5c5903918a6036c5499ef8c8bb91ebb2db877449ec5177d2d4e4f0a20e7bb528534361ba1405dd1fd92
|
||||
DIST libpinyin-2.2.0.tar.gz 256221 BLAKE2B 72c0dc42ca6e63852c92975b871706d24c1066cb9bb37faf9ff0ccde9773308e1a29c7587f00ab337c52a1f957c8e67d6241bdff13a50d9dbf73c3b4e530d2be SHA512 7327e6726acaf984492fdecb5ed04f81624da261aeac3cbea9a8ea5540d84f39ca8d41ec8835b509da97b9de5837534885e4ba5f4041ce9c7252c8a438480598
|
||||
DIST libpinyin-2.2.1.tar.gz 256262 BLAKE2B 4fc081aa42b07eb7d21277c95407eafbf618c9aaf0c6707893f212be70f51d43fe00f50d1b4758d857d0f8aed1e9c177d61d6ca912e776633e8179279f09fb2e SHA512 d323655419aaceda12d794ac25387a2e073e8c2372511913febd5b8049f9d1764a0011cd97b538bbfb14f5c248495a150cf7e3b9f4af21182941e5920f2d879f
|
||||
DIST libpinyin-model14.text.tar.gz 19361973 BLAKE2B 702f0c2cb0c8157758f8c46e7b47221475f2a96a5e4f6181b5dee605bd72002827431f017a913275b4e9cf6b4b07bccec4b9a5b7960a9b2c42ffba4631c57ed6 SHA512 792d3cf7ab7fdea701737cea66d18f697015f19d18b6d26273db2da0ae28291f38b3d8a5717f595da63fbe573921c552bdce10c4bec9a0834947dfec92265da9
|
||||
DIST libpinyin-model15.text.tar.gz 19361973 BLAKE2B 3d24321db407e28c1adf49373dd9bacafe0e89409511c0656d7b9a85f1d1ac8693249088dd99beef069576f4a8d0d5db3fd47f98822b32aa3098315cf2660d22 SHA512 d3f5b42f6ea6b22570b5ba67cf23d94a3fee2d7d894191ebc11eb72edc162c72b90b2fe10b312bfd8d77d110654ee5dc00c21b25fb8b7c3f905d4088c9895ac1
|
||||
EBUILD libpinyin-2.1.0.ebuild 1336 BLAKE2B 278b7906485b7cbc0f4b3d2ae89af99a074cd9ad9a773521e3df1eeb869b8035e6a971cb8745fde6a659455b467a7bb63b29cc45cb883edd7906839dfcbabc60 SHA512 2c750d9f7dba999d155f0a1f587a12aab7fc4f0356ce2a241b8a884539732d3ed310ce5b7ada5226b519e18a8335cc7f9fb9bca41700c60049bb2c291af545ae
|
||||
EBUILD libpinyin-2.1.91.ebuild 1395 BLAKE2B e14ab61ce077f41ddefbf6d28231d9af8a4f1ecc5435ac46536a7c8c3c3af799c6bf7ebbcfe10c26a35a354f89ec9595e90d88d8393e265004cceff57c0bd67c SHA512 62eb6b628fa4dd91a89ebbf1c6d894b646015f7a445d4f96283ebf14a80ffad4b6fc17cf7f81848f482c2a9c595221f73d5208a0805fb15ceac7ce07d29ff0a0
|
||||
EBUILD libpinyin-2.2.0.ebuild 1395 BLAKE2B e14ab61ce077f41ddefbf6d28231d9af8a4f1ecc5435ac46536a7c8c3c3af799c6bf7ebbcfe10c26a35a354f89ec9595e90d88d8393e265004cceff57c0bd67c SHA512 62eb6b628fa4dd91a89ebbf1c6d894b646015f7a445d4f96283ebf14a80ffad4b6fc17cf7f81848f482c2a9c595221f73d5208a0805fb15ceac7ce07d29ff0a0
|
||||
EBUILD libpinyin-9999.ebuild 1365 BLAKE2B 5f01c5204f4d9ee246c43636fdf77f73a9001d64412c783d713c47e192fcbdbf6c3f9726a424e6f632450f46215188793d454de4bc7e0497d430b97857d3b718 SHA512 a65a580228b8f0024366c4462aee347182b233d736231234bd8ecb5bfc2d6733860019ce3be354f0e830259bcd8b253705b1eb382f8914c42d72e911ec6650fa
|
||||
EBUILD libpinyin-2.2.1.ebuild 1400 BLAKE2B c5d00bef579b915ee237a6a846e37cf4a88171e2730d3762d51ca38d029e57aae80015d9231ccaa1ddad660ef4ddd81ded9bb12fc990aee8e8f8ae20897bbee0 SHA512 3f973c0331269e9870e26f2007777493bff65b511cd64f9084838f9f985ef8c1536ce6a43dfb7bb23aa2e308270ea97afd9626f6087a719b584db176b73dc386
|
||||
EBUILD libpinyin-9999.ebuild 1370 BLAKE2B e8d09bac832f84d10e84b3f46cf9436d41c752b796c6eb008c04a1ea71d1902a9b90701165dfb9cf4fc85bb56c2830db5b8765f1c9e6ff1d44d0483134ce98e8 SHA512 de49fe3137247ca25e6b175ee3cefa689901de1455698360a513ad732f25e4bb9447a4c5f68c35a8eeb6221e3f10266d4b599bfc8c711966125545dd6a4a0136
|
||||
MISC metadata.xml 384 BLAKE2B b3f62b356f505bb69731e6f56d43a080e509b578da0762be6ccc112ed1262446034b82d89cbdcca87d502c006319fd11cb4069804b8d8c12f4263a15bbf4f525 SHA512 4317a502e82b23aa2c66d406148eab83996139b4522f999884559b7b6d15709ded6779dc64aeedc657a1be3cd1337281c9e1297ae22dc6b227aef419dc707518
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Copyright 2012-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit autotools
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/libpinyin/libpinyin"
|
||||
fi
|
||||
|
||||
LIBPINYIN_MODEL_VERSION="15"
|
||||
|
||||
DESCRIPTION="Libraries for handling of Hanyu Pinyin and Zhuyin Fuhao"
|
||||
HOMEPAGE="https://github.com/libpinyin/libpinyin https://sourceforge.net/projects/libpinyin/"
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://github.com/libpinyin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
SRC_URI+=" mirror://sourceforge/${PN}/models/model${LIBPINYIN_MODEL_VERSION}.text.tar.gz -> ${PN}-model${LIBPINYIN_MODEL_VERSION}.text.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0/13"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
DEPEND="dev-libs/glib:2
|
||||
sys-libs/db:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
unpack ${P}.tar.gz
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e "/^\twget .*\/model${LIBPINYIN_MODEL_VERSION}\.text\.tar\.gz$/d" -i data/Makefile.am || die
|
||||
ln -s "${DISTDIR}/${PN}-model${LIBPINYIN_MODEL_VERSION}.text.tar.gz" "data/model${LIBPINYIN_MODEL_VERSION}.text.tar.gz" || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-libzhuyin \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name "*.la" -delete || die
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST cdircmp-0.3.tar.gz 17253 BLAKE2B 090e73d2d60ff10e8ba01c77c172b6e4b4603c778f4ad8b29dbcedd8e214f54377c171bc964c14ab4f08dc8e995b5c6b55601f75977b35669cbcfb23d0c19fea SHA512 66fa27a3c06aa4bd6584da2c6a38ad0798f5f10eb9b021080c473d03733bd2dba344549e95c22485bf72536a03a4e91a7497192296b6c297166e47a679cf0079
|
||||
EBUILD cdircmp-0.3-r2.ebuild 661 BLAKE2B 765f4f6ffc232b57178724fecd2f17791fd36977ed6de2b04775011411918d9df3bfd27d4af582780a15e6d13c06c370640a5a7b627d8f75995adba8cd70293f SHA512 b040bfdcb52a22d3579420b993c8a3a02bdf1afbb2e4f20192c6caf17e2675b9925c5dbb29713f99b882c37c8533d4cb72e087f35511f9318ea5764e731d8274
|
||||
EBUILD cdircmp-0.3-r2.ebuild 727 BLAKE2B b5e09d848d206728b43f6ab953eedd87fa3b325536388f71d2ec36a05fc8833e02fba8e5a8da521142247a10d7469e5b389d8fe2f2e4a61dcf5cc3af4bd19905 SHA512 31a4cb6ef8f315c3d0ba171e07f3493aa8b02d33ddd9fc328f645c169c710439a89507bbd40b4721c88e05007fb1daa57fabed5b27df90652ad3b4ed28a7920a
|
||||
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST gnutu-2.5.tar.gz 287100 BLAKE2B 1e5c140e33097643dac12c1018468f34946d232237a35d16993a6750a04e71b9a1d5eff4e0e8388de7f22d98cec173107ebdfe276cff5d2969bfd45dbcfac584 SHA512 b3ce4a39ca06cdb18459b64ca0ee167a735ae01dcac155c606d4ee61ace4d128540aa60f5ca2c0a5ed9ed561a7b1ebe02cd1dd4cffe79c3f0cbb8af831fdcd82
|
||||
EBUILD gnutu-2.5-r1.ebuild 439 BLAKE2B f8c4fd6e6eb80a62ab014feeb8526f7ac08e39afe4cd730d620022d2d38e5736b7ec0163ffa8d55e567c686cb0f68bd2c52a7339035ed0c33642827aadc6ad3b SHA512 658c06c9ad74ffbcf4b950edff4b0256271eb85c0717b60e6a30b00e2100d881430e3f1b9b6a678c7599823e2cd850c18d735c315e3f79cf719a25e21c8cae77
|
||||
EBUILD gnutu-2.5-r1.ebuild 428 BLAKE2B a0b098383bfc8b3e0252d8cf3af352b7df77b99aca509384c8d547556658191edf50a08eed991ca646c1dbc80bd4edb38e149a6c1f015e8293b942299352ad2b SHA512 9c47c78124e7e1588ece414a94fe671887363b9420be44e895c875e472f05a5022c8b164944d42bbdb306063f79717bc092acfe153741d768cfa15993a7c9ad4
|
||||
MISC metadata.xml 873 BLAKE2B c317e6972dd81efa9ceebc224f089b9661c77be69894f0062f5e7e93cb5e17967ac683bba1c47332ec6448b6ae05d6db6835d25d3252e631dd893254307e1907 SHA512 c8954a8cd9ba16d5bb61e47ec33eec0c8631ebcffb01e324ddb2fd3cb7de1bf8c989d7a8e209449e99af1e72cd0aa86881ac6f22a63a5b3a63801cd22e15547b
|
||||
|
@ -1,26 +1,10 @@
|
||||
AUX irexec-confd 280 BLAKE2B ad6663659c459811710a257cf357ddd5efbd17c09201c6e3ecc68d680004e8212e76365e09984b6c422fb5fa9603245c7443d1b71bb6064a2ed35734ab6dd630 SHA512 2b33e1044086d11fd6e1f9a204ce925182a3a2b92ef4399610e01702f9c2c8fbc87cae52961123297171eef3d40468ac17437b4281b26a5f3b256c9cebc612ac
|
||||
AUX irexec-initd-0.8.6-r2 703 BLAKE2B c13b5348222f18d9883bc59f5db73ed1aa98f880c878f7059e0f150a9a0903395739a2364c2a9ce8d305f0d363bbc6aa676b20e4f70b941505770e30003897f9 SHA512 2d06c0bedbd2af9120caa54c049815a2bd920054afbcbd6b0bc1a48dab479527aea5e4fc7065428742f8d46032476ee37fb075669e93e16b2df5bfb8b572f86a
|
||||
AUX irexec-initd-0.9.4a-r2 681 BLAKE2B d2bf21ab1fe275bf5afea31a890c1de3300e836879b76c1c33bb40a59d9ad2b33285745a4d0a78f8bc2f589ba44e6fde31c7d07a02d9751e4b13b23975b1d9aa SHA512 0514712ce1a3e147e1c798319f90663baab7509299e2eb35551a716cf208e42b225f8539968bba1bd15270006fb728ff2f458015fb07bf325df8b0e095f5a206
|
||||
AUX irexec.service 140 BLAKE2B 6ee184023b77da18b2447704165fbda27b6b19ae70f0ae99fd3f07f046e80c480fa851a3315fda6c20c5d68c8186d200bb2637ae2249f993338e08ee62b1c345 SHA512 573e037d7132d216f095e4af370cdd020d72eca4ca6dfb1a652d6cd3f533b7d86491469a14d86419406561a6fb6500567e5e38a13b8dd0c99c63ff8494562249
|
||||
AUX lirc-0.8.3_pre1-remotewonderplus.patch 943 BLAKE2B 1041002d814fef683eefd409874783d5d3fc4fccfdc740d6d499628399c86a1b2a99243894752753cb6c0eef549e6293474d13ec0a92cb3c87202fc4b1010c67 SHA512 f1c5b03eafb8fb9d4190e438fb4ca734cac102c7f3a097f193a0a1ac7cdee33b01fb1d794959e00be16c78bb66e34d113f3ff8fb87678e99f82670ec0306e3ca
|
||||
AUX lirc-0.8.4-portaudio_check.patch 769 BLAKE2B 08450f17818ef2525af534345bd5e5544416b0fa6f91a854f98ce0b03667458cb54aa565a581f35169581f4ec7bb71bda365c41b00378bc2c5cac9ec19895924 SHA512 a4e63da5d03f1fbb072679c3a415ae55767d601512f158c5e2fc52a045b632a055b94dca4e9d0d236ceeeb367daf22d4cc71f542229edb4fb13410512a8e4f0b
|
||||
AUX lirc-0.9.0-add-zotac-support.patch 19305 BLAKE2B aa968c0fe02057c3310731bdab00bc196657a826c28746e0038c9b72b85140669fc008b69e90c0bbf28bc222424a149b78014367eea7ccc551cdd53102f139eb SHA512 72ac76eba13ed043630b10adad7a8a0df9183c7b2eeab1cc2bee3f7d6a97d56382debcf61aa4a2d6068d85bbd8d592ee425f34a6ac6eabcbf0a300ed6fb208cb
|
||||
AUX lirc-0.9.0-atiusb_kfifo.patch 437 BLAKE2B c2215e718924e5185cef1f5b80428902c20b3b69d313ee9f8fe0d98d5553bdf03ec64ac359c3e42c78e40c6d9d1b0f38986387e15a95e630796e3b2148688004 SHA512 d072ecd94ed4b7f1662441106650b7eb329cbe62887819c1e607ae87375a17dedea02a3a5dcf6956a1151743fd652ec5884577c595771740eef509daab8dbd02
|
||||
AUX lirc-0.9.0-fixed-font.patch 630 BLAKE2B 39e12cca466fbee96112395104b2055997ec6941465782ecb928de4793cba29203f5f99d280d530fbaadf5d2377d1e25a88e4897c103d3d12fbf0a6cfcd8e6e9 SHA512 782eb14bd540f202a3df71ce801a42b9adca17fa25a79265af6a3b0ed6b503a67b46a0d29ac6b4607862b712a3511a3a3f16cdc7bef70ba1e43967be11971ed4
|
||||
AUX lirc-0.9.0-kernel-2.6.39-fixes.patch 2175 BLAKE2B db4c75de0f7c2de3b99f50b17321ec1cd93bbba480536f533c64d07e8cac8fe1710f03d1f91005e5ff7db52ea906799aaf08ff1a6174fa4a2676d8f6f77da601 SHA512 a502b815cec565a49382e9ad0e7237a9bc7da431f41e94db42d214655577212606500ea2651a298db8cd3a68ce706461e6a773b0d9e3316ac7d49b2038fda354
|
||||
AUX lirc-0.9.0-kernel-3.3.0-fixes.patch 1545 BLAKE2B 400ef11e93b9cc58bbfa7f414df66208d1ad6fe14301b85dd05599b400aa1ecf6299b1e9692945f10f4b7ed085e8e087b0cdf218644bea0b7f785e00959d2be3 SHA512 75743844d7fe61a91174c1d7ee78a229e347659a35d1062a704c39e424d8a433efac4216a0b840282c38a4f2f22baa7a489c1c0402a40f734e7475992046a2ae
|
||||
AUX lirc-0.9.0-kernel-3.5-err-fix.patch 326 BLAKE2B ebfc117d5f1f1abe2a456ea6b5ed730ec22ebe03fee976eaf9005464afbfe5519f290cb5a107946286b8632a695d2f352ddb8581f63c429f75a7080d1916189b SHA512 c3a6e802b140595155a7ae8dc695bc13e4d6147323949a8dc9c86857bf7abcd442339eac64f99869925c308a100bfb1b7b0eb715f086afb8997252164ff079df
|
||||
AUX lirc-0.9.0-kernel-3.8-fixes.patch 2727 BLAKE2B 26601a6e34f0dadad36de1efa9b9a43127643a5c548372d9a64b2b919ddcef3d412ccd4bd59e8c18cd9d5fb9a41efe2d213a3f91397d9067a5851aa84b7832fe SHA512 0db9cbb3aba7d43dc497bc8009afb8335bfe013a06aa6936e1cd357e58c60f545575b06fb6941740d82b496dd4f2ac51b3a165435aee6b3c57107ae62bae7bdc
|
||||
AUX lirc.service 216 BLAKE2B f1ee64926ab99eaeb5604f93d6394994eff97b9e5ae5b32a10d066e143e66278114722e15c3757815911ebc0485fde43c1f10e8abecf4a90550ccf4c08c5aa1b SHA512 c3e43d24f562ba5ac7e0f12d160026ebf5db00fe066d9e28e0cbb6767fb272474103ad271fba10b970a6613f6e4545150d61b7aa096c696fddca4f2db8019e49
|
||||
AUX lircd-0.8.6-r2 1204 BLAKE2B ae4082b6f063d3100865bb3e974d9ebec8f04e08dae8c296c30152f69700924b8850c85687a5cedb3895f52c1e7a576b0855a52e350462a0552da64cd3a7e6a4 SHA512 482fccd204671f6258822029b9eb9a1e22abf02e382b3814f924f171fd1168d46560f52a90727f3de60c27a78158173a4e0c3e848d45e489471c27851c907c05
|
||||
AUX lircd.conf.4 699 BLAKE2B 573b16d756f6df55c399fd77027ebb1e6bec1f28106d1a1d4cb028ab3694350a959486d33b82502a258492882e2fdfcb8f8e5220998ee4e1a503618ec247b30b SHA512 1fb1778f4cc72fc9c11b13a704b3abe80bcce5b3770b69b6b6bea8571e5293adad8c6968779b812e611b67734462c9a577cc71c6b16da3a5bfe31b8007300a62
|
||||
AUX lircm.service 174 BLAKE2B 30db4e9dd3eed5ae896f60d2363d25f5bf11c83b946e668e7b13e31465682405eb1e5bb436c8987a59ddf9be6e0032745a5867cbeca978ccaf9c47e8eb24633c SHA512 8baccd7138fb9095c99f4f0a8ef398114dfa2bba798f23e07d41d6a7433242e2e1f071d44e1b336fb2a36b30c650ed01f2ccdb1ed365e590f85007c012343db5
|
||||
AUX lircmd 364 BLAKE2B 71971476198f92bb2d26cbacc8fe330c4d73e0b36370180cfc6438047339487451b093455761b92660e3f3571c7884b97e6c79cbf7415bff6bcc6ad5198ddd43 SHA512 2f4aae24982a51c54fa59ddd8a48190c11f86ac67fc25bbb599f750be5b91e457c2f779e915943803bde2ec3e5e8988f3c0ffb9d1ea4a08c2e7f05cd3e8b75a5
|
||||
AUX lircmd-0.10.0.conf 57 BLAKE2B 8c39aac91bf5ac603a1495bb7e27b74ee5f09e55e35297aae75b17ed1bb858a57aa1f524d096ec2744f0d543b719f13e80a467869b7ac86e560cc396a24b0648 SHA512 6a69c7600024f00947dc35e3c6cebf7524fcf5f2a1e799fe70590fef2070c1049c4e6177711821f4e7b13972fd6f535591b48bb1006acd44fa650591b3265ace
|
||||
AUX lircmd-0.9.4a-r2 382 BLAKE2B 14e6f7822d8878a9047fc26cb0927ae61c70092788133a387be62a9e54b3d4f3c78734f5dd0a54ddb04dd2b48ba270177ca7af777ac80ba8bacdcbe3f9ce2d62 SHA512 c744553b6246e62845ee61e18d78d97e7242969d0bb5478072bd9072ce0a02486306b577ca64c1c569c9b136e3231a4f0663c94114879827329a769e5f36413d
|
||||
AUX modprobed.lirc 549 BLAKE2B f58dcefff1becd48edaddab0d48e46f361b99de714bc8d3ae0d72f49fc8699fe9b9c7d8818a94eb7b40a5a653bfc8ca61ec11374c49ecebd1ef235d4ed8b8c08 SHA512 a64cac97e21ab53c247d8dd3e518b3caee5eeb9c3558727eba8a04684894c6be1695ce681e71d559474f4e78bbb39130d97f843eae18e56b3d3eb70f1fbefc63
|
||||
DIST lirc-0.10.1.tar.bz2 2523226 BLAKE2B 47b7ee87de8f64f7f829af519c0d296a85cf91790148927e850965177d4984bb994a0ad122cb59c3db508813d0824ffec45126e794abd08174a052361cea53e5 SHA512 31c0b6ee169b302b99994a2a3fa0ebcae0e01cb83c02fe02acf1de5ba8cf77a091a0221c7d8104448c30930adafe654cd08afb7d0df6b5b7ec2d47df26e5df9d
|
||||
DIST lirc-0.9.0.tar.bz2 857286 BLAKE2B 034c7b8492dd42301bb6d40da8c6c95f714b925ee50e7396290231684024dc3fe3bb64987db92d2a4e4d56203436007e68222bbf9a775bb9d29bbefcc4a7c1e4 SHA512 e91534c63e6065bd7da3b15e1676edf1672b8beb21864a6825df86247d7d165bf2dee6f8191732933e24e42a406e46afc55559948e4061eed2de7b08fac13431
|
||||
EBUILD lirc-0.10.1.ebuild 3737 BLAKE2B c301a74cc28fe71b2baa93b8e971473b5c91ac8b5257ab78d2b26e71c2e013dae6e352b7eb8c15aa60e2e05bed3413ed9b5e0b30045eb667b6d8b9846539bae4 SHA512 c80ef32cb9d6d9a2cc61fc346de899308405dade3bc6e6e504ebc09389b835095f88057eaee90b37bf3a27ec87e26f7c9b273d783f95739fdbb48054fd54bfbd
|
||||
EBUILD lirc-0.9.0-r6.ebuild 13250 BLAKE2B 81ca3c71e46089a8f3a1b412d53e60096f14c0825f8f4c7daf9fee9387e3eced4dda10c8e5dc4550a9e0eb1347b1db40972a3a2397154dce2a8e1d2ed8b99977 SHA512 0d620d93bccf35721830420a7e367b45c1b6a71891843db12fe4c96b0d1228de6367969545eeb0f0416833f195ed933eafef69d5d38a0a46a1f0ddc32829240b
|
||||
MISC metadata.xml 1175 BLAKE2B 1bcfd5d3fed6ee42c3e53168cc40fd930e6b92bf52bc787c43439f053e1fb97bf841d71ec58ce3fae56187c77cac767613107e74a90f8871dcfe3f33e4ff293f SHA512 c1d6ff9a423c0ea5d52410d5dfa2cd9dd94b61109494c629706dc74c228032e19e6504884c50694450624d6c05f437eaaebaee0ab626f7004fc7377331fa847c
|
||||
EBUILD lirc-0.10.1.ebuild 3733 BLAKE2B 54b4dbb14785de95d6db40fffdd8bb7ce1213ad23825fca80b952bfcfbc64957554bfeb150b7f3919386f47d34baf876b9e3e6337881ac82dc3b0e1143e156e5 SHA512 733bd887df1fa1ff895dedf91bae965b3c41d15e5e58d82858c54eca0576a6c69519f4be07cb0e20cb58becf5192c09b362c2513eecba9bdb9b49352b14335eb
|
||||
MISC metadata.xml 969 BLAKE2B 6dabf8921994f06c7f9e39e2049c0ac86b5e5523c554eec3c061151627512f6f17d14eeb00256585dd9fd323f4293f74175ace6bd87846ba461a72ab6e7caef4 SHA512 fc510d070b7b97d28159b77a7540b38e8558efd8a780dffe8755e3bcea7bbd601211f19733c217ce670407c523b6c5daac2c9aedde2ddeecb81dda8472c48fb6
|
||||
|
@ -1,27 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2003 Martin Hierling <mad@cc.fh-lippe.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
: ${IREXEC_USER:=root}
|
||||
|
||||
depend() {
|
||||
need lirc
|
||||
}
|
||||
|
||||
start() {
|
||||
if [ "x${IREXEC_USER}" = "xroot" -a "x${IREXEC_DISABLE_ROOT_WARNING}" != "xyes" ]; then
|
||||
ewarn "Warning: Running irexec as root can open security holes"
|
||||
fi
|
||||
|
||||
ebegin "Starting irexec"
|
||||
start-stop-daemon --start --chuid ${IREXEC_USER} --user ${IREXEC_USER} --chdir / \
|
||||
--exec /usr/bin/irexec -- --daemon ${IREXEC_OPTS}
|
||||
eend $? "Failed to start irexec."
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping irexec"
|
||||
start-stop-daemon --stop --exec /usr/bin/irexec --user ${IREXEC_USER}
|
||||
eend $? "Failed to stop irexec."
|
||||
}
|
||||
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=IR Exec
|
||||
After=lirc.service
|
||||
Wants=lirc.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/irexec
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,26 +0,0 @@
|
||||
--- lirc-0.8.0/drivers/lirc_atiusb/lirc_atiusb.c.orig 2005-10-29 08:18:53.000000000 -0600
|
||||
+++ lirc-0.8.0/drivers/lirc_atiusb/lirc_atiusb.c 2006-04-01 14:31:05.000000000 -0700
|
||||
@@ -147,8 +147,9 @@
|
||||
/* init strings */
|
||||
#define USB_OUTLEN 7
|
||||
|
||||
-static char init1[] = {0x01, 0x00, 0x20, 0x14};
|
||||
-static char init2[] = {0x01, 0x00, 0x20, 0x14, 0x20, 0x20, 0x20};
|
||||
+static char init1[] = {0x80, 0x05, 0x1b, 0x15, 0x14, 0x20, 0x24, 0x15};
|
||||
+static char init2[] = {0x83, 0x03};
|
||||
+static char init3[] = {0x84, 0xd7, 0x020};
|
||||
|
||||
struct in_endpt {
|
||||
/* inner link in list of endpoints for the remote specified by ir */
|
||||
@@ -1034,8 +1034,9 @@
|
||||
usb_sndintpipe(ir->usbdev, oep->ep->bEndpointAddress), oep->buf,
|
||||
USB_OUTLEN, usb_remote_send, oep, oep->ep->bInterval);
|
||||
|
||||
- send_packet(oep, 0x8004, init1);
|
||||
- send_packet(oep, 0x8007, init2);
|
||||
+ send_packet(oep, 0x8007, init1);
|
||||
+ send_packet(oep, 0x8002, init2);
|
||||
+ send_packet(oep, 0x8003, init3);
|
||||
}
|
||||
}
|
||||
|
@ -1,18 +0,0 @@
|
||||
Portaudio is only needed for LIRC_DEVICES=audio, so not checking for Portaudio when the device is disabled will prevent automagic dependencies.
|
||||
--- configure.ac.orig 2009-03-13 10:02:50.000000000 +0100
|
||||
+++ configure.ac 2009-03-13 10:04:00.000000000 +0100
|
||||
@@ -336,14 +336,6 @@
|
||||
AC_DEFINE(HAVE_LIBIRMAN_SW)
|
||||
possible_drivers="${possible_drivers} (irman_sw)"
|
||||
)
|
||||
-dnl audio driver requires PortAudio library installed and some linker flags
|
||||
-AC_CHECK_HEADERS(portaudio.h,[
|
||||
- AC_CHECK_LIB(portaudio, Pa_Initialize,[
|
||||
- AC_DEFINE(HAVE_LIBPORTAUDIO)
|
||||
- possible_drivers="${possible_drivers} (audio)"
|
||||
- ],,${portaudio_lib_other}
|
||||
- )]
|
||||
-)
|
||||
dnl audio_alsa driver requires ALSA library installed and some linker flags
|
||||
have_alsa=no
|
||||
AC_CHECK_HEADERS(alsa/asoundlib.h,[
|
@ -1,658 +0,0 @@
|
||||
diff -rupN base/configure.ac mod/configure.ac
|
||||
--- base/configure.ac 2011-03-25 23:28:18.000000000 +0100
|
||||
+++ mod/configure.ac 2013-03-21 16:25:07.218419985 +0100
|
||||
@@ -383,7 +383,7 @@ AC_CHECK_HEADERS(linux/input.h,[
|
||||
dnl check if hiddev is available
|
||||
AC_CHECK_HEADERS([linux/types.h])
|
||||
AC_CHECK_HEADERS([linux/hiddev.h],[
|
||||
- possible_drivers="${possible_drivers} (asusdh) (bw6130) (dvico) (macmini)"
|
||||
+ possible_drivers="${possible_drivers} (asusdh) (bw6130) (dvico) (macmini) (zotac)"
|
||||
AC_MSG_CHECKING(for HIDDEV_FLAG_UREF support)
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||
#include <linux/types.h>
|
||||
@@ -393,7 +393,7 @@ AC_CHECK_HEADERS([linux/hiddev.h],[
|
||||
]])],[
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(HAVE_LINUX_HIDDEV_FLAG_UREF)
|
||||
- possible_drivers="${possible_drivers} (samsung) (sb0540)"
|
||||
+ possible_drivers="${possible_drivers} (samsung) (sb0540) (zotac)"
|
||||
],[
|
||||
AC_MSG_RESULT(no)
|
||||
])
|
||||
@@ -446,7 +446,7 @@ AC_ARG_WITH(driver,
|
||||
srm7500libusb, tekram,
|
||||
tekram_bt829, tira, tira_raw, ttusbir,
|
||||
tuxbox, tvbox, udp, uirt2, uirt2_raw,
|
||||
- usb_uirt_raw, usbx, wpc8769l],
|
||||
+ usb_uirt_raw, usbx, wpc8769l, zotac],
|
||||
driver=${withval},
|
||||
driver="unset"
|
||||
)
|
||||
@@ -464,6 +464,7 @@ portaudio_lib=""
|
||||
alsa_lib=""
|
||||
atilibusb_lib=""
|
||||
atwf83_lib=""
|
||||
+zotac_lib=""
|
||||
awlibusb_lib=""
|
||||
dfclibusb_lib=""
|
||||
srm7500libusb_lib=""
|
||||
@@ -683,6 +684,10 @@ if test "$driver" = "userspace" -o "$dri
|
||||
usbx)
|
||||
hw_module="${hw_module} hw_usbx.o serial.o"
|
||||
;;
|
||||
+ zotac)
|
||||
+ hw_module="${hw_module} hw_zotac.o"
|
||||
+ zotac_lib=-lpthread
|
||||
+ ;;
|
||||
esac
|
||||
done
|
||||
#remove duplicates
|
||||
@@ -733,6 +738,14 @@ if test "$driver" = "alsa_usb"; then
|
||||
lircd_conf="creative/lircd.conf.alsa_usb"
|
||||
fi
|
||||
|
||||
+if test "$driver" = "zotac"; then
|
||||
+ lirc_driver="$driver"
|
||||
+ hw_module="hw_zotac.o"
|
||||
+ HW_DEFAULT="hw_zotac"
|
||||
+ lircd_conf="zotac/lircd.conf.zotac"
|
||||
+ zotac_lib=-lpthread
|
||||
+fi
|
||||
+
|
||||
if test "$driver" = "animax"; then
|
||||
lirc_driver="lirc_dev lirc_serial"
|
||||
lircd_conf="animax/lircd.conf.animax"
|
||||
@@ -1499,6 +1512,7 @@ if test "$lirc_driver" = "none" || \
|
||||
test "$lirc_driver" = "macmini" || \
|
||||
test "$lirc_driver" = "samsung" || \
|
||||
test "$lirc_driver" = "sb0540" || \
|
||||
+ test "$lirc_driver" = "zotac" || \
|
||||
test "$lirc_driver" = "srm7500libusb" || \
|
||||
test "$lirc_driver" = "userspace"; then
|
||||
lirc_driver=
|
||||
@@ -1669,7 +1683,7 @@ if ! echo ${hw_module}|grep " receive.o"
|
||||
receive="receive.o"
|
||||
fi
|
||||
|
||||
-hw_module_libs="${alsa_lib} ${atilibusb_lib} ${awlibusb_lib} ${caraca_lib} ${commandir_lib} ${dfclibusb_lib} ${ftdi_lib} ${iguanaIR_lib} ${irman_lib} ${portaudio_lib} ${srm7500libusb_lib} ${atwf83_lib}"
|
||||
+hw_module_libs="${alsa_lib} ${atilibusb_lib} ${awlibusb_lib} ${caraca_lib} ${commandir_lib} ${dfclibusb_lib} ${ftdi_lib} ${iguanaIR_lib} ${irman_lib} ${portaudio_lib} ${srm7500libusb_lib} ${atwf83_lib} ${zotac_lib}"
|
||||
|
||||
dnl tell the Makefiles what we decided
|
||||
AC_SUBST(daemon)
|
||||
diff -rupN base/daemons/Makefile.am mod/daemons/Makefile.am
|
||||
--- base/daemons/Makefile.am 2011-03-25 23:28:18.000000000 +0100
|
||||
+++ mod/daemons/Makefile.am 2013-03-21 16:25:40.488790784 +0100
|
||||
@@ -58,7 +58,8 @@ EXTRA_libhw_module_a_SOURCES = \
|
||||
hw_usbx.c hw_usbx.h \
|
||||
receive.c receive.h \
|
||||
transmit.c transmit.h \
|
||||
- serial.c serial.h
|
||||
+ serial.c serial.h \
|
||||
+ hw_zotac.c
|
||||
|
||||
libhw_module_a_LIBADD = @hw_module@
|
||||
libhw_module_a_DEPENDENCIES = @hw_module@
|
||||
diff -rupN base/daemons/hw-types.c mod/daemons/hw-types.c
|
||||
--- base/daemons/hw-types.c 2011-03-25 23:28:18.000000000 +0100
|
||||
+++ mod/daemons/hw-types.c 2013-03-21 16:26:38.913200218 +0100
|
||||
@@ -59,6 +59,7 @@ extern struct hardware hw_uirt2;
|
||||
extern struct hardware hw_uirt2_raw;
|
||||
extern struct hardware hw_usb_uirt_raw;
|
||||
extern struct hardware hw_usbx;
|
||||
+extern struct hardware hw_zotac;
|
||||
|
||||
#ifndef HW_DEFAULT
|
||||
# define HW_DEFAULT hw_default
|
||||
@@ -160,6 +161,7 @@ struct hardware *hw_list[] = {
|
||||
#ifdef HAVE_LINUX_HIDDEV_FLAG_UREF
|
||||
&hw_samsung,
|
||||
&hw_sb0540,
|
||||
+ &hw_zotac,
|
||||
#endif
|
||||
&hw_silitek,
|
||||
#ifdef HAVE_LIBUSB
|
||||
diff -rupN base/daemons/hw_zotac.c mod/daemons/hw_zotac.c
|
||||
--- base/daemons/hw_zotac.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mod/daemons/hw_zotac.c 2013-03-21 16:31:06.989272556 +0100
|
||||
@@ -0,0 +1,429 @@
|
||||
+/****************************************************************************
|
||||
+ ** hw_zotac.c *************************************************************
|
||||
+ ****************************************************************************
|
||||
+ *
|
||||
+ * Lirc driver for Zotac remote
|
||||
+ *
|
||||
+ * Copyright (C) 2010 Rainer Hochecker
|
||||
+ *
|
||||
+ * Distribute under GPL version 2 or later.
|
||||
+ *
|
||||
+ */
|
||||
+
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+# include <config.h>
|
||||
+#endif
|
||||
+
|
||||
+#include <stdio.h>
|
||||
+#include <pthread.h>
|
||||
+#include <sys/fcntl.h>
|
||||
+#include <signal.h>
|
||||
+#include <linux/hiddev.h>
|
||||
+#include <sys/ioctl.h>
|
||||
+#include "hardware.h"
|
||||
+#include "ir_remote.h"
|
||||
+#include "lircd.h"
|
||||
+
|
||||
+enum {
|
||||
+ RPT_NO = 0,
|
||||
+ RPT_YES = 1,
|
||||
+};
|
||||
+
|
||||
+static int zotac_init();
|
||||
+static int zotac_deinit();
|
||||
+static char *zotac_rec(struct ir_remote *remotes);
|
||||
+static int zotac_decode(struct ir_remote *remote, ir_code * prep, ir_code * codep, ir_code * postp, int *repeat_flagp,
|
||||
+ lirc_t * min_remaining_gapp, lirc_t * max_remaining_gapp);
|
||||
+static void *zotac_repeat();
|
||||
+static int zotac_getcode();
|
||||
+
|
||||
+/** Max number of repetitions */
|
||||
+static unsigned max_repeat_count = 500;
|
||||
+/** Code that triggers key release */
|
||||
+static unsigned release_code = 0x00000000;
|
||||
+/** Code that triggers device remove */
|
||||
+static unsigned remove_code =0x00FFFFFF;
|
||||
+/** Time to wait before first repetition */
|
||||
+static unsigned repeat_time1_us = 500000;
|
||||
+/** Time to wait between two repetitions */
|
||||
+static unsigned repeat_time2_us = 100000;
|
||||
+/** Pipe between main thread and repetition thread */
|
||||
+static int fd_pipe[2] = { -1, -1 };
|
||||
+
|
||||
+/** Thread that simulates repetitions */
|
||||
+static pthread_t repeat_thread;
|
||||
+/** File descriptor for the real device */
|
||||
+static int fd_hidraw;
|
||||
+
|
||||
+static int main_code_length = 32;
|
||||
+static signed int main_code = 0;
|
||||
+static struct timeval start, end, last;
|
||||
+static int repeat_state = RPT_NO;
|
||||
+static int error_state = 0;
|
||||
+static int probe_code = 0;
|
||||
+
|
||||
+#ifdef HAVE_LINUX_HIDDEV_FLAG_UREF
|
||||
+/* Zotac USB iR Receiver */
|
||||
+struct hardware hw_zotac = {
|
||||
+ "/dev/usb/hiddev0", /* "device" */
|
||||
+ -1, /* fd (device) */
|
||||
+ LIRC_CAN_REC_LIRCCODE, /* features */
|
||||
+ 0, /* send_mode */
|
||||
+ LIRC_MODE_LIRCCODE, /* rec_mode */
|
||||
+ 32, /* code_length */
|
||||
+ zotac_init, /* init_func */
|
||||
+ zotac_deinit, /* deinit_func */
|
||||
+ NULL, /* send_func */
|
||||
+ zotac_rec, /* rec_func */
|
||||
+ zotac_decode, /* decode_func */
|
||||
+ NULL, /* ioctl_func */
|
||||
+ NULL, /* readdata */
|
||||
+ "zotac" /* name */
|
||||
+};
|
||||
+#endif
|
||||
+
|
||||
+static int zotac_decode(struct ir_remote *remote, ir_code * prep, ir_code * codep, ir_code * postp, int *repeat_flagp,
|
||||
+ lirc_t * min_remaining_gapp, lirc_t * max_remaining_gapp)
|
||||
+{
|
||||
+ LOGPRINTF(1, "zotac_decode");
|
||||
+
|
||||
+ if (!map_code(remote, prep, codep, postp, 0, 0, main_code_length, main_code, 0, 0)) {
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
+ map_gap(remote, &start, &last, 0, repeat_flagp, min_remaining_gapp, max_remaining_gapp);
|
||||
+ /* override repeat */
|
||||
+ *repeat_flagp = repeat_state;
|
||||
+
|
||||
+ return 1;
|
||||
+}
|
||||
+
|
||||
+static int zotac_getcode() {
|
||||
+
|
||||
+ ssize_t rd;
|
||||
+ struct hiddev_usage_ref uref;
|
||||
+ struct hiddev_report_info rinfo;
|
||||
+ struct hiddev_field_info finfo;
|
||||
+ int shift = 0;
|
||||
+
|
||||
+ rd = read(fd_hidraw, &uref, sizeof(uref));
|
||||
+ if (rd < 0) {
|
||||
+ logprintf(LOG_ERR, "error reading '%s'", hw.device);
|
||||
+ logperror(LOG_ERR, NULL);
|
||||
+ zotac_deinit();
|
||||
+ error_state = 1;
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
+ if (uref.field_index == HID_FIELD_INDEX_NONE) {
|
||||
+ /*
|
||||
+ * we get this when the new report has been send from
|
||||
+ * device at this point we have the uref structure
|
||||
+ * prefilled with correct report type and id
|
||||
+ *
|
||||
+ */
|
||||
+
|
||||
+ switch (uref.report_id) {
|
||||
+ case 1: /* USB standard keyboard usage page */
|
||||
+ {
|
||||
+ /* This page reports cursor keys */
|
||||
+ LOGPRINTF(3, "Keyboard (standard)\n");
|
||||
+
|
||||
+ /* check for special codes */
|
||||
+ uref.field_index = 0;
|
||||
+ uref.usage_index = 1;
|
||||
+ /* fetch the usage code for given indexes */
|
||||
+ ioctl(fd_hidraw, HIDIOCGUCODE, &uref, sizeof(uref));
|
||||
+ /* fetch the value from report */
|
||||
+ ioctl(fd_hidraw, HIDIOCGUSAGE, &uref, sizeof(uref));
|
||||
+
|
||||
+ if (uref.value)
|
||||
+ shift = 1;
|
||||
+
|
||||
+ /* populate required field number */
|
||||
+ uref.field_index = 1;
|
||||
+ uref.usage_index = 0;
|
||||
+ /* fetch the usage code for given indexes */
|
||||
+ ioctl(fd_hidraw, HIDIOCGUCODE, &uref, sizeof(uref));
|
||||
+ /* fetch the value from report */
|
||||
+ ioctl(fd_hidraw, HIDIOCGUSAGE, &uref, sizeof(uref));
|
||||
+ /* now we have the key */
|
||||
+
|
||||
+ LOGPRINTF(3, "usage: %x value: %x shift: %d\n",uref.usage_code, uref.value, shift);
|
||||
+
|
||||
+ /* now we have the key */
|
||||
+ if (uref.value) {
|
||||
+ probe_code = (uref.usage_code | uref.value);
|
||||
+ if (shift)
|
||||
+ probe_code |= 0x10000000;
|
||||
+ LOGPRINTF(3, "Main code 1: %x\n", probe_code);
|
||||
+ return 1;
|
||||
+ }
|
||||
+ else {
|
||||
+ LOGPRINTF(3, "rel button\n");
|
||||
+ probe_code = release_code;
|
||||
+ return 2;
|
||||
+ }
|
||||
+ }
|
||||
+ break;
|
||||
+
|
||||
+ case 2:
|
||||
+ case 3: /* USB generic desktop usage page */
|
||||
+ case 4:
|
||||
+ {
|
||||
+ /* This page reports power key
|
||||
+ * (via SystemControl SLEEP)
|
||||
+ */
|
||||
+ LOGPRINTF(3, "Generic desktop (standard)\n");
|
||||
+
|
||||
+
|
||||
+ /* traverse report descriptor */
|
||||
+ rinfo.report_type = HID_REPORT_TYPE_INPUT;
|
||||
+ rinfo.report_id = HID_REPORT_ID_FIRST;
|
||||
+ rd = ioctl(fd_hidraw, HIDIOCGREPORTINFO, &rinfo);
|
||||
+
|
||||
+ unsigned int i,j;
|
||||
+ while (rd >= 0) {
|
||||
+ for (i = 0; i < rinfo.num_fields; i++) {
|
||||
+ finfo.report_type = rinfo.report_type;
|
||||
+ finfo.report_id = rinfo.report_id;
|
||||
+ finfo.field_index = i;
|
||||
+ ioctl(fd_hidraw, HIDIOCGFIELDINFO, &finfo);
|
||||
+ for (j = 0; j < finfo.maxusage; j++) {
|
||||
+ uref.field_index = i;
|
||||
+ uref.usage_index = j;
|
||||
+ ioctl(fd_hidraw, HIDIOCGUCODE, &uref);
|
||||
+ ioctl(fd_hidraw, HIDIOCGUSAGE, &uref);
|
||||
+
|
||||
+ if (uref.value != 0) {
|
||||
+ LOGPRINTF(3, "field: %d, idx: %d, usage: %x value: %x\n",i, j, uref.usage_code, uref.value);
|
||||
+ probe_code = uref.usage_code;
|
||||
+ return 1;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ rinfo.report_id |= HID_REPORT_ID_NEXT;
|
||||
+ rd = ioctl(fd_hidraw, HIDIOCGREPORTINFO, &rinfo);
|
||||
+ }
|
||||
+ return 2;
|
||||
+ }
|
||||
+ break;
|
||||
+ default:
|
||||
+ /* Unknown/unsupported report id.
|
||||
+ * Should not happen because remaining reports
|
||||
+ * from report descriptor seem to be unused by remote.
|
||||
+ */
|
||||
+ logprintf(LOG_ERR, "Unexpected report id %d", uref.report_id);
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+ else {
|
||||
+ /* This page reports power key
|
||||
+ * (via SystemControl SLEEP)
|
||||
+ */
|
||||
+ LOGPRINTF(3, "Same Event ...\n");
|
||||
+
|
||||
+ /* traverse report descriptor */
|
||||
+ rinfo.report_type = HID_REPORT_TYPE_INPUT;
|
||||
+ rinfo.report_id = HID_REPORT_ID_FIRST;
|
||||
+ rd = ioctl(fd_hidraw, HIDIOCGREPORTINFO, &rinfo);
|
||||
+
|
||||
+ unsigned int i,j;
|
||||
+ while (rd >= 0) {
|
||||
+ for (i = 0; i < rinfo.num_fields; i++) {
|
||||
+ finfo.report_type = rinfo.report_type;
|
||||
+ finfo.report_id = rinfo.report_id;
|
||||
+ finfo.field_index = i;
|
||||
+ ioctl(fd_hidraw, HIDIOCGFIELDINFO, &finfo);
|
||||
+ for (j = 0; j < finfo.maxusage; j++) {
|
||||
+ uref.field_index = i;
|
||||
+ uref.usage_index = j;
|
||||
+ ioctl(fd_hidraw, HIDIOCGUCODE, &uref);
|
||||
+ ioctl(fd_hidraw, HIDIOCGUSAGE, &uref);
|
||||
+
|
||||
+ if (uref.value != 0) {
|
||||
+ LOGPRINTF(3, "usage: %x value: %x\n",uref.usage_code, uref.value);
|
||||
+ //probe_code = uref.usage_code;
|
||||
+ return 0;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ rinfo.report_id |= HID_REPORT_ID_NEXT;
|
||||
+ rd = ioctl(fd_hidraw, HIDIOCGREPORTINFO, &rinfo);
|
||||
+ }
|
||||
+ return 2;
|
||||
+ }
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+static int zotac_init()
|
||||
+{
|
||||
+ logprintf(LOG_INFO, "zotac initializing '%s'", hw.device);
|
||||
+ if ((fd_hidraw = open(hw.device, O_RDONLY)) < 0) {
|
||||
+ logprintf(LOG_ERR, "unable to open '%s'", hw.device);
|
||||
+ return 0;
|
||||
+ }
|
||||
+ int flags = HIDDEV_FLAG_UREF | HIDDEV_FLAG_REPORT;
|
||||
+ if (ioctl(fd_hidraw, HIDIOCSFLAG, &flags)) {
|
||||
+ return 0;
|
||||
+ }
|
||||
+ hw.fd = fd_hidraw;
|
||||
+
|
||||
+ /* Create pipe so that events sent by the repeat thread will
|
||||
+ trigger main thread */
|
||||
+ if (pipe(fd_pipe) != 0) {
|
||||
+ logperror(LOG_ERR, "couldn't open pipe");
|
||||
+ close(fd_hidraw);
|
||||
+ return 0;
|
||||
+ }
|
||||
+ hw.fd = fd_pipe[0];
|
||||
+ /* Create thread to simulate repetitions */
|
||||
+ if (pthread_create(&repeat_thread, NULL, zotac_repeat, NULL)) {
|
||||
+ logprintf(LOG_ERR, "Could not create \"repeat thread\"");
|
||||
+ return 0;
|
||||
+ }
|
||||
+ return 1;
|
||||
+}
|
||||
+
|
||||
+static int zotac_deinit()
|
||||
+{
|
||||
+ pthread_cancel(repeat_thread);
|
||||
+ if (fd_hidraw != -1) {
|
||||
+ // Close device if it is open
|
||||
+ logprintf(LOG_INFO, "closing '%s'", hw.device);
|
||||
+ close(fd_hidraw);
|
||||
+ fd_hidraw = -1;
|
||||
+ }
|
||||
+ // Close pipe input
|
||||
+ if (fd_pipe[1] >= 0) {
|
||||
+ close(fd_pipe[1]);
|
||||
+ fd_pipe[1] = -1;
|
||||
+ }
|
||||
+ // Close pipe output
|
||||
+ if (fd_pipe[0] >= 0) {
|
||||
+ close(fd_pipe[0]);
|
||||
+ fd_pipe[0] = -1;
|
||||
+ }
|
||||
+ hw.fd = -1;
|
||||
+ return 1;
|
||||
+}
|
||||
+
|
||||
+/**
|
||||
+ * Runtime that reads device, forwards codes to main thread
|
||||
+ * and simulates repetitions.
|
||||
+ */
|
||||
+static void *zotac_repeat()
|
||||
+{
|
||||
+ int repeat_count = 0;
|
||||
+ unsigned current_code;
|
||||
+ int ret;
|
||||
+ int sel;
|
||||
+ fd_set files;
|
||||
+ struct timeval delay;
|
||||
+ int pressed = 0;
|
||||
+ int fd = fd_pipe[1];
|
||||
+
|
||||
+ while (1) {
|
||||
+ // Initialize set to monitor device's events
|
||||
+ FD_ZERO(&files);
|
||||
+ FD_SET(fd_hidraw, &files);
|
||||
+ if (pressed) {
|
||||
+ sel = select(FD_SETSIZE, &files, NULL, NULL, &delay);
|
||||
+ } else {
|
||||
+ sel = select(FD_SETSIZE, &files, NULL, NULL, NULL);
|
||||
+ }
|
||||
+
|
||||
+ switch (sel) {
|
||||
+ case 1:
|
||||
+ // Data ready in device's file
|
||||
+ ret = zotac_getcode();
|
||||
+
|
||||
+ if (ret < 0) {
|
||||
+ // Error
|
||||
+ logprintf(LOG_ERR, "(%s) Could not read %s", __FUNCTION__, hw.device);
|
||||
+ goto exit_loop;
|
||||
+ }
|
||||
+ if (ret == 1) {
|
||||
+ // Key code : forward it to main thread
|
||||
+ pressed = 1;
|
||||
+ repeat_count = 0;
|
||||
+ delay.tv_sec = 0;
|
||||
+ delay.tv_usec = repeat_time1_us;
|
||||
+ current_code = probe_code;
|
||||
+ } else if (ret == 2) {
|
||||
+ // Release code : stop repetitions
|
||||
+ pressed = 0;
|
||||
+ current_code = release_code;
|
||||
+ } else if (ret == 0) {
|
||||
+ continue;
|
||||
+ }
|
||||
+ break;
|
||||
+ case 0:
|
||||
+ repeat_count++;
|
||||
+ if (repeat_count >= max_repeat_count) {
|
||||
+ // Too many repetitions, something must have gone wrong
|
||||
+ logprintf(LOG_ERR,"(%s) too many repetitions", __FUNCTION__);
|
||||
+ goto exit_loop;
|
||||
+ }
|
||||
+ // Timeout : send current_code again to main
|
||||
+ // thread to simulate repetition
|
||||
+ delay.tv_sec = 0;
|
||||
+ delay.tv_usec = repeat_time2_us;
|
||||
+ break;
|
||||
+ default:
|
||||
+ // Error
|
||||
+ logprintf(LOG_ERR, "(%s) select() failed", __FUNCTION__);
|
||||
+ goto exit_loop;
|
||||
+ }
|
||||
+ // Send code to main thread through pipe
|
||||
+ write(fd, ¤t_code, sizeof(current_code));
|
||||
+ }
|
||||
+exit_loop:
|
||||
+
|
||||
+ // Wake up main thread with special key code
|
||||
+ current_code = remove_code;
|
||||
+ write(fd, ¤t_code, sizeof(current_code));
|
||||
+ return NULL;
|
||||
+}
|
||||
+
|
||||
+/*
|
||||
+* Aureal Technology ATWF@83 cheap remote
|
||||
+* specific code.
|
||||
+*/
|
||||
+
|
||||
+static char *zotac_rec(struct ir_remote *remotes)
|
||||
+{
|
||||
+ unsigned ev;
|
||||
+ int rd;
|
||||
+ last = end;
|
||||
+ gettimeofday(&start, NULL);
|
||||
+ rd = read(hw.fd, &ev, sizeof(ev));
|
||||
+
|
||||
+ if (rd == -1) {
|
||||
+ // Error
|
||||
+ logprintf(LOG_ERR, "(%s) could not read pipe", __FUNCTION__);
|
||||
+ zotac_deinit();
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
+ if (ev == release_code) {
|
||||
+ // Release code
|
||||
+ main_code = 0;
|
||||
+ return 0;
|
||||
+ } else if (ev == remove_code) {
|
||||
+ // Device has been removed
|
||||
+ zotac_deinit();
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
+ LOGPRINTF(1, "zotac : %x", ev);
|
||||
+ // Record the code and check for repetition
|
||||
+ if (main_code == ev) {
|
||||
+ repeat_state = RPT_YES;
|
||||
+ } else {
|
||||
+ main_code = ev;
|
||||
+ repeat_state = RPT_NO;
|
||||
+ }
|
||||
+ gettimeofday(&end, NULL);
|
||||
+ return decode_all(remotes);
|
||||
+}
|
||||
diff -rupN base/remotes/zotac/lircd.conf.zotac mod/remotes/zotac/lircd.conf.zotac
|
||||
--- base/remotes/zotac/lircd.conf.zotac 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mod/remotes/zotac/lircd.conf.zotac 2013-03-21 16:31:31.343367869 +0100
|
||||
@@ -0,0 +1,77 @@
|
||||
+
|
||||
+# Please make this file available to others
|
||||
+# by sending it to <lirc@bartelmus.de>
|
||||
+#
|
||||
+# this config file was automatically generated
|
||||
+# using lirc-0.9.1-git(zotac) on Mon Apr 2 14:10:29 2012
|
||||
+#
|
||||
+# contributed by
|
||||
+#
|
||||
+# brand: zotac.conf
|
||||
+# model no. of remote control:
|
||||
+# devices being controlled by this remote:
|
||||
+#
|
||||
+
|
||||
+begin remote
|
||||
+
|
||||
+ name zotac.conf
|
||||
+ bits 32
|
||||
+ eps 30
|
||||
+ aeps 100
|
||||
+
|
||||
+ one 0 0
|
||||
+ zero 0 0
|
||||
+ gap 100123
|
||||
+ min_repeat 9
|
||||
+# suppress_repeat 9
|
||||
+# uncomment to suppress unwanted repeats
|
||||
+# toggle_bit_mask 0x7004F
|
||||
+
|
||||
+ begin codes
|
||||
+ KEY_SLEEP 0x00010082
|
||||
+ KEY_WAKEUP 0x00010083
|
||||
+ KEY_RECORD 0x000C00B2
|
||||
+ KEY_PAUSE 0x000C00B1
|
||||
+ KEY_STOP 0x000C00B7
|
||||
+ KEY_REWIND 0x000C00B4
|
||||
+ KEY_PLAY 0x000C00B0
|
||||
+ KEY_FORWARD 0x000C00B3
|
||||
+ KEY_LEFTSHIFT 0x000C00B6
|
||||
+ KEY_RIGHTSHIFT 0x000C00B5
|
||||
+ KEY_BACK 0x000C0224
|
||||
+ KEY_INFO 0x000C0209
|
||||
+ KEY_MENU 0xFFBC000D
|
||||
+ KEY_UP 0x00070052
|
||||
+ KEY_LEFT 0x00070050
|
||||
+ KEY_RIGHT 0x0007004F
|
||||
+ KEY_DOWN 0x00070051
|
||||
+ KEY_OK 0x00070028
|
||||
+ KEY_VOLUMEUP 0x000C00E9
|
||||
+ KEY_VOLUMEDOWN 0x000C00EA
|
||||
+ KEY_MUTE 0x000C00E2
|
||||
+ KEY_CHANNELUP 0x000C009C
|
||||
+ KEY_CHANNELDOWN 0x000C009D
|
||||
+ KEY_1 0x0007001E
|
||||
+ KEY_2 0x0007001F
|
||||
+ KEY_3 0x00070020
|
||||
+ KEY_4 0x00070021
|
||||
+ KEY_5 0x00070022
|
||||
+ KEY_6 0x00070023
|
||||
+ KEY_7 0x00070024
|
||||
+ KEY_8 0x00070025
|
||||
+ KEY_9 0x00070026
|
||||
+ KEY_0 0x00070027
|
||||
+ KEY_NUMERIC_STAR 0x10070025
|
||||
+ KEY_NUMERIC_POUND 0x10070020
|
||||
+ KEY_CLEAR 0x00070029
|
||||
+ KEY_TEXT 0xFFBC005A
|
||||
+ KEY_TITLE 0x000C008D
|
||||
+ KEY_ENTER 0x00070028
|
||||
+ KEY_RED 0xFFBC005B
|
||||
+ KEY_GREEN 0xFFBC005C
|
||||
+ KEY_YELLOW 0xFFBC005D
|
||||
+ KEY_BLUE 0xFFBC005E
|
||||
+ end codes
|
||||
+
|
||||
+end remote
|
||||
+
|
||||
diff -rupN base/setup.data mod/setup.data
|
||||
--- base/setup.data 2011-03-25 23:28:18.000000000 +0100
|
||||
+++ mod/setup.data 2013-03-21 16:28:11.433935463 +0100
|
||||
@@ -146,6 +146,7 @@ hw_menu_entry: @hw-usb
|
||||
usb_uirt_raw: "USB-UIRT"
|
||||
mplay: "VLSystem MPlay Blast"
|
||||
mplay: "VLSystem MPlay Mini"
|
||||
+ zotac: "Zotac USB IR Receiver"
|
||||
|
||||
param_type: \
|
||||
act200l \
|
||||
@@ -260,7 +261,8 @@ param_type: \
|
||||
ttusbir \
|
||||
tvbox \
|
||||
udp \
|
||||
- wpc8769l
|
||||
+ wpc8769l \
|
||||
+ zotac
|
||||
none:
|
||||
|
||||
default_param: \
|
||||
@@ -331,7 +333,8 @@ default_param: \
|
||||
ttusbir \
|
||||
tvbox \
|
||||
udp \
|
||||
- wpc8769l
|
||||
+ wpc8769l \
|
||||
+ zotac
|
||||
none:
|
||||
|
||||
default_param: \
|
@ -1,14 +0,0 @@
|
||||
--- a/drivers/lirc_atiusb/lirc_atiusb.c 2012-07-17 16:04:39.000000000 -0400
|
||||
+++ b/drivers/lirc_atiusb/lirc_atiusb.c 2012-07-17 16:19:06.000000000 -0400
|
||||
@@ -1050,7 +1050,11 @@
|
||||
goto new_irctl_failure_check;
|
||||
}
|
||||
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 38)
|
||||
if (lirc_buffer_init(driver->rbuf, dclen, 1)) {
|
||||
+#else
|
||||
+ if (lirc_buffer_init(driver->rbuf, dclen, 2)) {
|
||||
+#endif
|
||||
mem_failure = 4;
|
||||
goto new_irctl_failure_check;
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
--- a/tools/xmode2.c 2011-03-25 23:28:18.000000000 +0100
|
||||
+++ b/tools/xmode2.c 2012-07-29 19:36:34.972246587 +0200
|
||||
@@ -69,7 +69,7 @@
|
||||
Window w0, w1; /*w0 = root */
|
||||
char w1_wname[] = "xmode2";
|
||||
char w1_iname[] = "xmode2";
|
||||
-char font1_name[] = "-*-Courier-medium-r-*-*-8-*-*-m-*-iso8859-1";
|
||||
+char font1_name[] = "fixed";
|
||||
|
||||
int w1_x = 0, w1_y = 0;
|
||||
unsigned int w1_w = 640, w1_h = 480, w1_border = 0;
|
||||
@@ -201,7 +201,7 @@
|
||||
printf("coudn't allocate blue color\n");
|
||||
f1_str = XLoadQueryFont(d1, font1_name);
|
||||
if (f1_str == NULL) {
|
||||
- printf("could't load font\n");
|
||||
+ printf("couldn't load font\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
@ -1,67 +0,0 @@
|
||||
diff -u a/drivers/lirc_atiusb/lirc_atiusb.c b/drivers/lirc_atiusb/lirc_atiusb.c
|
||||
--- a/drivers/lirc_atiusb/lirc_atiusb.c
|
||||
+++ b/drivers/lirc_atiusb/lirc_atiusb.c
|
||||
@@ -48,7 +48,9 @@
|
||||
#include <linux/slab.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/kmod.h>
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39)
|
||||
#include <linux/smp_lock.h>
|
||||
+#endif
|
||||
#include <linux/completion.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <linux/usb.h>
|
||||
diff -u a/drivers/lirc_i2c/lirc_i2c.c b/drivers/lirc_i2c/lirc_i2c.c
|
||||
--- a/drivers/lirc_i2c/lirc_i2c.c
|
||||
+++ b/drivers/lirc_i2c/lirc_i2c.c
|
||||
@@ -555,8 +555,8 @@ static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id)
|
||||
kfree(ir);
|
||||
return -EINVAL;
|
||||
}
|
||||
- printk(KERN_INFO "lirc_i2c: chip 0x%x found @ 0x%02x (%s)\n",
|
||||
- adap->id, addr, ir->c.name);
|
||||
+ printk(KERN_INFO "lirc_i2c: chip found @ 0x%02x (%s)\n",
|
||||
+ addr, ir->c.name);
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 31)
|
||||
/* register device */
|
||||
diff -u a/drivers/lirc_wpc8769l/lirc_wpc8769l.c b/drivers/lirc_wpc8769l/lirc_wpc8769l.c
|
||||
--- a/drivers/lirc_wpc8769l/lirc_wpc8769l.c
|
||||
+++ b/drivers/lirc_wpc8769l/lirc_wpc8769l.c
|
||||
@@ -361,14 +361,22 @@ static irqreturn_t irq_handler(int irqno, void *blah, struct pt_regs *regs)
|
||||
size = count << 3;
|
||||
|
||||
ldata = (unsigned long *) data_buf;
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39)
|
||||
next_one = generic_find_next_le_bit(ldata, size, 0);
|
||||
+#else
|
||||
+ next_one = find_next_zero_bit_le(ldata, size, 0);
|
||||
+#endif
|
||||
|
||||
if (next_one > 0)
|
||||
put_pulse_bit(next_one
|
||||
* WPC8769L_USECS_PER_BIT);
|
||||
|
||||
while (next_one < size) {
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39)
|
||||
next_zero = generic_find_next_zero_le_bit(ldata,
|
||||
+#else
|
||||
+ next_zero = find_next_zero_bit_le(ldata,
|
||||
+#endif
|
||||
size, next_one + 1);
|
||||
|
||||
put_space_bit(
|
||||
@@ -376,7 +384,11 @@ static irqreturn_t irq_handler(int irqno, void *blah, struct pt_regs *regs)
|
||||
* WPC8769L_USECS_PER_BIT);
|
||||
|
||||
if (next_zero < size) {
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39)
|
||||
next_one = generic_find_next_le_bit(ldata,
|
||||
+#else
|
||||
+ next_one = find_next_bit_le(ldata,
|
||||
+#endif
|
||||
size, next_zero + 1);
|
||||
|
||||
put_pulse_bit(
|
||||
--
|
||||
1.7.5.4
|
@ -1,50 +0,0 @@
|
||||
diff -ur drivers/lirc_serial/lirc_serial.c drivers.new/lirc_serial/lirc_serial.c
|
||||
--- drivers/lirc_serial/lirc_serial.c 2011-03-25 18:28:18.000000000 -0400
|
||||
+++ drivers.new/lirc_serial/lirc_serial.c 2012-10-24 14:32:14.000000000 -0400
|
||||
@@ -66,7 +66,12 @@
|
||||
#include <linux/poll.h>
|
||||
#include <linux/platform_device.h>
|
||||
|
||||
+#include "drivers/kcompat.h"
|
||||
+#if LINUX_VERSION_CODE > KERNEL_VERSION(3, 3, 0)
|
||||
+#include <asm/switch_to.h>
|
||||
+#else
|
||||
#include <asm/system.h>
|
||||
+#endif
|
||||
#include <linux/io.h>
|
||||
#include <linux/irq.h>
|
||||
#include <linux/fcntl.h>
|
||||
@@ -80,7 +85,6 @@
|
||||
#define UART_IE_IXP42X_UUE 0x40 /* IXP42X UART Unit enable */
|
||||
#define UART_IE_IXP42X_RTOIE 0x10 /* IXP42X Receiver Data Timeout int.enable */
|
||||
|
||||
-#include "drivers/kcompat.h"
|
||||
#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 35)
|
||||
#include <media/lirc.h>
|
||||
#include <media/lirc_dev.h>
|
||||
diff -ur drivers/lirc_sir/lirc_sir.c drivers.new/lirc_sir/lirc_sir.c
|
||||
--- drivers/lirc_sir/lirc_sir.c 2011-03-25 18:28:18.000000000 -0400
|
||||
+++ drivers.new/lirc_sir/lirc_sir.c 2012-10-24 14:32:46.000000000 -0400
|
||||
@@ -59,7 +59,14 @@
|
||||
#include <linux/mm.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/poll.h>
|
||||
+
|
||||
+#include "drivers/kcompat.h"
|
||||
+#if LINUX_VERSION_CODE > KERNEL_VERSION(3, 3, 0)
|
||||
+#include <asm/switch_to.h>
|
||||
+#else
|
||||
#include <asm/system.h>
|
||||
+#endif
|
||||
+
|
||||
#include <linux/io.h>
|
||||
#include <asm/irq.h>
|
||||
#include <linux/fcntl.h>
|
||||
@@ -74,7 +81,6 @@
|
||||
|
||||
#include <linux/timer.h>
|
||||
|
||||
-#include "drivers/kcompat.h"
|
||||
#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 35)
|
||||
#include <media/lirc.h>
|
||||
#include <media/lirc_dev.h>
|
@ -1,12 +0,0 @@
|
||||
--- a/drivers/kcompat.h 2011-03-25 18:28:18.000000000 -0400
|
||||
+++ b/drivers/kcompat.h 2012-11-27 13:37:55.000000000 -0500
|
||||
@@ -136,4 +136,9 @@
|
||||
)
|
||||
#endif
|
||||
|
||||
+#ifndef err
|
||||
+#define err(format, arg...) \
|
||||
+ printk(KERN_ERR KBUILD_MODNAME ": " format "\n", ##arg)
|
||||
+#endif
|
||||
+
|
||||
#endif /* _KCOMPAT_H */
|
@ -1,80 +0,0 @@
|
||||
diff -Naur lirc-0.9.0/drivers/lirc_serial/lirc_serial.c lirc-0.9.0.new/drivers/lirc_serial/lirc_serial.c
|
||||
--- lirc-0.9.0/drivers/lirc_serial/lirc_serial.c 2013-05-24 11:58:31.017566567 -0400
|
||||
+++ lirc-0.9.0.new/drivers/lirc_serial/lirc_serial.c 2013-05-24 12:00:38.733568898 -0400
|
||||
@@ -1107,12 +1107,12 @@
|
||||
|
||||
static struct platform_device *lirc_serial_dev;
|
||||
|
||||
-static int __devinit lirc_serial_probe(struct platform_device *dev)
|
||||
+static int lirc_serial_probe(struct platform_device *dev)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
-static int __devexit lirc_serial_remove(struct platform_device *dev)
|
||||
+static int lirc_serial_remove(struct platform_device *dev)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@@ -1163,7 +1163,7 @@
|
||||
|
||||
static struct platform_driver lirc_serial_driver = {
|
||||
.probe = lirc_serial_probe,
|
||||
- .remove = __devexit_p(lirc_serial_remove),
|
||||
+ .remove = lirc_serial_remove,
|
||||
.suspend = lirc_serial_suspend,
|
||||
.resume = lirc_serial_resume,
|
||||
.driver = {
|
||||
diff -Naur lirc-0.9.0/drivers/lirc_sir/lirc_sir.c lirc-0.9.0.new/drivers/lirc_sir/lirc_sir.c
|
||||
--- lirc-0.9.0/drivers/lirc_sir/lirc_sir.c 2013-05-24 11:58:31.017566567 -0400
|
||||
+++ lirc-0.9.0.new/drivers/lirc_sir/lirc_sir.c 2013-05-24 12:00:38.733568898 -0400
|
||||
@@ -1296,19 +1296,19 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
-static int __devinit lirc_sir_probe(struct platform_device *dev)
|
||||
+static int lirc_sir_probe(struct platform_device *dev)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
-static int __devexit lirc_sir_remove(struct platform_device *dev)
|
||||
+static int lirc_sir_remove(struct platform_device *dev)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct platform_driver lirc_sir_driver = {
|
||||
.probe = lirc_sir_probe,
|
||||
- .remove = __devexit_p(lirc_sir_remove),
|
||||
+ .remove = lirc_sir_remove,
|
||||
.driver = {
|
||||
.name = "lirc_sir",
|
||||
.owner = THIS_MODULE,
|
||||
diff -Naur lirc-0.9.0/drivers/lirc_wpc8769l/lirc_wpc8769l.c lirc-0.9.0.new/drivers/lirc_wpc8769l/lirc_wpc8769l.c
|
||||
--- lirc-0.9.0/drivers/lirc_wpc8769l/lirc_wpc8769l.c 2013-05-24 11:58:30.974566567 -0400
|
||||
+++ lirc-0.9.0.new/drivers/lirc_wpc8769l/lirc_wpc8769l.c 2013-05-24 12:00:38.734568898 -0400
|
||||
@@ -942,12 +942,12 @@
|
||||
#ifdef MODULE
|
||||
static struct platform_device *lirc_wpc8769l_platform_dev;
|
||||
|
||||
-static int __devinit lirc_wpc8769l_probe(struct platform_device *dev)
|
||||
+static int lirc_wpc8769l_probe(struct platform_device *dev)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
-static int __devexit lirc_wpc8769l_remove(struct platform_device *dev)
|
||||
+static int lirc_wpc8769l_remove(struct platform_device *dev)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@@ -975,7 +975,7 @@
|
||||
|
||||
static struct platform_driver lirc_wpc8769l_platform_driver = {
|
||||
.probe = lirc_wpc8769l_probe,
|
||||
- .remove = __devexit_p(lirc_wpc8769l_remove),
|
||||
+ .remove = lirc_wpc8769l_remove,
|
||||
.suspend = lirc_wpc8769l_suspend,
|
||||
.resume = lirc_wpc8769l_resume,
|
||||
.driver = {
|
@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=Linux Infrared Remote Control
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
RuntimeDirectory=lirc
|
||||
ExecStart=/usr/sbin/lircd --nodaemon --driver=default --device=/dev/lirc0
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=LIRC Mouse
|
||||
Requires=lirc.service
|
||||
After=network.target lirc.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/lircmd --nodaemon
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -1,19 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
depend() {
|
||||
need lircd
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting lircmd"
|
||||
start-stop-daemon --start --quiet --exec /usr/sbin/lircmd
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping lircmd"
|
||||
start-stop-daemon --stop --quiet --exec /usr/sbin/lircmd
|
||||
eend $?
|
||||
}
|
@ -1,428 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils linux-mod linux-info systemd toolchain-funcs flag-o-matic autotools
|
||||
|
||||
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
|
||||
HOMEPAGE="http://www.lirc.org/"
|
||||
|
||||
MY_P=${PN}-${PV/_/}
|
||||
|
||||
if [[ "${PV/_pre/}" = "${PV}" ]]; then
|
||||
SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
|
||||
else
|
||||
SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE="debug doc hardware-carrier transmitter static-libs X"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RDEPEND="
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE
|
||||
)
|
||||
lirc_devices_alsa_usb? ( media-libs/alsa-lib )
|
||||
lirc_devices_audio? ( >media-libs/portaudio-18 )
|
||||
lirc_devices_irman? ( media-libs/libirman )"
|
||||
|
||||
# 2012-07-17, Ian Stakenvicius
|
||||
# A helper script that scrapes out values for nearly all of the variables below
|
||||
# from lirc's configure.ac is available at
|
||||
# https://dev.gentoo.org/~axs/helper-for-lirc-iuse.sh
|
||||
|
||||
# This are drivers with names matching the
|
||||
# parameter --with-driver=NAME
|
||||
IUSE_LIRC_DEVICES_DIRECT="
|
||||
all userspace accent act200l act220l
|
||||
adaptec alsa_usb animax asusdh atilibusb
|
||||
atiusb audio audio_alsa avermedia avermedia_vdomate
|
||||
avermedia98 awlibusb bestbuy bestbuy2 breakoutbox
|
||||
bte bw6130 caraca chronos commandir
|
||||
cph06x creative creative_infracd
|
||||
devinput digimatrix dsp dvico ea65 ene0100
|
||||
exaudio flyvideo ftdi gvbctv5pci hauppauge
|
||||
hauppauge_dvb hercules_smarttv_stereo i2cuser
|
||||
igorplugusb iguanaIR imon imon_24g imon_knob
|
||||
imon_lcd imon_pad imon_rsc irdeo irdeo_remote
|
||||
irlink irman irreal it87 ite8709
|
||||
knc_one kworld leadtek_0007 leadtek_0010
|
||||
leadtek_pvr2000 livedrive_midi
|
||||
livedrive_seq logitech macmini
|
||||
mediafocusI mouseremote
|
||||
mouseremote_ps2 mp3anywhere mplay nslu2
|
||||
packard_bell parallel pcmak pcmak_usb
|
||||
pctv pixelview_bt878 pixelview_pak
|
||||
pixelview_pro provideo realmagic
|
||||
remotemaster sa1100 samsung sasem sb0540 serial
|
||||
silitek sir slinke streamzap tekram
|
||||
tekram_bt829 tira ttusbir tuxbox tvbox udp uirt2
|
||||
uirt2_raw usb_uirt_raw usbx wpc8769l zotac"
|
||||
|
||||
# drivers that need special handling and
|
||||
# must have another name specified for
|
||||
# parameter --with-driver=NAME
|
||||
IUSE_LIRC_DEVICES_SPECIAL="
|
||||
serial_igor_cesko
|
||||
remote_wonder_plus xboxusb inputlirc"
|
||||
|
||||
IUSE_LIRC_DEVICES="${IUSE_LIRC_DEVICES_DIRECT} ${IUSE_LIRC_DEVICES_SPECIAL}"
|
||||
|
||||
# The following are lists which are used to provide ewarns on incompatibilities
|
||||
# with the kernel:
|
||||
|
||||
#drivers that do not build kernel modules
|
||||
NO_KMOD_BUILT_FOR_DEV="
|
||||
accent bte creative creative_infracd devinput dsp ea65 exaudio
|
||||
ftdi i2cuser irlink irreal livedrive_midi livedrive_seq logitech
|
||||
mediafocusI mouseremote mouseremote_ps2 mp3anywhere mplay mplay2
|
||||
pcmak pcmak_usb pctv realmagic remotemaster silitek tira tira_raw
|
||||
tuxbox udp uirt2 uirt2_raw usb_uirt_raw usbx"
|
||||
|
||||
#drivers that build lirc_dev and so will conflict with kernel lirc_dev
|
||||
LIRCDEV_BUILT_FOR_DEV="all
|
||||
act200l act220l adaptec animax atiusb breakoutbox hauppauge
|
||||
hauppauge_dvb hercules_smarttv_stereo igorplugusb imon imon_24g
|
||||
imon_knob imon_lcd imon_pad imon_rsc irdeo irdeo_remote knc_one
|
||||
leadtek_pvr2000 nslu2 packard_bell parallel pixelview_bt878
|
||||
provideo sa1100 sasem serial sir tekram tekram_bt829 ttusbir
|
||||
tvbox wpc8769l zotac"
|
||||
|
||||
#lirc_gpio drivers, which cannot be supported on kernel >= 2.6.22
|
||||
LIRC_GPIO_DEV="
|
||||
avermedia avermedia98 avermedia_vdomate bestbuy bestbuy2 chronos
|
||||
cph03x cph06x flyvideo gvbctv5pci kworld leadtek_0007 leadtek_0010
|
||||
pixelview_pak pixelview_pro"
|
||||
|
||||
#device-driver which use libusb
|
||||
LIBUSB_USED_BY_DEV="
|
||||
all atilibusb awlibusb sasem igorplugusb imon imon_lcd imon_pad
|
||||
imon_rsc streamzap xboxusb irlink commandir"
|
||||
|
||||
for dev in ${LIBUSB_USED_BY_DEV}; do
|
||||
DEPEND="${DEPEND} lirc_devices_${dev}? ( virtual/libusb:0 )"
|
||||
done
|
||||
|
||||
# adding only compile-time depends
|
||||
DEPEND="${RDEPEND} ${DEPEND}
|
||||
virtual/linux-sources
|
||||
lirc_devices_ftdi? ( dev-embedded/libftdi:0 )
|
||||
lirc_devices_all? ( dev-embedded/libftdi:0 )"
|
||||
|
||||
# adding only run-time depends
|
||||
RDEPEND="${RDEPEND}
|
||||
lirc_devices_inputlirc? ( app-misc/inputlircd )
|
||||
lirc_devices_iguanaIR? ( app-misc/iguanaIR )"
|
||||
|
||||
# add all devices to IUSE
|
||||
# and ensure lirc_devices_all is not set alongside lirc_devices_*
|
||||
REQUIRED_USE="lirc_devices_all? ("
|
||||
for dev in ${IUSE_LIRC_DEVICES}; do
|
||||
IUSE="${IUSE} lirc_devices_${dev}"
|
||||
if [[ "${dev}" != "all" ]]; then
|
||||
REQUIRED_USE="${REQUIRED_USE} !lirc_devices_${dev}"
|
||||
fi
|
||||
done
|
||||
REQUIRED_USE="${REQUIRED_USE} )"
|
||||
|
||||
add_device() {
|
||||
local dev="${1}"
|
||||
local desc="device ${dev}"
|
||||
if [[ -n "${2}" ]]; then
|
||||
desc="${2}"
|
||||
fi
|
||||
|
||||
# Bug #187418
|
||||
if kernel_is ge 2 6 22 && [[ " ${LIRC_GPIO_DEV} " == *" ${dev} "* ]]; then
|
||||
eerror "${desc} uses lirc_gpio which fails with kernel 2.6.22 or above. Not building."
|
||||
eerror "Use 'devinput' instead, or use 'userspace' along with in-kernel drivers"
|
||||
return 0
|
||||
fi
|
||||
: ${lirc_device_count:=0}
|
||||
((lirc_device_count++))
|
||||
|
||||
elog "Compiling support for ${desc}"
|
||||
|
||||
if [[ " ${LIRCDEV_BUILT_FOR_DEV} " == *" ${dev} "* ]] ; then
|
||||
if linux_chkconfig_present LIRC ; then
|
||||
ewarn "${desc} builds lirc_dev and CONFIG_LIRC is set in the kernel -- this may conflict."
|
||||
fi
|
||||
if ! linux_chkconfig_present MODULE_UNLOAD ; then
|
||||
ewarn "${desc} builds modules and CONFIG_MODULE_UNLOAD is unset in kernel."
|
||||
ewarn "You will need MODULE_UNLOAD support in your kernel."
|
||||
fi
|
||||
fi
|
||||
if [[ " ${NO_KMOD_BUILT_FOR_DEV} " == *" ${dev} "* ]] && ! linux_chkconfig_present IR_LIRC_CODEC ; then
|
||||
ewarn "${desc} builds no kernel module and CONFIG_IR_LIRC_CODEC is unset in kernel."
|
||||
fi
|
||||
|
||||
if [[ ${lirc_device_count} -eq 2 ]] ; then
|
||||
ewarn
|
||||
ewarn "LIRC_DEVICES has more than one entry."
|
||||
ewarn "When selecting multiple devices for lirc to be supported,"
|
||||
ewarn "it can not be guaranteed that the drivers play nice together."
|
||||
ewarn "If this is not intended, then please adjust LIRC_DEVICES"
|
||||
ewarn "and re-emerge."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
MY_OPTS="${MY_OPTS} --with-driver=${dev}"
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ -n "${LIRC_OPTS}" ]] ; then
|
||||
ewarn
|
||||
ewarn "LIRC_OPTS is deprecated from lirc-0.8.0-r1 on."
|
||||
ewarn
|
||||
ewarn "Please use LIRC_DEVICES from now on."
|
||||
ewarn "e.g. LIRC_DEVICES=\"serial sir\""
|
||||
ewarn
|
||||
ewarn "Flags are now set per use-flags."
|
||||
ewarn "e.g. transmitter, hardware-carrier"
|
||||
|
||||
local opt
|
||||
local unsupported_opts=""
|
||||
|
||||
# test for allowed options for LIRC_OPTS
|
||||
for opt in ${LIRC_OPTS}; do
|
||||
case ${opt} in
|
||||
--with-port=*|--with-irq=*|--with-timer=*|--with-tty=*)
|
||||
MY_OPTS="${MY_OPTS} ${opt}"
|
||||
;;
|
||||
*)
|
||||
unsupported_opts="${unsupported_opts} ${opt}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
if [[ -n ${unsupported_opts} ]]; then
|
||||
eerror "These options are no longer allowed to be set"
|
||||
eerror "with LIRC_OPTS: ${unsupported_opts}"
|
||||
die "LIRC_OPTS is no longer supported, use LIRC_DEVICES."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
|
||||
# set default configure options
|
||||
MY_OPTS=""
|
||||
LIRC_DRIVER_DEVICE="/dev/lirc0"
|
||||
|
||||
if use lirc_devices_all; then
|
||||
# compile in drivers for a lot of devices
|
||||
add_device all "a lot of devices"
|
||||
else
|
||||
# compile in only requested drivers
|
||||
local dev
|
||||
for dev in ${IUSE_LIRC_DEVICES_DIRECT}; do
|
||||
if use lirc_devices_${dev}; then
|
||||
add_device ${dev}
|
||||
fi
|
||||
done
|
||||
|
||||
if use lirc_devices_remote_wonder_plus; then
|
||||
add_device atiusb "device Remote Wonder Plus (atiusb-based)"
|
||||
fi
|
||||
|
||||
if use lirc_devices_serial_igor_cesko; then
|
||||
add_device serial "serial with Igor Cesko design"
|
||||
MY_OPTS="${MY_OPTS} --with-igor"
|
||||
fi
|
||||
|
||||
if use lirc_devices_imon_pad; then
|
||||
ewarn "The imon_pad driver has incorporated the previous pad2keys patch"
|
||||
ewarn "and removed the pad2keys_active option for the lirc_imon module"
|
||||
ewarn "because it is always active."
|
||||
ewarn "If you have an older imon VFD device, you may need to add the module"
|
||||
ewarn "option display_type=1 to override autodetection and force VFD mode."
|
||||
fi
|
||||
|
||||
if use lirc_devices_xboxusb; then
|
||||
add_device atiusb "device xboxusb"
|
||||
fi
|
||||
|
||||
if [[ "${MY_OPTS}" == "" ]]; then
|
||||
if [[ "${PROFILE_ARCH}" == "xbox" ]]; then
|
||||
# on xbox: use special driver
|
||||
add_device atiusb "device xboxusb"
|
||||
else
|
||||
# no driver requested
|
||||
elog
|
||||
elog "Compiling only the lirc-applications, but no drivers."
|
||||
elog "Enable drivers with LIRC_DEVICES if you need them."
|
||||
MY_OPTS="--with-driver=none"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
use hardware-carrier && MY_OPTS="${MY_OPTS} --without-soft-carrier"
|
||||
use transmitter && MY_OPTS="${MY_OPTS} --with-transmitter"
|
||||
|
||||
einfo
|
||||
einfo "lirc-configure-opts: ${MY_OPTS}"
|
||||
elog "Setting default lirc-device to ${LIRC_DRIVER_DEVICE}"
|
||||
|
||||
filter-flags -Wl,-O1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Rip out dos CRLF
|
||||
edos2unix contrib/lirc.rules
|
||||
|
||||
# Apply patches needed for some special device-types
|
||||
use lirc_devices_audio || epatch "${FILESDIR}"/lirc-0.8.4-portaudio_check.patch
|
||||
use lirc_devices_remote_wonder_plus && epatch "${FILESDIR}"/lirc-0.8.3_pre1-remotewonderplus.patch
|
||||
|
||||
# Apply fixes for kernel-2.6.39 and above
|
||||
epatch "${FILESDIR}"/${P}-kernel-2.6.39-fixes.patch
|
||||
# Slightly massaged upstream patch to fix kfifo issues >=2.6.38
|
||||
# for bug 377033
|
||||
epatch "${FILESDIR}"/${P}-atiusb_kfifo.patch
|
||||
# Apply fixes for kernel-3.3 and above (bug 439538)
|
||||
epatch "${FILESDIR}"/${P}-kernel-3.3.0-fixes.patch
|
||||
# Apply fix for missing err() in usb.h for kernel 3.5+ (bug 444736)
|
||||
epatch "${FILESDIR}"/${P}-kernel-3.5-err-fix.patch
|
||||
# Apply fix for missing __devinit __devexit defines in kernel 3.8+ (bug 461532)
|
||||
epatch "${FILESDIR}"/${P}-kernel-3.8-fixes.patch
|
||||
# Add support for zotac remote, bug 342848
|
||||
epatch "${FILESDIR}"/${P}-add-zotac-support.patch
|
||||
# Use fixed font
|
||||
epatch "${FILESDIR}"/${P}-fixed-font.patch
|
||||
|
||||
# Do not build drivers from the top-level Makefile
|
||||
sed -i -e 's:\(SUBDIRS =\) drivers\(.*\):\1\2:' Makefile.am
|
||||
|
||||
# remove parallel driver on SMP systems
|
||||
if linux_chkconfig_present SMP ; then
|
||||
sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am
|
||||
fi
|
||||
|
||||
# Bug #187418 - only need this part for lirc_devices_all as others die in pkg_setup
|
||||
if use lirc_devices_all && kernel_is ge 2 6 22 ; then
|
||||
ewarn "Disabling lirc_gpio driver as it does no longer work Kernel 2.6.22+"
|
||||
sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am
|
||||
fi
|
||||
|
||||
# respect CFLAGS
|
||||
sed -i -e 's:CFLAGS="-O2:CFLAGS=""\n#CFLAGS="-O2:' configure.ac
|
||||
|
||||
# setting default device-node
|
||||
local f
|
||||
for f in configure.ac acconfig.h; do
|
||||
[[ -f "$f" ]] && sed -i -e '/#define LIRC_DRIVER_DEVICE/d' "$f"
|
||||
done
|
||||
echo "#define LIRC_DRIVER_DEVICE \"${LIRC_DRIVER_DEVICE}\"" >> acconfig.h
|
||||
|
||||
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die # automake 1.13
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--with-syslog=LOG_DAEMON \
|
||||
--enable-sandboxed \
|
||||
--with-kerneldir="${KV_DIR}" \
|
||||
--with-moduledir="/lib/modules/${KV_FULL}/misc" \
|
||||
$(use_enable debug) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with X x) \
|
||||
${MY_OPTS} \
|
||||
ABI="${KERNEL_ABI}" \
|
||||
ARCH="$(tc-arch-kernel)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# force non-parallel make, Bug 196134 (confirmed valid for 0.9.0-r2)
|
||||
emake -j1
|
||||
|
||||
MODULE_NAMES="lirc(misc:${S}/drivers)"
|
||||
BUILD_TARGETS="all"
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake -C drivers DESTDIR="${D}" install
|
||||
|
||||
newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd
|
||||
newinitd "${FILESDIR}"/lircmd lircmd
|
||||
newconfd "${FILESDIR}"/lircd.conf.4 lircd
|
||||
|
||||
insinto /etc/modprobe.d/
|
||||
newins "${FILESDIR}"/modprobed.lirc lirc.conf
|
||||
|
||||
newinitd "${FILESDIR}"/irexec-initd-0.8.6-r2 irexec
|
||||
newconfd "${FILESDIR}"/irexec-confd irexec
|
||||
|
||||
systemd_dounit "${FILESDIR}"/irexec.service
|
||||
systemd_dounit "${FILESDIR}"/lirc.service
|
||||
systemd_dounit "${FILESDIR}"/lircm.service
|
||||
|
||||
if use doc ; then
|
||||
dohtml doc/html/*.html
|
||||
insinto /usr/share/doc/${PF}/images
|
||||
doins doc/images/*
|
||||
fi
|
||||
|
||||
insinto /usr/share/lirc/remotes
|
||||
doins -r remotes/*
|
||||
|
||||
keepdir /etc/lirc
|
||||
if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
|
||||
newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example
|
||||
fi
|
||||
|
||||
use static-libs || rm "${D}/usr/$(get_libdir)/liblirc_client.la"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
linux-mod_pkg_preinst
|
||||
|
||||
local dir="${EROOT}/etc/modprobe.d"
|
||||
if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then
|
||||
elog "Renaming ${dir}/lirc to lirc.conf"
|
||||
mv -f "${dir}/lirc" "${dir}/lirc.conf"
|
||||
fi
|
||||
|
||||
# copy the first file that can be found
|
||||
if [[ -f "${EROOT}"/etc/lirc/lircd.conf ]]; then
|
||||
cp "${EROOT}"/etc/lirc/lircd.conf "${T}"/lircd.conf
|
||||
elif [[ -f "${EROOT}"/etc/lircd.conf ]]; then
|
||||
cp "${EROOT}"/etc/lircd.conf "${T}"/lircd.conf
|
||||
MOVE_OLD_LIRCD_CONF=1
|
||||
elif [[ -f "${D}"/etc/lirc/lircd.conf ]]; then
|
||||
cp "${D}"/etc/lirc/lircd.conf "${T}"/lircd.conf
|
||||
fi
|
||||
|
||||
# stop portage from touching the config file
|
||||
if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
|
||||
rm -f "${D}"/etc/lirc/lircd.conf
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
|
||||
# copy config file to new location
|
||||
# without portage knowing about it
|
||||
# so it will not delete it on unmerge or ever touch it again
|
||||
if [[ -e "${T}"/lircd.conf ]]; then
|
||||
cp "${T}"/lircd.conf "${EROOT}"/etc/lirc/lircd.conf
|
||||
if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
|
||||
elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
|
||||
rm -f "${EROOT}"/etc/lircd.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "The new default location for lircd.conf is inside of"
|
||||
einfo "/etc/lirc/ directory"
|
||||
}
|
@ -1,8 +1,4 @@
|
||||
DIST neofetch-3.4.0.tar.gz 82090 BLAKE2B afc00b37d84cdf3ae0fd4037312b1c67fdadcbe99d6d602e8f3b6caa844b3780861c9d2522ec605ba5b7aa08e4e85ef804129da2ce3f6f01ab8b536704cdd182 SHA512 931648e8173eb91fdf5c79b5bb9b6efef132d30cf2f10d6f75dcff42f3661d40ceec712c109e90e2226e1aa85cad7676c438b6cad49e8298a77d990d9a3d197b
|
||||
DIST neofetch-4.0.2.tar.gz 111792 BLAKE2B 865c45a366224915aeeff82c843c869685814ccb5f553d7da59ab51e26336500cb133b5c827dd6dccccef3e771b357852e86db166d88cda894515419e9eadbc8 SHA512 326b7a9fdf08aa10b790c281148946727dc6a10c5c073654fc0ce9cee9afe663de84ac13144cb3e1d2e33b5ca3ed5094d2cb83e78b7b5f6e1ced49d78e191ce4
|
||||
DIST neofetch-5.0.0.tar.gz 110526 BLAKE2B 7149321c051021644407d28b232631c8149d21f1b8463b3a4470d1baaf88494f3a88026c606ac539938933333da5671f4a14b6ce029268ba01a16e85d4a30c33 SHA512 7872e646a0d784d0c9d851d16cb1ef03926d07f67ec9573b673b2a82fd9a1ffbb7bbcb0ca0e67c299dd210947396a8c36dacb98d8a61c3ea72b5a438995e7de6
|
||||
EBUILD neofetch-3.4.0.ebuild 528 BLAKE2B 55af7ef9e6137fe42359f3db5af58c3418d4efbb9c1cf2dd5321acb0990e31de3db5258bc1bd6f4784e54cc4e9b3dd6abfc7ebe7c6dc366d72ebba82f6964042 SHA512 21b9a4f2d6df165860872f58794b34550df3dcacc5a9a3673a5ac45eab46fa7e2c3de238f266f7ef3944aacfe6787b1debf70d8f7b85fb4c186029efdf78a2df
|
||||
EBUILD neofetch-4.0.2.ebuild 648 BLAKE2B 05e30152c4f705eff009e3c87c44f4b9f1979e471c62edd347a33e44b9ecc33961a4049e2b7e419528d82c88a02aec7b2e24018e48232aae336569584e98f62d SHA512 62c141cc2bc888c346d4dfc6e79e014a62472cc7e3be32c71b46b2688f0da58f1acd765de5c38093eebb37700370318f3e2bd338882acc61e35ee5ac31b534b4
|
||||
EBUILD neofetch-5.0.0.ebuild 693 BLAKE2B 322d42370c759b75c54d4059ffa49a6812878812ec7e00f1b22ffa067788741db2c5777cbc272e7bd7a40c2a5457524faff3aa0f9569373fcf0b9f415c2b26e5 SHA512 b4568a595e5dc2d2c73c42fa7a5fd7d55bd50568ff3f0822ba3bf48d8a189696dd487c882355c6ba706f875368ca2f33dd2f27564334e95372a075e9ce44bf63
|
||||
EBUILD neofetch-9999.ebuild 648 BLAKE2B 05e30152c4f705eff009e3c87c44f4b9f1979e471c62edd347a33e44b9ecc33961a4049e2b7e419528d82c88a02aec7b2e24018e48232aae336569584e98f62d SHA512 62c141cc2bc888c346d4dfc6e79e014a62472cc7e3be32c71b46b2688f0da58f1acd765de5c38093eebb37700370318f3e2bd338882acc61e35ee5ac31b534b4
|
||||
MISC metadata.xml 808 BLAKE2B 8f8f20ac1f262e69c525c9e626c64ea28ae3165982052dcf74fbcf76b8c362fe6407ddb5994d04dbff6f07ead6ad2c0e3bbe7f9a1a73bc194be30346a3f68c4f SHA512 9e28e51cfba1e7c648cc96d32c2c86a0341dc077457e9e62ce42d667f1a689407e65bf0b7d6df87526167b157b16bb7495752932036c9dff12052573c9f9dae3
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue