Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507522 - app-backup/cpdup ebuild hack "#define strlcpy(a,b,c) strncpy(a,b,c)"
Summary: app-backup/cpdup ebuild hack "#define strlcpy(a,b,c) strncpy(a,b,c)"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-12 17:42 UTC by Julian Ospald
Modified: 2023-10-08 12:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Ospald 2014-04-12 17:42:24 UTC
app-backup/cpdup/cpdup-1.17.ebuild:
echo "#define strlcpy(a,b,c) strncpy(a,b,c)" >> cpdup.h

strlcpy and strncpy are not the same. This package should probably use dev-libs/libstrl or dev-libs/libbsd.
Comment 1 Larry the Git Cow gentoo-dev 2023-10-08 12:22:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0df7b29c421cfe35077f4493baf6088eb931f961

commit 0df7b29c421cfe35077f4493baf6088eb931f961
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-10-08 12:21:55 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-10-08 12:21:55 +0000

    app-backup/cpdup: update EAPI 6 -> 8
    
    Closes: https://bugs.gentoo.org/507522
    Closes: https://bugs.gentoo.org/716100
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../{cpdup-1.18.ebuild => cpdup-1.18-r1.ebuild}    |  23 ++--
 app-backup/cpdup/files/Makefile.linux              |  13 ---
 app-backup/cpdup/files/cpdup-1.11-unused.patch     |  14 ---
 app-backup/cpdup/files/cpdup-1.18-makefile.patch   |  30 +++++
 app-backup/cpdup/files/cpdup-1.18-portable.patch   | 128 +++++++++++++++++++++
 5 files changed, 170 insertions(+), 38 deletions(-)