Skip to content

Commit

Permalink
flashrom: Update to 1.3.0
Browse files Browse the repository at this point in the history
**Summary**

- Full release note can found [here](https://flashrom.org/release_notes/v_1_3.html)
- Add `homepage` key to `package.yml` (Part of #411)
- Add monitoring.yml

**Test Plan**

- Rebuild `fwupd` against this package
- Verified the added homepage loads information about the package

**Checklist**

- [x] Package was built and tested against unstable
  • Loading branch information
malfisya committed May 24, 2024
1 parent 0b05b2a commit 510d73b
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 31 deletions.
19 changes: 18 additions & 1 deletion packages/f/flashrom/abi_symbols
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ libflashrom.so.1:flashrom_image_read
libflashrom.so.1:flashrom_image_verify
libflashrom.so.1:flashrom_image_write
libflashrom.so.1:flashrom_init
libflashrom.so.1:flashrom_layout_add_region
libflashrom.so.1:flashrom_layout_get_region_range
libflashrom.so.1:flashrom_layout_include_region
libflashrom.so.1:flashrom_layout_new
libflashrom.so.1:flashrom_layout_read_fmap_from_buffer
libflashrom.so.1:flashrom_layout_read_fmap_from_rom
libflashrom.so.1:flashrom_layout_read_from_ifd
Expand All @@ -20,5 +23,19 @@ libflashrom.so.1:flashrom_programmer_init
libflashrom.so.1:flashrom_programmer_shutdown
libflashrom.so.1:flashrom_set_log_callback
libflashrom.so.1:flashrom_shutdown
libflashrom.so.1:flashrom_supported_programmers
libflashrom.so.1:flashrom_supported_boards
libflashrom.so.1:flashrom_supported_chipsets
libflashrom.so.1:flashrom_supported_flash_chips
libflashrom.so.1:flashrom_version_info
libflashrom.so.1:flashrom_wp_cfg_new
libflashrom.so.1:flashrom_wp_cfg_release
libflashrom.so.1:flashrom_wp_get_available_ranges
libflashrom.so.1:flashrom_wp_get_mode
libflashrom.so.1:flashrom_wp_get_range
libflashrom.so.1:flashrom_wp_ranges_get_count
libflashrom.so.1:flashrom_wp_ranges_get_range
libflashrom.so.1:flashrom_wp_ranges_release
libflashrom.so.1:flashrom_wp_read_cfg
libflashrom.so.1:flashrom_wp_set_mode
libflashrom.so.1:flashrom_wp_set_range
libflashrom.so.1:flashrom_wp_write_cfg
1 change: 0 additions & 1 deletion packages/f/flashrom/abi_used_libs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
UNKNOWN
libc.so.6
libftdi1.so.2
libpci.so.3
Expand Down
47 changes: 31 additions & 16 deletions packages/f/flashrom/abi_used_symbols
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
UNKNOWN:ftdi_get_error_string
UNKNOWN:ftdi_init
UNKNOWN:ftdi_read_data
UNKNOWN:ftdi_read_data_set_chunksize
UNKNOWN:ftdi_set_bitmode
UNKNOWN:ftdi_set_interface
UNKNOWN:ftdi_set_latency_timer
UNKNOWN:ftdi_usb_close
UNKNOWN:ftdi_usb_open
UNKNOWN:ftdi_usb_open_desc
UNKNOWN:ftdi_usb_reset
UNKNOWN:ftdi_write_data
UNKNOWN:ftdi_write_data_set_chunksize
libc.so.6:__assert_fail
libc.so.6:__ctype_b_loc
libc.so.6:__ctype_tolower_loc
libc.so.6:__ctype_toupper_loc
libc.so.6:__errno_location
libc.so.6:__fprintf_chk
libc.so.6:__fxstat64
libc.so.6:__isoc99_fscanf
libc.so.6:__isoc99_sscanf
libc.so.6:__libc_start_main
Expand All @@ -25,7 +12,6 @@ libc.so.6:__printf_chk
libc.so.6:__snprintf_chk
libc.so.6:__stack_chk_fail
libc.so.6:__vfprintf_chk
libc.so.6:__xstat64
libc.so.6:calloc
libc.so.6:cfgetispeed
libc.so.6:cfgetospeed
Expand All @@ -39,6 +25,7 @@ libc.so.6:connect
libc.so.6:exit
libc.so.6:fclose
libc.so.6:fcntl64
libc.so.6:fdopen
libc.so.6:feof
libc.so.6:ferror
libc.so.6:fflush
Expand All @@ -48,7 +35,7 @@ libc.so.6:fopen64
libc.so.6:fread
libc.so.6:free
libc.so.6:fseek
libc.so.6:fsync
libc.so.6:fstat64
libc.so.6:fwrite
libc.so.6:gethostbyaddr
libc.so.6:gethostbyname
Expand All @@ -69,13 +56,18 @@ libc.so.6:nanosleep
libc.so.6:open64
libc.so.6:optarg
libc.so.6:optind
libc.so.6:qsort
libc.so.6:read
libc.so.6:realloc
libc.so.6:setbuf
libc.so.6:setsockopt
libc.so.6:setvbuf
libc.so.6:sleep
libc.so.6:snprintf
libc.so.6:socket
libc.so.6:stat64
libc.so.6:stderr
libc.so.6:stdin
libc.so.6:stdout
libc.so.6:strcasecmp
libc.so.6:strcat
Expand All @@ -101,9 +93,24 @@ libc.so.6:tcflush
libc.so.6:tcgetattr
libc.so.6:tcsetattr
libc.so.6:uname
libc.so.6:usleep
libc.so.6:write
libftdi1.so.2:ftdi_get_error_string
libftdi1.so.2:ftdi_init
libftdi1.so.2:ftdi_read_data
libftdi1.so.2:ftdi_read_data_set_chunksize
libftdi1.so.2:ftdi_set_bitmode
libftdi1.so.2:ftdi_set_interface
libftdi1.so.2:ftdi_set_latency_timer
libftdi1.so.2:ftdi_usb_close
libftdi1.so.2:ftdi_usb_open
libftdi1.so.2:ftdi_usb_open_desc
libftdi1.so.2:ftdi_usb_reset
libftdi1.so.2:ftdi_write_data
libftdi1.so.2:ftdi_write_data_set_chunksize
libpci.so.3:pci_alloc
libpci.so.3:pci_cleanup
libpci.so.3:pci_fill_info
libpci.so.3:pci_filter_init
libpci.so.3:pci_filter_match
libpci.so.3:pci_filter_parse_slot
Expand All @@ -118,6 +125,7 @@ libpci.so.3:pci_write_byte
libpci.so.3:pci_write_long
libpci.so.3:pci_write_word
libusb-1.0.so.0:libusb_alloc_transfer
libusb-1.0.so.0:libusb_attach_kernel_driver
libusb-1.0.so.0:libusb_bulk_transfer
libusb-1.0.so.0:libusb_cancel_transfer
libusb-1.0.so.0:libusb_claim_interface
Expand All @@ -126,9 +134,12 @@ libusb-1.0.so.0:libusb_control_transfer
libusb-1.0.so.0:libusb_detach_kernel_driver
libusb-1.0.so.0:libusb_error_name
libusb-1.0.so.0:libusb_exit
libusb-1.0.so.0:libusb_free_config_descriptor
libusb-1.0.so.0:libusb_free_device_list
libusb-1.0.so.0:libusb_free_transfer
libusb-1.0.so.0:libusb_get_bus_number
libusb-1.0.so.0:libusb_get_config_descriptor
libusb-1.0.so.0:libusb_get_configuration
libusb-1.0.so.0:libusb_get_device
libusb-1.0.so.0:libusb_get_device_address
libusb-1.0.so.0:libusb_get_device_descriptor
Expand All @@ -139,7 +150,11 @@ libusb-1.0.so.0:libusb_init
libusb-1.0.so.0:libusb_interrupt_transfer
libusb-1.0.so.0:libusb_open
libusb-1.0.so.0:libusb_open_device_with_vid_pid
libusb-1.0.so.0:libusb_ref_device
libusb-1.0.so.0:libusb_release_interface
libusb-1.0.so.0:libusb_set_auto_detach_kernel_driver
libusb-1.0.so.0:libusb_set_configuration
libusb-1.0.so.0:libusb_set_interface_alt_setting
libusb-1.0.so.0:libusb_set_option
libusb-1.0.so.0:libusb_submit_transfer
libusb-1.0.so.0:libusb_unref_device
6 changes: 6 additions & 0 deletions packages/f/flashrom/monitoring.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
releases:
id: 10202
rss: https://github.com/flashrom/flashrom/tags.atom
# No known CPE, checked 2024-05-03
security:
cpe: ~
11 changes: 7 additions & 4 deletions packages/f/flashrom/package.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
name : flashrom
version : 1.2
release : 4
version : 1.3.0
release : 5
source :
- https://download.flashrom.org/releases/flashrom-v1.2.tar.bz2 : e1f8d95881f5a4365dfe58776ce821dfcee0f138f75d0f44f8a3cd032d9ea42b
- https://download.flashrom.org/releases/flashrom-v1.3.0.tar.bz2 : a053234453ccd012e79f3443bdcc61625cf97b7fd7cb4cdd8bfbffbe8b149623
homepage : https://flashrom.org/
license : GPL-2.0-or-later
component : system.utils
summary : flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips.
description: |
flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips. It is designed to flash BIOS/EFI/coreboot/firmware/optionROM images on mainboards, network/graphics/storage controller cards, and various other programmer devices.
builddeps :
- pkgconfig(libftdi1)
- pkgconfig(libpci)
- pkgconfig(libusb)
- pkgconfig(libftdi1)
checkdeps :
- pkgconfig(cmocka)
setup : |
%meson_configure
build : |
Expand Down
21 changes: 12 additions & 9 deletions packages/f/flashrom/pspec_x86_64.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
<PISI>
<Source>
<Name>flashrom</Name>
<Homepage>https://flashrom.org/</Homepage>
<Packager>
<Name>Moriel Yitzhak Ever</Name>
<Email>emoriel17@yahoo.com</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
</Packager>
<License>GPL-2.0-or-later</License>
<PartOf>system.utils</PartOf>
<Summary xml:lang="en">flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips.</Summary>
<Description xml:lang="en">flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips. It is designed to flash BIOS/EFI/coreboot/firmware/optionROM images on mainboards, network/graphics/storage controller cards, and various other programmer devices.
</Description>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://getsol.us/sources/README.Solus</Archive>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://sources.getsol.us/README.Solus</Archive>
</Source>
<Package>
<Name>flashrom</Name>
Expand All @@ -22,6 +23,7 @@
<Path fileType="library">/usr/lib64/libflashrom.so.1</Path>
<Path fileType="library">/usr/lib64/libflashrom.so.1.0.0</Path>
<Path fileType="executable">/usr/sbin/flashrom</Path>
<Path fileType="man">/usr/share/man/man8/flashrom.8</Path>
</Files>
</Package>
<Package>
Expand All @@ -31,21 +33,22 @@
</Description>
<PartOf>programming.devel</PartOf>
<RuntimeDependencies>
<Dependency release="4">flashrom</Dependency>
<Dependency release="5">flashrom</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/libflashrom.h</Path>
<Path fileType="library">/usr/lib64/libflashrom.a</Path>
<Path fileType="library">/usr/lib64/libflashrom.so</Path>
<Path fileType="data">/usr/lib64/pkgconfig/flashrom.pc</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2020-02-24</Date>
<Version>1.2</Version>
<Update release="5">
<Date>2024-05-24</Date>
<Version>1.3.0</Version>
<Comment>Packaging update</Comment>
<Name>Moriel Yitzhak Ever</Name>
<Email>emoriel17@yahoo.com</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
</Update>
</History>
</PISI>

0 comments on commit 510d73b

Please sign in to comment.